skysight-inc/HackerNews huggingface dataset:
Scale to zero makes me think it might be useful to specify a time window (cron?) where scaling to zero is allowed, i.e. 6pm-8am it can scale to zero but during the work day never fully scale to zero. Makes me wonder if this is a common pattern.
It would be a lot more convincing if you actually ran it yourself and did a proper apples to apples comparison, especially considering that’s the whole idea behind your project.
Visualize your go dependencies graph in a rich UI
The BLAZE language: A parallel language for scientific programming (1985)
I mail products every day through USPS just like a million other businesses. We resend about 1/25 packages every single day due to it being indefinitely delayed beyond some reasonable time line. We just eat the loss and move on, USPS is absolute disaster right now. I didn't even think about voting mail in ballots. That is going to be a major problem if the vote is close.
> (Windows also has a stable driver API and I have yet to see a Unix with that, but that's another tangent)

Solaris has (or at least had) DDI (Device Driver Interface) and DLPI (Data Link Provider Interface)
New devs, by the time they will become senior devs, the tools will be 10x better. 10x in 3 years is very conservative, it may as well be 100x, not even considering runaway intelligence.

In 2 days, GPT, Claude and Llama 3 helped me solve 4 different problems. 1) I wanted to load in a webpage a json file, parse and read it, using Rust + webassebly. GPT solved it in 10 minutes. 2) Then i wanted to use this code and make it as a Chrome browser extension. GPT solved it as well. 3) Then i wanted to parse recursively directories with Rust source code, run tree-sitter queries, get the points and print matches, not with cli but using the libraries. GPT solved it in an hour. 4) Right now i finished analyzing a git repo, and fetching all branches and commit messages using git2. Llama 3 + Claude Sonet solved it in an hour or two.

DHH did an interview yesterday [1] in which he mentions that he will be programming by hand even if everyone else uses A.I. assistance. I think he is pretty smart and he will not be stuck in the era of meaty fingers pressing keyboards to make programs.

[1] https://www.youtube.com/watch?v=fEy9JhHk6lg
My parents named their car GPS "Mrs. Wiggins" after a Carol Burnett character.

My wife set her GPS to use a British accent. Following in that tradition, we've named her GPS "Theora".
I'd assume regulated in the sense of identity verification and transactions. There's no legal basis for needing a north American phone number, but good luck with any US obligations if you are without one.
This is likely a hallucination. You are committing a type error or perhaps succumbing to circular reasoning.

No modern LLM can query, let alone understand, the values in its own weights. They are simply inputs for the vector math. If they happen to be correct that is a either a coincidence or because it was trained with data including conversations about its past abilities.

Consider this, do you thinks the internal weights are labeled and directly to some attribute of the world outside? If so then present evidence. They are not, so if it does attempt to query its own internal weights how does it know what to query? This could be an interesting academic problem and I would encourage you to present papers on this because last I looked this was and itractable as of 2023 for the much simpler neural networks of simple backpropagation networks from 20 years ago.

Also, using ChatGPT as a reference here shows a major deficiency in your judgement. At best this is circular reasoning but likely you simply don't know how to allocate trust or how others do. The argument is X is unreliable then citing X is obvious not going to convince people who distrust X. Additionally, experts
> You're ignoring the benefits of good defaults.

I am not

https://news.ycombinator.com/item?id=41515601
Depends on what your definition of a product is? My head cannon says the majority of open source projects are products, as they are published to be consumed/used by others.
Creating an electromagnet and sound wave learning environment
"Named after William A. Niskanen, an economic adviser to Ronald Reagan, it states that its "main audience is Washington insiders", and characterizes itself as moderate."

