skysight-inc/HackerNews huggingface dataset:
I never understood the rant on ORMs. From my point of view the main problem they solve is get rid of overinflated data access objects. In big project with complex data structure in database you can get hundreds of tables and you end up with data access objects with more than hundred methods like:

"getOrderById",

"getOrderByUser",

"getOrderByIdWithItems",

"getOrdersBySupplierWithOrderItemsAndUserAddressIAmTiredOfMakingNewNamesForMethodsPleaseKillMe"

ORMs elegantly get rid of most of these stuff and you and up with code like user.getOrders().with("item") or something like that. The downside of that is it becomes a bit harder to profile if some offender method is doing hundreds thousands queries to a database but still possible with a little bit of more work.

There are situations when you need something more complex than "SELECT ... JOIN ... WHERE ...". For example you might want to force server to use some particular index or you use subqueries or CTEs. In that case you can use native query functionality when you pass a raw SQL query to ORM and it just populates data objects with the results of a that raw SQL. Most of ORMs have such functionality. But it's very rare when it's needed, usually you have several occasions per service if it's complicated enough.
No. Prisoners' dilemma.

There are two possible answers to climate change: avoidance and preparation. Avoidance means that the world reduces its CO₂-footprint to zero or less to limit global warming or even to revert it. Preparation means that, if global warming cannot be avoided, states prepare for the changes in weather, sea level, agriculture, etc.

Avoidance can only work if all nations worldwide do participate to reduce their CO₂-footprint. If some big nations do nothing, or even worse, if non-consumption of fossil fuels by western nations causes a price drop and a shift of fossil fuel consumption to the rest (instead of an overall reduction), avoidance by the west is pointless and a waste of resources. All the world has to participate for avoidance to be successful.

On the other hand, preparation mostly works on a more local level. Nations with coastlines invest to protect those, nations threatened by water shortages invest in countermeasures such as maybe desalination or storages, etc. Even if the rest of the world doesn't care, preparation will mostly work for the local community.

Both avoidance and preparation need a lot of resources. But allocation to avoidance is only sensible if every nation agrees to it, otherwise those resources are wasted and far better spent on preparation.
As a patriotic American, I applaud Canada's plan. The H1-B is a badly run program in many ways, it is a vehicle for large tech and staffing firms to commit graft, entrench their market dominance and enrich themselves, by exploiting H1-B workers and pitting them against Americans. Like so many things it masquerades as beneficial for America but in reality the benefits accrue mainly to the small parasite class which makes the rules and revolves between Washington and private industry.

If what's needed to shake this program up and shine a light on the corruption is some competition from our neighbors to the north, sounds great to me. Maybe Canada should extend this program to Americans who don't have health insurance, too. The resulting surge of expatriates just might force the parasite class to rethink America's archaic and corrupt health care system as well.
300 C is typically the highest setting on a stovetop. I never go above medium when using Teflon cookware. I've not used a cooking thermometer yet, but https://homebli.com/stove-top-temperature-knobs-what-the-num... gives a good general guide line under a section labelled Stove Top Numbers to Degrees.

Also, I only use 'plastic' utensils with the pan. The result, not a single scratch on the pan. The surface looks brand new, I've been using it over a year.
One should point out that hackerspaces in netherlands, germany, austria, switzerland, etc are usually quite aware and observant of fire safety, etc.

Hackerspace organisers are usually confronted several times a year with this topic when they meet up for bigger events and have to deal with getting the local fire departments approval for buildups.
There are definitely people who land squarely in conspiracy theory land for this. For example, those who avoid literally all plastic, and won’t eat something that touched even the most stable forms of plastic, despite having little to no evidence of leaching at whatever temperature their bottle of water is at.
The billion-dollar search for immortality
Agreed. My comment was too absolutist.
Which is kW
I read the pie chart as this:

