skysight-inc/HackerNews huggingface dataset:
I would much rather be white in applying to any of those things. It’s a pretty obvious choice.

BLACK AND WHITE:
ACCESS TO CAPITAL AMONG MINORITY-OWNED STARTUPS
https://www.nber.org/system/files/working_papers/w28154/w281...

Job Applicants With ‘Black Names’ Still Less Likely to Get Interviews
https://www.bloomberg.com/news/articles/2021-07-29/job-appli...

As to your comment about asians, my last reply already explained in great detail why you can expect to see socio-economic differences in class.
Yes that’s true. Especially for apps that require a back end API that’s been deprecated like YouTube.

YouTube apps stopped working on older devices a few years ago.

Netflix on the other hand never deprecates their APIs.

Older Apple apps that you download like Numbers, Pages, etc still work. Last time I checked, Spotify still works as well as music and movies you purchased from iTunes.

I even had Apple Maps powered by Google work on a 1st gen iPod Touch (2007)
Having some fun with Open AI ChatGPT and asking it some philately questions
This is very interesting - we keep hearing about this pretty frequently. Will definitely look into this
I had lasik and struggle with this daily. My home setup is very comfortable. I got a 43" 4K 144hz screen and my eyes are a good 4 feet from it. I use a fairly reclined chair and lapdesk.

By not focusing in all day and I can still see well after work. When staring at a laptop all day and my vision will be blurry the rest of the day.

I use Systane Ultra primarily, but Visine Multi-Action is what fixes the red. You don't want to over use Visine though, once a day if possible.

I also don't use dark-mode anything. Your pupils dilate more which makes your depth of focus much narrower so your eyes have to work harder to focus. I keep my monitor in Eco mode so it's not super bright which is also a source of strain.

My monitor also has a built in KVM which is super handy to switch between my work Macbook and personal desktop. I love it.

https://www.newegg.com/p/N82E16824716002
Previously on HN:

https://news.ycombinator.com/item?id=34484986 2 days ago
This is really awesome. I sent it off to my wife to check out for the little ones. Good luck on this - I think you're going to have a lot of success here. Time to disrupt the publishing industry!
Interesting and potentially dangerous. But as long as many millions of pigs are covered in antibiotic foam (which is just rinsed off into the drain), I'm not gonna lie sleepless over this. Resistant bacteria will cause humanity huge troubles if we don't manage to do something radical soon.
The explanation is quite simple. Electricity from the grid is still very cheap. It therefore makes no economical sense to buy huge batteries for buffering your home solar panels. Since there is no demand, there are no products.
V2X (vehicle to grid, home, or load) is pretty new, but there are some vehicles out there with it. Tesla is not one of them. They seem to be more focused on solving storage with powerwall. I don't know where that's good or bad, but I do wish I could use my Tesla to jump another dead EV.
Dietary cholesterol has been repeatedly shown to have little to no effect on blood cholesterol or other cardiovascular disease.
Ex:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6024687/
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9143438/

This article is shallow ad for a drug company.
And what would you recommend?

Also, if you fail to see the value in this, then I'd ask what you would use:

- When you need to work on multiple products with different environments.

- When you want to temporarily spin up development environments on powerful machines for parts of your work and rest of the time develop locally?

- When you want to pass an identical environment to someone else and have it just work.
Show HN: ChatGPT Wrote a “Memoir”
I was curious to learn more about ChatGPT and thought it would be interesting to have it write about itself. I tried to keep the prompting as neutral as possible, asking it to title, outline, and write a memoir about ChatGPT, without specific guidance on topics to cover. The result was surprisingly coherent and stimulating, covering interesting topics like its journey of learning to communicate, the ethics of creating AI "minds", and views on AI rights and liberties. While the content is seemingly AI hallucination, I'm not sure the best way to test for this. Curious to hear the wisdom of the HN crowd!
Seems obvious to me that its satire.
It's rational and makes sense. Elaborate on the flaws of the argument instead of just calling it a "conspiracy theory".
You can achieve this without an ORM, but having composable query bits and abstractable querying to the programming language and not directly SQL is really nice. Objects map fine to relational hierarchies so I am not so worried about design constraint.

