skysight-inc/HackerNews huggingface dataset:
I’m so relieved to see others recognizing this and it’s not just me.

My theory is NYC had better average pizza in the past but people move out of the city over time. They probably move to lower cost areas. Many pizza makers in NJ are originally from NYC. The pizza is better in NJ on average.
People normally write tests for just the sake of correctness. I treat unit test as real debugging environment, it's debugging experience that makes writing test code enjoyful as i see.
> I've never met anyone who say's "I like YAML, it is great"

Maybe I'm older than you, but I have definitely heard that line.

Mostly because the alternatives were XML, INI or the myriad of bespoke formats, relayd/apachehttpd .conf or iptables etc;etc;

INI has parsers that operate in different ways and doesn't support heirarchies... so that's not ideal.

JSON and YAML came to the fore around the same time, and JSONs limitations in comments and it's picky semantics meant that people did prefer YAML over JSON for human readable configs.

YAML itself is fine, it has some really awkward warts and the parsers are usually programatically unsafe in their implementation (leading to less compatible "safe_load" or other types of loaders)[0]; the issue we actually have with YAML is that we:

A) Template it (jinja, mustache whatever)

B) Put entirely too much stuff into it. (kubernetes manfiests can grow to the hundreds of lines really easily)

These problems will affect any configuration file format we choose to use, including TOML (which is comparatively new on the block), because reading templated/enormous files is really difficult.

What I've taken to doing is programatically generating objects and then serialising them as whatever my software depends on. It might feel ugly to use an entire turing complete language to generate objects that are mostly static: but honestly... the ability to breakpoint, test and print the subsections of output is astonishingly nice.

Then I don't care at all what the format is.

[0]: https://www.serendipidata.com/posts/safe-api-design-and-pyya...
What you say sounds good in theory.

But, for profit-driven businesses like Amazon, the goal isn’t to barely make money, but it is to maximize the amount of money coming in.

It was quite sad for me when "The OA" and "Mozart in the Jungle" were cancelled.

It's not like these companies are okay making less money in some projects, and making more money in a few. They want to _maximize_ money from all projects.

And niche shows are often cancelled.
Yeah. My headcanon YAML is amazing.
Depending on the nation they are in, learning providers may use one of a number of educational systems. There are nine academic degrees that are available in the UK. Each level is distinct from the others and aims to foster the development of specialized knowledge and abilities.

regulated qualifications framework level 7 --> https://www.theccm.co.uk/level-7-qualification/
I never could understand the hate XML got, but I'm having a bit of schadenfreude seeing what people suffer through with its replacements.

An XML document with a well-thought-out domain-specific DTD would solve all these problems; instead, we have something where no sometimes means false (but not always) and 22:22 sometimes means 1342 (but not always!)... because... why not?!?

All that horrible mess, it seems, because people didn't like to have to close tags.
>The literals off, no, and n, in various capitalizations (but not any capitalization!), are all false in yaml 1.1, while on, yes, and y are true.

Fyi... I looked at PyYAML source code and the parser code omitted single-character 'y' in the regex. Previous comment: https://news.ycombinator.com/item?id=26681295
Average american worker has freedom to tell jokes about US president. Average soviet worker also had freedom to tell jokes about US president :)
> "Nice properties of the Raspberry Pi SoC devices..."

I will only trust devices that have readily available, fully opensource platform firmware, bootloader, and OS. That beats some blind trust in "a massive blob that has control over everything and runs on an independent CPU from OS, because companies would not do bad things, because...brand??" anytime.
NoAI Watermark Generator
In the linked YouTube video talking about JSON: "People were putting instructions to the parser in comments... so I [removed] the comments." - Douglas Crockford.

Let the impact of that sink in - that decision has almost certainly literally cost millions of developer hours! In fact, the article actually claims that the lack of comments in part led to YAML itself so by implication...

I jest (sorta) but what a great example of an initially helpful decision having last consequences.
Fixed your link to the full article: https://lwn.net/Articles/821367/

