HNHacker News
TopNewBestAskShowJobs

snemvalts

451 karma · joined April 10, 2015

https://sander.codes
submissionscomments
snemvalts··on Cardio fitness is a strong, consistent predictor of morbidity and mortality
Instead, people try to fix it with antidepressants, benzodiazepines or something else.

It feels a bit like the US approach to pain management – instead of massages or physical therapy, some opioid pill is cheaper to prescribe.

snemvalts··on Metformin shown to prevent long Covid
It was also tested only in overweight and obese patients. Pretty much most people are overweight and obese in the US as well, I wouldn't draw any results from this study for people at normal weight.
snemvalts··on Metformin shown to prevent long Covid
And yet they have the clickbait headline. Overweight and obese people already have their body in a constant state of inflammation, and their blood sugar control probably isn't great either. I wonder if they controlled for insulin resistance and prediabetes, which is related to obesity.
snemvalts··on Apple Reveals 'Vision Pro' Headset
Very dystopian. Can't wait for them to be required for work like smartphones /s
snemvalts··on AVX512 intrinsics for JDK’s Arrays.sort methods
x86 specific optimization for a language so focused on *portability*, heavy abstractions and business logic is kind of ehh. Especially with ARM is rearing its head.

If you desire performance close to the chip, you chose the wrong language and should write code in a language closer to the chip. Unless the abstractions and concepts required for your primary work are so different from what you are using for day-to-day work (data science, ML python and C++ bindings for interacting with the GPU)

snemvalts··on Angular v16
The angular plugin for webpack is still an opaque black box.
snemvalts··on Angular v16
The entire library is so spread out, with so many half-assed features.

When I wrote Angular I spent 2 weeks on getting something similar to `props.children` working. <ng-content> didn't work if the elements were dynamic. Outlet system was way too verbose.

The 2 way databinding is anachronistic and belongs in 2010.

The i18n system they shipped with is awful. No way to have translations in code, only in template. This breaks down very fast when building generic components.

The DI relies on https://www.npmjs.com/package/reflect-metadata, which makes the builder an opaque black box unlike a webpack configuration.

Because of the opaque CLI I've spent 2 weeks figuring out why every third dev build resulted in a 150 line long tsc stacktrace, and it turned out to be angular's 1.x types package. Would have been so much easier with a webpack configuration.

snemvalts··on Angular v16
JSX can be syntax highlighted and linted easier. What if a variable that is being referenced is missing at that time in the component's lifecycle?

JSX makes so much more sense, making code the parent of the template, instead of keeping code and template as siblings.

snemvalts··on iOS 17 app sideloading might only be available in Europe
Apple's security and data collection argument for their walled garden is null and void.

https://nakedsecurity.sophos.com/2023/02/27/beware-rogue-2fa...

They don't look at API calls made by the apps. How can they be your sure of the security then?

Only after this was published were the apps removed.

snemvalts··on Building GitHub with Ruby on Rails
Github is one of the few webapps where I can feel daily that the framework used isn't enough. So many things get out of sync/not up to date, which are fixed by refreshing the page.
snemvalts··on Altstore: Home for apps that push the boundaries of iOS
>“I need to not only block all ads on YouTube but all sponsor reads too. They’re sooooo annoying!” Grow up. Content makers need to be reimbursed. YouTube Premium subscribers and sideloading enthusiasts have very little overlap.

In Europe, there are gambling sites constantly running their youtube ads, tagging them as "Family" category so you can't disable them in your Google ad settings. Not to mention outright pornography sometimes.

Not going to pay for the privilege of disabling gambling and pornographic ads being shoved down my throat, it is a very low bar. Once Google actually starts monitoring what ads they show it becomes a non issue.

snemvalts··on Stripe faces $3.5B tax bill as employees' shares expire
Stripe's compensation is notoriously option heavy, almost like it were a public company https://www.levels.fyi/companies/stripe/salaries/software-en...
snemvalts··on Can We Make Bicycles Sustainable Again?
> Longer axles on modern rear wheels? No problem to bend the frame slightly - it's steel! - to make them fit perfectly

What happens when you descend at 50kmh/30mph and the bent fork gives out/brakes don't work because it wasn't exact? Worth your life/health?

> It rides at least as nice as a modern carbon fiber marvel. It is of course heavier (12kg all up).

Carbon bikes aren't all about weight. You can make some parts of the frame stiffer and other more flexible (impossible with metal frames), which helps handling and comfort massively.

> Modern bikes that I see in the bike racks at work? Carbon fiber marvels with integrated e-bike drivetrain. They're only a motor failure, or even a worn out battery pack (assuming not available any more from the manufacturer as spares) away from being e-waste just like all other modern gadgets. Retrofit to different brand stuff? Forget it. The frame is an integrated design with the drivetrain.

E-bikes are an oddity, they aren't mainstream for bikes meant for sport. With electronic shifting however, you can pair different ones with SRAM AXS. Same with Shimano's Di2.

