skysight-inc/HackerNews huggingface dataset:
I recently had the displeasure of consulting a start-up whose pitch was a heavy technical infrastructure solution for other developers. I can't really give details, but their pitch felt to me like hearing about AWS in 2010... then I go into the nitty gritty of how they work. 0 engineering. Just rushed out non-fleshed ideas turned into one-line tickets and sent off to devs around the world without any instruction or guidance. Their employees were producing massive amounts of code, infrastructure, deployments etc.

Their concern was the low velocity which felt insane to me because velocity was huge but in an unfocused direction. I am scared of this new world where paper CEO think truly grand visions come to life by half-assing it and playing the part only to the surface level; like I get it if that's your thing, mooning a company and exiting, it's just so hypocritical to act like you believe in the mission statement when you can't even verbalize it, let alone push it forward.

I am hopeful for a new wave of Venture Capitalism with a focus on fundamentals and truly hard problems that are not going to bring in a 3000% ROI in 2 - 3 week-long sprints.
YMMV but when I was writing the rocksdb native binding into nodejs, I saw that any asynchronous operations setup in the C++ would be dispatched to separate threads. Didn't explore further though. It was built into the NAPI bindings.
> feeding my anger and fear until they are no longer angry gods but instead, benevolent beings who help me to contextualize my reality

I’ve been reading “Body keeps the score”, and one of the concepts that came up is pretty much this.

Instead of rejecting the self that is “bad” (“I’m always critical and I hate it”), objectively acknowledge that part of self(“There is a part of me that is a critic”). Then, accept/thank that part has been doing that for a reason (“My critical self is trying to stop me from getting hurt”).

Just like you, I’ve found it helpful to looking inward and “thanking” them for protecting me. But gently telling them that it’s not needed anymore.
Definitely. i was hoping it was clear that i am not arguing against the rationale.
>Generally speaking, for a server, boot time is not a factor. Nobody needs their physical server to boot and be ready in 5 seconds... so it's never been a priority. Stability and integrity are much more important in this arena.

Standard compute isn't the use case. Intel offers Slim Bootloader for systems that require very fast booting.. as close to "instant on" as you can get. An example would be a collision avoidance system in vehicles. Safety critical systems that require the ability to recover quickly.
I’ll have to go back! I remember loving that series as a kid. Thanks!
The Protein Titin
Not sure about the cultural dig at the English (that was probably very context-dependent and an in-joke for Germans/German speakers). But in general, Nietzsche probably meant something like "Man strives for power" by which he might have meant something more like self-expression that raw physical or political power.

I would personally say that most people strive for meaning (as in, living a meaningful life) even if they think they are striving for "happiness", which to me comes off as a very shallow and hedonistic aim.
Well, isn't this comment thread the very definition of survivorship bias
Nice!
This implies cutting the old page to a stub and pasting the new one onto it, doesn'it?
> Nobody said we weren't in a recession following that

https://www.cnbc.com/2022/07/29/white-house-goes-on-offense-...

https://en.wikipedia.org/wiki/Gaslighting
> "Software freedom" fighters should understand that things happen based on some user base need.

I wish that were true. However, I think the movie Tron (1982) sums this up very nicely.

From the movie Tron:

> Dr. Walter Gibbs: That MCP, that's half our problem right there.

> Ed Dillinger: The MCP is the most efficient way of handling what we do! I can't sit here and worry about every little user request that comes in!

> Dr. Walter Gibbs: User requests are what computers are for!

> Ed Dillinger: Doing our business is what computers are for.

We are now moving toward a world where all computers have a "MCP". No, it is not to solve user problems, it is to do the business of the corporations that designed it.
> Massively reduced cheating in online multiplayer games is something many gamers could appreciate (unless they cheat).

I have a rooted Android phone and I had to spend effort spoofing attestation in order to even launch some of my games which don't even have multiplayer. Allow me to be the one to tell you that I do not appreciate it.

