skysight-inc/HackerNews huggingface dataset:
Depends on what you are doing. A good ORM lets you create entities from tables, or creates tables from entities.

Good ORMs make sure your data model is always aligned with the DB, and there is no way in hell a runtime error can occur. What's more, it automates the mindless data class/table matching for 99% of your use-cases.

Once you got a more sophisticated query, please use SQL. But for simple stuff, use ORM.
Have you read the article ? Where does it mention lack of rulers ?
Yet people do, will continue doing so, and it works. Trying to stuff the toothpaste back into the tube isn’t going to work, insisting on people just using plain text mail, or stop calling the pound symbol hashtag. It’s just old men yelling at clouds.
> Even my current macbook pro isn't that good outside

Shiny screens are notoriously bad outdoors.
Show HN: I made an app to discover where to stream movies and TV shows in a week
I set myself a challenge to make a simple and clear website to discover where to watch movies and TV series within a week. This was my second project with my now favorite tech stack: Next.js, TypeScript, Tailwind and ShadCN UI.
In this particular case that I had in mind when writing this comment, they were arguing for foregoing a tranch of money entirely because it would be taxed at income rates instead of long term capital gains, which would make their %age tax ratio go up, and massively increase the total tax paid.

They would have rather foregone that income entirely, then be forced to pay full income taxes on it. Of course they didn’t argue it this way, or else the idiocy would have been obvious even to them. They were arguing that plan B “results in less tax paid overall.”

That is what their metric was: which plan results in less taxes paid. Not which plan results in more take-home pay.
No wonder people are not so willing to report a crime or be witnesses. They are getting punished for it.
> I am uncomfortable with providing my passport number.

Whenever you've traveled you'll have handed it over to dinky little hostels/backpackers/hotels to photocopy the whole passport page..... is this different?

When they literally paper photocopied it, different. These days as the digital world absorbs us all I'd assume hotels also grab an electronic copy.

Check Reddit, you don't want a second-level domain so don't need to be a citizen, try a different re-seller if it worries you.

[edit] And if you don't care too much give them a fake passport number. You can say you accidently gave them your old one if you get caught out, plus it's good practicing creating fake identities.
"advisory" was ambiguous - I meant say, the lower speed limit is advisory - as in "45kmh an hour when wet".

I live in the middle of Sydney. This is an urban road. It is directly off a major highway in a suburban residential area.

It is a regular residential suburban street. No amount of "clever planning" will undo the natural topography of the region. It is a paved, well maintained road and that's the problem - people's judgement of what "feels right" depends on numerous factors they can't see and which don't matter.

They're in the middle of a recently resurfaced, asphalt road with a footpath down the side and what looks like trees and bush on side, and a cliff cut on the other. But it's relatively steep, winds a fair bit due to the climb, but also looks isolated when you're at the bottom because it runs through a state park area.

From street level you cannot tell how slippery it might be when wet (which people just plain suck at), how wet "wet" actually has to be (i.e. partially wet roads are more dangerous then when it's a hard downpour because the surface becomes slick), and unless you paid close attention to the area you can't know that there's no real protection along the side of the road (which shouldn't even be a factor: no one should be driving in a way where they depend on crash severity safety measures).

Observably, people's judgement of "feels right" sucks because as noted: there's been a fair few crashes basically caused by people taking corners too fast (which is to say, maybe they were speeding but that again is the point - they think they can safely go faster, and no, they actually can't and aren't good at judging that) - one of which was a car which very luckily ploughed into a very sturdy tree stump and didn't send it's occupants down the drop into the gulley.
FWIW this person was Canadian.
The French system, with its two rounds system has a built-in protection against extremism and to encourage compromise.

The UK is also a FPTP system, but has strong parties outside of the two main, for instance in the last general election over 42% of people voted for a party other than Labour or the Conservatives.

[admittedly that’s an outlier, but looking over the last few elections at least around 20% went to parties outside of the big two]
I think we've all came across people who chose technologies based on not what would be the best for the problem at hand + what they have the most experience with, but instead what is trendy today and can help them get hired in the future at the next workplace.

I'd probably describe that as "bad behavior" as you hire people believing they'll focus on improving things inside the company, inside of focusing on padding their CV. Of course, wouldn't be bad if it's both, but selecting the latter in front of the other seems non-optimal for the employer.

If you go through enough people like that, you end up with a ball of software spaghetti that anyone working on will struggle with, instead of a polished architecture ready to nimbly be changed when needed.
Why not all of the above?

I lived in Nigeria, when they had the Biafra War[0]. That also killed a heck of a lot of folks. The problem, there, was sort of too many rulers.

