MurphyA/hacker-news huggingface dataset:
by xtracto | 2025-05-14 01:05:07+00:00
I was just offered a job in Capital One (the bank) in Mexico city(mexican living in a cheap state in Mexico). I declined because I already have a remote job and I prefer that.

But, if i didn't have that luxury, I would not hesitate to sort my stuff to go where the work is.

People that refuse to work on site and instead remain unemployed remind me of the saying "we've done nothing different and we are all out of ideas" .

Just 20 years ago we HAD TO go where the jobs were. We've become very entitled.
by strken | 2025-05-14 01:05:12+00:00
There are exceptions to this. Marginal land can't be used for crops but can support cattle, the permaculture people use animals for various purposes that help them grow plants more efficiently, pigs have traditionally been fed waste that would go to compost today (and are thus somewhat more efficient than just feeding the pig something you grew), diverting existing waste products like whey or mechanically reclaimed meat can be more efficient than growing new plants, etc.
by drewbug | 2025-05-14 01:05:46+00:00
https://en.wikipedia.org/wiki/Constitution_of_the_Confederat... clarifies a lot:

> The U.S. Constitution states in Article IV, Section 2, "The Citizens of each State shall be entitled to all Privileges and Immunities of Citizens in the several States." The Confederate Constitution added that a state government could not prohibit the rights of slave owners traveling or visiting from a different state with their slaves.

Similar to the Fugitive Slave Clause, this does not invalidate the Dred Scott opinion that "a State may unquestionably prohibit slavery within its territory."
by pcchristie | 2025-05-14 01:06:04+00:00
Since Windows has started this iteration of their move to ARM, I wondered if Microsoft would be the first to do this properly, by building an adaptable/mobile Desktop/UX to Windows 12 (or 13), pumping up the Microsoft Store, and then relaunching the Windows (Surface, I guess) Phone with full fat Windows on it.

In a way it's the same strategy that Nintendo used to re-gain a strong position in gaming (including the lucrative Home Console market where they'd fallen to a distant last place) - drafting their dominance in Handheld into Home Console by merging the two.
by aspenmayer | 2025-05-14 01:06:38+00:00
Labeling isn’t the problem. Generated comments are against HN guidelines.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

> That said, I'd rather read GPT output than skim the meta-discussion that ruins so many HN threads. Totally stoked that we're now contributing to that rather than talking about the actual content.

You brought this meta-discussion on yourself and upon the rest of the community, knowing the likely result beforehand. It’s hard to say you’re not part of the problem you rail against when you create the initial start conditions for the thread.
by ednite | 2025-05-14 01:06:58+00:00
Wait—which startup are you referring to? My blog or my current SaaS project with 100 users? Both are real. The blog is just a creative outlet for me, while the SaaS is my latest dev project, in beta testing with a little over 100 users. I’ll be more than happy to share its success—or failure—with the community when the time is right (I’m rooting for success). Hope that clears up.
by teleforce | 2025-05-14 01:08:03+00:00
In the last Def Con 32 the badge can run full Doom on puny Pico 2 microcontroller [1].

[1] Running Doom on the Raspberry Pi Pico 2: A Def Con 32 Badge Hack:

https://shop.sb-components.co.uk/blogs/posts/running-doom-
by Salgat | 2025-05-14 01:08:11+00:00
Why is async code harder to reason about? I've been using it in C# and the entire point is that it lets you write callbacks in a way that appears nearly identical to synchronous code. If you dive into concurrency (which is a separate thing but can be utilized with async code, such as joining multiple futures at the same time), that parts hard whether you're doing it with async or with explicit threads.
by baobun | 2025-05-14 01:08:26+00:00
This comment is an example of what GP said. They're just a (self-admitted) casual troll and you'd do better to dismiss them instead of emotionally overinvesting in their comments.

In this case the troll is showing you a rare act of kindness in trying to teach you a legitimately healthy lesson by breaking the fourth wall.

On the internet nobody knows you're a dog etc.
by manquer | 2025-05-14 01:08:59+00:00
> just screwed over his investors.

> didn't break any laws,

To VCs, I would imagine the first is bigger disqualification than the second.

