skysight-inc/HackerNews huggingface dataset:
The only time I've seen it work with channels in the API is when it's something you'd realistically want to be async (say, some sort of heavy computation, network request, etc). The kind of thing that would probably already be a future/promise/etc in other languages.

And it doesn't really color the function because you can trivially make it sync again.
The origin of the gripe is that there's a lot of people collecting paychecks for good thoughts that steer a product/company when their most notable contribution is shit into the company toilet that somehow takes 20 minutes to push out. If they are working hard, many people aren't going to respect busting ass on adtech or consulting shakedowns. Since the uptick in work-from-home, I've been astonished at the number of people I know collecting a paycheck for generating completely negligible value. There's a lot of well-paid positions that are almost certainly contributing less value to society than a dishwasher, and it doesn't have much to do with the dishwasher having a prodigious impact.
It's funny because if that was an option people would do it, but most installers have their control system included when the install and setup the system.

You don't get asked what you want or a choice in changing it to a different device...
Sounds like you don’t want SQL at all. Some sort of non-SQL, or not-SQL, never-SQL. Something along those lines.
sure failover is recommended if you have HA commitments
I remember adding 64-bit fixes to Valgrind to run it on the iOS Simulator when Macs went 64-bit, and I succeeded, it was incredible. Valgrind is one of the wonders created by humans.
About FinGPT: Open-Source Financial Large Language Models
was it? i read it was a huge ram server
The owner of the encoding bot is good, but you're still in trouble when using those results to distribute your Mulan viewer
My favorite is when they do bold by duplicating and slightly shifting the letters. Bboolldd. PDFs are hell.
https://lamport.azurewebsites.net/video/videos.html is really excellent
That's not going to work in a real battle.
If it traps on all things that would otherwise be memory-unsafety then it is memory safe. If trapping doesn't count as memory safe, then e.g. Rust isn't memory safe, since it traps on OOB accesses to arrays.
This sounds too good to be true. Having to get a prescription to get contacts is insane…
I still have a Caterpillar Tractor branded rugged phone. The actual maker, Bullitt, a UK company, went bust. The rubber cover over the USB charging port was the weak point, and I had two of those wear out. The batteries swelled up in two units because the phone spent most of its time plugged into a charger. Good idea, bad execution on the details.
It's a dispute between Brazil supreme court and a US based company. I didn't want to refer to Brazilian law because it seemed circumstantial, nor could I refer to US law because the first amendment defeats it. Falling back to international law only seemed natural so I didn't think I should have explained my rationale.

But that was only to say, responding to who asked me the original question, that it doesn't matter what I think. I'm not a legislator. What matters is what's enforceable.
The unsaid half of the example, which I assumed was understood for people on HN, was that income tax was initially presented as a small tax on the very well off which now impacts almost every earning American.
> Happiness is a social construct

I feel like you’re going to have to establish what you define as ‘happiness’ if you’re going to make claims like that.
> I realized that some junior engineer had been using some design pattern they didn't really understand, and that added zero actual value to the routine.

£3.50p says it was the Generic Repository pattern implemented over Entity Framework dbContext, right?

--------

