MurphyA/hacker-news huggingface dataset:
by int_19h | 2025-07-01 20:00:29+00:00
Sather had a very interesting approach to extensible looping constructs that allows for this kind of flexibility:

https://www.gnu.org/software/sather/docs-1.2/tutorial/iterat...

With this machinery, you could declare an iterator like so:

first!(): BOOL is yield true; loop yield false; end; end;

And then the case that you describe would be something like:

a: ARRAY{INT} := |1,2,3|; loop if not first! then emit(','); end; x := a.aelt!; emit(x); end;

Which in practice amounts to the same thing as an explicit boolean flag - it's just hidden inside the internal state of first! that the loop has to maintain - but it sure is a lot clearer.

In Python and the likes, I suppose you could do the same with zip() if you aren't already using enumerate():

def first_or_not(): yield True while True: yield False: for value, is_first in zip(obj, first_or_not()): if not is_first: emit(',') emit(f'{key}={value}')

But this gets unnecessary verbose compared to Sather's implicit zip.

Regarding the ability to optimize away the version with an index check or equivalent, I was curious if C++ compilers these days are up to snuff if you choose to do something similar to Python. Turns out that Clang can indeed turn this:

void emit_array(span<char*> xs) { for (auto [x, i] : views::zip(xs, views::iota(0))) { if (i) { emit(","); } emit(x); } }

into optimized assembly that doesn't perform the check inside the loop. But it does it by duplicating emit(x) so that it always runs once before the first iteration, and then checking for >1 item and only looping then. Ditto for this Rust code:

fn emit_array(xs: &[String]) { for (i, x) in xs.into_iter().enumerate() { if i != 0 { emit(","); } emit(&x); } }

Unfortunately both g++ and MSVC struggle to optimize this equally well; both end up using a flag that is repeatedly checked in loop body.