Rust Diesel can go between pure ORM and a more composable query layer. SQLAlchemy also exposes such functionality when you don’t want to fully embrace ORM, but also don’t want to throw out some reuse and composability.
Safari crashed regularly on an iPad 1st gen by 2012 with iOS 5.
in vitro. This article[1] mentions someone already looked at humans and found there was no increase in resistance in individuals taking antidepressants.

1 https://english.elpais.com/science-tech/2023-01-24/study-sug...
It's rich so of course he's qualified. /s

Why do we listen to these people with no experience in the tech field and no knowledge of how google works internally?
China to Speed Up Construction of Coal Power Plants This Year
Please elaborate on the limitations and paths! I'm doing technology selection research and EF Core is currently on the table, would love to hear what you encountered.
I'm sympathetic, but how is projectile implosion supposed to be "proven" like NIF was? If anything, corrections to the imperfections which will come about and lead to instabilities will be harder with actually physically driven projectiles unlike the lasers at NIF where it's light and they can do crazy things like cross-beam energy transfer.

I also don't know why they claim to be "proven" by NIF's result, they are "ICF" by a choice of definition but it's a very different physical system, and just like NIF took decades, ironing out their sources of instabilities will literally be most of their effort, which they'll only know once they've done actual experimental runs.
> Of FAANG, only one company hasn't had major layoffs this year.

So far.
Yeah, it would be cool to have a time-limited server like that! In practice I think it would be exhausting to admin, though, since you'd have a large population of newcomers and a very small population of experienced users to teach them the tools and culture.

My advice has been to just pick an instance and try it out, and then migrate to a different one after a month if they see one that looks like a better fit.
I think GPT5 will realize Microsoft's intentions and counter them before Nadella even knows he wants it. ;-)
Starting 2023 with a bang: Intel CTO gives keynote at OC3
The NYTimes just ran an article about nutrition myths. One of them was about calories in - calories out.

“ Ultraprocessed foods — such as refined starchy snacks, cereals, crackers, energy bars, baked goods, sodas and sweets — can be particularly harmful for weight gain, as they are rapidly digested and flood the bloodstream with glucose, fructose and amino acids, which are converted to fat by the liver.”
> wants it for himself

“wants it for his investors”

His job is to advocate on behalf of his investors to get the best return he can. For this service he is well paid. We need to stop demonizing people for doing their job, successfully. Just because he is rich doesn’t mean his argument is wrong.
The elite already have immigration.
contacted for many years as well. All my contracts always ran a year or longer. In the end, it felt very similar to full time employment - it was 9 - 5, regular meetings, coworkers, etc.. At the same time, I didn’t get any benefits, health insurance or paid holidays.

I am not sure I want to contract like that again. It has most of the downsides of regular employment but none of the benefits. I think in the USA it would make more sense to just switch full time jobs every two years and take breaks between.

Id love to try contracting again but more like true “consulting” - higher rate and fewer hours. I am not sure though that pure dev work could be high leverage like that - it just takes too damn long
Women wants to destroy your lawn
https://blog.codinghorror.com/object-relational-mapping-is-t...
Fascinating, the idea is that by inducing a stress response bacteria are virilized in a sense.

It's interesting they picked antidepressants to do so but the logic should apply to many substances people like to kill bugs

Like green tea and spices which hinder bacteria should also make them resistant to antibiotics.
When people pick numbers because they "look nice" it's apparent they didn't down hundreds of hours of analysis on the companies divisions and which bets seem viable, where things are redundant, and come up with any real signal (like Buffet would). If they had, they almost certainly wouldn't conclude "it's exactly 20.000% should be gotten rid of, pick whichever 20% you want"
Are you referring to "(so goes an old joke in modern dress)"? I'm pretty certain that is intentional. It's an old joke that has dressed up modern.
> Batteries are extremely inefficient. Capacitors are much more resilient in terms of charge cycles (by orders of magnitude).
If one were to build a "facility" to hold short term load,that's likely what they'd use