Only 11.5% barely notice them or can completely tune them out.
88.5% are annoyed by them with varying degrees of annoyance.
We should shift our perspective on our native-born citizens. Because they're such a massive economic drain we should _stop_ investing in them completely. I know it sounds radical but hear me out. We can realize higher economic utility for our society if A) we stop all investments in non-skilled, non-working-age citizens and B) export those people who are a burden on our society (children, the elderly, the sick, people who enjoy EDM, you get it).

In this way Canada can achieve higher economic utility for itself. I'm imagining a system where everyone in the society is brought in on a temporary basis. They are imported after their post-secondary education and exported maybe 10 years before their retirement. In this way we avoid all the costs associated with having "people" in our country and instead we reap the economic reward of their labor!

I guess I shouldn't say "our" country. I would be exported fairly quickly... But! To those glorious (and brave) few on the executive committee entrusted to leading Canada Inc. through these difficult times, the society they get to inhabit will undoubtedly be the economic envy of the world!
> Logs are there for ignoring. You need them precisely twice: once when you are developing, and once when the thing's gone to shit

good logs are very valuable both when things are still working and when there is an outage.

E. g. I with nginx even on a loaded servers error.log is small and it is possible to skim it from time to time to ensure there are no unexpected problems. access log is useful for ops tasks to - when possible I use tab separated access log which can be queried using clickhouse-local.

Sometimes software write bad (useless) logs, but this is not a problem with logs in general.

Also it may be useful to collect metrics for number of messages on different levels (info/warn/error/crit) - sudden changes in rate of errors is something which should be investigated.
Weird because of those three movies I would say Inside Out was the most beautiful masterpiece they have created in the last 10 years hands down.
This is a myth. We are not over overpopulated, the problem is the way we live.
That’s kind of the same problem as mentioned here though, you still have to mount that root CA in all your pods.

An internal CA is also, while achievable with cert-manager these days, not exactly trivial to set up.
Why is it so much cheaper in India or China? Labor cost? No EPA?

It has to be so cheap that the cost of offshoring and coordinating all that is dwarfed by the savings.
Totoro and Kiki were both beloved by my kids. 4 might be a bit young, but certainly at 6. My wife, on the other hand, finds them unwatchable.
He's a Marxist. He's really just a cranky dude, though, full of random opinions.
And to think that wide hole isn't now utilized is folly, despite whatever is said.
I'm sorry, but have you really honestly been impacted by this?

Have you applied for a job and been told that they don't want you because there's a cheaper immigrant available?

Have you had a job and been replaced by an immigrant?
At the hospital, the cost of cisplatin also includes the salary of the chemo pharmacist, the chemo nurse, and the medical oncologist (plus probably layers of unnecessary bureaucratic administrators)
There is a way to disable the type column and embellish parameter descriptions or even replace the entire generated string, all at gradual investment of time, though docs can always be better. I disagree that it's a bad default since types help users know `count` is not a float (e.g. count per minute). How many times has there been some "delay" parameter you weren't sure could take fractions of a second?

Anyway, cligen needs just 1..2 lines of code (`import cligen; dispatch fun`) to infer & generate all that from a pre-existing proc/func. Very low ceremony. `clap` & `argh` have more intricate specification/convention languages to learn, like most arg parsing / dispatching tookits.

CLI tools are a diverse lot. What help text similarity exists largely flows from toolkits or their defaults. E.g., Rust `argh` output differs (at least on their home page) from Rust `clap` in showing default values. So, your own 2 reference points already disagree on that default, at least in their examples (likely all 3 can say "whatever" with work).

This diversity is one reason why inflammatory rhetoric like "wins" or "good decisions" for ultimately context-specific (&tough!) judgement/aesthetic calls about defaults is unhelpful. There may be a little "back pressure" from users and from completion systems like Zsh's - but if you look into Zsh compctl you will see dizzying diversity of CL syntax & help formatting. The cligen defaults at least let you use _gnu_generic (as can both `clap` & Rust `argh`, I'd guess).

