skysight-inc/HackerNews huggingface dataset:
It's not an antipattern and it will never be. Like many solutions there are scenarios in which using an ORM is the simplest thing to do.

Also there are many different implementations of ORMs each with different features (Martin Fowler has a list from his Patterns of Enterprise Application Architecture: https://www.martinfowler.com/eaaCatalog/index.html). For example in the JVM world, jOOQ and Hibernate provide very different solutions.

* jOOQ provides a table data gateway (when used without records)

* Hibernate: unit of Work, Lazy load, multiple inheritance strategies, Query object, Versioning, lifecycle events, and much more. Lot of the grief about Hibernate comes mainly from people who never bothered RTFM.

Having said the above, if one needs flexibility and high performance (with complex queries), using vanilla SQL is invariably the best way.
I wouldn't worry about that. If you're going to worry about something, you should probably worry about the radium we added to make them glow in the dark!
Full circle AI from paperclip to paperclip maximizer!
I don't know if its just me, but I personally never had a no-filter conversation in this country. Like if I ask someone about my hair or something, they always answer politely. There is still enough social pressure not to say a bad thing about other people. If I ask a question, the answer is always something which would be considered polite. May be not American polite, but still polite imo.
Where did the person you’re replying to imply they didn’t have solidarity or wanted office work imposed on everyone?

The parent poster simply said “Once you’ve tasted the fruits of WFH and you like the taste, you’ll never go back.”

And the reply was essentially “to each their own but my WFH experience was different “ and you’re ready to jump down their throat with accusations of lack of solidarity.
Even better, it can self-assemble with other pieces of paper into a killer robot and murder us.
I wonder does the metric system prevent use of dozenal. Just redefine kilo etc. like we do with bits and bytes.

We would lose consistency between new and old MW for example or milligram and millilitre. But shouldn't it otherwise be fully consistent?
Head hunters and recruiters are very cognisant of this. Jobs are not advertised anymore as "outstanding compensation", "unlimited PTOs" or "great career perspective" but by "REMOTE". And like it used to be a lie that the compensation would be outstanding, it's often a lie that the position is truly remote. Then it's explained that for this remote position, you need to come 4 days per week in the office, and has a big benefit of one day from home - but not Friday nor Monday of course. Sneaky sneaky
It literally was the point of Brooks that the only significant productivity boost is using other people’s software.
I don't mean to be a jerk, and this isn't directed at the parent poster, but when someone makes an argument that contains an unsound point that in a vacuum cannot hold up, that unsound point critically degrades the entire argument.

When someone includes statements in an argument that can be trivially disputed, they should fully expect those weak points to be disputed. The rest of the argument, imo, does not deserve critique until the trivially disputable points are resolved.
This is a classic silver bullet syndrome topic...
https://www.youtube.com/watch?v=qamzvLfX-Zo
Election Misinformation Update
The book covers what is necessary economically to run to be an MP.

> Running for MP can bankrupt you if you haven't got a passive source of income.

MPs become landlords for the passive income that is necessary given that running to be an MP can leave you destitute.

Landlords aren't (usually) becoming MPs in order to vote for more favourable conditions for landlords. Indeed, there have been many policies detrimental to landlords e.g. removal of mortgage interest income tax relief.
> I can’t remember anything about NHibernate.

I'd argue that means it's doing its job quite successfully! The point of using an ORM is so you don't have to also be a DBA on top of writing code. If I have to remember a bunch of implementation details and program weirdly because of the leaky abstraction that is an ORM, then the ORM has failed. If I grab all the rows from the database and then WHERE clause them in my code, instead of querying the database with a WHERE clause, and then wonder when my program's slow, that's on me. But if the ORM makes it straight forwards not to, so I don't need to grok the database, so I can focus on the other problems, then I'd consider it a success.
Exactly, nobody bothers checking what kind of queries the ORM produces. The stuff works on dev (with 1% of the data prod has) and they get merged.

Then it goes to production and everything grounds to a halt because some bit in there fetches a 100M row table that was 10k rows in dev.
Sorry to bother you, but in AirGradient DIY page you mentioned Wemos D1 Mimi clone of D1 Mini - works good with your firmware. Is it still true, or would I run into problems should I buy one for AirGradient?
I am curious. I used Xfce every day for 4 years, and for me, it's the best FOSS desktop. In what way does it feel cludgy or hacked together to you? Can you be specific and give some detail?
Not to mention a little movie named Frozen.
On the one hand, this isn't that bad because it's just Waze advertising division, and they are dropping Waze ads for incorporating Google Ads.

On the other, these things are never isolated and I'm assuming we have a few months before the next round of layoffs at Waze because of overlap with existing Google products.
Oh, that's interesting. The archive.today version of the article seems to have stripped the date out of it.
Oh, cool. I used to use the site to check DSL availability at exchanges. Looks like they’ve expanded massively since then!
Apple did a lot right with this change to make memory fast. I can see AMD and Intel adopting a similar strategy and putting something like 16 GB of dram on chip. Need more than that? Then add “L2 dram” on an external dimm. 16 GB will cover most people’s use cases and with the ability to add L2 dram the high memory usage cases are covered too. (I remember when you could buy cards with L2 cache on them back in the day. 486 I think had them. This is just taking it to the next level.)
Graviton isn't a novel arch it piggyback on billions and years invested on mobile.
Checked the installation disks. It is only available in Windows for Workgroups. The DLL already exists in WfW 3.1. It does not exist in the plain, not for Workgroups Windows version 3.11 released after WfW 3.11.
Funny thing is that I think SI would work as well in any other counting. The prefixes are just handy way to handle large and small numbers in certain range.
A plastic bag is literal trash.

The problem with these sort of equivocations is that they conveniently side-step the categorical argument. One something like; do not surround yourself with trash.

realshadow has rule 7, https://news.ycombinator.com/item?id=36503179, "quality over quantity". That is a value argument, not an efficiency argument. Only arguing from efficiency is essentially internalizing the logic of the machine. If everything is evaluated whether it minimized/maximizes one metric or another, quality of life will, inevitably, decline. In this case, surrounded by plastic trash, ingesting, drinking plastic trash.

Plastic bags must die. Why? Because they are trash. That's the value system I would love to see in this world.
https://www.shelly.cloud/en/products/energy-metering-energy-...
Aren't the majority of models on hugging face under that weird rail licence that isn't open source?
We currently don't do any paid advertising at all. But good point, we will look into this and it's definitely something we can improve.
Because M&A.
Between clickbait journalism and soundbites taken out of context, I'm only going to devote as much brain as the people devoted to the aforementioned.
Russian ‘War Reporters’ Demanding More Blood Than the Kremlin Can Deliver
I cannot believe he did the wiring "by hand". Loved the bug example he highlighted, which I hope is something he can reference later in life, "What's the most difficult bug you ever fixed?"
Nothing is slicker than KDE5, Windows and also Macos are really arguments against mega companies being able to do GUI well.
> How would you alternatively design a system that calls emergency services in a crash?

Keep state for a longer period of time.

Activate when you start driving and deactivate when parking.

Start could be triggered by gps detecting movement over longer period of time over roads.

That would avoid festival where you're stationary in a place where cars arent allowed.

Problem here is solved.
Or maybe they use natural language because they have no choice. If Nadella or Biden could just push some buttons to make things happen, they probably would. I know I would.
You're saying that if you manually turn off $DEVICE, but have battery backup on $DEVICE, it'll actually keep on running until the battery runs out?
Comparable products are typically 3x or more the price. A lot of costs are not BOM related, e.g. costs for tooling (e.g. plastic mold), certifications, testing & calibration etc.
Right. The riders have to worry. Sure. https://themarkup.org/working-for-an-algorithm/2022/07/28/mo...
'tr' and 'cut' are also very useful; 'tr' can be used to get rid of extra spaces and to conver commas to spaces and vice versa (and to handle text data with pretty much any character used as a separator).

'cat $SPACE_SEPARATED_FILE | tr -s ' ' | tr ' ' ',' > out.csv

Allied with 'cut', it becomes easy to pull particular fields out of a text file:-

'cat $FILE_WITH_COMMAS_AND_SPACES | tr ',' ' ' | tr -s ' ' | cut -d ' ' -f1,2,17 > out.txt
Show HN: Playground for OpenAI Function Calling
Hey everyone, I'm Petr. I'm excited to share LangTale Playground (https://langtale.ai/playground), a first-of-its-kind tool enabling anyone to experiment with OpenAI function calls without coding.

Born out of a hackathon project, it's now a part of our broader LangTale platform aimed at tackling common developer challenges with Language Learning Models (LLM). These include prompt integration, testing and debugging, version control, auditing, and usage/cost management.

Here's our tech stack: Next.js by Vercel, Tailwind CSS, OpenAI, PlanetScale's Vitess database, and the Radix UI & Shadcn's component library.

We're eager to hear your feedback as we launch LangTale Playground today. Give it a spin and let us know what you think.
This mirrors my opinion about ORM quite well, but it's missing an important angle that might help understanding why ORM made it that far in the first place:

The big selling point, in hindsight, was running document-style persistence on relational. Today we happily dump JSON blobs in there and we accept that we'd have to deal with the consequences if it ever came to querying on some oddball property (chances are consequences won't even be so bad), but back then it was always relational first, and relational everything. All that busywork of spreading things like the change history of the user's favorite ice cream out to glorious relationality, stuff that will never ever be accessed outside its natural tree structure ("the document")? ORM were excellent at that.

Now that we have arrived at something that I'd consider close enough to consensus that some data is fine too keep in document blobs (instead of spreading out), the value proposition of ORM is much, much smaller than it used to be.
Why this comment reads too much like a well-fine-tuned-to-sound-real GPT?
I get your point but, no, it’s not for the same reason Amdahl’s law exists: if you already weren’t taking any significant time on something, even cutting the whole thing out would give you negligible benefits.
I wouldn’t call this a “social media curator”. Looks more like a formatted pseudo-RSS aggregator with some project-specific social media elements tacked on.

For one, I don’t see any actual curation going on. Additionally, I’m not sure any of the websites being pulled are “social media”, considering most are news in some capacity.

It’s absolutely an interesting project, but unless it can target Reddit/Twitter I’m not sure how it could supplement RSS feeds for me, let alone replace them. I mean I follow most of these websites through my RSS already, and don’t need to wait for some custom extractor to be built for the websites I want to target.
I think one reason why Pixars "decline" is more harshly felt is because the Pixar "style" is the only type of flagship animated feature Disney puts out nowadays.

It's not that Pixar has always been good, like any company there's been ups and downs, but because Disney themselves have also gone all in on 3D animated films[0] (and none of those really come close to what Pixar puts out; even the recent flop of Elemental is still a better movie than most 3D Disney movies of the past decade), all those movies get compared to each other in a much more direct manner.

Back in the early 2000s, it was pretty straightforward; Disney did the 2D animation, Pixar the 3D animation. It means that when Pixar or Disney puts out a stinker, its easily covered by the other. A sort of trade if you will.

Disney has kinda now ended up in a bit of a slump for the past decade (likely directly the fault of the Live Action Remakes they keep doing - it feels really uncreative), so the highs and lows of Pixar are that much more apparent.

They'll be doing fine. Elemental sucked, but it doesn't seem like it's a pattern for Pixars movie creation process. Not in the way that Shrek's poop humor ended up dominating DreamWorks for over a decade or how Despicable Mes "marketability" ended up ruining Illumination.

[0]: The last blockbuster 2D animated movie was the Princess and the Frog and according to Disney it didn't make enough money to continue making them.
I'm curious what that the rates are for Aeroflot's Ilyushin Il-96.
Yes it works good.
That I recall, Itanium's major problems were:

- A flawed theoretical basis (super-smart compilers and VLIW CPU architectures were the key to faster general-purpose computing performance)

- Many, many years of design/development delays before Intel actually shipped working hardware

- Competing CPU architectures (x86, RISC, etc.) increased their performance enormously during Itanium's delay years

- When you finally could get Itanium systems with decent performance...they were damned expensive, and their bang-for-the-buck performance was mediocre at best.
I wonder what the first pizza would've tasted like...
I think the source of the PM pollutant is more important than the number of particles of a specific size. For example: I don't have no data or research on how bad the smoke from the barbecue is for your health, but my intuition tells me it's probably less harmful than the smoke from an old car that needs an oil change, regardless of that the metric says about the number of particles.
Oops, yes, thank you.
Super fun game ahah thanks for making!
The author's criticism of Up is weird to me. I watched Up when it was released. Can't say I remember it too much. But, I don't think it's fair to criticize a movie by saying that a movie is bad if you remove the best scene. One of my favorite books is The Blind Assassin by Margaret Atwood. 99% of the book is the musings and activities of an old lady, which are not interesting to say the least. It's not until the last page that the whole story is tied together. If you removed the last page, it wouldn't be a great book.
Another reason to use standard MySQL? ChatGPT is really good at writing, and modifying, SQL queries and the code that injects input into it.

You don't really have to write SQL anymore, you just tell chatgpt what you want changed and it works most the time. The times it doesn't, it gets you most of the way there.
I’ve had a lot of water bottles over the years. This is quite an unpopular take, but I believe PET to be lesser of all evils.

I’ve spent a lot of
money on numerous steel and plastic water bottles. They all break and good luck recycling them. Most likely they end up in landfill.

PET bottles use less raw resources, are cheap, lightweight, extremely durable, and when they reach end of life they’re easier to “recycle” (downcycle is probably more accurate).

Modern PET bottles shouldn’t leach into your water. You can at minimum use them until the expiry date on the bottle. If you’re concerned about leaching, don’t take my word and do your own research.
Merging two apps won't get you promoted.
> Fundamentally, no-one likes working with other people's code or solutions.

I dislike this generalization, as it doesn't go down to the gist: Solutions that adhere to "some" well-known patterns or ways to build things are more likely to be accepted by other fellow developers.

I, personally, can happily work with other people's code or solutions. :)
> I. HATE. MUSICALS.

Have you seen Sing, and/or Sing 2?
The Case for a Digital Euro
I was confused for a while but it means the individual digits when summed should total 25. That worked for me.
It's about presentation. A random WordPress blog (or blogspot or whatever other blogging engine you prefer) has a very specific visual style that denotes "I'm not a professional, I'm just me with an opinion".

Medium and Substack visually mimic newspaper columns and give the same kind of cachet to their authors, even when it's not necessarily deserved.
Over here, your water bill has 2 components, the price of the fresh water and the price of the waste water. Waste water is at least as expensive per m³ as fresh water, sometimes more than double. If you are using rain water, you save on the fresh water price, but you have to still pay for the waste water. And since waste water price is calculated from your fresh water consumption, you either have to have a second meter for the rain water (expensive) or you pay for an estimated amount of rainwater calculated from the roof area you are collecting from. Also very expensive, because the estimate is always not in your favour.

So not really "free" at all, and rather expensive enough that nobody does it...
MindEye, a novel approach to retrieve and reconstruct images from brain activity
Airly is extremely blocking access to their data. They boast with "open data" but their API is extremely restrictive (ToS) as well limited (ex. how much data you can get and how often), terms of service are very complicated and change often without notice.

Airly is exactly a case how we should NOT monitor air quality as this company sells cheap stations to (mostly) government with then high monthly fees and with closed access to data obtained from those stations, while at the same time saying words such as "open data".

Source: I'm author of Kanarek mobile app, and had a "pleasure" to work with them. https://spidersweb.pl/2018/01/kanarek-airly-smog-w-polsce.ht...
We're already at that point.

Ask chatgpt to generate the schema for an online business that sells sports equipment and see what happens.

Now ask it to write code accesses each table.
Ask HN: Do you use Docker extensions?
I've noticed in Docker Desktop a part in sidebar called Extensions. This seems like something rather new to me. I've checked the Docker web [1] and list of extension [2].

At the moment there are 72 extensions. Given a large number of Docker images and use cases this seems like a rather low number to me. On the other hand some of the extension have a large number of installs, e.g.. Disk Usage 280k installs, Logs Explorer 74k, etc.

Do you use any of the extensions and for what do you use them?

[1] https://docs.docker.com/desktop/extensions/
[2] https://hub.docker.com/search?q=&type=extension
The Golden Age of Film is 12.

That is, the Golden Age is whenever the person writing the piece was 12 years old. Arguments will be marshaled to support.
Web passwords are the primary issue. Secrets that are local on your system with hardware enforced rate limiting, such as a pin on a yubikey, are reasonable. Pins are short and memorable. Passwords generally must be 256 bits of entropy and thus not easily memorable.

You can do FDE with a smart card+pin or smart card+biometrics depending on your threat model.

I consider a pin provided to local hardware or for local decryption different from the concept of a password as is widely deployed on every web service under the sun.

Services should never see your secrets though, only public keys.

I assumed we were talking about web passwords given that is the only scope FIDO2/passkeys cover.
An often under-appreciated part of the original paper is effectively libraries - code you don’t have to write yourself.

This is absolutely the biggest contribution to productivity improvements over that time period, and I think that we don’t always make good use of them (NIH syndrome, it’s not written in my favorite language, etc). Seriously, if there is a good quality library for the task already, just use it! That’s why python is where it is today in the data science community, and is also the reason why I will start any new project on the JVM unless there is a good reason not to. (The third contender for the biggest ecosystem is JS, and while it has similarly vast amount of packages, I found their average quality is behind that of the JVM’s)
Are You a DevOps Engineer?
What area are you from? I have never seen or heard of a big box store selling 2× poplar. I am also surprised to hear that the poplar 2×s are cheaper than pine. For hobbyist woodworking I think poplar is preferable to pine everyday.
how a way of working became a catch-all role
I got stuck at the chess move too
A591@juneShellVIIVec6pmtractFeNigeria2020
This is such a nonsense argument. Your choice to return to the office is not somehow tied to other people being forced to be in the office.
As a side note, I actually do use an ORM to support multiple databases with LLDAP, since it's a self-hosted application that can be used with either SQlite (for the most light-weight), or PG/MySQL for a more HA-friendly setup.
I have done it with a Krait Phantom with 65ly, did about 5k before space madness settled in.

Then I got my Carrier. This takes 45 minutes (3 x 15 min) If you really just want to get to the engineers you could also book a ride on a FCOC carrier and get out at Colonia!
All modem CPUs have L1, L2, and L3 caches. Commonly available consumer chips go up to 144MB already.
Defendants do not dismiss charges. The court dismisses the charges.
I once bought a pizza at a Pizzahut in Quito, Ecuador. I am pretty sure it tasted similar to the "first pizza"... I forget how the seasoning is called, but people in Ecuador put a strange herb on almost every food which I never really got the hang of, despite trying for at least 2 months. But that pizza was the worst experience, because I sort of expected oregano. Nope, nothing resembling what I knew as a pizza, so might as well have been the first pizza ever :-)
Active Knowledge
I am surprised at how short it is.

I think I was seeing all the XSLT and XQuery and all the kitchen sink directly bound to XML, but those are just meta tools that don't bear directly on the language.
Another problem is CSV isn't really a text format. It's a binary format that just happens to look like text and most implementations will handle it if you edit it as text. But the record separator is meant to be specifically CRLF and there might be other complications. This can be confusing when using these tools to try to output another CSV. Do the `--csv` modes support also writing back to CSV?
It's just such a pointless distraction. Don't make it about you? It reminds me of men who hear that women get paid less and start complaining about their own salary.

"Hey, we have this problem." "To each their own but it doesn't affect me!"

Why waste your breath to say this?
OpenAQ: Air Quality API
Another cool N64 project, Portal N64 https://youtu.be/eN_-V7PDKAo
For now, until running ToolFormer or one of the other Jarvis like models get* better