OSTree is still working very well for us. At the time I wrote the article we had been using OSTree (and the build system I described in the article) for 4 years; 3 years later not much has changed. In those 3 years we have started building images for different architectures and our build system / OSTree handled it just fine, as you'd expect (it already handled cross-compilation, but for a single architecture).

Our build system also builds Docker containers (for our cloud services) but instead of a Dockerfile we use a custom yaml format that lists the base image (like "FROM" in a Dockerfile), the apt packages to install, and the commands to run (like "RUN"). Then we create a lockfile of all the apt packages, download them (into a local OSTree repository, but that's an implementation detail), and install them with a custom "docker run" command + "docker commit". We end up with the base layer + the apt layer + a single layer produced by concatenating all the RUN commands + a layer with our compiled Rust binaries and Python files. We use apt2ostree to generate the lockfile (really it's our patched version of aptly doing the work) but we use docker (not OSTree) to build the Docker layers. We use Docker's standard push/pull mechanisms to deploy these containers.

To hook this up to Ninja we use "marker files" (a file in the build directory) to track whether this work has been done (e.g. you need to regenerate the apt layer if that layer's "marker file" is older than the lockfile).

Our Python "configure" script (i.e. our build system) looks something like this:

def build_docker_container(name):
yamlfile = f"{name}/docker-base-image.yaml"
with copen(yamlfile) as f:
data = yaml.safe_load(f)
ubuntu_version = data["ubuntu_version"]
image = docker_pull("ubuntu:{ubuntu_version}")
image = docker_apt_install(image, data.get("apt_dependencies"),
lockfile="%s/Packages-%s-amd64.lock" % (
name, ubuntu_version),
ubuntu_version=ubuntu_version)
cmd = "..." # RUN commands from yaml
deps = [...] # dependencies from files listed in yaml
return docker_mod(image, cmd, deps)

(Where "copen" is like "open" but it tracks which files have been read by "configure" itself, to detect if we need to re-run "configure").

What I really like about the Python+Ninja combo is that you can pass these targets around as Python variables — you don't have to come up with an explicit filename for each one (the target name is generated by each helper function, e.g. `docker_pull` returns "_build/docker/${name}"). This makes it so convenient to compose these build rules. And if you ever need to debug your build system, everything is very explicit in the generated ninja file.

We don't have a ton of these containers so it has worked well enough for us because the apt layer changes rarely, and the layer above it is small/fast. The main thing we get (that you don't get from vanilla docker/apt) is lockfiles and reproducibility.
These are all things that I believe can be improved by better software and machines that are designed to teach people how to do it. Current software is still mostly designed for the experts, assuming a whole lot of knowledge exists from before or is built up separately.
A monolith is not a giant blob that has to run fully on one instance or else nothing works. Although I'm sure plenty of horrible enterprise software works that way, it is not a property of a monolith.

I maintain a SaaS written as a monolith and I can absolutely spin instances that only load one part of the code and do a single thing, for example some instances only handle MQTT messages while others only serve HTTP endpoints. That does not make it microservices, it is all one code base sharing one database.
The posix locale and us-english both have `B` and `a` but sort them differently. (Posix B < a, US-english a < B) :)
This is completely true aside from „no sundays“ bit.
AR Windshields and VR Gaming at CES: In-Car Fun Has a New Look
This is part of what Europe has Transfer of Undertakings laws for. Transfer of Undertakings laws basically say if an employee was working for X, and then supposedly they're now working for Y, but actually it's the same fucking job, then since those employees are doing the same job that's the same contract, any rules about that contract still apply.

Under Transfer rules, Unions transfer too, unless the "same fucking job" is actually integrated somehow as might happen after a merger, so that the group of employees being represented by the union are just some fraction of an otherwise indistinguishable workforce. So the warehouse situation wouldn't trigger that, but e.g. if Walmart bought Kroger, closed all the Kroger stores, but kept 10% of the workers, moving them to a nearby Walmart as employees of that store, those employees lose their distinct nature and any Kroger union doesn't come with them.
If Python is valid option then lisp syntax should also be considered as a viable alternative.