[0] https://en.wikipedia.org/wiki/Nigerian_Civil_War
Funny, I just posted the exact opposite. And find that everyone reads my docs, and comes back to them frequently as they work in different areas of the codebase. Of course, we are a remote team who swaps people in and out often, so onboarding is not a one-time event where you have partners to hold your hand. If you really only onboard once and don't have a fast-growing team, I could see where the needs would not match up and we'd both be correct for our own situations.
Albert Einstein – The Passionate Sailor
Even as an early-stage founder, I get advised by smart people including investors, other founders, and past coworkers to hire other people to “help” me with hard problems. There has been some fantasy in the past decade that you become good at something as either a manager or IC or company - then get compensated highly, in perpetuity, to oversee others who do the hard work from that point forward. Today it’s being replaced by the new Brian Chesky ethos of accountability. I hope to see it bring back more aspirational builders back to the world of tech, replacing bloat and complacency. There is no easy button to creating outsized returns, so we should stop pretending.
True there's some exceptions. The UK has indeed fallen to American-style polarisation. As have the Netherlands where an extreme-right regime now reigns.

But most of Europe is still sane, luckily.

Ps rather than blaming transsexualism it might be smarter to blame the Tories who have been skimming (and selling off to their own companies) the NHS until there was nothing left.
Can confirm. Something is deeply wrong with this site. I haven't seen my uBlock counter fly off like this in a while.
It's on by default afaik
Ah, I forgot about Puzzle Hunt! Such a fun time of year for puzzle nerds at all connected to Melbourne University.

I wonder if other universities do anything similar.

Also random fun fact: I was in MUMS at the same time as Julian Assange.
There is old Woody Allen joke: The only advantage of LA over NYC is right turn on red light is allowed.
https://spring.io/guides/gs/spring-boot
Seeing as the link is to a single paragraph and the actual article appears not to exist, has anyone read it?

"This article appeared in the Briefing section of the print edition under the headline “An intensifying calamity”"

You have to use the 'archive.ph' link in the HN commens to find it.
Hey HN,

I found other websites with the same purpose pretty overwhelming, so I made this website to be a more simple and clear alternative. Any feedback would be appreciated! :)
I joined Glean recently and found out that hiring really smart people and letting them cook is a legit strategy, not sure if it disproves this article.
Lot of things would have broken that didn't because we fixed them before they broke. The ones that we missed, broke, and we had to fix them while down. It was no fun fixing them before 1/1/2000 and even less fun fixing them after.
I believe it was Henry Ford, or maybe both.
I ran some Daylight Computer photos from a trip to their factory through Google Lens and it was the Sharp factory in Japan. No doubt.

It seems that they took a certain Sharp screen and simply took off the colour layer. Citation needed.
ISO C++ doesn't require new and delete default implementations to call down into malloc()/free().

Many implementations do it, only because it is already there and thus it is easy just to reach for them.
Most people do not do those things.

And if they do, they’re likely not doing it with tax reasons in mind.
I would also strongly favor documentation diagrams which can be rebuilt from "code", such as PlantUML, Mermaid, and the venerable GraphViz formats.
Because they are old and have families now. Metoo and toxic behaviours did the rest. And, it is just not that important.

For me, Musk/Trump is indeed fresh trollish air in all this seriousness and iam astounded, that no one else enjoys it. But i also have the feeling, it is a last breath before police state takes over. Because a state can not allow its citizen to go rogue.
I’ve used several ORMs and experienced the same things everyone else does—CRUD is great, but good luck with your first actual reporting dashboard.

Then I tried the new generation of typescript SQL query builders that automatically infer types from your database and provide end-to-end type-safe query results, even for highly complex queries. And since then I became convinced the answer isn’t trying to shoehorn classes on top of relational tables, but having a sufficiently integrated and capable query builder that provides properly typed results.
Harris explicitly said only for people worth $100 million. You can have the opinion that politicians will derive from their plan, but it is a big assumption, nothing else.
> but typically then you have an escape hatch to have the query be in raw SQL while still mapping the outputs to whatever objects you need.

This is precisely why we introduced the "TypedSQL" feature in the Prisma ORM. For those who are interested in reading more on that: https://prisma.io/typedsql
There's a place for everyone
Wait, where are NYC taxis allowed to pickup people?
You are absolutely correct, I've never worked with a truly competent chemist -- my previous instructors are now complaining from the grave, so I'll give them a retroactive pass.

As someone who aced chem but nearly failed the labs, he seems remarkably skilled to me, so you saying "horrible" and "average" really surprises me -- but obviously I have nothing to judge by, never having been exposed to anything near that level of chem work except for his videos.

As you allude to, I wonder how much of the "it didn't work, so I had to try something different" is for YouTube -- if every project worked the first time it would be boring.
Still looking forward for the Delphi like experience with Native AOT, thankfully getting better.
Considering a ton of podcasts talk about it and they're not in the tech bubble I'd say it's a pretty important topic especially in the US.
They have been independent since 1956. Other (majority non-European) British colonies/protectorates as diverse as Singapore (ind. 1965), Belize (ind. 1981), India (ind. 1947) and UAE (ind. 1971) managed to build peaceful societies.