Barf. These seem like very erudite reasons when really the issue is running healthcare as a balkanized private system with opaque pricing information that patients often don't see until after they receive care is fundamentally an inefficient system. The government could run a single payer system at a loss and it would be cheaper than what we have now.
I'm also happy for this. I'm an EE with limited MCAD experience, so I usually hop onto Onshape when I need a custom trinket to 3D print. I did use FreeCAD for a small fixture for my day job earlier this year and I was pleasantly surprised. For someone with no experience, it worked very well and when I lose access to Onshape I'll definitely pick up more with FreeCAD.
How the hell is Louis DeJoy still the Postmaster General?
The worry for me is when documentation and examples start to be written by AI because the team decides that writing it themselves is boring and a waste of their time.
Indeed the opposite. For example, a party of us was on a mountaintop going through the FRS/GMRS channels with CTSS off and heard another party. We were curious to ask them where they were, but they couldn't hear us until, manually stepping through the CTSS options, we found the one that enabled their receiver to hear us. It's not a privacy filter, it's a "don't bother me" filter.
Here is the feature request to support Pixtral on llama.cpp: https://github.com/ggerganov/llama.cpp/issues/9440 - once it's implemented in the upstream, ollama will be able to pick it up.
> Water is another issue for xAI. Data centers use massive amounts of water to cool their servers; xAI says it will need 1 million gallons of water a day, which is about *3% of the total capacity of the local wellfield, according to the nonprofit Protect Our Aquifer. This is the same wellfield that provides drinking water to residents.*

Along with the gas generators, it’s using ~1,000,000 gallons of water per day, 3% of the capacity of water used by residents.

That is equivalent to the usage of ~12,195 adult human’s water usage per day [1]. And depending on the size, a little less than 1 to 1/16 of the net consumption of water used by a fracking well [2].

1. https://www.epa.gov/watersense/statistics-and-facts

2. https://www.usgs.gov/faqs/how-much-water-does-typical-hydrau...
> Consider the expression (a * 2) / 2,

