skysight-inc/HackerNews huggingface dataset:
I'm one of the rare idiots who wrote a consumer-faced python+Qt program. I need to ship the right dependencies along with the right version of python to my customers.

Using Pyinstaller it works out in the end, but after everything, it would have been better to use a language meant for user-facing applications.
Maybe not "a few decades" out (though, who knows?) but I'd really hope medicine will at some point be able to offer less traumatic and more effective options than reassignment surgery. Same with people with missing limbs, disfiguration, body image issues. There shouldn't be any fundamental obstacle in having things grow into other shapes and forms or just grow back, though the engineering challenges are probably enormous and brutal.
What possible issue could you have with a package manager that just installs a program? It's the least problematic thing I work with every single day. PEBKAC
I'm sympathetic to this point of view. But then there is 25 yrs of stdlib that's tattooed onto people's brains and stackoverflow.

A pure python implementation of python stdlib ready be transpiled could be that bridge.

Also it's possible to support multiple source syntaxes in such an ecosystem. ML based, python based or even a hybrid. In the end all I need is a well documented AST.
Even with perfect information about the past/present, there is still uncertainty which can be insured against. Current models are nowhere near precise enough, and probably will never get there (self-driving cars will replace the need for insurance at the individual driver level before we have perfect models of driving risk)
Ask HN: How did you learn to mute your inner monologue and speed read?
I have always been a slow reader. I subvocalise everything, which makes dialogue fun but progress slow. Now I feel like picking up the pace, but I struggle with the strategy. Apparently I should use my finger or other pointing instrument to guide my eyes over the words at a pace higher than I can vocalise or comprehend.

Does that actually work to eventually cure your subvocalisation? And how long does it take?
And are you supposed to read entire books like this, without comprehending them, or should I re-read each chapter again?

I am currently re-reading Adler Mortimer's How to Read a Book, but, so far I only found one paragraph on the subject of speed which amounts to the above follow-the-finger strategy.
> You'll need cache invalidation when content changes

Or you can use Vercel's stale-while-revalidate which will update the cache periodically while (temporarily) serving stale responses.
Io_uring is not an event system
Yeah, I don’t mind it. Realistically I need almost nothing but yet I buy a lot of things. Probably got “tricked” a few times but don’t particularly care.
Very cool! makes me wonder what the Pi can do with all that data being stuffed into it; I had no idea there was any chance of that much I/O to them.
The 100 megaton example was for a deflection of an asteroid for which we have 18 months of warning.

With much larger asteroids we could have significantly more warning time, and so the distance that asteroid would have to be deflected could be much smaller to have it eventually miss the Earth.

Other dynamics would probably come in to play too, such as the gravity of other planets in the solar system. Depending on where the asteroid was, where it would be passing through, its mass and velocity, and how much time we had to deflect it, I think even something as large as that might be deflectable.

Also if significant funding and attention was given to this problem, and people realized that the existence of life on Earth depended on it, I'm sure there'd be a lot of innovation, resulting in all sorts of other ideas and technologies that we haven't thought of yet.

It's premature to throw up our hands and give up on preventing this incredibly dire threat without giving it a much more serious try than we've done so far.
New Hampshire doesn’t require car insurance. https://www.thehartford.com/aarp/car-insurance/new-hampshire...
> One of the secondary reasons I've avoided Oculus is that it is a closed system; you can only buy from a single provider

I buy most of my Oculus games on Steam, not the oculus store. Half Life Alyx is a Valve game after all.
Bank make money
Insiders make money
Who buy the shares at IPO price most likely make money

All the rest take the risk
I was half-remembering what I found when researching Graal Nodejs

clearer, less-garbled version as an answer here: https://stackoverflow.com/a/67331258/202168
Why do you think python3 is not typesafe?
Yeah I mean, take California for example: they basically prohibits insurance telematics completely (these apps cannot operate on CA customers)
This is basically comical. Elected officials actively sabotaging something good that has helped the people that elected them. I'd love to sit down and have a conversation with politicians like this over coffee and just try to wade through their BS to see what their awful justifications are.
Actively destroying competition that has benefited the public? Cool moves guys.
So they just leave us hanging there, no analysis, no reasoning of the results...?
Well then, they are failing to fulfil their responsibilities.
That’s a good idea, thanks!

