skysight-inc/HackerNews huggingface dataset:
Yeah also schema-first here. I think this is the “easy vs simple” debate all over again.

Writing code first schema is very easy, but when you start _using_ that api as part of a greater system is where the approach starts falling short.

Schema first allows for great communication between teams - one team requires changes to an api service, they can hash it out with the api, and then go back and implement both the client _and_ server simultaneously.

The great benefit here is the inevitable back-and forth can be done together, as each side might need to adjust the api while they are implementing the client/server as often happens with engineering efforts. And thats a lot easier to do while each side is working on it rather than the usual one side is “done” and moves to another task and needs to go back and modify.

In fact at the time I built quite a nice system of generating typescript types for both client and server - https://github.com/ivank/laminar

I guess because the project tried to introduce strong typing and fp style to node http servers plus a few other ideas stolen from here and there, it tried to do too much and never really got traction.
Then I guess the value comes with the privacy and human-friendliness, then :)
Two years before I moved out of NYC I swore off the subway entirely in favor of walking, busses and ubers.
> But what is Apple and Google's special proprietary sauce then?

There isn't any. Many banks across the world offer their own HCE wallets, but these only run on Android (Apple simply doesn't offer the necessary APIs, although that's now changing in the EU).

What does matter a lot are defaults: You can only have one default Visa, Mastercard etc. wallet per device (that you don't need to specifically need to open before tapping your phone), so Google Pay has a huge advantage there, since it supports cards by many banks and not just one as would be the case for an issuer HCE wallet.

> However, I'm sometimes under the impression that Apple/Google take on the role of a payment gateway or a payment method themselves.

They don't. They're involved in mediating the initial setup of a new card on a given device, but aren't part of the actual transaction flow at all (at the POS, in any case).

> Moreover, I noticed that some merchants refuse my payment when I use e.g. Google Pay with my Amex instead of my MasterCard.

The underlying card brand still needs to be accepted by the merchant. Unlike e.g. early Google Pay (or what it was called back then; I lost track) and some other solutions, modern-day Google Pay and Apple Pay aren't "proxy cards" (which can sometimes change the card brand, e.g. from Visa to Mastercard; an example of that would be Curve).

> it also seems payment terminals at the grocery store needed special support for the Apple/Google Pay apps.

They don't. Unless a given POS terminal is buggy, it'll work anywhere that otherwise accepts the underlying card scheme. The physical and logical protocols are exactly the same as for actual plastic cards and mostly indistinguishable to the terminal; actually breaking Apple Pay/Google Pay support needs a lot of destructive energy on the merchant's/PSP's side.

On the web it's a different story; explicit support by both the store website and payment service provider is needed there.
> Maybe the NYC traffic is bad enough that you're never going a dangerous speed?

Inside Manhattan this is almost certainly true. In a modern car you're going to walk away from almost all crashes under about 40 mph.
I’ve never struggled with being on the right thread. It’s always main to update UI. Grand dispatch makes this trivial, and the recent actors work also extends this. I’m also not sure how this is SwiftUI specific as UIKit and most other UI frameworks are the same. What are the growing pains here?
Interesting how until recently people in their early 20s were perfectly capable of raising children, but today they’re not.
Golfball size hail storms happen all the time around Dallas. I'd say baseball size hail is unusual. Only 1-3 storms a year around the metrolplex. And grapefruit size hail is rare (thankfully! One hit the suburb next to me a few years ago and hailstones penetrated people's roof, went through the drywall into their house!)
Try reading the book Seeing like a State
Modern airliners are drastically more fuel-efficient than planes like the 707. Fuel efficiency is often what drives a new design. The 757 I worked on came about because of a 35% more efficient engine design. The MAX came about because (drum roll) 15% more fuel efficient engines. These make for enormous operational cost savings.
I mean, sure, that's obviously the way the MTA wants you to look at this; and indeed the congestion pricing funds are restricted to be used on the capital budget.

