skysight-inc/HackerNews huggingface dataset:
The point is that in real applications it is really hard to get the update logic straight.

The React haters here seem to think that is easy. But most of the popular frameworks/libraries use a virtual DOM in some way or another. And Svelte also automates handling the updating. Maybe it's not so easy after all, if smart people have spent decades trying to find alternatives.
You're both right - inopinatus and ldarby. It was clearly a miscarriage of justice - hence the lawyers and court case and resignation of the Post Office CEO. But it absolutely needed to be investigated by a dedicated, professional Software Incident Investigation Board.

The miscarriage of justice is the truly awful, shameful part of this incident and it all came about because of the 'less than honest' stance of the post office leadership. To be fair to them, they were probably advised to act in this manner by their lawyers.

The difference between an aircraft/train/boat/car/oil rig accident and a software incident is that we immediately know that an aircraft/train/boat/car/oil rig accident has happened. Professional investigators are usually on the scene long before the lawyers have had their first cup of coffee. With a software incident, lawyers have wrapped their fingers around everything long before we even know that something has happened. For the incident investigators to do their job properly, it would probably be best to keep all lawyers out of the picture until the investigation is complete. But the chances of that happening are slim.

I also agree with PHK about the expense issue. There are so many examples of huge expense to discover the cause of an aircraft accident. Just think of MH370 or AF447 (military submarines were used to try to find both wrecks). Also oil rigs. How about Deep Water Horizon? Huge amounts of money was spent to figure out exactly what happened. Similar sorts of money should be made available to discover the causes of software incidents. It's far too easy for companies to hide a software incident and then hide behind lawyers while blaming others.

Bugs should be reviewed and dealt with by a profession independent investigation board, not by lawyers.
Also, developers never design their own database schemas anymore, then when the some crappy ORM (like Django’s) generates a tediously slow schema they blame the database.

It’s weird how developers get asked about OO design patterns in interviews, but not once have I ever been asked about database design (beyond some useless stuff about 2nd normal form).
I made far worse things than this in the past for intermediate files (kind of a VM, but in the past we made these to 'obfuscate' dynamic code, not for performance or other reasons). For instance, we made a lot of software for DOS/Windows used by (most) schools in my country and my uncle, who made the content, was rolling out versions for different subjects quite fast, so I made this intermediate format which came from content with 'tags' (like [IF x<y THEN ...] inside the content) which did not look unlike what is in this article; indeed also representing all text and images are integers. This was done to make it unreadable for the average person who tried. Then, based on the school license key, that file was encrypted (badly) to make it even harder.

I suppose there were and are many of these kinds of things going around in save files etc. You just would never predict or hope that people go and reverse engineer it to write directly in it.
It kind of is, to .NET developers.

Although Microsoft has made it from Microsoft Research into official Visual Studio, it has been mostly an up hill fight to keep it there, while .NET languages group mostly cares about C# and VB, and to certain extent C++/CLI for integration with Windows APIs.

F# when taken into account by management, comes always after those three.

Most of the Visual Studio tooling for C# and VB isn't available to F# projects, you are supposed to do it manually, e.g. GUI designers, EF database to code generation, .NET 5 code generators.
If this uses vfio then no, the host never sees the GPU, it's blind to it from boot.
What you consider minimal, some consider a 100-lb gorilla.
They are supposed to keep track of which cars need to be impounded.
If you make a mistake, that is on you.
Which assumes a designer, so now we've compounded the presuppostions. And I don't see how more presuppositions means were more conscientious of them. Or conscious of them, if that was your meaning.
Freedom of speech is not violated by ostracism, because freedom of speech (as a right) is the right to say what one wants, to whom one wants, at a time of one's choosing and the implied listener's freedom - to listen to whom one wants (or not) at a time of one's choosing (and hence to what one wants).

If someone is ostracised that is an example of the listener exercising their free speech rights, not a violation of them.

Some use this as an example of why companies like Twitter and Facebook may remove someone from their platform, but I would argue firstly that they are a monopoly exercising monopoly power, hence violating one's rights to free speech, and that they are not platforms any more because of their interventionism in the speech of others (and currently have too much protection under law to do this). The monopoly power is the most important thing to challenge, in my view.
> "It just appears when you have enough neurons" is probably true but how?!

Then you don't disagree with parent. You're saying that we don't know enough to fully explain consciousness, which I think everyone would agree with. Parent is just saying that our not understanding it is not because there's something outside of the known laws of physics that we're missing - we just don't know to understand how the laws of physics give rise to consciousness, but they do.
Top Domain and Hosting Platform
You want a website, you know you need a domain, hosting ECT but where or how or who...here is your solution to that problem all in one package.
The only proper use of the last nuclear plants is to provide the huge quantities of energy necessary to capture back CO2, undoing the damage of the last two centuries. Then they'll can be put to rest.
He has no IT experience at all. Why do you think he would be a desirable IT manager?
> That sounds very interesting. Does that mean I should be able to load a VM containing my windows partition fron linux, even without a dedicated GPU?

