MurphyA/hacker-news huggingface dataset:
by bluGill | 2025-04-29 13:44:32+00:00
I don't know what the name is, but that is essentially it. Though bilingual week doesn't seem quite right - the very first day the military puts you in a history class taught in the language with no local language allowed for an hour. And you still get to use your first language in the latter weeks when you need to - though they push you to not most of the time.

Remember that first week is 20-30 hours of classroom time plus homework. That by the time you are done with that first week you already have most of a semester of regular classroom behind you.
by nsteel | 2025-04-29 13:44:59+00:00
I'd not heard of controld before. I was going to ask what's the benefit over pihole but I think they've got it covered at https://controld.com/blog/controld-vs-pihole/

> Works Everywhere - Control D can be used on any internet-connected device, including mobile phones, without any installed software. To do the same with Pi-hole, you would have to set up a VPN which is a massive overkill for something as simple as DNS.
by atomicnumber3 | 2025-04-29 13:45:17+00:00
My past 2 jobs have been a big Bay Area unicorn "startup", and a small real startup. I'm remote because I grew up and live in BFE, USA.

My take on remote work is that bigcos with big names can broadly do whatever they want and still get headcount because people want the name on their resume and their stock (mostly still privately held!) in their portfolios. So they can jerk people around in a million ways, one of which is RTO, and still hire. They obviously make exceptions where it would really hurt them wrt high level roles.

Meanwhile, literally everyone else has to be flexible or they're either not going to get applications, or the adverse selection of no-remote-work makes the candidates who do apply such worse quality that hiring takes forever.

My current company tried this. Our owner (no kids or spouse) wants people in office with him so he can keep pretending it's the good old days. It's somewhat well-intended in that all it means is we started posting dual job posts and/or started posting them for SF first, then opening to remote if we didn't get any SF apps of sufficient quality. That was almost a year ago now. Despite this, we've made exactly one hire in SF within commuting distance and they didn't even apply into that position and don't have any RTO in their contract. The other 10ish HC we've added have all been remote, despite these efforts.

I also know of a different tech SMB I worked for long ago and still have contacts in. They don't offer remote at all (boomer owner). The business has essentially failed, they can hardly hire and cannot retain, and they're only kept afloat because the owner is extremely rich off the efforts of the prior non-owner CEO who he ousted to come back and ruin everything.

That's my anecdata.
by DaiPlusPlus | 2025-04-29 13:45:23+00:00
I assume you're being facetious; because popular (and good, trustworthy) extensions written by initially passionate people often end-up being bought-out by dodgy orgs - with very-hard-to-refuse offers - and the Chrome Extension Store has no way of knowing about that.

I had a Chrome extension with about 20,000 users and I received unsolicited buyout offers a few times a year, and some offers were very hard to refuse - but it's not hard to imagine anyone else capitulating.
by jerf | 2025-04-29 13:45:42+00:00
That's "just" a particular kind of fancy iterator that you should be able to implement in any language with iterator support. Here's one in Python:

# Expects: # Tuple of iterateOn where iterateOn can be None def fancyIt(init, *options): if init != None: yield(init) for f in options: newVal = f(init) yield from fancyIt(newVal, *options) class Tree: def __init__(self, val, left = None, right = None): self.val = val self.left = left self.right = right def left(self): return self.left def right(self): return self.right myTree = Tree( 1, Tree(2, Tree(3), Tree(4, None, Tree(5))), Tree(6, None, Tree(7))) for node in fancyIt(myTree, Tree.left, Tree.right): print(node.val)

which prints the numbers 1 through 7 in order.

Breadth-first is slightly trickier, but only slightly trickier one time.
by Eextra953 | 2025-04-29 13:45:56+00:00
This line of thinking is what people are pushing to justify the insane tarriff policy. Amazon is evil, slave labor, they tarriff us, etc. I'm not saying these things aren't true. However, my problem with this argument is that it frames the consumer as a victim to Amazon and to the 'hollowing out of America'. Consumers have a choice - they love using Amazon and importing cheap goods. Where is the self-reflection?
by scarface_74 | 2025-04-29 13:46:03+00:00
Well this doesn’t jibe with the current reality that Waymo is teaming with Uber right now. To make Waymo economically viable, it needs to be almost 100% utilized.

