HNHacker News
TopNewBestAskShowJobs

cupofjoakim

925 karma · joined April 10, 2013

submissionscomments
cupofjoakim··on Ink: React for interactive CLI apps
> the most robust type-system in the world (Typescript)

This is very high praise for something that only provides safety at compile time and not runtime.

cupofjoakim··on Ink: React for interactive CLI apps
I get that there's a lot of people only comfortable in the js-landscape, but I still think this is a weird tool for the job. If performance is a concern there's no way node is the right thing to start, and react just seems silly to me here. Should be noted that I do a big portion of my day to day work in react - no hate on the framework.
cupofjoakim··on Web Assembly audio decoders highly optimized for size and performance
I used to work at a place that developed a DAW in the browser, and yeah, we used a WASM Ogg Opus decoder to save on storage costs for our sound library. We earlier had to have mp3s for safari devices. With opus being opus we really wanted to provide it for the majority of devices as well as our server side streaming, and being able to provide opus support for safari ourselves was a godsend.

Edit: Should note that our decoder was developed in house and I have nothing to do with the project OP linked to.

cupofjoakim··on Jujutsu (jj), a Git compatible VCS
I'm still unsure of why I'd want to move to jj from git.

My ideal git workflow is pretty simple:

1. `git switch -C new-branch` 2. Make changes, time passes 3. `git add .` 4. `git commit -m "Description of changes made"` 5. `git fetch && git rebase origin/main` 6. `git push` 7. Make pr to main

If main is out of date I rebase again to update.

This to me feels pretty light weight and is not a hinderence in any way on my day to day tasks.

What exactly makes `jj` better? Is there a specific usecase i'm not understanding?

cupofjoakim··on Virtually Hawaii
The syntax seem to differ, so I don't think so
cupofjoakim··on Virtually Hawaii
This predates my own web developer journey by a good 15 years, and I found one feature that I'm unsure about how it ever worked.

Navigating to "Virtual Field Trips" takes you to http://satftp.soest.hawaii.edu/maps/butbar.map . At this page you're greeted with what I take is instructions to paint out a frameset?

```

rect index.html 0 0 79 49

rect navnew/navigator.html 80 0 159 49

rect virtual.field.trips.html 160 0 239 49

rect http://radlab.soest.hawaii.edu/satlab 240 0 319 49

rect feedback.html 320 0 399 49

```

It's obviously "shape src x y width height" (or swapped around).

I'm having issues finding a resource that explains what this is and why it seemingly worked in a browser in the 90's but not now - i.e. when it was deprecated and to what degree it was supported prior. Does anyone know more?

cupofjoakim··on Virtually Hawaii
Fascinating. I wonder what machine is processing the requests...
cupofjoakim··on Högertrafikomläggningen
I can agree on all of the points except "Speaking English". The way things are going it's going to be either that or mandarin regardless, but there's so much culture in language that IMO it'd be a shame to hurry it up.
cupofjoakim··on Go Enums Still Suck
I'm having some real issues with legibility on this page. I'd like to encourage the author to decrease the font size, increase the line spacing and look into a smaller max-width for the paragraphs. It'd also be nice to have some spacing before a new sub-heading.

I'm coming from a 4k screen, so that does play into it, but i honestly just could not read the article without changing the text properties here.

cupofjoakim··on Java 22 Released
To me the question "Why would I use X over Y?" in programming space is a bit redundant. Why would I use Kotlin over Closure? Why would I use Groovy over Scala?

Even only considering JVM languages you run in to way too many options for the question in itself to be worth your time as a serious discussion.

IMO - use whatever you and your team like best and that suits your needs. Java is great for hiring new devs and is arguably the most well established in an enterprise settings.

If you want an actual answer: Personal preference.

cupofjoakim··on The Layoff
As a guy who surfed the unemployment wave twice the last year, this was a fun read, albeit sad.
cupofjoakim··on Owners report rust forming on Tesla Cybertruck
Well, leather is leather. Of course there will be changes in its' appearance over time. What did you expect?
cupofjoakim··on Unity's Open-Source Double Standard: The Ban of VLC
Not a video game developer - but I wonder if it'd be a good call for videolan to make a vlc plugin for godot? It's still gaining momentum and (afaik, could be wrong) have the same thing as unity with a inbuilt media stack but it's fairly limited.
cupofjoakim··on GitHub having issues today
Happy I'm not in a hurry with any specific work items today. Hope it's not too much of a mess to figure out for the github peeps. Much love to them.
cupofjoakim··on Attacking journalists as terrorists
For better of for worse, the title of this site is "Hacker News" - and hackers tend to have strong feelings about privacy issues like this.

I personally appreciate articles like this being posted, as they don't _really_ feel political and both lefties and righties can agree that freedom of speech and journalism is important. Except the extremists of course, as I'm sure I will be made aware of in any replies to this comment.

cupofjoakim··on Spotify will reduce total headcount by approximately 17%
I both agree and disagree with you here. The expectation of the podcasting business to be full of great opportunities and monetary gain was (probably) misguided, but 25% market share in an established market in just a couple of years when there were big players holding a majority share is still a huge feat.

Will it pay off? Probably not. But is 25% a big share? Yes.

