skysight-inc/HackerNews huggingface dataset:
This reminds me of the early days of every new technology when the media predicted doom and gloom.

Every time an electric vehicle caught fire it was national news, and then someone in the comments would point out that they weren't catching fire any more than gas cars, but that wasn't newsworthy.

The early days of the Internet, the media constantly portrayed it as full of child porn and hackers.

Now the ultra-critical lens is on meat alternatives. But in 10 years that'll be the default when you order a Big Mac and nobody will think of it as any weirder than any of the other ingredients in packaged and prepared foods.
It's been out for 3 years, but it's honestly still quite rough around the edges. It's like the highways and some roads are paved, but otherwise you're off-roading if you need to drive outside of the city.

There's a fair bit of UIKit-parity that's still missing, which forces you to create a ViewRepresentable class and do the UIKit bridging yourself (this ranges in complexity, but can definitely present significant challenge depending on the task). This becomes more frequent too for lesser used Apple platforms (watchOS and tvOS).

Another place that's lacking that the author doesn't quite dig into is that SwiftUI has no concept of cell re-use at all. The Lazy UI components (stacks, grids) will _delay_ their initialization, however, nothing actually ever gets re-used. So if you're working with a layout similar to Netflix, every time you scroll left/right/up/down, new cells are being created and are loading more image data into memory. With UIKit, cell re-use is a foundational concept that all devs should be utilizing, so it's a bit of a headscratcher that something like this is still missing from SwiftUI by now.

To top it all off, as Apple does get SwiftUI up to spec, they are completely resistant to releasing support libraries (or anything along those lines) - so rudimentary UI features/modifiers/etc. that get added years later will only ever support the latest version of iOS and forward. This makes it much more restrictive to work with, as most apps are targeting at least 1 year back and not only the latest major version of the OS.
True, in a commune or something like that, it does work. I think though once we hit Dunbar's number, then it breaks down and we need a subjective value based market.
> You either love meat and won't touch these things with a 10 feet pole

I love meat and regularly buy these instead of hamburgers. While shopping for vegan Thanksgiving guests I saw some patties that imitate chicken. Going to try those out soon too.
Stripe Needs Test Envs and Preview Deployments
> passed all manual testing

Or been ignored. It happens.

> passed all unit tests

If they have been written at all. And every bugfix should come with a regression test.

> passed the type checker

If it hasn't been disabled. And I would expect that a bug that could be fixed with better typing would include making types more restrictive when necessary.

Unfortunately, tools like testing and types are seen in two conflicting ways. Some people embrace them and see that they can use them to write better code with less bugs. Others see them as obstacles that have been placed in their way due to the additional learning curve.
This 100%. Don't accept a manager position unless you get to continue being an engineer.
The standard reserves several classes of identifiers, "_t" suffix [edit: with also "int"/"uint" prefix] is just one of several rules. Another rule is "All identifiers that begin with an underscore followed by a capital letter or by another underscore" (and also "All external identifiers that begin with an underscore").
react-native, native script, flutter. xamarin (does that still exist?)
Thanks. Now I understand why I found pointers difficult. It's the declaration that confused me.
> Prototyping is often easier and faster with plain JS

I disagree, especially in the realm of AST-crawling, that having type hints in the IDE has been extremely beneficial in moving fast.
I wouldn't say "many". RO is expensive and energy-intensive.
there are no tradeoffs with TypeScript.
UB is not allowed in a constant expression in c++, which is a good reason to put constexpr in front of as many things as you can.
If you factor in the industry and acrage required to produce the massive amounts of fertilizer and animal feed they import, then their agricultural operation is not so tiny, nor green anymore.
Is that a defect that can be solved through more science? tweaking the light and nutrients?
Do you plan on repeating it?
Billion/Shmillion - you're right though. Amazing it's still a rounding error to Elon...for now.
There's, at least, a third group that stopped eating meat on ethical or climate related grounds rather than taste or health grounds. My daughter was one, as were a decent number of her peers. Whether or not that's a sufficiently large segment that can sustain an industry, though, I'm not competent to judge.
> Would't an actual evil government simply let the old population die and solve the demographics crisis? It's not like they depend on old peoples votes to stay in power.

