skysight-inc/HackerNews huggingface dataset:
The distinction between debug and release mode wrt my code (assertions, debug logging) was always confusing to me. The experience told me uncountable times that “release” (iow “prod”) is where you want debug information to be produced, cause that’s where your code meets full-blown reality. Otherwise your system silently breaks in production after few weeks, and two weeks later someone will ask you why and to repair it asap. Good luck investigating it without megabytes of the debug info. And don’t expect that you’ll get only definitive questions. In “who’s right” and disputes the question you receive will often have a great share of uncertainty.

Assertions are basically opposite to that. Useless in development because you watch/test closely anyway and useless in “release” because they vanish.

As I rarely write #CLK-level performance-required code - like most developers I believe - and mostly create systems that just do things rather than doing things in really tight loops many times a second, I always leave as much debug info and explicit failure modes as it is reasonable in my production code, so that the few-weeks failure would be immediate and explained in the logs (“reasonable” being readable without holding pgdn and not filling the ssd just after a week). It doesn’t mean that the system must crash hard as in sigsegv, ofc. It means it reports and logs all(!) steps and errors as they occur in a form that is obviously greppable by all important params (client id, task id, module tag, etc), and it stops a logical process in which an inconsistency occurred from advancing it further. If someone asks you later why it happened or what happened at the specific time with a specific process, you always have the answer almost immediately.

Tldr. Unless you write performance-first systems, i.e. you have performance requirements document in any form to follow, don’t turn off assertions and do log everything. You’ll thank yourself later.
It is always fun when people learn some of the things that common lisp has done for a long time.
I fully agree with you. Though I would add that it a little depends on the type of program. A CLI program's lazy, but often sufficient way of handling erroneous input are asserts (that are still enabled in release). In GUI app it shouldn't happen.
Simple: Germany has a huge export surplus that China and the USA is unwilling to accept anymore.

Also, German economy is stagnate, based on a cheap russian gas and cooperation with china. So now, the idea is to target South America for exports while balancing it with import of South American foodstuff(EU-Mercosur agreement, that we know will not be ratified by individual countries in a democratic process, but by the Commission).

The problem Germany has to fix is the Common Agricultural Policy, that's one of the pillars of the EU.
They are using the Green Agenda to force countries to reforest their fields. Of course the whole reforestation program is designed in a way that benefits states (Germany) that have got rid of their forests long time ago, and is unfavorable for countries that developed their agriculture after the WW2 - like Denmark and Finland.

Expect a heated discussion between Germany and France, rise of right wing parties in smaller countries, and a push for stricter integration.

https://www.euronews.com/business/2024/11/19/eu-mercosur-tra...

https://forest.fi/article/whos-to-pay-the-cost-of-eus-nature...

https://hir.harvard.edu/germanys-energy-crisis-europes-leadi...
I would give up a huge amount of my paycheck for a manager who heard me bitch and whinge about every little flaw; told me I'd made them too angry to continue the conversation but we should pick it up in ~48 hours with a mutually agreeable plan coming back with stats and analysis for where my opinion was simply wrong; vs where it was right.
>where more than one adult thought it was a bomb

Clarification: more than one American adult, where collectively some states/localities are more likely to jump at shadows than others..
In New Zealand the believe that if they removed farm subsidizes, their farmers would quite. Now they are a massive farm product exporter.
Delegation is the managers job - it's not up to the subordinate to delegate on their managers behalf IMO.
> they also use much more goods manufactured from places like India and China

since the argument seems to be that rich countries are using China and India to produce the co2, could these two countries simply stop making the tat that we import from them? If that will tank their economy, then wouldn't us stopping the imports of tat also tank their economy?
I'm not sure if you are being serious or not. If the former, there are two problems with the "employer": (1) finding a problem where there is none, (2) firing a person for sticking to the common sense rather that giving in to meaningless accusations.
Mike supports $SPORT team the Compressors. He's so sure they are unbeatable that he accepts 50:1 bets against them. Patrick bets 100$ that they won't win this year's championship; Mike accepts. Later, the Compressors announce financial troubles and can't pay the fee to enter the championship, which is then won by another team. Patrick reclaims his 5000$. Mike refuses to pay saying that the Compressors have not been beaten, and the championship result does not disprove his claim that the Compressors are unbeatable, which was the spirit of the bet since the beginning. Mike offers to refund the 100$. Patrick holds that the terms of the bet were met and he deserves the 5000$.
They're indeed super efficient, protein eater vs sugar eater, both are excellent at flying but butterflies are more spectacular, artistic, dragonflies more robotic
I remember SHELLOIL (71077345) was the longest word that would fit in my calculator... except I guess it is TWO words.

hillbillies never would have fit
They could add an appendix with word math like 707 + 707 = 1414
> I don't know what a de-facto bank is.

