HNHacker News
TopNewBestAskShowJobs

errantspark

3,115 karma · joined January 24, 2012

[[my_hn_username]]@gmail.com

Madlad JS dev who also like C, Verilog and painting. Ask me about bikes. :3

submissionscomments
errantspark··on Tricks I wish I knew when I learned TypeScript
Right, but the actual benefit comes from having the REPL and the debugger in the same place. Plus the chrome REPL is fantastic, so suggesting I just use a different one is sorta like saying "you can just use your phone" when my default is a Hasselblad. When I'm writing JS/Node I can write code in the REPL in the context within which it will execute, it really cuts down on how much I have to hold in my head at one time because I can just ask the computer. It also makes exploring much much faster because my iteration times are as fast as the computer can run my code. I find it's a much more natural way of programming and about as close to SLIME as I can get while still writing in a language that has easy economic value.
errantspark··on Tricks I wish I knew when I learned TypeScript
This is news to me, as far as I know it'll error out when it reads TS on the REPL. How do you enable this?
errantspark··on Tricks I wish I knew when I learned TypeScript
Fair, I should have been more clear when I said "interpreter" what I really meant is "the chrome debugger" which is one of JS/Node's absolute killer features. I believe support there is on it's way, though I very much doubt it'll convince me of TS' value.

I used to be much more bullish on TS, I like the idea of strong typing in general but the more I use TS the more I feel like it's just the worst of both worlds. I much prefer my types to be deeply embedded in the language design, types as varnish don't make sense to me anymore.

errantspark··on Finland lobbied EU to declare nuclear power sustainable
The whole nuclear power situation is a total clownshow. Here in California we've regulated nuclear out of existence and we're replacing it with natural gas in an effort to save the environment/children. Truly as fucking stupid as it sounds.
errantspark··on Android’s Bluetooth latency needs a serious overhaul
sigh JS is imperfect but it doesn't just make everything it touches slow. I would be very surprised if in Discord for example any JS was blocking between you pressing a key and the key appearing in your text box.

In fact I took the time just now to run a few samples in Discord and it's looking like I'm getting the same 35-40ms keypress to photon latency as gVim with one 80ms outlier out of the 5 runs I did.

errantspark··on Tricks I wish I knew when I learned TypeScript
Not OP but I do tend to avoid TS. I don't like the additional friction of working with the language (transpiling, unable to copy/paste directly into an interpreter). I also feel like the community at large writes awful baroque code that makes me want to die. Why use a function when 18 classes subclassing eachother across 4 files will do? If you're familiar with the tiktoker @khaby.lame, TS feels like exactly the over-complicated life hacks he mocks.
errantspark··on Android’s Bluetooth latency needs a serious overhaul
I don't disagree with you in general and I find the lack of focus on latency very frustrating (though the proliferation of 120hz screens seems to indicate that there's hope)

But with regard to the Dan Luu post I've tried to recreate his findings and maybe things have gotten better because with 170hz monitor and a run of the mill gaming keyboard I'm getting keypress to photon latencies in windows gVim of about 35ms as measured with a high speed camera.

errantspark··on Twitch Hack of 135 GB of Data Includes How Much Its Biggest Streamers Make
I'm not saying: By whatever means necessary we should enforce flatness of power.

Hierarchies are unavoidable and useful.

I'm more making the argument that cultural disgust at concentration of power, and a general erring on the side of flatness whenever we can would go a long way toward a healthier society.

errantspark··on Twitch is hacked, and its source code leaked
A few things here. If you're the sort of person who runs a crypto mine, which I assume many of the people interested in breaking hashes are you have enough firepower at your disposal to at least perform a targeted attack on a few hashes with relative ease.

Ideally that would be useless because things are properly salted and you don't know the salt, however with access to all of the source code as we have here I think it isn't as clear cut, as it may be possible to reverse out the salts as well.

I'm not a cybersec guy so please take my speculation with a grain of salt.

errantspark··on Twitch Hack of 135 GB of Data Includes How Much Its Biggest Streamers Make
I can imagine a society that doesn't value privacy functioning much better than ours if the lack of privacy is somehow thoroughly universalized. Secrets allow for concentration of power, something we should avoid.

