HNHacker News
TopNewBestAskShowJobs

fish45

617 karma · joined May 4, 2020

submissionscomments
fish45··on Green vs. Brown Programming Languages
The subject is about why the stack overflow most loved programming languages tend to be recent. The article argues that because developers don't like legacy code, their impressions of languages used in legacy codebases are tainted. The subject is distinctly not about what languages are best in legacy codebases.

I have written code in many of the languages on the list, green or brown, and in a few of them I've worked with large codebases not written by me. I wouldn't consider any of them legacy though since they're fairly recent.

I am also a person, so I have preferences about the languages I write in. These preferences are exactly what stack overflow polls about. Because I have not worked on any legacy codebases, my impression of brown languages has not been affected by working on legacy code.

The fact that I, as a person who responded to the stack overflow poll who generally prefers green languages to brown languages, am unaffected by the factor that the author presents as significant, is an anecdata in opposition with the author's argument.

It's true that I'm uninformed about working on legacy codebases, but that's not the subject that my initial comment addressed

fish45··on Green vs. Brown Programming Languages
I mean, if I've never had to maintain legacy code then my opinions on any given language are completely uninfluenced by the "honeymoon period" factor that the article is about, yeah?
fish45··on Green vs. Brown Programming Languages
I've never had to maintain legacy code before, and I would prefer any language on the green list to any language on the brown list (right tool for the job aside), aside from Python and maybe C#. I know there are plenty of students and hobbyists who feel the same.

I think the author is thinking too hard and overstating their results.

fish45··on Association of sleep duration in middle and old age with incidence of dementia
I don't think it insinuates a causal relationship.

I interpret "30% more likely" as the same as "associated with a 30% increase," which is what the article claims.

fish45··on Association of sleep duration in middle and old age with incidence of dementia
More accurately, middle aged people who get less than 6 hours of sleep a night are 30% more likely to get dementia.

I'd expect that people who get less than 6 hours of sleep are also more stressed and less health concious though.

fish45··on Discord ends deal talks with Microsoft
Honestly, in terms of features, not much. The biggest issue personally is that screen sharing on Linux with multiple monitors doesn't work well, but AFAIK that's a chromium thing. Another thing I'd really like is for twitch streams to be integrated with Discord streams. Otherwise, the main thing I'd want out of an alternative is privacy.
fish45··on Discord ends deal talks with Microsoft
Speaking as an 18 y.o. doing my first year college online, I wouldn't have made it through quarantine without Discord. I've a server with my high school friends and since Discord lowers the barrier to join a voice call so much it's super chill to just hop in a channel when doing homework or playing a game or whatever else, and anyone else who's free can join.

I really wish there were competition, but there's nothing AFAIK that can replicate this particular experience except for Teamspeak, which has other problems.

fish45··on Grids in Rust, Part 2: const generics
> Are there other languages than rust that supports it?

Const generics are essentially a really small subset of fully dependent types, which are implemented in Idris 2 and other research languages.

fish45··on Benign Joint Hypermobility Syndrome in Patients with ADHD
Anecdotally, my sister and I are both ADHDers with significant hypermobility. My mom has a double jointed thumb but no ADHD, and my dad has (undiagnosed but likely) ADHD but no double joints.
fish45··on Benign Joint Hypermobility Syndrome in Patients with ADHD
ADHD gets referenced here frequently as a result of too much screentime/social media etc. However, the hypermobility and ADHD association is pretty well documented. While it's true that people may start to show ADHD like symptoms as a result of the internet etc., no one spontaneously becomes double-jointed because they're distracted by their phones.
fish45··on Frink
I've had to implement unit math recently for CalcuLaTeX [0] and it's given me a lot of appreciation for how difficult it actually is. I've got it almost completely working with SI units but I haven't thought through fractional unit powers yet.

I really should've based it on something like GNU units.

[0] https://github.com/mkhan45/CalcuLaTeX