snemvalts··on Can We Make Bicycles Sustainable Again?
As people noted in previous thread about it being invalid on thru-axle measurements, it's also invalid on cross-compatibility. All shimano road drivetrain components are cross compatible if they share the amount of gears https://productinfo.shimano.com/#/com?cid=C-453&acid=C-455. I can replace components on my 2015 11 speed shimano with ones from this year if they are also 11 speed.
snemvalts··on Replacing my MacBook Air M1 with a ThinkPad T480
Be careful grabbing it by the corner like in the picture, it can flex the motherboard and cause the RAM to unseat https://www.reddit.com/r/thinkpad/comments/mh974q/for_everyo...
snemvalts··on Why is remote work seen as a gift?
It's a fallacy to not having any data to back up the incumbent method. "People have drunk alcohol since prehistoric times, so why should people stop now and be sober?". Both sides need to have ample proof.
snemvalts··on Ghost boat with GPS leads father-son duo to man overboard
Learned from the best https://www.youtube.com/watch?v=fOHj5kGU4fY
snemvalts··on Epic is turning off online services and servers for some older games
Not to mention malware, there have been quite a few exploits for CSGO regarding this.
snemvalts··on Linux on the laptop works so damn well that it’s boring
Wifi and suspend stopped working on an LTS release on a Thinkpad X220 for me in 2018, the same generation as the laptop in the article. Moved to macOS shortly after.

They are great $300 computers for when you're between jobs and moving to a place where you can use the work laptop for personal things. Or a pentesting machine. Don't see too much use for them otherwise.

snemvalts··on Apple Introduces Apple Watch Ultra
Garmin Epix 2 has an OLED and 6 days of battery, 4x longer, bit smaller case size as well (47 vs 49mm).
snemvalts··on US quietly urges more use of Russia fertilizer to ease food crisis
Once they run out of military hardware probably. Russian military doctrine has throughout ages been to throw massive amounts of human lives at the enemy, same is true for today. At some point however, without military hardware it will become absurd even for them.

Russians themselves have gotten used to consumer goods etc from the west, but they are mostly too afraid to rise up against or fight for Putin, who has most of modern russian state built around himself. So, no uprising from within probably.

Altogether if not the end of summer, then it's into very scary territory. Famine + energy prices - while Russia being unable to advance in Ukraine because of seasonal changes.

snemvalts··on US quietly urges more use of Russia fertilizer to ease food crisis
Can the gas coupons be used for buying consumer goods? Right now doesn't seem to be the case. Money flows one way. Since Russians don't produce anything except raw materials, high currency value doesn't matter since they can't spend it.
snemvalts··on US quietly urges more use of Russia fertilizer to ease food crisis
> Meanwhile RUB to USD is at its highest in nearly 5 years

Is that meant to demonstrate economic strength?

* Russians have massive amount of brain drain. Most of tech employees have left, leaving only people extracting oil, people who turn it into fertilizer and gasoline and supporting roles.

* They can't build military tech because of sanctions. Starting to use 1950s and 1960s tanks.

* They've privatized and violated tons of foreign companies (for example Renault gave away 68% of car manufacturer Avtovaz to the state). Nobody in their right mind will bring money there in the future.

* They can't import smartphones, tech or luxury cars (things that keep russian upper middle class happy).

> Cutting Russia off from SWIFT has only strengthened their ties to India and China

There has been both strengthening and weakening. Russia depends on China, not the other way around.

> and now we're dealing with soaring food and energy prices at home

It hurts both ways. This is normal. Appeasement would be a better choice?

snemvalts··on AirPlay and Touch Bar = Network Disaster
Should it be the other way around? 95% of people who haven't thought about ethernet cables for the past year should have a bulky port on the laptop that eats into PCB + battery space
snemvalts··on Mechanical Watch
A solar quartz fits this more. Those don't even require movement or correcting as often as with mechanical watches. Just light
snemvalts··on Google almost convinced me to spend $400 on useless laser treatments
The biggest problem with Google and medicine are the summary boxes and QA widgets up top, matching a search term to an excerpt.

It's hilariously bad, it pulls misleading info out of context. It is probably responsible for more than zero deaths worldwide.

snemvalts··on How destructive are nuclear weapons really?
And the average yield is just 300-800 kt. A lot less than the megaton size bombs of the cold war.
snemvalts··on Incident with GitHub Actions
Doesn't it cause more headaches?

I've had experiences where devops minded people I've worked with have wanted to self-host services such as Bitwarden. Sure, it will be cheaper and you will have noone to blame but yourself, but once things go bad they go really bad. It's also another thing to keep eyes on.

I guess similar argument could also be extended to self-hosted clouds. Seems like it could take away a lot of focus and energy from working on the product itself.

snemvalts··on US Senate votes unanimously to make daylight savings time permanent
A lot have auto DST that switches DST automatically. And/or programmed timezones
snemvalts··on US Senate votes unanimously to make daylight savings time permanent
Even digital watches that would last tens of years without battery changes? (and where BT would consume too much energy)
← PreviousPage 2 of 5Next →