HNHacker News
TopNewBestAskShowJobs

zumu

1,042 karma · joined March 26, 2016

submissionscomments
zumu··on How Tokyo became an anti-car paradise
15 years ago in Tokyo I was ordering via QR codes and tapping to pay with my phone. Seems pretty futuristic in retrospect.
zumu··on Ask HN: Why don't smartphones encourage programming like early 80s computers?
Programming is a means to an end.

If kids could have just instantly downloaded any program they wanted, they wouldn't have been copying programs out of the back of magazines.

Personally, I came a little later, but I also learned stuff because I had to in order to do the things I wanted to do. After enough exposure I realized it was fun and interesting.

zumu··on How ChatGPT is changing the job hiring process, from the HR department to coders
If ChatGPT is trained on StackOverflow and people are using ChatGPT instead of StackOverflow, it seems pretty clear ChatGPT's use of StackOverflow's data is not protected under fair use.
zumu··on GitHub slashes engineering team in India
Nonetheless, very few people went in, even before the pandemic. They should have closed it years ago, tbh.
zumu··on Ask HN: Year old CS student. Should I continue?
> I'm interested in physics and engineering, I think I could enjoy a career in either, and I've still got time to pivot to either.

> And yes, there's more to CS than programming, but not in a way that pays the bills

I'm curious what bill paying career you think is readily obtainable with a physics degree.

Moreover, while the GPT/LLM stuff is very exciting, it is coming out of the CS field. If you truly think it's transformative, that shows you the potential of CS and programming and is all the reason to pursue a CS degree.

Stick with CS if you like it—the career prospects aren't going anywhere. However, if you're just trying to get paid, there's always finance.

zumu··on Show HN: Yaksha Programming Language
Variable/Parameter names are nicely aligned so there's less scanning to read them. Personally I usually read function arguments before return type, but I can see instances where I'd want to look at return type first. If you're line breaking on parameters for long function signatures, it's not so bad though—the return type will be in a predictable place.
zumu··on French bulldogs are taking over America
> French bulldogs are designed and bred to have health problems. They should be verboten to breed at all, but that's not possible.

Well, to a certain extent all the AKC dogs have health problems. Even big dogs have stuff like hip dysplasia. Some breeds are healthier than others, but the most important bit is buying from an ethical breeder if you must get a pure bred. Sketchy breeding practices are what exacerbate the health issues in popular breeds.

zumu··on JDK 20 and JDK 21: What we know so far
> the requirement to explicitly spell out the generic type params every time always catches me off guard and sorta craps up the code a bit

I'm glad it's not just me! I was implementing Either<T, U> the other day, and found writing Left<T, U> and Right<T, U> a little dirty. Progress is progress though.

zumu··on Ask HN: What Stack/language/technology should one learn for employment?
Your question implies that knowing a specific stack/language is the key to employment opportunity. From experience, I don't think that's the case.

For web stuff, I'd suggest learning JavaScript if you're interested front end or something like Golang if you like back end. Those will expose you to the necessary concepts you need to perform in those roles without bogging you down too much in cruft. You can safely apply to roles for most languages if you can demonstrate your knowledge sufficiently.

zumu··on Homelessness is primarily a housing problem
Why should issues like homelessness be reducible to one 'primary' cause?

Highlighting housing costs as a significant contributing factor is an important point to make, but there's no need to undermine the other contributing factors through bad faith arguments and cherry picked statistics. Yes, homelessness clusters in cities with robust social programs, esp. those with temperate weather. These same cities are also the most expensive in the US, effectively creating homelessness traps.

As for following in the footsteps of Houston, it's not nearly as feasible for these places. They have up to 10x the homeless populations and 2-3x the housing costs. Compare providing 5,000 units in Houston vs providing 70,000 in Los Angeles.

We should absolutely look to provide more subsidized housing to the needy, but it's clear we aren't aren't able to do it in the most in demand real estate markets in country.

EDIT: numbers

zumu··on Scala Resurrection
I'm not sure if I'm enjoying this, but there's certainly a lot of passionate content out there!
zumu··on Scala Resurrection
I've just recently tried to pick up Scala, by going through the excellent Hands-on Programming with Scala so I can provide a newcomer's perspective.

Metals is great if a bit buggy. Being able to just install a VSCode plugin and start hacking is huge. If you want to win new programmer mind share, improving Metals (or some other VSCode language server) is the way. Scalafmt is nice to see coming from Java.

