skysight-inc/HackerNews huggingface dataset:
>simulation of an entire FoundationDB cluster within a single-thread!

Reminds me of an InfoQ post about simulating robot swarms in a single thread:
https://www.infoq.com/articles/java-robot-swarms/
(links to Java libraries for that in the comments)

Being able to run everything in a single thread allows to:

1) Do a lot of tests quickly (with virtual time flowing as fast as possible), or arbitrarily slowly if you prefer slow-motion in some contexts.

2) Have determinism. Great for debugging: can reproduce bugs at will, even with full logs on (one trick is to enable them just some time before the bug occurs, when the bug is far from start time).

3) More easily figure out whether a bug is in domain code or a threading issue.

4) Use single-threaded execution as a bench of domain code, and see how much multi-threading/distribution can make them faster or do make them slower.

One constraint is that it rules out some programming styles, since the code must never use waiting constructs, like futures (if the single thread starts to wait, it will wait forever since nothing happens outside of it).
San Francisco is a very strange case because effectively the entire population commutes from far away. Things aren't just not open 24 hours, they're also not open on the weekend.
In the EU, it's now acceptable to file small claims cases in your home country even if the other party is located in another EU country. Most of the work is done via letter and if it gets to a hearing, it will be based on the evidence submitted by both parties.

Most cases are clear cut so the ruling is straightforward. Doesn't mean you'll actually get compensated. However, you can apply to get it enforced by a sheriff I believe.
Does Paris not issue parking permits to craftsmen? German cities offer special parking permits to businesses that need to have unwieldy or heavy gear with them at their customer's place. The yearly fee is in the low hundreds (maybe 250€ even in the larger cities) and usually includes free parking and that even in places where most people normally would not be allowed to park at all, e.g. on Anwohnerparkplätzen (residential parking spaces where one would normally need a permit only available to people living in that street). It might even allow to enter pedestrian areas in some cities.
So... Just pointing out... Under the GDPR, this would be a prime candidate for those fines of up to four percent of global turnover. But honestly, ignoring the big banner at the top of a code example "Don't use this, shit might go wrong!" and then the warning from an outsider "Stop using this, shit did go wrong!" sounds like negligence to me anyhow...

Side note: I find the way medium are handling this horrible.

1. There's no indication what they're investigating there. Just that it's being investigated.

2. There's no indication as to the status of their decision process. From what's written on the page, they might still be working on it, or it might be ancient history to them.

Would like to see the link changed to the archived version.
Most of commuters from other counties use public transportation, not cars.
This is somewhat triggering for me right now as I am just getting done with a project that is quite a few degrees hotter on the Requirements volatility scale than is currently assumed.
I'm not sure why you are downvoted. House pricing clearly shows that the City of Paris is a gravity center, which leads to many of the current traffic and pollution problems. Maybe a decentralization of France's institutions, powers, businesses etc could help it?
Ipv6 should be the way to go nowadays, no ? For sensors network, people are using ipv6: as you don't have enough ipv4 adresses for computers and phones, you don't use ipv4 for sensors networks and IOT, that's a nonsense.
Having your OSS discussions on Slack is pretty terrible, it’s a closed source silo where things can’t be found via Google or even with the included search if you are above the limit. Every time I see an open source project asking people to “Join our Slack” it makes me sad.

Besides, I’m in too many Slacks already. I really don’t need one Slack account for each project I want to follow.
No, they do not come from the software engineers. It is like being a DJ who is taking requests. You are not playing music for yourself but for other people. It the DJs task to make them sound good. On the other hand, one sometimes also needs to clarify what is wanted because the customers will ask for a rock song with a slight edge of metal in it and as the DJ you will need to know what song fits that description.
> So everything with a JIT will need this.

Actual JITs (ones blessed by Apple, not hacks like these) possess the dynamic-codesigning entitlement, and can just make RWX pages.

> But maybe my opinion is invalid because I also happen to think disallowing jit with kernel permissions is very silly.

Your opinion isn't invalid, but it goes against Apple's security model of iOS (namely: apps should not be able to modify themselves).
Check
https://medium.com/@kulak/changes-in-web-midi-api-in-chrome-...
Postulate that Mike Collins is a werewolf. When does he go furry on Apollo 11?
This is correct.

In an authorization with a user waiting at the POS, you fail-fast and let the user retry.

During the clearing/settlement phases, you don't have a waiting user. You're settling accounts and moving money. Nothing is allowed to fail silently.
> The economics of having a bunch of competing infrastructure make no sense

If this were true... why would the local telecom companies fight so hard to make sure it's illegal to build competing infrastructure?
UTF-7
The article talks about the one contract that had the requirements fixed -- but then fails to talk about how contracts should be laid out to embrace changing requirements.

