skysight-inc/HackerNews huggingface dataset:
Join some kind of group, share your progress. Or share your intent/progress with your friends. That makes you feel more responsible and helps with motivation

Don't have snacks at home. Don't buy them at all.

Start home cooking if you are not doing already.

Track your progress, make a graph. It feels great to see that line going down. Track it even after you reach your goals so you don't bounce back.

Track what you eat, especially at the beginning. There are a lot of stuff that are very high in calories but people often have very little idea about them.

Exercise is a nice bonus but don't think you can out-exercise a bad diet.
4chan is a bastion of free speech in the same way that Somalia is a bastion of the free market. Being the only place in the world to do something "freely" means you mostly attract people that want to "freely" do all the things that other places have rules against.
Copper in Polish is "miedź". If it was borrowed from a foreign language they would use Latin not English (there's almost no English loandwords in Polish at the time) so it would be cuprum. Or they could use German - so Kupfer. In any case the second vowel would be "u".

So "Kopernik" name is probably related to the dill plant (koper).
What are you using to scrape listing data? afaik mls doesn't expose an api.
While I do know about those and they are indeed much more pythonic and cleaner, I often end up just using `lambda x: x[1]` instead of `import operator; operator.itemgetter(1)`. For sort, I'll also often do `sorted(mydict, key=mydict.get)` which is again not the most pythonic.

I just wish there were nicer ways to do these in the global namespace, but poluting builtins is probably not a great idea either. Maybe `slice.itemgetter` or `object.attrgetter`.
You are correct, but spotlight is a lot more ubiquitous than folks tend to give it credit for.

It powers the search in Finder's view of the filesystem, as well as "smart folder" filesystem filters. It powers search boxes in the Open/Save dialogs across every application. Every native app can choose to integrate its internal data model into Spotlight (via Core Spotlight), and use it to either provide in-app search or plug it's own data into the system-wide spotlight search...

Unfortunately, a lot of popular cross-platform apps (VS Code et al being obvious offenders) don't choose to provide spotlight integrations, so a lot of folks have never really been exposed to the full suite of capabilities
Find a way to get semaglutide.

It will have some effect by itself, and it will make all the rest of the good advice in this thread much easier - eating less, eating one time a day, eating better (less carbs, esp simple carbs), walking a lot, strength training.

I've been on it for a few months and it's been absolutely miraculous. Ask me again in 10 years what the long-term effect is.
That seems really dangerous because you are dramatically increasing your risk of malnutrition. If there is a nutrient that happens to be somewhat lacking in that one meal, there is nothing to make up for it.
I'm not clear from the article how having an onion address helps website operators who receive abusive traffic through Tor. Perhaps some of that abusive traffic will come in via the onion address instead, but presumably such an operator will want to continue serving their regular site to Tor exit nodes as well, so I don't see how it would actually mitigate anything, nor make the malicious traffic easier to segregate from valid traffic over Tor. What am I missing?
> This is counterbalanced by higher phishing risks

I would argue that this is the much bigger footgun for users. Just look at how much money darknet users are losing to the big industry of .onion phishing pages.
If the cans weren't lined (like other commenters remarked), the most the acid in the soda would do is dissolve a little bit of the aluminium - of course that's not necessarily healthy, but to get a hole in the can you'd need something much stronger. Despite what some urban legends claim, there is still a difference between Coca-Cola and hydrochloric acid...
It's true in the sense that developers are also allowed to not run ESLint. You can and should run it, but you don't need it to try out your code.
we also FINALLY got removeprefix() and removesuffix()! no more strange `string[:len(suffix)]`
Like my bank balance? If you have proof of that, I'd love to see it.
Pay for a personal trainer. Because you are paying them a non trivial amount of money, and they personally hold you accountable you are more likely to work out and take it seriously. And because getting winded doing simple exercise sucks, you will eat healthier and stick to your plan.

Losing weight is probably 85% about eating fewer calories. So eating less, making healthy choices for what you eat. Eat more vegetables, skip liquid calories is one way to address this without a big change. Also eating slower, drinking more water can help with eating less
No CPU, x86 or ARM, has broken through the 2K GeekBench benchmark.

The CPU that could do that would be innovative.
I lost around 10 kg in a few month by radically changing my food and sports habits.

- At breakfast I ate a fruit, some cereals and yogurts or milk.

- at lunch, eat a 1000gr plate of wholemeal pasta (I'm Italian) with whatever you want, expecially vegetables: i do pasta with sauce, with broccoli, with asparagus, with zucchini...

- at dinner, i divide my plate in three parts. First part is proteins and it can be a 100-120gr of chicken / salmon / tuna / cheese / eggs. Second part is 50gr of carboidrates and can be whole grain bread / pearl / barley / rice / cuscus. Third part is vegetables: no restrictions here: salad, tomatoes, zucchini, broccoli, spinach... whatever you can find.

- And now there's the sports part. I exercise almost every day (nowadays every 3 days I do a day of stop). Usually I do 30 mins of high cardio exercises. But I also practice tennis at an amateur level, even though I partecipate to local tournaments. So when I have tennis training or tennis match I do not do other sports that day.

Other things that really helped in getting motivated and on track:

- I use an italian app for fitness called FixFit. I am happy to say that their yearly subscription was a good deal. The diet explanation was in the app. They propose a track of exercises to you. Try as many fitness apps you can and choose the one you find more appropriate.

- I've got a friend that trains everyday. He plays football, but when he doesn't play, he does cardio exercises at home. We started during covid by whatsapp calling each other and doing exercises together. Whatsapp call on mobile and training video on chromecast. This is a huge motivation even for the days you can't find any will!

After a year of this crazy workout and diet regime, I can finally see my abs.
The developer just needs to have good systems thinking. Anybody who disagrees with that is a goals thinker.
As always there's no one answer because "it depends".

One anecdote, I'm currently building a bit, complicated (in terms of domain logic, it's just a CRUD app; rest api, database, xml file writing) Go app, which has a very simple visibility system; any identifier that starts with a Capital letter is public, anything with a lower case is (package) private. There's some more details if you call a folder `internal`, but that's for libraries.

Anyway, one of my packages, `xml`, has two or three public functions; input is a domain model, output is a (byte array containing) an XML document. Simple and straightforward.

But internally, what is included in the XML depends on a ton of business related rules; if this field is this value, that tag should not be written; if that field is set to that value, this tag should be written but emptied out; if this field is this domain struct value, it should be written as this string. That kinda logic, times twenty.

I can test it using the public API just fine, it just makes the unit tests very... voluminous; for every module, times every edge case, I'd need to create a full domain object and a full expected XML module. That's over 50 LOC per test. This package currently has >200 test cases.

I decided to test private methods. Each private method has a table test containing each module's particulars and edge cases. It makes more sense in my head, it's faster to execute, etc.

Especially now that I work in Go, I'm more and more Aware that code is not so much about code volume or cleverness, but it's about managing complexity. I'm building an application that will juggle >100 domain entities with dozens of fields each, and I have to write it in such a way that I - and hopeful future maintainers - can manage this complexity. If that involves testing private methods, so be it. It doesn't feel bad, and I'm very confident that once this logic is written, it'll remain mostly untouched for the next decade.
Most of these comments can not be considered "weird" in the slightest! Read and answer the question people!!

Here's a weird tip. Find a mountain and have a picnic on the top of it for your meals. It's ok to drive there. If there are no mountains, find a cave or hole in the ground and use that instead. Don't use artificial heating or light sources in this location

Will it work for you? You can only be the judge of that.
The article you linked talks mostly about BPA, but the resin only contains it...
The spin they put on this is incredible. Doesn't talk about all his disqualifications and that the Marathon declared his times objectively impossible. Guy cheats like crazy, crazy bad, objectively. The article puts a different spin on it but it was objective, not accused of cheating, cheater. Oh, oh, but he's a doctor. Doctor's don't cheat, they're super honest, the community, gives away money, good person good person!

They don't even do that much to get at him, they just ask him to prove it. I don't see it as harassment. He put himself in the spotlight when he ran those crazy times. Keep in mind, if this guy actually had actually run even one of his times for real, it would have been an opportunity to challenge the best. Just run one more marathon, or not even, just 5K at that same speed. A chance at the bigtime!

This happened with the Wright Brothers, the press actually did harass them in that case, but everyone said they were "Flyers or Liars". It was an opportunity! Well the Wright Brothers were Flyers. Frank Meza was a liar. And when the Wright Brothers did fly in front of all those journalists they became the most famous people in the world!

Meza had so many opportunities to admit he cheated.

And he had the choice (obviously not but hypothetically) of running like he said he did! They gave him that out!

Nobody looks at the people he cheated, he didn't cheat the marathon, he cheated other runners, real people came in one slot later, there was a real 70-74 year old who actually had merit that could have come in first and made the news, except for Frank Meza. It's just not the same to be declared a winner after the fact, by disqualification especially if the cheater never admits it. And runners just hate the cheaters, this is so much worse than steroids, teleporters ruin the sport on another level. And never admits it, with so much proof! Like he tried running even half as fast as he said he did and he ends up cardiac problems!

Headline should say "Marathon Cheater Frank Meza Kills Himself to Avoid Admitting It".

There's life after death. In a parallel universe, he respawned in like a psych ward (typically) and it's twice as bad, I guess they treat him better in the ward because he's a doctor but he still lives his life out in shame as a fraud. Probably then his life really does fall apart, people going through everything he's done with a fine-toothed comb, and find all sorts of stuff. Nobody cheats exclusively in the cases they're caught.

He just spent his whole life asking people to kiss up to him, well where he respawned I can tell you there is absolutely none of that.
Right. People have had their lives and reputations blown up for all sorts of reasons, meanwhile this guy cheated to run

>the fastest marathon ever recorded for someone in his age group of 70 to 74

A bit ridiculous then to say people were attacking him for no reason, or his daughter not understanding why anyone cared.
Dude was literally claiming to be the world marathon champion in his age group while cheating for years.
If RAM is your bottleneck, then you will still have the same problem. Apple still ships 8GB machines.
Chrome's entire reason for existing is that Google wants control over the client, so they can control the capabilities of the web. If they are snooping on the data of webpages or what you type, they will lose that. Also the fact that millions of eyeballs are on it, including security researchers who would be more than happy to report it.
Of all the new features I think `class` is the one I've seen least adoption of.
Not that I've read a huge amount of JS.

There are some cases where it can be nice, but often it feels like a somewhat unnatural bolt-on to the language. I guess OO isn't that widely used in JS anyway.

Stuff like nullish coalescing and spread operators however... those things are great - they can save a lot of code.
> (compared to Unreal)

Well, I don't think a lot of people is going to dispute that ;]
Here is my trick, which is a way to balance your diet.

Each of your meals should contain 1/3 of cereals, 1/3 of proteins and 1/3 of vegetables.

Try to avoid sugar and red meat, and you'll lose weight without effort.
I'll vouch for that when it comes to beer. It's not just the packaging itself though, but also the experience. Plus, when you drink from a can directly, your lips will touch the outside / top aluminium, which will affect the flavor and experience - subtly, but it's there.

I prefer glass bottles for my beers.
Anyone saying just eat less is full of shit. Sorry man.
I went from 18st to 12st (and back up to 15st).

I found a few key things.

1. Decide you want to loose weight.

2. Up your plain flat water intake... Like a ton. Your body will get used to it after a day or two and you'll start feeling naturally thirsty. You notice all these skinny fit people are always drinking? That's plain water they are drinking.
Seriously if your diet is crap at the moment if you start just drinking loads of water you will loose like half a stone cause you will stop retaining water. How to know how much to drink? I guess for the first 3 days go cold turkey on pop, coffee, literally any liquid other than plain water. If you keep a bottle with you all the time you will naturally just drink a ton.

You will piss like a racehorse of course but with good comes bad.

3. Get a food diary and write down everything that goes in your mouth. I tell you this alone will blow your mind and get you thinking a bit differently.

Try these to get you started.

Best of luck, fuck the begrudgers and let me know if this helps a bit and if you want more chats about it
What I want badly is a FriXion fountain pen. I would pay a really lot for such.
Have some diluted vinegar after meals. It's the world's original "miracle tonic", with anecdotes dating back to antiquity, and mostly acts to facilitate digestion, which can smooth out indignities within your actual diet and therefore leave you feeling better rested and fed with lower intake. You don't need to take vinegar at full strength to see benefit, so I often have it with bubbly water.

(If you actually search around the web for the topic of vinegar you will discover the apple cider vinegar cult. This is a thing that got started in the 50s from a book author who spun his marketing as old-timey folklore. ACV is not significantly different from other vinegars, though some may prefer the taste.)
Thanks for your comment, I think it's insightful. Serious question: why do you write years with five digits?
Then you should also worry about plastic water bottles...
An example which comes to mind is how Racket handles tests: they're generally written in "sub-modules" of whatever they're testing, and hence they have access to "private" (AKA un-exported) definitions.

https://blog.racket-lang.org/2012/06/submodules.html

Framing discussions around "classes and methods" is a rather narrow-minded view, which ignores lots of potential solutions.
I got one. I ended up accidentally losing 25lbs when I did this, but ymmv.

Basically, about 6 years ago, I got into freediving while on vacation. Once I got back to the real world, I got obsessed with training to hold my breath for longer. So I started doing breathing exercises just after I woke up and just before I went to bed. Each session took 15-25 min and was done lying down to minimize the danger from passing out. I used an iOS app called Apnea Trainer (no affiliation besides satisfied user), but there should be a ton of apps available on both app stores if you search ‘apnea’. You can also read a ton of information (including safety tips) by googling ‘CO2 tables’ and/or ‘O2 tables’.

After dropping the 25lbs in my first month of training, I started looking into why that might be and, from what I’ve found, training your body for longer breath holds can increase resting metabolic rate.
> do some exercise

Don't underestimate walking! And stairs!
Show HN: Throwaway – single-use, 1-1, e2e encrypted messaging (in-browser)
Hi HN!

Keen to get your thoughts on an encrypted messaging app I've made:

throwaway is an in-browser messaging app. It's specifically for single-use, one-to-one, e2e encrypted messaging. This means your messages are encrypted in your browser, and they are only decrypted when they reach your recipients browser. The messages disappear permanently once both browser windows have closed. You can never recover a throwaway chat; once the window is closed, it's gone forever.

throwaway uses the SubtleCrypto Web API to create a public/private key pair every time it is opened/refreshed (ECDH P-521). You can invite a recipient to start a chat using the invite link; automatically generated when you land on the page. Once a recipient has clicked on the invite link, throwaway generates them a key pair too. The public keys are shared so each user can derive symmetric keys (AES-GCM 256, forward secrecy) to encrypt messages that can only be decrypted by their recipients symmetric key. The private keys and derived symmetric keys never leave the browser window they were created in.

All ideas/thoughts/critiques welcome, thanks!
Eat the same, eat whatever you crave. Eat junk if you insist but give an occasional serving of fruits and/or vegetables a chance.

Don't ever read the ingredients unless you're deathly allergic to something.

Alcohol is poison, but as long as you recognize that, proceed however the hell you want.

Get a chair that makes you uncomfortable. Sit up straight, move around, take a walk around the block, try moving to music (dancing) whatever you want in private. You'll sleep better, think better, live better as a result. The weight will fall into the range you are ultimately comfortable with. Don't fight yourself.

Water is wonderful, all-the-time.
Pure oxygen will get you incredibly high and fuck with your body.

Drink cold water and try to keep your passive blood sugar low. If you eat something sweet drink a lot of water at the same time. Reduce the amount of oils that you consume. Fill up on vegetables.

Cardio exercise is a really effective way to exhale carbon.
Archive https://archive.ph/oNi3E
I agree -- also, in my (limited) experience, keeping a modern browser up to date security-wise is a major undertaking. They talk about forking WebKit -- how well are they doing at keeping that fork up to date, when 0-days appear worryingly often in modern browsers?
If you're looking for something to drink nearly 0 calories try lemon water. Just buy a bunch of lemons, and cut and squeeze them into some cool water when you want a drink. Simple, cheap and refreshing. I drink gallons of the stuff. It helped me to cut down my soda consumption and it's way better for quenching your thirst
And it even seems to provide less information than the website.

Yesterday I was looking really hard on who exactly would be the seller for an item. Did not find that information on the app, while it's easily findable in the web version.

Or do I have some quirky version of the app due to some A/B testing?
Bruh just don't inhale the smoke.

Wouldn't have been that much of an issue for early humans anyway given their limited life expectancy.
Nice weird tip, bravo for answering the question!
Are they committed to not snooping, or just to trying to not do something too outrageous or obvious with the data they gather?
Water is technically negative calories. Your body has to heat it
Meanwhile, plenty of classical regulated fields have failures that kill people daily, regardless of regulation. Just open the newspaper for crashing airplanes, derailing trains, combusting cars, collapsing buildings and bridges, just to name the most spectacular ones.
At least they have a response. Living in the UK I get the impression the govt is trying to do as little as possible.
Looks like they only came up with solid evidence after he died. Harrasment based on mere suspicion was unfair. Poor guy had a character flaw.

Did they ever run along to actually verify? Nah, too lazy, just blame him and see what happens.
It’s completely settled. Greenwald is now an always-contrarian useful idiot to whoever wants to take down the western liberal order.

All his points are “US Democrats bad.” They are indistinguishable from Russian state propaganda. The dude is signal boosting Tucker Carlson while writing a book on “Securing Democracy” ffs (Tucker has agreed with self-proclaimed Monarchist/Dictatorship lover Mencius Moldbug on his show).

This Nuland-Rubio recording doesn’t imply anything like what he says it does. If he truly believes this, he has lost touch with reality. Probably by consuming internet media 24/7.
> Copper toxicity on the other hand, when you cook acidic foods for too long in a copper pan, that's a distinct possibility.

I visited a castle once (modern ish) that used to be owned by rich folk who hosted lavish parties, they had a fully equipped French style kitchen, including all copper pans. The tour guide said the cleanup was terrible, especially for things like tomatoes or eggs.
Its a fair argument. I think incorrect tor setup is a bigger risk for things like securedrop leaker stuff, where it is likely the first and only time the user will use TOR.
Show HN: Real-Time Collaborative VTK Visualization with JupyterLab
That's not true. Their employer also confirmed it to a USA Today journalist.

https://news.yahoo.com/respected-developer-died-suicide-expe...
I've had the exact opposite experience. Days I felt like I did well on and had, if counted, a lot less calories were upticks, and days where I indulged were downticks. Sometimes very large ones too. Particularly very fatty meals would see me drop weight.

Ultimately the treatment for what probably got me to gain so much weight helped me twice over: ADHD medication. Not only does not lessen your constant need for dopamine (and lots of bad foods are good dopamine bumps), but it also supresses your appetite. I of course wouldn't recommend it if you do not have ADHD, but the additional side effect is appreciated none the less.
You can use GJK for 2D also. You don't need to compute the bounding boxes as GJK will automatically "convexify" the body although if you "precompute" the bounding boxes it will be better. You just need to compute the support function in an arbitrary direction.

If you want to use bounding boxes then you can do it faster using the separating axis theorem.
Haskell is an example of actually different semantics, but in the end what non-strictness mainly gets you is space leaks and the mistaken concept that Haskell programs are bug-free because it has ADTs[1].

I think I'd recommend learning Mercury. Unification is cooler than even lazy evaluation.

[1] recent example: https://www.costarastrology.com/why-haskell/