That works fine.

I do that at work to avoid nuking/tampering with the Windows installation provided to me by IT, while running Linux as my main OS from a second volume.
Interesting essay. The discussion of the exam-based meritocracy in Qing-dynasty China reminded me of the following description of that system by George Staunton, who accompanied an official British delegation to China in the 1790s:

“The examinations of students for degrees are said to be always public. The body of auditors who attend, as well as the presence of the governor and chief magistrates of the district, who preside, must awe any disposition to partiality in the judges. Some oral questions are put, and some are given in writing, to the candidates, as in English colleges. The rewards of those who succeed, are not confined to the honours of the university; for these become the ascending steps which lead to all the offices and dignities of the state. Even those who fail in the main pursuit, have, in the prosecution of the contest, made such acquirements as fit them for useful avocations, and add to the general mass of knowledge in society. A method also of advancement so open to all classes of men, tends to reconcile them to the power, from attaining which no individual is precluded. Tho the opulent youth have no doubt greater facilities and better opportunities of instruction, than the children of the poor, yet genius may have occasionally the strength to counterbalance such disparity; and at any rate, the possibility of success is an enjoyment even to those who are never likely to obtain it. The general persuasion, likewise, that authority has been acquired thro merit, must contribute to insure respect and obedience to it, unless a gross abuse of it should take place; against which the possession of abilities and knowledge is not always a security. Such a system of government promises indeed great benefits to society; and can fail only when the temptation to do evil is greater than the strength of principle and the risk of being detected in the sacrifice of it. The poor and private individuals in China, who have no means of communicating their complaints, or declaring their sentiments on the conduct of their particular rulers, are left in great measure at their mercy; and foreigners, when in the same predicament, are equally liable to suffer.”

Source: https://archive.org/details/authenticaccount02stau/page/482/...
The host is headless? So you're streaming the display via VNC or something to another system, or do you mean the host has a head but it's just being passed thru directly to the guest?
I still use my first bash script, what is the maintenance you're telling about? (I'm serious)
Show HN: Alerts for any kind of financial event
What exactly do you mean by compatible with ASLR? And would you mind going into a little detail on how injecting a DLL works, compared to what's being done here?

Sorry to bother, just very interested in this stuff!
The designer is not assumed.

I am it. I design formal systems.

Formal systems are human inventions. Any expression or description of the “laws of thought” are subject to the limits of self-expression and the expressive power of your formal language. The “laws of thought” are rules of thumb. Useful Heuristics - not universal authorities.

I recommend Luciano Floridi’s recent work in “The Logic of information: Philosophy as conceptual design.”

https://ndpr.nd.edu/reviews/the-logic-of-information-a-theor...
> the black market rate was heavily inflated

True, but at least people could buy/sell dollars at the rate.

> Purchase parity calculations for comparable goods available in both US and USSR make much more sense

Based on the number, GP used official exchange rate set by the communist party.
Scaling writes is theoretically really easy via sharding, and I've done it several times. Unfortunately in typical web stacks these days ORMs absolutely do not support sharding in any reasonable way, even if your data model supports it easily (users don't collaborate so you can 100% segregate by user ID and never need cross-shard joins except to static tables).

Agreed re: db mocks, database bugs and quirks should be captured and addressed in tests, not discovered only in production. I don't care how mature the DB you're using is, there's always going to be some edge case behavior that you can't predict until you actually see it happen, even just simple stuff like exactly how an error filters back to the application when you send data that violates a constraint. I've seen way too many tests that make assumptions about these things that turn out to be incorrect, leading to horrible behavior like writes getting through on prod that should have been blocked because of pre-checks that didn't turn out to be enforced the way the test writer assumed they would be.
Likely setting the NVidia drivers to use MSI (Message Signalled Interrupts)
Why does twitter.com use div role=button instead of button?
Every accessibility expert will tell you: You should use <button> instead of <div role=button>. There are numerous articles that explain the benefits of <button> in detail.

And then we have top websites like twitter.com that use <div role=button> for everything. There are about 50 such elements on the start page alone.

This juxtaposition creates confusion and doubt. I would really like to know, if <button> is the clear, obvious choice that even junior developers should know to use it, then why do so many top sites choose <div role=button> instead?
As it says on the website: Oberon+ is fast statically typed, compiled, general-purpose, procedural, object-oriented, garbage collected programming language in the Pascal tradition, with support for generic programming.

Syntax wise it will be familiar to anyone who has used Pascal or Lua. Semantically it will feel familiar to anyone who has used Go. Its a lot of fun to use and leverages some of the nice aspects of Oberon matched with the performance of LuaJit, with some elegant extensions.