But that's meaningless; since capital funding from the congestion pricing lockbox will just displace debt issuance, so it's effectively just taking pressure off the operating budget, which is where the current federal funding is going.
Saving the rest of us from climate deniers is authoritarianism? It sounds like self preservation to me. We’re just insisting on folks stop ruining the ecosystem the rest of us must survive in. There’s nowhere else for us to go once this one is ruined.

~1.8M voters over the age of 55 age out every year in the US, so while the argument may be tired, older folks won’t have to hear it for long (and change, while constant and inevitable, can be hard to accept).
Don't some people turn off randomization so that their router can assign a fixed internal IP address?
“Many” is hyperbole, “Some” is more fair and his results stood up or the replication crisis better than most of his contemporaries.
There is always the lucky 10k.
I didn't say half the city, I said half the island. Nearly 2 million people commute into Manhattan to work.
If by some people you mean a small proportion of a small community like Hacker News then yes.
While I philosophically agree with you, you're using a lot of words to describe what you felt but not what you actually agreed to.

What you consented to is an ever changing EULA that says something new every few months.

The "pretext" was that you thought you owned what you were posting but in reality you agreed that you didn't.

You don't sign a contract to put up fliers in public. You thought you were posting on the public commons but you were leaving your posts on someone's property after they warned you they were going to use them for whatever they wanted.

I personally hate this reality and scorn and avoid the cloud and SaaS as much as I can in my personal life. I deleted my accounts everywhere, and deleted all my content everywhere. Corporate cloud is shitty now.

We need free, open, peer to peer, opt in, civilian run network infrastructure like yesterday.
In Rust, let-else patterns don't allow this, but match guards (used in `match` expressions and the `matches!` macro) can do something like this.

while matches!(iterator.next(), Some((a, b)) if a + 1 == b) {
println!("Hello!");
}

However, using the bound values in an expression is a little harder.

while match iterator.next() {
Some((a, b)) if a + 1 == b => {
println!("{a}, {b}");
true
},
_ => false
} {}

Since this is a well-formed transformation, it should theoretically be possible to implement this as a macro without changing the language.
Ah I see why you'd want realtime interaction. In earlier versions there used to be voice chat, so when the learner-and-teacher happen to both be free, you'd talk in real-time. It was removed to focus on the async video aspect, but hearing what you said puts that back in my radar...

When you mention "good prompts", is that in the context of AI, or with asking questions in general? Is it easy/hard to create good prompts from your past experience?

As for Linear Algebra, I noticed you didn't sign up - did something change your mind? Feel free to be brutally honest as it helps me make real progress! If it's easier, feel free to call +1 503 250 3868 (Tokyo time zone), or email eltonlin@alum.mit.edu anytime!
I suspect there are more than just one combination of frontend and backend for Apple/Google Pay depending on how you're paying, masked behind that act of you presenting the device and store presenting the reader.

So I think there can be cases where "payments" (or promises thereof) can be made, while money withdrawn from banks notwithstanding, e.g. queued in an intermediary entity and manually resolved on request, in which cases the payment gateway might want to pattern detect and shut down such cases.
Link to a past post of mine with flickr links to my old NeXT stuff for people interested.

I reeeeeaallly want to get another one again.

https://news.ycombinator.com/item?id=35865933

Oh, here is a screenshot of my NeXT loading gmail:

https://www.flickr.com/photos/helfer/3947037084/in/photolist...

Dated 2009. So I think I was actually using it till 2010.
Only if you completely ignore the fact that Apple wouldn't have continued to exist, let alone the iTunes Store and the iPhone coming to exist, if it weren't for Steve Jobs saving the company in the 90s by prioritizing the customer experience above all else, and help making said products come to fruition in the first place. All of Apple's success stems from that. There would be no iTunes or iPhone customers to charge without, you know... iTunes or the iPhone, or if Apple had gone bankrupt. In other words, Apple would have never have grown to be so successful in the first place, if it never had made a good product in the first place.

