Better HN
topnewbestaskshowjobs
Log inSign up

avg_dev

1,405 karma · joined Oct 28, 2016 (10y ago) · 474 submissions

Submissions

comment 2y ago · link · parent

i enjoyed the read and was quite surprised that there was a happy ending. i didn't think that would be possible. probably that speaks to my own personal experience more than anything.

not really relevant, but anyone know where mad ned is at these days? haven't seen any new posts of his in a while, and i enjoyed a bunch of them.

comment 2y ago · link · parent

i don't understand. i thought TLS or some other form of end-to-end encryption would prevent this sort of thing from happening. it seems like someone has access to the plaintext message other than the participants of the conversation.

how does this happen? (i am not a snapchat user)

not even to begin talking about the political ramifications...

comment 2y ago · link · parent

i didn't know what i was expecting when i started to read this but it wasn't that. i didn't know the author before the article but i thought it was really an amazing read. i think it speaks very well to the power of collaboration and a congenial and healthy work environment.

as another commenter mentioned the thing about the branch prediction bit flipping in awk was quite something. the SE Toolkit to monitor kernel perf, which could run for years without issue - was something cool too. the guy who found and fixed a kernel bug offering the biggest performance win in Solaris 8 in the course of writing the first book in a series called Solaris Internals - wow. the description of "the can of worms project" in which they run workloads that look like what customers might use, things that that go beyond typical eng team benchmarks, and the meltdown prevention and heading off of customer issues, it's a great concept from my personal point of view. i appreciated the touching on other more human subjects like the capacity planning DB pricing calculator for customers and the bizdev, relationship, and product design points.

i started off being jealous of what the guy was saying but i was so blown away by everything that i had forgotten that feeling by the end of the article. it was replaced with awe.

comment 2y ago · link · parent

I wish more people thought like you. To be particularly relevant to your industry: https://en.wikipedia.org/wiki/Phoenix_pay_system?wprov=sfti1...

comment 2y ago · link · parent

Good thought, but

> I figure that if you have knowledge that could benefit thousands of people, and it costs you next to nothing to share that knowledge, it’s your duty to do it.

As someone who has written a lot of docs over the years, there can often be a very high cost in terms of time and effort to document something.

comment 2y ago · link · parent

I’d bet that is not true. I grew up with Napster, Kazaa, Soulseek, Limewire and friends and they allowed me to find so many fantastic musicians and helped start to shape my tastes in music. When I was older and had a job, I supported many of these musicians by buying their albums (and much less frequently, going to one of their concerts).

The thing about art, IMO, is that it does a great service for humanity in giving us hope, purpose, and something to live for. When you treat artists as a cost to just minimize, you make it harder for any of them to succeed at making a living doing their work. I believe that the effects of the very low streaming royalty payments will have a chilling effect on professional musicians making a real go of it.

comment 2y ago · link · parent

The streaming industry pays so very little to the many musicians whose work make them run. It is really sad.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

I’ll have to look into containers and tree style tabs. I have never knowingly used those.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

tbh, i personally think the article is timeless and beautiful

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

such a dystopian future... I hope we are not still using plastic then :)

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

that was the funniest debugging story i've read in recent memory.

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

How does one go about implementing something like this? I am quite curious.

comment 3y ago · link · parent

hmm, interesting. I wonder if I can install a few extensions manually or something. ideally I would vet the code first...
12345
16