News for hackers. Stuff that matters.

xrstf

I find it incredibly hard to understand anything in TOML that is more than simple, unnested key-value pairs. If you get into arrays, maps etc. then TOML is a nightmare to read.

The "O" in TOML is not deserved in my opinion.

> We had those scams from beginning

I tend to disagree a bit. In the early days, most scams at least pretended to have some non-pump-and-dump usecase. Like Dentacoin or Filecoin. You could at least pretend to "buy filecoin today so you can store PB's worth of data in a year" or "buying Dentacoin now because in a year you need some dental work done".

Nowadays all new tokens/coins have 0 usecases attached and only exist to be pancake swapped and pumped and separating other people from their money. It's all about lending, yielding, farming, interest rates, staking, ...

Don't forget Internet Computer Protocol (ICP), which tries to replace the Internet but is also based on it.
Re:Bumble closes to give 'burnt-out' staff a week's break on Tuesday June 22, 2021 @01:45PM (#27594738)
Yeah, your first comment made it sound to me like the country shuts down (grocery stores, home improvement stores, furnite stores, banks, offices, government agencies, taxis, ...) ;-)

I found one Austrian source ( https://www.vol.at/wo-die-produktion-urlaub-macht/3314076 ) mentioning the issue and I can see how it would make sense for some industries to need some maintenance time each year.

Re:Bumble closes to give 'burnt-out' staff a week's break on Tuesday June 22, 2021 @12:47PM (#27594012)
Citation needed. Germans do not quit working for 2 weeks in the summer. Where did you get that from? What German companies shut down for 2 weeks in the summer of 2019?
Re:Bumble closes to give 'burnt-out' staff a week's break on Tuesday June 22, 2021 @12:40PM (#27593920)
Can you give some examples? I live in Europe and have never experienced that in my country suddenly everything stops for 2 weeks in the middle of the summer.
Re:Stack Overflow sold to Prosus for $1.8B on Wednesday June 02, 2021 @12:09PM (#27370377)
Good thing there are many spam knock-off sites re-using their content, so we don't need to start an archiving campaign like with Geocities.
Re:New Firefox on Wednesday June 02, 2021 @11:41AM (#27369978)
Is it coincidence that comments are turned off on _all_ videos on YouTube[1] related to the redesigns?

What options do I as a "normie" have to give feedback? Is there really only one way, to use the ancient Bugzilla and hopefully finding a ticket somewhere?

[1] https://www.youtube.com/c/firefox/videos

Re:Go += Package Versioning on Tuesday February 20, 2018 @05:59PM (#16425079)
A lot of this seems to hinge on "go get" being the best way to get Go source code. Most discussions I've read so far come down to "well, this might be cool, but it would break go get, so we cannot ever do it".

I for one could live without go get alltogether. In 99% of cases it boils down to a simple git clone anyway, which could (should?) be done by the package manager anyway.

Maybe it's time to re-evaluate the existence of go get, now that we're seeing that "just clone master and hope nothing breaks" has obviously not worked for everyone outside of Google? Maybe bundling Go (the compiler and linker) with tools for fetching source code wasn't such a good idea after all?

Just my 2 cents...

The cert is signed by GeoTrust and works perfectly fine on my Chrome on Windows 10.

[Edit: Ah, the chain is incomplete, see https://www.ssllabs.com/ssltest/analyze.html?d=www.equifaxse...]

Re:Caddy 0.10 Released on Friday April 21, 2017 @12:28PM (#14166997)
We are using Caddy as a simple reverse proxy in Docker environments. The configuration is a bit simpler than nginx and we love the tiny Docker images we can create (not sure how large an nginx-full installation is).

That being said, we did run into a few issues that forced us to go back to older Caddy versions, like broken websocket support or the timeout issue in 0.9.5. Also, sometimes the documentation is a bit lacking and unclear. DNS resolution seems to be flaky sometimes (we're using alpine-based containers and sometimes Caddy just won't resolve names of other containers, even though a curl inside the container can resolve the names just fine).

So if you've got a working nginx setup, I'd say stick with it. For new projects it is worth to check out Caddy. The issues we ran into occured early in our development process, they didn't just suddenly happen in production, so once you've tested everything, Caddy just works.

Re:Show HN: A Web-to-RSS Parser in Common Lisp on Saturday November 12, 2016 @04:40PM (#12940361)
I have been running my own instance of Tiny Tiny RSS (with ~30 feeds) for years and couldn't be happier. Migrated from Feedly because of their usability and annoying upgrade reminders.
Re:The Most Expensive Anti-Pattern on Saturday November 05, 2016 @06:49PM (#12882341)
> But a lot of things about php sucked, at least 10 years ago when I stopped needing to write it.

Sadly you missed out on the major advances that happened in the PHP ecosystem, like properly namespaced code, massive performance gains since PHP 5.3, Composer, modern frameworks, the PSR initiative (even though one might not agree with all their "standards") and so much more. So I would not judge PHP's evolution by that one proposal ;) A lot more were accepted, implemented and released, from type annotations to the spacechip operator. Personally I'm thankful that nobody further pursued the idea of tainted strings for PHP.

Re:Smaller and faster data compression with Zstandard on Wednesday August 31, 2016 @05:23PM (#12401604)
Quick benchmark on a 194MiB SQL dump:

    gzip -9: 27.574s, 48MiB output
    zstd -9: 14.182s, 41MiB output
Thanks, I'll gladly use zstd as a drop-in replacement for my daily backups. :)
Re:The Myth of RAM (2014) on Monday August 29, 2016 @01:14PM (#12383365)
Are your questions maybe answered in part IV of the series, the FAQ[1]?

[1] http://www.ilikebigbits.com/blog/2015/2/9/the-myth-of-ram-pa...

Re:Fixing JSON on Saturday August 20, 2016 @02:49PM (#12327836)
Because using certain keys could break your JavaScript (and JSON was designed to be a subset), like

    { delete: "me" }
If you don't want to keep a list of known keywords around, just insisting on quotes is the easier way.

[EDIT: See also this YouTube video, where Douglas Crockford explains it himself: https://youtu.be/-C-JoyNuQJs?t=5m]

Re:Stop Treating Marijuana Like Heroin on Saturday August 13, 2016 @10:18AM (#12281587)
Is your client possibly the same person who was interviewed for Penn & Teller's "Bullshit" on the "War on Drugs" episode[1]?

[1] https://www.youtube.com/watch?v=wQS910WVlKc

Discussion about this seems to happen in this submission: https://news.ycombinator.com/item?id=12254680
Re:Making Django CMS as easy to install as WordPress on Wednesday August 03, 2016 @03:37PM (#12220836)
I see your point and share your pain about key-value tables in SQL systems.
Re:Making Django CMS as easy to install as WordPress on Wednesday August 03, 2016 @01:05PM (#12219532)
"Everything is a key-value pair" is flat out wrong[1,2]: There are four key-value tables (commentmeta, postmeta, termmeta and usermeta), but most of the meat of Wordpress is stored in regular tables.

[1] https://github.com/ronaldbradford/schema/blob/master/wordpre...

[2] https://codex.wordpress.org/images/2/25/WP4.4.2-ERD.png

[EDIT: Corrected myself about the number of KV tables]

Re:Why Uber Engineering Switched from Postgres to MySQL on Tuesday July 26, 2016 @01:07PM (#12167125)
> not throwing any effort into postgresql

The amount of research about the on-disk internals of both PostgreSQL and MySQL are a lot more effort than I would have probably spent (granted, I don't have a team of highly paid devs at my disposal, but still, I've seen technical decisions made on the basis of Google Trends...).

Re:Gatsby – A Static Site Generator for React on Wednesday July 20, 2016 @10:52AM (#12129445)
I'm pleasently surprised that the generated sites work just fine with JavaScript disabled (at least on the author's blog). Which on the other hand makes me wonder why I (as the visitor) need to download a 700KB JS blob that contains all blog posts, React and other things just to read the content.

Without JS: 4 requests, 20 KB transferred, DOMContentLoaded @ 360ms

With JS: 27 requests, 518 KB transferred, DOMContentLoaded @ 22.07s (includes Disqus)

For caching purposes, it might make sense to split the bundle.js into a app.js and content.js and only update the content.js on re-deployments. Not sure if this is just on the author's blog or on every site built with Gatsby.

Re:Nano is no longer a GNU project on Wednesday June 22, 2016 @08:17AM (#11953252)
I use it constantly, because I'm quicker making small edits with it than with vim. I would sorely miss it if it's not installed on a server.
One is `autocomplete`, the other is `aria-autocomplete`.
On Windows, I recommend using HeidiSQL, which handles SSH tunnels for you using PuTTY's plink.exe.
Re:Scaling to 100M: MySQL Is a Better NoSQL on Tuesday May 24, 2016 @01:52PM (#11763849)
I wonder if using the memcached plugin for InnoDB[1] would speed things up even more, at the expense of not having flexible queries (and thereby introducing multiple roundtrips) anymore. Presumably, they are using simple "SELECT * FROM table WHERE id = ?" in most places anyway, so that could be an okay tradeoff to make.

[1] https://dev.mysql.com/doc/refman/5.6/en/innodb-memcached.htm...

Re:A language that compiles to Bash and Windows Batch on Thursday May 19, 2016 @04:51PM (#11733724)
Is there a way to get this as a precompiled Windows binary? I really want to give this a try, but I'm just sooo lazy and don't want to install OPAM if there's maybe a way around that.

Older »