skysight-inc/HackerNews huggingface dataset:
> if you read this study as "given someone survived Covid, what are the odds..."

How else are we supposed to read it? I just don't understand what point is being made with "survivorship bias" here. It's not like individuals who have recovered from Covid have gone through some hyperselective winnowing process leaving only those with superheroic immune systems or something.

Obviously the study does not support the conclusion "it's safer to catch Covid than get vaccinated." However, for the millions of people who have had a confirmed infection and recovered, it is absolutely relevant to their risk calculus around whether to take the vaccine, and given that they are survivors, there is no "bias" to speak of.
Much Ado about nothing. Hit windows key, type a few characters, smash the ENTER key. I never even look at the start menu.

Don't encourage them by starting debates over "features." The start menu should damn near read my mind and get out of the way after serving my needs without requiring that I squint at the screen.

Windows 7 was absolute perfection and then it went downhill after that (lightening fast, typing a character or two presented exactly what I needed every time). They have even broken this core feature several times in Windows 10 by cramming in complexity.
City design hasn’t helped; however, even in places where walkability and public transit are good, Mexico City, Paris, China, etc., people are becoming obese.

Something else is a major contributor to this.
Yes, exercise is good for you, and should be taken, but diet seems to be the most important factor.

Research had came out indicating that exercise doesn't really do much good in losing weight. Might help in maintaining weight.
Online Web Development Learning
Houston dodging more bullets than Neo in the matrix. I'm glad but feel bad for our neighbors.
I'm genuinely curious which of those items you consider as sucky and why. I am asking because I've recently been moved from a C++ to a JS team at my current workplace, and now I am exposed to this wide range of new tools which are all alien to me.
> SQLite always opts for an external sorting strategy. It writes intermediate sorted blocks to disk even if they fit in main-memory, therefore it is much slower.

Is this just when avoiding using in-memory databases in SQLite [0]? It seems like SQLite pretty clearly does support fully in-memory operations.

The use-case for in-memory SQLite is significantly narrower so that may be why it was not considered in this study. But I'd still be curious how an in-memory SQLite db compares to the others trialed here.

Unless I'm getting something totally mixed up.

[0] https://www.sqlite.org/inmemorydb.html
The so-called "garbage" in our supermarkets is there because people want to buy it. What gives somebody else the right to say that they should not do so?
That's a great start. However, any tax/subsidy filters down to the consumer in a roughly efficient market.
I would not saw 'outlaw', but a lot of food has sugar added to it, especially bread type items. I even heard meat products have added sugar.

I would say if a food item that people would think should not have added sugar, a very large label would be required on the package that states "SUGAR/CORN SYRUP ADDED".

I heard corn syrup is even worse and that is used instead of Sugar in a lot of places.
Nice! What brings the revenue? Ads or do you charge?
lol, I might be mistaken ...are you pro protesters basically holding the workers of these companies captive against their will? because thats what this does...
The problem is that there is no the problem.

Our foods are unhealthy (low nutritional value, even if they provide the calorie content necessary to live; vitamin and mineral deficiencies lead to poor health outcomes).

