skysight-inc/HackerNews huggingface dataset:
Show HN: Switch your music provider without losing playlists and recommendations
Lots of companies are adverting it that way though, and not just the big ones. A quick search of menus found descriptions like:

"You'll have to stop in for Green Market's light and healthy menu, with treasures like the Impossible Burger Bowl and Avocado Caprese"

and

"A healthy, vegetarian plant based patty grilled and served on our brioche bun, lettuce and tomato."

Also saw this from a country club's website:
"A new interest in using meatless foods for this season was sparked by our health-conscious Members and expanded offerings by some popular meatless food companies. We will begin using a vegan brand called Beyond Meat in some menu items.[...] We are excited to include a variety of healthy options for our Members and are looking forward to a great season!"

If menus and restaurants are calling it healthy it's a fair question to ask.
Ask HN: Am I too dumb for HN
None of my comments on HN are visible to others. I have read the guidelines and I think I’m violating the “don’t post dumb comments” rule. I comment only on the things I’m interested in and usually I’m asking for clarifications of a post or a comment.

Is it assumed that I have to be a professional with regards to the topic? I am mostly self thought and I know I have huge gaps in my knowledge.

Wouldn’t it be helpful for the person asking and others in similar position to show the comment/question even if it is dumb by HN standards but shows genuine interest. Others could point out (in a civil manner) what is wrong with the comment and the commenter could grow less dumb.
Pidgin with libpurple/libslack is also great. A bit quirky, but it works.
https://www.youtube.com/watch?v=PNw95c75g7o

"Eat recycled food for a happier healthier life, be kind and peaceful to each other, eat recycled food. Recycled food is good for the environment, and ok for you."
It's possible the best performing knee surgeon will be the one that doesn't perform knee surgery, collects a fee, and returns your knee in the same condition it was in.

Nonetheless, that would be fraud.
It's possible you'd have to change some of your patterns to ever make something other than a car work. E.g. leave some of your stuff at your workplace, grocery shop more often with smaller loads. Etc. Bicycles can also carry quite a bit with a nice box on the back, and electric pedal assist cargo bikes can carry even more.
Sure - if you don't mind cutting off all less wealthy travelers, then go ahead.
they would have to add a bunch of fat and grease

In the case of the Impossible burger, they add coconut oil which is high in saturated fat. Some argue that the Medium Chain Triglycerides (MCTs), lauric acid and caprylic acid, in coconut oil isn't as bad as other saturated fats, but the evidence is still unclear. Probably not worse than the fat in non-grass fed beef though.
Which is the crux of why many people mistakenly believe fake meats are healthier (or at least "less harmful") than real meat.
> jobs require significant education and/training after high school.

To the parent's point; Many college degrees are "just a credential" at this point; and college degree or not, training still has to happen on the job.

I see a trend of millennials (my generation) who go to school to go to school, get good grades to get good grades, not apply the education to the future. Then, there's no entry level jobs (because companies didn't have to train with a recession to get experience) and they jump between unskilled jobs they could have done with a GED or less.

We can also see this with the industry survey the other week of employers saying colleges aren't preparing software developers.

Higher education does have advantages for people beyond jobs; but only if they learn (not memorize) and apply it.
I'll just leave this here for anyone interested in being informed:

https://www.who.int/features/qa/cancer-red-meat/en/
That's probably a pretty good proxy most of the time.
I'm full-stack, as they say, but have been working almost exclusively on the back-end for the last couple of years. I don't think I remember a time when I did something in the front-end that resulted in it working in Firefox but not on Chrome, so you might be right, but I may also simply not remember.
Is it a mental health problem or just human nature?
Hi everyone! I’ve been recently struggling with switching my music provider from Apple Music
(which was coming in the pack with the iPhone) to Spotify. That time I questioned the universe - why can’t I just move all my data from one provider to another? All companies allow you to download all your personal data now.

