skysight-inc/HackerNews huggingface dataset:
People focus too much on the query aspect of an ORM. Even though you can still write raw query strings in an ORM if you want to.

Routes, form validation, REST API, templating (if you don't need react), auth, etc.

You'll probably wind up recreating a lot of ORM and surrounding functionality at lower quality
Lion web components is a good starting point for anyone who's interested in building a UI framework that comes with a lot of these accessibility features built-in.

https://lion-web.netlify.app/
You're welcome to use LLM's, but you need to be able to answer for every single line, every single construct, parameter and class before pushing it to production. That is your responsiblity as a developer.
If you only have 2 kB of code space, you would likely be doing custom routines in assembly that do exactly what you need and nothing more.
Already widely-available e-ink devices have been capable of far better than 1 Hz refresh for years. The idea that this isn't possible has entered into the Land of HN Tropes That Will Not Die.

I use an Onyx BOOX Max Lumi, now three years old, with locally-installed Termux (Linux environment for Android) and remote SSH fairly frequently. It can run highly-interactive text apps, with slight ghosting, and could probably handle an X11 display as well though I've not tried that.

Even at high-quality display, B&W e-ink offers 2--4 Hz refresh, and can offer ~16 Hz or better in "X-Mode" display. I won't pretend that's great video quality, but it is possible to view animations or videos using it.

For a now-several-years-old demo of what e-ink device capabilities are, with the fastest saved for last, see: <https://yewtu.be/watch?v=KdrMjnYAap4>

There are higher-refresh displays as well. This one advertises 60 Hz refresh and colour (it's not clear whether colour can drive at 60 Hz).

<https://www.tomshardware.com/monitors/new-open-source-high-r...>

<https://www.modos.tech/blog/modos-paper-monitor-pre-launch-o...>

Video demo: <https://yewtu.be/embed/pXn-bAwzNv4>

It's true that some colour displays currently run slower.

There's also an "e-paper" technology, based on LCD, which offers far higher refresh and AFAIU no ghosting.

(I've been using an e-ink tablet for the past 3+ years, and frankly love it.)
> somebody who is actually 'the most capable and most effective' will simply be running their own business, why would they waste time climbing the ranks

Maybe I'm being naive, but I think a large part of running a successful business is having a well defined niche / problem you solve. Getting to that point comes with a bunch of barriers and risks, and joining an organization that has that already figured out seems like it can have some advantages?
Batteries start to rival gas on California's electricity grid
Ummm, western led economic and technological development efforts have massively lowered poverty rates the last century. See China, India, etc.
I used sqlalchemy once. I found it more complicated with way less functionality
Because colonists are totally expected to do a good job this time, not just pillaging resources, setting new apartheid systems, generating even greater famines like what UK did in India and doubling down on the lazy job of drawing straight line borders not taking in consideration the human gropings in the land, what generated a lot of the current conflicts, by splitting affine people in different countries and bunching together rival groups under the same borders. As example of colonist promoted famine, if the one currently unfolding in Gaza not enough, see https://en.m.wikipedia.org/wiki/Bengal_famine_of_1943
I doubt there's going to be any such scandals, unless someone creates them. What's going to happen is LLM generated content is going to become so good so fast that you won't want to consume content created by people anymore, and you're going to feel guilty about that. Similar to how people probably feel guilty about playing football video games rather than going outside and playing football. Crypto and authentication services won't help, because people will just give their LLM agents the ability to act autonomously under their identity.
The extreme right won the Dutch elections though - and they’re not the only country - so your argument that “best case (...) number 2” isn’t true. They can and do win elections.
Concretely for onboarding, I create two documents. They’re both checklists. One is for the manager and the other for the new hire. It’s organized into sections.

Before the first day.

First day.

First week.

First month.

The manager is expected to keep the new hire accountable in gettin g through their checklist.
Thanks! You can do it on here, maybe I'll add a contact form later. :)
You suggestion below is getting downvoted which isn't that surprising given the general tilt of HN. But I think there is a related question that's a bit better to ask.

What are the social, political, cultural and intellectual preconditions of a free society? What ideals and values does the culture need to hold before you can have a stable government that in a general way - values liberty for its citizens?

While I'd love to see many parts of Africa and the mideast embrace the enlightenment values that have created our modern governments built around such ideals as individual rights, rule of law, checks and balances, multiple political parties, free speech, independent court systems, a secular state, etc. I don't think those cultural values are in place. And yes, you can shake a finger at your choice of western country and point out the many ways they fall short of those ideals and you'd be right, but I think you're missing the forest for a diseased tree.

So what to do? Provide free resources until they figure it out? Not sure that's worked out. Ignore them? Lecture them?

How do you change a culture that in some ways doesn't want to change?
While I don't agree with the parent comment, 20 years is just nowhere enough for his strategy. Mullah Omar himself was alive for almost half of those. Something like 50 years where the old regime leaders completely vanish can only work. Again I am not saying whether it is practical or whether it is even a good idea at all.
A really special failure mode is to hire management from proper grown up companies to implement real processes for your aspirationally-real startup. Serious economic misunderstanding on multiple levels and a popular choice nevertheless.
Yes the situation in Sudan got worse so that it exceeded the situation in Gaza. It has been deteriorating for many months since April 2023.

The collapse of the Sudan is not directly being enflamed directly by any western power compared to the Gaza collapse. So the Sudan conflict is less interesting to us.

The Sudan collapse is being enflamed by regional powers where the UAE is funding the Janjaweed (who are officially declared a g*nocidal outfit) whereas the Sudan government actual is being supported by Iran.

The UAE might be considered a proxy for the US though but this kind of indirection makes the conflict too complicated talk about in the general media i guess.
I think the point is in spite of decolonization being orders of magnitude more messy countries like India have established fully functioning peaceful societies.
And your comment is a perfect demonstration of the fragility of the universe: what if the OP edits and corrects their typo?

Edit: edited after 57 minutes - pedantic nerd here :)
You can pass in a locale as a parameter. (Of course this doesn't fix the default)
I'm glad you think I'm young!

We take moderation very seriously in Gleam, and I assure you this poster has omitted much of the context here. If you have any concerns please do get in touch with the moderation team either on discord or via "hello at gleam.run". Thank you.
I advocate for no such thing but you want to have a discussion about things, you learn the vocabulary. It’s hard to talk about political theory when you use the words wrong just the same as someone calling the UI for Wordpress “the back end” makes it hard to have an engineering discussion.

Liberties are fine, but don’t act like Freedom exists in modern society (or maybe any society) for the exact reason your flippant dismissal implies: the needs of other people. A poor invocation of Franklin indeed.
Checks out from this old account of a BillG review:

https://www.joelonsoftware.com/2006/06/16/my-first-billg-rev...
Gnome. It’s fine. It’s not fancy. I’m happy enough with it.

It’s less true now but for a long time installing stock Ubuntu was the lowest hassle way to get a Linux desktop that pretty much worked with everything. They flirted with Amazon ads for a while which I didn’t like. Not crazy about snaps either. But it’s fine and I get my stuff done.

I also just buy boring hardware known to work. First an xps 13 (remember project Apollo?) then a framework.
I didn't realize there weren't any screenshots anywhere. I'll make a few, assuming it still even builds. I haven't used it since '99. It was neat but really not exactly a productivity tool today!
you can say genocidal, this isn't Facebook. I'd still imagine the UAE has independent goals
The reversal curse is mostly about understanding specific logical relationships rather than identity statements. It's not about statements like 'Joe is human' implying 'human is Joe,' but rather about LLMs struggling to reverse relationships or roles, such as turning 'A is B' into 'B is A.' Check out the summary of the paper: "We expose a surprising failure of generalization in auto-regressive large language models (LLMs). If a model is trained on a sentence of the form "A is B", it will not automatically generalize to the reverse direction "B is A". This is the Reversal Curse. For instance, if a model is trained on "Valentina Tereshkova was the first woman to travel to space", it will not automatically be able to answer the question, "Who was the first woman to travel to space?". Moreover, the likelihood of the correct answer ("Valentina Tershkova") will not be higher than for a random name. Thus, models do not generalize a prevalent pattern in their training set: if "A is B" occurs, "B is A" is more likely to occur. It is worth noting, however, that if "A is B" appears in-context, models can deduce the reverse relationship. We provide evidence for the Reversal Curse by finetuning GPT-3 and Llama-1 on fictitious statements such as "Uriah Hawthorne is the composer of Abyssal Melodies" and showing that they fail to correctly answer "Who composed Abyssal Melodies?". The Reversal Curse is robust across model sizes and model families and is not alleviated by data augmentation. We also evaluate ChatGPT (GPT-3.5 and GPT-4) on questions about real-world celebrities, such as "Who is Tom Cruise's mother? [A: Mary Lee Pfeiffer]" and the reverse "Who is Mary Lee Pfeiffer's son?". GPT-4 correctly answers questions like the former 79% of the time, compared to 33% for the latter.
Code available at: this https URL."
Cordoba Caliphate? Ottoman Empire? Warsaw Pact?

Any of these ring a bell?
If you came up with that conclusion you know nothing about how US's justice system works.

I don't know what "absolute" means for you, but yes, free speech is good, the more free it is, the better. As to your popularity fallacy, consider that for most of our time on earth, constant war and slavery were normal, and our grand-grandparents knew both.
If this came with Whatsapp I'd unironically order one. Smartphones are garbage technology, I hate every last one of them.
Needs more ™s.

USB-C and LTE, but a 0.3 MP camera is a very odd combination. I'm impressed that it's even possible to source a camera module this crappy in 2024.
Genuinely curious... What is worth discussing here?
Most of the US population is urban per the census bureau but a lot of that is spread out suburbs and exurbs. I’m “urban” between many acres of orchards and conservation land. Depending on third party transportation day to day would be utterly impractical.
Either they're the founders or friends thereof or you're struck-by-lightening lucky.

Realistically tell yourself that 10x developers are a silly myth and the people you were able to hire for pennies from the local demographic are the superstars, and try not to hang your business model on them actually being the best in their field. As long as you don't fact check that against reality it'll be OK.
"History is a set of lies agreed upon."
maybe the superstar idea is somewhat of an illusion, and they are actually just some pretty smart friend of the founder?
Why would treatment of family be a better indicator of our decency than treatment of strangers?
+1 for protobuf/open-api.

My team has been using swashbuckle in the dotnet API ecosystem which generates an open-api document based on your code, commemts and c# attributes (for the things it can't infer from the former). The documentation and code have a symbiotic relationship.
Al Jazeera can't be used so you cite....Instagram?
This is far too strong a claim to make without support. You have no evidence of that and a huge unquestioned assumption that it’s impossible to have criticism of Israel decoupled from anti-Jewish sentiment, which would need at the very least to account for the many Jews whose opposition to what’s happened in Gaza is rooted in their faith. Given that Netanyahu has consistently had roughly ⅔ of Israelis disapproving of his decisions, I would especially need you to show your work explaining how your claim is compatible with the observable data.
> Where is the colonialism within Europe?

The Celts were colonized by Romans and then colonized again by Franks, Anglo-Saxons, and Normans. Western Slavs, Balts, and Estonians were colonized by Germans. Parts of Balkans (esp. Greece) were colonized by the Ottomans.
> Einstein finished his masterwork, the theory of general relativity, in 1915. He was 37 years old

Interestingly if you look at the most popular programming languages they were created by someone 37.5 years old, on average [0].

[0] https://pldb.io/blog/ageAtCreation.html
you have a lot of resources about similar problems on the internet. so LLMs will have some patterns to leverage even if it is not even sure if you will get correct answers.
Oh, I didn't know that
Unfortunately, I suspect the structure of the tech industry has kinda made this inevitable. If you need to jump ship every few years to get a meaningful wage increase, and companies are happy to drop the axe on an entire team because profits went down 0.01%, the incentives are to do whatever's needed to keep yourself hireable at all costs.

So everyone picks what will look good on their resume in a few years, not what actually solves the issue in the most optimal way possible.
Hi HN,

Founder of Logto here. It's been a while since our last Show HN. I believe we've accumulated enough new features to share an exciting update:

- User impersonation (RFC 8693: OAuth 2.0 Token Exchange)

- Personal access tokens

- Multi-tenancy (organizations with RBAC)

- Bring your own UI

- And much more to explore!

Building this product has been incredibly enjoyable. We are planning to deliver even more interesting features, such as a set of Web Components for sign-in and account management that you can integrate into your app.

Please let me know what you think. Logto couldn't have come this far without the feedback from the community. :-)
But then you hear about stories of employees coming to Steve’s office to give a presentation about how such and such technology isn’t possible, then Steve says yes it is figure it out, and they do.
both sides will say they "murder" or "terrorise" as a defence. that’s where the moral question comes from and proving "who shot first" etc.
I think ultimately pink washing Israeli war crimes and colonisation with appeals to open lesbianism on the streets of Tel Aviv is a dead end. The point is in the end that human rights are inalienable and not transactional. You don't get to treat the Sudanese worse because they're crap on gay rights and nor should we give Israelis an easier time because they're better on gay rights. How many gay marriages in Tel Aviv does it take to cancel out an ethnic cleansing in the West Bank? It's just stupid.
Some New Browser APIs
Where the founders are also acting in their self interest but have enough correlation between self and company that this works out? If so non-trivial equity to non-founders might have the same properties, provided they haven't already been savaged by founder liquidity preferences.
Chrome 130: Direct Sockets API
yeah, seeing shit with your own eyes, with links to original tiktoks and time stamps are better than state-sponsored EXTREMELY biased media
Seems like trend-chasing that got behind schedule, and now they missed the fad.

Imagine if all the effort that went into this thing would have been directed towards getting Signal or WhatsApp onto a dumbphone.
The engineering is in saying "I need to get this data within these performance constraints", not in the now worthless knowledge of exactly how to fetch it.
The linked url just redirects to google.com for me. Maybe this is a geo rule?
What else would it possibly mean?

k is very common shorthand for kB, at least historically.
A famously ethical project https://news.ycombinator.com/item?id=41021029
Possibly computer controlled bumpers? Making the movement imperceptible would have been hard, but I think possible. Or air jets/magnets, you could do those.
I had to scroll all the way down to find this. As a CTO who personally never understood the point of ORMs the benefits become very quickly obvious when your organization starts to scale and the prospect of dozens or hundreds of developers of unknown quality hitting your production db with raw sql becomes objectively frightening. Of course there are ways to setup and administer your db to prevent the most obvious footguns, and it is still possible to write bad queries with an ORM, but having that extra layer with limitations gives some extra peace of mind.
Most Americans supported or voted for presidents that bombed innocent people. Does that mean Americans therefore “deserved” 9/11? According to your moral logic any action against American civilians is tragically justified retaliation for their support of warmongering US presidents. It’s surprising how easily people justify bombing others when they would never apply those standards to themselves.
Just a single man representing single family in Switzerland but you are right - I'll never buy anything from Tesla, couldn't care less if they are best or not (no they are not in 2024, novelty wore off some time ago with tons of competition, at least in Europe).

He showed his true colors, there is no correction possible, people just don't rewrite their core personality. Support for puttin' and overall war in Ukraine, support for dictators, very bad stance on many societal topics, treats his employees like slaves, proper piece of shit as a parent, utterly childish reactions of an immature boy rather than Man - we haven't seen the worst yet.

Brilliance in some aspects means nothing if its dragged down into mud by rest of personality. I know some still worship him for the positives and ignore or even appreciate the rest, I can't and won't.
We didn't do what throwaway3521 said, though. We tried to do it "on the cheap", just occupying, not actually transforming the society, and not staying for 50 years.

For context: We occupied Japan for, what, 12 years? We technically occupied Germany longer, but practically it was about the same (I think - from memory and not researched). In that time, we transformed them from violent, racially superior, conquer-the-world militarists to more-or-less western-values democracies. But we put a lot of people in there, and we controlled every aspect of their society.

Iraq and Afghanistan, we tried to do it with half-measures rather than a complete rebuild. And it failed.
Battle of Translation Titans: ChatGPT vs. Google Translate vs. DeepL
You got to be kidding me... Prospera / Honduras is nothing. It doesn't register. Libertarians, sadly I'd add, shall never ever have an ounce of success: all the powers that be in this world are out there to crush liberties, everywhere, worldwide.

Meanwhile The New York Times is titling an article: "The constitution is scared, but is it dangerous?"

There's nothing more belonging to the rich than the mainstream media, including the NYT. They were the people selling you the FTX scam and explaining you SBF was the second coming of Christ.

Now that Harris wants to "force congress to ban guns in her 100 days, or take executive orders if congress doesn't do it", of course that the NYT is publishing about the constitution being potentially dangerous.

And the problem is... Prospera in Honduras?

As long as you keep reading The NYT, you're fighting the wrong enemy.
My take is that we should leave them alone and try to keep others from meddling. They have to figure this out on their own. The idea that European enlightenment values are the only path to success is part of the problem though: they have a different culture and success will look different for them than it does for us. Look at China, Japan and other successful Asian countries: they are each different and it’s hard for people of European cultures to judge them without judging them for not being European enough. They have to evolve out of the aftermath of imperialism just like Europe did after the Roman Empire collapsed. We were able to do it on our own and thinking they need us to help them is pretty demeaning IMO.
14000 lines of assembler?
Hi! I'm neutral.

DEI was a political statement—one that you agreed with and felt was necessary. Abandoning DEI is also a political statement—one that you disagree with and think is not okay.

You're welcome to disagree with the people who disagree with DEI, but I'd hesitate to claim that these companies were "strongarmed" into it—the programs always existed as a political tool for the company to curry favor, not as something that was added for its intrinsic practical or moral value. The political climate has changed, which means they no longer serve their true purpose.

The important takeaway from this reversal is that the progressive theory of change that's been leaned on for the past few decades was a bad one. We thought that a lot of progress had been made, but it turns out it was all surface level and easy to undo when the pressure to keep up appearances went away or reversed. "We need to do this because it will look bad if we don't" is a very fickle tool for motivating real change.
Rediscovering Turbo Pascal
You raise some excellent points.

> What are the social, political, cultural and intellectual preconditions of a free society?

I think societies don't become free before they get prosperous. Having lived in dirt poor societies and posh societies, individual freedoms culturally seem to have a strong tie to prosperity. When you are so inter dependent for survival on your social network, the concept of freedom or individual dignity seems so distant. When everyone has more than enough resources for their own prosperous survival, the individual freedoms come to the forefront.

Another problem is that countries and societies are almost always resistant to change in absence of a large event. It took WW1 to get women voting rights (and several other social changes) in the west for example.

Sadly there is no magic potion to transform societies in absence of large scale events or them lucking out on a good dictator (LKY, Deng)

> How do you change a culture that in some ways doesn't want to change?

I think across history I find only two ways this happens, either very very slowly, or strongly pushed top down by an authority with the power and willingness to enforce.
As commented before, by say that they "could very easily solve the problem" I meant that they could just collectively stop using the problematic AIs in prod until they feel that the issue is resolved (moratorium). Not that it's easy to resolve the technical difficulties.
Your comment is one of the most pompous that I've ever read.

NVDIA value lies only in pytorch and cuda optimizations with respect with pure c implementation, so saying that you need go lower level than cuda or pytorch means simply reinventing Nvidia. Good luck with that