skysight-inc/HackerNews huggingface dataset:
> what they have in store for [...] programmers

They just (November) released the best MacBook Pro since 2015.

Original keyboard back. Escape key back. Utility keys back. Mag-Safe back. HDMI back. SD card back. Headphone jack back. And all with a brand new M1 Pro chip.
It's probably not "weird" anymore but "time restricted eating" works. Only consume calories in a defined window of time each day. Make sure that window is at most 8 hours. When outside the window do not consume any calories; no sugar or honey in your tea; no cream in your coffee. It does take some getting use to. Maybe start with 12 hour window, then 10 then 8 then even smaller if you like. Try it you'll be surprised.
I think there are definite categories. They seem to range from legitimate uses of downvoting such as against obvious trolls, facetious argumentation, etc. to enforcement of ideological tyranny. It's always interesting to analyze.
Hijacking ignored type annotations for other features
Both cxx and pyo3 are useful, and there's no need for them to compete. cxx is used in production at massive scale.
For the Saab lovers I present The Saab Suite: https://www.youtube.com/watch?v=GwpzhiNurI0

I personally grew up with Volvo 240's (1 GL and 2 Turbos) and bought a Saab 9000 for college. I thought Saabs were one of the best used cars at the time because they lost their value so quickly off the lot and that value just continued to plummet every year.

Not sure I'd personally point to Saab when it comes to design so much as cult appeal. I've definitely noticed the old Swedish cars are starting to surge in price as they become nostalia items though.
Just checking that you are aware that Putin has been murdering fleeing civilians, targeting health facilities including a maternity ward, and using dumb bombs to level entire cities? At what point does this cross into genocide for you?

Edit: People on this thread seem very confused as to what the word 'genocide' means. Here is the definition from un.org.

In the present Convention, genocide means any of the following acts committed with intent to destroy, in whole or in part, a national, ethnical, racial or religious group, as such:

- Killing members of the group;

- Causing serious bodily or mental harm to members of the group;

- Deliberately inflicting on the group conditions of life calculated to bring about its physical destruction in whole or in part;

- Imposing measures intended to prevent births within the group;

- Forcibly transferring children of the group to another group

https://www.un.org/en/genocideprevention/genocide.shtml
Obviously, he wants a direct engagement with NATO. So that he can spread the nuclear terror on the whole world and at the same time cement his totalitarian power in Russia.
Do you think that the reason say Amazon is writing firecracker in Rust is because they just use whatever language is popular in HN and not because it's a good choice?
OP called him Putler as a melding of Hitler and Putin
On a NVMe or SATA SSD?
Yeah I'm not an expert on this conflict, but have been following it closely enough. I'm pretty confused as to why people are invoking genocide, because I haven't seen any evidence to indicate that's what is happening.

There was the bombing of the children's hospital, which may turn out to be a war crime, but I don't see how anyone can know whether it was intentional. And if collateral civilian deaths are equated with genocide, then what should we call the US wars in the middle east?
Teslas are very minimalistic I think. That's also why I don't find them interesting, e.g. a BMW iX is much more controversial (maybe uglier?).
Well... yeah, I don't actually advocate for another type system, but more that if we have any type system at all for JavaScript then asking why we're going with one that overloads the colon token when it's already been sufficiently overloaded in the first place. Typescript already is what it is, and I think we should just stick with it, but if we are going to get yet another type annotation system then perhaps it might as well not be as novel as Typescript if there's a benefit.
I've been thinking about writing a kids book with Red and Green armies waging a battle in their tummy and feeding green things helps the good guys win. Too many red (fats, sugars, simple carbs) arm the baddies. Maybe a child psychiatrist would tell me this is a horrible idea, so I haven't asked any. :)
There's a lot of diversity in automobile design if you look outside of the top selling segments. We don't need Saab, we need a model that allows large auto manufacturers to make smaller runs of more unique cars without massive "retooling".
The lifestyle change is also the point isn't it. Anything else is either "product" research or selfdeception.