Well, that was the beginning of UDAPTOR. We launched the first MVP - now you can switch from
Apple/Google Music to Spotify within several clicks: all your playlists and music recommendations will be migrated, all for free.

The platform which we developed is not limited to music only, it can be used pretty much in any domain: fintess&health, finances&banking, content, etc. In the near future, we are launching several
pilots with startups: they will be able to acquire new clients with data, and new clients will get full
scale service from day-0.

Do you feel ‘stuck’ in any service? If so, what are they and where would you want to migrate?

PS We also launched on PH today, there is more information here: https://www.producthunt.com/posts/udaptor
Beyond Meat claims it's better for you in the first sentence on it's product landing page: https://www.beyondmeat.com/products/
> As for integer overflow, I don't actually know how to handle it properly.

Something like:

if (str1 && str2) {
size_t len1 = strlen(str1);
size_t len2 = strlen(str2);
size_t buf_len = len1 + len2 + 1;
if (len1 < buf_len && len2 < buf_len) {
char *buf = malloc(buf_len);
if (buf) {
memcpy(buf, str1, len1);
memcpy(buf + len1, str2, buf_len - len1 - 1);
buf[buf_len - 1] = '\0';
}
}
}

(I probably made a mistake above.)

As you suggest, you'll probably run out of memory before you'll overflow, so in reality, you want to check len1 and len2 are some sane value, but of course, library functions don't usually have that luxury. Take a hint from git:

#define unsigned_add_overflows(a, b) \
((b) > maximum_unsigned_value_of_type(a) - (a))

if (unsigned_add_overflows(extra, 1) ||
unsigned_add_overflows(sb->len, extra + 1))
die("you want to use way too much memory");

https://github.com/git/git/blob/6d5b26420848ec3bc7eae46a7ffa...

https://github.com/git/git/blob/9d418600f4d10dcbbfb0b5fdbc71...

> making such assumptions can be a bad idea

It's always a bad idea, especially in an unsafe language. Never trust user input.
I don’t think that’s true. There are two almost equally important aspects to imitation meats and a lesser third:

1. Require less energy input

2. Healthier than animal meat

3. Animal welfare (but this is less important for most people)

Imitation meat so far accomplished no 1 and no 3. It so far has not addressed no 2. It may be of equivalent health impact. We don’t know, but they are heavily (ultra as people like to say) processed foods... with additives and such. But some people get tripped up by looking mostly at no 1.
Of course they're not. Look at the low fat trends. Low fat foods are entirely unhealthy for you because they're loaded with sugar to make them more palatable (which ironically turns into more fat than just eating the high fat variant since sugar is so much more energy dense).

I don't think these companies ever marketed them as healthier though. They marketed them as more sustainable by not using animals. I feel like a better argument/study is to see how much fuel is used to generate the plant biomatter for this stuff and compare it to the energy/water needed for beef. That's be a more compelling article.
Wish I had better suggestions, but for me it's been a word-of-mouth thing. Started with one person wanting to take me on but he "couldn't afford full-time pay"; he knew someone else who also needed help "here and there" so he helped me setup the initial arrangement to "make me whole", so to speak. A lot of luck and help to get it started.

In practice, it's fairly easy to keep all parties happy, though inevitably there will be stretches where one client really wants my time at the expense of my other projects. That's a fine line, but I haven't run into issues with it yet. I'm sure someday I'll over-commit myself and pay for it. Thus far the key has been responsiveness and "general availability", being open about when/how I can give them more focused attention for various projects. If I tell client A I have a big deadline coming up for client B or vice-versa, they're usually pretty understanding.

Best suggestion I could offer would be to talk to your friends/network and see if anyone "needs help here and there", to see if that opens a conversation towards an independent contractor arrangement.
Does it, though? I would assume they would say "Better for you" if they meant it was healthier, and "Better for people" if they meant it was better for humanity as a whole.

I guess it could be read either way, though.

