skysight-inc/HackerNews huggingface dataset:
I address this point in the post but I'll summarise here: Your argument is equally applicable to higher levels of encapsulation. If you have a class which is private to a package, then code coverage tells you nothing about whether that class is actually used in your package's public API. If you have a package which is private to some parent package, you're in the same situation. You can follow this all the way up to the binary output of an application and say that unless you're doing end-to-end tests which capture user keystrokes and mouse clicks, you're breaking encapsulation (you can make the same argument for a large library).

We choose not to run only end-to-end tests because it's expensive both in terms of writing the tests and running them. We choose not to run only unit tests at the lowest possible form of encapsulation because they're more likely to need rewriting when we refactor. Instead we pick out abstractions at various levels of encapsulation that warrant testing in isolation. The decision on whether to test a private method or a private class or a private package differs only in degree, not in kind.

To convince those who disagree with you, you'll need to make a case for why private methods should in fact be held to a different standard than other levels of encapsulation. I'm open to being persuaded on this point but I can't think of an argument that convinces me.
Wouldn't absorbing 0.06% of the incoming solar energy have a significant impact on the planet's ecosystems, either by the absorbed energy by the massive production of PV and storage required for that end ?

I think that your statement does not rebutt the parent comment : producing the energy required to sustain our modern lifestyle and population count will have significant impacts on the ecosystems, whatever the source we use for that energy.
I would love to get this script! I am doing photon counting with an LED readout; this would help me enormously.
One idea is weigh by reported actual expenses in each category you're measuring. But that way, you're just measuring the trend in expenses, which should be proportional to GDP per capita.

Edit: no, not all GDP is consumer spending (there is also investment, government expenses, and net exports).

Here is what I think is a better CPI:

Personal consumption divided by population, scaled to compare with the official CPI.
https://fred.stlouisfed.org/graph/?g=MMdx

Growth rates compared:
https://fred.stlouisfed.org/graph/?g=MMeV
Has anybody here experienced more impulsive behaviour as a result of intermittent fasting? More internal anger, being rude or impatient with your peers or children much more often, etc. I was on IF for 2-3 years, and while I gained a lot from the mental clarity, I also admit turning into an uneasy person within.

A quick google provided a 2020 paper that tackles this same question: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7381251/
Do you know how many calories you burn? Do you actually know how many calories are in your food?

I have a metabolic cart, and the answer surprises me sometimes on the former - just standing at my desk all day I burn >3300kcal. I actually went to talk to the guy in the Casey Neistat video about food labels, and almost bought a bomb calorimeter. Calorie counting, while not useless, is not very helpful.

https://youtu.be/hE2lna5Wxuo
> You don't have to go full ham
also a good advice
Sweet. Looks like these may make working in a data center dangerous, unless getting hit by masses of flying particles of data is found to be harmless.
You're not alone. This is why the French fined Google EOR 150M in January* . NOYB have started a second round of complaints this month so expect more.

* https://www.cnil.fr/en/cookies-google-fined-150-million-euro...
Virgin Hyperloop Won’t Provide Passenger Travel. Here’s Why That Matters
I find testing everything through public methods can lead to excessive mocking, which ties you even more to the implementation.
The odds that a hand or rat has touched the top of a can you just pulled out of a box is pretty slim
The 2k deaths per day are vast majority unvaccinated, republican governors in those states are partly directly responsible for the low vaccination rates by participating in this madness of misinformation and partisanship.
These people should not be dying at this point if it were not for this propaganda.
Nearly everyone always says to also combine a diet with exercise, but there's been a shift recently toward noticing that exercise energy budgets largely come out of the rest of your day for people who aren't primarily athletes[0]. Additionally, for many people, doing a little exercise on top of the normal day makes one ravenous, although I get that some people report a decrease in appetite as you did.