Startups are modeled around breaking laws to disrupt all the time. Ask for forgiveness than permission mentality.

Uber and Airbnb did it with taxi, breaking privacy laws in Europe by ad supported tech or fintech with AML/KYC securities law or more recently on copyright law to build their training data by ai companies . All of these depend on law being broken to succeed.

Calculating the risk of prosecution and the size of the penalty with upside of doing it anyway happens in these companies all the time.
by amrocha | 2025-05-14 01:09:27+00:00
States are like countries in the same way that I’m like a horse. We’re both mammals with 4 limbs, but that’s about it.

Plenty of countries have states with distinct laws and cultures. Canada, Brazil, England, Italy, etc. That doesn’t mean those states are countries.

Sounds like you’re letting US exceptionalism cloud your judgement.
by axiologist | 2025-05-14 01:09:59+00:00
For starters, please first define what kind of "wealthy" we are speaking about here.

For me personally, being wealthy means having lots of free time at my disposal to invest into practical real world experiences and knowledge refinement.

The need to waste time with acquiring money is an absolute nuisance as it takes away from my pool of free time in unproportional, if not even unfair measure.

The dictatorial materialism of this world is the opposite of being "wealthy" according to my personal definition of the term.
by Calwestjobs | 2025-05-14 01:10:22+00:00
Carbon was chosen as indicator of energy use. Rightly so. If you give it superpowers it is on you. So use it as just indicator of energy use and you will have less problems with it.

No carbon is not everything.

For example who cares about carbon when you can grow all food with same energetic and nutritional value on 3-10 times less area. that means less labor, less machinery, less storage, less fertilizers, less processing....

You can even grow additional plants to act as "fertilizer" for next crop... and still use less land than land needed to feed cows to feed you.

Just how many people are employed in extremely low wage jobs like processing, sorting, butchering poultry. or look up on youtube how involved is to cut beef into final products, people have their bones in their hands crooked from all the work, not even talking about work injuries, they can not work until pension/retirement in that industry. so why not use them in better jobs instead from start, for whole of their career.

Meat markets were suspected with helping the transfer of disease from one type of animal to another species... There is 10s - 100s of MILLIONS of poultry dispatched because of avian flu in europe every year, for last 20 + years. China alone experienced the culling or death of around 225 million pigs due to ASF from 2018-19. foot-and-mouth back in europe this year too, etc, etc.

yes carbon is not everything.
by Zambyte | 2025-05-14 01:10:24+00:00
From the link you shared:

> It uses low-level mechanisms from the Nix package manager, but packages are defined as native Guile modules, using extensions to the Scheme language—which makes it nicely hackable.

Also check out: https://git.savannah.gnu.org/cgit/guix.git/tree/?h=v0.1
by nunez | 2025-05-14 01:10:28+00:00
My most charitable guess as to why banks haven't adopted TOTP or WebAuthn is a combination of:

- TOTP having just relatively-recently become a first class citizen on iOS and Android,

- Not wanting to spend the money needed to educate their customers, many of whom can just barely text, on passkeys, and

- Lacking regulatory pressure to force their hand.

That said, I hate the trend of web services moving to "passwordless" auth schemes that rely solely on email or SMS .
by lyu07282 | 2025-05-14 01:10:36+00:00
They don't even do any entity disambiguation, the resulting graph won't be very useful indeed. I also saw people then use a different prompt to generate a cypher query from user input for RAG, I can't imagine that actually works well. It would make a little more sense if they then use knowledge graph embeddings, but I'm not sure if neo4j supports that.
by athrun | 2025-05-14 01:10:38+00:00
I hear you on diners coffee and the fact that it feels like it a different beverage altogether. I also crave it from time to time.

—do you have tips on how to actually brew it in a home setting? Or this is something can only be achieved by brewing large batches of the stuff, keeping it warm somehow, and letting it go stale for a few hours?
by honeybadger1 | 2025-05-14 01:10:41+00:00
it seems a little over blown to me. he has an audience that is full of some pretty left wing folks, and the bigger that audience gets and who they are made of will certainly effect him. he's wealthy because of his hardcore beliefs and the base he's amased and he said he is privileged..well, what comes with that is scrutiny.

