skysight-inc/HackerNews huggingface dataset:
> Civilization emerged around settled agriculture, not to wage war. Arguably this was a movement away from violence, as compared to nomadic tribes constantly competing over hunting and foraging territories.

Is this even true? I remember when I was reading "Seeing like a State" (or possibly this is from "Against the Grain"), the book would talk about how the first settled civilizations were all violent and oppressive, because nobody wanted to engage in agriculture. Why would you, when anyone could walk into nature where there was an abundance of food and life was much easier.

The original movement towards settled civilization was a violent one, where people were forced to work the land, and would try to escape. Nomadic tribes didn't violently compete with each other as much as settled societies. At least, that was the impression I was under.
There's a non-trivial number of live running systems out there that interact with RDBMSes entirely through either ORMs or query builders, without a single line of programmer-written SQL. Those systems seem to hold up well.
The dissembled ROM and mappings has been documented since the 80s. (Vic20, PET, 64 and 128).

My references (35 years) ago were some books published by Data Becker GmbH.

Note also that there were basic extensions to address the limitations of CBM basic like the Simon basic cartridge.

That Simon basic was a wonder in their own. Written by a gifted teenager and extending by mapping addresses in the ROM. It was possible to write sprites and graph in basic without pokes (no ASM needed).
I think they're better off as a separate library (similar to react-transition-group), as someone else has suggested in the comments. There's certain cases where they come in handy, I understand this, but they didn't need to be baked into React.

I really dislike the way they can be abused to litter state and side effects all over React code so easily (e.g. hiding it layers deep in helper functions). And I feel they've made the API worse, such as `this` being replaced with the more clumsy `useRef`, or requiring an empty array to change the behavior of `useEffect`. These are things that break the Principal of Least Astonishment and have consequently led to countless blog posts that try to explain how to do things that were much more straight forward without hooks.

I've written about hooks before in past comments: https://news.ycombinator.com/item?id=19357068

It's been a couple of years since they've been added, and I don't feel the ecosystem has improved because of it. So to me it was a mistake.

I know they will likely not be removed from React, so what I said was more tongue-in-cheek.
Feel free to link the sources from your Facebook feed claiming otherwise. You're clearly the type to thoroughly vet their news source. I have no doubt it'll be ironclad.
Golang Desktop App with Webview/Lorca, WASM and Bazel
> SQL is messy because describing the underlying data relationships are messy.

Not sure that is true. You can imagine having a smaller query language with clean semantics able to capture messy data relationships. Small functional expression languages come to mind. Where it lies on the spectrum from purely-table-form to can-hold-everything is a design choice.

Your query language doesn’t need to capture the underlying data model exactly. SQL is an example of this itself.