Our foods are often too high in calories (portion sizing, sugary drinks, "coffee" that's 90% sugar).

Our culture is increasingly sedentary (cars versus walking and biking, television and computers that are engaging and help people lose track of time idling away on the couch).

And plenty of other factors I'm not thinking of right now. You can't point to any one of these and say this is the problem. They're all problems and all need to be addressed. Educating people on the impact of food choices and health (not even obesity, all the other health impacts). Reconstructing cities without the need for a 30+ minute commute to work or a grocery store. Emphasizing community activities that get people out of their homes and away from their televisions and computers (harder right now with COVID restrictions). Discouraging (by some measure) restaurants from serving grossly unhealthy serving sizes.

Some of these are more feasible than others. We aren't going to rebuild cities any time soon. Public transportation is a political third rail. People in some regions enjoy aiming their trucks at cyclists (too many close encounters in GA for me to even want to use a bike lane in that state again). Others are more feasibly addressed though.
Stonehenge Tech Labs bags $2M, gives CPG companies one-touch access to metrics
BMI is a deeply flawed measure.

It caters to a very specific body-type.

Highly muscular people are usually classified as "obese" according to BMI.

That such a deeply flawed measure achieved mainstream acceptance is quite the achievement.
I better start researching fat suits.
FizzBuzz was never a programming challenge, it was just a very quick filter before getting to real challenges.

Real tech interviews have always been about understanding and applying data structures and algorithms, with some emphasis on problem solving with those tools.

A really long time ago, there used to be questions that were more like "do you know some very common C/hacker idioms", like write a one line strlen or reverse a linked list in place. I used to get asked stuff like that in the late 90s.

(There were also the brainteaser style things, like how many golf balls fit in a 747, but those were often for non-programming roles where people were looking for your ability to problem solve in a vacuum with little information. Those were rarely aimed at engineers, but at engineer adjacent non-technical roles.)
Haha, right. Good luck trying to propose that.

But I agree with you on your first point: there's nothing wrong with sugar in moderation. But it seems that it's just too hard to keep it in moderation for a lot of people. And that's understandable: high calorie, highly palatable foods are often packed with sugar and fat (hence "highly palatable") but don't contain enough fiber to fill you up and -more importantly- keep you full for a long time. So you're gonna be hungry again soon, despite having just consumed a shit load of calories.

It's too easy to consume more calories than you actually burn, especially since we hardly move anymore compared to previous generations. Our life style is sitting down.
Has the MIPS acquisition not borne fruits then?
Yes, there is.

Its about 18,000 to 1 USD, at the moment.

It was 1,500 back in Sept 2019, and as the article states, it was at this rate since the 70s.

Source: https://lirarate.org/
Just published this earlier this morning. Would love your comments and corrections. TLS is a huge topic and I'm sure I got something wrong in here.
Edit: I'm pretty sure I missclicked to which comment I wanted to answer and now I can't find it... It said something along the ML approach being more developer-time efficient.

You can definitely do it in 20 minutes if you know how (which is also applicable to the ML version):

import cv2
import numpy as np

red_duck = cv2.imread("red_duck.png", cv2.IMREAD_GRAYSCALE)

# boilertplate etc, up to the point where you want to match your ducks on screen:

res = cv2.matchTemplate(img_screen, red_duck, cv2.TM_CCOEFF_NORMED)
positions = np.zeros_like(img_screen)
positions[res > 0.7] = 1 # we found a duck
# now do whatever you want with each position
# on real life images you may need to do some additional post-processing, on 8-bit rendered images you probably don't need to
Haven't seen that much unless is people that's been working non stop for lots of years because:

- You don't get 'by default' a year of benefits, you need to work at least for three years to 'accumulate' 360 days of benefits

- The benefits are not that useful if you live in a bug city, given the rent prices. Max benefits are 70% of your base salary, with a limit of around 1000€. After 180 days it goes down to 50%.

- After that, when you work again, you're probably going to pay a lot of taxes in the first year, to adjust the low taxes (IRPF) you were paying while on benefits.
People like to say that it's something else, in my experience, because they do, in fact, know what CICO is, and have tried it, and have failed when they tried it.

With broad strokes, those failures can be lumped into 2 categories: 1) lack of willpower (pretty self-explanatory) and 2) hoodwinked, bamboozled, and otherwise tricked by food package nutrition labels.

It is genuinely hard to discern real calories consumed using just food labels, and not 3rd party sources and at-home food scales.

That's the part that people don't understand, I think.

Source: I was fat, now I'm a little less fat because of CICO. Still kinda fat, but getting less fat slowly. I learned early that nutrition labels are your enemy and are just another marketing tool used by savvy companies.
In this age of normalised obesity, the idea of what an obese person looks like has also shifted. Plenty of overweight and slightly obese people would consider themselves as normal weight in countries where obesity is prevalent.