The CCP may not be the Kiwanis Club but they're not the Legion of Doom either. It's not a democracy but they still need some degree of popular support, and letting everyone's grandparents die is not a great way to engender it.
Games also often render text.

> And how easy is to use a modern 3D engine versus HTML/CSS?

CSS transforms include a little 3D "engine"! https://polypane.app/css-3d-transform-examples/
There is a issue with issues there though. They do not automatically parse for similar issues and suggest adding your case to them.
I don't think there's anything wrong with storing the game state on the server, but you should use a session cookie rather than making it based on IP.
I don't know if this is what made it click for me specifically, but here's an interesting realization I recently came to about mental models in programming.

Somewhere along the line I conceptualized functions as a mapping from their inputs to their outputs, much like in mathematics, and I would later come to learn this is what's known as referential transparency[1]. Eventually, during a foray into functional programming, I discovered Lambda Bubble Pop[2] and thought it was brilliant because it was exactly how I had been resolving function invocations inside my own head pretty much for forever, and poof, higher-order functions just made sense. I recently showed it to a developer colleague of mine, though, and he had a very different reaction. In discussing with him, I gathered "replacing a function with its output" was rather alien as a concept; this was not at all how he thought about functions. I'm still trying to figure out how he does conceptualize functions, but I gather they're more lists of instructions than they are term replacements.

[1]: https://en.wikipedia.org/wiki/Referential_transparency

[2]: https://chrisuehlinger.com/LambdaBubblePop/
> And I didn't know that "The Model T was distinguished from all other makes of cars by the fact that its transmission was of a type known as planetary".

They are referring to the planetary gear set which is found in every hydraulic automatic transmission since the 1960's. Nothing exotic by any means.

Also, The operation of a Model T transmission is very different from the modern manual gear boxes we are familiar with. I think it has two clutches and the brakes are part of the transmission. No clutch pedal but a lever I think. A friends father owns one and it's a challenge to get moving let alone drive. The whole thing is quite fragile. Lord help you on a steep hill...
Major news organizations lie by omission and innuendo. Random people on the internet lie by making stuff up. You shouldn’t trust major news outlets to give you a clear picture of the world, but they can be generally trusted as a source of verifiable fact, even if an incomplete one.
>If all I'm doing is helping someone get even richer, at least let me have some fun while doing so.

Not everyone needs a language filled with features and abstractions to have fun programming. Some people just enjoy making programs doing something more than playing with higher order functions, meta-programming, etc.
Not all reserved names are reserved for all purposes. _t is reserved only for type names (typedefs), whereas _Atomic and _Bool are keywords.
I mostly avoid meat for environmental reasons rather than health reasons. So Impossible and Beyond are nice alternatives. you shouldn't be eating hamburgers super regularly either way so the healthiness of alternatives really doesn't matter to me.
I married a vegan, and I eat a lot of vegetarian food. (I also still eat plenty of meat, just not every day.)

One extremely frustrating aspect of plant meat is that they tried to aggressively push out traditional veggie burgers on restaurant menus. A familiar refrain I've heard in restaurants in the last few years is "we used to have a nice veggie patty, but they replaced it with the beyond/incredible/whatever patty."

The thing is, vegetarian food is incredible without needing to taste like meat. When I've had these products, I've always walked away feeling like they taste inferior to traditional vegetarian burgers / sausages that don't try to taste like meat.

> Some say the slowdown in sales is a product of food inflation, as consumers trade pricier plant-based meat for less-expensive animal meat.

Normally vegetarian food costs less than meat. It's because the animals need to eat (surprise surprise) vegetables! When you eat the vegetables directly instead of having the animal eat the vegetable for your, it's cheaper.