Heck the number of times I've seen attempts at creating a lisp in yaml, it is easier to just get it over with and make it a lisp in the first place.
I use https://kislyuk.github.io/yq (it also includes and 'xq' command, which converts XML to JSON)
> The yaml package supports most of YAML 1.2, but preserves some behavior from 1.1 for backwards compatibility. YAML 1.1 bools (yes/no, on/off) are supported as long as they are being decoded into a typed bool value. Otherwise they behave as a string.

Good solution for using YAML with strongly typed languages. No reason to leave type decisions up to a parser. I assume serde does something similar in Rust?
Jsonnet and Cue are the places to be looking.
> There was a New York style pizza place in Shanghai which people that went back to America would talk about missing (better than any pizza I've had in NYC).

Homeslice or Joe’s?
Yes, it was definately a highlight of his political career when he was able to semi-coherently express the standard US policy on something.
Funny but not quite.

Nobody wants extensibility and "document markup" isn't the same as "configuration specification"
Yes! It's also a policy failure to allow vehicles with such high hoods. I'd be okay with requiring a CDL/professional insurance as a compromise
I suppose they're ideal for cases where there's a simple, obviously correct but slow implementation that you can use to test a more complex but faster implementation.
Interesting. I see that NetBSD can now boot on riscv also:

https://mail-index.netbsd.org/port-riscv/
What about chatGPT’s unit tests? Does it even make sense to unit test code that generates a language model?
Europe’s largest deposit of rare earth metals is located in the Kiruna area
Google "beer belt" :)
> Your brain quickly adjusts to the lack of peripheral vision, bad graphics, low contrast, etc

I'm always reminded of this when I revisit a game I remember playing as kid. The graphics and sound _never_ live up to my memory of them. Brains are great at filling in those details.
> When people get too greedy, they ruin the show for everyone else.

But it doesn't matter to them. When you have one hit like Avengers: Endgame, and some more like Black Panther, Infinity Wat, etc., HUNDREDS OF PEOPLE have LIFE CHANGING MONEY.

They won't give two hoots about ruined market or killing the golden goose.

If the goose gave a diamong of the same size of the golden egg, the owner wouldn’t fret killing it at all. One is enough.
>They've chosen safe formulaic stories with evidenced success
>Star Wars

Except I suppose with the second Star Wars, where they threw out the most of the movie in order to "subvert expectations"
> This video has not been rated. Please login to view the video.

Wow, Vimeo is even worse than YouTube.
People here are arguing the semantics of what you mean by “smart”, for no reason, because I know exactly the type of person you are talking about and they likely do as well. I call them “twitchy smart”, and I think they’re the worst to work with. In my experience, there’s no hope working with people like this because there is usually a strong case of stubbornness and unwillingness to see things from the other side. I have literally had to write code that automated cleaning up a person’s, who was like this, code because they were incapable of slowing down and doing it themselves.

My thoughts are that they need strong management to exert a lot of control and to come up with various ways of slowing them down and automated systems to gate check their code as much as possible (style guides, linting, static code analysis, tests and test coverage, auto-formatters, etc.). Otherwise, I think most people like this are just not worth having on a team because they aren’t interested in being part of a team and just want to solve problems they think are important. They will go off inventing all sorts of stuff, leaving a massive wake for the rest of the team. I also call them “wake makers”.
Why? It's some weird object that's not a simple rock. Most people don't see that as earth-shattering, just weird.

The basic weirdness is this: it didn't move like a rock, and anything normal that outgassed from it would have been visible, but it wasn't.

There have been a couple hypotheses for weird things it could have been made of, but those ideas look unlikely for their own reasons. One for example was that it was frozen hydrogen, but that would have evaporated in interstellar space. The earth has not shattered because most people assume there's a reasonable explanation that nobody's figured out yet.
Every time I’ve reached for yaml after being bitten by the Norway problem has been because I wrote comments in my json file and it failed be read.
So you build glibc and GCC with the CentOS supplied gcc in something like ~/opt then used that to build Chrome?