I mean if youre willing to walk around with an oxygen mask allday and aren't bothered about possible health consequences, there is also plastic surgery.
That episode is from November 27, 1994. That Newsroom episode aired July 28, 2013. Less Simpsons parodying Newsroom and more them predicting the future [1].

[1] https://en.wikipedia.org/wiki/Bart_to_the_Future
I'd argue that even without the memory safety and outstanding tooling, Rust (at least no-allocator, embedded Rust) maps 1:1 with C and C++ with nicer syntax.

Some examples:

- No DRY between headers and source files
- Arrays are explicitly described as such in type signatures, ie not as pointers to the type they contain
- No pre-processor
- Cleaner, more explicit pattern matching syntax
- No prefixing all constants/structs/enums with the module name
- A struct or enum is declared once, with its name; ie no _t, _e, _s suffix and name duplication
- Type inference
- Explicit handling of enum variants
Another fun fact, wow.

That makes expanding its capabilities much more accessible I suppose. If someone goes to the trouble of adding some new functionality, they can use that same knowledge/stack to add a handy UI to the functionality so it's more usable by everyone.
You asked for weird so I’ll give you weird: when I fill my pantry and fridge from stuff from Trader Joe’s, I lose weight. I’m not sure why, and it’s hardly backed by science, but it’s true for me.
Don't forget about all the low effort extremely severe vulns that keep popping up.
This is just a wrapper script that does something similar to `docker run -v $(pwd):$(pwd)`. I mean, I could create a script that simply adds a bash alias to another program like `alias ls="ls -la"`, but is it really that useful to announce it and act like it is unique, compared to something like toolbox or bubblewrap or firejail?
We have a lot fewer accountants than we did before however (per company)
haha, this post was like 2 posts down from this one...
...
A beginner's guide to intermittent fasting (2012) (jamesclear.com)
...
I think this is a strong counterpoint to the "don't test your abstract, implementation-detail machines" philosophy. If you have decomposed a system into iterative passes with pre-conditions and post-conditions it can be hard to ensure any given edge case deep in the process - hence more likely you want to exhaustively test a "private" piece
Yes. I do the same thing with my LED houselights, making them yellow and then orange in the evening. When I set them to white temporarily and then forget to change them back I've noticed it seems to increase my alertness/delay drowsiness.

It's most likely just that I've conditioned myself, but in practice I don't really care about the cause. I only care that it helps me wind down in the evening.
Get Invisalign. It’s dentist mandated intermittent fasting.
Since you specifically asked for weird tips (not necessarily smart or healthy): consider smoking cigarettes. They do a pretty remarkable job at both suppressing hunger and substituting for a snack. You don't need to chain-smoke, something like 5 per day might be enough.

I'll take more shit for saying this, but I think the negative health effects of smoking are quite minimal, for most people, for the first 20 years or so, and are probably less than the health effects of obesity. But you still need to recognize that you can't do this for life, and quitting, whenever the time is right, will be very difficult. You also need to recognize the social externalities, like smelling bad, people not wanting to associate with you, and places you can't go or live.

(Just reiterating that this is unlikely to be a smart strategy -- but you requested "weird", not smart)
It was unpleasant but at the end of the day it was just one guy.

What gets me is that every recruiter who reaches out (hundreds by now I estimate) wants me to complete their timed coding test to qualify to interview again.

I found Google’s interview process comparatively much more respectful (although more demanding), and have been happy working there instead.
?? They appear completely different in C++, i.e. virtual functions vs. templates

https://eli.thegreenplace.net/2013/12/05/the-cost-of-dynamic...

I also wish they were more similar in both C++ and Rust. I find that most programs get more dynamic as they get bigger, get more usage, and get more extensible ... but the tendency is to want them to be as efficient as possible at the beginning.
It really won't. That would just be a cartoon with a realistic art style. You still need almost every other part of a film. You still need an original performance to deep fake. This isn't an AI actor or a simulation, it's a post effect.
Recognize the difference between a centralized score and a relative score.