IMO, I think the "meat in a vat" system where animal tissue is grown in some kind of factory setting is a much better approach. When I want to eat meat, I want to eat meat.
You’re deflecting, the topic is musk is anti-semetic as soon as that thread becomes difficult to defend you deflected to the weakest argument of “but he attacked someone who used to work in the gov and he depends of gov contracts”

That argument does not make any real sense, because that sounds like a problem for him not some sort of ironic jab, especially considering we’ve seen he doesn’t care that much about upsetting said supposed puppet masters. (And with the latest big US climate change bill- the one unironically called “lowering inflation” -we’ve seen the government try to somewhat cut him out of the pie… and he’s doing just fine.)
How exactly do you make the Dreamcast/PSO connect to one of these servers?
I was curious about this as well. Reality TV for example is edited very differently between the US and elsewhere to suit local tastes. Do we know whether or not crowd shots were usually shown in China pre-covid?
I suspect it was meant as a: "They told me marijuana would ruin my life, but after smoking some, my life is fine, so surely they lied about the other drugs as well"

TL;DR: Marihuana not as bad as stated, surely fentanyl is fine too.
It used to be accurate and much better at the time they had ratings for their content, but I think it all changed when they removed that feature since they wanted all their content to be consumed, they then would present even low relevancy results on the top during the search.
I'm a meat-eater who is aware of the negative health consequences of excess meat consumption and Beyond Meat has been a great gateway/transition food for me. It tastes great, I'm not too worried about how processed it is because it's still better than how meat is processed (e.g. nitrates), and I hope it sticks around. The biggest downside to Beyond Meat for me is the cost.

I've tried many of the traditional alternatives. Tofu can be great, but getting it there is a lot of effort. Tempeh is ok but only works with some dishes. For me there's nothing quite as easy as throwing a Beyond Meat sausage or patty on the barbecue in the summer.
Chances are they are, per capita, importing a lot more than others (haven't looked it up but I'd be surprised if they didn't, happily surprised that is), and if that's the case, "others do it too" (but less of it) doesn't rule out that the nl food surplus is more a form of processing (of other countries agricultural output) than of domestic production, that just hides behind the different classification of imports and exports (one isn't food, the other is). How much agricultural surplus would there still be if they were isolated for a few years?
Not sure what you are thinking of when you put C, C++ and Go into the same category of "bad developer ergonomics" here? I found Go's developer ergonomics to be pretty welcoming, compared to C/C++ and also compared to Node for that matter...
But my fork is better than yours because it has the feature I wanted and you rejected ...

So maybe you should be integrating your work into my project.
So bad driving causes crashes? Who would that thought? It's not that the faster car is safer then, it's just the fact that if you try to overtake without sufficient room, you will be taking a risk.

No-one is disputing that a faster car allows you to overtake faster.
"Now not only are there distracting words on the screen, but they're also jumping around erratically!"

The actors are jumping around erratically and we track them fine. Even if the text always appears in the same place, it still comes at unpredictable times (temporally erratic). And even normal cc moves around within an area anyway. We track all of those randomizations just fine, without thought or effort.

I don't know until someone tries it, but I can imagine it becoming perfectly natural and someone used to that would find the idea of having to look away to the text maddening. It wouldn't (well, might not) be perceived as jumping around but the opposite, placed already where you are looking.

Even when the text does have to jump from where you are looking, because a new speaker spoke, even that might be better than today, because it draws your attention to the new speaker or i terruption. I often actually get confused by normal cc because all speakers are rendered identically and it's not always clear who said what, and sometimes not even clear that a given string of words is from 3 different speakers. By the time you puzzle it out the whole scene is gone and you're now about to miss some new dialog that's about to disappear before you've started interpreting it.

It would hinge a lot on what they said about getting it right. Surely you could make this idea terrible. But surely it's at least possible to imagine a version that isn't terrible. Different fonts, sizes, colors, placement, borders, etc could all combine to make something far more natural to ingest that what we have now.

