skysight-inc/HackerNews huggingface dataset:
Because blacks commit crimes at higher rates than whites, they will be arrested at a higher rate. The more interactions with the police, the more often police will do the wrong thing. To reduce police brutality we need the police to behave better, but we also need less lawlessness.
OK Lee, Pluto is one of the cooler things I have seen recently. I am going to dive in more deeply.

Gilad Bracha has also been going in this direction with his recent work on Newspeak and literate programming.

Is this how Smalltalk is finally going to gain adoption?
Yeah for development Postgres is easy to install. For deployment it comes at a complexity cost.

I have small scripts that do things like send an email on a given business event. These scripts pull data from the main ERP. To keep the system upgradable we avoid changes to the ERP's database. So these scripts need their own DB to store state, such as when the email was sent. At first this involved one Postgres instance with databases for each script or application. If that Postgres server moves IP or has a version upgrade often every script or app needs a config change or library upgrade. Everything gets coupled together. By using an SQLite DB per script a range of problems go away. Of course anything that has multiple users or needs to be reported on has to go into a central DB but a surprising amount can happly run on it's own independent SQLITE DB.

To move hosts or backup the application and DB you take a copy of the folder. It's so easy.
So my phone does what I expect it to do. When I open a link I might be opening it in another tab to read later, or switching to a different app while it loads, or something else. If it's a file I'm going to get a pop-up asking me what I want to do with it. Depending on where my finger was I might open the file with the wrong app or dismiss the pop-up making me either download it again or go find the file in a file manager. It also clutters up my Downloads folder with things I'm going to read or skim once and never look at again.
That’s not directly comparable. Antivaxx concern is not rooted in science or statistics. It’s rooted in conspiracy theories and anti-science.

In a similar way you could argue that questioning the last election is the same as worrying about the destructive rise of far-right rhetoric because both are rooted in the concern for our society. And therefore we should not institutionally ignore those who doubt the legitimacy of the election.

“Both sides” argument is not valid just because there are many people on both sides.
I assume facebook will sue for trademark infringement them if they use that name in public
i'm amazed at the number of people still believing high vaccination rates will get us rid of the covid, despite all the evidences of the previous year pointing in the opposite directions (people getting infected multiple times in a short period, variants mutating the spike protein a lot, and more recently vaccinated people still proven to be both carrier and transmitter of the virus). The final nail in the coffin being country-sized experiments like israel, showing no sign of any kind of victory over the epidemic.

What surprise me most is the slow rate at which government adjust their strategy.. As an example, my country (france) still is deep in its "vaccine pass" controversial measure, splitting the country in half, and the government seems to show no sign of hesitation or even doubts whether it really is the best thing to do... They're running this strategy based on 6-months old assertions, and half the population doesn't seem to notice it.
There is: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

It seems that the submitter hasn't applied it
HN's capacity for intellectual dishonesty knows no bounds. That's a dishonest attempt to bankrupt the term "single-pass compiler", and remove its value to communicate something meaningful. By that token, the Amsterdam Compiler Kit, notable for being an example of the classic multi-pass compilation strategy, is apparently not a multi-pass compiler at all! It's just a bunch of single-pass compilers.

https://en.wikipedia.org/wiki/One-pass_compiler

"a one-pass compiler is a compiler that passes through the parts of each compilation unit only once, immediately translating each part into its final machine code"

Even if you want to raise the "That's just Wikipedia! Anyone can edit it!" argument, rational thought is still not on your side.

Unlike a program that has been compiled into object code, there is no value in a program that has been compiled into assembly except to run it through an assembler and turn it into a binary. The only accurate description for this would be a two-pass compiler (not single-pass). The assembly is an intermediate representation, and the "compiler" is the union of the language frontend that outputs assembly + the assembler itself. (It does not matter that the assembler runs in a separate process and is developed independently.)
Fwiw, I was commenting on the use of “apropos” versus “appropriate”.