We need to recognize that the people of countries like Sudan are not children who don't know any better, contrary to European leftists' views. They are fully functioning adults who made a series of choices that led to the present situation.
Despite being developed in 2010s-2020s, the codebase gives those warm 1980s vibes. Microcomputers, endless possibilities, bright future ahead. What a departure from the modern world of doom.
> This urban/rural divide doesn’t make for good licensure policy.

Have you spent any time living in rural areas?

> People who depend on driving themselves are less “sophisticated” - they won’t want to spend more time getting a license, because they live farther away, they’re less likely to take drivers classes, etc

You do realize a lot of these people have class A license already because there are a lot of those jobs out there and farmers often get one to move their own product? You couldn't be _more_ wrong.

> We already see states with smaller urban population have easier driver’s license standards

They also have wildly different politics. It turns out density has more than one impact. The largest one is suicide rates. Lowest in New York highest in Alaska. You can accidentally measure population density in all kinds of ways.

> So rural-leaning elected officials will want to keep human-driving easy to access.

It's going to come down to who controls access to the freeways. I'm actually on the rural peoples side, but the interstates as a whole are a little bit out of their typical zone of influence. Given that rural life is already very different, much more so than some people can even imagine, I would expect to be the most likely point of negotiation and the most likely outcome given the parties involved.

Reasonable people could differ I guess.
I think both are useful, and generally if you have the time to do both, you should.

For example, my go to when using a new framework or library that'll be a core part of a project, is to read its documentation in its entirety. I did this with eg Vue. It's a _huge_ time saver, and the big key, is that it reveals things you would never have known existed! They're things which you wouldn't have stumbled on yourself, but which come in handy in certain moments. Or they're things that would waste your time googling, and which might be difficult to understand out of context. The docs also let you understand the "spirit" of the tool you're using, which will let you work much more smoothly with it, and avoid unintentionally fighting with it and how it was designed to do things.

This is also true for more abstract concepts in CS, which might not come up often, but which are smart abstractions that can come into play at key moments in your projects.

Also with math, most math learning is done by books -- books with exercises, yes, but still books.

But at the end of the day, I think what matters is don't get stuck in one mode. Don't _only_ learn from books, since that won't give you the skills you need. But also don't _only_ learn by doing, since then you'll basically be wasting your time re-discovering the last 100 years of programming/CS experience. Do both!

I think an artist in YouTube summarised this best many years ago. He describes 3 ways to improve at something: innate improvement, inspired improvement, and developmental improvement. Innate improvement being by volume--i.e. if you do it every day, you'll get better even if you're not consciously trying to improve. Inspired improvement is using those bursts of inspiration/interest to propel your skills forward. And developmental improvement being the more traditional, sit down with a book and learn/practice approach. All are useful and contribute to improving, so use them all where possible! Jazza recommends making projects that allow for all three possible types of improvement.

Video: https://youtu.be/Bu3ulVhO3z4
The blank-slate of a new hire is a valuable resource which will (ideally) not remain for long.

They will essentially be testing your guides, and you should plan for existing developers to spend a little time fixing issues found by your impromptu tester.
Sudan has been a sovereign nation for 70 years. How many years must pass before you can no longer blame colonialism for their choices?
> Personally I would check my providers website/status page in such circumstances.

I hate than many providers now consider updates to Twitter/ Other social media sufficient and do not bother to publish to their own website!
New hire checklist repo that the hire forks and works through.

guru is excellent too imo. docs can be set to expire which serves well if you actually want to update them regularly, or just give a marker for readers to be a bit cautious about the validity of the content.
Are you sure its not some false positive?

Can you give an example of the URL(s) that are being blocked?
Guess who helped Greece hide their debt? Goldman and Sachs. And guess who worked for Goldman during that time? Mario Draghi, who was rewarded with a term as the ECB president afterwards.

https://www.politico.eu/article/mario-draghi-ecb-trichet-ban...
In Bookstack organized by department. Simple to update and put access controls on it.

As others have mentioned, this needs to be a living document and the person doing the task needs to update the docs where needed. No tool can replace this, but Bookstack at least makes it easy.
I did not see that. I double checked just now and there are still zero results for "religious", not sure why.
It's integrated with shoutrrr, and can do just that.

https://github.com/containrrr/shoutrrr/blob/main/docs/servic...

Config example:

shoutrrr_url: "gotify://192.168.0.1:8083/AwQqpAae.rrl5Ob/?title=Unknown host detected&DisableTLS=yes"
Huawei. They have system analysts, who are basically living documentation. There's also some overlap with 'team lead' in western orgs and I'd say they have similar pay. These folks are idle by default; they're meant to be interrupted and their main focus is mentoring. They also handle a lot of the PRs, code quality, documentation.