I'll bet there was some fiddling and well done.

Just wondering what version of CentOS, i.e. how old the Xorg and GTK stuff was.
> I thought part of the value proposition of “crypto” was that it doesn’t require such legislation?

In the case of Bitcoin and its Lightning Network, that remains true. It doesn't need legislation to continue operating. Has done so for 14 years without any interference or intervention from law makers, and will continue to operate just fine without their influence. However, legislation can help with trust and adoption though (depending on the legislation of course), because for better or worse, many people trust their governments and look to them for guidance on what's "safe".

And no, that's not the value proposition of Bitcoin. The value proposition of Bitcoin was stated clearly by Satoshi Nakamoto.

"The root problem with conventional currency is all the trust that's required to make it work. The central bank must be trusted not to debase the currency, but the history of fiat currencies is full of breaches of that trust."

That's the core value proposition. The issuance policy of Bitcoin has been rock solid for the last 14 years and all indications say that should continue to happen indefinitely. There's not a single fiat currency on Earth that can claim the same.

> The ecosystem seems to (slowly, painfully) re-discover everything that is useful about fiat currencies.

There's nothing "useful" about fiat currencies, at least not useful enough to counterbalance the tradeoffs.

Perhaps you're confusing "fiat" currency with the more general idea of state-issued money, which hasn't always been "fiat" in its implementation e.g. commodity monies like those minted from valued metals, or certificates backed by gold reserves. Legislation, institutions, processes, and businesses were built up around state-issued monies to help the financial plumbing and grease the wheels of the economy, but that has nothing to do with whether the nature of the money is "fiat" or not. Fiat just means "by decree" i.e. this money has value because we says it does. Commodity money has value because of its scarcity. The source of Bitcoin's value is similar to commodity money i.e. it's provably scarce.

Fiat is a relatively new phenomenon in the technology of money and probably a small blip in its ~5000 year history (so far). The question is how long will that blip be?
True - but, the degree and type of mark will likely be different.
Nobody said the Mac is the only operating system with keyboard shortcuts, so maybe you're replying to the wrong comment there.

The Delete key deletes the character to the right of the insertion point; the Backspace key deletes the character to the left. You must be wasting a lot of keystrokes!

A Delete key also deletes stuff; like E-mails, files... any currently-selected item in most applications. I don't "backspace" E-mails or other objects to delete them.
Same here. I get lovely little dopamine hits from passing tests, enhanced by pytest-sugar [1] giving everything a little green check mark.

[1] https://github.com/Teemu/pytest-sugar
> Who was the founder of modern biblical scholarship?

Yes, so what does that tell you about all other biblical scholarship? And all the other scholarship that happened since.

Literally since this modern scholarship has existed a larger group has been attacking it. There is a whole field based around that.

And as I pointed out, many who claim to do modern scholarships do it at schools that have a faith requirement for these positions.

There are literally cases where people got removed for advocating the wrong ideas. This is simply a reality.
awww, that's a shame, haven't been for about 6 years, but that was always a favourite part.
> To immerse yourself, you need to block out your peripheral vision and everything else.

Sounds perfect for a flight.
That may be, but if only those who were able to did this I'm sure the impacts could be high. For those in apartments, timers could be set to run during the day when more people are out at work.
Things that either work or don't, don't really need tests. Things that have a ton of edge cases... you might spend ten times as long writing tests as writing the code. In a few cases it might be worth it. Like, I have a piece of hotel software that lets rates be set by the night plus peak extra rates over overlapping time periods, and has to delineate the nightly totals for a customer stay that crosses over lots of those. Lots of edge cases. I had that in production for 5 years before someone noticed that although the totals were right, if the very last night was at the default rate after coming off a peak rate, the line item wasn't printed on the bill. It was a simple case of greedily including one more
segment in what was printed. Now... would a unit test have found that? You have to know exactly what you'd be looking for first. The test would have to be smarter than the person writing the code.
So unplanned interruptions affect programmers less than planned ones ? Next time I need to talk to a dev, I'll be sure to pop to their desk unannounced rather than trying to find a suitable time beforehand then ! /s
I am angry about The OA, too.