Here's an example from just a couple of days ago.

https://9to5mac.com/2024/11/21/apple-will-now-be-treated-lik...
Right, and I'm using it here as a lens to try to understand how a little brown boy can be invited to the White House to meet the president as a misunderstood engineering prodigy, while my experience is that this would see a little White boy ignored (because this is nothing special tbh), shunned (for being a nerd), or even expelled (for trolling the school with a fake bomb).
> specifically to mitigate the strategic and geopolitical risk of seeing Europe blockaded

No, its because far lobbies are an important political block
> Let's hope butter and bacon from Poland is going to cover our needs.

That's really hilarious: Poland imports it's pork from Denmark.

(ASF and almost no piglets breeding)
Some claim that standard Arabic has been intentionally made more complicated because writers were paid well by rulers back in old days, and there were more incentives to make grammar hard for the ordinary folks, so that you need "craftsmen" to write according to an Arabic linguist.Until the 80s in many Arab countries you needed clerks to produce documents from governments.
(Comedy sketch on it https://www.youtube.com/watch?v=wtloJgMgFho)
Arabic linguist https://www.youtube.com/watch?v=UoqDR0Hd9f0

'Category V – It usually takes 88 weeks or 2200 hours to reach S-3/R-3 proficiency in these languages. This small group of “super-hard languages” includes Chinese (Mandarin), Cantonese, Japanese, Korean and Arabic.'
(Arabic linguist)https://www.youtube.com/watch?v=UoqDR0Hd9f0&t=3645s
The article clearly has gaps simply by not being an hour long read on the Atlantic, one obvious gap is that it doesn't seem to have a statement from the person removed after they were removed.
Read the post by gklitz: Agricultural practices are ruining the water supply. It's nice to have food security, but you also need drinkable water.

Groundwater in Denmark is drinkable and most people wanna keep it that way. But unfortunately, fertilizer has killed of huge areas of sealife.
This is just conjecture without proof, followed by a lazy shot at capitalism. https://www.infinitescroll.us/p/ugh-capitalism

At the very least, provide some citation that a 20 cent increase in production price would cause a 2 euro increase in consumer price, as you claimed.
I'm not sure how "was a professor at Columbia" is supposed to be a rebuttal, and "crackpot" is just a slur. He's currently a professor at Johns Hopkins, and in fact, right now has a book at #10 on the New York Times best seller list [1]. He's a completely mainstream doctor who happens to (I assume) disagree with you about something.

[1] https://www.nytimes.com/books/best-sellers/2024/10/06/hardco...
> They were so much faster & better than corporate alternatives that you couldn't help but expecting that open projects had the competitive advantage.

That was the first mistake.

Free products don't have a "competitive advantage". They destroy market segments. "Free" is the area denial tactical nuke[0] of business. "Free" is the singularity of business models - as price approaches 0, math starts to break out, and the local fabric of the market unravels. "Free" turns competition into a race for growth.

Being "open source" is optional here. Which is why it's not F/OSS that won on the general market, "free with ads" did. F/OSS is mostly used as a weapon to deny market segments to competitors, forcing them to either leave or play the same "free"/growth game. This is used both offensively, to break into existing market segments, as well as defensively, to "pull the ladder behind you".

--

[0] - https://en.wikipedia.org/wiki/Salted_bomb
The math here is quite simple.

A single cow can produce around 250 to 500 liters of methane per day through belching and farting. Let's take an average of 400 liters/day. Methane is a potent greenhouse gas.

400 liters/day × 365 days = 146,000 liters/year.

Convert to kilograms (since methane’s density is ~0.656 kg/m³):

146,000 liters = 146 m³ → 146 × 0.656 kg = 95.8 kg of methane/year per cow.

Methane has a global warming potential (GWP) of about 28 times that of CO₂ over 100 years. So, 1 kg of methane is equivalent to 28 kg of CO₂ in terms of warming effect.

95.8 kg of methane × 28 = 2,682 kg of CO₂ equivalent per year per cow.

2,682 kg CO₂e/year × 1 billion cows = 2.68 billion metric tons of CO₂ equivalent annually.
I don't think that is at all obvious from OP's comment. Reading "But his sensitive murderers and soulful prostitutes are not to be endured for one moment" the straightforward interpretation is that the writer doesn't like when a prostitute is represented as soulful.

If the problem is not the soulful prostitutes per se, but something more specific that makes it cliche, I think the quoted phrase could have expressed that better.
Could food security in case of another global crisis be a good enough reason? I don't know anything about the British situation AT ALL, but I think many in Europe think slightly different about the market-based solution when it comes to both food, medicines, and other essentials after corona.

It turns out that when shit hits the fan, countries need to handle the basic needs of their population themselves.
Thank you for the detailed feedback! Definitely, see the need for more concise and value added content generation. That is something I will be looking to improve. Thanks again for trying it out.
Except he plainly isn't anti-vaccine, nor a conspiracy theorist. It's a lazy slur, and it's discouraging to see people repeating it.

He was against a Covid vaccine mandate, which is not "anti-vaccine", except in the heads of people who have replaced logic and scientific knowledge with politics.
> I don't really know what you mean regarding pathological subdivisions

I mean - lets say I'm making a collaborative text editor. If I use a CRDT, I need clients to be able to emit changes with unique IDs. The obvious way to do that with ITC is to have a server (or set of servers) hand out part of their interval to clients. And the normal way to hand out part of the server's interval is to split it in two each time.

If you have N clients join the server, the server will end up with 1/2^n of the keyspace - since it keeps halving each time a client joins. And some of those clients will just - go away, indefinitely, without "giving the key back". So the server's interval gets smaller and smaller, and the key (interval) that new clients are given will take more and more bits over time. Linearly more bits.

With random IDs, the client never needs to give the ID back. You still have problems that the version grows over time - but I can think of a bunch of ways to deal with that. I haven't figured out how to solve that problem with interval tree clocks.
> A growing population require food.

Sure, but Europe's not growing. It is purely in "shrink forever" mode. This is easily measured, any time fertility drops below 2.1 that's what happens. But ignore that a moment, what if you wanted to depopulate Europe? This might be a good policy for that. Get the timing just right, and it's not even a genocide... food shortages that don't starve anyone just encourages the last few breeders to put a lid on it, and voila! The fantasy of more than a few out there.
Yep, even skipping that world is monopolised by World/Excel, LibreOffice is self-blocking it's own adoption.

I just use it to print long long ago prepared documents so I mainly use "print dialog". And in last ~2 years they degraded that dialog usage at least two times:

- by moving count of pages to print below dialog window so you need to scroll it

- by forcing user to click on document to focus before ^P shortcut starts to work

And how many other things stopped to working in user-friendly way in last years ? Maybe none, maybe it's a lot.

So, to me, LO is sabotaging this software package. LO is fundation just like Mozilla and I suspect they work same agenda: keep collecting money and keep product second or 3rd class. IMO.

MS is happy. Google is happy. LO.Mozilla fund employee are happy. Spy agencies are happy.

Fake no-monopolies can do NOT improve a much.
Do you think food production has national security implications or do you think "the market" will be happy to sell you food during another global conflict while their own citizens are starving?

Farming subsidies are a national security tool, not a handout.

Anyway, it's clear that your position is political in nature otherwise you'd be just as outraged by green subsidies.

Denmark set aside DKK 53.5 billion for green subsidies in 2022. But this isn't market distortion to the same degree as farming subsidies, is it? That's the flaw in your argument. It's inconsistently applied based on politics, isn't it?
Nobody is "rewarding" polluting countries. The idea is to give poor nations money so that they can build clean energy infrastructure, as well as handle the damage already caused by climate change, for which the developed countries have much responsibility.
I'm thinking about this in the context of an eventually consistent CRDT or something. In that case, you need to handle the use case of a client going offline (eg the person is on holiday) and they make changes but aren't online for 2 weeks.

If a peer isn't emitting changes, I don't see how you can safely merge their keyspace - since they might still be using that keyspace, but be offline, and you can't know.
It is literally the first time I heard the "femboy question" phrase. You can literally insert any noun here and have the phrase used already. Whatever, a "bear" let's say:

https://www.ywcamv.org/blog-newsroom/blog/2023/12/13/ywca-mv... (And this is from a reputable organization, not an individual.)

The fact that people associate such unrelated phrases with one another on the basis of their grammatical similarity just speaks of them, not of the author.
> jump into wild nonsense conspiracy theory or extreme bigotry.

Did they? The commenter was referring to "Simple Sabotage Field Manual", by the CIA. It's a very commonly cited list of actions to take, or that someone would take, to impede the effectiveness of an organization.

The commenter was not saying "CIA did it, and birds aren't real".
One point I didn't see mentioned that asserts can be used by the compiler to enable certain optimisations.

For instance, if you assert that an incoming index into a function is within the bounds of a vector, then during the rest of the function the compiler can elide any bounds checking.
The difference in philosophy is: who is responsible for scheduling work? Is it the language, or is it the developer?

In JS it's the language, for example node sits on top of libuv which is responsible for managing the thread pool and doing async IO.

The advantages of this system are that it's very convenient, and the developer gets a safer single-threaded view over the multiple threads in use. The disadvantage is that the developer lacks control and if you actually want to write multithreaded APIs and not just use them then you have to drop down into a lower level language so you can talk to libuv or the OS.

In C# there is no lower level language to drop down to.
Because Wise ends up operating in many jurisdictions like the EU they seem fairly heavily regulated. Their banking partners are also ones like GS and JPM, not necessarily built on a house of cards. They were also the cheapest/most effective way to move a large sum of money when I bought a place in the EU a couple of years ago.

With that said, I'm not sure I would have Wise as my only bank.
In Dutch culture, among school children we had (have?) this funny thing where you can type in 707, which upside down reads "LOL", which in Dutch actually means "fun" (which funnily enough kind of corrolates with the internet slang abbreviation "lol"). Then if you calculate 707 + 707, so lol + lol, you get 1414, which reads as "hihi", which is an alternative, more giggly version "haha". Actually it kind of works in English too now that I think about it.
It appears to be the case. The world is a very complex place, but fundamentally every detail of it is emergent from a small body of rules and mechanisms, which we call quantum mechanics. The love you feel derives from that ultimately.

It is fractal in nature. So it would follow that any correct set of ideas derive from some principles, and if the principles have a lot of corner cases that require caveats then you're missing something and you don't have the principles hammered down after all.
What Is RREF? (Reduced Row Echelon Form)
(Brazil wasn't gibson btw)

I thought Brazil was weird when I first saw it, but over the years I've overlaid it on reality sort of, and it has matched up quite well.

For example, are you DeNiro in real life when you run an adblocker?
I don't know why the lens you view this through is retributional, us vs them, or about taxing success of developed nations or rewarding people of a particular geography. Population growth is not an independent variable, it depends on availability of arable land, resources, education, urbanization, regulating structures/incidents. All human populations tend to have similar trends based on the above. Just because someone draws a line on the map around a lot of arable land doesn't mean it is overpopulated.

Climate change is going to effect every one even if those in developing nations suffer disproportionately. The quicker we transition our energy architecture away from non-renewables the better off everyone is. Those with surplus capital have the power to make this happen faster by helping those without. The alternative is choosing to suffer by delaying this with an us vs them narrative.
Show HN: A Linear co-pilot that auto-generates code
Have you checked out https://lighthouseapp.io/?
The problem is, you cannot reason anybody out of something that they want to believe. And LLMs seem to rekindle people's forgotten need to believe in miracles again like nothing else.
Well, I have two thoughts about that:

1) gigs without 24/7 operations are rare, because there is no good reason for a tech product not to be 24/7. it's not costing extra electricity to keep the lights on overnight, nor more staff. there are a bunch of these gigs (my last gig had no customers for 2+ years) but you shouldn't expect them, because part of the reason we're paid so much money is we're expected to deliver "continuous value". most devs would agree with this, because they all want to be able to deploy continuously, whenever they want. (which is a terrible idea, but it is the status quo.) furthermore, if you're doing your job right (and so is Ops), supporting a 24/7 product should not result in on-call pages, because nothing should be breaking outside regular business hours. if it is breaking outside regular hours, somebody sucks at their job. and Ops' job is pretty simple, so...

2) you do have lots of control over the roadmap, planning, etc. but nobody is going to walk up to you and say "hey we were just thinking of maybe doing this in the roadmap, is that okay with you?" you have to get involved, early, and consistently. you have to show you're not going to rock the boat, but that you will have good suggestions, and can show they will turn into better outcomes. you have to play a little politics, a little product ownership, and also an engineering role, in order to influence what the business decides to do. as you get more senior this gets easier because people will defer to you more, but even an extremely likeable junior can influence the roadmap.

