skysight-inc/HackerNews huggingface dataset:
> a computation is not and cannot be constant

Sure it can - but you know that - a compile time computation can be a run time constant. There’s loads of reasons to want constant values built out of compile-time computation. You haven’t had to write any high performance code?

Start with something like

constexpr float angle_threshold = 45.0f;
constexpr float degToRad = M_PI / 180.0f;
constexpr float x_threshold = cosf( angle \* degToRad );

The nice thing about having this be an expression is it’s semantic, and I can tune my angle in degrees, not have some raw number that isn’t adjustable.

Maybe I need a small table of these, suddenly running a little code at compile time looks great. Doing it during compilation is a lot nicer than having a script dependency and having to write a build step for it.

The bigger issue with constexpr specifically is that it doesn’t actually guarantee compile time evaluation…
A language that enthusiastically adopts all key ideas is identified as a Lisp.

There aren't "many" popular languages; only a fairly small number. The vast majority of languages are destined for unpopularity, regardless of what they copy from where.
Well, you went straight to bringing up communism at the first hint of criticizing businesses, so...
It's from one hype to another.

I feel like I may have missed the whole Single Page Application (SPA) boat. I am not saying that SPAs are still not popular or anything. But rather, I have started to see more push back against them or more people starting to look into alternatives like HTMX, for example.

So, I never took the time to learn SPAs and my employer doesn't use them. At times in the past, I would be lying if I said I didn't have a bit of FOMO. However, if the pendulum truly does swing away from SPAs, then I might feel a bit vindicated in my apathy.
Reminds me of a slide made by armchair architect in the previous company I worked for :)
That's not what I'm arguing for. I'm just shooting down fascile anti-worker rhetoric.
So is that okay at your grocery store, with your public utility, with employment, with buying a car, etc? I would prefer a system with equal charges for everyone, that is inherently not discriminatory

Adding reply since I’m rate limited:
I understand the “reality” with things like cars, but I’m asking if that’s what you want. A society where everything requires constant negotiation is not just exhausting but leaves lots of room for discrimination. Also regarding public utilities - I believe California recently proposed discriminatory pricing for utilities.
I didn't think Next.js was that new. I believe it's one of the more popular frameworks out there.
Re "stash is bad" comment, I agree, but only if you're using git in CLI. If you use something like GitKraken, then you can visually see your stashes and it's pretty obvious what they're about. I find it easier to manage that way. But I definitely do the "just do a WIP commit on current branch then switch away" thing as well.

I've never used worktrees, but one thing I noticed from this post is that it adds an extra FS dir layer. This would break a few workflows at my company, we use relative paths to reference sibling git repos in certain situations (e.g. to run the server in one repo which servers a build sourced from the sibling frontend repo, etc). Knowing which worktree to use in that case wouldn't really work, those scripts using relative paths would need somekind of input/arg for the worktree name.
US solar production soars by 25 percent in just one year
I get the reasoning behind it, but the choice of the division operator is still a little weird.

I believe it should be equally possible to overload the bitwise OR operator (|), which, for people used to piping in Unix, is probably more intuitive.
Writing NixOS tests for fun and profit
awk: 1977

csh: 1978

perl: 1987

Java: 1995

JavaScript: 1995

C-- is more a compiler intermediate/back-end language, not intended to be written by people
I suppose they could, if you're allergic. People are allergic to other kinds of seeds.
Not at the moment -- we're currently searching the abstracts of most major journals (which are public even for paywalled papers) which have been compiled in the Semantic Scholar database (https://www.semanticscholar.org/about/publishers).
They are Turing complete in the context of a single thread. But, a single thread does not control the entire GPU. For example: In multi-vendor APIs, a thread cannot spawn another thread.