In the model I proposed, your "score" of anyone else would only be affected by people who you've selected to "score" others. This is exactly how people build trust mentally today, but assisted by a graph that lets you expand your trust network beyond Dunbar's number, which is required for filtering modern media.

The Dystopian centralized credit score seen in the Black Mirror episode "Nosedive" is what will happen if we fail to build something capable of calculating relative trust relationships.
Not weighing in on whether one should be frightened or not, but just pointing out that what you said would have applied to the computer graphics industry about 30 years ago. The interesting thing about computers is they tend to get faster over time.
This reflects my experience when working alone, but when working on a team the experience is drastically different.
Spectral Audio Processing – What It Can Do for Musicians and Sound Designers
Data mining before showing the product is scummy. Fix it.
> The language and the ecosystem are big and complex, very comparable to the complexity of C++. It’s in a different difficulty league compared to C...

I think this is only true if you're already familiar with C-family languages (C and C++). As someone who came to lower-level programming with a JavaScript/Python/PHP background, I found Rust significantly easier to learn than either C or C++ (C was easy to do hello world, but jumped to WTF-level complexity as soon as I needed to interact with a 3-party library).

Let me put it this way: would you trust a developer who was new to C or C++ to write secure code that's free of memory safety issues, undefined behaviour and multi-threading race conditions? You can do that with Rust, and IMO that's a huge win.
The biggest problem for me is that the mouth movements seem completely off.
MozFest Premieres ‘Alfro Algorithms’ Animated Short
"The path to being healthier starts with observation. Keep a food and activity journal and crunch the numbers." Downloading MyFitnessPal and actually using it alone was such an eye-opener. That mirror to the face is sometimes all a person needs to commit properly.
My dreams of one day reading a full clone of docker in 120 lines or less are shattered. Maybe next time.
> then what should we call the US wars in the middle east?

almost there keep going.
> When defining by which pairs can reproduce, or at least "connect corresponding mating organs", humans are also still limited to 2 sexes

For ~98.3%, yes. About 1.7% [1] are... more difficult to answer that question for. For example, take a person with XX chromosomes but a penis and a person with XY chromosomes and a vagina. The "connect mating organs" step will work, but the pair will be infertile in almost all cases.

Even when one disregards social gender identity and purely focuses on "biological" attributes, nature has given humanity a lot of options - most people will fit into the "standard" model of hormones, chromosomes and the presence of naturally-grown genitalia, but a lot of people will not.

[1]: https://www.unfe.org/intersex-awareness/
People use "genocide" to mean "thing I don't like" and "Hitler" to mean "person I don't like".
I’m surprised to hear it’s not just using the native HTTPS-only mode now.
How to Handle Terabytes of Metrics in Kubernetes Monitoring
That's what I was thinking too!
> you're the only one to bring up genocide or the comparison to Hitler.

I put it in parenthesis because of that, but I've seen both the Hitler comparison and genocide accusation popping up hundreds of times in the last few days, usually by the same people.

We get it, Putin is bad, and Hitler is the baddest of the bad guys, but still, it doesn't make any sense whatsoever. We can call him Putinéon or Putin Khan while we're at it
That comes with a felony conviction, they are facing multiple felonies.
> HTTPS, with its current UX, would be a net negative in this case.

I would just replace "HTTPS" with "SSH", and see if that statement is still reasonable.

Even though SSH is not perfect when you can't verify the initial connection to a host on a local network, using TELNET instead is not a solution.

I have yet to hear a reason why HTTP is better than self signed and pinned HTTPS; why possibly insecure is worse than insecure.

The only justifications I have heard are UX justifications, and those are really just a critique of the UX, not the protocol.

> Security is done by physical access. Anything else is just extra complexity and points of failure, and if an attacker can get physical access to the LAN cable, he can just as well walk to the machine directly and change the settings on the control panel.

That is an extremely fragile solution.

By default ethernet is very open. It is very easy to bridge it with other devices or routers to announce themselves and start routing. It happens all the time on what are supposed to be closed networks, I've seen it.

And many networks are semi-offline. You may need to have limited internet access. Or the network configuration may change in the future.
Why do people want to have more non-printable characters? They have bad support in editors are are not compatible with most tools.