edit: although looking at the actual pdf, it says "better for people and the environment", which hurts my interpretation of the wording.
Gnome 3.34 Released with “Drastically Improved” Responsiveness
Old attack: http://blog.m-sec.net/2011/sim-toolkit-attack/
As a vegetarian I can tell you "vegetarian" doesn't always equate to "healthy." But vegetarians also like junk food occasionally and so it's nice that we have more options now. I see it as progress.
Getting a surprise bill for 48 months of interest free credit is still a surprise bill. The landlord in question admits both to deferring out of disinterest in tracking market value (which as a trend is simply not hard work to determine) and to increasing the rent enough to recoup the rent lost by deferring the increase. During this time a tenant has no idea there is a claim on some undisclosed portion of their budget and has every incentive to set their operating budget accordingly.

It is well known that most people can not afford significant sudden expenses. I think the inability of some folks here to recognize how bad a 4 year rent hike can be have the privilege of not being in that group.
The performance comes mainly from a different programming model, not primarily from direct access to GPU resources (although the access is more direct than before).

The potentially expensive stuff has basically been moved out of the render loop, and into the initialization phase. For instance, when you create a shader in WebGL, that shader may be patched and recompiled internally when it is used for different situations (for instance different render target pixel formats). And "last minute" changes like this happen all over the place in GL and WebGL, because the GL model has so many flexible "knobs" that can be pressed at any time.

In WebGPU everything is "baked" at creation time. You may need to create more "state objects" upfront for all possible state combinations you need, and this creation may be more expensive than in the GL model, but once those state objects are created they are very efficient to use, and more importantly, they wont be "recompiled" during use.

It's a similar effect like having an unpredictable GC which can kick in at any time and produce frame spikes (like Javascript), versus not having a garbage collector at all (like WASM).

WebGPU also needs a lot fewer calls in the "hot path" compared to WebGL. When in WebGL you may need dozens of calls to change state between draw calls, in WebGPU it's only a handful.
The scooter companies are free to fund installation.

Honestly, I think scooter companies should be fined for any scooters left in a place that causes problems. It's essentially litter, so it should be treated as such. Scooter companies should be providing some means of locking them up securely and expect their users to use them.
DarkReader extension for Chrome/Firefox works for me.
I genuinely don't understand folks reaction to Rent Control bills like this or the one recently passed in New York.

Don't you think that policymakers KNOW that the best way out of a housing crisis is to build your way out? California has put out bills in recent years to try to remedy this (ie. the bill that would require housing near transit lines) that FAILED, breaking down all the local neighborhood associations and powerful interests is not something that can be done in a single legislative cycle.

Rent control is about making it easier for everyday folks to survive day to day, its not meant to be a permanent solution, and if in 20 years this bill is still needed it won't be for lack of effort, it will because the NIMBYs were able to win out.
>You were born in a nice place by sheer luck. It's unfair.

Yes, thats life? Of course where there is abundance we ought to use it to fix the unfairness. But life is unfair.

I think it comes down to where do we actually draw the line of abundance. Some feel we're well past it, enough that we shouldn't even have borders, others feel we aren't even close and ought to be quite selective of who gets to stay.
One has cholesterol
> (I looked at Racket since I heard they are moving to Chez Scheme, which also has a focus on performance.)

to wit, chez scheme was several generations into improving it's native code compilation abilities before python even existed:

history of chez scheme (2006):

https://www.cs.indiana.edu/~dyb/pubs/hocs.pdf
That is what RAII stands for, but in practice good use of C++ RAII is all about explicitly separating interface, allocation, and ownership, such that you only pay for as much initialization as you need when you need it.

This takes great care which takes time and leads to slow development. I think of C++ as worth it when this level of care is necessary to create a well-performing system.

I would agree that most toy examples don't do a good job of explaining how to use RAII in a careful high performing way
It's usually a 50-50 rev share
As they say in the article, many people will believe that 'plant-based meat' is healthier, I have not seen anyone else reporting the increased sodium content for these meat substitutes, I think that's a valuable addition to the ongoing conversation.