The execution model of GPUs is complex and only specified at the high level in order to give manufacturers freedom in their implementations. Work Graphs are an extension of the execution model.
Do you have a STEM degree? US Patent Office is hiring remote for patent examiners. Also, get in the pipeline for the US Dept of State, they are hungry for talent if you’re willing to work internationally.
Well this is going to be an upcoming episode of Food Theory
That's a tough one. I would perfer to work without people looking over my shoulder, using my own equipment, etc. However, I would not want to dedicate that much time to something that might not workout.
It was incredibly expensive to have dozens of research institutes work on esoteric architectures at their pleasure. The majority of the population worked their asses of in poverty to make thousands of tanks and dozens of submarines, not entertain some computer scientists.
Allowing "defects" in food is normal. For example chocolate is allowed to contain about 50 insect parts per 100g. But what makes this less clear cut is the labeling: if you sold "insect-free chocolate" I don't think you would get a free pass on any insect parts found in it. You specifically advertised that this would not happen.

Similarly a bone in say a chicken nugget could be treated as a tolerable defect if it's infrequent enough. But to tolerate it in something literally advertised as "boneless" is weird, and probably why the ruling was this split.

If boneless chicken doesn't have to be literally boneless, does it have to be literally chicken? Or would a manufacturing process that allows it to accidentally contain horse meat be acceptable by the same logic?
> and Docker industrial complex that developed around solving problems created by themselves or solved decades ago.

From my perspective, it's the complete opposite: Docker is a workaround for problems created decades ago (e.g. dynamic linking), that could have been solved in a better manner, but were not.
Obligatory EmergentMind reference: https://www.emergentmind.com
> this does not mean that the median can be found accurately by your method.

You can do dynamic sampling: e.g. take double the samples, see what decimal in your result budges. Adjust.
Gombe Chimpanzee War.

https://en.m.wikipedia.org/wiki/Gombe_Chimpanzee_War
This implementation doesn’t really get there, but…

I think this is an extremely cool idea both on HN specifically and generally on the Internet. Bluesky does a bit of the thing where you can mix and match your content to your ranker/recommender system.

I hope you folks keep working on it, this is a refreshingly cool hack in the space.
Yes and no- check the new map at roadway.report and toggle the pedestrian view
My final year project in uni was a tool to detect plagiarism by analyzing whether parts of an assignment had been outsourced to anyone else (basically did one author write the document on their own). Or if two projects by the same student were actually written by one person. For what was at the time an extremely naive implementation of various stylometric methods it worked surprisingly well. Even I was shocked when I managed to demonstrate the tool working. People should read about this branch of studies if they care at all about anonymity online.
I'm not really sure -- I don't drive during peak hours very often. Maybe you could try running both for a short while and compare the ETAs?
There's been very little that's given me hope for the future like seeing the FTC come back into it's own.

Government has so many nasty gnarly aspects to it, but nominally it should be watching out for the American people. And the FTC full well ought to be the tip of the spear at keeping some balance to what would otherwise be a Thomas Piketty-style extractive stratification by the rich.

It has been such a delight seeing the slumber of Reagan cast off, seeing the FTC active again.

In person interviews are rarely super deep, but it's interesting seeing people get to talk out what they are up to. The interview with Linda Khan at the Daily Show in April was nice to see. https://youtu.be/oaDTiWaYfcM

Hell yeah this awakening will ruffle some feathers. But my during my entire life it feels like the government has been utterly asleep at the wheel, in max (economic) liberalism overdrive mode. I don't think we can take this denigration much longer; restoring the world so that businesses aren't always leaving us feeling pillaged & blown about capriciously is an enormous phase shift we desperately need, which is integral to believing in some kind of social contract. And ideally the economy can do better if someone is out there defending competition.
I would have them contact an employment attorney and start documenting a paper trail for a wrongful termination suit. Emotions are unhelpful, default to action.
Nearly all of it went to the CxO and board members.
A bit better explanation:

The pit (primary) is a hollow shape that gets crushed, producing a fission explosion. The X-rays released by that are absorbed by a (highly classified) foam encasing the secondary, which vaporizes (explodes), compressing the secondary causing fusion. The foam, and the secondary, are encased in a substantial tamper made of U-238.

