skysight-inc/HackerNews huggingface dataset:
As someone who doesn't really work with neither JS or TS, the proposed JS type system looks superficially very similar to TS.

Is this "backporting" TS to JS or is there something else I'm missing?
Been a f.lux user for (I want to say) more than a decade. No idea if it actually helps me wind down at night and sleep better, but:

1. When the screen color changes at sunset it's a subtle but powerful cue to know that the work day is coming to a close. And then if I'm on my computer when it changes around bedtime that's a cue to GTF off the computer.

2. All the science I've read suggests removing blue light in the evenings does indeed help with sleep. So why not use it?
Show HN: Hexxed. A new, original card game for online and in-person play
> Just don't buy rich foods over which you have no willpower.

I started working with a dietician recently (which has benefits, but is not at all necessary) and they phrased is as, "its easier to practice willpower for 30 minutes once a week at the grocery store than every hour of the day the food is in the house."
I would love for an update to GDPR, stating that any automated form of refusal for consent, including the Do-Not-Track header, must be treated as an explicit refusal and may not result in additional requests.
If I remember correctly, f.lux had an iOS app but they got removed from the store just prior to Apple announcing their own support for the same feature.

They do have an Android app as well as desktop apps. f.lux has been in the space for years and years now.
> Always carry some gels, and fuel up properly at the start!

Yes, lesson learnt! A friend I was with actually realised they had glucose tablets with them for exactly this purpose, but unfortunately they didn't remember until past the time where they were needed.
I m in if. For me I can eat all I want, but here is the surprising part, I do not crave as much as I used to. I am allowed, but genuinely not willing.
Another thing I noticed, from experience, if I eat white bread, or cake, I notice it the next day being more hungry
The most recent claim for bio availability of resveratrol seems to be that you need to pair it with piperine. Yep. Just like Curcumin.

I'm sure there's some science to back it up but it still brings to mind that old Marc Maron sketch.
Is "weird" an insult? Or is there a greater context I'm unaware of?
I think you and others implied a value judgement that I didn't make. I think some people are searching for a Truth that will make it all make sense, and others have found a truth that works well enough for them, and they don't want to shake it up. I've been on both sides of the coin myself.
bonking for the first time is bizzare. i’ve been doing fat training because of sugar processing issues with the gels, and with focused effort and pacing i can bike through a bonk, but it is a delicate procedure
I don't test private methods and I like to use them a lot. When refactoring, if a private method is unused, both IDE's and linters will warn you, easing the process of deleting dead code. If you extract private methods into separated classes and expose them as public methods, deleting unused code becomes hard (and harder with multiple repositories).
Yup, mine are older and not tech
A Two-Year, 50M-Person Experiment in Changing How We Work
So why were you worried about wired headphones getting frayed a couple of posts back?
It's the TS team making the proposal.
Thanks to certificate transparency the CA system is really not a huge risk.
# of comments here tells you there is no ONE rule you can follow to lose weight.
you have to try to study how your body reacts to food and that takes some time to do.
At minimum, to lose weight, all else being equal, no healthissues, you have to watch what you eat i.e reduce the amount you eat. To gain strength, you have to lift weight.
I don't think so, since it's technically future income. If you quit or lose your job, unvested RSUs are revoked, and there are probably other circumstances on the employer's part that could have a similar effect.