Of course it doesn't preclude the premise of "meatless" meat, and the other myriad benefits it heralds.
Synthetic Steak Is Coming: How About Burgers with Everything Except the Animals?
Google Photos can tag individual pets, it does facial recognition of animals!

Blew my mind when I first saw they had added it.

You have to tag your pets (I think it'll prompt you at some point, or IIRC you can tap your pet's face) and name them, but after that it'll also create an auto-category (label? album? Whatever) for each pet.

Super cool stuff.
Eating at a lower trophic level reduces your energy consumption and therefore your pollution output. If you are able to do that with foods that are close to the general macro and vitamin content of a burger, and it tastes about as good (or identical, as I see at times), then shouldn't it be an ethical imperative, given what we know today about climate change?

I mean, I know that humanity will survive climate change, I have every hope & belief, but the earlier that we work on it, both individually and collectively, the better off we'll be. This whole thing about "individual health" is just more tragedy of the commons, especially when the quality of health of the food is so similar - both will get you equally obese.

If we are talking about health and human welfare, there exists a lot of lower hanging fruit than concern about the miniscule differences between beyond meat and that which comes from cattle, but the ecological arguments that can be made are undeniable - impossible and beyond blow beef out of the water.
> 40 years ago you could graduate and be prepared for middle class life and as a member of civic society

While statistically, I'm sure this applies; I see many examples of successful tradesmen making greater than a middle class life for themselves because of their hobbies during high school; things that shop class and apprenticeships in high school teach; no degree strictly required.
> But both are part of our history

Shakespeare is not part of my history, I'm not English, nor am I anglo-american. Shakespeare was never important, only popular, but that's easily confused in the US. Just one of the first generations of celebrity-worship culture.

> humans deserve to know their history and their culture

People get culture from family and society, not from government run schools.
So you set an hour limit that is appropriate for the average person and ensure that 50% of people are not ready and the other half are wasting their time.
Everywhere there's people complaining about things like this and yet no one says "overpopulation". If there were fewer people on the planet...
> Nobody has ever claimed these things are healthier.

That's just not true, the supposed health benefits are touted everywhere. Beyond Meat literally claims their products are 'better for you' at the top of their website.

https://www.beyondmeat.com/products/
I wish there was a browser extension to handle that. It would provide an editing area that would allow you to edit using the same markup on different sites, and when you are done would translate to whatever markup format that site uses and fill in the site's edit area with that.
Extracted vegetable oils and soy protein are worse for you.
Only at the margins are other people with machines enslaving anyone.

I think it's mostly an emergent phenomena enslaving everyone into some cultural and behavioral paradigm that nobody intends or particularly wants.

But the costs of shutting down all these incentivizing/nudging/conditioning/addicting technologies would kill most of the tech sector (by market cap), and therefore can't be seriously entertained.
The City Under Ice • Damn Interesting
It's the opposite for me. I recently took up gaming again and I'm finally into it as well. However, the anticipation and excitement is making it hard for me to go to bed/sleep.
Yes, I am okay. I realized a few things this year.

First of all, I live in India. I will describe what I have experienced and seen. Most of the young developers who are passionate about the tech they don't get the chance to grow. Plus they are getting paid around $700 a month on average. once you have 5+ years of experience and you still getting paid $700. it's not gonna play out well for you. on top, you also have to deal with deadlines. most of them they quit their job and start there owns consulting or move on (now know why people prefer government job over tech. less stress and no-layoff plus good pay).

once who make $3000 a month. their work-life balance is just shit. most of them do contract work for us based clients.

in the past few days, I talked to 2 people they both make around $700 a month. one guy is working with elixir he has like 6+ years of experience in PHP, Java and some work in ROR. I am not saying that he is good or bad. I am just stating what I know.