fish45··on Ask HN: What's Your Side Hustle?
I tutor middle/high school kids in math and CS. I make $35 an hour which is pretty good considering I'm a freshman in college and some of the students are pretty close to my age so it can be fun.
fish45··on Ask HN: How have you cured your RSI?
I never had actual diagnosable RSI, but I was on my way there I think. I really highly recommend split ergonomic keyboards though. They run quite expensive but are worth it IMO. At entry level there's the Kinesis Freestyle (~$100) but the Kinesis Advantage ($350) is probably the best ergonomics you can get without going for a more niche enthusiast focused keyboard.
fish45··on Numi – Calculator app for Mac
Hey, that's me.

I think Numi's more oriented towards a general calculator, whereas CalcuLaTeX is more for longer form problems or documents, although I know that at least a few people use it like a scratchpad. I'll definitely take some inspiration from Numi though.

By the way, the new website for CalcuLaTeX is https://calcula.tech

fish45··on Ask HN: Do you read books regularly? Fiction or nonfiction?
I'm on book 5 of Wheel of Time right now. Honestly I haven't liked it as much as anything Cosmere so far but I'm hoping that will change.
fish45··on Ask HN: Do you read books regularly? Fiction or nonfiction?
I agree that e-ink ereaders are amazing. I had a Kindle for 4 years or so but surprisingly it broke. Nowadays I've got a Kobo which is much nicer though.
fish45··on Ask HN: Do you read books regularly? Fiction or nonfiction?
I might try to take that approach in the future. Usually when I get bored of whatever book I'm reading I just queue up a video game though.

Oathbringer is really great.

fish45··on Ask HN: Do you read books regularly? Fiction or nonfiction?
> I get my technical content during the day from the internet so don't really feel the need to read technical books, though I'll make the odd exception.

This is definitely where I'm at. The only two technical books I can say I've really read are The Rust Book and Crafting Interpreters, both of which I kind of skimmed, wrote some code, and read more in detail to fill in the gaps.

Count of Monte Cristo is one of my favorites.

fish45··on Show HN: Counter – Simple and Free Web Analytics
This is exactly what I was looking for. I set it up on a site in hardly a minute.
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
Blockpad looks quite nice but personally I prefer a text based interface. I'm sure most university students would disagree though.
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
> 100m/s = 0km/s

yeah that's not supposed to happen. I'm not completely sure what's up there but thanks for the report

km/h doesn't work but km/hour does. I haven't added h as an alias for hour since it's also the SI prefix for hecto.

fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
Yeah that's not intended, although it's a pretty low priority bug since it's still correct. Thanks for letting me know!
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
That's pretty cool. I did search for a unit calculation library before starting this but since WASM is a priority I wanted to use a Rust one.
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
The main export of the Rust/WASM library is just a function which outputs LaTeX; it should be pretty doable to add a button to the website which does what you're asking. I think I'll just add a checkbox to set whether it actually renders or not.
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
Weird units are cool. I was pretty mindblown when I realized that radians are basically meters/meters and steradians are meters^2/meters^2
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
Haha if only.

GI Taylor should be able to publish his findings by the end next week

fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
That's really cool. I'll definitely look to it for inspiration
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
> What made you choose LaTeX for the tool?

I was originally planning to use MathJax and HTML or Markdown but honestly it wasn't a completely conscious decision.

About proper algebraic stuff, it is a long term goal to have at least a basic polynomial solver, but I've no experience in the area and I'm not sure how far it can go.

fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
I definitely agree that error handling should be improved. I'm trying to keep the LaTeX output as portable/minimal as possible though so I'm not sure if highlights are doable. My current plan is to output more diagnostic info and let the JS interface figure it out.
fish45··on Show HN: CalcuLaTeX, a pretty-printing calculator language
It supports every SI unit and many derived units. It doesn't yet support fractional units, e.g. km^3/2 though. AFAIK there aren't any fractional units that have physical meaning but they might appear in intermediate steps sometimes.
← PreviousPage 2 of 4Next →