Like a better version of comic book speech bubbles. No not literally exactly like them. But some aspects of them, such as how they don't all look identical. Thoughts look different than speech. Yelling looks different than speaking. Emotion and intent are conveyed as well, etc.
Agree. I grew up vegetarian and nowadays (sometimes) eat meat. So vegetarian food for me is not some make believe meat substitutes. And when I do feel craving I would eat normal burger, chicken or lamb curry. It is just eating less meat not looking for daily substitute for meat.
You’re right. I misspoke. Black people are only 400% more likely to be stopped than whites for jaywalking. Ticketing is not mentioned.

Wouldn’t that statistic still support my assertion that jaywalking is used as a pretext to harass certain populations?
Here is another one:

A lot of things can be done without using malloc and free.

Use these functions to manage memory in large clusters. Let the compiler deal with the rest.
So it's possible to connect to Phantasy Star Online's servers? Presumably they're no longer run by Sega.
*y in both printf, right?
> saw all the unmasked foreigners at The World Cup it spawned a lot of ideation

Is there any evidence this is about masks versus gatherings?

> the Geneva convention has a clause against going to war with a nation stricken by a pandemic

The U.S. would go to war with China if it invaded Taiwan, conventions or not. (I also believe the relevant text is with respect to medical personnel, not a general prohibition on armed conflict.)
Indeed. Kudos to HN for being enlightened on this issue.
According to Media Bias Fact Check, CNN is left-bias and NYT is left-center bias. That's as close as you can get to an impartial judgement.
Not at all!

a is int; &a is pointer to int; x is pointer to int; *x in again int.
A small detail: you probably meant

printf("y before: %d\n", *y);
Should use a longer focus lens to avoid perspective distortion.
Related from October 2022 "Lowest “Who is hiring?” Post Count in 30 Months" https://news.ycombinator.com/item?id=33083279
That, or it had previously been overvalued. The company was very hyped for a while.
The []() syntax doesn't work on posts. Clickable google sheets link:

https://docs.google.com/spreadsheets/d/18kLWHkrEedpl1eXzAht_...
The Asch Conformity Experiments
They are choosing TypeScript, they're opting into type checking with JSDoc and tsc. For a brand new code base, you could argue that it would make sense to jump in and write TypeScript, but JSDoc and tsc will get them most of the benefits. It's almost a non-issue.
I really have fun with all this image generation stuff but can anyone explain what the real $$$ benefit of all these funky dreamlike pictures is?

As massive VCs are starting to take note, it's starting to feel a bit like the crypto scene. Interesting tech without much real-world application.
Why is it difficult to get your stance on this? Even in your original post, it was unnecessarily circular.

Are you saying the crowd shots are still being shown in China? Yes or no? How do you know?
Interesting, what were some of those unique optimizations?
Reiner Knizia: The man who’s designed over 700 board games
They are, currently, expensive for sure. This is largely because of lower demand than beef. The longer term plan is that with increased demand they will be significantly less expensive than beef, because they have lower input costs: instead of processing plants through cows, you remove the middle-man-cow.
Not if everybody abandons the original fork and uses a different one.
> But at what cost? 100% CPU and GPU usage, tons of system/video memory.

Games use lots of CPU/GPU resources because they're rerendering all the time. You don't do that in GUI apps. You also don't have huge swaths of 3d assets.

> Also, rendering text with full capabilities (arbitrary font/size/color, emoji, ...) is much more complicated than drawing a textured polygon.

That's exactly how text is rendered: Glyphs cached into textures that are blitted. Filling the cache is a little more involved, but you're not doing that all the time.

> And how easy is to use a modern 3D engine versus HTML/CSS?

You don't need to use a game engine; traditional GUI toolkits did this stuff out of necessity due to much slower hardware available at the time.
what's this?
https://www.google.com/maps/place/Mauna+Loa+Observatory/@19....
> one day, the sufficiently smart compiler will understand what we mean in our programs and generate code that is faster than what an expert could write in C or even assembly.