I’ve run into the orthogonality issue myself several times. You don’t need to drop SQL today, but for some data domains more expressive query models can work really well.
Ask HN: How do you build complex tables on raw data?
A little more color here. I've got dozens of queries that combine hundreds of tables on a regular schedule. Some of these tables are inputs to other tables, so I've actually got a big DAG of tables. Simple graph algo + airflow helps me construct and manage this DAG. I couldn't find a technology that solved this problem "nicely", so I am wondering what everyone else does who has this problem.
Sound moves 4-times faster in water than in air, I assume even faster in ground surface, so let’s just assume it arrives instantly via ground. This would mean a delay like in lightning/thunder, which is what one can see in the video (2–3 seconds ~ 0.5–1 km). (This is the restaurant
https://goo.gl/maps/td5K1vxUDBN4i1CA8)

But I could equally imagine it’s some lesser explosion before the main blast.
The underlying problem isn't PDF, but the fact that HTML is still completely unsuited for long-form content. Really basic stuff like a proper markup-based TOC isn't a thing in a HTML. And on the browser side there are just as much problems, you can't bookmark your scroll position and basic scrollbars are a terrible user interface for long HTML content anyway. There are other really basic problems like not being able to link arbitrary HTML content unless the author of the HTML put an anchor in the document.

ePub, mobi and such were developed to work around those limitation and make more usable book formats, but no web browser has native support for them (Edge had some support, not sure if that still there after the Chrome switch). Despite being HTML-based, those formats aren't really part of the WWW.

PDF does what PDF was designed to quite well, it's virtual paper. But the WWW has kind of failed to evolve into becoming a platform where you can publish long-form documents on, so PDF still continues to dominate.
Australia had a ban on non-white immigrants till 1955, civil rights weren’t a US only issue.
My comment was a satire on mainstream media. I’ve lived in East Europe also and the quality of life is easily better comparing with the West. Media by the other end has a different agenda and seems to ignore it.
Indeed, this is the same terrible idea I see whenever my next job wants me to switch to the new latest and greatest javascript framework, or the new latest and greatest ML framework. If you never have time to build up the simple knowledge you keep wasting time.
The purposes of HTML and PDF are not orthogonal, there is a great deal of overlap.

The real advantage of PDF is that the images which are used inside the document are bundled into the same file... Whereas HTML has historically required the image files to be loaded from elsewhere which made it not portable. That said, now with HTML, you can define images with base64 data, so it could in fact replace PDF.
I remember this being a controversy when the documentaries came out. I ended up watching the Hulu one when it came out, and was underwhelmed having already seen the Netflix one (which was quite well done). I suspect that this "controversy" was simply an attempt to get publicity for the Hulu doc (it succeeded on me, at least).

It's not surprising at all that a PR/advertising agency would have a lot of footage from the event they were attempting to promote.
Agreed. Every good serious story will have comedic elements to it.
does anyone know why they can't use the falcon heavy for these launches and launch more satellites in one go ? It says falcon 9 carries 60 satellites per launch and I'm guessing some of the limitations are due to cargo weight limits on the falcon 9 ?
ORMs I've worked with usually expect you to write the complex queries/joins yourself using a series of functions e.g. orm.select(table1).join(table2).on(keys).where(cond).group(by).having(cond).order(by). It's just SQL with extra steps.

An ORM that understands db schema, indices, and automatically decides where to use outer join or subqueries based on what would be most efficient given the specific schema would be fantastic. Basically an ORM that 95% of the cases comes up with the most efficient way to look up the data.
Also behind a big glass pane is an enclosed room. Air can rush past the glasses.
It had been sitting in that warehouse since 2014, seized from a cargo ship.
I was hoping for something more left field myself. If SQL is based on tables, what about a QL based on relations only. Columns of data that are related, the "TABLE" implementation detail doesn't need to factor into it.
Got my eclipse phase wires crossed https://eclipse-phase.fandom.com/wiki/Blackbird_1e
Same here. Every experience I've had in the alternatives reminded me why SQL was superior.
Ahh, please don’t let my cynicism stop you!
An Easy Trick to Stop Apologising
I love SQL. I'd love someone to make it better for complex queries. Have you seen the enterprise SQL monstrosities. Why do we have ORMs if SQL is perfect?
If you're speaking about Windows IOT, it's clearly not production ready (and not compatible with the PI4 AFAIK).

I did some tests on a RPI3 a year or 2 ago and showing some scrolling test in a UWP app was making the whole machine lag and be unresponsive.
I've worked on Angular stuff for years because my employer won't let us switch. Angular uses too much abstraction.

Angular does crazy things to the templates, to the point that trying to build your own UI widgets is a recipe for pain.

Template meta-language is stupid. It's just similar enough to JS that you mess up the syntax all the time and never really stop. Since it's not just JS like JSX there's not good linting support either.

Related, stupid "pet features" and hydra syndrome. Like Pipes. Why does Angular use these weird pointless things when you can do the same thing with JS built-ins? Just so they didn't have to copy JSX? We may never know. And why are there 2 form implementations that both feel half baked? Why is it so bad to instantiate components for testing? Why does it mangle the code to support dependency injection when decorators and DI support don't even actually exist in JS even in ES2018? Why is Polyfills.js such a minefield? I could go on but really, why are so many things half assed and haphazard. It reminds me of Go...

Constant "expression changed after it was checked" errors because the data model change tracking is fundamentally broken

Repeated refactoring of HTML form interop and it still kinda sucks

Major breaking changes on nearly every upgrade that take days to do, even on our small apps.

Crappy documention. There's no usage examples for most of the library, just the Angular version of Javadoc.

Terrible bike shedding by Angular and Material teams. I'm following a bunch of issues and I've never seen one closed. I've been following some of the threads for years.

That was a nasty rant but I have plenty of things to hate about Angular. React on the other hand has a mostly clean core API and doesn't force all this baggage on you. IMO this has spawned a competitive ecosystem where the bad ideas get shaken out. Angular is stuck in the past and feels creaky compared to React development these days.

JSX is the future. It's exactly how MVC frameworks used to work, and it would be popular for templating even if the rest of React didn't exist. Change tracking with props is another. It's simple, it works. Angular change tracking errors are the segfaults of front end dev
I guess an IDE has an unclear definition, but I mean stuff like Intellij, Visual Studio, or Eclipse. With LSP along with an explosion of new languages, they don't provide as much value anymore.

A high quality language server can provide 99% of what a high quality IDE can (like Intellij). IDEs still have an edge, like with debugging, profiling, or SQL db integration. I've mostly ditched Intellij in favor of Emacs for a large Scala project, something I wouldn't have ever dreamed of doing 5 years ago.

I still use Intellij for debugging, but hopefully debugging servers and some Elisp will solve that problem soon.
I’ve not seem glass as an option recently. I miss having glass glasses for the exact reasons you describe. Worn plastic is scratched and give nasty artifacts.
Unacceptable, where is my privacy?
> All Soviets, Nazi and Japanese progress are built on ideas and attitudes first found in Reformation Europe.

And yet they still managed to adopt all the useful ideas they needed despite heavy political censorship.
The judge certainly does understand what is going here. Secure employment is being replaced with "gigs" to the point where a huge chunk of the country has no stable income and is one week away from homelessness.
I wonder whether there's any discussion around addressing the elephant in the room: big config files.

Is there any work towards making Emacs be usable immediately, while config being loaded asynchronously in background, adding features like syntax highlighting without blocking the main editing experience?
Ad Astra and the Art of Depressing Movies – Seb Khouw
Mandatory reports to police for certain crimes or registering people who seek therapy like in Canada only serves to push people away from getting therapy.
A fan travelling by air to the 2120 games says to his wife: "Look at me, I'm reading The Economist. Did you know normal teams never competed between the 1908 games and the 2036 games? In those days they were organised on 'national' lines."

https://en.wikipedia.org/wiki/Mixed_teams_at_the_Olympics
The context here is providing support to unlock accounts that have been wrongfully closed. The number of support incidents per user per year for this specific problem is likely to be at least one order of magnitude lower than one incident per year. Using your estimates as a base, the cost of this service would be no more than 250 million.

For Google, as a company that has recorded a yearly net profit of over $35 billion, this is chump change. The fact that they could afford to offer some customer service regarding such a critical issue as restoring access to lost accounts, yet choose not to, smacks of corporate entitlement.
Amazon, Apple, and Facebook: Trump’s guest worker ban will ‘harm US workers’
Very interesting observations!

I think many planets may have life below the surface. The hot core of planets behave like a heat reactor. Somewhere between the hot planet core and cold planet surface there should be a balanced temperature a mix. That mix may have a temperature of 0-37C.

https://en.m.wikipedia.org/wiki/Planetary_core
I feel like SQL is in general "Misunderstood". How often did I see application developers put the same principles and design patterns onto an sql database like they do in js or c# or rust. They use functions to encapsulate functionality, write sequential code, use cursors where not needed.

Then the language is blamed for not performing well or yielding different results than expected.

Some points in this article are valid but I think the main issue is the general notion sql would be like javascript or c#. It is not, it is very different and needs a deep understanding, including the works of the underlying dbms, to perform well.

I guess i'm just not a fan of throwing new languages and tools at problems we identify, which seems to be a trend nowadays.
Too many programmers (in my opinion) give up far too early due to surface level syntactical differences.

I have a friend who is like this, looked at some Rust code, saw closures with bars instead of parentheses and practically disregarded it on the spot. Took a lot of convincing that they wouldn’t notice after 15 minutes of actually using the language, and what do you know, I was right.
There's a lot of negativity here for understandable reasons given the success of SQL empirically. But I'd encourage everybody to read the home page https://edgedb.com/. This project is not trying to replace SQL as its primary goal, it's trying to build a data modeling and query interface on top of Postgres that meshes well with modern applications that have hierarchical data akin to what you'd model with GraphQL. Major kudos for trying to rethink and improve upon things -- I'm sure it wouldn't be too hard to stick an SQL backdoor in there for the laggards too ;).
My emacs instance is currently editing projects in Elixir, Ruby, Python and Node. None of them remotely resembles what it would be in a Java like IDE. There is no need to "understand" a project in those languages, edit save and reload has been enough for me and my customers since 2006. For Java, I used Eclipse and Netbeans. I consider the need of an IDE as a bad smell in the design of a language.
Is there any restriction going from tiny to protected mode? If so, that sounds like the best of both worlds.
I use 1password for passwords, authy for 2FA and I keep the backup codes in keepass synced through cloud storage.
It keeps them all separate.
The main idea of Emacs is unlike other ide's it can be customized greatly to specific users, but Doom Emacs seems to be a ready made configuration. It seems to be opposite of the main idea behind Emacs, yet Doom Emacs seems to be getting popular. Is there anything i am missing.
Since the submitter is the author:

> 6 days after I started to write this post, it is proved that the math behind false positive probability was wrong for 50 years

This isn't true.

The "Bloom math is wrong!" clamor started at least 12 years ago with [1], which brazenly cites Bloom, then proceeds to give an analysis of Knuth's subtly different filter from TAOCP instead.

There are issues with [1], but its exact false positive formula was eventually proven correct. Its argument is incompatible with Bloom's original filter, though, and Knuth explicitly states that the false positive formula he gives is approximate.

In other words, nothing was proved wrong. The analysis doesn't apply to Bloom and doesn't contradict Knuth.

Now, [1] may be the first paper to give the exact false positive formula for Knuth's filter (and Bloom's was given in 1979 by [2]), so it's not entirely without merit. But in practice none of this matters anyway. At useful sizes the approximations are accurate. Knuth's is a lower, Bloom's an upper bound, and the two become functionally equivalent very quickly.