Also because people hate using multiple apps, you need an “aggregator” (see Stratechery). If I go to a city and I need a ride from the airport, my default is going to be to open Uber - not to say “oh yeah, Waymo is available when I fly into ATL but not when I fly into JFK”. Uber was even available when I flew into QXP from San Jose Costa Rica (https://en.m.wikipedia.org/wiki/Quepos_La_Managua_Airport).

Also many businesses have “Uber for Business” where business travelers can automatically get their Uber rides charged to the company instead of having to do reimbursements. How many companies are going to establish relations with Waymo to and tell their sales people/consultants - “use the Waymo app in cities where it is available otherwise use Uber”?

Just like I’m not going to open some taxi app when I fly into DCA. But I will open the Uber app and choose a taxi (with the standard taxi regulations) if it is more convenient.

Business travellers is a lot more lucrative for companies than consumers.

But getting back to Waymo and utilization, if you know you need both enough capicity to handle peak utilization and want to have capacity to handle steady state, you are going to have Waymo as a baseline and people that will come out when they think it is worth it based on current surge pricing.

Having enough Waymo cars available to handle peak capacity would be about as dumb as Intuit having enough server capacity in a Colo to handle tax season instead of using AWS and autoscaling.

Uber is also managing maintenance for Waymo in the cities it is available.
by coldpie | 2025-04-29 13:46:10+00:00
You think these websites give a shit about your privacy because you clicked on a div with a "No" in it? Not a chance. It's like asking thieves to promise not to steal from you.

Protecting users is the browser's job:

https://support.mozilla.org/en-US/kb/enhanced-tracking-prote...

https://support.mozilla.org/en-US/kb/introducing-total-cooki...
by seanc | 2025-04-29 13:46:13+00:00
"No one wants to write ifs, fors and whiles as connected nodes"

For what it's worth LabVIEW presents those structures as container boxes, which IMO works well enough. To put it another way, visual coding has many problems, but when programming LabVIEW I didn't find the representation of control flow to be one of them.

https://labviewwiki.org/wiki/For_loop
by harshitaneja | 2025-04-29 13:46:15+00:00
My experience with Kagi was not as positive as everyone else's here. I didn't find the search results to be better and perhaps that's because I am used to google foo to extract decent results there. So I made Kagi my default engine everywhere and used it exclusively for more than a month before giving up. The response time for search results isn't too long but that difference from google's response time, which I had come to rely on subconsciously for all my queries through a day, was too jarring and even after a month I couldn't get used to it. Having had an adblocker and Youtube Premium I don't really ever see any advertisements anywhere anyway so I couldn't find the value there too.

I would love to pay for search again and not be the product but as of my last experiment(Nov 2024) Kagi wasn't that for me. Curious to know if anyone else had such an experience or perhaps something I need to re-evaluate.
by Mainan_Tagonist | 2025-04-29 13:47:05+00:00
ps: just want to point out that i'm not being snarky, just asking a question in good faith. I heard more than once on TV (incidentally by critics of the catholic church), that Copernicus or Galileo had been burnt at the stake for proving that "the earth wasn't flat".

Knowing that TV and social media do play as large a role as history books or formal education in knowledge acquisition these days, is it really wrong to question whether "the average person" is a valid point of reference when discussing inter-civilisational exchanges of discoveries.
by ehsanu1 | 2025-04-29 13:47:34+00:00
Where I work, our legal department requires making use of LLMs only through our own contractual relationships with model providers. Given that, BYOK is table stakes for me at least.

Litellm is what we use internally, so we can support any LLM backend with any open source tool, and create virtual keys for each developer to monitor and manage usage limits etc.
by bluGill | 2025-04-29 13:47:50+00:00
My wife lived in a foreign country for 3 months (as an exchange student) before the family told her that was enough and refused to use English.

Your experience is common. However it is mostly a reflection on you and your situation. You could have picked the language up much faster if you tried.

Note that I'm not intending to judge you. It is likely you have a life and other things to do with your time. Only you can figure out what is the right time balance for you (though once in a while something happens that would make you regret your decision)
by PassQuest | 2025-04-29 13:48:09+00:00
Hello dear community, I am the founder of PassQuest, https://passquest.pro/. This is a saas that provides practice exams to help you to successfully prepare for your professional certification like AWS, Azure or Google Cloud. Those practice exams are crafted to cover every area of the certification you're targeting, and we offer over 500 unique questions per exam to ensure you truly understand each concept. I'd love to hear your feedback!
by watusername | 2025-04-29 13:48:11+00:00
This extension is a big ugly hack: It redirects result pages of built-in search pages to Kagi, sometimes _after_ the original page has fully loaded. This doesn't occur on my M4 MacBook Pro, but happens all the time on my much slower 12-inch MacBook [0].

If this doesn't scare you already, I'll rephrase: Your queries may be sent to the built-in search engines even if you think you're only using Kagi! It does not actually replace the need for real custom search engine support in Safari. The official Kagi docs coyly acknowledge this [1]:

> For a better experience, we recommend selecting a single search engine to redirect (DuckDuckGo or Ecosia are recommended options as they have better privacy policies than other alternatives).

[0]: It's an amazingly portable device made ahead of its time - Apple really should revive this form factor and stick an M1 chip in it. [1]: https://help.kagi.com/kagi/getting-started/setting-default.h...
by vel0city | 2025-04-29 13:48:24+00:00
I see people say they get nonsense phrases in Duolingo a lot but I never seem to get them. For example, a lesson I'm doing right now has phrases like "Quand est-ce que vous partez aux Etas-Unis?" (When are you leaving for the United States?), "Tu as ton ticket? (Do you have your ticket?), "Nous cherchons un bon hôtel à Paris." (We are looking for a good hotel in Paris).

How are these nonsense phrases? Seems like some useful things to know as a traveler.

Maybe it's the different language courses. But I also did a lot of Esperanto and it had similar quality phrases to learn as this French course.
by crazygringo | 2025-04-29 13:48:49+00:00
It's not about being used to it. There's good reason sales tax isn't included in the price, which is that sales tax varies locally. It isn't even the same per ZIP code. You couldn't advertise a statewide or nationwide price if you had to include sales tax. You couldn't display prices online at all until you entered your full address, which seems antithetical to privacy.

This is different from most other countries, where the tax is the same nation-wide.
by jameshart | 2025-04-29 13:49:06+00:00
Let’s be honest this is the kind of thing that can happen to anyone.

We all like to think we have picked up habits that immunize us from certain kinds of error but large software systems are complex and bugs happen.

The number of people in here taking ‘Raymond Chen tells an anecdote about the time a dumb bug shipped in Windows and was fixed two weeks later’ as an indictment of Microsoft’s engineering culture is frankly embarrassing. Trading war stories is how we all get better.

It would be better for us all if culturally, the reaction to a developer telling a story of how they once shipped a stupid bug were for everyone to reply with examples of worse stuff they’ve done themselves, not to smugly nod and say ‘ah yes, I am too smart to make such a mistake’.
by gabigrin | 2025-04-29 13:49:24+00:00
OP here.

I'm obviously as biased as one can get here, and have a general sense of agreement with your sentiment, but I think it boils down to 2 aspects: 1. The nature of your code. For a linear, synchronous algorithm, no doubt text is the way to go. For async, concurrency-heavy workflows, debugging it in a linear fashion becomes a nightmare. Take an LLM-heavy backend workflow for example, with calls chained and running in parallel. Horrible to debug using textual code.

2. The experience and features set of the editor itself. Making it reactive and not imperative was exactly our goal. Flyde, the visual-programming language powering Flowcode is a functional-reactive visual-programming language. Control-flow is determined by data, unlike existing tools in that space where arrows represent control-flow and all of the dynamic variables are hidden inside implicit "${{node1.input2}}", making it as far from Unix philosophy as it gets.

Also, Flowcode supports custom code in 3 ways: inline code expressions, custom code nodes (you can even fork any of the "stock" nodes with complete access to the underlying API), and codebase SDK integration, so you could supply it with inputs from your code in a typed way.
by Casteil | 2025-04-29 13:49:29+00:00
FWIW, their readme states /nothink - and that's what works for me.

>/think and /nothink instructions: Use those words in the system or user message to signify whether Qwen3 should think. In multi-turn conversations, the latest instruction is followed.

https://github.com/QwenLM/Qwen3/blob/main/README.md
by yodelshady | 2025-04-29 13:50:42+00:00
Aspiration for 20 GW of power by 2040, or in 15 years time.

In the period 1980-1990, I repeat in a 50% shorter period commencing forty years ago, France installed 34 GW of nuclear.

All I want is for someone advocating renewables over nuclear to give me a single example of a buildout of available-in-winter power exceeding that target with the forty years of investment available.

Or to agree that we have, fundamentally and quite deliberately, become worse at generating carbon-free energy.
by accrual | 2025-04-29 13:51:18+00:00
Yeah, I would agree getting into the Pi 4 is a little troublesome if it's intended to be headless.

Mine hosts a LAN using the built-in wireless adapter (bwmf0) so it's easy to SSH in, but if it's stuck in single user mode, this doesn't work.

With a spare HDMI monitor and USB keyboard it's not too difficult to get back in, but it's a hassle without these laying around.

I also tested a USB-KVM style solution: I used a mini HDMI adapter connected to an inexpensive USB capture card which let me view the console in OBS Studio. I used a regular keyboard to enter commands, but I also discovered there are "RS232 USB HID emulators" which are DE-9 serial on one end and USB on the other, allowing one to type characters into a serial session (e.g. PuTTY) and have them pop out the other end as an emulated USB keyboard. I didn't end up testing this, but in theory it would give you a basic KVM or crash cart style setup to get back into the Pi. The total price would have been around $40-50, much less than a real USB KVM like the Startech Notecons01. [0]

Another idea is to use a power brick with pass-through charging. Many good Anker batteries support this and some of them are the size of the Pi - so one could easily setup a long lasting UPS for the Pi for $30-40. At around 2.5 watts idling, a 10,000 mAh battery should easily give 6-8 hours of charge which should be enough to survive brief outages and prevent an unclean shutdown. A basic USB-C charging meter will show the Pi's power draw as well.

Other than that, the next best thing is to mount as much of the system read-only as possible to help reduce the chances of needing to fsck.

FWIW, I'm using a basic Apacer 32GB microSD card and haven't had any issues with failed writes or endurance or anything like that.

[0] https://www.startech.com/en-us/server-management/notecons01
by DebtDeflation | 2025-04-29 13:51:27+00:00
The study looks at 11 occupations in Denmark in 2023-24.

Maybe instead look at the US in 2025. EU labor regulations make it much harder to fire employees. And 2023 was mainly a hype year for GenAI. Actual Enterprise adoption (not free vendor pilots) started taking off in the latter half of 2024.

That said, a lot of CEOs seem to have taken the "lay off all the employees first, then figure out how to have AI (or low cost offshore labor) do the work second" approach.
by scuol | 2025-04-29 13:51:36+00:00
This is a state thing, usually some N-year break an payroll taxes if they have M people working in the office. These deals are really about butts-in-seats unfortunately, and there is usually a non-trivial clawback clause.

Source: I was hired by a well-known hyperscalar cloud company that didn't want to send me to HQ, but wanted to place me at some random remote satellite offices. I looked into why, and it was this payroll / other tax break by the locality. (I sorta forced them to send me to HQ, as I don't deal with the heat / humidity well in the remote locations, which were in the US south).
by toomuchtodo | 2025-04-29 13:51:47+00:00
The act of indicating no is frictionless if automated through an extension, and if it turns out orgs are not respecting the action, it'll end up in a class action or other legal event eventually (assuming statute or other regulatory mechanisms exists on the topic). "Porque no los dos?" Strongly agree the browser should still aggressively act in the user's interest and protect them.