There are various reasons for all that diversity. Users after running -?/-h/--help/etc. do prioritize "the information" (for some value of that) over the formatting, as with most documentation. The diversity is also not going anywhere, as evidenced already by Rust `clap` & `argh` discrepancies. Devs just like different things. The docopt people like to start closer to free-form text (but do have a help parsability requirement).

I did not expect you to be aware of bu/ tools. I just thought you might be interested in CLI tools outside a standard repetitive bubble. Most people don't seem to like CLI tools like you & I do.

Using Rust in firefox was likely the most persuasive app for "can be used for real things", as has been mentioned (by almost everyone). I kinda doubt `clap` (inspired much of | saved much dev time for) `rg/ripgrep`, `exa`, `fd`, or whatever, for example (though it probably did help for greater uniformity).
> It can be more useful to re-purpose those device instead of mining them for metals?

This guy made a 4k projector out of one. Particularly intriguing is that he hardwired power, replacing the battery - doesn't seem _that_ hard.

https://www.youtube.com/watch?v=YfvTjQ9MCwY

The OS/software side is messiest side for me. Obviously running an old Android that's connected to the internet is potentially a bad idea, but the install of open source backfill replacements isn't great either. I've bricked phones in the past following (fairly complex) instructions carefully, and the need to trust 3rd party binary builds and/or tools isn't fantastic. If Right To Repair can mandate that phones be open enough to easily replace the firmware (sufficiently easy so that, say, your Mom could do it) then maybe reuse of phones becomes a more viable proposition.
Absolutley true. However, the form factors really haven't changed that much in the last decade; at some point, it makes sense to standardize, even at the cost of further innovation.

I am absolutely grateful that my plumbing and electrical fittings are standardized. I'm grateful that most (old-school) electrical devices use the same four kinds of batteries, and get really frustrated at the coin-batteries that come in 20 something different sizes, because I almost never have the right size around. And I'm grateful that we charge almost all of our devices by a small number of USB connectors. Because standardization is also a boon to innovation, or rather, a lack of standardization can get in the way of innovating, especially at the level of interoperating services and hardware.
> Another fun part of building WinGPT was designing the icon in Borland's Image Editor, which is really just a clone of Microsoft Paint that happens to make ICO files instead.

Wow! 40yo me forgot how much time I used to spend creating icons for my apps back in 1999. After trying a million times to create C++ programs Visual Studio 6, I would often fall into just drawing icons in the icon editor as it was the only thing left to do once I introduced a compiler error and couldn't resolve it.
The main use of the internet is quickly passing along information. Hospitals rely on the internet primarily to handle records and financial processing. Their ability to actually treat patients would still be functional without the internet.

The loss of many of these records in the financial and governance would certainly lead to a lot of dollar losses. But dollars aren't people.
> Participants will take part in simulated spacewalks, science experiments and habitat maintenance, while also attempting to grow crops for food.

Exciting stuff! Can't wait to hear how it goes -- especially the crops. I wonder how they plan to emulate Mars' soil composition?

On a light note, I hope they brought a deck of cards. Sounds like they're in it for the long haul :)
"Original value Canadians" sounds like a dog whistle to me but ignoring that, I grew up in a melting pot city and all of the different cultures intertwining ends up creating a unique culture in itself. LA is different from NYC. Seattle is different from Toronto. All of these cities have many different types of immigrants co-mingling but none of them are the same.
Sugar is probably poisoning us much more, but we probably won't care until we reach over 75% obesity rate.
Share: Incident: TM612617, impacted service: Microsoft Teams, impacted feature: TeamsComponents, current status is: Service degradation

Published Time: 6/28/2023 7:50:04 AM

Current status: We’re reviewing a recent configuration change which may have unexpectedly resulted in impact. We’re determining our next steps to resolve the impact.

This quick update is designed to give the latest information on this issue.

Published Time: 6/28/2023 7:17:19 AM

Title: Users may be unable to access the Microsoft Teams service

User impact: Users may be unable to access the Microsoft Teams service.