Google[1] finds a link that says that it takes 80 minutes to walk 8K steps at an average pace. Overweight people probably walk slower as a rule, but let's assume it takes an hour of just walking a day, if we take away whatever walking people are doing from the bedroom to the office to the kitchen to the couch. Even leaving aside the gym trip (and who among us doesn't have multiple uncancellable gym memberships? Oh, just me? :/ ), that's quite a time investment.

[0] https://www.science.org/content/article/scientist-busts-myth...
[1] https://www.google.com/search?q=how+long+does+it+take+to+wal...
"I don't care about cookies" accepts everything and you can't change its behavior. This extension allows you to reject them all by default.
Indeed, there is hope! And note how fast the renewables portion is growing, we're looking at a fairly good projection here: 1, 2, maybe 3 decades ahead of us it should get really substantial. The biggest problem is the EROEI, which is a lot higher for the clean stuff, though still improving.
If this worked, then you'd still need it to be better than using the money expended to offset other other fossil carbon usage, one means of which could be converting gasoline using processes to use electricity directly.

As a result, I don't think this can ever make logical sense under any circumstances, very similar to carbon capture attached to fossil fuel generators. It just doesn't pencil out, even in theory.

Basically, gasoline isn't a particularly good fuel unless society is letting you dump the pollution for free, in which case it still isn't particularly good, but some other sucker is paying the price for it. And that other sucker is often you.
From the article:

> "users are more likely from a cost perspective to build a system with one of the more affordable B660, H670, and H610 chipsets and pair that with DDR4 memory"
Well the carbonation is different for cans vs bottles, and also dependent on the bottling plant.
What Is System Center Virtual Machine Manager (Scvmm)
> hack your body

This seems a bit of a straw-man.

Almost nobody who's telling you to be more healthy will tell you to eat better without also telling you to exercise more.

Also, it's not "hack your body" it's actually "hack your brain" or, more specifically, hack hunger. That's also why there's so many different diets - everyone's different, and what works for one person won't work for another person. But there are some principles that seems to work for large subgroups of the population, e.g. intermittent fasting / skipping breakfast, eating low-carb, eating more protein, etc.
You beat me to this!

https://www.bbc.co.uk/news/health-32749629

You can buy them in the west now (even on Amazon I think):

https://luckyironfish.com/
manager / maker

keep the two separate. half days assigned to shallow.
One thing that inflation does that is rarely talked about is how it affects time preference (long-term orientation) of the population as a whole. As inflation rises, low time-preference folks are punished, and high time-preference are rewarded. high-debt w/ little savings is smart, YOLOs are natural.

A 22 years old now that saved 10% of his salary toward an index fund with 4-5% expected returns over a decade is disadvantaged versus someone who just spending his money for material rewards now (in 7%+ inflation long-term environment.)

It infects everything in society and absolutely not some benign monetary problem that the markets will adjust too.