People have known for a long time that volatile requirements are a core problem, but that typically hasn't really affected the way software and software development services are procured.

This might be different in other parts of the world, but my impression is that even custom development contracts are procured the same way that you would a big shipment of physical goods, which is just insane.

Once you work as a developer in a project that was procured in such a way, it's already too late. The knowledge that requirements will change and will totally disrupt your development process is there, and it doesn't really help you.
I live in Paris and whatever you think of the current mayor, this is pure marketing babble for the elections next month.

Paris has always had this very dense city core where 99% of daily life is 5-10’ away. It’s a great concept for dense metropoles, but it only works because the city is so small: 100 square kilometers in an ocean of much lesser density. 80% of “Greater Parisians” live outside Paris itself.

Unfortunately there is no actual representations for 80% of those “outside Parisians” since they are split between hundreds of small cities with individual political dynamics. Pure game theory as local governance.
Have a look at this scene from the fantastic film "The Lives of Others": https://www.youtube.com/watch?v=nkRxvEjprBM

The odour conserve features at the end.
Stockholm is the ”next island” city. You live on one island and everything else is one another island.
Of all the authors I'm following right now I think Brandon is the most likely to complete his "work". The guy is a machine for writing, he's never let a year pass without a new book.

Of course death/accidents can happen to anybody, but I can't imagine he's going to suddenly drop his output, given how prolific he has been over recent years.

One of his nice tricks is to "relax" by writing different kinds of books, which seems to be working out really well for him.

I conciously avoid reading incomplete series, with only two exceptions and he's one of them. (The other is Steven Brust, who I've been reading for 20+ years. Slowly getting closer to the finish-mark there, the waits between books aren't as bad as with some authors, but they're still annoying!)
> thus if you write [EBP+ECX], it actually gets encoded as [EBP+ECX+0].

And that's not as important as you make it appear.

If you write [EBP + 24] (where the index register is simply not used), do you think that's a "slow" LEA?

The [EBP + 24] form is what my (and I guess most of other's) compiler produced most of the time. Open any program with disassembler and try to count how often index register is ever used with EBP, and how often no index register is used. Former happens practically never, the later (no index) is very common.
The point of democracy and electing mayors is to empower people to change their destiny. The chart shows that there population of the larger Paris area is increasing, as you yourself confirm:

> the region is expanding like any other capital's region in the world

Why are new people coming there though? Are they coming to tie their lives to the City of Paris, but they must settle for the larger region because of the saturation? Or are they coming to join the Region of Paris because of its merits excluding the City?

If it's for the former, then they deserve some democratic influence on the place that brought them there, and the chart shows that the division into City of Paris and the rest denies the newcomers that influence.
> To email users, it just looks and acts like a much better

Hmm, I'm not completely convinced it would (but I haven't used it, so take this opinion with a grain of salt). Responding to rich text emails is somewhat cumbersome in most mail apps, because there's a tendency for formatting to get all mixed up and it makes simple things like quoting nontrivial.
25 year repayment mortgage on €1m loan will cost about €4.3k per month. Based on actual lending rate of c. 2.3%.

Interest only loan will have lower monthly payments, but you will need to make an additional monthly contribution to an investment product, such as an endowment policy, in the hope that the investment product will be worth at least the outstanding capital at loan maturity.
Python's a bit faster than Bash.
The article mentions how one part of change is that regulations may have changed.

I work in a heavily regulated industry, and am dealing with a set of regulators nearly all who depend on just one particular auditing company to ... effectively write their regulations for them. To the point where a new jurisdiction happily refers to their draft regulations as documents prefixed with the auditing firm's name on them. (This is not a joke or hyperbole.)

That particular company has trained their own workforce to evaluate acceptance criteria according to their internal workflows and practices. This in turn means that almost all industry regulations are geared not towards functionality, but to make sure the auditing company has the least amount of training to do. As far as I am concerned, this is a particularly perverse form of regulatory capture: it's not even the industry at large writing their regulations, but an already entrenched gatekeeper acting on their own interest, crippling both the regulators and the companies in the industry.

Now, I have no problem with regulations as such, because for most parts the rules tend to make good sense. But I do have a problem with regulations shaped after the desires of this particular auditing company. Instead of focusing on results, quality, transparency, accuracy, recoverability and functionality, they have a fixated view on particularly dubious change management processes.

I am convinced that at some point in history, someone has done extensive research into 70 years of software engineering best practices - and gone to extreme lengths to expressly reject as many of them as possible.

Two examples: they insist that even unit tests MUST NOT be written by the engineers who work on the code; and they are mortally afraid of the idea that engineers who work on a problem could ever understand and evaluate the problem. (Not to mention that the very concept of a workflow tool is completely alien to them.)

