skysight-inc/HackerNews huggingface dataset:
I had an annoying bug a couple of weeks ago. I had an array of ongoing events, and an array of time windows (roughly, quarters or years). I wanted to generate the cross-product of events and windows, evaluate some metric for each combination, and total the metric per time window. So, i wrote a pair of nested loops over the two arrays, calculated the metric in the inner loop, and accumulated it into a third array with a slot per time window.

Except i had called the loop variables i and j, forgot which way round i had nested the loops, and used the index into the event array to select a slot in the accumulation array. I was baffled as to why my results were completely wrong, but totalled to the right amount!

Once i realised what i had done, i renamed the loop variables to eventIdx and windowIdx. This is far better.
In his defense the title is "why" not "how". I guess you'll have to spend some sleepless nights waiting for the follow-up.
Man, I remember I had a crappy Celeron because we were dirt-poor. At some point I finally bought a Voodoo 3, popped it in, and fired up Tomb Raider. I was blown away. The game went from pixelated chop-o-rama to smooth and gorgeous (in those days). I could even play combat simulators like European Air War. Good Times.
So they are closing all 4 stores in San Francisco. Makes sense given how downtown where all 4 were has turned into a ghost town, and the generalized lawlessness and pillage with impunity by shoplifters can't have helped.
To illustrate that there are many people in this world who do not have many transportation options. People should not make blanket statements about how people should opt for "green" or more safe options when there are lots of people out there for whom there are no such alternatives. Trains are great, but only where they are available. The transportation revolution has to accommodate everyone, not just those in conveniently dense cities.
This is why I sometimes let support tickets “mature” sometimes ;)
> He spoke of the potential for functional languages to provide a significant, intrinsic advantage when it comes to parallel computing.

> (...)

> If that were true, you'd expect that the many existing functional programming languages would have already satisfied this need. But in my opinion, they haven't

Well there is https://futhark-lang.org/ - it runs on the GPU, and is awesome.

On the CPU side, I think that Rust plus https://github.com/rayon-rs/rayon was a huge breakthrough on writing parallel programs using both functional and imperative programming, and future languages should learn from its successes. The ownership system & the borrow checker, plus other type-level features like the Send and Sync traits, were essential to enable sharing read-only data between threads without synchronization, or sharing read-write data with synchronization, all checked at compile time for data races (which is a huge problem to solve, and is something that neither Go nor Java protects against at compile time)

Indeed Futhark shares a key feature with Rust: it uses uniqueness types to enable in-place updates, which is kind like a limited form of Rust ownership: if you are the sole user of some memory, you can update it and other code will be none the wiser. This kind of thing is very important to build functional programs that are performant in practice.
It's hard to say what's going on here since we haven't seen code or config, but from what I can tell, this almost certainly has nothing to do with JSON rendering and everything to do with network positioning.

The app in question apparently makes 250 API calls to the HN API:

https://twitter.com/ericlewis/status/1632397105179287552

The "benchmark" is measuring latency of the whole thing:

https://twitter.com/ericlewis/status/1632395158938345473

What's almost certainly happening here is Fly is running the app closer to the API server, whereas Cloudflare runs the Worker in the closest datacenter to the client. Normally running close to the end user is great, but when the app makes tons of API requests, it's not great.

This turns out to be something we're actively working to improve in Workers.