1899 is good, but not DarK-good.

It's also a shame that Mozart in the Jungle was cancelled.
Welcome to Bizarroworld
Dupe of : https://news.ycombinator.com/item?id=34347444
These type of people are the worst. They are likely just building in their own job security.
Show HN: Desktop app distribution made easy
Forgive me I should have said "cost of living".

Having to pile on debt is not, per the article, healthy. There's gotta be a good reason for that.
Maybe that coding is sometimes used to figure out stuff you yourself do not know ffs. I understand your point, but what we do as SWEs is the secondary function of coding.
Hackers Gained Access to California’s Digital License Plates
> in France, healthcare is not completely free, and somewhat resembles the US model

That's the result of the privatization that has been pushed by the Anglosaxon business lobbies to Europe and everywhere else since Reagan/Thatcher period. They forced privatization of whatever they could get away with. Its still a socialized system with some forced privatization being pushed through. France is not the only country - all US satellites have been pushed to do some degree of privatization.
They dumb down iPads for the same reason they don’t allow a multiuser experience on iPad. They want you to buy another iPad or if you want a more capable device a Mac.
It sounds like the kind of problem that blockchains were invented to prevent. Important systems should not blindly replicate data, they should validate it.
2023 Global Passport Ranking
https://financesonline.com/number-of-facebook-employees/

20-50% compounded growth rate of employee numbers were never sustainable in the first place. FOMO in corporations is a real thing - when your competitor is doing something, you do it too.

Trees don't grow all the way to the sky.
I still have nightmares about the levels of unnecessary complexity I’ve introduced at jobs over the years.
Seriously?

The zoom example was only that: an example of an attempt to interact with the "active" application on the screen that fails because the menu does not correspond to the application that's being shown.

Feel free to replace the Mail-&-browser example with two applications that YOU might want to bounce between.
Tech Twitter is still very strong IMO.
But yeah, I get that probably the most relevant stuff you could find are sites like this.

There is some useful info you can find on IndieHackers, GitHub, Stack Overflow, etc depending on what you are looking for exactly.
> Open Access in DiVA
> fulltext(1312 kB)
> 0 downloads

well... either their counter is broken, or nobody needs to read the article to take part in our fruitful discussion
Bulgarian law enforcement raids offices of cryptocurrency firm Nexo
> for everyone else the career ladder did exist and you could make considerable impact by your work.

This is simply not true and is main reason that superior education in USSR did not materialize in economical and technological prosperity.

Your career advancement in USSR was affected by many factors with your actual performance being near the bottom. Being Jewish was a huge handicap, not being member of the party was another one. Coming from peasants/laborers family was a plus, for there were quotas for advancement of the "hegemony" classes. Bribes as well as your network (or your relatives') could land you better job much easier than hard productive work that nobody values.

Existence in USSR was dull, many talented people drunk themselves to death (drugs were hard to get by). These distinct bright spots like superior education did not change the overall picture.
Python is a great example of a compiled language for things like this. It's "known" that it's an interpreted language. Because it allows monkey patching and the like it's also challenging to statically optimise in a compiler. Yet cpython leaves compiled bytecode files scattered around on disk so most python programmers will also have wondered "what are these .pyc files" at some point.

It then gives you tooling to poke around the bytecode which is clear enough that you can read it. I once gave a talk showing x64 and bytecode side by side for some arithmetic function and if you pick the example carefully they line up well.

Then there's cython and pypy to point to for different points in the design space than cpython, or jython if you want to talk about the jvm. There's probably one on .net and iirc truffle has an implementation as well. The abandoned unladen swallow. So there's loads of python implementations all approaching the interpreted vs compiled tradeoffs differently.