The end result is that you can either try to do software well, or you can try to do it according to regulations.
Average Annual Hours Worked by Persons Engaged for United States
>> and real world trades are positive sum.

Not in the tech sector. Everyone is competing for monopoly position for each area and niche. Once an area is monopolized, the incumbent gets complacent and inefficient but doesn't lose their winning position.

Also people don't make money by creating value, they make money by picking the winners and following the money.
The Tadpole Paper Mill
> The Netherlands and France are still alive and kicking. They have plenty of successful businesses.

Are they? I can't think of a single technology company coming out of either.
Developers who believe they can forsee the future are more dangerous than missing business requirements.

The problem with missing business requirements are that developers often are either to focused on writing the code instead of actually understanding the business.

You cannot build something you do not understand.

Understand small and expand your understanding. Code is not the goal, it never is. It's a means to a goal.

Another thing about software is, that a lot of it should never ever be written. It's the last thing you do, is write code for overcoming a challenge, because rarely you really need it.
> the client should just error out and stop processing and return the error to the user, who will have more context and knows whether or not a retry is necessary or desirable... Even banks do that. It's fine

If a user at a bank tries to transfer $10,000, gets an internal server error and retries because their balance hasn't updated (banks don't process these in realtime), and checks the next day and finds $20,000 gone, that's a big problem. The user can't be responsible for this, you need something more.

You're not wrong that this isn't necessary in the majority of cases (updating your email address?) - but the majority of cases don't need distributed systems. By the time you're talking about distributed systems (which is the focus of this article and discussion), you absolutely do need this, in the vast majority of cases.
OCaml 4.10
Once Oil has better documentation I'll probably give it a try. The documents outlined in "Docs I Want to Write" seem promising and are still only visible as drafts in Zulip which requires logging in.
>99% of readers won’t notice

Let's not forget the (classic by now) The Simpsons:

>Oh, people can come up with statistics to prove anything, Kent. 14% of people know that
> As a practical matter, few people have the capability to mentally simulate the pipeline to determine whether slow LEA is going to have an impact or not

That's why the people should not do it most of the time, that's why we have compilers. And I claim that a compiler programmed in absolutes as advised by the article "just don't use EBP with LEA" would produce poor code.

And that much is easy to follow even by humans.
Reposurgeon Defeats All Monsters
For what it’s worth, in my experience it’s very effective to add this information to the error context: is it a permanent failure (eg validation) or a retryable error. If it is retryable, also add to the error context when it should be retried.

This will allow you to handle these errors appropriately without having to handle these things on a case by case basis.
>> Or has he _already_ paid the taxes, and cannot claw back any losses (since he has to offset those losses on future capital gains from other sources)?

> It's the second.

No, it isn't? It can't be, because he's saying he can't pay the taxes. If he'd already paid them, they would already be paid.
>Because once someone buys into your new game, it becomes their orthodoxy. They become fiercely loyal to it as an organizing principle for how they act in the world.

>Until someone shows up with another story about an even newer game. That’s inevitable, of course, but hopefully it doesn’t happen until you’ve gotten very successful helping customers win at what will suddenly become an old game.

All seems a bit postmodern (post-truth I think it's the current rendition of that) ... I'm more interested in what's objectively better.

This sounds more like "we got well marketed to, drank the coolaid and now don't want to change (because we'd lose face, demonstrating our susceptibility to being conned ... which seems to me like the big problem in UK [and USA] politics at present).
Script to install packages into Raspberry Pi SD card images without a pi
Captain Obvious: real world transactions don’t look anything like this.
Shameless plug (I’m paraphrasing myself in the “mediocrity” line above): Right to Left: The digital leader’s guide to Lean and Agile https://www.amazon.co.uk/Right-Left-digital-leaders-guide/dp...
Avoiding duplicate processing is a very big part of compliance in banking transactions. Making mistakes in this area is somewhat common but very punitive for the institution that makes the mistake. As a result, design priorities are heavily skewed toward exactly-once processing of financial transactions.
Wendelstein 7-X – from concept to reality (video, 2013)
Yeah it's almost as if when you have one hundred people, is everyone lazy? Or are you the one causing the problem?
Previous (2016): https://news.ycombinator.com/item?id=10962026
Two things: 1) paragraphs help organize ideas without looking like a giant wall of text, 2) don't joke about rape
I believe the parent is asking for more granularity in browsers permissions in general. On Firefox, permission granularity is a bit lagging behind other platforms, for example Android (which is already not perfect/too permissive)
Spotify CPU usage when scrolling
Booking.com, TomTom GPS are both from Amsterdam. As is Adyen, the payments provider used Linkedin, Uber, Spotify, Microsoft. Philips is also from the Netherlands.
I ran the same test on my ryzen 3900X with no issues, MSI X570 ACE motherboard, seasonic PSU.
Algebraic Curves
Communist news.
Why it's a bad idea for a big company to outsource customer service
As someone somewhere said, writing software to a spec is like walking on the water - Easy when it is frozen.
But the code is the design. The actual building is done by the compiler (or equivalent). So the important lesson is to budget for iterations of the design and not putting too much effort into the first sketch presented to the customer.
What comes first, feature creep or agile?

