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 Ask HN: Alternatives to Rust Programming Language
Roughly speaking your options are something like D, Zig, Nim, and Crystal.

I would say your best bet actually is Rust in terms of RoI on self-investment. Rust likely has the brightest future and the most active community, good docs and momentum to build out crates to do the day-to-day things you'll end up tackling.

That being said I gave Rust a hard look a couple years ago, got through most of the book but if I need something to happen on time I still find myself reaching for C nine times out of ten. Personally I rarely deal with things that get too complex so C's ability to just do the thing you want without getting in your way is invaluable to me. If it ever becomes a problem I think that's the time to rewrite in in Rust, but C is a fantastic language.

errantspark··on Ask HN: I feel so shallow and dumb when I see what other smart people are doing
I vibe with/have been through a lot of what you're talking about. HMU if you want another friend, email in my profile.
errantspark··on Doubling the PinePhone storage speed with a soldering iron
Ahh yeah I think you're right, I was just going by feel from what I remembered of the board.
errantspark··on Doubling the PinePhone storage speed with a soldering iron
Looks like an 0805, that's not too bad if you have decent fine motor skills and two soldering irons. If you have enough motor control for decent handwriting you'll be fine, just don't get frustrated and dwell too long, you can practice with the irons off.
errantspark··on Microsoft blocks EdgeDeflector to force Windows 11 users into Edge
> It must be soul crushing to work on DRM for any industry as your job. Knowing that no matter what you do, how clever you are, etc - it doesn't matter at all, it'll be bypassed very shortly.

I can't imagine doing this, to be honest if I were asked to implement DRM I would quit, or try to make sure there are fundamental flaws in the scheme, it's the only moral thing to do if you're put in that situation imo.

EDIT: To those upvoting me, software as a service is usually DRM, so maybe hold your upvote if you're complicit.

errantspark··on Microsoft blocks EdgeDeflector to force Windows 11 users into Edge
The problem with LTSC is that newer games won't work, other than that it's a pretty reasonable experience. I put vanilla Win 10 on computer recently and it's bad. Luckily the games I'm trying to run are better supported on linux via proton than they are on LTSC, and there's no way in hell I'm installing win 11, I already find the lack of proper programmatic file-association support infuriating.

I think at least personally I've finally reached the tipping point where dealing with the annoyance of running windows apps on linux is going to be worth not having the huge host of annoyances microsoft is intentionally pushing onto me.

errantspark··on [dead]
While I mostly agree with you on this post being ridiculous and anachronistic but I will contend you on:

> Language syntax has nothing to do with framework features, and especially things like writing UI components, managing state, and updating the DOM.

Think of how much less useful jQuery is in 2021 than it was in 2008. That's largely because the language has advanced. The set of things that a framework has to solve has shifted because a larger set of those things can be consistently and easily handled by the language itself.

These days most of what a framework does is give a consistent approach to allow for simpler collaboration. Maybe an argument could be made for building against a framework in order to easily access plugins or things like react native? I almost never use frameworks of any kind anymore and I think a solid style guide could replace the value of a framework in many cases.

errantspark··on If You Have Writer's Block, Maybe You Should Stop Lying
Sorta a chicken/egg situation no? Does the same hold in a different culture?
errantspark··on Use forums rather than Slack/Discord to support developer community
My laptop does have a sim tray and an internal modem, the antenna is in the screen. (HP Spectre x360 13" for those curious)
errantspark··on Use forums rather than Slack/Discord to support developer community
Nice, thanks for pointing this out. It's fucking annoying that I'll have to figure out how to install the Windows Store on my computer to get an app that can receive text messages, something that you know, should be available through a pipe/file/tty or some dead simple interface since it's not exactly rocket science to receive 160 characters of text.

But thank you none the less.

errantspark··on Use forums rather than Slack/Discord to support developer community
None of the TTYs that Windows exposes will even let me connect (access denied error even as admin) and there is no Linux driver, or maybe there is now with very recent kernels?[0]. It would surprise me if it worked well but I will spend some hours to find out soon. Intel/Fibocomm don't provide support for their modems except to OEMs afaik and I don't see any mention of successful connection under linux w/ my modem. (Fibocom L860-GL/Intel XMM 7560) around the internet. I have tried with some other LTE modem (model forgotten) in the past and I wasn't able to see it under Windows or Linux at all.

[0] https://www.phoronix.com/scan.php?page=news_item&px=Intel-M....

errantspark··on Use forums rather than Slack/Discord to support developer community
The problem is that I don't have an alternative method of proving my trustworthiness and as a result lose access to some products. Often times prepaid plans are not equivalent to postpaid plans, I can't just put a security deposit on a rental car to offset risk, etc.
errantspark··on Use forums rather than Slack/Discord to support developer community
Yeah, I'm sure it's possible to do so, but unfortunately my BIOS locks me into the OEM modem, there is no linux driver for it and the windows one is not documented so no luck for me in that regard. At some point I'll pour some more sweat into it and try to unlock the bios or something but sadly for now this functionality that my computer absolutely has is unavailable to me.

Same with getting NMEA sentences off the GPS, I have to use windows' idiotic location API for that. 9600 baud serial worked just fucking fine, I don't understand why that isn't available as well. It's so annoying that I have to fight this hard for functionality my hardware already has.

errantspark··on Use forums rather than Slack/Discord to support developer community
A credit score is used as a trustworthiness analog in arenas other than lending. For example renting a house or car, and some phone companies won't give you access to a post-paid plan, all of which can have a stratifying effect. The idea that because I don't take on debt that I am not trustworthy is wrong. I can pay a larger security deposit to offset risk, but often times that's not an option.

I've also heard tell of employers using credit checks to evaluate potential employees though I haven't researched that.

errantspark··on Use forums rather than Slack/Discord to support developer community
My laptop has a built in cellular modem, I find that being connected to the internet constantly is much more useful in a laptop form factor. Phones mostly just try to serve me ads in invasive ways and I'm not here for it.
errantspark··on Use forums rather than Slack/Discord to support developer community
I constantly run into this problem, I've used my google voice number for everything for years (yeah it's not a great move but very hard to migrate away from) and a frustrating number of services recently have been rejecting it for verification. I end up having to take the sim out of my laptop and put it in my PinePhone. It's such a hassle. This whole "you're not a human unless you have a phone number" thing sucks. Same thing with having a credit score. You're just assumed to participate in these systems even though there's no mandate to do so or protection for you if you don't.
errantspark··on New Orleans Man Will Get His Life Savings Back from Feds
Absolute bullshit, they should be liable for interest AND a massive penalty.
errantspark··on Elite Underproduction
It feels like the problem is tied to our understanding of what's important as a society. We agree more or less that money represents value, even if people say it doesn't their actions say they it does. I think the more we double down on this as gospel the further our manufactured/perceived reality can move away from the underlying truth of the world. Money only represents short term value well. I think at some point the tension there will be too much for the fiction to hold and the fault line will have to fall back into equilibrium. It would probably be best if we were to do it gently.
errantspark··on Intel’s Alder Lake big.little CPU design, tested: it’s a barn burner
Gotcha, I wasn't really aware of instruction level parallelism previously. I think the pieces of the puzzle are a lot clearer to me now, thanks for the replies.
errantspark··on Intel’s Alder Lake big.little CPU design, tested: it’s a barn burner
"x86 has an innate disadvantage [...] fattening up the frontend" this is inherent largely because of ISA complexity and variable width instructions?