That being said I'm well aware of how load bearing "somehow thoroughly universalized" is in my statement. Perhaps it's only possible in a culture that truly rejects secret keeping as deeply harmful from an individual level up. I don't believe we can get there from here anytime soon, and if we tried it would just be another system for the people who figure out how to keep secrets to exploit that info asymmetry. In a world of cooperating actors though . . . yeah, I know I'm dreaming.

errantspark··on Apple didn't revolutionize power supplies; new transistors did (2012)
Don't worry, that problem will solve itself with time. Just let the lowpass in your ears grow a bit. ;)

I will say I have been very impressed with Anker's GaN power bricks of late.

errantspark··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
I wish that were true! I'd love to know how to do that one too since back in Windows 7 Foobar2k was able to wake my PC from sleep and play my music as an alarm, and this functionality has not worked for me since then.
errantspark··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
¯\_(ツ)_/¯ No hibernation, yes admin, yes elevated prompt, nada. Disabling devices has never worked for me either, again I'm legitimately surprised that these things have ever worked for anyone since it's never had any effect whenever I've tried it.
errantspark··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
I have NEVER in my life ever gotten a useful output from `powercfg.exe /lastwake`. I'm honestly surprised to hear someone mention it as working, I thought it was the sort of thing that was just copypasted on clickfarming tech-help blogs without any sort of verification that it actually works.

In fact I just tried it again on 4 computers and every one of them said "Wake History Count - 0".

errantspark··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
Imagine if we had the technology to, when a laptop was in a hibernated or off state to use some sort of a mechanism to physically disconnect the battery. I know this is absolutely crazy but it seems to me that this would solve these problems in a foolproof way that wouldn't lead to the situation where your mission critical piece of equipment has killed it's battery, or itself entirely because it decided to do something you didn't want. Imagine a physical device capable of making and unmaking an electrical connection based on the angle or position of a physical component that is then unable to be superseded by bad programming. Imagine.
errantspark··on ‘Lie Flat’ If You Want, but Be Ready to Pay the Price
Article is paywalled so I'm not sure it's thesis but I personally have been doing some approximation of "Lie Flat" for a while now. For the most part participating in capitalist-consumerist society is negative for everyone, so I've decided to "first, do no harm" and for the most part I have that on lock. I think that "Lie Flat" or some version thereof is one of the only reasonable approaches the current situation.

I'm not interested in the standard "I make a penny and my boss makes a dime" and I think a lot of other people aren't either. I'm not comfortable with exploitation. I think (or hope, at least) some people are realizing that "making it" for the most part means becoming part of the exploiter class and they're not comfortable with it.

errantspark··on There won’t be a Goddamn creator economy if we don’t invest directly in creators
No because they are actually providing value without strings attached, obviously an artist needs tools to perform their art.
errantspark··on There won’t be a Goddamn creator economy if we don’t invest directly in creators
You're wildin my dude. Every thing you listed exists to leech value from creatives by selling an extremely peaky reward distribution as linear. But especially NFTs holy heck, that's entirely a vehicle for money laundring and speculation, the artists are just around to give the illusion of legitimacy.
errantspark··on World on 'catastrophic' path to 2.7C warming, warns UN chief
I feel like we could go a long way toward this through individual choice. You can just y'know, refuse to help ruining our planet. I bet for most people on this forum that's absolutely a practical choice but the money is too good to worry about that.

I don't think that's the best solution, but at least it's one I can personally enact, and if deontologically expanded it does lead to solving the problem. Don't play negative or zero sum games and ostracize those that do.

errantspark··on Video of Tesla FSD almost hitting pedestrian receives DMCA takedown
That's horrifying on such a deep level. There should be mandatory civil service for programmers, but you just get sent somewhere cold and you gotta write scene demos and motion control software for a year to get your head on straight. :P
errantspark··on Atlassian fired me while I was taking care of my wife who is fighting cancer
This person is giving advice from the PoV of an individual comfortable with playing zero sum or even negative sum games as long as they are able to continue winning.

Don't be like this, don't corrode the commons for personal gain. By not speaking out you are endorsing a harmful asymmetry, make no mistake about your personal responsibility for perpetuating hostile norms.

errantspark··on Smart kids should skip high school (2015)
I'm a highschool dropout, but I did a decent job of attending most of the way through anyway cause all my friends weren't fuckups. I have a hard time imagining what sort of person I'd be if I didn't have that growth with a cohort of friends.

