MurphyA/hacker-news huggingface dataset:
by stackskipton | 2025-04-23 01:46:27+00:00
For Infrastructure, we are moving to single monorepo where they PR into the repo and GHA runs it. Most of time, they are using Modules we wrote but we don't run alot of cloud native stuff. Most of it is Database, possibly Redis, maybe storage, occasionally Pub/Sub. Modules are supposed to load up rules and forward it to the teams in Pagerduty but that doesn't always happen which fall through to us. I'd say most teams infrastructure changes only 1-2x year except when a new project is getting spun up.

Application can be put into a container and tossed into Kubernetes. We use Kustomize + Templates for most of applications but occasionally those will need to be modified. I'd say that happens once a week.

Other option is ungodly Chef setup that will deploy their applications from Jenkins. We actually package their system up in .deb package that is pushed to subset of boxes that is absolutely nightmare I luckily don't have to deal with. We went full "Write your own Kubernetes" never go full "Write your own Kubernetes" (https://www.macchaffee.com/blog/2024/you-have-built-a-kubern... NOT THE AUTHOR)

Hand off is Container or "My application builds on Jenkins." If everything is running normally, there is nothing to hand off. It's when it's not, I get paged and lack of hand off becomes frustrating. We are also isolated to our group.
by MentatOnMelange | 2025-04-23 01:47:03+00:00
Having lived in the suburbs most of my life, I always considered air quality to be an important societal issue but not something to worry about as an individual.

Then I went on vacation to the carribean. At home I sometimes get out of breath climing a few flights of stairs.. but down in Puerto Rico I was able to go snorkeling and even hike up a mountain without any problems.
by rtkwe | 2025-04-23 01:48:29+00:00
All charging does is reverse the flow of lithium ions through the electrolyte that happens when the battery discharges.

Wireless charging is usually worse long term because of the extra heat the coils create from the waste energy. It's probably about as bad as the really fast charging phones do now though. I principally have mine do a slow charge over night these days though as is mostly last through the day.
by simonw | 2025-04-23 01:48:48+00:00
That's a really good answer. I suggest turning that into a set of working examples to help promote the idea - part of my hesitance around this is that it sounds good on paper but I've not seen convincing evidence that it works yet.