I once worked at a small (non-IPO'd) business that was acquired by a large multinational, and one of the first things the multinational did was to cancel all unvested options.
You'll only exhale the CO2 you actually produce, if you increase your oxygen intake you won't actually increase CO2 production, you only do that with increased activity (that's why you need to breathe more). You can also try to hyperventilate, but it won't work for the same reason.

90% of weight loss is cutting down on intake, there are plenty of effective techniques that might work for you, but in the end the only way to lose weight is to eat less.
Hi, HN! I invented a new card game in a dream last December and it's now polished enough to show... I hope! The game is 100% Typescript w/ web components in Lit and graphics in SVG.

This version works best on a laptop, desktop, or other larger screen but will run on mobile.

Thanks in advance for checking it out. All input is welcomed!
-- D
I've just realised i've been using flux for about 10 years now also, and never gave them a penny.

I've just donated $25 - https://justgetflux.com/windows/contribute.html
Weird tips, ey ...

- Breathe quicker, meaning more often per minute. Your body will adjust to the change in O2/CO2 balance after a short amount of time and the benefit is an increased metabolism, burning fat faster.

- Visit a prostitute once a week, better twice, for exhaustive full service.

- Eat and drink lots of cacao, mixed with poppy seeds. Better to inform yourself about how it works (and please know if you're allergic!), but this too speeds up your metabolism.

- Use Poppers. Well known in the gay community, it's known to increase heart rate significantly within seconds. Lasts only shortly and probably is a really bad idea to do it all day, every day, but you wanted weird tips and didn't mention they should be safe as well.

- Poke a bee's nest, once a day. Instant motivator for running. Once that's boring, poke a nest of wasps, then level up to hornets!

- Get sun. A lot. Go sunbathing every day. It'll help with melting your fat.

- Kind of weird: prefer sugar over any sort of artificial sweetener, but significantly prefer honey over sugar.

- Make twenty headstands lasting at least three minutes, over the course of the day. Unless you fear your blood vessels might pop. Then please don't.

- Spend a significant amount of time actively thinking about things. That burns lots of energy.

There. You didn't mention how effective the tip should be. All of these should provide benefits to some degree, even better if you combine them.

Weird enough?
There's also Redshift that was inspired by f.lux which may work better for some (and has a nice gtk tray client): http://jonls.dk/redshift/
You shouldn't as it is no longer maintained - https://blog.jquerymobile.com/2021/10/07/jquery-maintainers-...
What to use in stead: https://news.ycombinator.com/item?id=30626573

Should fix all those issues, AFAICS.

So of course abloslutely nobody uses it. :-(
Not me. It’s nice and refreshing to see software that is about improving playing music for people rather than people saying “we’ve solved music with our new algorithm” (as if the thing to solve with music we’re somehow a singular aspect of the mechanics).
Eating is going to be the key to losing weight. I lost over 40lbs the other year.

But that doesn't mean you have to suffer. There are great foods that are also healthy. Take it slow, one meal at a time and find something you like eating that's healthier. Over time you'll learn new healthier meals that will replace what you've been doing.

And then do the same thing to add movement into your routine. Maybe you like walking or virtual reality games that make you move. Just add bits of movement into your routine over time. You'll start liking them!
I know you're being snarky here, but you're not entirely wrong.

I am a former fatty who has kept the weight off for over a decade by developing an intense hatred and disgust for being fat. It's really the only thing that works long-term.

Hate yourself enough. It works[1].

[1]: One exception to this: do NOT try this approach if you are prone to depressive spirals with positive feedback loops - it could have the opposite effect. This approach is only recommended for people with normal serotonin and mood.
Off-topic: Shouldn't it be something like "wat voor grote mezen"? How can "een" be the article of a plural?
> Anyone saying just eat less is full of shit. Sorry man. I went from 18st to 12st (and back up to 15st).

How can you say others are full of shit when you yourself have returned to being overweight?
Saddam's chemical weapons were manufactured and sold by USA firms. Again and again, we create more problems attempting to solve the problems we created in the first place. Most Americans don't realize this because their thoughts are provided by the war media.

Ukraine is not an exception.
this is common in ECMAScript. see coffeescript and arrow functions
> A $500 smartphone today would have cost tens of thousands of dollars only a few years ago, if it were even possible to manufacture then.

People love smartphones in inflation discussions. Look at all them new features!

I remember a time when no one had them and no one needed them to be a high-functioning, successful adult. So, they're a modern tax at any price point.
Do his patients also get access to his tax records and medical records?? How does cheating at running a marathon translate to professional candor? I cheat in single player computer games, is my body of professional work now under enhanced scrutiny for a completely unrelated activity?
Iron is also known to be essential for human health and intentionally added to many foods.

I can't tell, but maybe your comment was calling that out sarcastically.
It's a fair point and the powder is indeed a compromise, its reliable, stores well, I don't have to cook it and is fast. Raw egg would be great, except you would have to separate the egg whites as 2-4 yolks a smoothie every day could be problematic due to all things in the yolk.

I started with Soylent and that product really is a chemical mess. If I could just buy the brown rice/pea protein and flaxseed without all the vitamin additives it would be ideal and I do look for better powders every six months. To your point however, it can absolutely be improved and I am always looking for better ideas.
Yeah, I remember downloading this many years ago, but I know for Android and Windows you don't need it anymore.
Weight gain and loss is much more about biology that "just eating less". There are significant genetic and metabolic factors that contribute to each individuals' appetite and ability to control that appetite.

The stigma around weight gain has been reliant on this argument of overeating for so long, while the research has indicated that there's a lot going on behind the scenes that has to be considered.

"obesity is innate, that weight regulation is not governed by a uniform tally of “calories in–calories out,” and to quote Jules Hirsch, that “there is a biochemical or basic biological element in what it is that we call `willpower.'”5 The views of many Americans notwithstanding, weight is clearly far from being entirely within an individual's control. Genetic predispositions, in tandem with the development of food environments that facilitate overeating and built environments requiring minimal energy expenditure, may help explain why so many Americans are obese today."

https://www.nejm.org/doi/full/10.1056/nejmp1400613
this is exactly what i was looking for.

Plus i can use any web assembly language? My dreams of a rustacean based empire are about to be realized. Bye Bye productive work for the day.
Why is high leverage on an illiquid and non-diverse asset considered by so many to be a prudent move?
Apparently this is for when you decide not to create indexes etc on the data, presumably to save disk space or something.
The banners are inherently dark patterns.

Non-essential cookies could be enabled via a configuration menu opened by the user at a time of their choosing. But everybody knows no user is going to do that, particularly unprompted. So they create a pop-up banner to do both the prompting and the configuration.

And everybody knows most users, when they see a pop-up, are just looking for the sequence of button presses needed to remove the pop-up. So they make sure that that's "enable all cookies" because they know if it's "only enable essential cookies" vanishingly few users will enable non-essentials. Why would they?

If everything non-essential were required to be inactive by default I think the pop-ups would disappear entirely. There'd be no point to them because vanishingly few users would ever change the defaults.
You can configure what categories of tracking you will allow, and then there's custom rules for a wide range of CMPs to apply those preferences automatically.

See screenshot from config here: https://imgur.com/a/fHfuZ0O
Interesting that this comes from the maker of the that extends the workplace from 9 to 5 into 5 to 9.

My 2 cents…

1- Remote work will eventually reset Bay Area rates lower. Non-engineers will feel it first, then everyone else. If the office doesn’t matter, no need to pay up for non-scarce talent.

2 - People will become more willing to go back to the office in the next recession. If you have a choice, you can choose remote. If you don’t, you’ll accept the commute and office.

2.5 - This may drive a wedge between workers with kids and workers without.
When I try to sign up, it sends me to go.redirectingat.com which is blocked by my ad/tracking blocker.

How does that domain come into play here? What does it do?
That makes sense. Are RSUs parked in a legal sense (i.e., are they actually held in escrow from grant to vest) or is this just common practice?
There is no silver bullet. To lose weight, you only need to intake less energy than your body uses to function. When you have energy deficit, your body consumes energy stored in the batteries^Wfat. Thus, you lose weight. Exercising does not seriously increase the use of energy, so the biggest loss of weight comes from eating less. It is not too significant to follow the rules like 'no eating after 6', only the deficit matters.

Exercising helps because of you build muscle mass, you increase 'passive' energy consumption, because muscle tissue requires more energy than fat tissue.
Fun fact: Godot is used by Tesla for their car visualization (including autopilot) in both the mobile apps and the in-car displays.
To add to this, blocking the GDPR pop-ups is legally equivalent to declining all but the essential cookies. This is because GDPR establishes a default that users may not be tracked, and explicit, freely given, informed consent is an exception to that general rule. If the pop-up is ignored, blocked, or contains insufficient information, then the exception is not granted, and the site may not track you.

Granted, whether or not sites are following the law is another matter altogether.
For the application code you can write normal unit tests.

If you define you're infra as Terraform, which I would generally encourage - you can use terratest[0] as a test framework for the infrastructure itself.

I've come to really prefer managing infrastucture as a github repo full of terraform this way.

[0] https://terratest.gruntwork.io/
See also redshift, gammastep

https://github.com/jonls/redshift
https://gitlab.com/chinstrap/gammastep
Not only for viewing, but also for commenting. You know, people are sent to prison in Russia for liking FB posts. Or people are canceled for the same in other parts of the world.
The instructions on how it works are unclear. The card looks complicated. Maybe have a few examples of matching and not matching cards?
If you want a good overview of the P=NP problem that you can read, I found Scott Aaronson’s article very helpful:

https://www.scottaaronson.com/papers/pnp.pdf
Oh, so in the same way that the American government mentioned communist crimes to justify going around the world and killing millions of people?
I use this feature on my phone to let me know that it's too late to browse and I should go to sleep. Seeing this post on HN i realized i don't notice it turning on anymore for months, I doubt it's doing anything if all your apps support dark mode.
I'd actually quite like something that gave a subtle indication that "the work day is coming to a close"...

I've used f.lux for a long time, but it kicks in in the middle of the afternoon in winter and probably about bedtime in summer!
All of the factors you list happen mostly before retirement age, yet even the life expectancy at age 65 is three years higher for women than men (86 years vs 83 years in the US pre-Covid). That suggests biological differences rather than socially-derived ones (though it doesn't prove anything, one could make a case of body degradation accruing pre-retirement).
I like how you didn't provide even a single one but instead left some useless ad hominem and downvote. Sounds pretty rude to me.
This isn't some guy who is faking his way into the middle of the pack, he was accepting record times. How can a community maintain fraudulent high water marks?
I'm developing an idea for a way to create better docs and explanatory tutorials for software projects. Still in early stages, but the general idea would be to let people post tutorials/explanations (quality would be maintained by some kind of upvote system) and link to other projects to build up a connected graph.

Key things that distinguish it from currently available docs would be:

- a focus on the motivations, design decisions, and trade-offs vs only describing the positive "selling points" of a project

- a focus on how different systems connect to each other and the outside world vs describing things as isolated entities (just knowing how something is called or what network listeners or event handlers it uses is a great way to get a foothold into understanding it)

- driven by specific examples vs generalisations & metaphors. The trade-off here is that specific examples inherently don't give the full conceptual picture or demonstrate the full flexibility of a project - but I think this is more than outweighed by people's ability to generalise from examples, and it's way easier to quickly understand a few specific examples than to grasp a concept/metaphor that's general enough to cover all use cases.

More details here: https://gist.github.com/gushogg-blake/b1eb767821f10a58daac0d...

We would be aiming to apply for YC Winter 2023. Email is in my bio, let me know if you are interested!

Gus
I don't have a leaning. I also don't care if it was their position.

If you trust your government, no matter where you live, then you're a fool.

Period.

The fact that there's assholes out there who abuse this fact for an attempt to make things even worse isn't my problem. The fact that there's people like you, who draw a connection, is just as bad.

I'm not from the US. This horrendously broken logic, where you associate people with each other based on their thoughts, thus basically destroying ideas, isn't mine.
> Regular barbell/dumbbell sets through out the day can help with this too, especially if you're not able to walk that much.

Man, how have I never thought about this. Been working from home so long I could easily crank up a set every hour
This is a giant corporation and calling this censorship isn't quite correct as that corporation can choose what they produce whether it's what the people they pay as employees want or not. I tend to attribute this more to economics and publicity - if the job of the corporation is to maximize value for shareholders, it's entirely possible that they've determined that angering one side provides better profits than angering the other side. If making only LBGTQ+ movies earned them more money is that what they'd do?

"Never attribute to malice that which can be adequately explained by greed"

Edit: Now that I reread the article, it strikes me that the fact that Disney has LGBTQ+ employees might strengthen my theory.
What happens when a Linux process goes to sleep
I noticed similar observations. But I ascribe it to an increase of available mental energy which I unlearned to handle. Eating has a calming and sedating effect. Unhappy people like to eat much for that reason. It helps you sticking in your comfort zone and daily routine. If that sort of self-medication falls away I start to notice how that comfort zone is more like a cage and many rituals just voluntary chains. My mind then starts to fight back - in a clumsy and somewhat childish way, though, as I can't handle that little rage stirring up inside of me.
I have done the same for over 3 years now and I have had fantastic results in every way. I spend far less time making messes in the kitchen and cleaning them. I spend less on food, I have more energy.

But I had a death in the family recently, and I gained almost 10 pounds in a few months.

But it doesn't matter because I am already starting to shed them again. This is the key most people don't understand about IF, that you get to keep this skill even when things go wrong, it's easy to right the ship after you have a problem.

Also, I don't want to pig out anymore (like I did before doing IF) and if I feel like eating extra dessert, have steak all week (or whatever), I can for the rest of my life without any issues.
Monetary inflation is a nominal phenomenon. It's not the returns to investment that are changing (that is determined by the free market) it's just the returns to holding cash. It's the measuring stick for value that is changing.

You can still save and get real market returns through owning real private assets like stocks.
Amb. Burns cable: NYET Means NYET: Russia's NATO Enlargement Redlines (2008)
One might hope that consent would be the defining feature, but that's not how citizenship currently works. People become accidental citizens all the time, and the process for undoing the harm that causes is often lengthy and expensive.
I have been into fitness and bodybuilding for 20 years, and I cannot emphasis how true this is. Also not all exercise is equal in that walking isn't a good example of exercise. Humans are extremely efficient at walking, so it is poor at raising your heart rate and doesn't provide any resistance.
He’s done a lot for mainstream interest in gerontology and longevity research but it’s pretty clear at this point that he’s financially tied to his position, there are multiple companies worth millions that develop products based on his labs research.

So he’d rather block everyone who tries to challenge him on Twitter and claim certainty on his podcast than be objective about the data.
>But did he deserve "the pressure, attention, emailing, even trolling" that he got? No, he did not.

cheating like this denies other participants fruits of their hard labor of many years, just flushes all their effort down the drain. Compare that to just having "the pressure, attention, emailing, even trolling".
Expected investment returns are already inflation-adjusted

https://www.csun.edu/~vcovrig/Asset_Aloc.pdf

Edit: I think your point still stands though. In situations where inflation is out of control or where you don't have access to stable investments, then spending your income as soon as you get it could be more rational than saving it.
Heads up. I did IF and low cal for most of covid. I lost weight but it really messed up my hormones. My SHBG rose thus lowering my free testosterone to the levels of a 90 year old.
Thank you for the prompt, I just did the same.
Houses here actually get support from the state for such heat pumps.

Unfortunately it doesn't help most of the citizens of Germany since most of them rent in cities and don't live in houses where they can decide and install easily.