The IDE is easy to use and the code base is fun to work through. The examples give a great idea of the language and speed. Both code written in Oberon+ and the core IDE /compiler src code are very easy to read. There are lots of good ideas in here worth exploring further.

Rochus Keller the developer behind Oberon+ has a lot of interesting projects on his Github site which warrant further investigation but Oberon+ is especially worth exploring.
There's a documentary on Youtube that covers both countries.

IIRC, in Russia it affected wide-area pipelines and phone networks - systems nobody wanted to screw with.

Anyway, the tests scared both sides shitless and I think they stopped unilaterally. They expected a result of X, and instead got 100X or 1,000X.

The article didn't do justice to the severity of what happened.
This is an attempt to listen in on the "inner voice" in your head. This has been demonstrated to me, however crazy this might sound. When targeted, you experience this cicada like sound (or metallic sound) filling your head.
Well react itself is just the virtual diff algo really.

How to change this page to this other page as fast as possible, if you don’t know or don’t care to know that other page.

That second qualifier is really important. As long as you have 2-10 screens and know the transitions by heart, nothing stopping you from hand rolling js. But once you start adding states things get tricky really fast, as transitions grow exponentially.

I’ve built some very complicated apps with vanilla js back in the day, and we had ways of dealing with things like that. We called it “reloading the page” where you start from 0 with your state.
Kinda like restarting windows to fix it, rather than figuring out whats wrong.

And you could get quite far that way. 37signal’s basecamp was like that - an html app with vanilla js sprinkled throughout. Worked great.

But there is a limit in complexity. JS and html are great for building websites, but if you want to build an actual application, you need to be really clever and accept a lot of limitations. React just lifts the ceiling of what you can do, without being all to complicated.