(I'm the tech lead for Cloudflare Workers.)
>I don’t get where the statement “rich kids don’t test well” actually comes from, and it wasn’t just made up to argue a point.

When I read what you said and thought the same thing. I then looked up what the author wrote:

Rich kids who “don’t test well.”

He's just saying if you have a kid that doesn't test well (I am one of those) and happen to be wealthy, the rich have options that poor kids don't. He isn't saying rich kids don't tend to test well.

I'm not sure that premise is 100% accurate either. My parents were teachers and we didn't have extravagant lives, but my parents knew the value of an education and forced me to do test prep 6 days a week the summer after my Junior year. I ended up improving my scores and getting into a good state university and subsequently have a good career 25+ years and still going strong.

I think edge case success (students that don't test well) boils down more to parents giving a shit than anything else. It's not easy, that's for sure, even if you are moderately wealthy.
GPA and extracurriculars are so much easier to game than standardized tests, it's not even close. Moreover, this is what all the research on the topic suggests.
Misplaced fears of an ‘evil’ ChatGPT obscure the real harm being done
In Greece the railway might be minimal but at the same time it is very deadly.
Such a missed opportunity, the project itself could have had a name like AIGeneratedJavaClassNameFactoryImplementation.
Protecting privacy online begins with tackling ‘digital resignation’
Metal and DirectX12 (if I’m remembering my version numbers correctly) are very very similar to Vulkan so I’m not really sure what point you’re trying to make.
that fixed header takes up 21% of my viewport height. why do people do this?
shrimp_emoji says:>"He is shocked that about 47% of black Americans polled allegedly responded to the question "Is it okay to be white?" with either "Not sure" or "No" (roughly split down the middle of the 47%)."<

teddyh says: >"OK, now explain how this is “unhinged racism”<

Is 47% not "unhinged racism"? What about 44% as referred to in the movie "Ship of Fools", set in 1933 pre-WWII on a German passenger boat. Lowenthal is a Jew and Glocken a dwarf - groups later purged by the Nazis:

Glocken: Fifty percent of the people who produced a Goethe, a Beethoven, and a Bach voted for Rieber's [Nazi] party last week!

Lowenthal: [grumbles disagreed] Forty-four percent.

Glocken: Lowenthal, you are blind; you're absolutely blind! You can't see what's going on in front of your own face.

Lowenthal: What do you mean? Ah, you mean this business about the Jews? You don't understand us. The German-Jew is something special. We are Germans first and Jews second. We have done so much for Germany; Germany has done so much for us. A little patience, a little good will; it works itself out. [scoffs endearingly]
Huh, listen, there are nearly a million Jews in Germany. What are they going to do? Kill all of us?

See the whole context at the "quotes" section at https://www.imdb.com/title/tt0059712/quotes/?ref_=tt_trv_qu\...
Is it supposed to be enjoyable now??
> First we should stop repeating that the private education system is better than the public education system.

I look to the private sector because I wondering if perhaps something could be done easier in it rather than in the public ed sector. Education in the US runs on federalism so every state does things differently trying to innovate is hard because it's a bureaucracy that isn't wholly consistent even within states.

> For what a good education system looks like, one should look at the Scandinavian countries, more specifically Finland

Comparing success in Finland or other Scandinavian countries isn't fair, those countries have populations not even larger than some of the cities here in the U.S. Ranking U.S states by population Finland wouldn't even break top 20. What works for them doesn't directly translate to working for us.

> If the system does not recruit the best and then not provide them with the prestige in the society then the system erodes over time.

But I do strongly agree with getting the best teachers possible by making the pool more competitive and not somewhere those who couldn't do anything more with their life go.

You'd solve this also by just paying teachers more obviously because you'd start competing with professions with people who have a greater potential to be great teachers. Paying teachers more though is obviously really hard in p.ed. because it be Tax payers money and people have drastically different views on where there money should be going and if any should be directed toward teachers.

I'm not trying to say that the big solution is completely move Education into the private sector I'm just saying that possibly the most optimal solution doesn't fully exist in public ed.
Seems like he's talking about parallelism rather than concurrency? Erlang does the latter pretty well, but I'm not sure it's that great for "I have a lot of processing to do and I want the language to help parallelize it", especially since it's also not the fastest thing out there.
> Hopefully it gets extended beyond April.

Very unlikely, it was explicitly meant to only be a transition ticket until the thing which now became the 49€ ticket is ready. In a certain way it was a (expensive) publicity stunt of the local government.

Through for very low income people there is a separate even cheaper ticket, through only Berlin AB.

There is no way they will permanently reduce the price of the VBB Ticket below that of the 49€ ticket AFIK.

Ironically the reason the 49€ ticket is a thing and cost 49€ and not more is because they assume most people don't travel Germany too much and will buy the ticket from their local transportation provider and in turn the "use where vs. bought where" ratio will somewhat average out to a point where with a bit sampling when checking for tickets you can fairly handle the resource allocation (through then it not being a free market but a state subvention-ed one plays a big role, too).
I wouldn't describe my opinions as strong, but I have a pretty big preference for the simplicity of Scheme.
Why is naming your product after a place that evokes characteristics you’d like to emphasize a lie?

It sounds like you’d like to ban marketing.
Why do you say I have no consistency? I’m not making judgments. I’m simply pointing out that there is ample inequality of opportunity.
I also bike to work when the weather allows it. The trip by bike takes slightly longer than the one by bus.
One has several layers of checks and balances in there from unrelated sections of government as a part of a legitimate function of any government in the world.

The original post however implied that it was a sinister thing that could just be done on a whim which is objectively not at all how it works in reality.
Haha. I had the exact same misconception!
I don't think he's arguing that the existing functional languages can't take advantage of all cores, it sounds like he believes that the existing functional languages cannot reach mainstream adoption because of fundamental flaws that he hopes to address:

> My conclusion is that there are major, well-justified reasons for why people strongly dislike functional languages. The hypothesis I aim to test with a new programming language is: By making different tradeoffs, these issues can be mitigated and a more broadly-appealing functional language can be built. With such a language, I hope that the true promise of functional programming for parallel computing can be widely realized.
> There's virtually no such thing as ringers taking tests.

It happens more than you might think, but only because you don't have the money or desire to use such a service.

https://www.miamiherald.com/news/nation-world/national/artic...

There have been many scandals, relatively recently. This was just one of many many links that are very easy to find.
Theodore Ts'o on how he uses Git when working on Linux (2017)
The OP[1] wants the best of git-merge and git-rebase: to be able to
rewrite history as well as to have a new “replaces” pointer which points
back to the commit before the rebase happened (basically).

> I've been calling this proposal `git replay` or `git replace` but I'd
like to hear other suggestions for what to name it. It works like
rebase except with one very important difference. Instead of orphaning
the original commit, it keeps a pointer to it in the commit just like
a `parent` entry but calls it `replaces` instead to distinguish it
from regular history. In the resulting commit history, following
`parent` pointers shows exactly the same history as if the commit had
been rebased. Meanwhile, the history of iterating on the change itself
is available by following `replaces` pointers. The new commit replaces
the old one but keeps it around to record how the change evolved.

Ts'o thinks[1] that this is too simplistic, citing some workflows that he
has experience with from working on Linux. He says that they use
metadata in the form of key-value pairs in the commit messages in order
to track cherry-picks across trees, how to test the commit, and even the
fact that a commit has been dropped in the current tree.[3]

> My experience, from seeing these much more complex use cases ---
starting with something as simple as the Linux Kernel Stable Kernel
Series, and extending to something much more complex such as the
workflow that is used to support a Google Kernel Rebase, is that using
just a simple extra "Replaces" pointer in the commit header is not
nearly expressive enough. And, if you make it a core part of the
commit data structure, there are all sorts of compatibility headaches
with older versions of git that wouldn't know about it. And if it
then turns out it's not sufficient more the more complex workflows
anyway, maybe adding a new "replace" pointer in the core git data
structures isn't worth it. It might be that just keeping such things
as trailers in the commit body might be the better way to go

[1] https://lore.kernel.org/git/CALiLy7pBvyqA+NjTZHOK9t0AFGYbwqw...

[2] Submission link

[3] How? By making an “empty commit” (I presume: a commit which doesn’t
change the tree) and adding the “dropped” metadata to the commit
message.
In the UC system, Asians are the only over-represented group, specifically because they are higher achieving on average.

Any effective equity based admissions system will have a similar effect as UC’s old (edit: offensively racist) Asian quotas.
Tell me what you observed because you're dead wrong. You're a foreigner and treated as such, your interpretations are likely through a filtered lens. I'm not.

Perhaps you know you're wrong and you're trying to save face?

When you look at Chinese people "saving face", when you look at the Chinese government "saving face" keep in mind that sometimes you're looking at a mirror. We're not that different. I think you mistook a popular Chinese idiom for some Chinese cultural quirk.
> Standardized tests are much easier to prep for than GPA and extracurriculars

And that makes them perfect for poor kids who don't have much time or money, they can easily get similar levels of test prep as rich kid with little effort. GPA or extracurriculars however, no chance, those are much more dependent on home environment and wealth.
> Standardized tests are much easier to prep for than GPA and extracurriculars

All the data shows the exact opposite. Also, it's pretty obvious this is false if you spend 10 seconds thinking about it.

You're forced to give the test yourself. Whereas you can easily hire a tutor to read over and "check" (i.e. rewrite) your school essays/homework.

Rich kids can also easily get internships/research experience while in HS due to family connections.
And yet the app _is_ needed at these stores. Perhaps he was confused and thought he was at a Kohl’s, a store that doesn’t need the app.
Wouldn't any metric be gamed? Why single out income for criticism? At least favoring lower income is going directly at the problem.
Guoliang Tunnel
Recently Neil deGrasse Tyson mentioned plumbing as the career that comes to mind that will not be immediately taken over by AI.

At least we will have 2 choices now. Plumbing and OnlyFans.
With negative real interest rates they DO lose purchasing power and I think they thought about such risk. But making China a production powerhouse and technology transfer associated with it was a much more important goal.
@injb thanks for pointing this out. The article is indeed misleading. Its recommendations are legally inaccurate.
It’s 400€ or more for fuel alone, plus maintenance, distance-based-depreciation, and parking.
https://twitter.com/haxor/status/1582878447134572544?s=20

Looks like the syntax is taking shape at least.
You seem to have missed the point of my prior post, and you misunderstand how legacy admissions work. Dropping the rhetorical nuke of "systemic racism" doesn't cover for that. Read my prior post again.

Legacy gets one looked at. Its not an automatic admission.

Unlesss you are simply stating that legacy admissions should be disqualified (this would be ridiculous), then also consider that:

you may be making the "research" error of uncontrolled variables that include the fact that legacy kids are likely to be smart, their parents are astute enough to track them in a manner that makes them better candidates on average, and that their parents are more aware of the process that they can relate to the child.

Al leading to a statistically significant rate of legacy admissions that has nothing at all to do with unfairness.
From what I've read of Amazon Go's technology, literally every square inch of ceiling in them is occupied by some piece of technology to implement the cashierless checkout.
Unfortunately for Chinese businessmen this also applies to many of them, not directly, but through shared Communist party membership.

https://daily.jstor.org/communist-party-of-china/

> Regulations require that all state-owned enterprises and private companies operate party branches, and even some foreign-owned companies like Walmart have them. Internally, the organization can serve as a fertile networking ground. And for entrepreneurs, party membership often brings better relations with local government officials.
"Elite colleges are eliminating standardized tests before they eliminate legacy admissions. Tells you all you need to know."
Thanks for unlocking a memory for me. I used to drool over that hardware, not even for the specs but just how cool it looked. I'm sure it's prohibitively expensive but maybe I'll find a good deal on ebay.

Edit: found this company that retrofits them into a NAS and I'm really tempted to get one: https://mycherrytree.com/products/cherrynas-cobalt-qube
This is off topic, but do you find it difficult seeing this friend the same way while knowing that they and their father gamed the system like that? If I learned this about somebody I knew it would seriously hurt their image in my eyes.
Eigengrau Is the Dark Gray Colour That Most People See in the Absence of Light
I mean, I agree with you; it’s incomprehensible to me someone would go there without an app or at least their device logged into the Amazon website.

…but, let’s be charitable and say some has lost their phone or whatever; it’s not totally unreasonable to expect some kind of special process for it.

…turns out, there was a special process for it. Without a receipt. Oh well…

/shrug

Some people are just weird about it. Live and let live I say.

Lesson learnt I hope: next time, I hope they go somewhere else and let other people get on with their perfectly mundane shopping.

Just wait until they have facial recognition stores, and you’ll find people complaining they couldn’t get in while wearing high powered IR leds all over their heads. You just can’t win in some of these arguments.
There are certain things that China appears to be the leader in, in particular LFP / Sodium Ion batteries (CATL / Gotion).

It will be interesting to see if the US decides to do to China for those that CHina did to the US for practically ... everything. Essentially take the technology from them with "partnerships" (you see CATL proposing and building factories in EU and US now) that will effectively onshore whatever advantages they have there.
You say that you have nothing to do with an animal that you encounter in the wild. That’s just hubris.

Why is it hubris?

they will be locked in competition for resources

What are you actually talking about?

The singularity won’t erase the concept of scarcity or evolution.

You have no idea what it will do, no one does, know one even knows if it will happen for sure...maybe such an entity will love you like you love your parents and decide you're self-preservation is important? No one has a single clue, but it's no good to only speculate we will understand it's motives like it's a biological creature who loves self-preservation and be some kind of robotic human entity who mines coal or something to to build a time machine...

I'd say it's pretty obvious the more intelligent humans become the more morally aware we're becoming and the more we value conservation. This thing could be a hippy or a mass murderer...maybe it will throw us in a simulator and we'll never know it exists...
People are so obsessed with being right that they’re unwilling to be wrong. It undercuts your whole vision.
Parsing YAML in PostgreSQL with PLV8
> It just sets legal precedence that corporations can assert arbitrary censorship through third parties by claiming copyright infringement.

This is already the case though. Copyright monopolists already can DMCA anything out of existence. Their accusations are assumed to be true based on "good faith" and other people are required to bend over backwards to take content down. Nobody is going to spend time and money fighting bullshit claims, they're just going to comply and move on. Which means these monopolists have de facto censorship powers.

Sony in particular is very well known for abusing the legal system and their wealth to drive competitors out of business. They can afford to burn the money of their enemies by forcing them to fight frivolous lawsuits. If I remember right, they destroyed two commercial PlayStation emulators with bullshit lawsuits where they lost in court but won in the market.
That’s a completely misleading title then.
> The point is you can't just give preference based on income as its incredibly easy to fudge.

Okay, well this is the US.

Your tax returns are a very good indication of how much money you make.

If you lie on your tax returns then you have much bigger issues than college admissions counselors.
Short answer, because I am bored.
He's going for apple/iphone style of drip feed product announcements to build excitement

Look at us salivating for his big unveil -- we've probably already written more than he did
Thanks for confirming you need to login into Amazon in some form to do this
It was the most easiest to do I might add other sign up/login options later.
What? I think you have the wrong kind of standardized test in mind. Bad standardized tests written by politicians are easy to prepare for. Often by design, since they are supposed to measure "what you have learned", rather than how smart you are.

The SAT is an IQ test.
Yandex has started filtering out independent news about the war while he still was the CEO. He wouldn't have been sanctioned if he resigned when Yandex received that request.
yes Germany is NOT leading the push to make public transportation more affordable and easier to use

through they did jump on/followed the push and it get's more international press attention, probably due to the not always correct image people have about the German train network, and because it having one of the larger train networks in the EU