Steve Jobs himself was vocal about this: https://www.youtube.com/watch?v=tGKsbt5wii0
It does indeed, but the cost is an object allocation for every function call.
This has been happening for literal years now.
It serves the purpose of redirecting public funds into a private company's coffer.

> collecting data from prople's phones ... and then sharing that information with the town

By "sharing" I assume they mean "selling". The question to ask is who in the city approved this and what is their relationship with Soofa?
Maybe to follow users during a single discrete trip through the space?
First-ever open source AI wearable device
I mean there will be a delay of many years before the fixes actually happen, if that's even what the financing would go towards.
And as I've discussed with you elsewhere-- I feel like most of that criticism is spot on.

Computers in education are great for:

* Education on how to use computing or programming (... though when I teach these subjects, I do a whole lot of it offline)

* Independent research (though you'd better stand at the back of the classroom and monitor what's going on very closely... and do this sparingly).

* Occasional rapid feedback through a Kahoot about how much your class understands a given set of subject matter.

* Letting students write and revise a paper quickly now and then

* Occasional individualized practice through something like Khan.

On the other hand, they're greatly overused even today. Instructors do things like:

* Use a Kahoot every class to convey key learning material, which results in a disorganized, flash-card experience.

* Perform enough of the work on computers that plagiarism and academic integrity become a huge concern.

* Displace valuable classroom practice performing labs or doing arithmetic with inferior virtual eqiuvalents.

* Allow students (without any type of learning or physical disability which would necessitate this) to take notes online, which under the best of circumstances is demonstrably inferior to paper note-taking for retention and also invites massive amounts of abuse.

I feel like the case was similar in the 1990s: there was little evidence of benefit. There was less of the online abuse of computing, but there was still a lot of abuse and misuse.
Right, you did/do the work for her. That's why Apple grew to be successful, and Linux isn't for everybody.
> in chinese culture for example the young couple moves in with the husbands parents, and so grandparents are always around to give advice and help

That's a common mode. Another common mode in Chinese culture is that the young couple lives separately from their parents, and the child is raised by the grandparents, rarely seeing its parents.
The Bill of Rights applies to state and local governments. The Supreme Court has been pretty clear about that:

https://en.wikipedia.org/wiki/Incorporation_of_the_Bill_of_R...
How many .ex files in code base?
Right, it’s less about economic class, more about cultural values.
To a first approximation GDP is what households consume (and household consumption is kind of the point of GDP).

How will AI increase aggregate household income explosively? Creating a few more billionaires is just measurement noise, not even visible in the trend line.
Whenever that kind if thing happens, a wizard did it.
The FAA mandates that exits be distributed "as uniformly as practical" and requires certain numbers and types of exit according to the number of passengers [0] Also, at max capacity all passengers and crew must be able to evacuate in 90 seconds [1].

So, your cargo experience might have regulatory trouble. The "as uniformly as possible" might allow for a blended wing design though, provided you could get everyone out fast enough. There might be some other relevant regulations that I've missed as well.

[0] - https://www.law.cornell.edu/cfr/text/14/25.807

[1] - https://www.law.cornell.edu/cfr/text/14/25.803
I think you missed what I was saying. Talking about other countries isn't really relevant here. This is about what's going on within Ukraine. Starlink is not active in Russia, for example.
Elon Musk says Tesla Optimus robot should cost less than half of a car
Shame to see you so downvoted. The spoiled rich fucks on this board have absolutely no idea just how inaccessible or poorly accessible most of the outer boroughs are and think that a 2-3hr commute (oh those perfectly-running subway lines!) is a perfectly reasonable alternative to paying $5000/mo for a studio.

They're also tripping over themselves to kick every rent stabilized (and statistically-insignificant rent controlled) renter to the invisible corners of the city where their less career-blessed asses belong.
They just didn't know any better.
The whole idea that everyone has to have children is frankly asinine.
I want people to have fewer children.
I want fewer people to have children.
I want nobody to have more than two children.