I don't even care enough to cheat at these games but if I wanted to cheat it would be merely an exercise of my computer freedom which nobody has any business denying.
> the gamut "depth" is dependent on the component values (like lightness and chroma)

This is an unavoidable bug (feature?) of human vision and computer displays.

Using models like "HSL" or "HSV" is a way of trying to sweep it under the rug, but it doesn’t really work very well and ends up causing a lot more trouble.
On a side note: Bernoulli was born in my home town Groningen (NL). Brilliant mathematician.
Not GP but attempting an answer.

It really depends on the perspective you're looking at the situation from. If you're concerned with better competitive advantages and the final bottom line for company X or Y, in this current market, in the short term, sure, that sounds amazing, sign me up on that moon rocket!

If your concern is a bit more hard to quantify, for example maximizing human potential, allowing individuals access to high quality technological infrastructure so that we may develop as a species and reach new heights, then you might feel like this approach is a bit short sighted.
Another element of the GPS story is the profound impact of the US flipping a veritable switch and turning off Selective Availability in 2000 (https://www.gps.gov/systems/gps/modernization/sa/), taking accuracy from perhaps 50m to a couple of meters.
Much of the historical information in this article comes from the September 1909 issue of Modern Electrics magazine in an article called "Harnessing Sunlight." The HathiTrust has a public scan of it here:

https://babel.hathitrust.org/cgi/pt?id=mdp.39015051407073&vi...
> If citizens believe that others accept the labeling of regular news sources as fake, their view that their fellow citizens are unable to distinguish real news from fake news is exacerbated.

And yet, this is precisely what actually happened. The regular news pushed false narratives and came to false conclusions several times in the past few years, and people believed it. Many continue to do so, because they didn't go back to read the corrections and retractions, for those agencies that had the integrity to make them. The distrust was earned, but the people are blamed?

I wonder what the alternative verbiage should be, with the reality that "regular" news agencies aren't somehow immune from pushing a false narrative or conclusion. The day that we can't criticize "regular" news agencies, all owned by 6 for profit corporations, is the days that democracy is truly dead!

1. https://www.businessinsider.com/these-6-corporations-control...
I don't think it needs to be fully open source.
Its fine if its even kernel + blobs too.

Since I have choose to use CalyxOS/any privacy focused ROM, I have been locked to pixels, because all the others have some crap in the system that devs don't want to deal with.
Unix was created by two rogue engineers as a side project at a time AT&T were operating under a 1956 US DoJ consent decree which forbad the firm from entering into the computer market. (There was no independent software market as such.) AT&T Unix as a commercial product did not become a possibility until after the 1983 break-up settlement, which lifted that restriction. But at the time of Unix's creation, there was absolutely no possible route to commercialisation, which is a chief reason the operating system was freely distributed (for cost of media, in most cases), often with the note "Love, from Ken" (Thompson).

System V appeared shortly after, as well as a set of legal disputes known as "the Unix Wars" beginning around 1988, most especially against BSDi (1-800-ITS-UNIX).

On January 14, 1949, the government filed an action in the District Court for the District of New Jersey against the Western Electric Company, Inc.[3] and the American Telephone and Telegraph Company, Inc. (Civil Action No. 17-49).[4] The complaint alleged that the defendants had monopolized and conspired to restrain trade in the manufacture, distribution, sale, and installation of telephones, telephone apparatus, equipment, materials, and supplies, in violation 136136 of sections 1, 2, and 3 of the Sherman Act, 15 U.S.C. §§ 1, 2, and 3.[5] The relief sought included the divestiture by AT & T of its stock ownership in Western Electric; termination of exclusive relationships between AT & T and Western Electric; divestiture by Western Electric of its fifty percent interest in Bell Telephone Laboratories;[6] separation of telephone manufacturing from the provision of telephone service; and the compulsory licensing of patents owned by AT & T on a non-discriminatory basis.*

https://scholar.google.com/scholar_case?q=United+States+v.+A...

http://www.cybertelecom.org/notes/att1949.htm

https://en.wikipedia.org/wiki/History_of_Unix#1970s
What are you, Justin Trudeau?
There are book binders that will do one offs, and the binding will probably be better than the original if you get it sowed & glued correctly!
Prior thread, https://news.ycombinator.com/item?id=32234561

> On-premise, open-source, customer-owned remote attestation servers are possible. Avoid outsourcing integrity verification to 3rd-party clouds.

With owner-operated OSS MDM & attestation servers, PCs can have diverse, owner-customized OS and configs, reducing monoculture binary blobs.
It wasn’t just one man either. I don’t know of a more famous family of mathematicians.
Sorry your experience with it sucked - but that's simply not what it's like writing PHP today in a modern framework. It is literally a joy to work with for thousands upon thousands of people (and not just the newbies).
> Get the government to ban CPU vendors from implementing hardware-rooted remote attestation?

Get the government to regulate the corporations requiring it. Classify any attestation requirement as discrimination or something. They're excluding people without good reason.
We've gone from open Windows and Linux PCs where you could install anything to walled gardens everywhere.

We need to bring the giants down to a level playing field and stop this nonsense.
If you squint at it right you could say C works that way: you have many processes each with their own heap and they can pass messages, but if they want larger data that's too expensive to pass around you can use shared memory.
Windows* and Linux, not Android and Linux.
Yep, close -- it's where an edge can connect more than 2 nodes

Two things to make this way more intuitive & practical:

* Modeling: We use them for helping folks correlate across events, or correlating across wide database rows. Ex: Finding bots & fraudsters in your signup events or accounts table . A signup event might have the same weird User Agent, same weird IP, same weird domain name, etc: its good to see events connected across multiple such things! So any time you have an event or a wide row, you can think of it as a hyperedge connecting (correlating) the multiple entities involved.

* Visualizing: It's typically weird visually to draw an edge connecting more than 2 nodes, so most people don't. Instead, sometimes, our users want to see a correlation event as an explicit node in a graph. SO there's a natural bipartite graph from events to entities, like "(signup)-> (user agent)" + "(signup)->(ip)" + ... . But other times its annoying, so they rather just see "(ip:node)<-[signup:edge]-->(useragent:node)". Interestingly, for really wide data, having an explicit "hypernode" (event node) does increase the number of nodes... but significantly decreases the number of edges b/c avoids drawing really big connected components. Formally, add |events| nodes, vs multiply edges by |number of columns|^2 .

If you want to play with it, try "graphistry.hypergraph(pd.read_csv('http://blah.csv'))['graph'].plot()" in http://github.com/graphistry/pygraphistry (or just to get the ._nodes and ._edges dataframes out)

Nowdays, we also do a lot with embedding arbitrary data and exploring similarity graphs that way (use k-nn for inferring similarity edges), so not just across entity links but also say timestamps, $'s, and byte counts. Any dataset embedding can thus be thought of as a projection of the hypergraph, and supporting more interesting columns than just entity columns (categoricals). So in the above example, `graphistry.nodes(pd.read_csv('http://blah.csv')).umap().plot()` and we'll infer the `._edges`. All the nodes in an embedding view are essentially hypernodes, and instead of connecting them to entity/attribute nodes... project those out, and just connect the hypernodes to one another. This gives a very different way to think about stuff like explainability of AI :)
You see when an oil sultan and a pension fund start to cozy up together…

You get a bunch of tech startups.

Did I miss something in the origin story?
I was not making a market-based argument, as the preferences of other buyers is irrelevant. That Having purchased the hardware, that I wish to run software is the only justification required.

This is not something that is amenable to market-based solutions, as the market contains bad actors pushing for infringement of my ability to run software.
That explains why there is no change in time to interactivity. Thanks.
“Speed of C++, simplicity of Python, coroutine model of Go.”

Is there a speed comparison to Go?
> What does it take for a person to defect and actively work to destroy their homelands political power?

Surely a number of potential scenarios impossible for us to grasp right now. Living conditions? Mental health issues? Personal vengeance? Profit? Trickery? Who knows what else.
Look, I can sometimes be pretty quick to bemoan the state of modern web dev. I don't do it enough these days to be able to keep up with the current trend. So once or twice a year when I get the itch I inevitably spend more time than I should screaming about having to learn React's latest way to do some new thing, or that everyone has switched from npm to yarn and back again, or... there's always something. Lots of somethings.

The discourse on HN whenever this topic comes up is tiresome though and not at all to the level you'd expect on most topics from this audience. It's the unfiltered dumping of that emotional reaction I outlined above.

You know what? You can still build things the old way! Nobody has taken that away. It still works exactly as you'd expect. Do a bunch of HTML, lay it all out using tables, do inline styling. Host it on an Apache server. It'll be fine.

To think these were the glory days of dev though just washes away the fact that it was "good enough" for the subset of people that were lucky enough to have access to the internet back then. who were probably only a hop or two away from an academic backbone that was servicing them. Who, if you were in a relatively remote part of the planet like myself, would likely have a caching proxy server in there to improve the performance because most universities being able to cache the content of a huge part of the internet was a totally feasible undertaking back then.

But now half the planet is connected. With huge variance in the speed and latency on which they connect, huge variance in the types of devices they're using, incredibly distributed relative to where the content is served, and with entirely new expectations for the type of content they want and the way they expect to interact with it.

Sure, modern dev has lots of room for a simpler devex. Read through the OP though and you'll see it's because there has been a shift to prioritize the experience of the end users above that of the developers. That's what those list of features are for. You're still free to ignore it and build stuff the old way, just accept whose needs you're putting first in the process.
Rookie mistake...oh wait you surprisingly have 10000+ karma?!
Case 3.: You don’t “want” the constraints of Case 2, but are in practice forced into them due to a huge, poorly-educated developer base being incapable of writing correct refcounted code or even knowing what a weak pointer is.

When I worked at Facebook, which is structurally and politically incapable of building high-quality client software, I was on a small team of people tasked with making heroic technical fixes to keep the iOS app running despite literally hundreds of engineers working on the same binary incentivized to dump shoddy code to launch their product features that nobody would use as fast as possible (did you know that at one point you could order food through the Facebook app, and that a whole two digit number of people per day used this feature? Etc.)

Objective-C has ARC (automated reference counting) — every pointer is a refcounted strong reference by default unless special annotations are used. What makes it worse is that large, deep hierarchies are common, making reference cycles leaking huge amounts of memory easy to create.

For example, the view controller for a large and complicated page (referencing decoded bitmap images and other large objects) is the root of a large tree of sub-objects, some of whom want to keep a reference to the root. Now imagine the user navigates away and the reference to the view controller goes away, but nothing in the tree is deallocated due to the backlink — congratulations, you just leaked 10 MB of RAM!

It’s possible to do this correctly if you actually read the docs and understand what you’re doing, using tools like weak pointers, but when you have hundreds of developers, many of whom got their job either by transferring from an android team or by just memorizing pat answers to all the “Ninja” algorithms interview questions (practically all of which have leaked on Leetcode and various forums), you can be sure that enough of them will fail to do so to create major issues with OOMs.

To mitigate this, we created a “retain cycle detector” — basically a rudimentary tracing GC — that periodically traced the heap to detect these issues at runtime and phone home with a stack trace, which we would then automatically (based on git blame) triage to the offending team.

It was totally egregious undefined behavior, one thread tracing the heap with no synchronization with respect to the application threads that were mutating it, but the segfaults this UB caused were so much rarer than the crashes due to OOMs that it prevented that we decided to continue running it.
It’s not unreasonable to point out that a particular person has a controversial history on the topic:

https://quackwatch.org/11ind/a-skeptical-look-at-kelly-victo...

It’s much easier for someone who has literally made a career of it to keep making new claims faster than other people can debunk them. The Gish Gallop is real and the assumption of good faith shouldn’t outlast the signs that this is in fact not a good faith discussion.
Ask HN: Why hasn't anyone invented a converter for ORM/raw SQL?
Take Prisma. Very useful to autocomplete tables and column names. Catches mistakes early.

But my workflow generally goes like this: Write raw SQL in TablePlus to see what data comes back, then translate this raw SQL query into a Prisma query.

Why not have a converter convert raw sql queries into Prisma queries?

Another use case is as soon as any of my SQL queries get complicated (20+ lines), raw SQL becomes much easier to write. It'd be nice to automatically translate this to a Prisma query.
Most babies are unhappy the second they are born. Being both happy and unhappy is natural.
How to allow users to execute code on my SaaS product server-side?
As the title states, I'd like to allow my users to execute arbitrary code they write on our servers. Obviously, this has major security implications.

What would be the best approach as far as containerizing + sandboxing the execution runtime, such that they can execute code from various languages like Python, Node.js, etc. without something "escaping" into our EC2 instances for instance (pun intended)

Obviously, this has been done (many times) before, so I'm curious if any of you have experience with this sort of thing and the best implementation. Are there any libraries, frameworks, etc. out there already for something like this?
Good lord, I've had that wrong for ten years! Thanks for the correction. I think I was blending NAND into his name.
Java idioms are one contributing factor. There's some inherent wordiness too - for example, Hello World in Java is wordier than in most other programming languages.
I also have an experience with long hauling. I recovered over 14 months. But can’t be sure it’s a full one.

https://jondouglas.dev/long-covid/
> Let's say I'm a healthcare provider, and I'm about to send sensitive medical data to a third party vendor. Wouldn't you prefer that this data only be able to be decrypted by a computer that can prove to the world it booted a clean OS image with all the latest security patches installed?

I'd rather be able to access it without google or microsoft sticking their nose in.

I'd rather be able to combine it with my other data in whatever ways I see fit.

I'd rather be able to back it up in whatever way I see fit.

I'd rather be able to open it on a device that doesn't have a backdoor provided by the US government.

Because it's not microsoft'sor qualcomm's data, it's mine.
Pg_query maybe?

https://pganalyze.com/blog/pg-query-2-0-postgres-query-parse...

Scroll down to the section marked "Fingerprints in...".
I agree that real probable cause should be required, but if they do find something they're still not creating crimes out of thin air.
Is optimizing for happiness a worthy goal? Another approach is optimizing for having meaning in life. As humans we can’t escape some suffering in our lives, but doing it for something we consider meaningful makes the suffering more bearable. Man’s Search for Meaning by Viktor Frankl is a classic book on the topic.
There’s also the cooperative. Here in Switzerland they are rather popular - some of the biggest banks, insurances and property owners, and more notably, the two largest supermarket chains (making up >80% of food / non food market) are organised this way. Your customers could be part of the ownership structure of your company, which creates a strong loyalty effect and a focus on organic & vertical growth rather than growth just for the sake of beating quarterly numbers.
>What’s P&L?

I meant PL research as in programming language research. Not sure why my brain decided to put an & there.

>Does Java have verbose semantics? I think Java’s semantics are pretty neat and concise. Where’s the verbosity?

`FizzBuzzEnterpriseEdition` and is a meme for a reason. That said I'm sure Java idioms written today is a lot more sane than they were around the time everyone decided to rewrite everything in Ruby. When I say Java here, I'm talking about an era of Java that probably no longer exists (the JVM also doesn't have 10 second pauses today either and is widely considered the best garbage collector ever built).
It’s like they are either getting old and don’t like to keep up with modern web development but it’s easy to see this behavior elsewhere too.

Aversion towards new way of doing things where people feel like the old way was just working is too common and predictable sometimes. “Things work” using old way, but, does that mean that no optimizations are to be made? Optimizations further lead to reiteration of the way we do things.

Also, an individual can stick to their old way of doing things but to rant over the new way is just- tasteless.
Completely agree. How could such a thing be achieved?
This game doesn't make any sense. It needs instructions.