skysight-inc/HackerNews huggingface dataset:
UB is usually not as obvious as a divide-by-zero-constant in plain sight. The divide-by-zero-constant could be the result of a complex constant folding operation, involving values injected into the build process via build options or code generation, similar for any other instance of undefined behaviour.

I don't think any programmer puts UB on purpose into the code, even if they can enumerate from memory all 200 or so cases of UB just in the C standard (no idea how big the list is in the C++ standard - thousands maybe?).

The original sin was compiler writers exploiting UB for optimisations in bizarre ways instead of working with the C and C++ committees to fix the language to enable those types of optimizations without requiring UB, or at least to classify UB into different 'hazard categories' (most types of UB in the standard are completely irrelevant for code generation and optimization)
Definitely, quite a few things, especially related to career. Which then would change subsequent things I did and had to make decisions that might be rational today but still feel wrong.

Basically I played the current game with the hand given to me as good as possible, and quite successful measured by some standards. But most things still feel utterly useless after all, even though well paid. Can fully reasonate with the "bullshit jobs" narrative.

_So many_ people are desperately trying to extract money from a system without providing any substantial value to society beyond a vague narrative, argumented as "if its useless nobody would pay for it!" that doesn't really reflect reality today.
IANAL but using the LV logo and their recognizable pattern to sell your own wallet, especially given that they also sell wallets, is a pretty bad idea.

I don't believe the issue here is the repurposing of the bag but rather the commercial use of it by creating a "competing" product. The author states in their video [0]: "Louis Vuitton went undercover to buy one of my repurposed wallets [...]". If it was done as a challenge for YouTube or a unique piece for your personal collection, LV probably wouldn't have bat an eye.

[0] https://www.youtube.com/watch?v=zDAg1aVnnH4
I've only used Powershell a little bit on Linux and Mac but it seems reasonably cross-platform.

On the surface, it looks like I'd be giving up the decently sized ecosystem of Powershell libraries for a new ecosystem without much support?

I'm interested in knowing what Nushell does differently since I'm wanting to find a better shell.
Wild, I've been using Linux (Pop) for my personal desktop exclusively for a few years. The only terminal use for me has pretty much been related to software dev, and usually the integrated VS Code terminal.

Most config options are in Settings and don't recall using the Terminal for much outside the above context, where I would do the same in Windows (WSL) or Mac.
I don't get it. Is it gone? The author doesn't tell what happened since then. Aside from newer machines and modern software, things in the LAN haven't changed much, right?
Show HN: Recruit AI – try a natural voice interview
This interview is for Machine Learning Intern. We've worked hard to make our voice AI natural-sounding and intelligent enough to ask thoughtful questions.

We also have more info about how to sign up as a recruiter here: https://ribbon.ai/recruit
Linux is as user friendly as windows if all you do is watch youtube and check emails.
How long would it take to setup an event-driven python function ? I know aws lambda and terraform and, to me, it takes a couple of minutes at most.

Indeed, I had to learn it ! Just as I had to learn how to code in Python (which makes me far more effective now), just as I had to learn LVM2 or iproute2 or C or whatever.

Once the learning curve is processed, AWS allows you to increase your productivity. Of course, and this is very important, you shall still use the right tool for the right job !
Show HN: The Tomb of Nefertari [QV 66] Guided Virtual Tour
I 3d scanned the Tomb of Nefertari and am building this guided virtual tour, trying to bring in photogrammetry of artifacts that I've made at various museums. It crashes sometimes still on mobile devices.

I wasn't able to take photogrammetry photos of the artifacts from the tomb in the Museo Egizio in Turin because they were traveling while I was there (and now the museum is closed to install a new roof anyhow), so I tried to include comparanda from other museums where I had scanned artifacts.

