HNHacker News
TopNewBestAskShowJobs

kagakuninja

497 karma · joined July 24, 2022

submissionscomments
kagakuninja··on The Layoff
You can find most of your coworkers on LinkedIn, if that is your goal.
kagakuninja··on The Layoff
It used to be that way. Work in the office generally requires a face-to-face meeting, and a box to put your stuff in before you are escorted out of the office.

Most recently, during COVID, I was laid off with no contact with my manager and no explanation. My recruiter called right before my access was terminated at 5pm.

kagakuninja··on Industry veterans get candid on ageism in gaming
I'm an older developer (60), and no longer have an amazing memory like when I was young. It absolutely slows me down and makes it harder to learn new things. That said, I am the top performer on my current team of younger devs, in part because of my depth of experience.
kagakuninja··on Boomers, Gen X Are Also Fed Up with Their Employers
We do have trains, but they are shitty and few people use them. I guess the east coast still has some adequate commuter rail, but Amtrak is a joke.
kagakuninja··on Neal Stephenson was prescient about our AI age
Each of the novels is the size of an encyclopedia, which is why I gave up after Cryptonomicon.
kagakuninja··on Neal Stephenson was prescient about our AI age
I thought Snow Crash was OK, Diamond Age was brilliant, Cryptonomicon was... holy fuck, did we need 1150 pages to tell this story? The subsequent books seemed to be of a similar page count, and I decided I had enough of Neal Stephenson.
kagakuninja··on Oceans May Have Already Seen 1.7°C of Warming
Electric cars help, but are not the solution. If everyone in Asia and Africa bought electric cars, it would be a disaster.
kagakuninja··on Limitarianism: The Case Against Extreme Wealth
To start with, Boeing benefitted from massive amounts of government contracts during their history, which provided much of the money they "dumped into airplanes".

Secondly, we now see a company whose products have severe safety defects due to the influence of cost-cutting managers, more concerned with profits than quality.

kagakuninja··on Limitarianism: The Case Against Extreme Wealth
>Needing more people for funding just adds friction to an already hard problem and will reduce the number of such things that get started.

Because governments can't fund projects?

Not sure what you are arguing for, but IMO there is this idea of the "great men" who build cool things like Space-X. So we should let the wealthy keep their great wealth so that we get more companies like Space-X.

Except what we really get is more corporate looting, oppression and monopoly, plus the hyper-wealthy having excessive influence over government.

If the wealth is spread around, and we no longer have to be wage slaves our whole lives, then collectives of like-minded people could band together and build cool things. We do see that in the open-source world, but most contributors are not earning money they need to pay bills.

kagakuninja··on Limitarianism: The Case Against Extreme Wealth
Not only do I want everyone in my "class" to contribute more to society, everyone significantly above me should be contributing a larger share. This is the basis of progressive taxation.
kagakuninja··on Limitarianism: The Case Against Extreme Wealth
That's not how it works. Get Elon and friends to donate half his wealth and then we can talk.

Progressive taxation is a good idea...

kagakuninja··on Another Roman dodecahedron has been unearthed in England
Come now... Saving rolls use icosahedrons. Old-school paladins used D12 for hit points, I don't know about 5E.
kagakuninja··on The Case for Rust in the base system
>2. got amazing, highly flexible and generalized iterator and monad support (you can use iterator methods on monads), basically second only to Haskell itself, that compiles down to the equivalent of hand written assembly code loops

As I understand it, Rust lacks do-notation and higher-kinded types, making it hard to have true monads in Rust.

Scala would be the language with monad support comparable to Haskell.

kagakuninja··on Some memories of Niklaus Wirth
I just compiled our oldest, largest micro service, it was 17 seconds. This is a full recompile, which I rarely need to do, because IntelliJ has incremental compilation. If you have a giant mono-repo, then compile time becomes important.

I can only guess what these "Scala experts" were doing, there are certain language features that can slow your compile times, and libraries like Shapeless that leverage those features in amazing ways, but can kill your compile times.

Scala is a toolkit that enables amazing things, but you have to understand the trade-offs, both in terms of compile time, and understandability of the code.

>In the real world, types have traits/interfaces/expected attributes etc. and type erasure prevents the compiler to verify this when using binary dependencies, which is obviously _not_ what one wants in a statically compiled language.

Scala has ways of recovering the information, such as using context-bounds and type manifests. Scala can actually verify an amazing amount of constraints at compile time, but the more exotic tricks will increase compile time.

What you are complaining about are foot-guns that rarely happen in my 20 years experience with JVM languages (I think generics were added in Java 5, but still...)

kagakuninja··on Some memories of Niklaus Wirth
Look, I've been using Scala professionally for 8 years. I don't notice that my compile times are any slower than Java, although I haven't tried any meaningful comparison. There are some notorious libraries like Shapeless than can kill your compile times; the solution is to not do that, unless the trade off is worth it to you.

It could be x1.2 slower, maybe even 2x, and I wouldn't notice it, because it is fast enough. IntelliJ has incremental compilation. Compile times only matter when I do a full rebuild, and it is still fast enough.

If I had to build a giant mono-repo like at Google, then the compile speed of languages like Go become important.

kagakuninja··on FAQ on Leaving Google
Step one: dry your tears while counting your giant pile of money...
kagakuninja··on Some memories of Niklaus Wirth
Current Scala compile times really aren't that bad. Yeah, Go will be 10x faster, but then you have to use Go...