I would say that agile has helped create the conditions for the proliferation of tech debt mills, because it empowers product people while disempowering engineers.

"Rapid and flexible response to change" is really just bruteforcing ideas leaving a trail of tech debt that makes developers miserable.
Mastodon is currently using this comment to poke fun at Orange Website:

https://bikeshed.party/objects/35fccbd6-b611-46b5-8e15-84807...

Just thought you should know. :)
Ask 10 different developers, Agile salesmen, and product owners and you'll get 10 different explanations of what Agile is.

Occasionally you'll come across somebody with a healthy dose of skepticism.

https://news.ycombinator.com/item?id=5406384
Bitcoin Retirement Series Part 1: Bitcoin Investing in Retirement Plans
It's only my own opinion, but I believe there is too much centralization of national, international and diplomatic institutions inside the City of Paris. I am _for_ more decentralization of businesses and powers across the Region of Paris and across other cities of France. House pricing clearly shows that the City of Paris is a gravity center in terms of everything, which leads to many of the current traffic and pollution issues imo. Maybe a decentralization of France's institutions, powers, businesses etc could help it?

Edit : Idea : at each new presidential term, move all institutions and the french "white house" to Lyon or Marseilles, second biggest city of France. At the next presidential term, move everything again to Paris.
Savoy Ballroom
A 3D-Printed Lithophane
Maybe it is emulators that generate code internally and these do not? I know that was why MSX emulators were forbidden while they cannot really hurt Apple sales...

Anyway; I don't know if these emulators maybe do not generate code or are written with Core JS (for the most part) which apparently is allowed.
Elm is made for one thing - web apps. It does it well, but it's probably not the only language you would ever use.

ReasonML/Ocaml is a general language. You can use whatever framework and platform you like. There is an Elm framework for Elm like development, there is a React layer for coding against react. But you can also write server apps, command line apps, GTK etc..
The PureBasic and Rust versions don't seem valid to me. They each have a so-called "Amb" function that can only process lists of words that start and end with the same letters. And if they can't even get the prompt right, I wouldn't trust how well they act as examples of their respective languages.

The F# version... it's okay, I guess, but the fully-functional "declare all variables at the start, then filter" style is definitely easy mode. It's not really comparable to an 'Amb' that properly supports imperative code, letting you declare ambiguous variables, compute things with them, then use those computations to declare more ambiguous variables.
This has been spammed here multiple times by the originating Amazon affiliate account:
https://news.ycombinator.com/submitted?id=daolf

Now resubmitted by two other accounts, with daily resubmits.
Sub shells are something I don't think get used enough. I would love it if it was easier to spawn extra processes, particularly if those processes could be strongly sandboxed.

Who cares about overflows in your video encoder, if all it can do is make you output broken / different video?
“Denmark can do healthcare/education because it's a homogeneous society”
If everyone can get to what they need within 15 minutes, traffic as a whole would be greatly reduced
Chinese Bitcoin investor loses $45M to SIM Swapping
Ask HN: Bloggers, writers, readers: what's your ideal platform like?
Could you describe what the ideal blogging experience is for you?
What Android tablet is comparable to a modern iPad pro in performance, screen and battery life? I really like the iPad pro but I hate the artificial restrictions... All the Android tablets I tried out, flag ship ones, just fell down compared. I have a Surface Go for when I need Windows, but that is probably one of the worst buys of my life.

I currently use iPad Pro with Remotix to access OS X + Windows which works really well. If there was a Remotix for Linux, I would use Linux only, but there is no comparable VNC client for Linux. Compared the ones under Linux are unusable (and I did try them all).
> every discussion forum since Usenet

4chan + 4chanx would like to have a word!
Mate, I don't know; I'm just going with all the research and linguistic warnings I've read on the word.

https://languagelog.ldc.upenn.edu/nll/?p=3500

https://brians.wsu.edu/2016/05/25/deceptively/

https://www.academia.edu/37488247/The_Deceptively_Simple_Pro...

Shoot, even oxford gives exactly opposite definitions of the word.

https://www.oxfordlearnersdictionaries.com/us/definition/eng...

---

I mean, even when I saw the title of the thread, I had an obligation to click (clickbait I guess?) because I could have interpreted the title as either a warning about p-hacking or an attestation in favor of the practice. In fact, on first glance, I read the title as "P-hacked hypotheses appear less robust than they actually are."