(privacy law and how it relates to customer user experience is a component of my work in finance)
by seanc | 2025-04-29 13:52:31+00:00
"The past is never dead. It's not even past" - William Faulkner

Visual code is all over the place if you look; Any time something advertises itself as "low code" or "no code" it's a drag-and-drop flow based UI like this one. Most (if not all) ETL systems work this way, and all kinds of low-code AI Agent frameworks are cropping up.

I do agree that there very high prices to be paid for this stuff, and worst of all most of those costs are hard to see, and only crop up late in the project, when, as you point out, the more complex algorithms and processes crop up.

https://en.wikipedia.org/wiki/Extract,_transform,_load https://nifi.apache.org/ https://hop.apache.org/
by bryanlarsen | 2025-04-29 13:52:33+00:00
We recently had a good article about the tariffs and the price of shoes here which had a good explanation for why the retail price goes up at the same rate as the tariff. Sorry I can't find and link it.

1. The average apparel retail store margin is nominally 50%, but half of that margin is given back to the consumer for their ubiquitous sales. So that $20 shirt costs the store $10, but the average selling price is actually $15. So if they directly pass through the 10% tariff, it adds $1 to the average $15 sale on that $20 shirt.

2. Increased prices reduce sales. Non-product costs are fairly fixed, so just passing through the tariffs will have a significant impact on store profitability. Retail stores are going bankrupt left and right in this Amazon age. They don't have the capacity to absorb increased costs, if they don't pass them on they'll just go bankrupt more quickly. So that $1 in tariffs turns into a $1.50 price increase.
by xipho | 2025-04-29 13:52:34+00:00
On a "price awareness vein" - I've thought that a killer app would be a phone app that runs in a grocery store, it detects costs, brands, and sizes, and overlays two things 1) the option that is cheaper per mass and 2) whether there are cheaper options in other stores. Bonus for "this no-name is the same as that brand-name".