For a typical micro service, I never think about compile time, thanks to incremental compilation. Even a full compile is not bad. Tooling is also fine, although Scala 3 set things back. IntelliJ now supports Scala 3 adequately.

kagakuninja··on Some memories of Niklaus Wirth
Type erasure is an interesting discussion, because functional programmers love type erasure. Consider the function:

    def foo[T](t: T): T    
If the function is truly generic, then we know nothing about the implementation details of T. The only meaningful implementation of foo is identity:

    def foo[T](t: T): T = t
From a FP perspective, T should be erased, and the programmer should not cheat and use reflection. The type signature should tell you much about what the function does.

I've used Scala professionally for the last 8 years. The tooling is fine, assuming you avoid exotic libraries like Shapeless. Compile times are fast enough that I don't think about it much, using IntelliJ incremental compilation. A full recompile of a micro service might take 30 seconds, whatever it is is not a big deal IMO.

> opening projects in an IDE like IDEA could take up to 30 min on high end workstations

This is insanely wrong. Maybe you are operating on experiences from 10 years ago? I have a new M2 MacBook Pro, and opening projects is quite fast. The first time you do it, it will resolve the SBT dependencies and index files. That can be done in the background, and is probably less than a minute for a typical project. Even my previous laptop could open projects quickly despite being 3 years old.

> the Scala data structures have been at least an order of magnitude slower than the JVM native ones

They are slower, but not an order of magnitude slower. Perhaps you are remembering the infamous email from the Yammer CTO that got leaked, but that was a long time ago, and the compiler and libraries have improved greatly since then.

But yes, in performance critical code, you can just switch to an imperative style and use Java collections.

I don't have time to explain the benefits of Scala features, but I'll just point out that other than implicits, many ML inspired features of Scala have made their way into modern languages, including Java, C#, Rust and Swift. Scala didn't invent those ideas, but repackaged them in a novel way.

kagakuninja··on Google Cuts Jobs in Engineering and Other Divisions
I have worked in the Bay Area for decades, and never seen 400k+. My current contract comes out at about 165k with no benefits.

The reason I work for a soul-less telco, is that it is hard (for me at least) to find a job in the first place. I've been at plenty of small companies as well. If I could have gotten in at Google I would have done it in a heart beat, not just for the money, but to have FAANG on my resume.

kagakuninja··on Google Cuts Jobs in Engineering and Other Divisions
I agree that job hunting is brutal. However, my experience in doing interviews recently is that half the guys who got through the screening interview with our manager were worthless. And he probably rejected 90% of the candidates sent by the recruiter. Of the 2 people hired, one is kind of mediocre, and we are not talking FAANG standards.
kagakuninja··on Google Cuts Jobs in Engineering and Other Divisions
I've had great relationships with managers like you. And yet had that sudden 1-1 meeting where I was told "your services are no longer needed". In one case, there wasn't even a face-to-face meeting, or any explanation for termination. I got a call from my recruiter, and my corporate access was cut off precisely at 5pm.
kagakuninja··on Google Cuts Jobs in Engineering and Other Divisions
Maybe because you aren't old...

My career went in to the toilet in my 40s, and it has never really recovered. However, I'm an introvert and on the spectrum, so I lack good networking skills and never moved up the career ladder.

Even so, among my circle of friends there is a consensus that many of us were struggling around age 50, and now I am 60. The only jobs I've had in the last 5 years have been contracts. My current gig, I haven't seen a raise in 3 years, despite 20% inflation. I've been told that the company I work for has a freeze on raises, so I will have to start job hunting...

kagakuninja··on Is Objective-C BOOL a boolean type? It depends
Obj-C++ is the ultimate in glorious insanity.
kagakuninja··on U.S. moves closer to filing antitrust case against Apple
Speaking for myself, I live in the hills and have shitty cell reception.

One friend in a group chat has an android, and that hoses the messages I send out, because Apple will default to SMS. It is quite maddening.

The main complaints from other seem to be about high def videos, pictures etc, which I don't personally care about.

kagakuninja··on The neglected clean heat we flush down the drains
Yep. Most homes have multiple sources of waste heat. Clothes dryers, ovens, AC, refrigerators... The heat from refrigerators is vented into the home, which is inefficient if you are running the AC.

I've been wondering for a long time why we don't have whole-house heat recovery systems.

kagakuninja··on Fewer people are buying electric cars in the US
This is where plug-in hybrids rule. Battery for short trips, ICE for road trips.

I have a Prius Prime, and the charge is enough for driving around town. If it had a 50% larger battery, it could have gotten us to work on one charge. But we don't commute since the pandemic.

kagakuninja··on First new U.S. nuclear reactor since 2016 is now in operation
Chernobyl is an example of what Bruce Sterling calls an "involuntary wildlife preserve". He didn't claim that was a good thing, of course...
kagakuninja··on Code Is Not Technical Debt
Bob's code is technical debt. Fuck that guy.
kagakuninja··on Record global temperatures and U.S. billion-dollar disasters
And climate change is making it worse. It isn't just the government's fault.
kagakuninja··on Google OAuth is broken (sort of)
He used to own the account, now I own it. I've tried resetting the google account password and the like, there seems to be nothing I can do.
← PreviousPage 4 of 9Next →