If you are pushing to a new text-like format which needs brand new implementation in all consumers, you can do much better than unprintable characters:

- CSV/JSON: like CSV, but JSON rules are used for string quoting. So for each line, you can put [] around it and parse as JSON array. It is easy to generate and parse, has no problems with newlines, and CSV compatible for many cases.

- CSV/URI: like CSV, but URI escaping (%20) is used. Commas are represented as %2C, which is compatible with existing decoders.

- And if you really like binary, CSV with generalized PPP escaping [0] (using 0x7d/0x7e characters) for newlines and commas. At least the entries without newlines/commas will look normal.

[0] https://flylib.com/books/en/3.223.1.37/1/
Really? Trader Joe's is primarily junk food masquerading as health food. I'm jealous!
My dad had a couple of SAABs that I fell in love with as a young adult. After working for a few years, my car died and I was excited to get my own SAAB. I switched to BMW after my SAAB was written off by a distracted driver and SAAB was no longer in business.

BMW has a lot of similar design objectives and delights, but it was still missing a couple of characteristics that made SAAB unique. Then I went to Volvo, who hired many of the SAAB engineers and brought over some of SAAB's character, such as the center console mounted ignition (which SAABs had as an homage to their fighter jet history).

Volvo is doing a good job at their mission of safety and style, but they still haven't captured that same feeling that SAAB did (nor do I think they intend to). I feel like BMW is the closest experience I've had to a SAAB. I wish their quality was better, and/or they were priced similar to SAAB, but their engineers seem to want to delight their buyers in the same ways that SAAB did: thoughtful design, nice materials, and fun. FUN! Most people buy cars to get from point A to B -- it's a "tool". That's fine, but it's hard to find "tools" that are also fun; yet, it's magic when you do.

That's SAAB.
I think the calculus is to capture Ukrainian territory whatever the cost now, if millions are starved/bombed, all the better, areas would be repopulated with some Russians and would forever join the "Russian world". Same thing was done by Stalin so the blueprint is there.

Then the West, which is weak in Putin's worldview, would drop some of the more disastrous sanctions cause Western politicians need to get re-elected and recessions are bad for their prospects. Putin would continue buying up Western elites, fostering divisions, and in 1-2 election cycles everyone would forget about Russia or Ukraine, stretch goal is the disintegration of NATO by American withdrawal.

So in a decade there would be no sanctions and Ukrainian territory would belong to Putin. Speed of Western abandonment of Ukraine would decide how soon Putin attacks other countries.

Obviously Russian people would suffer in between but 1) Putin doesn't care about them 2) They would be cheering anyway.
I don't know what my parents liked about Saab but they swear up and down about Volvos' safety ratings. My dad is a swedish car nut nut and his Saab always seems to be in a state of repair.

Then he had the nerve to criticize for buying a Corolla, after teenage me got sick of dealing with auto shit after going through no less than three old, cheap Volvos that seemed to constantly need work of some kind. (Two of which had a habit of stalling at the most inopportune moments, like driving 60+ MPH on the freeway. It took years to feel safe driving again!)
> DuckDuckGo's mission is to make simple privacy protection accessible to all.

The main job of a search engine is to give me results relevant to what I'm searching for. Privacy is obviously a nice feature but if the results suck, I'm not going to use your search engine so privacy doesn't matter.

Who are they to decide what is "disinformation". How do they know? I want to see all sides of a story and come to my own conclusions. I don't need big tech babysitting me.
Volvo 240 aka traktorn
https://www.cnn.com/videos/world/2022/03/09/mariupol-materni...

After watching this bombarded hospital I wish them to burn in hell. They deserve much stronger sanctions than North Korea.
Two HDMI cables plugged into the CalDigit port, which goes into a USB-C port in my MacBook. I also have an ethernet cable plugged into it as well.
Do this exercise whenever you are offered junk food — move your head from left side to right side thrice.
More like ultra-bright leds :)
China is not a pariah state.