1. https://cglab.ca/~morin/publications/ds/bloom-submitted.pdf

2. Algorithm-A in https://sci-hub.tw/10.1109/proc.1979.11543
The signature is cryptographically based on the exact document (and that person's certificate) so you can prove precisely what they signed. That is very much the whole point of the signature feature. It wouldn't be much use if, when you tried to challenge someone later, they could said "oh no, that's not the version I saw, you must have changed it after I signed".
Beirut has been at war for decades, so it's one city where residential and commercial laminated glass would have made sense.
> i'm surprised that people are surprised by this.

While I'm not surprised per se (seen it enough here and in the industry), it does make me sad and worried about the industry.

This short-term thinking is starting to break everything. How many things sold today depend on some smartphone app? What is the chance that said app will be available or able to run in ten years? Thirty years? I'll bet big money on zero percent chance.
WTF!!! What is this...
Maybe just have SQL Transpilers? I mean we accept ORMs, so we should accept that.
No, I am not interpreting it all wrong. You are fundamentally misinformed about what AB5 in California allows. And while I agree, there are many cases where staff augmentation exists, in many of those cases employees would be misclassified under AB5. Also, in many of those cases of staff augmentation the person is hired through as an employee of a staffing company, not as a 1099 contractor by the client company.

Edit: Good article and video about how AB5 affects technology consultants: https://www.viodi.tv/2019/11/15/will-ab5-drive-software-engi...
> It’s impressive, but as with most K8s demos, assumes that you’ve everything up and running and configured because if you didn’t it’d take a galaxy-brain expert like Kelsey a couple of hours (probably?) to pull that together and someone like me who’s mostly a K8s noob, who knows, but days probably.

> I dunno, I’m in a minority here but damn, is that stuff ever complicated. The number of moving parts you have to have configured just right to get “Hello world” happening is really super intimidating.

> But bear in mind it’s perfectly possible that someone coming into AWS for the first time would find the configuration work there equally scary.

I feel like I missed AWS and K8s... I've been on-metal for the last 6 years, and the 3 before that on virtual machines. My use limited to bucket storage (S3, GCP).

So this sounds like something I could experiment with: Take a simple and existing app and lift and shift a basic equivalent onto AWS, Azure and GCP in whatever is the most idiomatic way. Compare the learning curves and publish the code bases and config on github and see how much I missed (I just know IAM will be an issue due to the number of times I hear people complain about it).
The real advantage of PDF is that it is a final form document format. Truly WYSIWYG. Which is literally the anthesis of HTML which is completely separated (theoretically) from the display/formatting.
Assuming from the twitter handle you are Redmond based...

This is a Seattle Brazilian shop who takes covid-friendly online orders (I just searched online don't have any experience with them):

https://www.kitanda.com/shop/predilecta-guava-cream
Anything that uses Activerecord
It's a lot more common in Europe to have buried lines for anything after the high-voltage national backbone, so the grid is much less susceptible to weather.

Where I lived in Sweden, 30% of the network was already underground, but after a large storm in 2005 caused long-lasting power outages, they invested heavily and are now up to 70% underground.
Well it has to do with money and bad journalism. Journalists love to talk about potential natural disasters instead of co2 levels and global temperature. People think the stuff journalists report on is "science" when it is mostly some clickbait article. The number of times they cite a random blogpost is quite shocking.
Other links with code to parse/construct command lines:

- https://web.archive.org/web/20200128073602/http://www.window...

- https://web.archive.org/web/20191119112915/https://blogs.msd...
I agree, I think <Element {prop} /> works better
Let's not forget that the reference PDF reader, Adobe Acrobat, has turned into a pile of shit about 15-20 years ago, with "plugins" and stuff making its load time surpass that of browsers at the time, and severe security issues going unfixed, that PDFs frequently use text in non-semantic text order or even as stored bitmaps, with the deficiencies in searching and linking within PDFs that goes with it. Also, Adobe found it necessary to include JavaScript execution from PDF, and also dysfunctional PDF forms/signing and interactivity features such as linking which more often than not pose a problem rather than solution on the rare occasions where I've encountered their use. AFAICS, valid (?) use cases for PDFs (apart from sending out a document to a print shop) include e-books (incl fingerprints), academical publishing, user manuals, formal business and legal statements, and personal archival (PDF/A with prerendered layout and embedded fonts). Even as a critic of CSS complexity, I believe all these use cases except academic publishing should use markup+CSS instead, and if there are deficiencies in browsers, they can and should be addressed and fixed. I find it particularly painful that .mht, .warc, or other HTML-based archival format hasn't gained trust (and probably won't work well with today's JavaScript-heavy sites, many of which don't have a reason to use JavaScript except for lock-in, analytics, and plain incompetence).
Honest question: doesn't sshfs solve this problem? I've never understood the appeal of TRAMP, mounting the remote resources seems like a much better and less finicky solution.
Do plastic eyeglasses even shatter? Ever since lenses stopped being made out of glass, the amount of abuse they've been able to take has been through the roof.

I can't imagine a situation where my glasses might shatter before my face would.
That's fair, but I would respond by saying, if you just want a generic GNU/Linux VM, there's really no reason to choose AWS. You can get one from someone like Linode or Digital Ocean for less. The advantage of AWS is that your GNU/Linux server has access to all the proprietary AWS goodies, like S3, DynamoDB, Route53 DNS, etc. etc.