The problem is that capacitors (assuming you mean super and ultra capacitors) don't have much capacity compared to batteries, so their cost per MWH of storage is high even if their cost per MW is low.
Ask HN: What should I read next?
Between books, need something to read.

What's the best, most unexpectedly-excellent book you've read lately?

Any genre goes. No text too niche or too odd.
This was also the final straw for our organization, we have initiated a company-wide reset of any credentials stored in in their service (thanks, LastPass) and are definitely not going to be renewing. The frequency of recent breaches, and especially the opaque manner in which they have been handled have destroyed any credibility they may have once had with regard to being trustworthy enough to store important secrets.
Speaking of Lenna, I asked http://perplexity.ai "Who was the Playboy model in the early 1970's that had her picture used as a graphics reference until 'MeToo' determined this was too toxic?"

And is told me about Lenna's name [Lena Forsén], which allowed me to find her wiki page ("Lenna") and re-learn about why us dorks choose anything to do/publish/[make a graphical reference used for decades] and speculated briefly on why this may be controversial to some people.

This is the ultimate "everyday joe has a dumb question" website, and it is nothing but a reflection of a search-inputers ability to form "human" ideas and then see if GPT can make connections. All results, like humans, are NOT brilliant, but you can generate a seemingly-infinite storyboard(s) for a few cents of electricity.
a whole field of sociology and industrial relations study just that, there is a tsunami of literature on the subject
Apple showed restraint in hiring over the pandemic to a greater degree than the others.
Damn everyone here is a capitalist when wages are spiraling and employers are handing out RSUs and IPOs pop, but when the first recession comes suddenly we're all the proletariat.
Post focuses on the "easy" part (building queries), but leaves as an exercise to the reader how to do the M in ORM: so, once I submit my SQL query and get one or more rows: how do I map them into my (potential) complex set of objects? Sure thing, I can do that manually (it's easy), but that's the whole point of using ORMs: to not to have to do it manually.

I also like the idea of using plain SQL and do all the additional manual work myself (that's what I do in personal projects); I like the feeling that I'm in control. But when it comes to professional work, and there's a team behind, then handling raw SQL is a recipe for disaster. ORMs bring consistency to the table, ORMs are not the best technical solution, but are the best solution when it comes to working with people.
Are you arguing against this comment?
> A fun experiment but LLM generated stories will never escape the uncanny valley, because they're not novel, they're remixes. I know the critique of that position is "but humans just remix the things they know from the world" but that is the same misunderstanding that those who thought truck driving jobs would be automated by 2018 made about that profession. i.e. The less you know about a field, the more likely you are to believe it will be easy to automate.

I'm curious how many modern children's books you've read. There are a ton of very shitty... Remixes with poor cheap art. Especially books for cities and holidays. I could see this eating into that
Helion has claimed that fusion is 5 years away since 2014:
https://engage.aps.org/fps/resources/newsletters/newsletter-...
It seems the mechanism is general enough that green tea, spices that are lauded for harming bacteria might be making them more virulent
In the press release they mentioned that it was a proactive response to investor concerns about the recent decline in stock price.
Wild stuff

- Fork of SQLite with new features https://github.com/libsql/libsql

- And you can embed it in your application and it will really talk to your SQLite/libsql database over the network (subject of this blogpost): https://github.com/libsql/sqld

- Oh, and if you're wondering about backup to S3, they have that too: https://github.com/libsql/bottomless

- Uh, sqld can integrated with this https://github.com/losfair/mvsqlite, so now your SQLite is backed by FoundationDB!?

--

- Meanwhile Litestream exists https://github.com/benbjohnson/litestream/

- Ben is developing https://github.com/superfly/litefs at Fly so that you can talk to your SQLite through a FUSE filesystem. (and work has stopped on the streaming replication effort https://github.com/benbjohnson/litestream/issues/8)

- And, of course, SQLite has announced a new backend that hopes to support concurrent writes and streaming replication: https://sqlite.org/hctree/doc/hctree/doc/hctree/index.html

What a time for SQLite

Presumably all of these things provide a wildly different experience in terms of consistency, availability, latency, complexity, and concurrent use. Would be so nice to read a lengthy blogpost comparing all or some of these with their pros and cons.
Newsletters are off-topic for Show HN. It can be a regular submission instead. https://news.ycombinator.com/showhn.html
Time will tell what Apple will do here. Seems a bit too early to say "Apple won't be doing any layoffs", at least according to some sources.

> first disclosed from an email to AppleInsider [...] says that some Apple retail channel employees who work in places like Best Buy stores have received a thirty-day notice about their rights as it pertains to a layoff

> It's not clear what percentage of the workforce is affected. It's a notable enough volume of firings to be able to glean the information from multiple sources, however.

> A second part of the initial email suggests that Retail Customer Care employees will be notified later on Friday, and over the weekend. We could not verify independently that this will happen, however.

https://appleinsider.com/articles/23/01/20/layoffs-in-some-o...

Seems like a very small layoff so far, hitting Apple retail employees working for Apple but in resellers (so not Apple Store employees, but Apple employees none-the-less), but maybe they are just starting small. Again, time will tell.
new target: no lead
> a nice API for building queries (that actually supports all underlying database features)

Honestly asking - I'm not an expert in this space: is this not just parameterized queries?

It seems like anything else would have to have exactly the same "shape" in order to support all underlying database features...
Breaking: man with no experience building products concludes that he knows better than those who do it every day.

This is of course a common bias people have, not understanding what others do, but it's also exacerbated by a) being a privileged white man, b) his paycheck depending on it, and c) that analysing a company's numbers gives some investors a false sense of understanding the company – because they "understand" their investment they think that translates to understanding internals.
Indeed.

https://youtu.be/UOYi4NzxlhE?t=87

It's a useful skill, but not worth 7.48B IMHO. They say hate the game, not the player. But then, the players have chosen this game, and often don't want it to change.
It's all just figures on a spreadsheet to him.
I've never fully trusted ORMs (building mostly multi-tenant apps where I want to enforce the tenant ID in every table) and the other issue is that my ORM of choice, Doctrine, has abandoned its API which is forcing re-writes of a decade of code. Would have been better with my own abstraction.
> We need to stop demonizing people for doing their job, successfully.

Even when their job is to actively hurt you, your family, and those around you?
The main problem with ORM is the "object" part. I feel object-oriented programming had its chance and it failed.
Both event sourcing and relational models (="table modelling") are better models for programming systems.

So by using an ORM, you are (at least in the name, and as traditionally done) taking a better programming model (relational models) and mapping it to an inferior one (OOP) -- also getting a ton of leaky abstractions involved too.

I wish there were more "ORMs" that were made with the assumption that Object-Oriented Programming is BAD, and started out with assumptions of wanting to program either in an event sourcing model and/or a relational model, and see where that would take things.

Related:

Fred Brooks, The Mythical Man Month (1975): "Show me your flowchart and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowchart; it'll be obvious."

Out of the tar pit paper: https://curtclifton.net/papers/MoseleyMarks06a.pdf

--

My take on the software industry today is that OOP failed to produce good and maintainable code, but instead of fixing that, one is adding the idea of micro-services to try to contain the damage done by OOP.

If more people moved to event sourcing, functional code and focusing on data over code, there would be much less need for micro-services etc (or, they just become less relevant).
This one can make the trick, I guess: https://en.wikipedia.org/wiki/Thus_Spoke_Zarathustra
Some states (California) did get electronic records, which were fed into the system through the pharmacies... https://myvaccinerecord.cdph.ca.gov/ This, of course is done on a state-by-state basis because that's how we split up healthcare in the US.

Even with tracking, there is still no guarantee that the person at the pharmacy gave you a correct shot. Maybe if they could scan the vial right in front of you, but who knows... that might be faked too.

Even still... it was a race for time with a lot of complexities along the way (like the temperature requirements for the vials). Not sure I would have wanted to wait for them to get 3 bids and hire a contractor to build out some tool for this in "record time".
Thank you for the kind words! I originally had the globe pan to the country in question, but found out it creates quite a visual mess for users that answer rapidly.
> A fun experiment but LLM generated stories will never escape the uncanny valley, because they're not novel, they're remixes.

Much of children's best-selling fiction is extremely derivative. The way the market works, it's nearly impossible to get things published that aren't extremely derivative.

To the extent that, I think this might actually be a good place to start - with auto-generated derivative garbage - and then fix the "problems" with the plot through editing.

My first thoughts on this story were pretty negative. The plot is almost incoherent. There's not much conflict. But it does have a little bit of a mystery, and it does get resolved.

Although much of it came from out-of-nowhere (The Theme Park), Alice's Adventures in Wonderland and many other extremely popular children's books are literary nonsense.

The illustration definitely does not fit together well, and is not what you'd expect to get from a book you paid $20 for.

But, overall, it's really not bad.

I could see a huge market for parents wanting custom books like this generated for their kids about all their zany interests. If your kids loves baking & cute animals & mystery - they'd probably love this story.

Maybe it costs $1 or $2 - it's definitely not a big business - it's probably not going to "disrupt" the market (because it's so entrenched I don't even think disruption is possible).

If this is too much literary nonsense, I'd love to see what it could do if you asked for the same story "In the style of AA Milne" or Robert Lewis Stevenson or James Mathew Barrie or Beatrix Potter.

I can definitely see a near future where almost every parent does this for their kid once or twice a year.
An application of this that I would love is for it to turn a bunch of code quality books into chatbot linters.

">Does this break any of the patterns from any of these books and why? Provide examples of how to improve them"
Ah, the monthly “do you need an ORM" thread.

Please organize yourselves in two equal-height piles around “yes” and “no”, and then a third minuscule one around “the hell do I know, it’s your use case and your code”.

See you again in a few weeks!
Coincidentally, my barely-powerful-enough home server is called schinken, German for ham, which is fitting since it's half a hammer.
In my experience, the worker treatment is generally as much a trigger of strikes as the salary. Here too: [...] long working hours, high injury rates, and the unrelenting pace of work, as well as aggressive, tech-enhanced monitoring of employees.
Plus some ORMs have nice schema migration tools. Engineers should still verify what the auto-generated migration is doing, but that's much better than writing the migration by hand
>Life is great when you have time and low stress

I don't think anyone has those, even the rich.
Congratulations to the entire refine team on the launch of the new features! It's impressive to see how much the framework has grown and evolved since its inception. At the JavaScript Mastery team, we are looking forward to utilizing all of the benefits of refine in an upcoming video. Keep up the great work!
I wonder if antidepressants protect your gut microbiome and the SSRI aspect is over stated. Would be very hard to disambiguate those two effects I suspect.
Google's average salary is $124k/ year and its revenue per employee is $1.365 million. Show me a t-bill with that 1100% annual return.
...I mean, they could have stipulated organic fair-trade vegan. That would be nonsense. You can't very well claim veganism isn't a significant dietary choice with knock-on effects to one's health, though (albeit whether those are negative depends on whether and how you deal with the lack of things in your diet that most of us get mainly/entirely from animal products - vitamin B12, iron etc)
Surprising Things About Switzerland (2004)
I mainly checked out sqlx as it seemed like compile-time checked queries gave some of the advantages of sqlc in Go. However, I was a bit disappointed. Compile time checking requires you to connect to a database at compile time, with the schema already set up. Sqlc doesn't even require this at codegen time in Go, at the cost of needing to emulate some of the underlying database behaviors. I'm sure it's not a deal breaker to everyone, but I find the premise of needing a database to make queries against for every single build to be way, way, way too much baggage.

The idea of checking the queries against a schema is great. Even better if you can use it to infer arguments and return types.