Russia maybe was making a grab for the natural gas fields in Ukraine. Maybe they already saw Europe's gas business as a lost cause, and with the new pipeline to China, saw aggression towards Europe as worth the risk of losing the business.
Vector Fields Math and Art
: type syntax will be more familiar to rust, kotlin, and typescript devs. Why is c relevant?

The name is usually more important than the type so I like that typescript puts it first.
Gumroad also looks interesting, especially as their fees go down when volumes increase.
Yes identifying the exact “calories out” number would be a monumental task. That said, we have a very strong understanding of the ballpark amount of calories it takes to keep your body alive and working for a single day - it’s around 1800, give or take a few hundred calories depending on a few features that you mentioned. With this in mind, it is simple to run a calorie deficit, even if you don’t know exactly how much that number is.
paywall free
https://archive.ph/mWWhJ
Excited about Kable! Congrats on the launch!
Eating less is key, but there a few items that important to keep in mind:

1. You have to replace your food with healthy variants, fruits, vegetables, proteins, etc. Otherwise your body will not be satisfied and ironically eating healthy food with the right portion will fill you up just fine.

2. Drink water during the day, this reduces craving, keeps you hydrated and is refreshing!

3. Get your sleep under control. In my experience, if you lack sleep, your body will signal the need for more calories

4. KEEP TRACK. This is very important, every morning, before your routine, go on a scale and get your weight. You can get one of those fancy scales that automatically stores data; this is important because weight loss is not visible initially and you will be discouraged.

5. This is a lifestyle change, so be kind and patient with yourself, even if you slightly gain some back, it's ok because if your _mindset_ is of a healthy life, then you can always get back on track quickly.

Last point: Junk food really is poison for your body. Your body has been gifted to you through millions of years of evolution and it doesn't do it justice to fill it with disgusting sugary foods!

Best of luck to you.
Brain drain is Russia's largest existential problem. I've worked with a number of intelligent folks who attended the state funded technical universities in Russia - most of them are sharp, however anecdotally most of the most pervasive cheaters were also Russian international students while I was in college.

The issue is that now due to currency devaluing and most modern companies / orgs refusing to cooperate with Russian companies, not factoring in banking / capital flows, there are very few reasons for people with skills to remain in Russia or grow their skills in Russia. Without smart young people helping to push Russia forward, not just tech wise but in most technically hard industries, the outlook for Russians are not good. Why work somewhere where your compensation for time could be worth nothing or denied by the rest of the western world?

That said, I think the west fails to understand how similar young Russians still are to their parents from the Soviet era. For instance, unlike the US most Russians even in the current generation attend a state university, party and drink like crazy until they attend college and shortly after college get married and immediately have children. This is also consistent across a huge swath of fields. For instance, I have friends who are artists / florists who have two kids at 24. This kind of culture is not necessarily aligned with fleeing the country to the west. One of the most fascinating traits of my young Russian friends (most of whom are artists) is their denial or confusion of being "proudly russian", even prior to Ukraine many seemed embarrassed to be proud of their country.
"I do a massive feed every night"

What a great statement, haha! I'm going to start talking about all meals like this. Next I'll be asking friends if they want to "go do a feed" with me.
I took a screenshot[0] using the firefox utility and the result is a black rectangle.

It's even funnier when I open the dev tools, the transparent image is replaced by a violet rectangle, blinks a few times then stay violet[1]!

[0]: https://up.l3m.in/file/1646929301.png
[1]: https://up.l3m.in/file/1646929762-a.webm
YouTuber leaves OLED Switch on for 3,600 hours to test image burn-in
But they weren't genocide.
This is how both Hundai and Kia started (in USA) Then both moved up-market. And Ford and GMC can't figure how to step back.

Edit: my first truck (1986 Toyota) was $6k. Manual everything and didn't even come with a radio. Most of the stuff was fixable at home (if you're handy). Didn't even have EFI. I feel like Honda used to have some of these simpler models - not just cause it was the 70/80s but also because that was a longer lasting/simpler product.

We've replaced longevity with bells/whistles as the key-feature.