I will let you look up those words, but apropos is frequently misused on HN.
Would not this depend on what you are trying to be a genius in? Outside of the disaster areas, political stuff probably does not matter, but your field progress might.

> If you’re in Afghanistan, you probably wouldn’t miss what’s going on.

In this particular instance you certainly could miss something important in time. The chances to escape there probably dropped rapidly.
Yes, because one thing is true as shown by scientific evidence and the other is not.

It is really really important that public policy is based on scientific and other sorts of evidence. This is why the initial refusal of the CDC to back masks was so bad—it wasn't based on the evidence.
I'd hand-coded a "top-n" utility in awk some time back.

I think my first iteration used bubble sort. That was still faster than a sort | head script, by a lot.

(I think I later improved on that, possibly by retaining min/max records.)

Even in awk, and even when choosing large values for n (e.g., thousand or tens of thousands of records), this easily beat the sort utility in cpu time, wall-clock time, and memory usage, for many millions of input records.

(Most of my coding tends to be hackish and brutish. Algorithms are not my strong suit.)
I'm trying to get myself to use debuggers more often, but I find that just modifying the code to print stuff, then inspecting the result, allows me to better figure out what went wrong. Say I have a small sample data set where I expect a loop to run three times, but it runs four times. It's really easy to see in the printout, but counting the steps in the debugger is tedious.
A vim user might be interested in using vimspector [1], which implements a debugger adapter protocol (DAP) client for (neo)?vim. It's actively developed.

Leveraging DAP lets you have a uniform interface for debugging in multiple languages. (DAP is a sister protocol to the Language Server Protocol which abstracts IDEs from debugger services)

[1] https://github.com/puremourning/vimspector
I did my undergrad at Cal and worked in a research lab Fernando worked in as well.

I remember some of the postdocs were very nice and approachable. Others were very pretentious and cold.

One thing the other undergrads and myself would always talk about was how nice Fernando was. He knew everyone’s name, would take the time to give advice, casually chat, etc. - overall a great person.

Off topic: A big takeaway from working there was that those who accomplished the most were often the nicest. We’d have Nobel laureates come to and from the lab fairly often. They always seemed very grounded and passionate. The rudest people were overwhelmingly the ‘important’ bureaucrats and admin, with the occasional postdoc trying to make a name for themself.

tl;dr Fernando Pérez is an awesome person all around.
I'm not going to be travelling around the world with my cousins who live 1000+ miles away, but it is nice to see when they happen to visit someplace I've been, etc.

My Mom and Dad called my Grandparents and my Uncle fairly often when I was a kid, it's my understanding that my Mom keeps up the tradition now that it's only Her and her Step Brother left.

I use FaceBook to keep in touch with my cousins. We've only met a few times in person, so there's nothing to short circuit either way. Especially with Epidemic round 2 coming this winter.
A price of freedom of speech is some child porn, just as a price of gun freedom is some school shootings. Both can be greatly reduced at the cost of some freedoms. As they have been in China.
Placing copyright notices on things you don't have a copyright on amounts to making a false claim that they are not only copyrightable but that you own the copyright, hoping to intimidate other people out of exercising their legal rights. Lying in order to intimidate people, particularly to intimidate them into paying you, is not only dishonest but contemptible. It's no different from the mugger who says he owns the Golden Gate Bridge and demands $10 from you to cross it.

The GNU foundation, whatever its failings, does not have a policy of claiming copyright on blank lines.
2D games had so many tricks that they often looked better than their 3D replacements for quite some time. If you were able to do every pixel by hand for a few views you often ended up with more detail than you could in the low amount of polygons available early on.
Depends for what purpose. High level code? Never, just printf, or some form of dynamic tracing.

Low level code? All the time, and only at assembly level (even if I am debugging C).
My counterpoints would be e.g. QNX and vxWorks, famous embedded OSes, both being active in the 90s (roots go to the 80s, but in both cases afaik they really came into being and found a market in the 90s). Plenty 90s embedded hardware with x86 CPUs in it.