And you can use the technics of react without react itself too, once you understand what it is all about - https://github.com/ivank/vanilla-teuxdeux
Check Peter F. Hamilton's books perhaps, at least the Commonwealth sagas. They seem to be somewhat like this (although with added alien dangers). Also his Night's Dawn trilogy has an offshoot of humanity which is pretty solarpunkish.
Windows 10 to hang on for five more years with 21H2 update
The GPU is given to the guest, so the guest is driving the GPU directly making it a headless host.
I have exactly the same experience (I'm software engineer). That is why my question is becoming more complicated, even to myself.
I still can't decide if this is real of not, but the author now has a Github repo with more BANCStar artifacts: https://github.com/jloughry/BANCStar
The Islamic claim to Jerusalem makes no sense
Which power grabs by EU parliament? It is actually exceptionally powerless.
Were you referring to the conflict between the EU and Poland or Hungary?
> If you want easy, this is not for you. Setting up LG first requires setting up a VFIO Virtual Machine.

Any quick links to how that differs from a regular QEMU/KVM setup?
Xiaomi becomes number two smartphone vendor for first time ever in Q2 2021
Let's not conflate security and safety here. The boards hailed by the article are all about investigating safety failures, and so is the advocated invetigation board. Security is a different beast. It's sub-par in many airplanes/power plants/... too.
Hello HN! This is a SaaS I've built the last few months using Flask and the least amount of JS that is possible.

It allows setting up SMS/E-Mail/App alerts for stocks, options and crypto, and in the future also bonds and macroeconomic events. There are lots of KPIs (just for example: earnings growth Q/Q, price, volume, the option greeks, etc).

For stocks the main data source right now is Yahoo Finance, but at some point I'd like to move to a better one (but more costly one).
Really, is that why Tarkov drops me when I try to start a match? At least CS:GO told me their anti-cheat hated my setup (Windows 10 in a Xenserver VM) and I was able to get a refund.
You can't mention VFIO without mentioning the amazing subreddit, r/VFIO[0].

[0]: https://www.reddit.com/r/VFIO/
"Almost" is the key word here, under a VFIO VM, it's 100% flawless.
Author of Fullstaq Ruby here. From what I understand by talking to people, the reasons why Fullstaq Ruby doesn't have wider adoption are as follows:

It's not a project officially blessed by Ruby core. Upstream Ruby is actually "good enough" for most. Most people don't feel the pain enough to try something which appears as unofficial. Perhaps their thinking are similar to yours: I'm hesitant because not everbody else is already using this.

I want to make this an official project. But before I do, I want to make sure that the project is sufficiently ready: healthy, democratized, not reliant on myself: https://www.joyfulbikeshedding.com/blog/2020-05-15-why-fulls...

I am also not marketing this as hard as I should. I lack free time.

Another reason is because of the beta label. The only reason why the label is there is because I have a specific, ambitious vision on how "final" should look like (i.e. more features), not because it's unstable. Feedback from users regarding stability has been very good so far. I might be shooting myself in the foot marketing-wise by not removing the beta label earlier, but I'd rather do a good job than to hurry.
Ok. But still, Damore's situation as part of a general human trend, from which the pro-Damore faction is not immune. There are no doubt pro-Damore people who are pro-Damore just because their tribe* is pro-Damore, and not because of the actual content of the memo. This is the identical error as the antis.

It's difficult not to make such errors because those of our tribal ancestors who did not immediately and unconditionally support the tribe died. Those who did, lived.

If you want to help, pointing out which faction is making the error is not as helpful as insisting on the principled truth no matter which faction is correct. It's a dangerous road, because humans are scary, genocidal apes.

* > - our tribe have no consensus on the issue / there is no "our tribe"

Agreed. If one can lift one's perceptions out of partisanship, there is only a unified group of people who all (with a few psychopathic exceptions) want the best for themselves, their families, and society as a whole, whose only disagreement is as to method of getting there. And nevertheless, these small disagreements can easily magnify and become physically violent, because humans are scary apes who will elevate tribal affiliation even above literal perception. So, for some people, they absolutely have a tribe, and if you disagree with it, you are them.
Virtual DOM overhead is totally overstated. It's just that it offends some people's idea of efficiency to build a data structure to throw most of it away anyway.

But in reality, the virtual DOM allows you to avoid manipulating the actual DOM, which is both slow and error-prone. The browser necessarily attaches all sorts of memory objects and state to components in the DOM, which his why unnecessary mutating has to be avoided at almost all cost.

Svelte may go a step further by automating DOM manipulation. But it doesn't have the same following yet. And usually, if there is no explosive growth in such a technology, it's not just because of evil overlords preventing its justful rise...
Type checking and Browser compatibility are somewhat useful to some people...
>On the other hand, solarpunk art is an overtly optimistic movement, which leaves very little room for a confrontational political message.

I think hopeful instead of optimistic. Even going with optimistic, it seems to be optimistic about the opportunity and possibility of (political) change.
Keyboard looks better than my HP-35s' (the "new" model not the good old one..)
In my opinion, an IPO from a competent organization will release at a price that remains stable throughout the first week or so. If it goes up, the people who helped you with the IPO pocket it, and if it goes down everyone loses.
> Kansas state labor laws on overtime pay do not require overtime pay until an employee has worked 46 hours within a week. While this may apply in limited circumstances where an employer is not covered by the FLSA, generally the FLSA will apply and requires employers to pay time and a-half for all hours worked over 40 per workweek, unless an employee is properly classified as exempt.

Yeah, the 46 hour rule probably doesn't apply in this case, though who knows what sorts of shenanigans Lays is trying.
Any good enterprise offering grows to fill it's target department yearly budget or gets overtaken by one that does - enterprise sales physics..or something like that.
JavaScript Spread Operator Explained
Huh, almost every lead backend job I've interviewed for had a lot of DB design questions, more than normal coding stuff because it's so critical to scaling. It's core to the role even for lower level positions, so it really should be more common.
why don't you go the other way round, Windows native ane WSL2? Beside wanting to hack and learn things, obviouvsly.
This is one of my favourites: https://www.youtube.com/watch?v=d2BctOSZxSA
If you want lots and lots of solar punk aesthetics, check out https://solarpunk-aesthetic.tumblr.com

The images of some of the buildings, clothing or sceneries are simply gorgeous.
How to Wireframe
I'll prefix this by saying I love the idea of local communities investing in their own infrastructure. Few things would make me happier than being a part-owner of my own power infrastructure (which is, indeed, why I enjoy buying shares in infrastructure companies).

That out of the way, the article says:

> Nonetheless, the logic of profit maximization generally holds ... [and o]ne direct consequence is that infrastructure is allowed to fall into disrepair.

This isn't the default consequence of profit maximisation. People who think this way go broke and don't make money as capitalists. In a free market, one of the key objectives of a capitalist is to preserve their very expensive physical capital. There is quite likely some quirk of California's regulation that is causing perverse incentives, because capital catching fire and customers dying/going broke is profoundly unprofitable. Greedy people like healthy, happy customers and working capital, which is why capitalism is so good at controlling expensive things.

And, taking a political pot shot, if anyone thinks California the state could run capital better than capitalists, go look up 2017 Oroville Dam crisis. The fact that a project is run by government doesn't stop people scrimping on maintenance - it just means the controlling party doesn't feel any serious pain when a crisis hits.

EDIT And, in fact, PG&E did go broke in 2019. They seem to have a 3-5% dividend yield - so anyone who bought & held them after their 2001 bankruptcy, in theory, has lost money. The natural incentives in this instance aren't the cause, the incentives are to spend more on maintenance than PG&E did.
Can I be upfront and honest for a sec ?
I have seen boat of load of incompetent IT managers with decades of experience in Fortune x0 companies.