More info: Users may be unable to load Microsoft Teams via the "teams.microsoft.com" web page and desktop app.

Users may see an “Operation failed with unexpected error” message.

While we're focused on remediation, users with access to a desktop build that is cached, may not experience the impact.

Current status: We’re reviewing application logs to identify the root cause and determine a mitigation plan.

Scope of impact: Impact is specific to users who are served through the affected infrastructure and are not using a cached desktop build.

Next update by: Wednesday, June 28, 2023, at 2:00 PM UTC

Published Time: 6/28/2023 6:43:01 AM

Title: Users may be unable to access Microsoft Teams using web browsers

User impact: Users may be unable to access Microsoft Teams using web browsers.

More info: Specifically, users may be unable to load the "teams.microsoft.com" web page and see the error message "Operation failed with unexpected error."

Current status: We're reviewing service monitoring telemetry to determine our next troubleshooting steps.

Scope of impact: Impact is specific to any user who is served through the affected infrastructure.

Next update by: Wednesday, June 28, 2023, at 2:00 PM UTC
We may need nearshore/onshore QC
Actually most people are stuck on the free 5GB iCloud plan, and the backup will never complete because there isn't enough space.
Next time your in the Netherlands, check out the Kröller-Müller museum. Its collection was created by an art lover who was one of the first to appreciate van Gogh. Although its collection is a bit smaller than that of the van Gogh museum in Amsterdam, it is, I think, of a higher quality.
I wonder whether they'll continue using their in-house Phrabricator or choose to support Phorge (https://we.phorge.it/) now that open-source Phabricator is no longer supported.
The battery is normally the first part to go, so a battery replacement is the best way of making a 5 year old iPhone feel like a new iPhone. And really battery replacements is a bit too tricky with most phones, but I don't think standardization is the answer. Rather some acceptable treshold for repairability would be good. E.g. that you can buy replacement batteries for N years, that the phone accepts third party batteries, and that a pro or half-skilled person can replace the battery with some tools in 30 minutes without voiding the warranty even for a new phone. If those conditions apply then I'd much rather have that than a battery hatch or a standardized battery.
This is essentially the pattern I've settled on for my homelab. I build a container image on a cron that contains all of my certificates. It has a small entrypoint script that copies the certs into a volume, and then that volume is mounted read-only into every other container that needs certs.

When certificates rotate the system builds a new image which gets pulled down by watchtower, which then in turn handles dependency management and restarts things as needed.
HN might be the best place to ask. What lights do galleries use? They make the paintings pop.
They can disagree, about 50 years ago UK was castrating gay people and even castrated Alan Turing and at the same time the black people were very limited on what can and can't do in the USA.

I simply don't see an argument here. Just because that's how it is now, doesn't mean it should continue to be the way it is. It's not even that old of a tradition, Some 100 years ago people were able to move and work wherever they like.

So you support particular kind of people come to your country, do you support deportation of people who are born in your country but don't meet the standards you impose on the immigrants?
This is a consequence of the industrial revolution and the invention of factories, which is relatively short in the span of humanities existence. Before that laborers would almost certainly work where they lived or very close nearby.
Do they? They are from Japan, not Hollywood. Very different business culture. And while they are successful and beloved, compared to Pixar they only made small money. They only have one movie who made comparable money to a Pixar movies, which was Spirited Away in 2002/2003, and it "only" made as much as Toy Story in 1995, and a bit more than "A Bug's Life" in 1998.

So even if investors in Hollywood knew about Ghibli around that time, they probably didn't consider it as a relevant investment.
Ah I see, not when I replied. That, or I read over them.
About a year ago. But I used cheap android phones.
I left university over 10 years ago, but I'm still aware of those friends who were in my year, vs others who were a year or two ahead or behind.

People from my year are the ones I lived with, did group projects with, worked until midnight trying to solve a difficult task that had been set, celebrated the last exam with, etc.