What's probably different today is that you have more options also on MCUs (not just assembly and maybe C), because MCUs have grown.
That example is essentially the most basic use of generics. There are much more complex examples that would support your argument better.

What do you find confusing about that code?
Any resources you recommend for someone who is interested in learning about recursive descent?
My account is now older than a decade so I guess I'm an OG here. (crazy) There's definitely been a big shift over the years. But, I feel like this is just the general state of the world right now.

The entire industry back then was so much more optimistic.

Personally, I only browser: https://news.ycombinator.com/classic
>Q: Does rg3d use ECS?

>A: No. It uses generational pools (arenas) which are optimized for efficient memory management to retain more static type safety.

So do you plan to support it anyways?
> and then I have to carry my arm over my body to get to the Mute/UnMute

Interesting, is there any reason you didn't just use your left hand for the Mute/UnMute? Was it too uncomfortable with your non-dominant untrained hand? Or did we not do a good job of communicating that the gestures work on both sides?
> a price of gun freedom is some school shootings

Every European is reading this and shaking their head...
Coyote (concurrency exploration tool for .NET programs) can be used to do something "similar". My team often writes tests which set up focused concurrency between different APIs, the tests use Coyote to explore different ways that concurrency can unfold and write a strong set of assertions and invariants that must be true at the end. It's not TLA+ but it's still quite effective, very teachable as developers are already familiar with writing C# tests and helps catch safety and liveness bugs in our actual code base (as opposed to a model of it). It's not the same, by design, and does a decent job at finding concurrency and distributed system bugs.
I have another take to this.

Twitter is currently being sued (and has lost a motion to dismiss) over the distribution of sexual exploitation material of minors.

https://endsexualexploitation.org/articles/court-ruling-twit...

I think apple may realize that if this wins, or even goes to discovery, the bigger companies are next. Apple with deep pockets, if they know this kind of stuff is distributed on their platform, may have done some math on their extent of their liability even from a bad press perspective and decided to try to cut it.

Sadly this still doesn't change the idea of scanning client devices (Rather than iphoto or icloud) is a big crossing of boundaries, and setting up this mechanism opens it up for exploitation by intelligence agencies via security letters etc in the future.
I rely only on print debugging purely due to lack of investment in my tooling, both by myself and my work environment.

The thing is, it always just works. I don't need to think about it. I write code in 5+ languages fairly regularly, with some frameworks that have really weird... "support" for dev tools.

But maybe I am just a bad developer with bad excuses. If anyone has been in my shoes and seen the light, would love to hear how you manage jumping in to multiple different languages and keeping a consistent debugging experience (or, at least, more consistent than print).
All attempts at uncovering the truth will lead to error and mistakes.

The difference is that the honest:

- Are aware of this.

- Own their mistakes.

- Correct them.

- And don't use the incidental occurrence of error as a blanket method of discrediting others.

Bullshit wrapped in a veneer of truth sells far more readily than the unadulterated variety. All the better if there's only one specific bullshit point that's being injected --- why go through the risk and trouble of fabulating more than is absolutely necessary.
The invocation of 30 images like it's a barrier confuses me. I created a bunch of preimages posted on github, I could easily create 30 or 3000 but at this point all I'd be doing is helping apple cover up their bad hash algorithm[1].

I pointed out above that the attacker could use legal pornography images selected to make it look like child porn. This isn't hard. Doing it 30 times is no particular challenge. I didn't use pornographic images in the examples I created out of good taste, not because it would be any harder.

[1] I've made a statement that I won't be posting any more preimages for now for that reason: https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX/issue...
Hawking radiation would contain any- and everything consistent with the no-hair theorem [1]. Particle decays are much more constrained; deviations from the decay signatures of known ones is how you (hope to) find new physics. Or black holes [2].

[1] https://en.wikipedia.org/wiki/No-hair_theorem