The build tooling situation is awkward. Mill looks much more modern than sbt but clearly isn't the de facto choice. The general community displease about sbt further adds to the unease. The main take away here should be the onboarding experience to the build ecosystem does not instill confidence.

The difference between ZIO/Typelevel stuff is not immediately clear. Why are there two functional programming ecosystems? I guess it's a convention vs configuration debate? It seems like the two ecosystems should overlap then, but fair enough.

A single language level package repo would be cool for discoverability purposes, but I'm also used to the multi-repository thing. A directory or something to make packages more discoverable might be a good half-step.

Ammonite is fantastic, but along with Metals and all the other tooling I've used, it works better under Scala 2. Scala 3 is still kind of weird.

The biggest things to me would improve Metals, improve onboarding for build system, improve Scala 3 support for tooling all around, improve discoverability of defacto best/most active packages.

zumu··on The rise and fall of Bootstrap and how Tailwind became the go-to CSS framework
I'm also not a fan, but for bootstrap you have to understand how those semantic class names turn into CSS and presentation, whereas the bottom is directly telling you what it does. It also gives you a lot more flexibility out of the box.

Tailwind accepts greatly reduced DRY for straightforwardness. It's kind of like inline styles with training wheels.

I'd much rather do this type of thing in the CSS layer, but doing it inline has advantages. Mainly, I think the reason it's caught on is new junior devs get productive in it very quickly.

zumu··on Students suing elite U.S. colleges seek 'wealth favoritism' information
> the largest driver of unfairness in the admissions process is legacy admissions and donation quid pro quo arrangements

From my personal experiences, I suspect the restriction of financial aid based on arbitrary cutoffs affects more people. I know several people who got into ivys, but didn't go because they didn't qualify for financial aid and chose not to take on large amounts of debt, coming from frugal lower/middle class families.

zumu··on Ask HN: Using Java for a web application in 2023
A lot of people get by using lighter weight IDEs or just text-editors for other languages, where a heavyweight IDE is not as necessary. The only thing I miss from IntelliJ when using something else is the debugger. JetBrains debuggers are great, though most editors of passable debuggers these days.

For formatting, the only compelling truly framework agnostic option I know is the google formatter (unconfigurable). The other options are either editor specific (IntelliJ and Eclipse configurations are incompatible go figure), cost money or are half-baked (prettier). Now I believe there's a way to use spotless (tied to gradle/maven) to use one of the IDE specific formatters across IDEs at the build tool level, as you point out, but that's kind of a different thing, heavy weight and working around the underlying problem. Compare this to gofmt, rustfmt, scalafmt, black, prettier/eslint, etc. that are fast, framework agnostic and require no boilerplate. Formatting is a solvable problem in Javaland to a degree, but wow is it unnecessarily complicated and fraught with decision points that can end up in bikeshedding committees.

As for boiler plate, I'm talking about language level stuff, like having to make a class and separate file for every simple data structure, then having to implement hashcode/equals for all those classes, etc. Where in other languages, you can just return a tuple or a result or what have you and get on with your life. Again, IntelliJ will just do most of this for you, but supervising my IDE in boilerplate creation is not a joyful experience. And if you skip supervision, you are basically saying the IDE is now a dependency and the correctness of your program depends on the correctness of your IDE. Not super great.

Anyway, IntelliJ is certainly an amazing piece of software that makes Java development more productive, but learning it, configuring it, etc is a whole thing. Other modern languages provide much better QoL features out of the box and have a much less incidental complexity that don't require an IDE to get around. That said Java has the best library ecosystem, the biggest pool of developers and solid performance.

zumu··on Ask HN: Using Java for a web application in 2023
By many metrics it's an excellent choice, but I kind of loathe working with it. However, if you don't mind living in IntelliJ it's significantly better. For example, there's a ton of stuff that doesn't exist, except in IDEland like basic formatting support (this blows my mind). You'll also want an IDE to help you refactor since there's a ton of boilerplate cruft and footguns to avoid. Nonetheless, library support for most business use cases is nearly unparalleled, performance is strong if you can deal with GC and there's a million Java developers to hire from.
zumu··on Ask HN: I just want to have fun programming again
> I feel like there aren't really any good options in software development any more. It's always one big compromise with lots of possible decision fatigue. Every direction has drawbacks.