For two's complement integers it's equivalent to (a & ((-1) >>> 1)) for unsigned integers, and to (a+a) >> 1 for the signed ones. It is not equivalent to a, and should not be optimized to it (even if you're optimizing C; both GCC and Clang do it correctly by the way).

> recognizing that expressions of the form (a * b) / b are equivalent to a * (b / b) and therefore equivalent to a

None of those three are equivalent if you use two's complement arithmetic and trap division by zero. If you don't trap division by zero, then a * (b / b) is indeed equivalent to a.

Optimizing integer arithmetic correctly is hard :/
Release Notes for Safari Technology Preview 203
This was really excellent - for many of us, code helps to make mechanisms concrete, and it forces every single thing to be pinned down, and not hand-waved away.

(Like another commenter, I was also hoping for a direct/standalone explanation for why the red matrix is transposed.)
Founding engineer is the biggest ripoff in tech.
Not knowing anything about web development or Django or whatever, why isn't this just in a real database? Where you can do a join instead of 2000 individual queries?
I agree, and that's why I try to avoid any prevarication on the point. Because the head of marketing will at some point ask developers to break the law. Treating privacy law as a grey area gives the marketers more room to pressure developers, and more room to throw developers under the bus afterward.
Yes, I have. Perhaps I should have made clear that putting people in prison was the thing that was illegal for private companies, not operating a prison.
Everything up to the [spoiler ahead] in this comment is (as far as I can tell) exactly how things work in standard formulations of Bell's inequality. There's nothing weird or crackpot there.

Your numerical code is impossible for me to read without some basic idea of what you're trying to show, but I'd like to point out that numpy has functions like np.radians, and np.deg2rad to convert from degrees to radians, you don't have to make your own.
The actual buyers of payroll software don't care and if you think people are going to evaluate their potential employer based on what payroll solution they use, you are wrong.
MIT I think always starts from first principals. If one can understand and not do math that is generally enough. I have taken many MIT OCW classes and I’m completely uneducated.
Station Eleven, 10 Years Later: Emily St. John Mandel on What She'd Change
You're not being trolled. You just do a different kind of programming and likely haven't experienced how disastrous it is to have things filtered out when you weren't expecting it to.

I addressed the point more clearly here

https://news.ycombinator.com/item?id=41515601

And I don't think rg needs to change. The cure would be worse than that disease at this point. But that doesn't mean people making new tools should do the same thing.
Heh, wrote something similar (django-queryinspect) a while ago, then abandoned it since iirc django debug toolbar has it builtin, and I moved to some other stuff.. maybe I should dust it off.

N+1 is fairly well understood and documented gotcha, and Django has excellent tools that make it easy to avoid it (as the article mentions).

To use Django ORM effectively in nontrivial apps, you do need to understand how relational databases work, and it's helpful to understand SQL. But it does make me a whole lot more productive (and happy!) than writing SQL by hand.
I do wonder if a true cleanup is ever possible, worldwide. Think about all the land mines and tiny cluster munitions spread out all over. I feel sad for all the children who will be maimed or killed by these irresponsible and unethical weapons. But I don’t have much hope for being able to comprehensively clear the land of these things.
That sounds like a valid use case. I am used to running my own Splunk instances both in Azure Stack Hub and Azure.

Great job!
Are this photos AI generated?, because they definitely look like that
An AI Bot Named James Has My Old Local News Job
I think this website has been around long enough it probably comes from the ‘everything on the internet is free’ era.
I just looked at those other code CAD programs, and I don't see the appeal over OpenSCAD.

I have no interest in browser based CAD programs because as models become complex, that platform is too limited in performance.

Python and stateful CAD drawings sound like a nightmare to me.

OpenSCAD has limitations for sure, but I think a better tool will look different.

I do wish OpenSCAD used a more general purpose programming manager.
> justify your decision to higher ups

What you just described is speeding up a process not increasing wages.

If a company simply isn’t offering enough money they aren’t going to get the workers they want. Which then forces the company to either go without or increase their compensation, just like how every other market works.

> your company isn't desirable or what else is the cause

The clearest example of this principle is companies eventually learn they need to pay the asshole tax. Market research may suggest X is a reasonable number, but they simply don’t get enough people without paying appropriately.

> will drive salaries higher

It will drive some offers higher and get workers sooner, but an offer not accepted is a salary that doesn’t exist.
You say this as if it's something in the past, like the teamsters are not still controlled by the mafia.
Ask HN: How can I monetize a load balancer for ML applications?
I have a solution that solves a set of problems that keep showing up in ML workloads. The kind of systems I'm talking about are ones where:

- You have a GPU attached to each instance.

- Each request takes anywhere from 10ms to 2min.

- There's a hard limit on the number of in-flight requests/queries (I assume because of the GPUs).

Normally, I see people fronting the instances with software load balancers, but this doesn't work very well for reasons. Assuming I have a solution in the form of a fancy load balancer, how would I go about monetizing it? Let's assume the solution is non-trivial to create, but very straightforward to use (essentially a drop-in replacement).

I ask because I don't think I can just "sell a fancy load balancer" like it's the late 90s or something. Modern companies appear to always have more complicated products and I just want to sell a straightforward piece of infrastructure that solves a fairly hard problem.

Thanks in advance.
“I’m an employee looking for my data”. Links to https://employees.theworknumber.com/

Spits out 403 error forbidden

Gosh, that’s awful.
More like drunk or hungover tourists.

That's about the only time I can stomach Taco Bell.
You'll have to ask the Board of Governors of the USPS. DeJoy answers to them.
Ah cool, thanks for the link!

For others, the short-ish answer is that doing hundreds of SQL queries in response to a request (loading nested timeline elements in their case) in SQLite is fine because of the lack of networking/IPC overhead. The nature of N+1 queries is unchanged.
You can do joins in Django just fine, and you can even NOT write them and have Django automagically do the correct thing if you know how to use it.
eBay has new-in-box Zires for $10.
Show HN: How much is 13B euros?
Hi,

I made this page to contextualize 13 billion euros (or 14): an amount due to Ireland in an EU Apple tax case and all over the airwaves here this week. I use some pretty silly back-of-the-envelope type calculations (the same ones also repeated a lot in Ireland this week!).

These calculations aren't especially interesting, but at least they are present: you can see them, and you can change them. If you do - change the 13 billion to 14 billion for example, related numbers will flash with updates.

It's an example using calculang[1]: a language for calculations, and an example that focuses on a close connection between numbers that we read or share and formulas/workings behind those numbers.

I plan to do a separate Show HN about calculang perhaps when I have more docs and newer playground and gallery together, but Showing this page in case it's interesting, & happy if there is feedback!

Declan

[0] https://HowMuchIs13BillionEuros.com repo: https://github.com/declann/HowMuchIs13BillionEuros.com

[1] https://calculang.dev
I totally share your frustrations over ORMs and the issues they cause, but I seriously doubt your cost calculations. The sheer number of working CRUD applications that don’t rely on fancy queries is mind-boggling, and most developers engaging in high-level system design seem mostly oblivious to this.
The ORM may not make for pretty or efficient queries, but it enables armies of mediocre programmers to crunch out generic line of business applications very fast. The performance of these apps may not be what it could be, but while we are still busy discussing the finer details of query planner optimisation, folks are making a fortune with N+1 queries in production that virtually nobody cares about.
See my post above about BGP hijacks: https://news.ycombinator.com/item?id=41511582 - They're way easier than you think.
Fair enough. Then the fine shall be levied at the value of the car being driven when the offence occurred. Driving a $500 beater? Your fine is $500. Driving a $1,000,000 sports car? Your fine is $1,000,000.

While this theoretically allows the rich to drive said $500 car in order to minimize their liability in the event of a fine, it also means the rich have to drive a $500 car if that is what they are trying to optimize for, which is a decent social tradeoff.
The worse programmers are winning!
Then they come straight to your door for your statement.
Okay? My PS4 crashed. My PC crashed. It's rare on both platforms.
Sorry. Realized I added very few details. Always-On Debugger is a tool that enhances your terminal experience by automatically detecting errors and providing debugging assistance using AI. It acts as a wrapper around your existing terminal, intercepting commands and their outputs to offer real-time debugging support. It's really simple to use and install: just prefix your terminal command with "debug".

It was our AI devtool hackathon project. Wondering there is more to this idea to improve debugging experience in terminal or that's it!
Because if we will agree with drivers, in that case Uber is not going to have profit, and Uber will be gone from that city/country. And we will be back to the taxi world.
> have feature branches that get squashed into a single commit (erasing the history of the branch)

Terrible.

It makes git-blame and git-bisect essentially unusable.

If you have a regression, git-bisect can help you narrow it down to a single patch. Because of that, you want to have fifty 160-line patches in the git history, for a particular feature, rather than one 8000 line patch.

If a given line of code looks fishy, you want git-blame (or a series of git-blame commands) to lead you to a 160-line commit, with its own detailed commit message, rather than to a 8000-line commit.

You also want to preserve the order of the original commits. Just reading through the individual commit messages, in order, a few years later, can be super helpful for understanding the original design. (Of course the original patch set has to be constructed in dependency order; it needs to compile at every stage, and so on. That's a separate development step that comes on top of just implementing the functionality. The code must be presented in logical stages as well.)
The "Mistral Pixtral multimodal model" really rolls off the tongue.

> It’s unclear which image data Mistral might have used to develop Pixtral 12B.

The days of free web scraping especially for the richer sources of material are almost gone, with anything between technical (API restrictions) and legal (copyright) measures building deep moats. I also wonder what they trained it on. They're not Meta or Google with endless supplies of user content, or exclusive contracts with the Reddits of the internet.
For webapps which are accessed as web pages or through API, looking at the API activity will indicate whether the app is being actively used. Clace currently uses no new API calls with last 3 minutes as indicating idleness. This is aggressive, it can be tuned as required https://clace.io/docs/container/config/. For apps using websockets or server-sent events, the API activity check will not be accurate.

For background jobs and cron jobs, some kind of cron job can be defined in the app, to wake up the container. This is not supported currently. If an app has background jobs or idle check is not accurate, the auto-pause can be disabled.
Human genomic DNA is widely interspersed with I-motif structures
Actually (I wanted to keep the story short), I added a new comment on the line before stating that the other way isn't working.
Hidden variable theory: https://en.wikipedia.org/wiki/Hidden-variable_theory

Bell test: https://en.wikipedia.org/wiki/Bell_test :

> To do away with this assumption it is necessary to detect a sufficiently large fraction of the photons. This is usually characterized in terms of the detection efficiency
η [\eta], defined as the probability that a photodetector detects a photon that arrives at it. Anupam Garg and N. David Mermin showed that when using a maximally entangled state and the CHSH inequality an efficiency of
η > 2*sqrt(2)/2~= 0.83 is required for a loophole-free violation.[51] Later Philippe H. Eberhard showed that when using a partially entangled state a loophole-free violation is possible for
η>2/3~=0.67 which is the optimal bound for the CHSH inequality.[53] Other Bell inequalities allow for even lower bounds. For example, there exists a four-setting inequality which is violated for
η>(sqrt(5)-1)/2~=0.62 [54]

CHSH inequality: https://en.wikipedia.org/wiki/CHSH_inequality

/sbin/chsh

Isn't it possible to measure the wake of a photon instead of measuring the photon itself; to measure the wake without affecting the boat that has already passed? And shouldn't a simple beam splitter be enough to demonstrate entanglement if there is an instrument with sufficient sensitivity to infer the phase of a passed photon?

This says that intensity is sufficient to read phase: https://news.ycombinator.com/item?id=40492160 :

> "Bridging coherence optics and classical mechanics: A generic light polarization-entanglement complementary relation" (2023) https://journals.aps.org/prresearch/abstract/10.1103/PhysRev... :

>> This means that hard-to-measure optical properties such as amplitudes, phases and correlations—perhaps even these of quantum wave systems—can be deduced from something a lot easier to measure: light intensity

And all it takes to win the game is to transmit classical bits with digital error correction using hidden variables?
Yeah. I have tried and quit a number times. Poor stability has always made it unusable for me. Hopefully this time is better. Still, once I can successfully make a drawing, then what? What exists for CAM posts?
> do you think they're going to ship something that performs noticeably worse than its predecessor?

Yes. Capitalist software vendors do that all the time. Google search has been getting continually worse over the decades. Windows is more bloated than ever. AI is going to be no different.
> if you've ever worked a job in the service industries: make it illegal to pay these workers below minimum wage

The tipped minimum wage doesn’t exist in California [1]. The only solution is a policy requiring employees reject tips. (High-end restaurants that charge ex ante have begun doing this.)

[1] https://www.shouselaw.com/ca/blog/what-is-the-minimum-wage-f...
Not specific to taco bell but I like to order in person personally, but will seek out an app if I have a large order to put in and want to make sure I get all the adjustments right.
> If you really think gen 9 consoles are comparable to a laptop

I mean, yes, I do. I can run new AAA games on my MacBook Pro via native ports on Steam and the Mac App Store or Crossover.

Hell, Resident Evil 7 runs on a fucking iPhone at this point.

Don't forget that many PS5 games' render resolution is 1080p and under and up to 60FPS. It really isn't that powerful. If you take your gaming laptop and play at 1440p and complain that you're barely getting 60FPS at high/ultra settings, well, you're already outperforming a base PS5.

> crypto ruined the idea of an affordable high end gaming pc.

idk if you have noticed but we aren't at peak crypto GPU prices. This isn't 2022. GPUs are relatively affordable.

> Power isn't everything, but clearly the ps5 pro and higher end cards are targeting power users

PS5 Pro is equivalent to mid-range PC graphics cards. At $700.

If you own a PC right now, let's say it's a similar age to the PS4. You've got an AM4 motherboard with a Ryzen 1000 or 3000 series and a GTX 1080 or 1070 or something like that.

If you spend $700 on an upgrade and get yourself a Ryzen 5700x3D and RX 7900GRE you are vastly outperforming the PS5 Pro. Heck, if your gaming is more GPU bound and your processor still holds up you could skip the processor and buy an RTX 4070 Ti Super for $700. That GPU will positively SMOKE the PS5 Pro.
The better question to me, though harder to answer, is whether I would consider their activity immoral. I would be happy to proxy traffic regarding investigative journalism, queer sexuality, consensual pornography, even though it is illegal in many places.