HNHacker News
TopNewBestAskShowJobs

virtue3

1,755 karma · joined June 26, 2013

submissionscomments
virtue3··on To get off fossil fuels, America is going to need a lot more electricians
https://www.nerdwallet.com/article/loans/auto-loans/china-el....

China is currently subsidizing electric cars pretty heavily and lithium-ion batteries are dropping in costs pretty dramatically over there.

Also with current tax-rebates you can get a chevy bolt for like ~20k. Which is a lot less than such cars used to be with that kind of range.

Prices might have gone up recently but if we compare EV prices from 5 years ago you are getting dramatically more for the money now.

virtue3··on To get off fossil fuels, America is going to need a lot more electricians
I think economics will be a valid reason.

Mostly as heat-exchangers continue to get efficiency gains, electric car prices continue to plummet, and solar continues to become more effective watts/$. While not all of these options will work for everyone, they will work for _most_.

It doesn't make sense to spent billions of dollars securing oil when we can spend millions switching to electrical infrastructure.

virtue3··on The Benefits of Walking Backwards
I had a lot of issues with my IT band back when I did marathon training / endurance sports.

Mine stemmed from my quads being significantly more developed than my hamstrings / lower posterior chain. Any imbalance between the front / back of your legs/hips can cause tracking issues, which will then overload your IT band or in the case of walking backwards, your MCL.

Also pressure point therapy using a lacrosse ball right into the hip attachment of the IT band was one of the few things that gave me relief. Good luck.

virtue3··on What it takes to fan-translate a video game (2022) [video]
Love it. I remember the fan-made rom-hacks of final fantasy 5 ( they called FF6 FF3 in the USA, super confusing). Was super incredible and blew me away that it was even possible.
virtue3··on M3 Macs: there's more to performance than counting cores
I heard from a a hardware developer that the main wins for the M* architecture is really that they integrated the memory onto the cpu die and then the unified memory architecture between the GPU and CPU which was "holy grail" type stuff a decade ago.

I don't think we're going to see the performance increases past the ~10-20% each fab cycle now.

Performance per watt and having dedicated HW for video decoding / other tasks(AI?) I think might end up being the answer to the continuation of Moore's law. Especially considering that we are in the era of heterogenous computing.

virtue3··on How to stop adulterated turmeric from killing people
Yeah this is kinda "well known" in the protein powder circles: https://www.health.harvard.edu/staying-healthy/the-hidden-da....