"M1 core which is [...] much wider than both AMD and Intel" The core width you're referring to is the decoder width yeah? As another poster pointed out the M1 has a large reorder buffer as well. Combined with the ability to index a larger L1 cache what I'm getting here is that the M1 can be a lot better about scheduling instructions (and perhaps even running non-interfering instructions in parallel on a given core (is that a thing?)) because the frontend has more power and space to do so.

I guess that efficiency is then a big part of the puzzle on why the increased bandwidth to ram makes such an impact?

errantspark··on Intel’s Alder Lake big.little CPU design, tested: it’s a barn burner
Very wide in the sense of memory bandwidth particularly, or is there another kind of wideness at play here?

"has a big reorder buffer", I'm interpreting this as "one of the notable advantages of the M1 is it's ability to be more clever about processing instructions out of order to maximize resource utilization". Is that about right?

errantspark··on Intel’s Alder Lake big.little CPU design, tested: it’s a barn burner
Interesting, I didn't know that the memory latency was worse. The bandwidth is still much higher right? In your estimation how much of the perf gains of the M1 chip are due to the increased memory bandwidth vs other optimizations/advancements?
errantspark··on Intel’s Alder Lake big.little CPU design, tested: it’s a barn burner
I am curious how much of the M1 gains can be realized by just slapping 16 gigs of cache on your die. I know that's a gross oversimplification, and I'm 100% just going off intuition here but it seems to me that memory access efficiency is what carries the brunt of the M1's gains.
errantspark··on DownThemAll (2019)
Thank you so much for this! It was truly a lifesaver for a young pirate. My dad blocked torrents on our home network and I hadn't yet learned enough linux to crack our neighbors WEP DownThemAll was key to pirating games and movies off 20+ part rapidshares. <3
errantspark··on Engelbart's Violin (2012)
"a computer system should maximally reward learning. (The way Emacs does.) And that this should certainly be true of a computer one uses for 8-14 hours a day, for decades."

I think this is a good take, modern interface design focuses on instant gratification/short term thinking and ease of use more so than on giving people good levers, or mind bikes. I think the truly brilliant tools enable use and creativity beyond their initial purpose. Sure, that stuff only becomes relevant when you're pushing the envelope and most people won't be trying to do that; but I believe focusing on that edge has long term benefits that are hard to quantify.

I'm not sure about any of the keyboard stuff, but that particular idea I resonate with.

errantspark··on The Metaverse Is Bullshit
I imagine there are some lower hanging fruit for an embodied internet like not having ads and a general respect for providing me with value rather than trying to extract value from me.
errantspark··on The 37-Year-Olds Are Afraid of the 23-Year-Olds Who Work for Them
you can just curl the article to get past the paywall
errantspark··on The 37-Year-Olds Are Afraid of the 23-Year-Olds Who Work for Them
Honestly a lot of this sounds a lot like having normal healthy boundaries at work.
errantspark··on Tricks I wish I knew when I learned TypeScript
TS =/= statically typed languages

Static typing can be a very useful tool especially when the language is designed around it, in TS it is a painful kludge.

errantspark··on Tricks I wish I knew when I learned TypeScript
> benefits of a statically typed language on a large team

I mean yeah, sure, if you have to work on a large team in the browser/node you're going to have to make tradeoffs for that, and using TS seems like it'll help everyone go home at 5. I don't think I'm missing the forest for the trees, we're talking past each-other.

To illustrate a bit further, while I like Rust a lot, (the problems it tackles are MUCH more real than the ones TS does) and I put in the effort to learn and use it on a few personal projects I still find myself reaching for C almost universally these days. Even in the case of Rust's very useful tradeoffs I feel like they cost too much of my freedom, and TS' guarantees are much more surface level for a similar cost.

← PreviousPage 2 of 16Next →