HNHacker News
TopNewBestAskShowJobs

avg_dev

1,405 karma · joined October 28, 2016

submissionscomments
avg_dev··on You can't do that because I hate you
I feel this post. I can relate.

I once said - and still maintain - that all devs need a life-long lesson in empathy. For our users and our library consumers and so on.

It will be impossible to fix every conceivable issue and sometimes we will have to deprecate or break backward compatibility or features or whatever. But if maybe some more effort to understand and respect our users was made as a matter of course, then when we are users we will be more inclined to give the benefit of the doubt to the developer who created the thing.

Also the post made me laugh.

avg_dev··on Firefox Sync actually works
I’ll have to look into containers and tree style tabs. I have never knowingly used those.
avg_dev··on Firefox Sync actually works
My experience has been quite different in that I don’t even have Chrome installed on my Windows machine just yet, because FF has been working fine for me for a long time. I like to use uBlock Origin and Privacy Badger. I don’t use the cloud sync feature myself, because I mostly switch between FF and Mobile Safari and I don’t know if there is a good sync solution, and I’d prefer not to send my usage history and stuff out anyway. I’m sure someone out there - many someones, probably - has painted a number of more or less accurate pictures of who I am using my browsing data anyway.
avg_dev··on Black Triangles (2014)
tbh, i personally think the article is timeless and beautiful
avg_dev··on Optical Media Durability (2020)
I tried loading some of my old burned CD-Rs a few years back and had very little success too. They were maybe 10-12 years old at the time. It was kind of sad.

I had a number of burned CDs flake out on me over the years.

avg_dev··on Cray-1 vs Raspberry Pi
such a dystopian future... I hope we are not still using plastic then :)
avg_dev··on [dead]
I really don’t think that is the case. Here, I think, is an article about the work: https://phys.org/news/2021-12-octopus-crabs-lobsters-pain.am...

And that has a link to a paper: https://www.lse.ac.uk/News/News-Assets/PDFs/2021/Sentience-i...

Edit: but, you may be right; I cannot find any other source for this NZ news.

avg_dev··on I Love Ruby
yes, that does seem pretty annoying.

however,

  irb(main):001:0> value = false or true
  => true
  irb(main):002:0> value
  => false
  irb(main):003:0> value = false || true
  => true
  irb(main):004:0> value
  => true
  irb(main):005:0> 
I believe if you use the `||` operator instead of `or`, then things just work out fine. I agree it is really annoying. But I am pretty sure if you use a tool like RuboCop https://github.com/rubocop/rubocop (a static code analysis tool) then it will catch bugs like this. Note that I am not recommending Ruby. But in my experience if I want to work with a language and it has a community style guide and a linter that enforces it, it will save me some heartache.

Just editing to add this reference: https://rubystyle.guide/#and-or-flow

avg_dev··on Lessons from a never-ending personal project
i'll be honest, i didn't really enjoy this article. i feel like there are people who are idealists and perfectionists and people who actually execute on ideas. i am not saying one can not change. certainly in my life i have been in the first category for many years or decades at a stretch. but i am at a productive period in my life and i write every day, i write music every day, i write code every day, i accomplish many other things through the course of a day. is everything i do perfect? no: not one thing i do is perfect. perfection is just some ideal or mental standard but it is not something that i think can ever be achieved except in very limited contexts, like maybe a game of tetris.

i remember some years ago reflecting back on some software project that had gone well. in my head, it was a beautiful finished object that i'd created using the tools and frameworks available to me. it was perfect and flawless.

then i went back and read the code and saw so many TODOs and things that i would have accomplished had i only had more time. and i never did get a chance to finish those TODOs, but the project launched successfully and generated a lot of revenue.

avg_dev··on Ruby 3.3's YJIT: Faster While Using Less Memory
I used to work with Ruby and Rails and I really found Ruby to be a very comfortable, terse, and expressive language, but I found it very slow after trying some compiled languages (I think I compared service startup and some simple computationally heavy stuff like Advent of Code or Project Euler solutions) and I just couldn’t go back to Ruby after that. Also I found the Rails (framework) stacktraces and source code very hard to follow.

However, that was quite some time ago. Does anyone have any more recent opinions? How is it to work on a large modern Ruby or Rails codebase? Also, I saw some type annotations examples a few years back and thought they looked pretty ugly - is that how I would feel after some months using them, too?