i personally don't subscribe to most of his beliefs but I don't think he should be targeted by big government. i'm not so sure it's all that personal as he's using his microphone to say, drumming up his base...
by peatmoss | 2025-05-14 01:10:42+00:00
I've pondered this myself without digging into the specifics. The phrase "sufficiently smart compiler" sticks in my head.

Shower thoughts include whether there are languages that have features, other than through their popularity and representation in training corpuses, help us get from natural language to efficient code?

I was recently playing around with a digital audio workstation (DAW) software package called Reaper that honestly surprised me with its feature set, portability (Linux, macOS, Windows), snappiness etc. The whole download was ~12 megabytes. It felt like a total throwback to the 1990s in a good way.

It feels like AI should be able to help us get back to small snappy software, and in so doing maybe "pay its own way" with respect to CPU and energy requirements. Spending compute cycles to optimize software deployed millions of times seems intuitively like a good bargain.
by gerdesj | 2025-05-14 01:10:48+00:00
"Rust is wonderful but humbling!"

It's an abstraction and convenience to avoid fiddling with registers and memory and that at the lowest level.

Everyone might enjoy their computation platform of their choice in their own way. No need to require one way nor another. You might feel all fired up about a particular high level language that you think abstracts and deploys in a way you think is right. Not everyone does.

You don't need a programming language to discover yourself. If you become fixated on a particular language or paradigm then there is a good chance you have lost sight of how to deal with what needs dealing with.

You are simply stroking your tools, instead of using them properly.
by underlipton | 2025-05-14 01:10:52+00:00
It's a Tuesday. You crawl out of bed. You don't brush your teeth, you don't take a shower, you don't do your hair, you don't even really get dressed. You grab a piece of cake or a pretzel or something from the fridge, climb under a blanket in whatever room your TV is in, and binge Star Wars content for the next 5 hours. Your boyfriend watches a portion of this from the kitchen table, sipping his coffee. Goblin mode.
by bloppe | 2025-05-14 01:11:13+00:00
For me it really clicked when I realized ownership / lifetimes / references are just words used to talk about when things get dropped. Maybe because I have a background in C so I'm used to manual memory management. Rust basically just calls 'free' for you the moment something goes out of scope.

All the jargon definitely distracted me from grasping that simple core concept.
by ants_everywhere | 2025-05-14 01:11:53+00:00
I don't think the idiom has in mind any particular curve. I think it's just another case of a misuse becoming idiomatic without any meaning beyond the phrase taken as a unit. E.g.

- another think coming -> another thing coming

- couldn't care less -> could care less

- the proof of the pudding is in the eating -> the proof is in the pudding

It's usually not useful to try to determine the meaning of the phrases on the right because they don't have any. What does it mean for proof to be in a pudding for example?

The idiom itself is fine, it's just a black box that compares learning something hard to climbing a mountain. But learning curves are real things that are still used daily so I just thought it was funny to talk as if a flat one was desirable.
by reillyse | 2025-05-14 01:12:13+00:00
You are 100% correct, nobody wants to work with a "rock star" on a team. When I hear "rock star" I think diva. The best teams are made up of a group of competent people who get on with each other and do great work together - not a team where one or more people are god's gift and the others are subordinates. That kind of scenario doesn't last too long.
Ask HN: Anyone else use a single gigantic .txt file as a notetaking solution?
by superconduct123 | 2025-05-14 01:12:17+00:00
For the last 3 years I've just been using notepad in windows and a single .txt file to keep notes for my programming job.

Every day I just open the file and add a new divider for the day at the top of the file like this:

May 13, 2025

------------------------

After 3 years I'm at 25,000 lines, 700KB in size

* Its super fast and lightweight

* notepad opens instantly

* notepad takes up very little screen space

* searching is still instant with CTRL + F

* Want to tag something? Just write "tag:something" and search for that later

It sounds kind of stupid at first, like how do you quickly get to old notes?

But I've realized over time I generally only care about the last week or 2 of notes and rarely reference older ones.