cupofjoakim··on Spotify will reduce total headcount by approximately 17%
For what it's worth Spotify is the most popular podcast platform in the US, with 25% of the userbase: https://explodingtopics.com/blog/podcast-listeners#podcast-p...

I'd say that gamble in particular worked. Not so sure others will though, audio books feels like it will be a dud.

cupofjoakim··on Swedish union declares strike for Tesla employees
In the swedish version of this article they listed what the collective agreement would mean

Translated:

This is what the employees of tesla does not have compared to if they had a collective agreement:

- A complete insurance package with Fora

- The comprehensive adjustment support found in the main agreement between the social partners

- Salaries are lower compared to the average in the motor industry agreement

- Without the collective agreement no yearly raises are guaranteed

- No possibility of part time retirement

- They also do not have reduced working hours

Original:

Detta har inte de anställda på Tesla jämfört med om de hade kollektivavtal

- Ett komplett paket med försäkringar hos Fora

- Det omfattande omställningsstöd som finns i huvudavtalet mellan arbetsmarknadens parter

- Lönerna ligger lägre än genomsnittet i Motorbranschavtalet

- Utan kollektivavtal garanteras inte årliga löneökningar

- De har inte möjlighet till deltidspension

- De har inte heller arbetstidsförkortning

As many others have pointed out, these agreements are fundamental to the swedish labor market. While it's not as common in tech, industries like car manufacturing are almost completely covered.

cupofjoakim··on Kafka as an Antipattern
The company I worked for when GDPR went into action used kafka in every configuration possible. I've seen some pretty decent uses but also some horrific ones.

I agree with the author to an extent - kafka is overly complex for low traffic systems. It can however be a godsend in specific cases, but what those cases are can be hard to pinpoint.

cupofjoakim··on System Shock remake
Why? In what way is it better than through your personal nostalgia?
cupofjoakim··on Gitless: A simple VCS built on top of Git
I support this fully. Juniors and intermediate engineers I work with still struggle with git quite often and I personally know how that feels firsthand.

Not sure if this solves the issue. I personally recommend using git, but keeping it simple by limiting the allowed operations.

- git switch - git checkout - git add - git commit - git pull - git push - git rebase - git reset

Note the absence of merge and and cherry pick. Most often when a junior has messed something up it seems to be because of merging in a weird order or cherry picking the wrong thing before merging or rebasing.

Either my juniors have stopped asking me for advice (totally possible) or this recommendation helps. As I find myself very seldom needing those commands I hope and believe it's the latter :)

cupofjoakim··on TP–7 Field Recorder
Going out on a limb here, but I would guess it doesn't. If the pricing will be similar to the other entry in the field lineup (TX-6) we're looking at many multiples of the price of a Zoom H4n Pro, which I also would guess has a wider arrange of features - except the transcription.

That being said - teenage engineering is probably not looking to compete with Zoom. The branding is totally different. TE is looking for a premium market, while the first thing I was met with on zooms homepage was a button that said "New lower price!".

Teenage engineering continues doing something that I don't really understand - making me want to buy stuff that is really expensive that I have no need for. I won't buy these things, but every time I see them I do appreciate the craft.

cupofjoakim··on GitHub switches to Rust based Blackbird code search
This type of comment does not belong on hn. Take your frustrations elsewhere or discuss your point.
cupofjoakim··on Framework Laptop 16
GPU modularity makes the framework even more interesting for small form factor pc projects. I might pick it up for my re-imagining of the ibm ps/2 laptop.
cupofjoakim··on DIY triple-screen laptop based on the framework
This has basically refueled my idea of making a modern version of the IBM PS/2 Model P70. Instead of desktop components I can use parts of a framework pc to skip out on a lot of the horrors of planning custom builds like this.
cupofjoakim··on Fosstodon Hub – More Upgrades
Mastodon simply won't be able to scale at the rate this is going. It's simply too expensive to run the instances and too labor intensive to moderate.

TBH I think it might've been a mistake from mastodons side to allow media hosting. Running ffmpeg in the background to transcode video, the image optimization scripts and the hosting of it all gets a bit costly.

I might be wrong on this, I don't run an instance myself, but in my perspective cost cutting should be prio number 1 even if it means you have to cut back on some features. Removing toot edits should allow for a more aggressive caching strategy etc.

This should allow more people to start their own instances without being afraid of potentially hitting it big.

cupofjoakim··on Mark Zuckerberg confirms broad layoffs to begin at Meta
If Meta is removing non-essential employees I wonder if we could see the core react team having to leave at some point. That could be quite the shift for frontend work.
cupofjoakim··on Kill Bill – Open-Source Subscription Billing and Payments Platform
Care to explain why?
cupofjoakim··on Magnus Carlsen resigns against Hans Niemann after one move
There are many ways. You need outside help for everything though - you need someone to input the current board state into some kind of chess engine, and then relay the best possible move back to you somehow. There have been cases where someone has hidden a phone in the bathrooms to use for either communicating or inputting into a chess engine themselves.

In Niemanns case people have joked about vibrating anal beads communicating in morse code as well as shoe inserts.

cupofjoakim··on Advice for Overcoming Writer’s Block (2016)
The comment hits hard tbh, and I think it applies to any creative endeavour – even coding to an extent when you're new to a domain.
← PreviousPage 2 of 6Next →