The whole idea that population must grow and keep growing is silly.
It is ok for the population to shrink a little.
\_(-_-)_/ good luck with that
If the problem is crypto, leave crypto out of the resume and say that you became a monk or took up sailing or volunteered overseas or something during that time and see if it helps.
I think a lot of these “20s” lessons and better emotional regulation you learn before the child is old enough to remember, i.e. by your late twenties.

Although, I think going through that learning process + raising a baby + recently newly wed is a contributing factor to divorce.
Over time, you're going to make money in the stock market. (That says nothing at all about individual stocks.)

Over time, you're going to lose money gambling. (That says nothing at all about what the next roll of the dice will be.) This is why casinos prosper.

Of course, if the US gets into nukular combat toe-to-toe with the Russkies, your stocks will likely vaporize to zero. But you'll be vaporized as well, so it's a risk not worth worrying about.

Less extreme, if the US goes hard into socialism, the stock market is not going to prosper. But your other investments won't prosper, either, so again that risk is not worth worrying about.
I’ve had a similar thought about marriage, late marriage means you forgo the likelihood for big wedding anniversaries.
Was already posted: https://news.ycombinator.com/item?id=39834558
How about "software engineering". Does that count. :)
It would be nice if the children on both sides weren't involved or they were allowed to get out and the world could have cut off both countries completely like a Bug's Bunny cartoon with a saw.

No money from the US or Iran would flow in until this thousand year religious war was figured out so we could all stop caring about a tiny piece of land that only matters because of religious text.
I’m in the know and the replication crisis created boosted my confidence in him because it wiped out half the field while merely discrediting a few of the chapters and studies in thinking fast and slow, most of which was discredited he cited from other researchers.

I did see a lot of charlatans in this thread fail to appreciate the broader context of the replication crisis and failed to appreciate how unscathed Kahneman was by it because he was being careful when his peers were not and long before people started judging him with the wisdom of perfect hindsight. Of course if they wrote such a book they would only express their ideas with timidity and never make a mistake.

I read his book alongside a guide as to what in his book could be ignored. I knew every damning word people said about the man before I read a word he said and left impressed.
When I want to get aquainted with a new language I like to do a couple of Cryptopals challenges: https://cryptopals.com/
There are two main things that should be kept in mind: the native word size, and the endianness.

Quite often a lot of the struct is empty space, ferinstance you might have a 4-byte word. and you only want a single byte. Some systems will 'waste' 3 bytes, such that the byte in the struct is always at the beginning of the native 4-byte word access. And whether or not that happens, instead of packing as many bytes as possible together in a single 4-byte word maybe will mainly depend on your compiler.

Maybe I'm just too lazy, but I don't get hung up any more on how a particular struct is laid out in RAM, or whether that layout is wasteful or not. I just set it out as it suits me, and let the software and hardware work out what goes where for the best convenience of the system.

Many years ago, when I needed every byte I could get, I might have squeezed in every last byte. Not today. Not when we blithely throw whole gigabytes about.

As a curiosity, it might be worth spending 30 minutes over, but that's about it.
Telephone Cables
>I learned a long time ago, that HN and YCombinator were never for me.

It's not you personally and don't take it too hard on yourself. A vast majority of people on this planet won't fit the "founder personality" and thus won't make it.

It's more interesting to bootstrap your own company and if push comes to shove you can look for incubators in your own city and apply for it.
More like desperation. The only real source of money online is ads sales. Nobody is making bank from putting ads on their site. They might be making enough for hosting.

Though I guess it could be described as greed on the part of the advertisers?
> Another way you can phrase that is that the lion share of the tax will be on wealthy people, so it's a progressive tax.

Thats not what a progressive tax means. I understand that you mean poor and middle income will drive less therefor pay less tax. But consider this: would it be a progressive tax if we had a 100% income tax rate on 0-$30,000? Same scenario - poor people would stop making anything therefore not pay taxes yet clearly this is a regressive, not progressive tax, right?
And by studied you mean come up with synthetic / theoretical models that are not verified against reality?