The tamper’s mass impedes the expansion of the secondary, making it more efficient. The tamper is also largely converted to Pu-239 by the neutron flux from the secondary, and immediately fissions releasing a whole lot more energy. This approach is used in all modern thermonuclear weapons, with the majority of the total energy coming from fission.

The ‘Tsar Bomba’ weapon, the largest ever detonated, was designed to be a 100 megaton blast, but Khrushchev was concerned about fallout. So, he directed the U-238 tamper be replaced with lead, which reduced the explosive yield to ~60 MT.
Online shopping is not anonymous at all. You provide your name, address, etc.

> That's an absolute insane take. Different peoples have different morals values, not wanting to broadcast your personal life as nothing to do with "embarrassment", and a lot of time, more about your safety.

Absolutely! You have every right to think showing pornography to children is not only morally right, but morally required. However, the laws of the state of California, and most other states, say it's illegal. So regardless of what you think, under the law you are a criminal.

Pornhub has every right to believe what it likes!
No reason for doing anything that conspiratorial - today there is plenty of cheap housing that nobody can afford to live in (because of a lack of jobs in the area, those with independent incomes moving there are basically a rounding error).
I wish people would just get to the point when they write.

People clicked because they want to know why you left.

Three paragraphs in... I have no idea.

sigh
How does the GPT-2 tokenizer deal with non-text input? This dataset is multimodal but I thought GPT-2 was text only.
Food products in the US have the same labelling.
Just what c++ is missing. More complicated builds.
The cycle repeats itself. At first I thought the Governor's order was just a lack of leadership - kicking the can down the road. Instead, it's a continuance of the vicious cycle of homelessness. The state is not adequately providing shelter for those who need it. The state lacks the funding for housing first, however many qualify for state benefits.

The state is a patchwork of welcoming, and rejecting of the unhoused. Until there's a uniform policy in one direction or the other, the people affected by these policies, are just going to get harassed and chased around the state.
[dupe]

Some more: https://news.ycombinator.com/item?id=41052375
I’ve been a middle school and high school robotics coach for a number of years. I think VEX robotics makes the best products to teach kids of any age robotics.

https://www.vexrobotics.com/

You buy a relatively affordable kit of parts, but then you are free to assemble and program the bit in whatever way imaginable.

VEX annually comes out with new games and challenges for your robot to be able to complete. There are teams and clubs across the US, and it’s an all around great program.

I’m looking forward to my kids being old enough to build and compete, It’s a blast for kids and adults!
Valuations, investors, squandered money, perhaps that was the whole plan from the begining, or it could be incompetence. Hope we’ll see less of this with high interest rates.
Not sure of the current progress with breeding and cultivation, but there is a naturally occuring caffeine-free coffee plant. https://en.m.wikipedia.org/wiki/Coffea_charrieriana
Grocery stores have coupons and customer discounts, employees can make different wages doing the same job, and car dealers absolutely give deals to some clients that they won't give to others. Public utilities are an exception, and that's specifically because they're government regulated.

But we're discussing commerce here and in commerce, prices are rarely the same for everyone.
Boneless wings are typically battered deboned chicken breast; in this incident, they were.
I've not seen the interview, but I'd be interested in which character comes across.

"Mr Beast" is clearly a character that is played up to, visible in the YouTube videos. Behind this is Jimmy Donaldson, who seems to regularly give interviews about his motivations, and describes in a much more mature way how he just wants to create good content and be altruistic. Beneath this however is the private Jimmy Donaldson who seems like a much more cynical capitalist who knows how to manipulate and stay under the radar on the law in order to make money through illegal mechanisms (gambling).

I'd assume it was the middle one that turned up in the Lex Fridman interview as with most of his interviews. The latter seems much more private.
If I recall it is considered theft-of-service if you bypass the posted site usage terms with an agent like a spider, and certainly a copyright violation for unauthorized content usage (especially in the context of a commercial venture.)