Who is making this argument? Pretty sure I’ve heard most compilers (and transpilers maybe) will do a better job of the low level stuff than your average dev, but AFAIK no one notable is arguing a true expert couldn’t squeeze out some additional performance using say Assembly if and when it’s sensible to do so.
I certainly can't speak in general but I noticed it enter my circles of friends when the World Poker Tour and Celebrity Poker Showdown games started on TV ~2003. Around that time it seemed like everyone I knew was suddenly interested in Texas Hold'em (before that I had basically only ever played 5-card draw).
Yeah, I'm not a vegetarian, but I've ordered black-bean burgers and the like from restaurants, just because it's different.

And it is. I think these things work better when they aren't trying to be meat.
Wow, it's practically identical! Just add skateboards and bmxs.

https://store.steampowered.com/app/1353230/Bomb_Rush_Cyberfu...
also note that both Deno and Sveltekit moved from TypeScript to JSDoc (https://twitter.com/swyx/status/1350427690814251010)
Around 2012 I was asked to make a photo booth for a friend's wedding. I ended up managing to rig an old-fashioned doorbell to an Arduino to give me a 3-second countdown, attached to a DSLR for the photo, an eye-fi card for the wireless connectivity because I think the camera didn't have on-board WiFi, and an iPad attached outside the both that always showed the last photo and let you scroll back.

I think I'd have to recreate it from scratch if I had to do it again because I have no idea now.
Go types are strictly inferior to Rust types.

If I wanted an ideal GC'd language with good types, I'd pick StandardML to pour time and resources into instead of go as it's a better-designed language with similar performance, better types, more simple syntax, and with better-modeled concurrency.
No, the impact of subsidies is always heavily exaggerated by those who want to promote an agenda, as evidenced by the relatively small differences in prices between countries that subsidize and don't subsidize various things.

$38B is only $100 per person. Even if it all went towards ground meat, it could only subsidize 4 lbs at a $30 -> $5 cost reduction.
> You either love meat and won't touch these things with a 10 feet pole

Assuming you can afford to eat meat, which many meat eaters might find themselves less able to do if prices continue to climb and/or beef subsidies end.

Ground beef could easily cost $15+ per pound without subsidizes: https://www.aier.org/article/the-true-cost-of-a-hamburger/
I have an opposite problem, I am trying desperately to hire developers but we don't do full remote. We require some in-office time and that just turns people off. Upper management won't listen to me, they want people in the office at least three days a week so basically I'll never be able to hire anyone. We offer big salaries, benefits, you name it. Commuting sucks and people know it.
Well put, now you have me wanting to try this candy diet.
For me, it wasn't what I expected at all. Passions are a great distraction, but to go all in on one is not much different from working on something you enjoy.

I learned that I was much better off integrating my passions in to my life in a more sustainable way rather than trying to turn them in to a 'thing' that I was solely focused on. Perhaps I am just... less passionate about my passions than most people, but that is what worked for me.
What is an "incomplete" protein? I'm aware that the human body needs certain fatty acids that it can't produce. But protein?
You're moving the goalposts here, but neither the person I'm replying to nor you are really providing anything compelling about how unfit these are for consumption.
I think it could be incorporated into 'for the masses' design software suites like Canva.com.

If done right, image generation and augmentation could be a powerful and valuable feature.
> I don't think Beyond could fool a meat eater for a second

Anecdotally, my partner modified the menu at the bar he used to run to change the burger to be Beyond by default and beef optional. While it was clearly labelled on the menu, people didn't seem to read it/realise that the default was vegetarian. Everyone was very excited about the "new" burger, and most people were (happily) surprised to find out it was vegetarian.

So at least at this one bar in Amsterdam, Beyond fooled many meat eaters.
Have Central Bank Interventions Repriced Corporate Credit? Part 1