Deno is using the V8 engine, so is the performance expected to differ from Node?

Probably not but there’s one way to find out
I mean hell, English is Lingua Franca. How many people chatting about this on HN didn't actually have English as the first language? I certainly am not.

I visited Finland, Estonia, Sweden, Denmark and Norway in one go, and never felt that language was a barrier, because everyone can communicate via English.
Cyclomatic complexity is the most common code smell I've seen from experienced devs.

Callbacks everywhere. Confusing use of compositions - A is in B but also B is in A, making it impossible to reason about.
I think there is a deep appeal to the languages that have one clear simple abstraction of abstraction.

Lisp - everything is a function

Smalltalk - everything is an object passing messages to other objects

Forth - everything is a word operand operating on a stack

Prolog - everything is terms and relations
How We Built and Launched a Business Mobile App with Just an Idea
Out of curiosity, is using multiprocessing.Pool’s map/etc.() methods not an option? It’s a higher-level API which would remove the need to manually manage workers/a queue.
They can't conceive of anyone coming to a page from anywhere other than an internal recently generated page :(
No, it was at a petrol station. I think it was Esso.
US and EU researchers have been on parallel and competing tracks for a long time, ever since the days of Prolog and Lisp.
> You can't build large data structures (not arrays, but trees, graphs, etc) with structural sharing between threads.

You probably do not want to do that in the first place. The reason that the GIL still exists is that the overhead of fine-grained locking for Python datastructures would negate the speedup from multithreading.
> given the unprecedented feats that go on there, I really don't feel confident anyone in the West understands why.

Oh, we do.

1. Chinese society is extremely competitive and hard working, and that work is cheaper to harness due to 996 and similar trends. It's no wonder they have more man-years to spend on developing.

2. They could copy a lot of Western technology due to outsourcing, a trend that only being reconsidered as of a few years ago. Because of that, they have the baseline of production lines, IP, and expert/process engineering knowledge. If they know how to replicate tech, they know how to improve it.

3. Their society is less squeamish about surveillance tech. I will speculate that this is part of the reason why they are better at AI and telecommunications: these areas are ones you want to have a really good grip on if you want to control the population. In a related point, I think that their military may be why they have more expertise in building affordable drones, because that accumulated knowledge trickles down.

4. The Chinese government is free of humanitarian considerations. This enables them to harness resources that the West is not keen on touching for fear of condemnation.
I'm glad that DataFrames don't iterate by default. It's good design to make suboptimal features hard to access.
Run an embedded PostgreSQL database in Go application or test
Ask HN: What does your Python in Production stack look like?
The Market and the Macroeconomic Social Contract
Also still literal slavery, which is what American "private prisons" are.
While this is something I would never take on for a handful of reasons, this is extremely cool in concept and this would be an incredibly fun project to put together.
The question that had to be asked :D
First of all, with the current query string size, you can already send quite big queries (8kb), which should suffice for many use-cases. The introspection query, already quite huge for reference is 1kb.
For the ones who need more - splitting the values into `Vary` headers is an option to further increase it.
At some point - around 50kb there just is a hard limit.
If you then want to send an even bigger query - we have persisted queries on our roadmap. Then you'd just send a hash.
Square does support PIN entry: you just enter the PIN into the touchscreen of the mobile device. Square developed a way of securing the PIN that doesn't require dedicated hardware. (It's now a PCI security standard: "Software-based PIN Entry on COTS".)
What type of profit potential is there to doing this? Seems like good stable income, but I also see lots of downsides with literally not knowing how anything works (and not being an engineer). There would be an awful lot of new information to learn, so the profit potential would really need to be there.
How to... um no you don't you use APIs that have OAUTH type interactions for data sharing permissions with explicit user consent for everything. Just do it. It's the right thing, it's what people want, and it's a clean technical solution.
Metromile also runs a Boston office. Are they a competitor or higher up on the stack?
> Their achievements are not only built on theft of others' hard work, but on the backs of the oppressed people that have guns pointed at their heads.

