skysight-inc/HackerNews huggingface dataset:
And for anyone that isn't intimately familiar with FreeBSD's release history or anything, I feel like it's worth pointing out that the 4.x major release dates from over 23 years ago. You can run binaries from before people were inhabiting the ISS and/or right around the time AOL was big enough to purchase Time Warner.
Getting stuff done is by far not the only concern. Maintenance cost is definitely a problem to consider.
> Only if you use the AMDGPU-Pro drivers, since it requires HIP.

The video and compute drivers were merged some time around the ROCm 5.0 release last year. If you have a sufficiently recent kernel, you shouldn't need to install any additional drivers.

On Debian Bookworm or Ubuntu 23.04, you can `apt install libamdhip64-dev` and you'll have everything needed to use Blender's HIP GPU rendering.
Just when I thought tiktok couldn't get any lower. Shame on them.
If you care about anything, you work on it and you develop knowledge and positive emotions so you can recruit others.
I learned about this from Red Dead Redemption 2 (spoiler ahead), where the protagonist purchases a pre-built home from a catalog modeled after the Sears Home catalog.

What I found particularly interesting is that what Americans today consider stereotypical American farm houses were actually these Sears houses! They had a significant influence on the country's architectural history.

source: https://www.reddit.com/r/AskHistorians/comments/bgxt8q/in_re...
That's how my stepdad got hacked. He didn't understand bookmarks or urls or homepages, so he just opened his browser at google.com, searched for the name of his bank, clicked the first ad, and went to log in. Usually that worked for him, but once, he got a scam site, and he was on the phone with a call center in India giving them remote desktop access before a single alarm bell went off in his head.

Granted, it's partly my fault for letting a loved one be that computer un-savvy, but that kind of ad should have been detected and blocked before it was ever served.
off topic - did you get your geiger counter wired in?
"housing stock is generally extremely limited"

Agree .. but why is something I'd love to learn
Early 737s had a rare, transient rudder hard-over failure mode that defied analysis for a long time. When it triggered on final result was a quick spiral-dive into the ground.
Why can’t you also run ads on searches for their company?

And if they buy both sets of ads, then they just have to pay for all of those leads?

And if they do that, then what are you doing with your marketing dollars?
In some c-section cases they’ll perform “vaginal seeding”, wherein the microbiome from the mother’s vaginal canal is swabbed onto the face, mouth, etc. of the newborn.

https://my.clevelandclinic.org/health/treatments/22096-vagin...
Relevant disclaimer: I work for QuantAQ, another distributed Air Quality Monitoring company, my opinions are my own.

With proper calibration, the PMS5003 sensor AirGradient uses is a real and fairly good measurement of PM1 (<1 micron), which is often fairly correlated with (and makes up much of) PM2.5. However, the sensor cannot really see particles larger than 1 micron, which sometimes matters for PM2.5 (when the PM1:PM2.5 ratio changes, like wildfires), and very much matters for PM10. That's why QuantAQ uses a PMS5003 combined with a different sensing technology (an optical particle counter) to actually measure PM2.5 and PM10, not just extrapolate from a PM1 measurement.

We have a blog post here explaining more:
https://blog.quant-aq.com/can-your-plantower-pms5003-based-a...

I love the work that AirGradient is doing making AQ sensing technology open and accessible, especially to hardware hackers. The BOM cost of the OPC sensor we use alongside the PMS5003 is more than the cost of the entire AirGradient kit, so it is valuable to have options in the market depending on application.
Flashing elements alienate users
Well you’re free to have that opinion. But I wish for a day I could show you the raw power of pure SQL, you would never go back.
I don’t mind query builders. They help you fall into the pit of success and reuse useful queries. The thing I don’t like about ORMs is how you get back a graph of objects, and you can mutate any of them and call `.save()` on any of them. They pretend to be a live representation of what‘s in the database, but they are a proxy. And so when saving, the ORM has to sync the alterations you made to your objects with what it believes is in the database. It treats database tables as just a bag of attributes.