avg_dev··on Wikipedia exec salaries are sparking a debate on tech sector wages
I think those points make sense. I do think there is some material within though, which is that the tweets had some point. Sure the reporting was not really interesting, but I thought the source material was, personally.
avg_dev··on Wikipedia exec salaries are sparking a debate on tech sector wages
If a mod is reading this, can you please explain why this has been flagged? Thanks. Genuine question here, not trying to stir the pot.
avg_dev··on Wikipedia exec salaries are sparking a debate on tech sector wages
Just because someone does something because they find satisfaction in it or they enjoy doing it does not make it right to exploit their work for huge personal gain and especially when none of that will ever go back to the people who did the actual work.
avg_dev··on Wikipedia exec salaries are sparking a debate on tech sector wages
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@list...

This is from September of last year but it definitely changed my mind about this stuff.

> In fact, however, the Wikimedia Foundation is richer than ever. Its assets and reserves (including an Endowment with the Tides Foundation now holding well over $100 million) have increased fivefold since 2015, and stood at an estimated $400 million at the end of March 2022.

avg_dev··on Debugging a Failing Hotkey
that was the funniest debugging story i've read in recent memory.
avg_dev··on Things I learned from teaching
Definitely thought this was an interesting article. Recalled some of my own thoughts on “struggle” as a way to learn. And am somehow interested in the subject of pedagogy too. Also a software developer. Thanks for the article.
avg_dev··on Extracting training data from ChatGPT
i really don't doubt it... pretty interesting find though.

FTA:

> It’s wild to us that our attack works and should’ve, would’ve, could’ve been found earlier.

avg_dev··on Show HN: Error return traces for Go, inspired by Zig
How does one go about implementing something like this? I am quite curious.
avg_dev··on I cancelled my Replit subscription
hmm, interesting. I wonder if I can install a few extensions manually or something. ideally I would vet the code first...
avg_dev··on I cancelled my Replit subscription
thanks, I think that would make sense
avg_dev··on I cancelled my Replit subscription
Curious what you think of https://github.com/VSCodium/vscodium .

I'm not actually familiar with the issues that VSCode has but I seem to recall some key component was not OSS, but I forget the details there and maybe it has changed. I know it has telemetry and such, but AFAICT that can be disabled by some settings. (I personally use vscode for my own work and disable telemetry and don't use any code assistant platforms, and I would like to know if there is a problem with what I'm doing)

avg_dev··on I cancelled my Replit subscription
A couple of thoughts:

1. Since you say it is an open market with alternatives, I don’t see why you seem to take issue with the blog post author taking one of the alternatives.

2. I thought the author did have some issues with the product. Like lack of persistence of uploaded files, price going up, and the support for the author’s current main language, Lisp, being not as good as for Python.

avg_dev··on Rob Pike’s Rules of Programming (1989)
How is this not covered by points 1 (don't put in hacks because of guessing) and 2 (measure)?
avg_dev··on Rob Pike’s Rules of Programming (1989)
wow, I didn't get that impression at all. And he clearly does say "Measure", not "shut off your brain".

I would assume that if you measure enough things and code enough you may start to get a feel for what is going to be expensive and what is not. And then - as before - you can continue to measure and iterate.

(Also, I think you said "first people" when you meant "first point")

avg_dev··on Razor 1911
fantastic demo. 64k... i've never done anything like that. i think it is a very cool skill to have.
avg_dev··on Razor 1911
> On April 22, 2011, Razor 1911's demo division won the public choice award[7] during the Scene.org Awards ceremony at The Gathering for their 64k intro "Insert No Coins" coded by Rez with music from Dubmood.[8]

Insert No Coins: https://www.youtube.com/watch?v=N5CNlMGcARA

avg_dev··on Giving a Shit as a Service (2022)
i would call this "paying attention".
avg_dev··on Piped – An alternative privacy-friendly YouTube front end
This is my question too. If I am going to risk my Google Account getting banned, there is no way I want to try something like this. If it is actually explicitly allowed, then sure I will use it.
avg_dev··on Firefox accounts renamed Mozilla accounts
I’m pretty fond of their Relay product. I use something called Hide My Email on my iPhone and it, an Apple product, generates an email address that forwards to my main address and a reply-to address that will relay my mail to the sender without revealing my main address. It is great for signing up for stuff on the web. Relay is just like that, but works on my non-Apple computer (it’s a browser extension). It also has an add-on which generates one mobile number that works the same way and you can give it out to services that need a phone number.

I did file a support ticket once and the support person clearly didn’t understand or read my request and instead sent back some pre-formulated response to another query. That was kind of annoying. But other than that I’m quite happy to pay the few bucks a year for the service.

avg_dev··on Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message
I’m curious why I haven’t seen any ads or warnings to disable my ad blocker on YT yet. I do watch a lot of videos. I guess they are likely rolling it out and I will get it eventually.
← PreviousPage 4 of 15Next →