Speaking of design-patterns, I subscribe to the opinon that _Design-patterns are idioms to work-around missing features in your programmign language_, which explains why Java has no end of them, and why us jaded folk find happiness in modern languages that adopt more multi-paradigm and FP (the post-Java cool-kids' club: Kotlin, Rust, Swift, TypeScript, (can C# join?)) - so my hope is that eventually we'll have a cohort of fresh-faced CS grads entering industry who only know-of Facades/Decorator/Adapter as something a language designer does to spite their users because any reasonable compiler should handle interface-mapping for you - and the Visitor-pattern as a great way to get RSI.
Today I learned that a giraffe is taller than a whale.
https://archive.is/EG0xA
I installed AC in my home in the last year.

I specifically went for units that were IR controlled rather than any proprietary smart B.S.

For the smarts, I used cheap IR blasters from AliExpress and hooked them up to HomeAssistant.

I just mounted cheap Lenovo tablets to the wall to do the room-dashboard thing to allow controlling lights/AC without a phone.

These kind of horror stories only serve to reinforce my decision.
People should be absolutely furious about this honestly

Productivity is up, companies are reporting record profits, and all forms of compensation are being squashed as much as possible

At some point enough is enough right?

This idea that people were being overpaid is absurd. We've been underpaid for decades and it's getting worse over time not better
Nobody is arguing that the Soviets were opposed to nuclear power in their own country. Why are you obsessed with attacking these idiotic straw men?
I know it's referencing the TV show, but when did "smart" become synonymous with "know more than"?

Has it always been like that? English is my second language, so quite possible I have missed something.
SQL was supposed to follow English grammar. Having FROM before SELECT is like having “Begun” before “these clone wars have.”
> I cut my teeth on Softice in DOS

Ah .. takes me back.
To be comparable, Xerox would need to have been the sole holder of all photocopiers everywhere, and charge fees for use. Not to mention you're also then in the physical world.

This is why Napster is a far better comparable. It's all software, via the Internet, and was at scales no photocopiers could compete with. Only it goes a step worse than Napster. In Napster's case, they simply built software and services primarily aimed at facilitating P2P file sharing. In OpenAI's case, they themselves are responsible for creating the copies of infringing materials. They performed the scraping, and they perform the distribution.
I also don’t fully understand why some folks are worked up. We all have posts that are downvoted and removed even here on HN. If you don’t like the steering committee or whatever, just elect a new one.
> Kotlin's standard library has ruined me for other languages, especially its collections library

Scala has it beaten by a long shot, in my opinion, and is hands down the best of any language around collections.
Minix is sadly dead. Minix on RISC-V seems like it would have been a pedagogical gold mine and yet it hasn’t happened last I checked.
"Salaries for tech jobs working with back-office and core operations business software that paid between $110,000 and $130,000 a year ago now go to less experienced hires for $85,000 to $100,000, he said. Some companies are laying off entire service areas, renaming the division and populating it with new hires at much lower compensation levels."
Blue Origin is developing both reusable and non-reusable 2nd stages in tandem:

"We're also working on a reusable second stage. Right.
46:20
And we're gonna let that be a horse race. So the, the goal for the expendable stage is to become
46:26
so cheap to manufacture that reusability never makes sense. Awesome. And the goal for the reusable stage is to become
46:35
so operable that exp expandability never makes sense. And so it's, and we will see
46:41
because when you do that trade on paper, it just isn't obvious. Right. Right.
46:47
On the first stage it's blindingly obvious. Right, right, right. Yeah. It's like the bulk of
46:54
the cost. - It's lowest velocities. Yeah. Correct. It's everything lines up for reusability. Yeah.
47:01
For the second stage, it's an interesting horse race. Yeah. So we're just gonna go barreling down both paths.
47:09
And try to figure out which one is better. Really. Yeah. And 'cause it's just about cost. - At the end
47:15
of the day. Yeah. At the end of the day it's just about cost - Are where you actually at in terms of that second stage, the reusable second stage."

https://youtu.be/rsuqSn7ifpU?si=4_cm2khyEP0as4aF&t=2771
I know it's about programming, but I have a thought experiment I think about occasionally. Imagine a universe with one point particle. There's no time or space. Add another particle. The particles can either be separate or at the same point. So in some sense there is time, since we can go between separate and together states. There still isn't space, I think? Is this a philosophical subject I can read about?
If it has an ABI which means POSIX tools just work, I'm fine if its a microkernel. MACH was at the heart of lots of things too. We could do capabilities based OS design you name it. 9P, I don't care.

What I care about is getting an interactive shell prompt and a filesystem with . and .. and / and BOURNE shell compatible semantics, and an ability to run vi and emacs. (I am less sure plan9 people care about shell btw they went rc and then into some place I don't understand up in the 5th dimension)
Rossfest Symposium and Festschrift in Memory of Ross Anderson
> You’re looking at two extremes: the codebase that is spread out too much with too much abstraction, and the codebase with zero abstraction that is basically a means to an end. In both cases they are difficult to work with.

Yeah, neither's great. If given a choice though, I'm absolutely going to take the latter. Yeah, changing something cross-cutting is going to be rough, but my need to do that is usually orders of magnitude less than my need to change specifics.

On a long enough timeline, both will bite me, but the former is much more likely to bite me today.
Read the decision, the breach of contract claim simply survived dismissal, but the surrounding discussion makes it clear it doesn't have much of a prayer (which is the same as the "open-source license violation", the OP article is trash).
This is exactly my experience with Rust as well, people keep thinking C++ is an alternative to Rust with all the same features, but it’s not true. Rust is in many ways a simpler language than C++ and that can make it more productive, “To Kamp's assertion that developers should just use C++, Somers said that he was far more productive in Rust and his code had fewer bugs, too. He said he had used C++ professionally for 11 years, but was more skilled in Rust after six months. The problem, he said, was C++.”
I got all 26 questions right, yet it said I'm in the 5th grade. Sounds like it should be called "Are You As Smart As a 5th Grader?" To determine if you're actually smarter than a 5th grader, the test should include questions that are beyond a 5th grade level.
Glad you did! Nice read as well.
I have some "pattern glare" issues. I find monospace fonts harder to read because it shimmers and glows. It happens with proportional fonts as well, just not as bad.
Those who make $16*8 = $128/day before taxes, and <$100 after taxes, most definitely cannot afford to pay $5.80/day on the stupid bus fare, nor should they have to. They're getting a raw deal as it is for their labor.
> Finland was absolutely part of the West, despite its non-aligned status.

You’re making a tedious semantic argument while conceding my central point, that Finland was non-aligned. I’ve heard of respectful disagreement but you’ve managed to pull off disrespectful agreement.
Feels like it's time for governments to get involved. It's not reasonable for a ubiquitous format like HDMI to be restricted like this.
Remember when we said that tech workers should be careful what you wish for with regard to work from home? Execs are slow to learn but eventually the dim light bulb will go off in their head that someone from a much poorer country with an internet line can do the same work as their engineers making six figures and working in their home.

If I was a tech worker I would be championing every return to office initiative that exists, for my own self-preservation. "Yep boss, those face-to-face meetings and talks around the coffee pot are VITAL to this company's success." You have to choose your battles.
How is it copyright infringement? Who was going to buy a Mac but then found this and was like "Oh, this docker thing is way better". If you've ever tried this docker thing, you'd know it's a pain in the ass. :)

It's laughable, but no surprise the army of lawyers at AAPL needs something to do to justify their existence.
Maybe AMD should just fork the spec, and freely license the result.

Nvidia and AMD already effectively forked the standard when they variable refresh rates. (Monitors supported it for amd or nvidia, but not both.)
The government is also to blame for this. If you look at well regarded public transportation construction companies that have bid out contracts in the US they say it's more dysfunctional than a 3rd world country.
A whale isn't that tall, considering it doesn't stand on legs.
Our backend at work does use a read replica purely for websockets. I always wondered if it was overkill, I’m not a backend developer, though.
Show HN: PHP Library for Working with LLM, Agents and RAG
Hello All,

I kicked of a small PHP package, with the aim of making it easy to work with LLMs, Agents and RAG in PHP.

It's just got a single method/class just now :) (release fast!?)

Wondering if it is something that sound's interesting to the PHP community. Why should Python guys have all the fun!

Would be great to have some sign of interest, and even feature requests, to inspire me to put some more work into it. Have kicked off the package here on github, and it is available on packagist also.

Like I said, it currently just supports one action, which allows you to send a message to OpenAI Chat by doing

$chat = new ChatOpenAI(getenv('OPENAI_API_KEY'));
$response = $chat->sendMessage('Hello, world!');

I know there is the LLPhant library, but this could evolve to be something a little different, perhaps with its own benefits

Any feedback? Feature requests would be great too.

Thanks!

Sami
The correct answer to that question would be the Logarithm. 32 can be divided 5 times by 2 before it becomes 1 and you can't divided it anymore. I think the phrasing of the question is incorrect.

That's the only question I got wrong because it did not make any sense to me.
Sounds a bit like "new thing scary" unless you show why having select in front actually avoids problems, and I don't think there's a clear problem they avoid, but it does make it really hard to autocomplete (can you even do it properly?) while something along the lines of just swap select for from is well defined.
I got the impression it was intentional. A bit tongue in cheek.
Hot take: the way to end CSAM (childhoods sexual abusing MPEGs (motion picture expert group) ) aka CP (childhood predator images) for those whom don't know the acronyms --
it is to legalize (((AI generatrated))) CSAM. No child harmed. As we see the internet is already full of AI slop, there can be no question that an infinite amount of CSAMslop may be generated.
The reason why this is good, is because anyone looking to profit or market REAL such material, now there is no longer a market to sell it, nor is there a market for giving it for free to get some sort of fucked up pedo kudos. For people who are actual victims and their data shared, their data is but a drop in a vast ocean.
Plenty of answers already, but I have a very small passion project I hope to make my full-time living and one of the first things on my list is to employ one person and pay them a living wage - not, "how little can I pay them, or "what's the market rate" for the type of position." I'm sure money is tight, but that'd be a better framing to start with
SQL is a declarative language not a procedural one. You tell the query planner what you want, not how to do it.
Interestingly, you're both right, but most people don't understand how government spending works. There's two main categories of spending - discretionary and mandatory. Discretionary spending is the budget submitted by Congress where they allocate money to various things. Mandatory spending is compulsory and done without a vote or manual appropriations. Things like social security, pensions, medicare, and so on are mandatory. Discretionary is military, education, housing, transportation, and so on. And, of this spending, military is, by far, the lion's share of it all. So each dollar spent on a bomb half-way around the world is one less dollar that could have been spent on e.g. education, infrastructure, or housing - which are predominantly discretionary.

And notably, discretionary budgets are relatively small, contrasted against the overall budget. In 2024 the entire discretionary budget was "only" $1.8 trillion. So things like "just" a hundred billion might seem fairly small, but are in reality a substantial chunk of all our discretionary allocations. Then there's the military, which eats up nearly a trillion dollars of this spending. In 2024 it was $886 billion, which does not include the spending on various wars around the world.
> alias aws="boxxy aws"

That's rather inconvenient to alias ever app, is there a more ergonomic way to rewrite the file access calls?
Perhaps, but I think a million USD in total savings is a lot of money, too, and I do not think the majority has that amount in total savings. Are there any statistics on this?
On one hand, I do want more countries taking social media to court.

However, in this specific case, it's been pretty clear that the Brazilian court orders send to X/Twitter. Specifically, some that order the censoring of specific individuals are illegal. (Some of these orders appear to violate other Brazilian laws)

This is a hard one to really judge. Just a mess overall.
Ditto.

I'm not sure if that was meant to be a delibrate trap, I noticed about ten in, and by the 20th question I was thinking this is just silly .. and then almost gave the wrong answer on the 26th question.
https://news.ycombinator.com/item?id=41316512
As others, from the videos, I really like the tight Xcode integration.
Reading the FAQ I do have few concerns,

1. Open-source, it mentions GPL forms, is there a reason MIT not mentioned? is that not considered open-source (especially with many iOS/Swift using MIT to be compliant with store distribution).

2. Packages, how does it handled packages? or the cases when you need to have branching for iOS/Android? the FAQ does not address this.

3. How Apple service APIs being handled on Android? I didn't look at the example weather app, but as an example, Apple got WeatherKit. or in my case case I use the built-in geolocation APIs.

My concrete example,
I have a small app I've made. It uses geolocation from Apple (to detect country city, etc), It uses AdMob and Apple's built-in In-App / Subscription services.

I think this is a fair example of simple commercial product, and it'll be nice if you have some example for ads and in-app/subscription which might be important for closed/paid monetized projects...
That's how I got the 26th question wrong. I stopped paying attention and just checked the first box even though I had a feeling it would be a trick
Breaking news from 5000 BC
Same here, which allowed me to answer some questions I don't know, not being from the USA (imperial units?). I guess that's proper 5th grade thinking.
What you’re pointing out applied last year when salaries were higher too though, thats an overarching theme for decades

I’m not furious about what this article is saying, this article is about doing economically viable thing with workers - inside this country - in lower cost of living areas with salaries relevant there instead of higher cost of living areas

I agree that employees could collectively extract more of the value they help create, I don't think every article ok the topic is the right place for that discussion
> the more you decarbonize the economy, the worse it's going to get for renewables here since fossil fuels are used for highly non linear usage.

A continental spread-out mix (wind, solar, hydro, geothermal, biomass...) reduces production variability ( this is tru even considering a single type of source: https://www.imperial.ac.uk/news/180592/european-cooperation-... )

Overproduced electricity can be stored. V2G will play a major role.

> You are mixing up two things

I doubt so. I was stating that hydrogen may become a clean backup, replacing fossil-fuel existing plants, some of them (burning methane) may be retrofitted. Water electrolysis done in centralized plants gathering electricity overproduced at continental level in order to obtain and locally temporarily store hydrogen, maybe even benefiting from co-generation, will locally burn it (gas turbine or fuel cell) in order to produce electricity when the grid needs it while renewable sources cannot provide enough.

> aren't needed for nuclear because you don't need P2G or any of that, you can just adjust the production

Nuclear can 'modulate' its output up to a certain level and frequency, which in practice are insufficient. Even over-nuclearized France never enjoyed a zero-carbon grid: each year between 6% and 12% of electricity is produced by burning fossil fuel ( https://ourworldindata.org/explorers/energy?Metric=Share+of+... ) because exploiting enough reactors to cope with the mandatory load-following and also with the peak load would be way too expensive.

There are safety-related limits (power modulation proportion, duration of a pause needed after each modulation, modulations frequency...) to nuclear load-following capacity, and the very combustible status is a major parameter. Pertinent document (French ahead!): https://www.sfen.org/rgn/expertise-nucleaire-francaise-suivi...

Proposed translation: "a reactor power output can vary from 100% to 20% in 30 minutes, then after 2 hours can go back to 100% at the same speed, and can cycle this way 2 times per day".

This is quite a good performance when it comes to load-following (French engineers are very good at this), however it is insufficient in the real world (save any ridiculously expensive over-provision of nuclear reactor, most idling) and very weak compared to gas turbines performances.

Those "bandaid" solution are needed with each and every low-carbon type of source, even nuclear. We have to consider the amount of emissions caused, in each type of system, by those solutions.

On a grid when it comes to the "production = consumption" rule there are 2 big types of challenge:

1/ short-term adjustment (under a few seconds). Nuclear, per se, just cannot cope. It is done by the sheer inertia of the turbo-alternator drive shaft. On a renewable system it can also be done this way, thanks to flywheels. It is already done.

2/ long-term adjustments. It is either done by reducing the output of production units, or storing or wasting it or (if production isn't sufficient), by a reserve of "production" units (batteries, green hydrogen turbines...).
I got 2 wrong. It also says I'm in 5th grade.
Simple but inconvenient. And it doesn't take much to get sucked into cloud lock-in. As soon as you need to work on permissioning that is slightly less trivial you start to sink.
my TI-84 screen took me pretty far
That's awesome! But when i switch between the twiggy and bloaty, the ui freeze for a while, maybe WebWorker can resolve this problem.
Anyone making that little doesn't pay net taxes. The EITC, federal benefits, and state and city benefits all pile up on the other side.
What is a place expression?
This reminds me of that image riddle, "If a dog wore pants, which picture is correct?"