And normal they are, but it's just a bad reference point.
I wish that article talked about the geographical distribution of obesity.

I saw a fascinating pre-print paper here a while ago: A Contamination Theory of the Obesity Epidemic. via: https://news.ycombinator.com/item?id=27936016

I also read an interesting book lately called "The Dorito Effect" in which the author makes the case that we have a finely developed ability to associate the flavour of food with the nutrients we get from it (and, when we need nutrients, we'll crave the foods that offer it), but, 1) food's flavour and nutritional value has become diluted as we've bread for larger yields, and 2) we add synthetic flavourings to everything, messing with the ability to crave and eat the foods we need.
Well, I don't have time to argue with such absolutism.
Some african countries don't really have proper currency freedom. I know in Zimbabwae they have currency auctions, but there remains a large spread between these supposedly market based auctions and black market rates. Not sure how South Africa handles wiring large amounts out of the country - sometimes things need central bank approval etc.

Anyways, an interesting space and if it solves pain points then even better - you'll have a success on your hands (not everyone wants to work with these govt agencies directly).
Not sure what you mean here, std::unique_ptr is for when you want to auto destruct a ptr when going out of scope (ref counting limited to one) and std::shared_ptr is normal reference counting, they aren't alternatives to each other but specific things for specific situations?
One of my first thoughts. The purchase of a license would need to occur on the web-based store, where presumably you'd create an account, download the free (with in app purchases, because you don't want to restrict sales even if they're at a lower margin) app from the App store, and sign in with your account to activate.

Seems like entities wishing to operate a secondary app marketplace would continually be balancing tradeoffs in UI/UX (v. native Apple experience) and cost of acquisition for a relatively small reduction in fees.
Gauging demand would certainly help us prioritize. We primarily target vendors who want to acquire customers, as they have a consistent need for migrations. That said, we also help end-users migrate to vendors we don't have relationships with. Finding end-users who are migrating requires excellent timing, so we're open to SEO strategies.
I wasn't aware of that, but that's good to know. It's certainly not counted anywhere in America that I'm aware of.
Yeah it would have to stop obviously. But let’s take it the other way! Do you think working 20 hours a day 7 days a week is optional efficiency? We need to find the right balance!
Bear Nation – could human hibernation be driving the American obesity epidemic?
Isn't that expected? People born since 1980 grew up with those sticky habits/culture around food and exercise, and are a growing proportion of the population.
> Fortunately, the U.S. has plenty of each, to accommodate multiple preferences.

As of 2010, close to 24 million Americans lived in a "food desert"[1], i.e. an area without adequate access to healthy eating choices. These areas are disproportionately lower SES areas, and the people in them don't get to have a "preference"; the decision is being made for them.

Edit: Here's a paper explaining the correlation and absence of choice in detail[2].

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

[2]: https://academic.oup.com/nutritionreviews/article/66/4/216/1...
Because a general consumer cares about user facing features, which improve product usability.
We don't today have the water for that. An also today, it's not worth it to build expensive desalination plants.

What increasing the density does do, is bring forwards when desalination becomes economically worthwhile, solving that better than having only low-density single-family homes.

Try this series on the economics of rural development. https://actionlab.strongtowns.org/hc/en-us/articles/44022590...
I'm curious: what do people here think of the whole "body positive" idea?
... and have it work reliably ...?

The real problem is standing up DNS on local or enclave networks with zero effort. Right now setting up DNS is a pain, configuring DNS is a pain, and mDNS doesn't scale and is slow.
Slightly tangential, but does anyone have a story for how to share Obsidian notebooks in a team context? That's the one major thing I've found missing in these off-line first notebook apps.
HN discussion on the original release blog post: https://news.ycombinator.com/item?id=28140732
And also if you're gonna be tracking your calories, be liberal with the caloric value of what you're eating. There's some really messed up entries for caloric value of things in MyFitnessPal that extremely underestimate how many calories are in certain foods. Like an entry for a full-sized cinnamon bun that says it's 150 calories (just making up an example, but I've seen things that absurd)

Too many people complain about tracking calories not working for them, and I guarantee it's that they weren't tracking properly.

Edit: Oh another thing: with stuff like protein powder measuring itself in scoops, they tend to be way off in how many grams are in a scoop. I don't know how they get away with it, but if you measure with a scale how many grams are in a scoop, it can be like 25% more than what it says on the tub
If you're a cycling enthusiast you'll always find a way. As you develop as a cyclist areas which once intimidated you may feel safer. It is like any other skill in that way.

I know many would prefer bike lanes, but bicycle infrastructure isn't always safer for cyclists. Often city planners have no concept of what actually goes on, so even when token lines are painted on the street - it does nothing to increase cycling.

It may be best to put aside the issues of investment and which top-down solution is the best. There may be a time and place for that, but in the near term individuals with an interest can develop their skills incrementally.

Disclaimer: I am a self admitted cycling extremist
I loathe apps that want a subscription for such a trivial concept. Why did you choose this route over ad support or one time payment?
Quickly? Redux is a state container that supports Flux actions and Elm is a language with a companion architecture that's recommended. The comparison would be between Elm and Javascript/Typescript+React+Redux, as it provides the ability to implement those featuresets out of the box, including Messages, which is the TEA answer to Redux and Flux actions (more or less).

Personally, I find working with Elm's state management features is like heaven compared to dealing with Redux+Typescript's intensely noisy types.
Thanks for your reply, this is an interesting perspective - based on your comment, it seems likely that you have more real-world experience with these issues than I do.

Regarding floating point performing this tradeoff for you: yes, I understand that floating point arithmetic trades simplicity for greater dynamic range, giving lots of precision to small values and less precision to large values. You can tackle some of these issues with fixed point arithmetic at the cost of increased memory usage. For example, instead of using a 32 bit float, you could use a 64 bit fixed point value, where the most significant 32 bits represent the integral part and the least significant 32 bits represent the fractional part. Obviously this type offers both much greater range and greater precision (at every scale) than the 32 bit float, at the cost of 2x memory usage. I suspect that the 64 bit fixed point type might still be faster to work with in hardware, due to the relative simplicity of implementing fixed point arithmetic in hardware. What do you think?
Fantastic product to founder market fit. OPay is now worth a staggering 2 billion dollars with over 3 billion dollars in monthly payment value. For a 3 years old startup, thats a great fit! For so long incumbent startups and banks have refused to cater to the needs of Africans in the diaspora. Would be fantastic if the current product can evolve to an actual digital bank. Godspeed team.
Perhaps, as Scott Adams has said, "It is not safe to do business in China."
Phones have speakers??
Computers should expose their internal workings as a 6th sense
If you are ripped af and most of your body mass is muscles then yes your high BMI can be safely ignored. For everyone else, it's definitely a "good enough" reflection of their bad habits.
Most likely there will be several shorter spots with one or two of the bullet points. I think it's less confusing than posting every permutation. Perhaps they want a single link with all the views.
There's still flooding from last week's storm in TN...
Do you really think we can't come up with some definitions that at least push in the right direction? They don't have to be perfect, but just start somewhere and keep evolving in the right direction. Let's not pretend we have to get it perfect before we try anything.
Samsung Purchasing Customer Info from Data Brokers
"We may obtain certain information about you from publicly or commercially-available sources and from third parties who perform services for us. We also may obtain other information about you, your devices and your use of the Services, in ways we describe at the time we collect the information or otherwise with your consent."

https://www.samsung.com/us/account/privacy-policy/
You said 7 figure body counts in 2 years weren't bad by global pandemic standards.

7 figure body counts in 2 years put you in the top ten deadliest natural disasters in human history.

No one was talking about fraction of the population, nor was anyone talking about effective reduction of life expectancy. You specifically were using the metric body count.

If you want to make an argument that this pandemic isn't that bad because the people who died this time don't count for as much as those who died in other pandemics, you can do so, but I think that's a poor strategy for corporate PR.
What some might not know is that New Orleans is currently extremely unprepared for a major hurricane. Some water pumps are offline, and the city is currently in the middle of a huge amount of road and infrastructure work. Flooding will likely be much worse for this storm than normal.

If you're in New Orleans, I recommend considering an evacuation if you have somewhere to go.
A Solid Favor: A New Way to Investigate the Electric Double Layer Effect
For some time I wanted to make browser-based utils/time wasters in the same vein (think Photopea but simpler, or .io games) - to generate some passive income, even if it'd be $100 a month or so. Has anybody succeeded in that and can share what was key to achieve income? I mean, most savvy people have ad blockers these days.
Unpopular opinion: It's both a personal and societal failing, but personal choice is dominant. You can choose to eat rice and beans and drink water. You don't have to eat hamburgers and fries and drink sugar.
this affects such a small amount of people in practice and is not related to the obesity problem. yes if you are less than 10% BF your BMI might be overweight. this isn’t why obesity rates are high. for almost everyone BMI is an excellent starting point
...what good is a protest that is easily ignored and doesn't affect the status quo?
Love the idea! Yes there are challenges (ref: 'Embrace and extend') but there is a very clear value: both for end users (that ultimately drive value) and for paying companies (startups or other) that have have great new products but have to deal with a market in which 'the current generation' of products are used.

From a different angle (that you're probably already considering :-): What about SaaS companies that also want to give customers a smooth way out if they are not satisfied. I can imagine that there is value in having some sort of 'seal' that makes it clear that: yes you can get out of here if our product is not what you want it to be.

Final note: I just hope that we’re not going to end up in a situation where we need to do a “ReCaptcha” again after logging in because some SaaS, x, is wary of scrapes….

Good luck!
Decode your Green Pass with Linux tools
I disagree. I live in NYC, where automobiles are the least-convenient way to get around. People don't really eat much better here than anywhere else, but they walk around almost constantly. Everyone is hela fit.

Until you drift out to the outer boroughs where cars are more convenient, that is.

Also I think that the assertion that "people would be less sedentary if they felt healthier" requires evidence. Some people who feel healthy and energetic would still rather sit down and play videogames.

Any fitness system that requires carving time out of the day is doomed to failure; what works is fitness that is built into the things people already do. In other words, if you walk or bike everywhere, you don't have to make time to work out.
Why not include nuclear power on the telescope?

Would it cause interference?
I’ll play devils advocate. Say you work 40 hour work week with 20 hours of “productive” time. If we moved to a 30 hour 4 day work week would you actually only have 15 hours of productive time per week? I say this because I don’t think all the non productive parts of working life would go away, instead we would just get less done.
Instead of banning (or discouraging) "processed foods", lets start with banning/discouraging "unhealthy foods".

Because "unhealthy" is a better starting point than the arbitrary metric "processed".

-------

You're going to do more for your health by cutting back on your rice portions, rather than worrying about what is or isn't processed. (And rice is barely "processed" at all... but its incredibly calorie dense with high glycemic index).

Switching out bread portions (since bread is highly processed) for rice portions won't do you jack diddly squat. Both are high calorie / high glycemic index foods.
While your point is true, I'm confident in saying that vast majority of the 42.4% of Americans who have an obese BMI are not highly muscular.
Doesn't that mean the cause is related to car culture (drive-thru) and processed foods, not just overeating?
... is this just so they can sell you ads on your shiny new $2000 phone or watch? Or are there other, more nefarious, purposes?
Reading this post gave me a tremendous feeling of anxiety.
This is Why I Stick with Lenovo ThinkPad Laptops for Linux