One may be sued, but not because you parsed robots.txt wrong =3
It depends what you mean by "engineering". You need to understand the "memory model" (I don't know the proper term). So that memory has addresses, you can point to them, the stack, registers, etc.

I have met many software developers that have almost no understanding about that stuff. They wouldn't help much when it comes to reverse engineering.

At the end of the day, there's a bunch of knowledge you need to be able to reverse engineer efficiently. It doesn't really matter if you're coming from flipping bits in CE to programming or vice versa, but you need both. Having some around that knows both guiding you is a massive help.

For what it's worth, I also started reverse engineering first and programming second. There were many concepts I knew but didn't know the name of. I remember seeing a weird function where a pointer to an object was passed via ecx. I had no idea that how functions were called was a "calling convention" and that Microsoft called that a __thiscall. But at the end of the day, I did figure out what was going on, I just couldn't tell you what the original c++ code was until years later (when I finally "learned" c++).
When should I give up searching for a tenure track faculty job?
Judge denies SpaceX effort to block move of NLRB case back to California [pdf]
Ethyl acetate occurs in nature and breaks down into ethanol and acetic acid in the body. It has a very low toxicity in the levels encountered in coffee.
> Soviet Poland

Small correction and historical note: Poland, like the other USSR-aligned countries such as Czechoslovakia and Hungary, while under the oppressive thumb of the Soviet regime and the regimes they installed in those countries, were not part of the Soviet Union. So they weren't Soviet, but they most certainly were communist, or rather, socialist people's republics.
Are Jails/Zones/Docker even security solutions?

I always used them as process isolation & dependency bundling.
> So shipping people across the country, forcing them to move... Hasn't this country done that before?

I mean yes, a lot of those people were literally shipped there from the rust belt or southern states. Famously Texas and company paying to bus or fly people to California and Massachusetts. I believe several of them were major press events etc - not a secret either.

You are correct.
ZeroMQ - https://zeromq.org/
Previous discussion:

1 year ago

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

4 years ago

https://news.ycombinator.com/item?id=23962722
That's still the case for a lot of CS programs. At least mine is still part of the maths department. We also had a distinction between CS and Software engineering, and even between normal CS and a hybrid program between CS and Software engineering.
C# almost has implicit interfaces
Thanks! Yeah probably the latter. The chance of they having 4 commits sharing the same first 5 letters after the fact is unlikely with mere 3k commits. So it's more plausible that they searched around their commit hashes and used the most duplicated prefix as an example at the time.
Regarding programming environments, I highly recommend MicroBlocks(https://microblocks.fun/). I was a big MicroPython fan before, and since switching to MicroBlocks, I've never looked back.

If your child has experience with Scratch, then MicroBlocks will make him feel very familiar.
Rainmeter[1] is also quite alive on the Windows side.

[1] https://www.rainmeter.net/
So weird this is getting down voted. Immutable objects would just be structs with sugar. It's mutability that gives you the power to keep a reference to an object, but have it keep up with the operational lifecucle of your app/process/..
Precisely.

Seems to me the best option would be to offer employees ownership. You could have two compensation structures:

- 100% cash compensation
- 50% cash/50% equity

See which ones employees prefer. I'll bet it's overwhelmingly the first.
We may finally know what caused the biggest cosmic explosion ever seen
Users included George Santos, but also Rudy Giuliani. Yuck. What a turnoff
This sounds like they just don't have cash on hand but do have positive net worth still?

Not sure how exactly a yet-another-marketplace-app company turns $100MM into something they can't sell to pay a fine tho.
Sometimes you don't even get a PDF. Their Ethernet drivers for Cortex-M7 have been broken for years with subtle cache coherency bugs and the only discussion of it is a forum thread with now obsolete example code.
For what k8s was designed to do -- herding vast quantities of ephemeral compute resources across a global network -- it's great. That's not my problem with it. My problem is that by being widely misapplied it has stunted the development of good solutions to everything else. K8s users spend their efforts trying to coax k8s to do things it was never intended to do, and so the k8s "ecosystem" has spiraled into this duplicative, esoteric, fragile, and costly bazar of complexity and overengineering.
> But for the people I know, many would sooner end their own lives than doing something that distasteful.

You bring up jail in the same breath you say that. The plural of anecdote is not evidence, and you've provided equal weighting to both that people will do terrible things and that some people will not. At the very least, presumably that's evidence of free will. Either way, it has no bearing on the iron law of nature.

Just because civilization exists, and we exist within it, does not mean that we have overcome our basest nature, we only hold it at bay, presumably by choice.
I often ponder what the generator algorithm might be when I am solving "insane" 13x17 Kakuro puzzles [1], because there always seems to be just enough logical paths to solve each puzzle. Well done!

[1] - https://krazydad.com/kakuro/index.php?sv=13x17I_v1
I agree. But yet there’s something special about music that I noticed. I saw a documentary about old people with dementia or Alzheimer’s. They were playing music and singing and it seemed to make a huge difference to their health. Family were saying that they appear as if music brings them back to life, are more cognizant of their surroundings and their family after those sessions.
I don't think they're that valuable tbh. Outside of cases where you're running completely untrusted code or emulating a different architecture, there's no strong reason to pick any VM over one of the several container paradigms.
Here in Japan there are many public toilets (department stores, train stations, 7-11s, etc.). However, not all public toilets here are clean or anywhere I would advise people to use. A lot of train station toilets are just plain stinky (you'll pass out bad), I live off the beaten path so take that into perspective. On the other side of things, I have been out in the middle of no-where and the toilet at the only store in town was as clean as I have ever seen one.

As for trash cans, many train stations I use have bins located near the entry/exit gate where you can put it in the correct slot (burnable, plastic, bottle, etc).
Yep, I found that in the ruling. And a 1.5 inch bone in a deboned chicken breast is rare, but not unheard of.

The weirdest thing about this incident isn't that the bone was in the boneless chicken breast, it's that the bone managed to make it through the kitchen's cubing process and the diner's cutting the chunk of chicken into 3 bites.
SpaceX Falcon 9 cleared to fly by FAA
People often mean sapience when they say sentience
Same as the hospital systems. It simply is not going to be sustainable in the long term to allow religious control of massive portions of our social safety net, given the overt politicization of religion over the past decades, and the massive level of privilege they’ve been granted by the courts.
I use it for coding a few times per month. Yesterday I had it convert some jQuery to JavaScript, that was kind of nice.

I use Kagi for search and will use their Quick Answer feature, which also provides sources, which I’ll usually click through to. It helps get me to the right page when there is more context and a simple search leaves me hunting more than I’d like.

That’s about it. None of my projects are using LLMs, nor do I have plans to. I’m a consumer and the consumption is pretty limited.
The landing demo really needs to show off the "infinite" part, instead it's just showing that windows in windows are clutter and need manual resizing to fit inside the box. E.g. show how it helps structure clusters of a hundred files all open at the same time, on an infinite canvas, in a way that is quickly traversed?
Insane ruling. Words have meaning. It’s at worst, negligent and dangerous, at best fraud and false advertising.
> This is preposterous, and frankly quite uninformed.

I actually studied moral philosophy in a relatively well-respected institution (although I did drop out prior to getting any form of degree). Nothing I have learned about the world has ever indicated that there is any such thing as a moral absolute, although there are certain moral principles that tend to be enforced by most societies across history. You are arguing a position that both presupposes moral relativism and presupposes moral absolutism, and both cannot be true at once. At best, you are applying pragmatism towards your own political and economic beliefs and searching for post-hoc rationalizations, but the argument you have made in this entire thread is neither complete nor internally consistent.