"Low time preference generations produce prosperity, which produces high time preference generations, who bring ruin, which produces low time preference generations."
I wish I could do this. :( I have a bum knee that kills most possible exercises.
You said that “evaluating a component when you don’t intend to use it” will do a bunch of things which React manifestly doesn’t do. I shared a link to some code you can run that demonstrates this. The question of whether or not some code gets executed is, as you said, knowable.

But you are, I think, retreating to a position that, because the JavaScript && operator shortcircuits (ie does not evaluate the second operand of the first operand is truthy) it is always a control flow - a point which I can sort of agree with, but which I think is just a weak position, since it doesn’t help us make decisions about what code is good or bad.

Because if we back up to the top of the thread the point being raised was that use of && for conditionals in react feels like using && to perform control flow, and that is idiomatically bad JS.

But you can’t have it both ways - if using && for control flow is bad and && is always a control flow operation then every use of it is bad. But if there are some times where && use is good, then there must be cases where using &&, even though it shortcircuits, does not count as using it for evil control flow.

But even in simple idiomatic JavaScript we rely on && shortcircuiting for good and valuable purposes like nullsafety:

if (person !== null && person.name === ‘foo’)

So is that using && for control flow, which is bad?

What about here?

return person && person.name;

Or

return person && `Name: ${person.name}`;

.. or even

return person && <Person name={person.name}/>

(Notice what I’m guarding against here is not against incorrect evaluation of the Person control - I’m guarding against incorrect evaluation of one of its parameters)

My position is, && shortcircuiting is a feature and you can use it as such, but if your code relies in a nonobvious way on the shortcircuiting behavior for correctness, then you are using && as a control flow tool, and you have made it brittle, harder to refactor, and harder to parse.

But if your code would still be correct even if JavaScript did not guarantee that it would not evaluate the second parameter if the first was truthy, then you’re not even relying on shortcircuiting, and using && is clean and valid.

And since JSX literals in react are really just shorthand for a special kind of object literal, and in general therefore it doesn’t matter if they are evaluated or not, I take the position that using them within JS && expressions is legitimate, and not an abuse of && to perform complex control flow.
In the long term, it's a good thing, it's killing the US monopoly on Internet services. American IT businesses are shooting themselves in the foot. Do they really think they are irreplaceable?

They deplatform, censor, shadowban whoever does not think like a 6 o 7 figures IT engineer in California. I hope some humility will grow over there. You can't live forever by ignoring the entire world.

I stopped using Mozilla products when they called for censorship, I will now search for a DDG alternative.
I looked at the picture in the article and still cant see it. The thing covered by the strap?
I would prefer not to have to do CC forever so maybe this will be the way to go once I reach maintenance phase.
Oh please. DHH was not cancelled. He was simply asked to share the keynote with other speakers.

> It's a shame that they try to divide the community with this move.

Yeah the guy who has managed to have 1/3 of his company walk out and several key rails core developers leaving after his blog post, but it is the organisers of a conference who wants to have different people doing a keynote who is dividing the community. Good logic.

> they just don't like the fact you're a male white rich guy that likes fast cars and has a wife with two kids.

ok dude.

> wokey wokey wokey.

Please go hang out on 4chan instead.
"rolling stable" is an oxymoron. There cannot be such thing as rolling and stable at the same time.
So, you have some guys that predict inflation for 30 years and are always wrong, after a global pandemic and an energetic crisis, inflation happen and they feel vindicate.

It has to be great to have a model that's never wrong because you just have to wait enough. Not very scientific but great.
A quote from a Slate Star Codex[1] post that I love:

"If someone points out to you that your pet theory of the universe is in disagreement with Maxwell’s equations — then so much the worse for Maxwell’s equations. If it is found to be contradicted by observation — well, these experimentalists do bungle things sometimes. But if your theory is found to be against…thermodynamics I can give you no hope; there is nothing for it but to collapse in deepest humiliation."

[1] https://slatestarcodex.com/2015/01/12/the-physics-diet/
Argentinian here. I agree with almost everything in this article. Except for

> high-inflation Argentina has almost no mortgage industry.

Real state is 100% dollarized since the late 70s [1]. It is not just about inflation because you can have adjusted interest rates [2]. We don't have mortgages because of the government currency exchange restrictions, and also our salaries didn't adjust as much as the inflation rates.

[1] https://www.lanacion.com.ar/propiedades/propiedades-cuando-s...
[2] https://www.argentina.gob.ar/como-acceder-un-credito-hipotec...
For deep work:

1) I use the self control app to block social media and other sites I go to by habit. It is actually super curious; I noticed that when I am trying to procrastinate I by pure habit go to twitter, etc. Making myself a little bored allows me to get entrenched in deep work. It also allows me to more consciously pursue hobbies that I want to pursue; e.g. working out, friends, learning new skill.

2) modified pomadoro technique -- I give myself a break every 50 minutes, and I keep track of the hours I work with a spread sheet. However, sometimes if I get into deep work/flow then I don't need the breaks and just continue.

3) give myself chocolate as a reward for getting something done -- it really pushes me to push through to an end of a certain part of a project