(essentially condensing down milk products that don't have a large % of heavy metals but this gets condensed down and the heavy metals are more likely to stay behind - 200 liters of milk to make 1kg of protein powder).

virtue3··on Confusing Git Terminology
Really great point and also really illustrates the tree structure underneath the hood for git and how it rules everything.

The joke that isn't a joke is that you really need a CS degree to use git. It's not wrong.

The git default arguments makes for a very inconsistent experience, agreed.

And then `git checkout .` vs `git reset --hard/soft` vs `git cleanup` are all super similar but very different.

Still love it more than perforce/svn (I did like mercurial a little better back in the day but I doubt that might still be the case).

----- `git reflog` is king and shows you the truth.

virtue3··on Apple CPU Architecture Through the Ages
"The Pentium M represented a new and radical departure for Intel, as it was not a low-power version of the desktop-oriented Pentium 4, but instead a heavily modified version of the Pentium III Tualatin design (itself based on the Pentium II core design,"

https://en.wikipedia.org/wiki/Pentium_M

virtue3··on ASP.NET Core Blazor
looks like 8.0 release? https://github.com/dotnet/AspNetCore.Docs/commit/e8ce5761969...
virtue3··on When allocators are hoarding your precious memory (2021)
generally environment variables are set with ALL_CAPS keys and underscores.

Not sure if this is a bash hold over to differentiate ENV_VAR vs local reg_var or like an os/global constant naming hold over.

Generally if you call "env" on your cmd line (all of my)/most keys are ENV_VAR capitalized.

virtue3··on Hey, computer, make me a font
The interesting thing about law is that even if the law doesn't absolutely protect you; the person that you believe infringing on your work for free had better be prepared to pony up lawyer fees to defend their work.

I think this would be one of the few times where I think that's useful. Typefaces take a lot of time and consideration and work to create so just blanket ripping off that work because we all take them for granted is kind of bullshit.

I have conflicting thoughts about this.

But at the end of the day if you only trained on open fonts they just aren't generally as good and the output should be not generally as good as opposed to training on nicer fonts that you technically don't have the rights to (but no one thoughts of this being an issue at the time of design patents / etc ).

But we're now in the world where we will pay money to compute an AI model to design fonts instead of just paying designers to design fonts. The race to the bottom is accelerating at an alarming rate.

virtue3··on Lodash just declared issue bankruptcy and closed every issue and open PR
What got me to stop using reduce was when I and another sr. held a theoretical "gun" to a jr devs head and asked him what a block of code involving reduce did and they didn't have a clue. They were pretty bright; so I just threw it the towel at it being useful to the health of a large codebase after that.

Still love map. But reduce can feel very "code golf" real quick.

virtue3··on Johnny Decimal: A System to Organize Projects (2015)
It's 3 in the morning and I couldn't stop laughing out loud when I read this. Poor OneDrive lol.

I hope she managed to keep all her files and didn't lose anything.

virtue3··on UK air traffic control meltdown
you would be very surprised how difficult avionics are from even a fundamental level.

I'll provide a relatively simple example.

Just even attempting to design a starfox game clone where the ship goes towards the mouse cursor using euler angles will almost immediately result in gimbol lock and your starfighter locking up tighter than unlubricated car engine going 100mph and unable to move. [0]

The standard solution in games(or at least what I used) has been to use quaternions [1] (Hamilton defined a quaternion as the quotient of two directed lines in a three-dimensional space,[3] or, equivalently, as the quotient of two vectors.) So you essentially dump your 3D coordinate into the 4D quaternion coordinate, apply your matrix rotations, then convert back to 3D space and apply your rotations/transforms.

This was literally just to get my little space ship to go where my mouse cursor was on the screen without it locking up.

So... yeah, I cannot even begin to imagine the complexity of what a Boeing 757 (let alone a 787) is doing under the hood to deal with reality and not causing it to brick up and fall out of the sky.

[0] https://math.stackexchange.com/questions/8980/euler-angles-a... [1] https://en.wikipedia.org/wiki/Quaternion

virtue3··on To make dishwashers great again? (2020)
I think his videos go much deeper into topics I didn't realize I cared about and I find them fascinating for it. It's not about the destination it's about the journey.
virtue3··on A small-town police officer took down a large match-fixing ring in tennis
Because you'd have to fund a create a betting body that organizes this data and determines when it's low ranking or not. We don't need an SEC for tennis; what a colossal waste of taxpayer resources.
virtue3··on John McCarthy’s collection of numerical facts for use in elisp programs
And then you get a world bathed in eternal darkness until you control it's greenhouse gas atmosphere?

I think it would be easier to just limit greenhouse gas emissions on earth.

Your point works pretty well considering that Venus has a a dense atmosphere unlike Mars.

virtue3··on Show HN: Merge – Connect Google Wear OS to Apple iOS
I'll do you one better.

The US navy devised a formula based on height age and your neck and waist circumference and was 2-4% accurate for body fat calculation (it's not good for tracking relative changes tho).

You can make generally fairly accurate assumptions about body fat percentage from a few key indices when it comes to general population.

The electrical impedance issue becomes more problematic when you have a higher muscle mass vs fat mass as the scale has a much harder time figuring that out (which is why some of the scales have an "athlete" mode on them).

Most of the good scales also have a handheld impedance sensor on them to track upper and lower body impedance for a more accurate measurement tho.

virtue3··on The missing C++ smart pointer
I think Java, Haskell and C# are the main languages where you have both boxed and unboxed values (C++ if you start doing smart pointer stuff I suppose, tho "String" could be considered a very fancy boxed char*).

Python, Ruby, and JavaScript all have exclusively boxed values. "Everything is an object".

I'm not sure what languages you use but that pretty dramatically covers most of the mainstream (top 10 at least).

virtue3··on Rail company that launched first H2 line opts for all-electric future
I think the power requirements for the train might be the limiting factor tho. It's not quite the rocket equation but you can't just drain the whole battery pack on a 3% incline and get 15-30% back on the decline.

a 4000 HP train is ~ 2,000 kWatts. The average diesel-electric locomotive uses 3.5-4 kwh / mile of electricity (according to chatgpt). So to go 500 miles we're looking at 53,000lbs / 26.7 tons of _just_ battery (doubled up weight to account for non lithium). The locomotive itself can weigh 120-220 tons. A freight railcar can weigh about 100tons.

For a yard locomotive where they are just moving things around this could be super useful. For hauling freight around it's a potential? You're basically losing a freight car of cargo per 500 miles.

And I would really want this thing to be NOT made of lithium ion cuz if the train derailed it would be fairly destructive.[

virtue3··on FCC allows blocking traffic from robocall-friendly provider One Owl
Naw they just get a slap on the wrists from the Feds and move on. No jail time even. Now if you and I laundered money to the Mexican drug cartels...

"too big to jail because they are too big to fail"

https://www.investopedia.com/stock-analysis/2013/investing-n...

virtue3··on Hacker mods an M1 Mac mini to receive power over Ethernet instead of AC
There's a lot of low power HD screens out there. It's not super difficult. Not the ideal case for sure but low power is all about tradeoffs.
virtue3··on ‘No way out’: how video games use tricks from gambling to attract big spenders
Pretty sure Microsoft would have something to say. And I'm pretty sure the federal government really gives a fuck about that one.
virtue3··on FBI taps cell phone mic as eavesdropping tool (2006)
The whole problem with this shit is they don't always need a warrant.

If you are a non-us citizen or you're deemed "a terrorist" they can do whatever.

This complicates further with crap like the US spying on say Swedish residents and then forwarding information to Sweden. Technically; Sweden isn't spying on it's citizens, the US is. But it's the same result.

virtue3··on Tell HN: Nearly all of Evernote’s remaining staff has been laid off
I interviewed at doordash, they really pride themselves on being able to optimize when a driver gets to the place to get the order to maximize everyone's time and not have useless waiting. It's NOT an easy problem and they had a huge prediction engine per store/item.

Looking at problems naively it looks simple but it's -really- not that simple if you want it to do WELL.

virtue3··on How small is the smallest .NET Hello World binary?
whoosh...
virtue3··on Show HN: My platforming game written in C 89
I find this incredibly challenging to play with the current control scheme. Either up or space would be nice to jump with. Heck even if a single mouse click was jump it would be easier.

Having to time holding down left and then double taping it is an exercise in frustration.

Other than that it looks interesting, I enjoyed the moving platforms.

virtue3··on Far Cry 1.34 source code (2006)
Escape Velocity was what got me into coding. I was huge into moding that game when I was younger on my old mac OS 7.x system. Absolutely fell in love with being able to extend the game.

Thanks for bringing that up. Those were good times. And agreed. Would love the source to original EV alone. Gonna take a gander at maelstrom! Thank you!

virtue3··on False 911 Calls Increase During Festival as iOS Mistakes Dancing for Car Crashes
You are massively underestimating the strain and resources expended for false positives for emergency services. This will be a major issue for municipalities. And it won't be apple footing the bill it will be your local tax dollars at work.

Put another way; if an emergency team arrives late to another accident because they were tied up on a false positive from an iphone and that results in less effective care, what happens? Do we just front the bill for more emergency workers? Do we hold apple accountable for false positives? Do we hold the user accountable for false positives (I guarantee most people are gonna start turning it off then).

Seems like emergency response centers are a little mixed in how they feel about the feature. But this last point is especially important as to why false positives are pretty irresponsible.

"An automated call from Crash Detection could cost responders as much as $10,000, and they have a limited budget."

https://appleinsider.com/articles/23/01/09/apple-crash-detec...

virtue3··on Testing a 1,000 player Minecraft server with Folia
EVE had some 2020 Guinness records. I'm sure it was time dilated to all hell but I doubt anyone else has come close to this.

largest multiplayer video game PvP battle (8,825 players) most concurrent participants in a multiplayer video game PvP battle (6,557 participants)

← PreviousPage 6 of 21Next →