on the off-chance that you're just trapped in engineering hell, with hostile management, a terrible product, and a completely apathetic and terrified staff, quit immediately. this isn't normal and you shouldn't think "oh, I'm trapped here." people don't stay in abusive relationships because there's no other choice, they stay because they've justified their own abuse.
> That all said - farming has gotten vastly more productive both per man hour and per acre over the past 100 years

We also have way more people to feed and house than 100 years ago, you cannot look at productivity increase in isolation, demand for both food and land has also risen significantly.
Plant Tissue Culture
I wonder if medical residents get paid ridiculously low salaries too given their hours?
Yaskawa Bushido Project – industrial robot vs. sword master (2015) [video]
Eating less meat?

The questions are mainly targeted at the consumption of animal products: meat, dairy products and eggs. Their research shows that reducing the consumption of animal products, and therefore switching from a meat-eating to a vegetarian or vegan diet, reduces land requirements by two-thirds.

https://www.uu.nl/en/news/calculate-the-land-use-impact-of-y...

Not everyone even has to stop eating meat. Just reducing meat consumption to 1-2 days per week would go a long way.
I think in some ways it was - this was a marketing effort, outside of legislation and not consulted with authorities.

A disproportionate response here will discourage other companies from similar guerrilla marketing.

I doubt anyone wants more marketing, and especially unregulated marketing.
FreeBSD 14.2-RC1 Brings Install Image Improvements
qubes is x86-only that's why people hate it