[2] https://arxiv.org/abs/1012.3375
Have you published this makefile somewhere? I’d love to take a look at it.
Sounds accurate to me. I come here because the MSM is garbage but most of the commenters are narcissists with egos the size of planets
It isn't about who lies more, it is about who is in a trusted position.
Yes, it's from Epic Games Inc. v. Apple Inc[1]. The quote was taken directly from a message sent on page 17 of this document[1].

[1] https://embed.documentcloud.org/documents/21044004-2020-febr...
Humankind – Progress Report and Mac Version Postponed
How? The planned economic system of USSR means that wartime production is a net economic loss serving no financial purpose. In contrast with the capitalist system, where war serves as a basis for the transfer of capital to the war profiteers, i.e. the national bourgeoisie. The comparison is invalid.
can confirm, am unsuccesful
Stackoverflow people are frequently and abundantly "wrong" as far as emotional intelligence and empathy goes.

Sometimes a simple question needs a simple answer and not treatise or "canonical" answer.
Ahh "former" and "latter" - for people that like to use these terms, just repeat the damn word.

I find the use of these terms does the reader a disservice by giving them additional cognitive load.

You typically end up having to go back and read whatever was written again.
How does that entire article not mention Theo Gray's 1988 Mathematica notebooks as the motivation?

Citation: https://en.wikipedia.org/wiki/Wolfram_Mathematica
Arches are tricky. The undergraduate way to model arch bridges is as three hinged structures - free to rotate at both ends and with a virtual "pin" in the middle, in order to make the math tractable.
That's the kind of approximation that goes into mathematical models.
Oh, well if Apple says... I'm sure their statement somehow completely aligns with all the potentially conflicting interpretations one can draw from their PR, their stated objectives, and the implementation details observed, and it always will - forever.
I too thought all that until rescued a dog. They do need a lot of attention though.
PRAGMA doesnt enable you to incrementally adopt the feature.
The US government has something approaching a 100x return on R&D investment in the US economy…
Works for me but interested why DNS doesn’t seem to resolve for others. I guess some DNS servers don’t recognise addresses assigned directly to a TLD?
In addition to privacy as a fundamental principle, we also need "separation of powers" as a fundamental democratic governance principle.

Once these systems are deployed, how can we guarantee ongoing transparency of policy debates and citizen-tax-representative governance and admin/config/security changes?

Without ongoing feedback loops that evaluate systems against explicit democratic principles, there is risk of network effects where early policy choices become difficult or impossible to change after many parties have implemented local systems. In that scenario, early system design could become a far-reaching target for lobbyists and techno-regulatory capture.
You don't have to imagine it. Side affects are tracked by the CDC.
Valgrind or -fsanitize=address/undefined usually do the trick. The usual printf is fine otherwise. I read somewhere that a generic PRINT macro is in the works for the next C standard. Might be of use
I've come around to almost the opposite approach.

I pull all of the data I can get my hands on (from Twitter, GitHub, Swarm, Apple Health, Pocket, Apple Photos and more) into SQLite database tables that match the schema of the system that they are imported from. I call this family of scripts Dogsheep - https://dogsheep.github.io/