You just gotta pick something and go. I know nothing about your app, but there's plenty of general purpose languages out there that wouldn't be a bad choice. Over-optimizing is gonna kill the fun and you'll get nowhere. Choose some tech that solves your immediate problems and maybe keep things modular so you can break out the pieces that aren't working later.

Remember the fun part is building things. So go build something.

zumu··on You Shouldn't Exercise to Lose Weight
> Cycle to work. Cycle to work. Play with your kids. Start a hobby that doesn’t involve programming something in rust. Moving your body should not and cannot be viewed as something that happens only in a gym or in 30 minute increments.

Honestly just walking more is huge. An extra 2-3 miles a day of walking is pretty easy to work in—it takes like an hour. You can kill a podcast and get some errands done at the same time if you do it right.

zumu··on You Shouldn't Exercise to Lose Weight
Excuse the napkin math, but presuming a common candy bar such as a snickers is 215 calories and walking a mile burns 100 calories and you walk an average of 2.5-3 miles per hour, you will need to walk less than 1 hour to burn the calories off.
zumu··on Builder's Remedy goes into effect in many California cities tomorrow
Looking forward, if we really do turn automotive transportation green, some of the negative effects like air quality will improve dramatically. Though I suppose the accompanying reduction in noise will be a detriment for your particular sleeping needs.
zumu··on Rust's Ugly Syntax
Rattlesnake is actually pretty good. I also like CrabML but I wouldn't expect that to be popular though.

In general, I don't love Rust's choice of sigils (::, <>, etc), but the language reads well enough. That inner/outer function thing is legit the compiler model leaking into user code though.

zumu··on The California roll was invented by a Japanese-Canadian chef (2020)
In my experience a california burrito has french fries _and_ guac (avacado).
zumu··on Stanford's “Elimination of Harmful Language” Initiative
I always considered it ageist. Gen-X and above who have been using terms like "guys" since they were subversive are now targeted and made unwelcome. Younger "folks" meanwhile are fresh from the birth place of PC terminology--American universities--and therefore on the level by default.
zumu··on Show HN: Trading cards made with e-ink displays
Most proxies are crudely sharpied words over other cards, so the low-res 4-color greyscale is a huge improvement haha
zumu··on Show HN: Trading cards made with e-ink displays
Can I load up whatever images I want? The dream would be proxying Magic cards for playtesting. If you could load net-decks and shuffle via an app over NFC somehow, that'd be amazing as well!

Lots of possibilities here!

zumu··on Why I Switched from Rust to Go on the Back End
So out of the 3 points, 1 is not an actual problem, but just learning curve, 2 is a mostly complete, but slightly limited mocking library, and 3 is an unoptimized local dev/build process.

I actually think those are fair reasons to switch to something more straightforward for a solo dev, but none of these are true showstoppers and the story for each will get better in time. Good feedback on the Rust in general.

zumu··on There was a stretch where phone design went bananas
>Hitachi WOO Ketai H001

I remember that one! The aughts were a truly a golden era in Japanese phone design. The technology was also waaay ahead of the west. We're just now starting to actually use the QR code thing, which was everywhere in like 2005. And 1seg? That was really fun tech. TV on my morning commute was truly like living in the future.

For iconic phones, though, I was always a big fan of the au Design phones like the infobar (2003) and Design Skin. The color schemes are legendary.

zumu··on Plastic recycling remains a 'myth': Greenpeace study
We need to be careful about this narrative as we risk throwing the baby out with the bathwater. Keeping pushing "recycling plastic" is useless and people are going to stop recycling all around. The real message here should be to focus on PET and HDPE and for local recyclers to be more transparent about what plastics they can recycle. Reuse is good and all, but it's not the whole solution. Single use plastics aren't going anywhere.

Since China banned imports of waste, Japan has been working on improving recycling capabilities at home. They collect something like 86% of their plastics properly sorted and are developing new more readily recyclable plastics. We should follow their lead.

zumu··on Toyota CEO talks about why he isn’t all-in on EVs
> But how about you start by no lobbying against climate rules

The only lobbying I've heard of is against the narrow focus of BEV-only[1] policies and to include hybrid, HEV, etc. What other lobbying are you referring to?

1: https://www.energy.senate.gov/services/files/E2EA0E4F-BAD9-4...

zumu··on Why isn't the Holodomor taught in schools?
Is it not? I learned about the Holodomor in high school in Oklahoma of all places.
← PreviousPage 2 of 15Next →