https://en.wikipedia.org/wiki/Operation_Paperclip
Quantum physics can be represented and calculated by Turing machines. There are many ways to do this, depending on preference: via symbolic algebra, via probabilistic inference, via random/pseudorandom numbers, via non-deterministic functions, etc.

Note that quantum computers are no more powerful than Turing machines; although it's thought they might be faster at certain tasks. For example, we know how to factorise integers quickly using Shor's algorithm on a quantum computer, but we don't yet know a quick algorithm for factorising integers on a classical computers. We can still factorise integers on a classical computers: we can do it with a non-quantum algorithm, or we can even do it by emulating a quantum computer and using that emulator to run Shor's algorithm (in this case the emulation is so slow that it exactly cancels out the speedup from Shor's algorithm).

Backpropagation through time is also a pretty simple algorithm, which is already implemented on classical computers.
> ... Macs are incredibly expensive here because of import taxes

This sound like a great opportunity for the government to do some good.
"cryptocurrency security model" -> "hardware wallet security model".

Hardware wallets make no sense, they are about as secure as just using a third party custodian.
Colorado is expensive as anything to live in and is only getting more expensive. $18/hour is NOT a livable wage in Boulder. $35/hour is only 72k a year at full employment (unlikely as a contractor employee) and probably will not receive benefits. That is also not enough to live in Denver or Boulder with a family.

The jobs are out there AND DO NOT PAY ENOUGH TO LIVE IN THE AREAS THEY ARE IN.

And before some genius comes in and says "Well don't live in those expensive cities then", those expensive cities still want burgers and stocked store shelves and everything else, they just don't want to pay people enough to live off of.
Had no idea about this:

> CaribouLite utilizes the SMI (Secondary Memory Interface) present on all the 40-pin RPI versions. This interface is not thoroughly documented by both Raspberry-Pi documentation and Broadcomm's reference manuals. . . . The SMI interface allows exchanging up to ~500Mbit/s between the RPI and the HAT, and yet, the results vary between the different versions of RPI.

Way cool that the rpi has a high bandwidth interface! From the write-up, sounds like it's been quite the adventure from numerous parties to explore & make use of this capability. But oh how fruitful! Half a Gbit in some cases, sweet!
> profoundly ignorant and have no idea who/what they're voting for and lack the intellectual curiosity to figure it out.

This strikes me as unkind. It's true of some, surely. But people are just busy. The whole theory of representative democracy is that direct democracy is impractical, so we delegate most of the work to people who focus on governing. You also ignore the extent to which the average voter is energetically manipulated and actively discouraged from participation. In the 2020 election cycle alone, There was $14.4 billion in direct spending alone. That's ~$90 per voter.

If we want more people to engage, wishing for better humans won't get us anywhere. We should do just like we do for tech products: figure out how to make useful behaviors easier.
In Canada my wife was using https://www.helcim.com , they work with Elevon. Great service overall. We were paying an average of 1.9% for in-person chip and that was due to to all the reward cards and Amex. Interac debit (not visa debit) was 9 cents per transaction. Next day deposits as well.
live free or die
> The last thing they need is their insurer jacking their rates because they're ending too many trips in bad zip codes.

Wait, the 'data' is based on ending a trip in a bad zip code!?

Man, and I'm over here thinking they map all the drivers over time and place to see who is normally on the road with each other, then basing those factors on courteousness and abilities with ambiguity.
I mean.. are numbers words? Is a floating ! or - a word? Are hyphenated words 2 or 1? How about when a word is broken over two lines with a hyphen? Is ... a word? Is an unrecognized string a word? Does a figure caption count towards a word count? How about chapter titles? Or page numbers?
The way of presenting reminded me of this video:
https://www.youtube.com/watch?v=LO1mTELoj6o
(7 Ways to Maximize Misery) and also reminded me of the 10 commandments.
Exactly, that is what we provide. Including Etag support btw.
Supreme Court dismisses challenge to Affordable Care Act leaving it in place
As a technical manager, the most important thing I end up doing is snipping off complete re-writes or re-architectures in the bud.

I've also found that management is actually the greatest source of UI/UX reworks; once they've seen the pixel perfect mockups, management thinks that "the job is done" and they want to iterate ...
This... gets interesting.

From the Congressional Research Service ( https://en.wikipedia.org/wiki/Congressional_Research_Service ):

* The Legis­lative
Reorgan­ization Act of 1970 and other 1970s Sunshine Reforms - https://www.congressionalresearch.org/LRA.html

I'd point to the graphs (and the various dots below them - there are lots of graphs there).

The lack of accountability is a reaction to this (trying to protect the members / lobbyists who helped draft it) with the addition of the current polarization of the various parties in state and federal legislatures.
This is awesome. I've been looking forward to a Phoenix like framework in Gleam, and now I can totally see the same language being used on the frontend too.
Boring problems need to be solved too, but not by the author, apparently.
This is my impression of the whole GraphQL thing as well.

It solves some problems on the querying side (that not everyone has). OTOH implementing it server-side is a major pain unless you rely on third party stuff like Hasura or GraphCDN.

Personally I'll keep using REST as the default for the foreseeable future, and only use GraphQL when the problems it solves are more painful than the problems it introduces.
That would vary wildly by geographical location and whether it's some place that has no WISP at all right now, population density, competition, terrain and tree cover, number of houses, etc. I'm skeptical about the idea of starting a very small WISP right now, one could easily spend $40-50,000 on basic infrastructure for a small area and not be able to compete in nines of reliability/uptime and speeds with Starlink.
Half Life Alyx definitely lasted over 20 hours for me.
This country is fucked without proportional representation. There's no accountability without alternatives, and this prohibition isn't going to make Ohio Republicans vote Democrat. Only PR can make enough shades of alternatives to break out of local maxima.
That would be a major revolution to the foundations of computer science if it were true, disproving the Church-Turing thesis. It seems unlikely that such a fundamental, world-shattering result would be so obscure, so I am much more likely to believe it is false.
How could there be certainty? Even a good driver can skid on ice or get hit by an uninsured driver running a light.
They're announcing these in anticipation for Stripe Sessions, a two-week developer conference of sorts. [0]

[0] https://sessions.stripe.com/
For me it depends on where the link originated. If it's a 404 within your own site, that shows sloppiness that will make me question your ability to run a business. However, if I get a 404 on a link from an external site, I'll assume things have been reorganized and try to find the new location myself (while wondering why it was moved). Changing URIs without setting up forwarding is so common I wouldn't give it much thought.
MDM in Warsaw is fine - at least from outside, no idea how comfortable it is inside. But it is a regular city built for humans.

BTW I find the centres of some US cities with their very dense skyscrapers and always shadowed streets as much bad and distopian.
I mean, sure, but the opposite is also true:

Sometimes people make complicated incantations inside for loops (or worse, while loops) that could be replaced by simpler functional constructs. In these cases, map and friends are easier to read.

The problem here is not one construct or the other, but the fact some people are making code that is hard to understand. There's no one size fit all solution.
These super tests are dumb in any case. All it ends up measuring is who is most effective at cheating. The people that came up with this system probably wouldn't be able to pass it legitimately either.
Yeah, there are all sorts of layers we can add, especially regarding complexity (i.e. resource usage limits, rather than simple yes/no questions of decidability).

It's interesting to consider P = NP as a physical law, although that's certainly more tenuous than the Church-Turing thesis, etc.
It's all right. With great sarcasm comes great downvoteability and my comment was kind of sarcastic. Couldn't resist, again.
LVFS Skyrockets with More Than 100k Firmware Updates in One Day
>If the premiums approach being sufficiently fine grained as to account for individual risk then what's the purpose?

It doesn't matter if there is a purpose when so many states mandate that you buy the product anyway.
Those slaves in your link are building up Australia, not China.
Indeed, how could there? There is inherent uncertainty to the future which cannot be known, and thus there is risk which can be insured against
I'm from Argentina as well and I believe this attitude is exactly what's wrong when people critiqued this program.

Yes, we _know_ it's not going to fix a flawed education system. There's not a person in this entire country who has ever believed otherwise, and using it as a critique of the program has been nothing but a strawman.

We live a in a world where everything is done online. If the only objective this achieved is that kids are now familiar with a computer without having learned anything else, it's still fantastically successful. They know how to load a spreadsheet. They know basic UI paradigms that allow them to navigate crappy government or banking web pages. They come of age using social networks that they will be able to leverage for work and productive connections in the future.

The issue of connectivity is related but ultimately a distraction too, as a single poor wi-fi or 3G connection is still good for watching low-quality Youtube videos or reading tutorials.

It's a middle-of-the-road country with inadequate distribution of services. The resources devoted to this program can't be put to infrastructure. And imperfectly devised program where teachers can't use computers doesn't change the fact that computers are so damn useful that you don't depend on a teacher to learn how to use it, especially with naturally resourceful children.
Cantonese do not use jyutping per se. Let me qualify that statement.

Pinyin is taught in school alongside Mandarin in China [1]. Heck, when I learnt Mandarin as a kid in HK, pinyin was also used

Jyutping was certainly not taught in school, wasn't the case when I was a kid, and didn't seem to be the case when I worked in Hong Kong for a few years and hung out with kid cousins who's got school work.

Pinyin is the romanization of Mandarin. Jyutping is a romanization of Cantonese, one that's not adopted uniformly and consistently.

[1] https://www.quora.com/Is-Pinyin-taught-in-China-or-is-it-jus...
Probably not, no. It would just be interesting to see if the wrapper code makes a difference.

I actually started working on a benchmark suite for various runtimes a while ago. I didn't get too far in, maybe you'd like to collaborate?

As wasm grows it would be great to have a comprehensive set of benchmarks to refer to.

Especially also for things that are unique to Webassembly, like reference types, cross calls, module instantiation time, ...
I can only say I've been to a few cities here and there and nowhere did I feel as overwhelmed by the scale as in Moscow. Many of the cities remained not that high, London or Paris do not have such buildings in their city centers.
Oil’s value is not just economic, but military. If you don’t control a pretty large source of oil, you won’t win the war.
If a "normal person" did this we'd likely be screwed over for it under existing legal doctrine.

https://en.wikipedia.org/wiki/Eggshell_skull

I'm not asking for cops to be held to higher standards. Just equality under law. Either lower the bar for us or raise it for them, I don't care.

A higher bar would be nice. But equality under law would be a nice start.
Better yet is using wrappers for char arrays paired with helper functions:

typedef struct { unsigned char data[2]; } u16be_t;

inline static uint16_t get_u16be(const u16be_t *p) {
uint16_t result = 0;
result |= (uint16_t) p->data[0] << 8;
result |= (uint16_t) p->data[1];
return result;
}

inline static void put_u16be(u16be_t *p, uint16_t value) {
p->data[0] = value >> 8;
p->data[1] = value;
}

Perfectly portable (as long as CHAR_BIT = 8), type-safe, and on modern compilers it generates no overhead over direct memory accesses.
I'm not saying it's a weird exceptional case. I'm saying it's pretty normal and expected that you are able to buy ads when people search for competitors, why shouldn't you? I'd say that's the _least_ deceptive ad you could possibly buy.

If you buy ads for the search "best video app" then some people might think that the tiktok ad was an organic result. But if you buy an ad for the word "Spotify" then nobody will be "deceived".

I don't think ads should be allowed at all, in any context, in any medium, but if they are, then I don't see any reason to make competitor names off-limit.