Where I live it costs around 100000 USD to own a normal house. and one cannot dream of owning a house with that pay.

just to understand the business work. I talked to a guy who owns a small food stall about how much he makes. he said he makes more than $700 a month.

I will talk a bit about my self. I work as a full-stack developer for 8 years now. also, I am self-taught. I was still getting paid around $700. then I simply quit because of the deadlines. plus I found out that in some (corporation) anyone who just gets in makes around $1200 in the start. this kinda stayed with me and made me realized I cannot do it anymore. I think its better business to teach code than to work full-time. maybe I missed something or I am not that good of a programmer? I find it super hard to sell my self to others. I guess if you cannot sell your self you gonna end up like that.

NOTE: I am not saying all devs are getting paid less. it's all about finding the right place.
It says "Improving Human Health" in the leftmost graphic on https://www.beyondmeat.com/about/, and they list specific medical ailments under that. Only a lawyer could try to make the argument these weren't pitched as better health options than burgers, and even then, I would not want to be that lawyer.
Building dev tools and designing C#: An interview with Eric Lippert
No one is forcing you to buy.
So you don't buy things online or travel or do your taxes digitally?

99% of important transactional email I get is HTML. Kind of nice to have your boarding passes and two-factor authentication emails easily visible.
There doesn't seem to be a lot of specifics here. Does this mean I can send anyone a text that has some magical character in it to trigger this S@T Browser to execute arbitrary AT commands? Or is this some kind of special SMS like a type-0 SMS or something?
No, I think you misunderstood. The concern is not for the translation, but rather that for every <input> node, it would have to check if it has an ancestor node that has the class "line", and then an ancestor node that has the class "container".

It's more efficient, in the case of a complete selector like "#person_name", to simply see if a given node has that id.

This makes simple selectors more favorable than complex selectors that depend on node hierarchical interrelationships, so it's best to have a syntax that favors having simple selectors, than a syntax that encourages bad, complex selectors.
> Why else would they have bumped your research?

Cultural context. While the research product (papers, mainly) is very international, how the sausage is made vary greatly by countries. While one of my topic of interest have decades of interest in Europe, it got zero attention here. Also I've noticed that most papers I read in English are basically ultra-specific narrow crap tested in questionable conditions, while stuff written in my native language try to address bigger issues and are more convincing (but also less data centred). Even the way of writing a PhD thesis is different: monograph in Europe, slapping three journal papers with an intro and conclusion here.

My solution will be to continue doing the minimal amount of work that I'm forced to do and write interesting papers with my external network of colleagues. It's of course forbidden by the lab rules by I found a loophole I can exploit.
This problem has been solved a long time ago by the Departments of Fish and Wildlife for hunting and fishing. A lottery that is tied to an identity, no transfer allowed. Psuedo-RNG, so that each time you enter the lottery and are not selected, your chance to be selected increases next time. The money from the lotteries are used to help conserve the resource that they draw on. Example: https://idfg.idaho.gov/press/bighorn-sheep-lottery-tag-raise...

This is not a new or unique problem, and hunters and fishers figured out the solution a long time ago. This could easily be applied to local, state, and national parks. Well, easily is perhaps not the correct word, but there is a known solution to the problem that _can_ be implemented.

EDIT: Hunters and fishers figured this out because they fucked up big time and nearly eradicated large populations of animals (see Bison). They (or the D of F & W's) realized they had to do things differently if they wanted to sustainably continue to hunt && fish.
I agree completely. For me it's been the hardest part of this whole 'move for work/education' thing. Every relationship just seems way more shallow and I don't feel like I can relate on nearly the same level. It seems obvious, since you guys don't have the same stories/inside jokes/trials&tribulations.

It's funny because people say to us "wow you're a doctor and a software dev, you guys are just killing it!!!" but they don't see the cost that comes with it. Perhaps we can move back but after 8 years the damage is pretty well done.