Imagine waving your phone, or having on your VR glasses and getting this feedback "instantly".

Plus, you can sell what you learned to sellers so they can out-compete one-another (and drive prices down for consumers).

In a sci-fi world this would turn grocery stores into Faraday cages quickly.

Maybe not useful for the Doordash generation, but the majority of human life can't afford such.
by stavros | 2025-04-29 13:52:35+00:00
I had the same thought, basically here's a summary, as far as I can tell:

> AIs are sometimes good for code, sometimes not so good. I put some money in but don't know what code will come out, and it's so easy to put more money in. My friend told me to use Windsurf instead of Cursor, and it's easy to switch IDEs, they have no moat. Where's the moat?

AFAICT, that's the whole article.
by mikemcquaid | 2025-04-29 13:52:47+00:00
Thanks for the kind words <3

Rewrite in Rust: never :)

A non-Ruby frontend may be possible but, fundamentally, the Formula DSL is Ruby and we couldn't feasibly move to another language without breaking backwards compatibility with everything.

The "update tons of stuff you never asked for": we're working on this: https://github.com/Homebrew/brew/issues/19202

Performance in general: we're doing what we can to improve it wherever possible. Ruby makes this harder but it is getting better rather than worse at this point.
by pmontra | 2025-04-29 13:53:15+00:00
I remember that I was using trees quite often last century, when I was writing programs in C. I seldom use tree or comparably complex data structures nowadays, when I almost only write web apps (mostly backend in Ruby or Python but some frontend in JS.) I'm bet that both Ruby and Python have plenty of trees written in C inside their interpreters. I do everything with arrays (lists) and hash tables (dicts) in Ruby and Python. Maybe a language construct for trees would be nice for lower level languages and almost out of scope for higher level ones.

The same from another angle: there are a lot of trees in the indices of SQL databases (example [1]) but we don't zoom in to that level of detail very often when defining our tables.

[1] https://www.postgresql.org/docs/current/btree.html
by k310 | 2025-04-29 13:53:33+00:00
Previously posted.

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

> The system, which started with 1AAA000, will be replaced with its reverse. The new system will consist of three numbers, three letters, and one number, so the first one could be something like 000AAA1 or 001AAA1 or 100AAA1 depending on whether or how they exactly implement the existing “no leading zeroes” rule.

And there's ALWAYS Klingon!

9ZZZ999 becomes TLHaw'DIYUS (Hmmm, kinda long)