I certainly don't know the year for everyone. Students I mostly saw at parties, who studied different subjects (or went to different universities, for it was London) could easily be my year ±3 or more.
Show HN: GenHub the social network for open source prompts
I built an early version of a social network for sharing GenAI prompts and bots created with them.

GenHub is the open-soure GenAI prompt platform that allows you to:
Create a profile/ join the social network
Bring your own prompts
Build bots with your prompts
Run your bots, save the results (searchable)
Run other people's bots that they created with their prompts
Clone other's prompts
This is a beta and things will change, break, and improve in the coming months
Shoutout to Dolly Parton’s Imagination Library, which gives out free books to households with children in need.

https://imaginationlibrary.com/
Its not just that current crop of systems are laggy, but there aren't even clear paths towards recovery. Maybe xilem will get released and mature at some point for devs to be able to rally around it and build new desktop experiences with great perf again, but the timeline for that feels more like in 2030s with great deal of uncertainty. But in general I don't see any groups or projects taking serious, principled, look into making desktop performance great.
Pretty sure the usage of compare is correct here. Compare can point out but similarities and differences.
I understand that point of view but I don't agree with it. I work remotely because my coworkers are in different countries. But some of them come to local offices because they like it. This is a great setup for everybody and noone is complaining.

I know anecdata doesn't count but I observed the same in various companies: yes, those who prefer to work from the office miss their colleagues, but are surrounded by like-minded people and that works better for everyone.
An ad video/audio that calls out customer's name in your own voice
They do: https://ocaml.org/success-stories/peta-byte-scale-web-crawle...
Their OS may give them that capability, or it may not. There is no way to know.
> Didn’t cars end up making the most money despite the poor ratings?

That's because the critics view of what a 4 year old wants to see doesn't actually matter.

My son put me through hell at that time with almost daily viewings of cars, a merchandised Disney Cars bed, stacks of toys, clothing, hats, etc.

Cars is one helluva good movie if you're in the correct age range. Hell, the first time I watched it I loved it :-)
I wouldn't trust most tech workers to pick roses let alone pick government policy.
Its worth bringing up that his shaky mental state was probably very influential on his work.
I mostly agree but 'half the market rate' glosses over a lot of things.

For example, according to WhatUni [1], the average computer science graduate salary after leaving uni is £27K. Even after a year or two of pay increments, the average (median? not sure) CS graduate could be earning less than the £35K threshold. It's not just the "unis" that deserve double quotes with this kind of salary range: Exeter is Russell Group, but the same site says their graduates have a £28K average starting salary.

Staying with Exeter, their 2023 pay scales [2] have postdocs starting at £31K, and lecturers in the £40K-50K range; by the time you're earning double of £35k, you're well into associate professor territory.

Sure, you won't get a good senior developer for £35K. But if your business model is lots of juniors and high churn, you'll get plenty of people in that range.

[1] https://www.whatuni.com/degrees/computer-science-bsc-hons/un...
[2] https://www.exeter.ac.uk/media/universityofexeter/humanresou...
Linus and many other people hate C++ for having strange compiler rules and a kitchen sink approach. Ada, for a long time, was linked to a proprietary government supplied compiler, and also did not have many volunteer developers available. Cyclone was garbage collected, and Linus prefers not to deal with garbage collecting. I don't think he's ever commented on D, it's an obscure language.
My career was cooking for a long time before I ended up coding for a living and that's the only post I can think of by a programmer who really gets it.

It's pretty funny watching every conversation about food or cooking on HN turn into confident assertions of how it should be done. Meanwhile every attempt to do it smashes right into these problems and, while maybe gratifying for engineers, are virtually worthless to cooks. You can tell by the fact that no cooks use these systems.
Never heard of them till today. I remember frantically searchit for something like this because finding a yellow cab to come pick me up when stranded caused me a lot of misery.
These guys are accountants:

https://www.bbc.co.uk/news/uk-scotland-58025876
You prefer false dichotomies that derail meaningful discussions?