I prefer to work with values and be explicit about what’s been read and what needs updating. If you need optimistic concurrency control be explicit about that too.
Rust does actually do the many of the same optimizations, and in unsafe rust this can and does lead to UB.

An example of this, is aliasing mutable references. Rust has been designed to assume that two mutable refs will never alias, if you attempt to do this it is instant UB. My understanding is that even creating the aliasing reference is UB, even if you don't use it.

Another example would be uninitialized values. In rust, the compiler assumes that values are always "valid" and initialized. Since you need to allocate memory before writing to it, you need some way to safely have uninit values, and this is what the MaybeUninit wrapper type is for. The wrapper allows you to safely have uninit values, and once you write to them you can tell the compiler that they are initialized, but if you tell the compiler before on accident, it is UB.

References also are guaranteed to point to initialized and valid data, and can never be null, though my understanding is that there is some uncertainty about the exact rules of this with regards to uninitialized values and the exact semantics may change in the future.

(There are also a lot more things that I don't know very much about!)

All of these things are assumed to never happen, and optimizations are performed based on that assumption.

The nice part about rust, is that it makes it impossible to represent invalid states using the type system!

For aliasing, you can only have a single live mutable reference at any time, attempting to create a second one while another is live is a compile time error!

For uninitialized values, you simply can't create uninitialized values at all in safe rust. My understanding is that the only way to create an uninitialized value is with the MaybeUninit type or by using raw pointers.

So rust still has heaps of UB, but it doesn't allow you to do it by default, so you still get some of the optimizations you'd expect.

I think there are some cases where rust is missing out on optimizations though, like with signed int overflow for example, and probably more that I don't know about!
This is false. Apple applied for a trademark of a black-and-white depiction of an apple. They aren’t suing any Swiss organization over infringement of a trademark.

The Wired article makes it seem like Apple is going after someone here, but they’re ‘just’ filing for a trademark.

Whether you agree or disagree with the tactics, what they’re doing isn’t what you claim they’re doing.
Also there was a time it would be good to have Entity Framework or Hibernate on your CV. Another follow the money.
I moved everything to Zoho with custom domain to get rid of google's passive Ads from shopping, banking & whatnot
Amazon lens keeps running camera in background (Amazon iOS app)
noticed that the 'amazon lens' feature keeps running in the background until you open another app, even after you exit the mode - i noticed this because you cannot launch the flashlight until you switch apps. not sure if the camera is actually running or some flag is not reset, but ios seems to think so as well.
One benefit of containers is easy rollback.
Use it for sync between dev instances and local. Works very well. It's one of those things that once you set it up gets out of your way and let's you do your work.
The ability to express oneself through natural language is tangentially related to its suitability as the foundation of a user interface.

A natural language should let you express your thoughts effectively. A user interface should let you accomplish the task you want effectively, within the limited capabilities of the program you are using. And it should expose those limits, not make you discover them through trial and error, as opaque, conversational interfaces do.
"right now the biggest hurdle is the figma design"

The biggest hurdle is you don't understand what real hurdles will be. Getting a large population to use your app, paying for it and scaling are the challenges. Your design is very far down the list.
Google’s Ad business needs to be separated from search. Search should become like any other SaaS company, providing an API to its results and charging companies who want to run ads on top of the results. Those companies would compete among themselves, offering choice and value. They could also in theory choose another search API, providing pressure on old Google to improve and focus on its search results, divorced of any conflicting pressures from trying to operate both businesses.
This might be saying more about small businesses than Google Ads.
Kinda funny how a skit poking fun at something became a running joke about what could happen after a layoff and now people want to do it on purpose. And probably can and have fun with it. There are a lot of custom van builds content on YouTube so you could even make it really your own.
> Weight vs volume measurements

This is as un-winnable a debate as vi vs emacs.

The world is full of both kinds of people. Any attempt on the part of the format to dictate one or the other approach will simply reduce the use of the format. As firmly convinced as you are of the rightness of your position, there is at least an equal number of equally committed champions of the other position, regardless of which position you hold.

Encouraging/facilitating the presentation software to accept data in either format and render it in either format will be the winning solution.
Yes!

This entire thread is filled with people complaining about ORM not matching vendor promises which is true.

* It won't let you swap a database with no effort
* It won't remove the need to learn and understand the SQL it generates
* It won't make schemas seamless

We use it since it's a standard abstraction that we would need to replicate otherwise. It makes caching the database access possible which is remarkably difficult to do at scale for manual SQL.

It comes with standardized tools and best practices that make issues like n+1 irrelevant.

The main problem with ORM are:

* Misaligned expectations
* Bad ORMs

All you need to do to appreciate ORM is open a project written without it and try to change ANYTHING in that project... ORMs are amazing!
it appears that NRSV Bible text for Acts 4:27 chose

For in this city, in fact, both Herod and Pontius Pilate, with the Gentiles and the peoples of Israel, gathered together against your holy servant Jesus, whom you anointed
"Die" doesn't specify "murder." Death by natural causes or the implication of lack of future need for that person in a hostile manner. "Get lost." "Die." "Fuck off." "Lose my number." hopefully serve similar purposes. This dude was guilty of being an unprofessional asshole towards someone, but being an asshole isn't the same as aggravated assault or making specific threats. The 1 a. protects all people, assholes included.
Even the typefaces and rendering are… not elegant and polished.
huh?

when your app queries the db, the query is not composed from several pieces, it is well-defined in the relevant method

fn search(q string) -> result
return db.query(`SELECT id, text FROM table WHERE text LIKE $1;`, q)

this is a single query, not multiple

the db accepts a string and parses it to an AST, it does not accept a typed value

this means the interface is the string

unbalanced parens and whatever other invalid syntax is obviously caught by tests
One thing I really like is using Entity Framework inside of LINQPad (C#) for ad-hoc sysadmin-style queries.

They are much, much easier to write; and because most sysadmin-style queries aren't performance bound, it hits a great sweet spot where the ergonomics of an ORM are a win.

I'd really like a universal ORM, though. I'd like to be able to write queries in a SQL-like language and have my classes automatically generated for me, no matter what programming language I'm using. I'd like to write joins in a SQL-like language and have the data structures automatically populated, no matter what programming language I'm using.

I think this exposes the real flaw in ORMs and SQL: ORMs are too tied to the programming language, and SQL is too tied to its own domain. For example, if I could write a set of joins that returned structured JSON, and a JSON schema, perhaps some of the ORMs could be replaced by a simple JSON parser?
> The world's foremost XML-typing genius

A thought exercice: XML entities can be self referencing, have you ever though of how you validate a document that has recursive entity definitions ?

That's one quirk that comes first to mind, but the XML format definition is probably at leat a few hundred pages and I'm hopeful there's enough in there to fuel anyone's worst nightmares.

It's kinda interesting in itself that XML is seen as a plain and boring data format. I don't wish on anyone to be the receiving end of an XML typing genius' documents.
I think US hiked tax rates to finance the war because of the gold standard. Once it was cancelled the government was able to finance military operations simply by printing more dollars, coupled with other crypto-like tricks for artificially driving demand for USD:

- economic/millitary aid to various countries around the world ("airdrops" in crypto-speak)

- petrodollars: denominating oil prices in USD (similarly how Ethereum prices its gas in ETH, and makes ETH the only allowed medium-of-exchange to purchase ETH)
Would Google let you target ads against its own properties?
“I seem to have been removed as a maintainer on the this repo”
Sounds like this version finally has FreeBSD ports set up. That's a huge improvement; I suspect a lot of people who like Trinity would like FreeBSD and vice versa.
Sell a million dollars worth of stuff that only costs you $500,000 shipping included
Please stop spreading this incorrect version of the story.

Apple is not suing anyone; it has asked for a re-ruling from the Swiss trademark authorities. As far as I have been able to see, this is based on the ownership of the Apple Corps trademark, and the Swiss fruit association is making unnecessary noise that has been amplified by the credulous because anything about Apple (Designed in California) makes for more clicks.
What’s the difference between electric and gas leaf blowers with regard to particulate matter in the air?
Auctioneers would simply have a standard practice with respect to disclosure to protect their reputation, not keeping secrets. I know of none that advertise that they use a computer to verify the mileage/hours on equipment - if one did I am sure they would advertise it and be religious about its execution.
Hell I've accidentally clicked the sponsored results on Amazon, because my adblocker didn't remove them and it took me a minute to realize Amazon had started doing that.
> But it would have been bad precedent if you ever told someone on the Internet to FOAD and you got thrown in jail for it.

That isn’t even close to what the case was about. It’s not even within a charitable interpretation of what’s laid out in the article. I understand the inclination to make a principled case for defending speech, but if you’re doing it in the context of a specific case it’s a disservice to both to ignore the broad strokes of what the case is about.

Edit:

> The fact that the ACLU supported the guy should be a sign that something is up other than just catching a stalker.

No, it really shouldn’t. I deeply respect the ACLU, but they take the wrong side of many cases as a matter of course. I respect their principles in doing so, but I don’t have to agree with their position every time they do it. This seems very much like they’re on the wrong side, and it’s not about “catching” a stalker but preventing persistent harm to the person being stalked.
> There is no need to negotiate or bargain or convince anyone of anything.

With a third of your life spent at work (at least, but hopefully less), this is no way to go through life. Everything is up for negotiation.

People who want to attempt to unionize to get the right to work remote can do so, as organizing is federally protected activity in the US and it only takes 30% of employees of a bargaining unit to petition the NLRB to hold a union vote: https://www.nlrb.gov/about-nlrb/what-we-do/conduct-elections

This is a labor rights issue, plain and simple. It makes little sense to be subjugated to management edict “because they say so” when there are labor tools available.
Reminded me this blog post about the complexity cost of trying to cover all the edge cases, using the example of recipe writing!

https://buttondown.email/hillelwayne/archive/edge-case-poiso...
Because of the personalized nature, you can end up with elements that make it impossible.

For example, "VII" and "V" is forced by Roman Numerals needing to multiply to 35. Then, my chess puzzle was "Rf7+"

The atomic numbers -
V: 23, I: 53, Rf: 104

2×23+2×53+104 adds to a number over 200, which is frustrating because it seems like there should be a trick, or it should at least be solvable
i don't. ads don't bother me that much unless it is too intrusive. if all of us block ads, it means we need to pay for a lot of sites/apps that we are currently getting for free. I don't think it is a good idea. Not everyone is rich.
There was a really hilarious video clip going around of the queen’s funeral procession overdubbed with the audio from the reporting on Kim jong il’s funeral and it’s comedy gold..

https://youtu.be/aNBqjKFS1_c
IoC (not just interfaces, not just DI) should avoid this.

Inject me an object that gets people objects that meet an interface (ok might need to be async) and you can switch out how that is done later.

But it is more boilerplate
> If you don't want to learn an immensely popular and widely used library that's in pretty high demand career-wise, well, that's your lookout

You’re making the argument against yourself. Even including different dialects an in depth knowledge of SQL is far more valuable than knowledge of Hibernate.

Over a decade ago now I used NHibernate, the .NET version of Hibernate on a project. Since that project I’ve written code in JavaScript (Node), Python, Rust, played around with a little Go and Kotlin.

In all those years the only database engine I’ve used seriously is Postgres. Knowledge of Postgres has been invaluable throughout my career. I can’t remember anything about NHibernate. It’s not even specific to NHibernate either, I had to use ORMs in other situations (like Sequelize on Node) and I haven’t retained any of that either.
Every President? or most?
I'd like to have a close look at CloudLinux OS: https://news.ycombinator.com/item?id=36493691
At the risk of sounding like an idiot, can someone please explain why I cannot use `networkQuality` when zsh is my shell? Is there an alternative for zsh?
> I wish we could get back to a time when a few hundred MHz or less was enough for most things.

Modern display resolutions and color depths alone are responsible for a huge part of why that's no longer the case. And most people aren't interested in giving that up...
First time I’ve heard that claim was when I had to start working with Go. I was telling someone how much I miss LINQ/functional programming, and he said exactly the same thing “ugh, LINQ is why .NET is so slow”. I was perplexed. Do you even know what LINQ is? How does it make .NET slow? And to the best of knowledge they were comparing JIT startup time to Go’s AOT time. Smh
> America is a free country. If you want to use metric units there, go for it. Most packaging and standards already reflect metric.

Under 16 CFR § 500.8, metric-only labelling is illegal in the US for many categories of consumer products. Does any other country make metric-only labelling illegal?

https://www.law.cornell.edu/cfr/text/16/500.8
You might want to have a look at osc52
> Please show us some of this data. My point was that people cannot show the hard data and you have responded alluding to data, but not showing any.

Feel free to start here, but google will give you a lot more:

https://journals.sagepub.com/doi/10.1177/0013916502034003001

https://doi.org/10.1098/rstb.2017.0239

https://journals.sagepub.com/doi/10.1177/2158244020988869

https://www.oxfordeconomics.com/publication/open/265307

https://www.sciencedirect.com/science/article/abs/pii/S02724...

https://pubmed.ncbi.nlm.nih.gov/2255877/

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1443885/

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1404804/

> Everybody thinks this is expensive, but unless you are a FAANG doing all sorts of over the top fancy benefits that most companies do not provide, this is actually not dramatically expensive. So please show us some of this data.

I don't think there is any research into questions like "do companies save money when they don't pay as much in rent and utilities" because the conclusion is self-evident. You can argue that companies don't mind the costs, or that the costs are small compared to the profits successful companies make, but if a company doesn't have to pay someone to stock vending machines, doesn't have to pay for vast amounts of floor space in commercial buildings, doesn't have to buy and replace office supplies, doesn't need to replenish toiletries, etc then they will clearly be saving money and it's just a question of how large those savings will be.

> Say huh? This is really a strange reasoning IMO. Is this honestly a viable threat where you live that people actually give this a worry?

In America? Yes, sadly, this is a real threat. One company I worked for gave hundreds of employees 5 days off with pay just because they feared a disgruntled employee would come in and shoot up the place. They just said "We'll pay you, you don't have to work, just don't come here!". Every place I've worked for in the last 10 years or so has had active shooter training sessions (at some expense!) and paid for security services (both onsite and on call). No doubt that traffic accidents take more employee lives though! I suspect the difference to a company is that their name doesn't make the headlines when an employee gets in a car accident on the way to work and they don't want the bad press.
>are all the other ORMs just terrible

From what I’ve seen yes. My first ORM was flask-sqlalchemy. Migrating a database was literally just updating an object and running a command. No other ORM has been this seamless.
Scaling is probably pretty easy. Bootstrapping a community is the hardest part by far.
> Why would the Bahamas not complain?

If the Bahamas wanted to keep him, they wouldn't have extradited him in the first place. Why would they want to protect SBF?
look like it’s frozen in time from the early 2000s in terms of sharpness/polish/slickness?

That's a good thing.
> The first thing that came to mind would be that it'd be cool if CookCLI could "halve" recipes automatically. Say you had a recipe for 12 muffins but you only wanted to make 6 or 4, it could automatically divide those quantities and spit out a new recipe or shopping list.

The problem is that scaling recipes doesn't work this way, particularly for baking. Some ingredients don't scale linearly, cooking and mixing time doesn't scale linearly, etc. Savory items also have scaling issues, for example, some dishes include extra liquid that is lost to evaporation while cooking; you would likely not want to scale that up and would end up too much liquid at the end if you did. The opposite can be a problem too, don't scale down liquids in pressure cookers without thinking because you might end up without enough.

You would need a lot of extra metadata to be able to effectively scale recipes.