In terms of my success as a human who is part of society I don't think anything has been as helpful as the social skills that I learned in high school. I don't think it's the only way to learn these skills, but I certainly feel like my social-learning velocity was by far the highest in high school.

Ultimately how other people perceive me influences my quality of life more than any other thing. I don't think as a "smart kid" skipping high school would have helped me, I think it would have hurt me a lot. I feel like my life opened up immensely when I accepted that being smart and correct and having a deep understanding of the problem at hand matters so much less than being able to get along with people.

errantspark··on My Room in 3D
True! I meant shortcut in a more sapiocentric way, i.e. "These are the top 3 things you can quickly google and implement for a big realism gain for low effort cost."
errantspark··on My Room in 3D
https://google.github.io/filament/Filament.html#materialsyst...

This document is a good primer on a lot of the concepts that go into PBR. I have a few more open source/free resources on PBR and unbiased rendering as well and I will update this post if I can dig em up.

errantspark··on My Room in 3D
Don't be daunted, it just takes time. You'll get faster at it with practice, but the first step is simply brute force, or at least it was for me. Take a picture of something simple, recreate it in 3D with exacting detail. When something doesn't match you drill down, find the optical phenomenon that you weren't modeling correctly, and fix it.

That's it. There's no shortcut to being good at this stuff, you just have to learn how the real world works and make sure that when you're simulating it in the computer you're using physically correct numbers for everything. Relentlessly comparing what you're doing to photographs is the only way to truly master the skill. It's a lot easier to take a step back and do stylized realism once you can nail the real thing.

That being said this is fantastically executed. I'm especially loving the ability to mix the baked GI live, it's a great effect for static scenes like this.

P.S. Ok I probably lied when I said there are no shortcuts. Here are a few:

- use a physically based (preferably unbiased) renderer

- use only energy conserving materials

- use light-probes to light your scene

errantspark··on Misbehaving Microsoft Teams ad brings down the entire Windows 11 desktop
I have spent many a summer at a cabin with no internet, potable water or plumbing. I love it, it's a beautiful time. It's one of my favorite places to be in the whole wide world.

That being said I also love technology. It's fucking magic and I'm a mage. I have immense power over one of the most effective forces in the world and I spend a depressing amount of it to circumvent annoyances forced upon me by people trying to part me from my money. It's so frustrating because I love what technology is and what it can enable for people, and I hate how trash the baseline is, and I especially hate most people don't even know how good things could be if we y'know had open standards and shit. I know that there isn't an easy fix, but my frustration is none the less valid. So much of humanity's effort in tech is spent on bullshit that doesn't add value at best, and is actively detrimental to all but a few humans on average.

errantspark··on Misbehaving Microsoft Teams ad brings down the entire Windows 11 desktop
It's profitable to do so. If I had to point a finger it is because individuals (and companies, made up of individuals) do not take responsibility for their part in supporting institutions that corrode the commons for personal gain.

If you work for a place that is largely just about shuffling money to yourself by exploiting info asymmetry sabotage it or quit. You most likely have a skillset that can earn you a living wage somewhere that's a net positive for society.

errantspark··on Misbehaving Microsoft Teams ad brings down the entire Windows 11 desktop
It's so mind boggling to me that we're okay with this level of uncertainty about the systems we rely on every day. I run LTSC with updates disabled because the idea that something that's working one day would stop working the next drives me up the wall. I have a linux phone (which is awful) because at least when that breaks it's my fault and I can always just put it back into a known working state.

I hate how my relationship with Microsoft/Google etc is essentially one where they're constantly pushing the boundaries of what I'm willing to put up with. It's fucking abusive.

errantspark··on Revolt: Open-source alternative to Discord
I very much want to use matrix over discord so I went and did a cursory check of all the desktop clients listed on the matrix website (again). It's unclear to me that any of the implement voice rooms at all? Am I missing something?
errantspark··on Revolt: Open-source alternative to Discord
The UX of just being able to naturally sit idling in a voice chat and have friends drop in at will is the point of discord and it's done very well. This user interaction being a first-class citizen is a big deal.

Maybe alien to some people, but I've spend the last 17 years of my life hanging out in Xfire/Teamspeak/Vent/Mumble/Discord and I think it's one of the absolute best things that tech has been able to give us, just constantly being in a room with all your friends.

← PreviousPage 3 of 16Next →