(https://godbolt.org/z/bb79jW87Y)
by altairprime | 2025-07-01 20:00:44+00:00
Memorize one TOTP key for a cloud offering; then store the rest in it. 1password, Lastpass, etc. It’s not that much longer than a Windows product key, and I still know one of those.

The secret key is just an RNG output so you could also take it in 4 byte chunks and memorize 16 PRNG inputs that generate each the 4 bytes.

Or you could memorize a passphrase, take a sha2 hash of it, and then memorize a single PRNG input that spits out the bitstring diff between the hash output and the TOTP key. That way you aren’t wholly dependent on memorizing numbers and you can still safely use a more predictable and weak ‘PRNG’ that can amplify the bitstring salt out of an input.

etc.
by impish9208 | 2025-07-01 20:01:23+00:00
> In 2024, following the recommendation and approval by our Board of Directors, including all of the disinterested directors, we awarded each of our named executive officers a one-time cash bonus in recognition of their efforts with respect to the Abandoned Merger with Adobe. Messrs. Field, Melwani, and Voskanian received special bonuses of $5.0 million, $1.0 million, and $150,000, respectively.
by dataviz1000 | 2025-07-01 20:01:57+00:00
Location: Lima, Peru (I'm a US citizen traveling the world for 1.5 years so far.)

Remote: Yes

Willing to relocate: Yes

Technologies: TypeScript, JavaScript, PHP, Python, FastAPI, Redis, MongoDB, PostgreSQL, TimescaleDB, MySQL, React, React Native, NestJS, AngularJS, Backbone, Playwright, Drupal, Express, jQuery, D3.js, visx, GraphQL, Chrome extension, and AWS

Résumé/CV: N/A

Email: [HN username]@gmail.com

My focus has been on browser automation and building browser agents since 2018, with 13 years of enterprise experience building dynamic data user interfaces for web and mobile. I have experience working at both medium 130 person AI companies and small, fast-moving 7 person teams wearing many different hats, which I prefer. I have been instrumental in taking multiple companies from 0 to 1, both as a consultant and as a full-time employee in media, real estate, marketing, streaming services, education, and fintech.

Currently, I have a side project building a Chrome extension using VSCode’s core libraries. I’m working on incorporating the VSCode Copilot Chat—which they released the source code for last week—to create a Copilot for the browser. [0]

I look forward to speaking with you :)

[0] https://github.com/adam-s/doomberg-terminal
by Someone | 2025-07-01 20:02:16+00:00
It wouldn’t surprise me if they could do better if they gave up on doing most of the work programmatically.

One part of me agrees with (both from the paper)

> For example, putting a specific piece of code into the right place in each file (or adding necessary header files, as mentioned in Section 5.2) might take 20-30 seconds per file – but doing this for all 1051 files of deal.II then will take approximately a full day of (extremely boring) work. Similarly, individually annotating every class or function we want to export from a module is not feasible for a project of this size, even if from a conceptual perspective it would perhaps be the right thing to do.

and

> Given the size and scope of the library, it is clear that a whole-sale rewrite – or even just substantial modifications to each of its 652 header and 399 implementation files – is not feasible

but another part knows that spending a few days doing such ‘boring’ copy-paste work like that often has unexpected benefits; you get to know the code better and may discover better ways to organize the code.

Maybe, this project is too large for it, as checking that you didn’t mess up things by building the code and running the test suite simply takes too long, but even if it seems to be, isn’t that a good reason to try and get compile times down, so that working on the project becomes more enjoyable?
by toofy | 2025-07-01 20:02:56+00:00
hilarious seeing that he views it this way when his company is so very well known for taking (strong arguments say stealing) everything from everyone.

i’m noticing more and more lately that our new monarchs really do have broken thought patterns. they see their own abuse towards others as perfectly ok but hilariously demand people treat them fairly.

small children learn things that these guys struggle to understand.
by floxy | 2025-07-01 20:02:56+00:00
> It costs around $26,000 in Europe, where it recently debuted.

I wonder how it compares to the Nissan Leaf. The 2025 models are heavily discounted right now in the U.S., where you can get the S Trim (40 kWh battery) for around $19,000, and the SV+ (60 kWh) for ~$24,000.
by jfagnani | 2025-07-01 20:04:28+00:00
Author here: Those don't look like HTML enough because they're not markup. Every single one of the top frameworks uses markup with interpolations as their basic template format: React, Vue, Angular, Preact, Lit, Svelte, Solid, Quik, Stencil, Marko, Polymer, FAST, and on and on.

Frameworks and rendering libraries that don't have a markup-based template syntax are just very rare.

And I think for understandable reasons: Markup-based templates look like the output, and web developers know HTML, so the templates are easier to read and write.

That StackOverflow question seems unrelated because it's asking about untagged template literals. With tagged template literals, depending on the return type, you can absolutely get to the underlying values.
by smmx | 2025-07-01 20:05:52+00:00
SEEKING WORK | Remote | CET Location: around 46/14 In past 20 years did many different projects, mostly worked with teams 1-5. 60% of projects were related to sport and TV, rest was various other fields. I was jumping between leading, architecting, designing, programming and things in-between :)

Last years I programmed mostly in C# (web services, aspnet, razor, ...) also desktop apps (WinForms, WPF, Avalonia), JS/Typescript (mostly for gui, I enjoyed mithril and now SolidJS). I also did some c++ for various small integrations (for example some plugin for Godot, some ffmpeg, ...) and lately studying Rust. Mostly worked with GPC 70% , AWS 20%, other 10%.

I like to make GUI/backends that makes sense, are easy to understand (test with users) and performant/fast. Also to last years, with minimum dependencies.

I also have experience with live events setup for small broadcast of events, networking experience

I did tons of remote support with people around the world, also know how to use this information to make better programs (or design...).

I do not have any experience with AI.

Looking for 20-100 hours per month.

hellohn@smmx.dev
Ask HN: Vibe coding way above my pay grade makes you uncomfortable?
by all2 | 2025-07-01 20:06:05+00:00
There's a lot going on in my head. I am simultaneously exhilarated, anxious, and concerned that I'm leaving learning and personal development on the table. I'm in the middle of developing a project that is purely vibe-coded in golang. I have little to no experience with golang (being primarily a python and C# dev). I'm watching this LLM agent chew through my requirements and design spec and implement major features in under 20 minutes.

It's awesome to behold. It writes code, builds tests around the code, documents it.

I feel like I'm operating two levels above my 'pay grade', like I'm cheating somehow. This is a personal project, so I'm not getting paid for it, but still...