4) get a professional nemesis/frenemy. I have a lovely friend who I talk to every day/every other day who is super inspirational and super driven. Every time I talk to her, we both feel kind of egged on to do more work and I always walk away feeling excited about my research. I owe most of my career to this woman honestly.

5) Go to a place that is not home! All of this WFH time is awesome, however, is not good for my focus. I go to my university and sit with the grad students studying, and doing that is very focusing.

6) If you have to eat a frog, do it first. If I something really difficult to do, I try to do it first, even if its terrible or scary.

For shallow work:

1) I listen to good music or a podcast, and it makes this work super fun and relaxing.

2) For very very shallow work I put on a simple show in the background! That way its like a treat!

...however, you also have to make sure you are mentally well; these techniques will be limited unless you are in a good mental stat! anxiety or depression or ADHD etc will of course hinder you so much
The assumptions of 4-5% market returns and 7% inflation seem a bit suspect to me.
VMware Hot Add Memory and CPU: All You Need to Know
For a good chunk of the pandemic I used PlateJoy which did just this. You gave it preferences, and it told you what meals you were going to make that week and a consolidated shopping list.

I enjoyed it a lot, but eventually my life got too busy to cook that often and I was growing slightly tired of the recipes, plus they got acquired so I don't know what their future holds. But maybe you'd find them valuable?
The night-vision system on T-14 was the prominent holdup; Russia could not source it from France as desired. I wager there are other chip problems like your example.
Just about every disposable water bottle is PET, which is far down the list of dangerous plastics when it comes to leaching (to ignore for a moment microplastics).
As an anecdote, I’ve been happily somewhere between skinny and sufficiently toned (depending on how much I’m working out) my whole life, and I largely attribute that to the fact I hated my mother’s cooking growing up (sorry mom), so finishing my meals often didn’t happen. I got used to only eating until the hunger signals stopped, not until the full signals started.

Fast forward 20 years later, I almost never finish my meals at a restaurant. I take it home or let my friends finish it or just let them take it away; I’ve already paid for it, I don’t feel any kind of guilt. Especially after moving to the states, I realize that restaurants almost always give you way more food than necessary. I’m consistently blown away by friends who claim to be struggling to lose weight, yet will still get two beers, an app, and a main, and finish all of them. Just eat less!
That's sort of like having backdoor access to your internal network (similar to teredo). Others may use it to gain access to that network. If it's your home, that may be OK to you, but if it is an employer, you may want to obtain approval to do that and be sure all of your hidden services use keys or strong passwords for access.
The HN crowd should be perfect candidates for IF

Get yourself a very plain coworking space office, a big water container, and work on your passion projects or your startup.

Load up on water during the day. You should be going to the bathroom at least once every 2 hours.

If you are busy and not surrounded by coworkers asking for lunchtime it will be 6'o clock before long.

No coffee. Dont need it
The word you are looking for is not gnostic but "dog whistle"
My limited observations on the non IT side of execution was an absolute lack of care about the actual goals.

- Companies would just cash in the fat check, produce "something" close enough to spec and leave profit over value

- Customer higher rank has no clue about anything but paid 500M for something, so it has to be good, and anything not working is blamed on employees being stupid.

- Even though agile is overblown at times, big projects inability to react to issues on the ground was a daily cause of pain for everybody in the building. Stupid bugs, random crashes, absurd ergonomics.. (to the point that pen and paper felt like sci-fi level of performance, you could even make a logistical assessment of the innate nature of handwritten document speed vs bogus IT stack)