I tested the same dataset with 3d Gaussian Splatting but that had lower resolution results for great complexity in frontend code and reduced performance on older devices. [3DGS tour: https://mused.com/en/tours/860/learn-about-3d-gaussian-splat...]

Moving forward, if anyone's working on the same idea, I didn't find a good path to monetization through web-based 3d content, so I'll take the high resolution photogrammetry of spaces into Unreal and switch to desktop and headset builds.
Reminds me of an observation from a podcast done by a successful creative (sorry, can't remember who, I think Rick Rubin was interviewing the person):

Our society thinks it is normal to have a creative work evaluated by accounting, but never the reverse.

It would be fun to reverse that. "Ok, Jones, you made a profit of 30M, but we don't really see that you released that much creativity. We're going to have to cancel your project."
Id recomend watching this video on how UB works in C.

https://www.youtube.com/watch?v=w3_e9vZj7D8

Compilers generaly do not abuse UB (outside of compiler bugs), its just that UB is a very missunderstood subject.
For whatever role True Pundit played in spreading the rumor, Clinton played an equally large role via her "denial."

https://x.com/wikileaks/status/783424443070738433
Forcing Assange to plead guilty is the right thing?

To me that plea creates a bad precedent.
Know your salamander: To conserve amphibians, study their intelligence
One of my favorite shows was them doing a live score to "Space is the Place" during a Winter Jazz Fest. It was a lot of fun, looks like someone took some video of the beginning of it [1]. They used to play somewhat regularly in summers at a dive bar/venue near me in Brooklyn, which always felt ridiculous that such an important group was playing where countless crappy bands also played, but was sort of perfect.

[1] https://www.youtube.com/watch?app=desktop&v=rl40d9Bz2Ps
That actually would be amazing - I would be very much in favour of large companies (e.g. based on number of users / market cap) having to put significant sums of money in escrow ahead of any software release, which would then be distributed to its users as compensation in the case of a data breach or regulatory rulings.
All this counts into the "I'm usually very pro-tech". The point I'm contesting here is pure ideological regulation, without numbers behind it. Ban on plastic bags is actually the perfect example. You can calculate the number of times you need to actually use a reusable bag before it breaks even, and it's stratospheric. I'm not googling for a (potentially biased) source, but I'm sure you've seen such numbers.

And the downside is twofold. First, there's actually a pretty decent correlation between how expensive something is and how harmful for the environment. If you use a hand-made cloth bag made from cotton that was hand-grown in a garden using only renewable energy, it's expensive because you have a higher number of man-hours spent on it - and those man-hours are actually generating orders of magnitude more negative externalities for the simple fact of keeping those workers alive. The 1 cent plastic bag may be made from oil using energy from burning coal, but it's actually much cleaner because it used only a fraction of the man-hours. Whenever you hear claims that "it's a lot more expensive but it's green", the first guess is somebody didn't factor in everything.

The second downside is that bans are taking choice away. If you think there are negative externalities, and you have a good enough argument - by all means, tax those plastic bags until you compensate. If there are still objections to people buying the more expensive plastic bags, those objections are most likely ideological, not practical. Which yes, I still continue to hate with a fiery passion.
I expect them to die out quickly now that AI can do algorithms effortlessly. It'll be like how those sine tables were replaced with calculators in exams. The questions will be less about how to find the optimal movement of a chess knight, and more of build a full chess board with 6 knights.

We do algorithms in a sense, but it's more real world stuff like being able to understand the Byzantine generals problem. Not explaining the term, but rather questions where if you were familiar with the concept, you could diagnose the given problem. If you're not familiar with it, you might not know with why it's happening and you might not be able to google it or ask AI what the problem is.
I find these kinds of rhetorical "where exactly does it end" comments really limp. Life is full of choices where there are grey areas. Lay out a bunch of desirable criteria - like not allowing a single entity to monopolise a market -then pick a starting point and iterate until you get a decent balance between the criteria. Sure it'll be a bit messy, but better than doing exactly nothing after throwing your hands up into the air and whinging about the fact that it's complicated.
Engineering Cells to Grow Faster
> This year, the Houston City Council unanimously approved support for 17 new affordable (multifamily and multiunit) housing proposals—far more than the 16 in San Francisco,

Far more? It seems like exactly one more, and the relative sizes and qualities of the proposals are not discussed.
These unemployed folks could literally be building their own homes with the right institutional policies and support.
Show HN: From dotenv to dotenvx – better config management
> a country that might jail him for life or execute him

I've always found this claim to be extremely shrill — and doubly so now. This is the same country that just agreed to let him plead guilty in exchange for, essentially, time served (~5 years). It's also the same country whose president commuted Chelsea Manning's sentence down to 7 years.

Your basic claim is not an unreasonable one: people plead guilty because they'd rather take the deal than face the possibility of a worse outcome at trial. But what will it take to stop the rhetoric about the U.S. wanting to lock him up and throw away the key?
Sure, I don't deny the importance of hard work. But then again, how many people worked hard, the same hard as you or maybe even harder, and it took them 20 years to get to 1M? 30 years? How many never made it despite working hard?

I feel like we, humans, have some repulsion towards "getting lucky". It's seen as a discredit of our hard work, and yet, I think luck plays way bigger role. And it's spread across the board starting from the type of community you are born into, the education you get, the access to connection you and/or your family has, the money, etc.

It doesn't mean that it's only luck. As I said, you can get lucky a thousand time but if you didn't prepare for it, then it's not worth it. This is why consistency is important.
Very well put!

I'll just add that the third option is usually not considered viable because the main point of using C/C++ is for performance, thus people writing code want their compiler to optimize it as much as possible.
We should not mock MS though. This is a really difficult feature to get it right the first time around. /s
Because maintaining 32 bit libraries when most of the world is 64 bit doesn’t make sense.

This is not the same as apple actively forcing you into their ecosystem. This is apple not supporting old technology.
This comment is really sad! Humans are destined to explore.
> Never even heard of one of their "prominent" supporters

no surprise here, you don't seem the type to appreciate art, in any form.

I guess you don't even watch Netflix...

> very mediocre European domestic content industry

Or maybe this is an attempt by artists to protect their works from being exploited by big corporations in exchange for nothing. Which is fine to me, even if their work really were mediocre, nobody can deprive authors of their rights.
When llama got leaked meta went full EEE and now discussion around open source and LLMs will take years to straighten out
Cloth bags are problematic. The Danish EPA put the break-even on cotton bags at 7,100 re-uses (or 20,000 for organic)[1].

Most people won’t shop enough in their life to pay back that organic cotton bag - reusing twice a week, it will take you 200 years before you break even.

1: https://www2.mst.dk/udgiv/publications/2018/02/978-87-93614-... - see section 6.3 for reuse numbers
Generally, you define a market by the market participants. There are people who need only the the office suite, and there are those who need the office suite and the colab chat but not necessarily by the same provider. This is visible by the fact that you have colab software providers like slack/zoom.

Microsoft is targeted at the moment because they are market leader on the office suite market and they are leveraging this position to capture the colab software one. Google is not a market leader and in addition, they don't have offline tools to separate from their workspace, though this is less significant than the market dominance.
> Of course life on Titan is convinced there could never be life here. The third planet is a literal hell where it rains molten dihydrogen monoxide in an atmosphere of corrosive oxygen. Any life there would vaporize and oxidize instantly.

What are some of the chemicals that would vaporize and oxidize instantly in Earth’s atmosphere which this hypothetical Titan life could be made of?
It's no more or less ironic than Navalny the documentary being produced by CNN films.

If you're a dissident rival foreign powers will give you a platform which you won't get domestically.

Plenty of Russians think Navalny was a traitor because he made western documentaries. It's good to know you agree with them that releasing dissident material with a hostile foreign power means he is automatically a traitor I guess.

I wouldn't say that that is a position I agreed with though. I would say the principled stance is that dissidents should use the options available to them to avoid being silenced - hostile power or no.

We can't all be principled though, can we?
It probably does, but it might take quite a while for the effect to show up because people need to save up first month + last month + security deposit in order to get a place.
r 17 new affordable (multifamily and multiunit) housing proposals vs 16 housing units

I think they are making the point that houston doesn't just build more market rate housing, but all forms of housing
The previous post's point is that they make their app's sync service as available to users as the app itself. "Forever" is the wrong word for any of this, but the sync service will live as long as the app does.

(BTW, your idea supposes the ongoing existence of storage services with a common, stable API an app can be written against. You can barely say that exists now, much less expect it to into the indefinite future. The previous poster only assumes general servers are available, including BYO if you want.)
Hey that's a superb source, pairing a colorful visualizer with something like The Death of Ase seemed counterintuitive at first, but after trying, I think it actually works really well! Shall append to that readme, thanks :)

Mic input as a source, that would probably also be the simplest workaround to support for streaming services not really being possible, just direct the mic at the speaker :) So yeah, on the list, hardest problem: how to attach it to that wonky UI...
Then maybe you shouldn't commit atrocities that can then be used against you. I already know the government of Russia is evil. They're not accountable to me. The American government, ostensibly, is. I want every single evil act they ever willingly partake in exposed with the maximum possible impact, because that's my tax dollars being used to murder people.
A Holden Caulfield Chatbot Helped My Students Develop AI Literacy
Yeah okay, your comment reads like every single war crime apologia ever written. Obviously when it's your side there's always nuance and good intentions. I'm not going to give the benefit of the doubt to an army that was invading a country based on lies and that destroyed said country for 2 decades.
Compared to ESP8266, there's generally pretty good ESP32 support for Rust, but you'll likely need to use in your C++ toolchain if you want to use the standard library. no-std in Rust for ESP32 isn't terrible in my experience, though, just not as fleshed out - particularly for hooking into components like wifi/networking and probably a camera as well.

Like the other commenter said, there's plenty of support for SIMD and asm in Rust.

You might ask around on a Rust embedded or Rust ESP32 chatroom before making the dive.
Show HN: Spitball, entrepreneur junk food – tech product and startup pitches
>slang for "the cloud"

Never had heard that but it was obvious from the title.

Cloud quite often is clown-computing, or maybe clown-car-computing.
Why is excel and word any more connected than teams and excel or teams and word? Or even outlook? If outlook can be grouped with “office suite”, and EU didn’t have a problem with that, why not Teams? It is also for communicating with people.
Pretty sure argc is 1 in your example, the name of the binary, no?

Edit: argv is the name, argc will be 1
Wow, you people are really young.

http://www.etalabs.net/sh_tricks.html
> mandatory online accounts

It's not mandatory - there's a simple 11-step sequence of hacks that if executed correctly will let you create an offline user /s.

[0] https://www.tomshardware.com/how-to/install-windows-11-witho...
I guess they mean that paper bags are biodegradable and have been for ever. However, plastic bags have been used instead as they are cheaper. He says cost is what drives this so for a barley or corn plastic bag to work it has to be as cheap as a regular plastic bag or at least cheaper than a paper bag.
> Crypto isn't private as traceability is an inherent requirement for crypto to operate.

monero is a counterexample to this.

i wonder how many organizations that do payroll see a timestamp and location when you tap a credit card at an omny reader?

maybe it's fine and can be solved with regulation, but honestly it seems a little not great.
That's so wild! It does sound like a nightmare. Also a catastrophic violation of privacy (by MS).
I’m not a bot.
I liked the idea of this but it won't work for me in practice. A down-side of periods is that you can't use them in an `alias`. Since that is how I configure a lot of these commands the period is probably not an option I can use consistently.
pretty lazy article, the answer is both are necessary if you are talking about outlier success

hard work will typically at least lead to a good outcome, but often not a great outcome, so it's still a good idea, but of course hard working people are often taken advantage of by sociopaths

see: https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-...

as we in the west have burned through our cultural infrastructure of reciprocity and solidarity, appeals to "hard work" are going to ring increasingly hollow to young people priced out of the life their parents had, i don't blame my young students for their cynicism
OAuth 2 is definitely a "technology" and not a program. It is a tool for large corporations to create proprietary incompatible "OAuth" implementations. Whereas OAuth (1) was actually a program and it did what it said and was compatible. OAuth 2 is terrible corporate crapware. It is "open"auth like "open"ai is open.

As for LANs, my home LAN is still going strong, no flakey wireless for me. My childhood friends group did stop having in-person LAN parties around 2009; mostly because we all moved to different regions. We still do occasionally set up a VPN to play some old non-internet game but it's mostly over the internet now (with self-hosted voice chat).
Sure you have to learn how to configure things but you don't have to learn basic syntax like "how do I escape a string".

The fact that it has survived tells you nothing other than it's not so completely awful that someone went through the pain of fixing it. That doesn't mean it is good. There are plenty of awful things that survive because replacing them is painful due to network effects. Bash for example.
He sounds like a Downer with those statements.

I guess it is to be expected from a person whose power is threatened by people like Assange.

At least the PM seems like a more sensible person.
Quite literally this is the best news of 2024.
The benchmarks presented in this fairly trashy post show the title to be a complete fabrication. It "wins" on some benchmarks but "loses" on others including single core performance and gaming.

Have some class.
Chrome on Android is a completely different issue. It isn't that Android comes with Chrome or any other browser by default. It is that Googles PlayStore licensing outright allows Google to retroactively brick any phone by a manufacturer that fails to make the official Google Chrome binary the default browser on all of its Android phones. It is the reason Amazon had a hard time getting its Kindle productline of the ground since any manufacturer operating in the west was already bound by this shitshow of a license.
Glad they listed the plugins. I know that its not uncommon to read about some infected app that was on the app store and yet they never directly mention the app by name, just that is been removed.
> because I had done that before in multiple occasions

Doing something after failing multiple times can be hard work.
> I cannot imagine NTP responses being much bigger than two or three times their related request.

I think you must be limiting your imagination to ntp requests related to setting the time. There are a lot of other commands in the protocol used for management and metrics. The `monlist` command was good for 200x amplification.
https://blog.cloudflare.com/understanding-and-mitigating-ntp...
What's your point? That journalism is biaised? Sure! The important part was that it uncovered important stuff. Saying "what about the Russian documents!!" Is just that, whatboutism
> And we're building horrific and error-prone rube-goldberg machines to bolt onto our functional programming languages instead.

You literally make no sense to me. Are you sure we are talking about the same thing?

I mean sure: writing JSON parsers takes time, but once written they are awesome.
Why would I take the time to interview with a company that can't take the time to interview me?

(Also, the Get Started button seems to do nothing for me in Firefox. I guess that's one of the technical issues?)
This is really easy to do with a shell pattern.

$ x=/some/really/long/path/to/my/file.txt
$ echo "${x##*/}"
file.txt
There's actually an ICC investigation into Afghanistan, not sure what they're looking into but I don't remember bombing of civilian infrastructure being a big part of that war?

As for Iraq, seems like there really were attacks on power distribution (not generation) that don't seem to be all that remembered. But it's still significantly different from what is happening in Ukraine.

https://casebook.icrc.org/case-study/united-statesunited-kin...

https://www.hrw.org/reports/2003/usa1203/4.5.htm

As for Yugoslavia, it doesn't seem like "nobody cared", but it does feel like Western pressure led to some things not being prosecuted.

https://en.wikipedia.org/wiki/Legitimacy_of_the_NATO_bombing...

https://en.wikipedia.org/wiki/Independent_International_Comm...

https://en.wikipedia.org/wiki/International_Criminal_Tribuna...

edit: other poster linked to the ICTY investigation and it seems the bombings were of power distribution linked to military objectives: https://www.icty.org/en/press/final-report-prosecutor-commit...