I'm curious if anyone else does this and what your stats are for the file and if you ran into any issues
by qiqitori | 2025-05-14 01:12:26+00:00
I like making my coffee with much cooler water (60-75 C / 140-167 F). I do boil the water first to get rid of the chlorine, and to sanitize the electric kettle, so cooling it down after that takes a while. I pour it over the coffee myself. Then I put in cold milk to cool it down to drinkable temperatures. From April/May to November I put in ice cubes.
by scarface_74 | 2025-05-14 01:14:11+00:00
Just for context for those who don’t know. Amazon has a back heavy RSU vesting schedule 5/15/40/40 over 4 years did their initial offer with the last two years 20% every 6 months. The first two years are a pro rated signing bonus to make up for the lack of RSUs. Meaning your compensation will equal $250k if the stock stays flat.

But still - I much rather have the same amount guaranteed in cash especially since I think the outsized stock gain days for FAANG are over.

But you’re right, it’s a lot harder to go from one BigTech company than the other for most software developers (I think???).

Now to be completely transparent with a fact that wasn’t relevant at first but it is with that last statement I made, I have no idea how hard it is to get a software engineering position at Google after coming from Amazon. I do know it’s fairly strait forward to go from AWS ProServe to GCP’s equivalent from what I’ve seen. It’s almost an open door if you’re any good. I just don’t do BigTech or any in office job any more.
by xtracto | 2025-05-14 01:16:44+00:00
I don't think that is racist at all.

A very good friend started an outsourcing firm here in Mexico 10 years ago. We (mexicans) were the cheaper alternative for US companies building software solutions.

Well, a couple of years ago they outsourced a lot of jobs from Mexico to Vietnam, because they were 1/3rd of the cost of a software dev in here . We were Out-Outsourced!

It's the fact of the market, and will continue unless the US government intervenes somehow.

I have been on the "lucky" receiving side of the issue. I've worked remotely for several US companies. They pay half of a US Director/VP of Eng for one; And I earn 3x the normal Mexico salary.

And as you say, right now , it doesn't make sense to pay US salaries for PHP development. Shit, I've outsourced Sr. QA automation to Argentina at $10 usd the hour (via upwork).
by epistasis | 2025-05-14 01:17:00+00:00
There are two types of climate inventories that account for emissions either at time of production or time of consumption. Production-based inventories are easier to measure, but consumption-based inventories can be more informative for individual consumers.

I'm mostly familiar with California-centric inventories because I want to influence state and local policies.

California State's inventory: https://ww2.arb.ca.gov/ghg-inventory-data

There used to be really great consumption-based maps at this site, but I'm not finding them at the moment. Instead here is a per-city breakdown of estimates: https://coolclimate.berkeley.edu/inventory

One thing that takes a very long time to change is transportation. City planning is pretty ossified. Cars have multi-decade lifespans. So starting the change for transportation is a very very urgent need. Diet is far more flexible, and there are innovations such as specific types of algae added to cows' diets that drastically reduce methane emissions. Changing the diet of cows is a far faster change than replacing every consumer's vehicle with a clean one.

The history of environmental action shows that it's very easy to regulate and bring business in line. It when it comes to consumers, it's far far trickier. Tackling meat, which is a quarter of the emissions of the diet of folks, may need to happen eventually but it will have far less impact than legalizing apartments in dense urban cores and allowing people to live without cars.
by mplanchard | 2025-05-14 01:17:01+00:00
Async closures landed in stable recently and have been a nice QoL improvement, although I had gotten used to working around their absence well enough previously that they haven’t been revolutionary yet from the like “enabling new architectural patterns” perspective or anything like that.

I very rarely have to care about future pinning, mostly just to call the pin macro when working with streams sometimes.
by pcchristie | 2025-05-14 01:17:16+00:00
Re-posting this at top level, curious what others think.

Since Windows has started this iteration of their move to ARM, I wondered if Microsoft would be the first to do this properly, by building an adaptable/mobile Desktop/UX to Windows 12 (or 13), pumping up the Microsoft Store, and then relaunching the Windows (Surface, I guess) Phone with full fat Windows on it.