(Claude Code is an example that I believe does make good use of this pattern, but it's frustratingly closed source.)
by jiggawatts | 2025-04-23 01:50:26+00:00
The irony is that most of the cost-saving features in Azure don’t apply the way people think, so it’s often more expensive to run Microsoft software in Azure than it is on-premise!

For example, SQL Server is licensed per physical core, but in Azure it is per vCPU which is a hyperthread = half a CPU! This means that database licensing is - surprise - twice the price in the cloud.

Similarly, Azure SQL is always priced as if it was Enterprise Edition.

There are only a handful of ways to actually “save money” in Azure, and they’re basically the same as on-premises: buy licenses for entire physical hosts and use license mobility.

Even our biggest government customers can’t use this because it would require them to buy 2x of each host “type” they want to use per Subscription, which is too much capacity that can’t be fully utilised without careful management. The manual packing of workloads into a small number of hosts totally eliminates the main benefit of the cloud!

I swear that the finance departments of big enterprises are simply allergic to offering anything truly flexible to customers. Everything has to be sold in big chunks reserved for three years.

“Come to the cloud! It’s more flexible! It’s cheaper! Now sign this in triplicate so you can’t use the flexibility or escape our inflated prices for a third of a decade!”
by mncharity | 2025-04-23 01:50:48+00:00
Has anyone seen content that used this multiscale networking and population dynamics as an instructional approach?

For small example, there was a Princeton(?) coffee-table book which used "everyday" examples to illustrate cell/embryonic organizational techniques - like birds equally spacing themselves along a wire. Or compartmentalization, as a cross-cutting theme from molecules to ecosystems.

I've an odd hobby interest in exploring what science education content might look like, if incentives were vastly different, and massive collaborative domain expertise was allocated to crafting insightful powerful rough-quantitative richly-interwoven tapestry.
by badestrand | 2025-04-23 01:51:51+00:00
IMO it also depends on how the whole process is tied together.

I always loved Vercel for their easy hosting of Next.js with included CI/CD, but I recently switched to self-hosting - their pricing switched from a flat, worry-free $20/month to an unpredictable whatever-it-may-cost plus it sent me 10+ emails every single month about hitting some quotas that they introduced and I couldn't find a good way to stop that.
by ocdtrekkie | 2025-04-23 01:51:51+00:00
If Google is successfully forced to divest Chrome, Chrome will no longer be in competition with advertisers. So whether you or I are right about the cause, we should both be able to agree that for privacy reasons, Google must divest Chrome.

I do disagree with your cause and effect though, they have gotten blocked from replacing third party cookies with privacy sandbox because it replaces a standard everyone can use equally with a Google-controlled system. They could have cited the industry standard to block third party cookies in other browsers and done so without a replacement, the reason they are being prohibited from doing so is because they are motivated to maintain data access for themselves via privacy sandbox.

You can read countless statements from the Chrome team about Privacy Sandbox where they state how vital spying on users for ad targeting is, they've never "wanted" to remove doing so.
by p_ing | 2025-04-23 01:52:49+00:00
A HIVE is the only nonsensical name in the registry; everything else is keys, subkeys, or values.

https://learn.microsoft.com/en-us/windows/win32/sysinfo/stru...

That said, the registry has been around for ~30 years and the terminology is well known to Windows users. It didn't build off of previously available terminology.

Homebrew just made shit up on the spot based on the project's name to be internally consistent with itself.

Microsoft has it's own fsckery of randomly named cute crap elsewhere, of course.
by the_af | 2025-04-23 01:54:15+00:00
According to Ridley Scott, it is -- the studio used his name by implication ("Director's") but it wasn't his vision and he was barely involved.

To be honest I don't like the Special Edition much, which he does consider his vision.

My favorite version of BR would be a mix: the dialogue fixes and crisper image of SP, the color grading and milder violence of DC. The extra seconds of footage are unnecessary, too. I admit correcting the face of Zhora was a big deal though (but I could have lived with keeping the stunt extra anyway)
by abhisek | 2025-04-23 01:54:22+00:00
Can LLMs Detect Malicious PyPI Packages Better with RAG?

Over 1,200 malicious Python packages were evaluated using three approaches:

– Zero-shot LLM prompts (no prior examples)

– Retrieval-Augmented Generation (RAG) with threat intelligence

– Fine-tuned LLMs on labeled malicious behavior patterns

RAG underperformed across all tests—even when enhanced with YARA rules, GitHub Advisories, and known malware code snippets. It failed to meaningfully improve detection in any setup.

In contrast, fine-tuning LLaMA-3.1-8B on behavior-based features (e.g., os.system, subprocess.Popen, eval) reached 97% accuracy and 95% balanced accuracy, outperforming both zero-shot and RAG methods.
by alganet | 2025-04-23 01:55:34+00:00
I am visually able, so I cannot relate much to the visually impaired cause. The best I can do is try to understand their fight. Maybe tell their story from time to time. Bring their goals to a wider audience.

Your intention in assisting technologies sounds noble. However, precisely because of that, I cannot stain your own path with my opinions regarding how to license it.
by itayd | 2025-04-23 01:55:48+00:00
Hey, author here. We love durable functions and the ease it provides for building stuff. We provide an OSS as well as SaaS "serverless" platform to easily get started with durable functions using vanilla python.

Please take a look as well at https://github.com/autokitteh/kittehub which is full of examples. Also you can use https://autokitteh.cloud for free with some limits.
by modeless | 2025-04-23 01:56:03+00:00
Chrome is not in competition with advertisers. If Google divests Chrome and Chrome removes third party cookies as a result, Google's adtech competitors will be crushed just as effectively as if Google removed third party cookies themselves. Google would survive just fine because they have lots of first party ad inventory and data, and all their adtech competition would be gone. This is the exact opposite of what the antitrust suit is trying to achieve.

Those statements about tracking you're referencing are legal shielding against antitrust suits from adtech competitors.
by btown | 2025-04-23 01:57:00+00:00
One of my biggest gripes about this is that the wire format for React Server Components is neither standardized nor documented. Every bundler has its own format [1], but what this means in practice is that every bundler wants to be able to "move fast and break things" and treat the format as an internal implementation detail, which in turn means that there's no reference implementation and no way to have interop between, say, a RSC "backend" and a non-JS-based frontend (or crawler/scraper), or to have a non-JS backend emit RSC-compatible updates. Or to be able to allow people to iterate on it with fresh JS server-side code, rather than needing to build around a bundler.

If I want to make an Erlang or Rust based system that emits RSC-compatible updates (which itself is an undefined statement) in real time, say - there's no way to do that without either having a JS layer as a separate microservice, or calling the code from JS in some way.

The PHP analogy is very much earned, in my view. It doesn't make it a bad choice for all projects, but it will tend to isolate the ecosystem from new directions.

[1] https://overreacted.io/jsx-over-the-wire/#server-and-client-...
by cepstrum9 | 2025-04-23 01:57:23+00:00
Hey, so, Codii is much simpler under the hood: it’s core is a smart prompt + LLM model that runs on pull requests. It doesn’t yet have deep static analysis, embeddings, repo-wide understanding or customisable rules — but it focuses on delivering helpful, lightweight code reviews with minimal setup.

GitHub Copilot Reviews is much more integrated into the GitHub platform and can access richer context like the full diff, surrounding files, and maybe repo history. It’s probably more sophisticated behind the scenes.

That said, Codii is:

• Easy to install (just a GitHub app)

• Fast to iterate on (I can tweak the prompts based on feedback)

• Customizable (it’s mine, so I can steer it toward indie dev use cases like onboarding help or documenting design choices)

In terms of requests and pricing, I believe GitHub Copilot free is going to offer 2k completions and 50 chats per month per user starting May 2025, and offers a Pro plan @19$ per user I think where you actually get access to much more than just reviews just to be clear, whereas Codii for now will be free until I gather feedback, but will be limited to 200 scans per month per user. Planning to offer a paid plan soon around the ~10$ mark

TL;DR: Codii is like a minimalistic, customizable code review assistant powered by GPT — not as powerful as Copilot Reviews yet, but very easy to set up and iterate on
by anonym29 | 2025-04-23 01:57:49+00:00
If people who cannot read code well enough to evaluate whether or not it is secure are using LLM's to generate code, no amount of model transparency will solve the resulting problems. At least not while LLM's still suffer from the the major problems they have, like hallucinations, or being wrong (just like humans!).

Whether the model is open source, open weight, both, or neither has essentially zero impact on this.
by sandworm101 | 2025-04-23 01:58:05+00:00
But there are some progressions. For instance, Egyptian architecture is more "primative" than roman. Most everything in egypt is a gravity structure, big blocks piled atop each other. They didnt do connectors or mortar, let alone concrete. They did not progress along the tech tree the way that rome did. That doesnt mean that egyptian people are less smart, just that the ancient culture in egypt did not evolve new technology as quickly as others.
by throwaway2037 | 2025-04-23 01:58:49+00:00
I thought that the Australia National Broadband Network mostly services rural areas with microwave dishes (shortwave radio)? Are they changing their strategy? The original point of microwaves was to reduce cost of laying (fibre) cable. I tried to Google for any recent news about this roll-out that you speak of. Do you have a link that you can share?
by omneity | 2025-04-23 02:00:13+00:00
It’s actually not too far off. Yes MCP is designed for LLM interactions, but we observed that it’s an invocation API that’s pretty generic. So we built a package format that encapsulates computations and makes them accessible from any of MCP, REST, JSON-RPC over WS (the generic cousin of MCP)..

We build logic once and make it automatically accessible from any of these consumption methods, in a standardized way to our clients, and I am indeed piping some of these directly in the CLI to jq and others for analysis.
by bananalychee | 2025-04-23 02:02:02+00:00
My disillusion with credentialism reached its peak when I published my first paper as an undergraduate student. That paper was based on a project I'd worked on part-time for maybe half of a semester. After my professor pushed for me to write a paper about it, I obscured the subject matter with the adequate specialist jargon and convoluted technical style and it was accepted by a fairly well-regarded publication uneventfully. I was on an accelerated curriculum planning to pursue a Master's degree and had much higher expectations for academia. I ended up dropping out after earning my Bachelor's. I'm much more sympathetic to independent researchers than to academics these days, and if I were to engage in serious research again, I would probably publish it independently rather than going through academic channels.
by chabska | 2025-04-23 02:02:35+00:00
> I personally don't like that direction so looking forward to exploring new frameworks.

Why? React core has been exactly the same as it was ten years ago. Building a React SPA has not changed significantly, other than the growth in third-party libraries that complement the Core.

Recent developments in React has been about enabling its usage in wider problem domains, but not at the detriment of its previous use cases, so why would that affect you?
by cft | 2025-04-23 02:03:33+00:00
Very interesting ending of the post:

```There was a comment section here. It's gone now. As of March 16th, 2025 the United Kingdom's Online Safety Act has gone into full effect. The law presents a lot of challenges for hobbyist websites like this one to present any user-to-user content (like y'know, blog comments) and comes with some pretty serious repercussions for non-compliance.

The odds of Ofcom (the regulator whose job is to enforce this) kicking my door down over this blog are low if we are being honest with ourselves. But the odds are at least somewhere above zero and the punishment is a life ruining £18 million fine(!!) so it's just not worth the risk.

A kind lawyer has written up the implications of this law for self-run blogs like this one and the only way to guarantee that I am not in-scope would be to manually review all comments made before being available to the public. Not to be a big baby about it all but I don't really want to do this! I liked my current setup!

So I guess as a little act of protest and to hedge against any risk I've removed the comment section entirely. Sorry about that!```
by raihansaputra | 2025-04-23 02:04:20+00:00
Expo is a framework for React Native based mobile app development. Honestly it's more integrated than Next.js on React. Expo offers a lot of plugins and components to speed up and streamline the development. You can develop using the Expo Application Services, which is Expo's cloud service which offers automatic builds for both Android and iOS. It's a good offer as setting these up locally is finicky (node <-> react native <-> expo <-> ios/android deps (pods/maven) <-> xcode / jdk versions must be compatible). Having a local option like this image is great for cost and iteration speed.
by jordanb | 2025-04-23 02:05:38+00:00
That's basically what Obama did with Bush, Iraq and the GFC. I remember him claiming that a bunch of investigations would bog down his agenda.

There was also this take from the "institutionalists" that a compact to not investigate your predecessor was an important part of our tradition of peaceful transition of power. Finally there was a feeling among Democrats that the Republican use of investigations against Clinton had been dirty politics.

I do think that generation of Democrats are being pushed out and I think we'll see a new generation with different ideas. In particular I think the base is finally repulsed by people like Chuck Schumer.
by notepad0x90 | 2025-04-23 02:05:55+00:00
The naming convention is what is throwing me off. "object.closure" I understand as an attribute/property being accessed. In this case, the naming style suggests there should be a wrapper like:

def closure(self): return self.__closure__

I'm just talking form, not function here. In other words, if it is supposed to be accessed directly by arbitrary external code (non-class functions), it shouldn't use the double underscore syntax? If any property can have that syntax, then the syntax loses its meaning?
by GolDDranks | 2025-04-23 02:06:20+00:00
At some point, the creator of SolidJS, Ryan Carniato did a stint helping developing Marko.js, a fine-grained reactive / compiled / a bit HTMX-like system, and blogged about that. It's a framework that originated from eBay. I'm now quite interested about the next version of Marko.js, Marko.js 6, and I'm gonna try it for my new project.

I'm interested in fine-graned reactivity so Svelte and SolidJS have been on my radar, but the HTMX-style approach appeals to me.

Here's something to munch on:

https://dev.to/ryansolid/marko-compiling-fine-grained-reacti...

https://dev.to/this-is-learning/marko-for-sites-solid-for-ap...

https://www.youtube.com/watch?v=Z1dd09rxny4
by kiitos | 2025-04-23 02:06:38+00:00
Any notion of state that satisfies requirements like

> Just dump state and later reapply state

is necessarily declarative.

> Just dump resources as code,

What is the code for this resource?

VM foo1 Memory 16GiB Network mynet1

It depends on the current state of the system where the resource is applied. If VM foo1 already exists, with 16GiB of memory, and connected to network mynet1, then the code is a no-op, no code at all. Right? Anything else would be a mistake. For example if the code would delete any matching VM and re-create it, that would be disastrous to continuity and availability, clearly a non-starter. Or, if VM foo1 exists, with 16GiB of memory, but connected to anothernet3, then the code should just change the network for that VM from anothernet3 to mynet1, and should definitely not destroy and re-create the VM entirely. And so on.
by tupshin | 2025-04-23 02:06:41+00:00
As someone who lives on grid, but barely... in that I lose power many times per year and have had week+ outage's.

I believe you are mostly right with the addition of * shift power consumption to summer months. * wood heat in the winter and electric air conditioning in the summer. * electric-expensive hobbies in the summer (e.g. welding) * with low winter consumption, multi day battery operation becomes feasible * small dual fuel generator and a propane tank to recharge the battery bank in emergencies and extended outages with little solar production
by cyjackx | 2025-04-23 02:07:10+00:00
I forget what book it was, it might have been the happiness trap, but a big point they made was that building new habits and changing your life has a lot more to do with your inner notion of identity and long-run values. It's much easier to change your habits when they align with who you believe you are, The mental model difference between "I'm trying to eat healthier," and "I am a healthy eater."
by danenania | 2025-04-23 02:07:24+00:00
A few concrete examples of multi-agent collaboration being useful in my project Plandex[1]:

- While it uses Sonnet 3.7 by default for creating the edit snippet when writing code, calls related to applying the snippet and validating the result (and falling back to a whole file write if needed) use o3-mini (soon to be o4-mini) which is 1/3 the cost, much faster, and actually more accurate and reliable than Sonnet for this particular narrow task.

- If Sonnet 3.7's context limit is exceeded in the planning stages, it can switch to a Gemini model for planning, then go back to Sonnet again for the implementation steps (since these only need the files relevant to each step).

- It eagerly summarizes the conversation after each response so that the summary can be used later if the conversation gets too long. This is only practical because much smaller models than the main planning/coding models are sufficient for a good summary. Otherwise it would be way too expensive.

It's definitely more complex, but I think in these cases at least, there's a real payoff for the trouble.

1 - https://github.com/plandex-ai/plandex
by JadeNB | 2025-04-23 02:08:25+00:00
> That’s far too gray of a line for governments to handle, but I can dream.

I know that GDPR doesn't get much love, but I think that it shows that we (well, not we, because I'm in the US, but the EU) can meaningfully legislate issues involving intent and essential function. IA (obviously) NAL, but I see no reason that "those portions of the essential functionality of a device that do not inherently require the use of internet connectivity must be available without internet connectivity," or even the weaker "a device that is not usable without internet connectivity must be clearly signposted as such or be subject to free return at manufacturer expense for [some period of time]," wouldn't be a meaningful and enforcable law.
by gnabgib | 2025-04-23 02:08:56+00:00
Dupe (84 points, 3 hours ago, 50 comments) https://news.ycombinator.com/item?id=43766803

Related:

Google scraps plan to remove third-party cookies from Chrome (26 points, 9 months ago, 3 comments) https://news.ycombinator.com/item?id=41046637

Chrome is entrenching third-party cookies that will mislead users (511 points, 8 months ago, 311 comments) https://news.ycombinator.com/item?id=41391412

What Google's U-Turn on Third-Party Cookies Means for Chrome Privacy (3 points, 7 months ago) https://news.ycombinator.com/item?id=41788239
by grandempire | 2025-04-23 02:11:34+00:00
> Can you broadly explain where the gap in AI pedagogy is and how students can fill it?

Machine learning can be made much more effective and efficient, by first modeling the problem, and then optimizing that tailored representation. This is an alternative to throwing a bunch of layers of neurons, or copy pasting an architecture, and hoping something works out.

One of the most successful applications of ML is convolutional neural networks and is based on this principle. Image processing algorithms come from an optical theory which can be modeled with convolution - what if we used optimization to find those convolution kernels.

With four parameters I can fit an elephant, and with five I can make him wiggle his trunk.

Also you need to know when a problem is NOT optimization - for example solving equations via the bisection method.