It's also not hard to onboard someone into the same role. They took me on for a similar role and it took me about a few weeks to be familiar with nearly all the code I was responsible for.
We know what he meant.
Cool, good luck!
If anything I’d blame the lack of colonialism as being the root cause of their problems.
Maybe it's like the same irrational aversion that people have to shipping fees. Amazon effect for the rich?
Note: article states the restaurant is not Disney affiliated. Disney claims this is the reason why they filed to dismiss.
Being wealthy unlocks the option to not be a rational actor with little or no real world consequences, enabling capricious urges and whim to be a significant factor in the decision making process. See: Elon musk.
Grabity is such an apt typo for gravity
Extending the Windows Shell Progress Dialog
Yeah, I've seen that happen with really smart people. I'm sure they learned at some point that they need to criticize their own ideas, but that apparently goes out the window once the LLM is involved.
Definitely: bigger vehicles, higher speeds, and because the alternatives to driving have been starved of funding or removed the entire system is loathe to punish bad drivers because taking away someone’s license largely removes their ability to function.
I've seen it done really well, really badly, and not at all!

Here's some things that I think help

- Tie documentation to code wherever possible: Automated API documentation is an obvious example, but even moves like including a 'developer guide' in the repo rather than a seperate file somewhere is a significant improvement.

- Manually written documentation will drift: This means you need capacity to maintain it. You're much better off manually documenting a few high level design choices and keeping it up to date, than trying to capture everything and it becoming inaccurate.

- Developer experience reduces the need for documentation: If you can automate stuff as much as possible, including offloading things to a type system etc to rule out mistakes, you'll reduce the amount new developers need to know to be effective, and therefore the ammount that has to be extensively documented. People are better learners when they do it slowly as they need than when they get given everything in one huge document to read.
Makes me think the govt should maybe straight up just punish obvious loophole exploitation. Clearly they were acting against the spirit of the regs for personal benefit. It seems obviously corrupt. Just punish them to deter this kind of nonsense?
Of course this time around we have to do the bombing through some middlemen because the brown people have big guns too, and the people aren’t actually brown this time around. They do speak a weird language though and have different cultural values, so maybe that qualifies.

Ukraine isn’t our ally. That’s a silly sentiment. Ukraine is a developing country wholly comparable to say Zambia or Namibia. Our interests just happen to align this way this time around.
At which point we admit that current approaches to helping these countries does nothing and we reach out for other, radical, approaches and ideas?
It’s a balance. If you have people who only care about their career and not the company, you end up with misalignment. That’s why hiring people who are intrinsically motivated matters so much. People who demand personal growth without having proven themselves are likely less aware of the purpose of their employment. I’ve experienced this at companies where many people have only worked at late-stage, pre-IPO companies where neither the realities of early-stage or public markets exists.
With a small enough table lacking sufficient free space, you’re no longer solving a puzzle, you’re defragmenting it.
What is CapTP, and what does it enable?
You misinterpreted the wiki page. That tag (like several others) explicitly supports user-defined values. This is useful, because you cannot define a complete set of values for something as open-ended as a way's surface. Innovations happen, and sometimes odd things are used to pave a way for a variety of reasons (art, tourist appeal, experiments, etc.)

So that table there lists all common values covering 99% of the use cases, and finally links to TagInfo for all values in use. That 'all commonly used values' bit is slightly misleading, because TagInfo lists all uncommon values, but it true in the sense that any common value missing from that table will be listed in TagInfo (being derived from the actual database).
The UK system has a much less powerful Executive though.

To be clear: FPTP is terrible, but the reason the UK system isn't as broken as the US one is because the correct functioning of the Legislature is much more vital to the overall system - i.e. 3 viable parties can exist because they're fighting over hundreds of seats, and then it's by the Legislature that the Prime Minister is chosen - rather then by direct vote.
I’m very close to getting a HannsNote 2. The battery life is disappointing, but it is very thin (maybe unnecessarily so). It’s no hardship to carry around a battery in a bag.

I have a crazy idea about VNC or SSH in which case a host laptop might not be very far away anyway.
Unlikely. That didn't happen in response to the failure to intervene to prevent the Darfur genocide before it started rather than just patrolling afterward to keep violence "to a minimum", the "Effacer le tableau", the massacre of the Hutus, the Rwandan genocide, the Gukurahundi, or the Cambodian genocide.

I think this is closer to the Onion story about American mass shootings: people shake their heads with sorrow while asserting nothing can be done.
If mass/energy were interconvertible with space, if the former were some curled form of the latter, could you explain dark energy as the uncurling of mass/energy into ordinary space?