For my own personal Dogsheep (https://simonwillison.net/2020/Nov/14/personal-data-warehous...) that's 119 tables right now.

Then I use SQL queries against those tables to extract and combine data in ways that are useful to me.

If the schema of the systems I am importing from changes, I can update my queries to compensate for the change.

This protects me from having to solve for a standard schema up front - I take whatever those systems give me. But it lets me combine and search across all of the data from disparate systems essentially at runtime.

I even have a search engine for this, which is populated by SQL queries against the different source tables. You can see an example of how that works at https://github.com/simonw/datasette.io/blob/main/templates/d... - which powers the search interface at https://datasette.io/-/beta
Tesla was founded 18 years ago…
Lumber as a commodity is almost back to pre-pandemic levels.

https://www.nasdaq.com/market-activity/commodities/lbs
Americans got it right. Germans are, on the other hand, happy to work for a penny as you can see from the numbers below:

Average salary in San-Francisco for developers: $175.036

Average salary in Germany for developers: 61.176 Euro

That's 2.5 times more than in Germany. Please also note that many products like gas, electricity, laptops, smartphones are cheaper in the US, despite much higher salaries.
One disadvantage is that inspecting the column datatype will no longer hint to the application whether the column contains a date.
Ask HN: What screen time does your kid get?
Let's face it: if you have kids, they're getting screen time. What do they watch or play? What do you do to make it a positive way to spend time?

I'm especially interested in five or six year olds, since that's how old my oldest is, but all ages are welcome.

I'm asking HN because I like you fine folk and anticipate getting some good ideas here.
In DuckDuckGo, you could use the !hn bang (which takes you to hn's Algolia search page).
Yes, that is true, but forests are limited in capacity by the fraction of earth's surface they cover. Fossil fuels represent hundreds of millions of years of accumulated growth. Against that even a thousand-year-old forest is minimal.
Deniser – Amiga Denise chip replacement
> But at least no boss that I've worked for has ever sold my first edition Dungeons & Dragons manuals at a fucking garage sale.

I expect that’s due to lack of opportunity rather than any superiority. I think if I left or got fired from a job and left behind D&D manuals, the company would definitely sell or surplus them.
I think they are coming at this from the view that because iMessage was one of the first actual E2E encrypted products, showing the pic to the parent (after picture has reached end user device and been decrypted and is ready to display) should require consent. Ie, the encryption has been "broken".

That said - I don't find it very compelling. Parent paid for device. Parent is responsible for child. Parent should be allowed to control device (including setting a kids account instead of adult which trigger this etc). So I want to preserve MY right to both the device and to take care of my child. EFF seems to be focusing oddly on the rights of someone who DIDN'T pay for device.
Plus the lightning has that killer frunk- tesla can’t compete on its tailgatability
Everyone in the world except maybe the USA. I read it and just.. facepalm.
Chrome is the most popular browser in the world, driving people to Google's ads.
The Jetbrains editors (IntelliJ, Webstorm, etc.) all have tremendous debugger support, which I use.
> The good news is that among Israel's serious infections on Thursday of this week, according to Health Ministry data, the rate of serious cases among unvaccinated people over age 60 (178.7 per 100,000) was nine times more than the rate among fully vaccinated people of the same age category, and the rate of serious cases among unvaccinated people in the under-60 crowd (3.2 per 100,000) was a little more than double the rate among vaccinated people in that age bracket.
The person I was replying to didn't talk about highways. They talked about car-dependence and the death of the pedestrian-first street. That happened with car drivers killing people and scaring the rest into yielding the street, and government then formalizing that to avoid literal deaths. That is to say, the market decided that cars went first and fuck everyone else.

Highways were not the first roads where cars drove out people. The first roads where that happens were just city roads when cars started proliferating.

It's almost like the private, selfish choices of people can lead to negative outcomes for all of society.
May I know why is that?
When you're talking about source code, I don't think anyone is going to get away with "I thought the author died more than 70 years ago".
Does it end thus for you? In that case, indeed, something is wrong; help needs to be sought.

I'd wager it is an extreme case, however. Most people don't seem to be consumed by consuming social media days or weeks on end without remit.
Not me, but if they only review after a flag, that's best you can do I think? facebook works this way too. Users flag photos and someone looks and deals with them.
If any creative work is copyrighted by default (and ignorance of the law is not an excuse) then surely all use of a creative work without a license is willful infringement?
Crossing Cognitive Chasms With P-prims (2018)
This is from the Swiss Policy Research group, previously Swiss Propaganda Research.

Their financial backing, contributors and members are unknown and they have previously been responsible for spreading covid misinformation and also qanon nonsense.

Probably worth giving this 'research a miss'.