In a way it's the same strategy that Nintendo used to re-gain a strong position in gaming (including the lucrative Home Console market where they'd fallen to a distant last place) - drafting their dominance in Handheld into Home Console by merging the two.
by dang | 2025-05-14 01:17:50+00:00
Related:

How safe is Zig? - https://news.ycombinator.com/item?id=31850347 - June 2022 (254 comments)

How Safe Is Zig? - https://news.ycombinator.com/item?id=26537693 - March 2021 (274 comments)

How Safe Is Zig? - https://news.ycombinator.com/item?id=26527848 - March 2021 (1 comment)

How Safe Is Zig? - https://news.ycombinator.com/item?id=26521539 - March 2021 (1 comment)
by adobbs | 2025-05-14 01:19:04+00:00
In my experience with 1:1 before and during my Masters in Education, nothing could compare to the learning and growth my students had from that highly personalized (and personal) instruction.

It's super common for students to not understand material or express that they don't, but it's just not possible to drill into each specific student's particular knowledge or skill level in the classroom environment.

On the social and behavioral side, many students who struggle in a classroom environment transform into model students when taught with both the care and privacy of 1:1.

For me, I feel it's a combination of hyper-personalized instruction plus compassion in a relationship where it feels safer for the student to accept the value of improving at something without social pressure or embarrassment.
by abirch | 2025-05-14 01:19:12+00:00
I think the major decisions behind Rust is being explicit and making the programmer make decisions. No NULLs, no Implicit conversions, no dangling pointers. Lifetimes, Optional, Results, each Match branch needs to exist, etc.

Side note: Stack allocation is faster to execute as there's a higher probability of it being cached.

Here is a free book for a C++ to Rust explanation. https://vnduongthanhtung.gitbooks.io/migrate-from-c-to-rust/...
by CyberDildonics | 2025-05-14 01:19:21+00:00
No, it's an uncommon optimization because if you want speed you avoid memory allocations anyway, hopefully to the point that they have almost no impact.

Heap allocations can be done about 10 million times a second on one core, once you get them out of your loops they should make almost no impact, so grouping a few together when they are only being done once is rare and probably indicative of painting yourself into a corner where something inside a call stack inside hot loop still has to heap allocate.

The other reason is that most heap allocation is for lots of memory that will hold the same type. Manually grouping a bunch of allocations implies that you have multiple different types of arrays all buried inside a hot loop to the extent that you are trying to shave off whatever you can but can't lift those allocations out of the loop.

It basically implies that the optimization has to come without too many changes, because if you could do whatever you want they wouldn't be in the loop in the first place. For these reasons it is a half measure in a niche scenario.

There are other ways of writing code—which other languages can incentivize by being designed differently—where it is not a niche optimization, but rather the default.

This is completely abstract, can you show me exactly what you mean and why it can't be done easily in C++ or with RAII ? It sounds like rationalizing a situation you don't want to be in in the first place.
by trevor-e | 2025-05-14 01:19:22+00:00
Having built some toy parsers for PDF files in the past it was a huge wtf moment for me when I realized how the format works. With that in mind, it's even more puzzling how it's used often in text-heavy cases.

I always think about the invoicing use-case: digital systems should be able to easy extract data from the file while still being formatted visually for humans. It seems like the tech world would be much better off if we migrated to a better format.
by Calwestjobs | 2025-05-14 01:19:56+00:00
less cancer in current situation where US has 30% of people drinking water with lead pipes / lead solder in waterworks ? Or google what everything was dumped nilly willy into EPA Superfunds, or atomic tests in nevada with fallout on most of US citizens.. lesss cancer is nonsense. you get cancer from everything you touch these days, what you eat is no issue, because that is one thing which is actually tested...

less heart disease - you drink carrot shakes while you exercise vs you eat steaks while you sit behind table...
by epistasis | 2025-05-14 01:20:03+00:00
You linked to a global analysis, not one for the US, as I was talking about. I live in the US and am interested in tackling the massive massive amount of emissions from the US. People in the US emit far far more carbon than nearly anywhere else. Solving that huge problem means tackling transportation.

People in the US sometimes focus on global action, but as a US resident it seems completely inappropriate to be telling people who emit far far less carbon that they need to stop eating beef, before people in the US have stopped far far worse activities.