Ignoring actual tailpipe emissions and focusing on large PM10 particles like dust kicked up from the road is not a serious evaluation of the benefits of EVs vs combustion engines
A brief search came up with trains being around 15-20x safer than driving. As with many things it matters a lot how you count but it’s a pretty huge gap.
I've always wondered where the line is drawn for insider trading. What is material non-public Information?

Say you find easily calculable mathematical solutions that break the security of crypto and you dump all your coins because you know they'll be worthless once you publish your research/algorithm.

Is that insider trading? Or would you be in the clear because you derived your algorithm from already public information that everyone else already had too?

Does the time scale matter? If you solve, dump, wait a few years, then publish, is it no longer insider trading?
Nope. Draining the pool and filling it with more water is not an effective way of cleaning the pool. The pool ends up clean though so you can lead any study you want.

It's not effective. It's just prohibitive. Prohibiting people stops things, who would have guessed.
I wanted to reply to something @eastdakota said to you in that comment chain:

> If you do a ton of work to launch satellites to fly over Walmart parking lots and then model the correlation of how full they are to what the company’s next earnings will be: that seems like you worked hard and earned an edge you can trade on without getting in trouble.

> [..] if you made it your business to ride the Acela every day between Greenwich and NYC, bought special hearing aides that let you better eavesdrop on conversations, and made significant profits trading on the information then you’d be more likely to be successfully prosecuted.

Aren't those both the same?

> Feels like anyone has a theoretically equal opportunity to do the same work you did and get the same trading edge.

Feels the same here too.

Just some musings while reading that old thread.

(all quoted comments @eastdakota)
Very nice work and pretty interesting to see. The comparison for society at large is definitely difficult, but I'm not sure if there's a better one than what you've come up with.
Talking Hot Dog gives new meaning to 'Ham radio'
Iron Bank: Hardened Containers for the DoD
$600 for parking is maybe if you work on the northern end of Midtown and higher.

I've seen rate quotes in Chelsea/West Village (which is where you'd be parking if you work at say Google or any Disney subsidiary) anywhere from $1200-2200/mo.
This image is not from the JWST.
So a progressive tax that disproportionally hurts poor people?
Long-form factuality in large language models
A high school education doesn't go as far as it used to, women have more life paths that don't involve being a stay-at-home mom, houses are harder to come by, average age at first marriage is almost a decade higher than it was in the 50s ... notable, sure, but interesting, I dunno.
Yeah that article was really thin, and at a guess I'd say that the age of great-grandparents has probably been declining since at least around the 50s or 60s and we're certainly not at peak-great-grandparent. This article reads like a young Millennial thinking they're the first one in the world to not know their great grandparents.
In that usage the object (football) ends up in the state of spiralling. So the HN title would, strictly speaking, mean that the magnetic fields are causing the black hole to spiral, which isn't right.

It's probably sort of being mixed up with the transitive verb "to circle", which goes the other way, with the subject ending up in a state of circling.
I don't know anything about the Beagle. How is it different than say a Raspberry pi 5? It says open source hardware but what does that actually mean. I'm curious about buying one but I want to understand them better first
> I am skeptical there is a sizable amount of low-income people that were driving into lower Manhattan on a daily basis.

The low income were already hurt and now its middle income.
It's Deepseek, not Deepseed, just so people can actually find the model.
https://archive.is/hI6B3#selection-331.1-331.53
One of many examples that prove neither disprove nothing.

Also it is a very general and banal point - obviously reading is a good thing. You don't have to become a CEO to realize that :)
I don't understand
how it is possible for Israel to "end this once and for all".
Israel has lost a lot of support here in the US.

The "war" is terrible optics.
Starving children is terrible optics.
How long can it expect people like me to defend Israel I don't know.

What is the goal here?
How can we "win" in Gaza?