ps: thanks for the link. If you know other papers, sites about this, shoot
People that maintain a low weight throughout life and eat 3 meals a day probably eat smaller meals than your 2 meals.
Kcal[0] is my own project in this space. It’s still very rough (I don’t necessarily recommend using it, hah) but my spouse and I have been using it for a year or so now and it’s invaluable for our specific use case of a mostly plant-based diet but high protein needs because we are both very active. It’s a weird little niche (:

[0] https://github.com/kcal-app/kcal
Not just with IF, but also low/no carbohydrate diets because the lack of free glucose results in the release of cortisol and adrenaline, so it makes sense. I did low carb for a few months - at first it caused some issues but eventually I seemed to have adapted.
Firefox? Konqueror seems to still support the KHTML renderer - not sure how well that works though. Opera moved to webkit. I used to use lynx/links on the terminal.
Intermittent fasting. A.K.A skipping breakfast
A consistent standard library sounds amazing. Can't remember ever using one. Presumably a feature of C#, which may have benefited from the prior mistakes/evolution of c++ and java.
Topomax has a lot of insane side effects. Bad reputation.

Trend seems to be it either works great at fixing migraines or makes you really stupid plus weird issues.

Doctors of course want you try it for six months before next medication. Repeat every six months for multiple years.
I think it depends on the difficulty of the new language to learn. Right tutorials for you, joining programming communities and find learning partners, using helpful programming tools will solve many issues and encourage your interests to overcome all learning obstacles.
Yeah but providing an opt-out toggle for "legitimate interest" is a good indicator that the interest is actually not legitimate enough to require manual opt-out. And in practice I've seen it mostly used as a gotcha to make it harder to opt out of every single advertising partner individually.

"But we want to show you ads to finance our website and our advertising partners want to abuse your privacy" is not a legitimate interest.
Investing time your health is a very worthwhile investment.
Citation needed!

Any timing correlation attack carried on against entry and exit nodes is independent from the number of hops.
Yes, "hangry". I try to be aware of it now and then it's usually fine, and if it isn't I eat a small meal (some fruit or a protein bar)
High-level Talks between Russia and Ukraine end with no-breakthrough
Why not just use defaultdict?
Blogger to Markdown Script
The advent of declarative package management (poetry et al.) is a significant change. Not that hard to get working with, but definitely a big departure from previous practices.
I've got a 'flameware' saucepan and it works great. Very light and visually interesting, but I put it away for special because I'm always worried I'll break it. The strap and clip handle is fine on my pan but it does seem like it needs to be tightened up every so often,so I could see it being a common point of failure.
That's not very surprising, you're weaning/rehabing from food, a lot of things can happen in your metabolism.

Not to mention serotonin is made in the gut, the brain burns a lot of calories too.

Also, most women I know are just uneasy to be with when they're hungry.
Tracking for Ad fraud is one example where they claim legitimate interest, which is BS IMV
100 gr. Sorry for the exceding zero!
Yes, my friend worked in a UK based HFT firm which employed Haskell. Don't remember the name and I don't know if it's ok if I disclosed it if I did.
Show HN: Command and library to get software version numbers from the web
In my work, I've often found myself needing to get lists of available versions of software (or the latest version) in scripts or pipelines. I decided to write a dedicated tool for this. Enjoy!
Consistency is the #1 part.

Do whatever it takes to turn any form of exercise into a game, challenge, or fun.

Going strict keto (<20g net carbs a day) was fun for me too and allowed me to have a single metric to focus on reducing.

I lost 40+ lbs over 2 years due to a combo of fun outdoor activities, changing things up when I got bored, and finding others who would always show up which guilted me into being consistent.

Intermittent fasting became easy and enjoyable and gave me the perfect excuse not to eat shitty airplane/airport food and as a reward, I'd get a nice dinner or meal instead.
>Now the first line ends like this which is still a perfectly valid gif. How might that look?

>Amazing! Stupendous! Wonderful! As of the time of this writing, it’s just a perfectly black square. And this is the case in every single renderer I’ve tried. Gimp, Chrome, Firefox, Preview, gifiddle, you name it.

Funnily enough in my browser (Firefox on Ubuntu) it's transparent, but it's level of transparency I have never seen before - I can see the window below.
Uber isn’t happy drivers found a hack to dodge commission fees in South Africa