Has anyone else run into this?
by michael_foundry | 2025-07-01 20:06:47+00:00
Foundry [https://mlfoundry.com/] | ONSITE in Palo Alto -or- San Francisco, CA (SF Bay Area) | Full Time

We’re building Foundry to be the cloud compute platform AI developers actually want—no more battling procurement, limited quotas, or clunky tooling. Our platform gives ML engineers frictionless access to high-performance GPUs, clean APIs, and modern infra primitives to train, fine-tune, and serve state-of-the-art models. Backed by Sequoia, Lightspeed, and founders of Databricks, Google Brain, and Scale.

We’re hiring:

>> General Software (SWE) / Infrastructure Engineers << Build our batch + streaming workload engine for ML. Think: GPU scheduling, fault-tolerant execution, rich job DAGs. 0→1 ownership. Apply here: https://job-boards.greenhouse.io/foundrytechnologiesinc/jobs...

>> SRE, Supply (Site Reliability Engineer) << Manage GPU provisioning, spot bidding, and node pool health across clouds and on-prem. Work on the systems behind our global GPU fleet. Apply here: https://job-boards.greenhouse.io/foundrytechnologiesinc/jobs...

>> Solutions Engineers << Help top ML teams succeed on Foundry. Infra + ML intuition & technical customer facing prowess a must. Apply here: https://job-boards.greenhouse.io/foundrytechnologiesinc/jobs...

>> Founding Product Manager << Define the roadmap for the most advanced ML infra users. Apply here: https://job-boards.greenhouse.io/foundrytechnologiesinc/jobs...

Looking for compute? We support distributed deep learning workloads, including long-running batch jobs, streaming inference, and GPU autoscaling for LLM training and fine-tuning. https://mlfoundry.com/contact-sales

discovery tags: gpu, kubernetes, hpc, terraform, helm, distributed, ml, training, inference, llm, deep learning, fine tuning, customer, product, api, on-demand, infrastructure, elastic, scalable, cloud, platform
by jfagnani | 2025-07-01 20:06:52+00:00
Author here. Property and event disambiguation syntax is definitely far on the easy to change side of things.

I personally think the sigils are easier to read and write than perfixes, and these particular sigils have popped up independently in multiple libraries like Vue, Lit, and LighterHTML.

But this API could use prefixes, or like Vue, it could support both.
by nubani | 2025-07-01 20:07:47+00:00
The internet finally has a complaint box!

Built this over the past 9 months.

ComplaintBox is a social platform where:

• People post complaints • Others post solutions • Voting + Supervoting + tipping drive what rises in the feed

It’s like Reddit meets X, but for frustrations, personal, societal, or absurd. The app is built to channel and organize internet noise into signal and response.

Live now on iOS and web

Would love your thoughts: on the model, UX, or anything you’d change.

App Store: ComplaintBox Social
by cs702 | 2025-07-01 20:08:15+00:00
The new token, USELESS, makes Dogecoin look dignified by comparison.

USELESS was launched via LetsBONK.fun, has no utility, no roadmap, and evidently no shame, but it has amassed 12K holders, reaching $23M in peak daily trading volume.

You can't make this stuff up.
by demaga | 2025-07-01 20:08:16+00:00
It encourages people to speak rather than type.

You don't get hundreds of messages per day by writing in email style. You get there if you have a lot of synchronous or near-synchronous communication in chat. It's kind of obvious that voice call suits this better, but there is friction involved in making an actual call.

Discord voice channel might reduce the friction if you make this culture of hopping in and out of it.
by taylodl | 2025-07-01 20:08:48+00:00
Why would you do this?

This is the most incompetent administration in US history. There could be a thousand and one different petty reasons why they'd do this, but you can be sure it's nothing strategic and forward-thinking. They simply lack the capacity for that. The sad thing is they're opening the door for China to eat our lunch. They profess they don't want that, but damn, so much of what they're doing is leading to that as a consequence.
by scrollop | 2025-07-01 20:08:50+00:00
"Artemis Solid Rocket Booster made by Northrop Grumman - named the Booster Obsolescence and Life Extension (BOLE), suffered an anomaly during its test firing at the Promontory test site in Utah. During the final part of the two minute firing, the booster's nozzle suffered a major failure, liberating entirely from the motor."
by bostik | 2025-07-01 20:09:01+00:00
In my previous job I repeatedly told people that "git grep is a superpower". Especially in a monorepo, but works well in any big repository, really.

To this day I think the same. With the addition that knowing about "git log -S" grants you necromancy in addition to the regular superpowers. Ability to do rapid code search, and especially code history search, make you look like a wizard without the funny hat.
by tuckerpo | 2025-07-01 20:10:00+00:00
Location: Denver, Colorado (CO) Remote: Yes, or hybrid, or on-site. Willing to relocate: Yes, within Colorado, east coast USA, or EU/UK Technologies: C++, C, Python, (Java|Type)Script, assembly (ARM, MIPS, SHARC), Linux (userspace), Linux (kernel), embedded Linux (buildroot, Yocto, OpenWRT, uboot, grub), networking (802.11n,ac,ax,be,k,v,r,s, hostapd, wpa_supplicant, nl80211), FPGA (VHDL, Verilog, Xilinx, Intel), Windows (kernel, C runtime, MFC, WPF, C++, C#), Docker Résumé/CV: https://tuckerpo.me/ or curl https://tuckerpo.me/short-resume | jq Email: tuckerpolomik[@]gmail.com

Hi, I’m Tucker — a senior systems engineer with 7+ years of experience and the battle scars to prove it. I’ve written firmware for chips that barely boot, kernel modules that talk to hardware no one admits to designing, and userland code that somehow still runs in production. Occasionally I get dragged into front-end work too, usually as penance for something I did in a past life.

Strong C++/C background, systems-level orientation. I’m at home in resource-constrained, real-time, or just-plain-hostile environments. Embedded Linux, networking stacks, wireless protocols, FPGAs, weird bootloaders—if it’s not glamorous and people usually avoid it, there’s a good chance I’ve done it. Currently getting into Rust and Zephyr in my free time. Also very very strong background in networking/Wi-Fi, with several talks, published papers, and patents.

Looking for roles where software is the product, not an afterthought. I’d prefer to avoid places where Jira boards are sacred texts, architecture is decided by slide deck, and everyone’s calendar is 95% “syncs” to discuss work nobody’s doing. If your team measures value in working code and shipped products, and not in "alignment", we’ll probably get along.

Spoken at conferences (NetworkX, prpl Summit, SCTE Expo), given demos to customers, and generally enjoy making things that actually work.

If you’ve got an interesting problem, and you aren’t staffed wall-to-wall with MBAs LARPing as engineers via spreadsheet, shoot me an email.
by creamyhorror | 2025-07-01 20:10:12+00:00
I've said for many years that the language barrier is a major factor in keeping Japanese workers from earning pay in global markets that's more commensurate with their abilities. If more Japanese workers were more competitive for global jobs, there would be more pressure on Japanese companies to improve their working environments and compensation. But there was the Bubble and the domestic focus of Japanese companies to distract.

Unfortunately, many other nations have become very competitive in English proficiency now. 1980s-2010s was the period to build an English-proficient workforce and enjoy the economic benefits (as my country Singapore did decades ago).

Keep trying to apply for jobs in companies or countries with better working cultures.
by PeterWhittaker | 2025-07-01 20:10:24+00:00
I'd have to more or less agree with a sibling comment, in the sense that writing the code isn't the hardest part (that's the agreement part) but it's not the easiest, either (that's the disagreement part).

I write a lot of code for highly secured black boxes that break a lot of networking rules: undirectional gateways and guards where two things must be guaranteed: one, no matter what, data can flow in one direction and one direction only, and two, no matter what, with the proviso that we cannot control customer operators, the only data flows permitted are those that have been reviewed by two people with independent roles.

The hardest part is understanding the space, how things need to be, what might work, what might go wrong, how a change here might break something there (and this in a system basically running in old-fashioned SELinux "strict" mode).

(There is only so much experimentation and instrumentation possible, because I need to make things work in that closed, tightly controlled appliance.)

The easiest thing is explaining this to others, at various levels: It’s about knowing what to include in the explanation, what to omit, and which analogies are useful, which are harmful. That all comes from repetition and retrospection.

Writing code is somewhere in the middle: once I understand the problem, the code is usually pretty easy, except, of course, when it isn't because oh, yeah, that.

Fortunately, I have a long legged hound. My entire team knows the value of our DWs, dog walks, or, as a colleague recently called it, Diagnostic Wandering.

Two hours a day in the woods, along the rivers, and much becomes clear. Not all, just much.

The really second hardest part is mentally working through the coding alternatives like an adversary, trying to figure which one is best, or, on the whole, given all the layers of defence, good enough.
by mikewarot | 2025-07-01 20:10:42+00:00
This is close to the functionality that Borland Delphi had back in the 1990s. The pascal language and the design of their GUI toolkit were a really good impedance match, so you could freely switch between GUI design and editing the text version of it.

Doing so for languages like C++, was a sea of boilerplate that you couldn't touch, which is why I never moved away from Pascal. Similar fragility was evident in WxPython and it's builder.

I'm glad to see that LLMs can provide a match for less well suited Language/GUI pairs. We all deserve to get that kind of productivity.
by fredoralive | 2025-07-01 20:11:04+00:00
Although you could get Python 1.x for 68k Macs already: https://homepages.cwi.nl/~jack/macpython/macpython-older.htm... (the "Even older" bit mentions that 1.5.2 is the last 68k version).

Admittedly, I think this Micropython port is seemingly more targeting a Mac Plus, whilst I suspect the original Mac Python would probably prefer a Quadra (or a PowerMac).
by andsoitis | 2025-07-01 20:11:43+00:00
> OpenAI is the only answer for those looking to build artificial general intelligence

Let’s assume for a moment that OpenAI is the only company that can build AGI (specious claim), then the question I would have for Sam Altman: what is OpenAI’s plan once that milestone is reached, given his other argument:

> And maybe more importantly than that, we actually care about building AGI in a good way,” he added. “Other companies care more about this as an instrumental goal to some other mission. But this is our top thing, and always will be.

If building AGI is OpenAI’s only goal (unlike other companies), will OpenAI cease to exist once mission is accomplished or will a new mission be devised?
by 0xbadcafebee | 2025-07-01 20:11:47+00:00
90% of the reason Spain and Portugal explored the new world was for wealth (spices, gold/silver, sugar, brazilwood). The rest of the reason was to spread their religion and increase their national power. Missions only popped up 30 years after they first began colonization.

The Dutch, British, and French were initially brought to the new world because they'd heard how rich it was and wanted a piece of the pie. It took them a while to establish a hold because the Spanish defended it so well (incumbents usually win) and also they kept settling frozen wastelands rather than tropical islands.

The religiously persecuted groups (who were in no way state-sponsored) came 120 years after Spain's first forays.
by Llamamoe | 2025-07-01 20:12:11+00:00
Other than folate and B12, the B vitamins are the most common nutrients, they're not really a point in rice's favor. And other than manganese, the other figures you quote are MUCH higher than the sources I'm looking at. Are you sure you're not looking at enriched rice, or an unusually nutrient-rich strain? Because rice absolutely is the least nutritive staple crop of the ones commonly consumed in the first world.
by cxr | 2025-07-01 20:12:58+00:00
You're moving the goalposts; the purpose would be reducing toil (and possibly other costs) for the people who are currently tasked with filling out these types of forms.

There's nothing in the comment you're responding to that suggests that it's instead meant to be a solution to the problem of the government (or any other org) being unable to trust the inputs to its systems or ameliorate the costs of bad actors at all.

A person entering lies in their personal fact database tomorrow can submit the same lies on their personal income tax return today.
by LegionMammal978 | 2025-07-01 20:13:09+00:00
Eh, I also thought that at one point (regarding XSLT 3.0), but it turns out that parts of it are an underspecified mess. E.g., you can specify static parameters to be supplied to the document, but it has nothing on when or how any type-conversion errors would be signaled [0]. And in general, it has very imperative features like shadow attributes that purists would turn up their noses at. I don't see it becoming widespread anytime soon.

[0] https://github.com/Paligo/xee/issues/32#issuecomment-2762343...
by elzbardico | 2025-07-01 20:13:13+00:00
I reckon you're not very familiar with the world of government spending.

An engineer or artist that reliably find ways to go 50% over budget and generate contract extensions is a highly sought professional amongst vendors that specialize in the public sector.

In gov work contract extensions are almost guaranteed, provided your company also have the civic spirit of contributing to our democracy with health campaign donations.
by IAmBroom | 2025-07-01 20:14:30+00:00
There's a lovely story of a dad who's wife said, "Lil Johhny said a bad word today. Go talk to him." Or something to that effect.

"Johnny, Momma tells me you said X. That's pretty bad, but at least you didn't say the worst word..."

"What's that?" "Can't tell you!" <negotiations> "OK, but you have to PROMISE you'll never say it in front of Momma. It's <whispers> booglashek."

Next day, all his friends were over, calling each other booglasheks.