HNHacker News
TopNewBestAskShowJobs

Fredej

258 karma · joined November 4, 2016

submissionscomments
Fredej··on Which Macs will be officially supported by macOS 12?
I've been you, but moved on when I got an iPhone XS from work. PC is still the main device and I don't use the phone for video. Mostly reddit, music, podcast and the occasional picture. Things I do when on the move.

The missing headphone jack turned out be basically a non-issue, even though that kept me back from upgrading - the converter stays on the headphone jack at all times (I think the force to pull it out is higher than standard headphones jacks as well). It's very rare that I'm in a situation where I want to charge the phone while being connected to a headphone jack. Not sure I've experienced it yet.

It sounds like something like the iPhone 12 mini would work for you if you gave it a shot. It's a bit larger (5.4") than something like the iPhone 4 (5") but it doesn't feel like a huge phone. I'm intending to replace my iPhone XS with a device of that size when its time for me to get a new phone.

Fredej··on You Don't Need to Rebuild Your Development Docker Image on Every Code Change
Honestly my experience is basically the opposite: Maintaining a coherent development environment is what makes programming tedious.

I'd much prefer to just specify in a dockerfile that I need this compiler, these tools and these env-variables, and then I never have to worry about that stuff again.

Fredej··on Modern Javascript: Everything you missed over the last 10 years (2020)
I absolutely agree with OP. I find it annoying that things load like that - even on a gigabit line with a beefy modern CPU. The solution is not to slow everything down to wait for the last thing to be loaded.

That UI/UX is getting slower as everything is getting faster is a sad reality of the times. But I guess that's the price of faster iterations, easier developer flows and a building on top of the lates greatest framework.

Fredej··on Unsettling capital letters
I guess that could be a form of lossy text compression - where the end result is not completely right (the letters not being completely in the right order) but it's good enough to be able to read the text.
Fredej··on Robinhood is limiting purchases of stocks: AMC, Blackberry, Nokia, and GameStop
Aren't we already discussing SEC violations here?
Fredej··on Cups Printing System Open-Source Development Has Seemingly Dried Up
I agree. I've been tempted by the Remarkable tablet though.
Fredej··on Corporate networks weren't designed for working from home
We recently moved _away_ from split tunneling. It's still giving me headaches. Not just performance, but things like docker containers don't always work right.
Fredej··on TSMC’s Wafer Prices Revealed: 300mm Wafer at 5nm Is Nearly $17,000
One way to bin it would be:

Macbook -> iPad -> iPhone -> Apple TV

Fredej··on WebRTC Samples
Thanks for providing this valuable resource.

Out of curiosity: It seems like the communication protocol that's used is RTP and RTCP. And it seems that these work quite well for video and audio streaming. However what if I want to do real time streaming of a custom binary protocol? Like, say, accelerometer data from a robot or similar.

Would the best bet be to attempt to make the protocol RTP and RTCP conformant or would it be possible to make a custom fork of WebRTC which supports custom protocols at the communication layer?

Fredej··on Linux 5.8-rc1
Potentially. However that also leaves a larger attack-surface, in the sense that more patches = even more scrutiny. Conceivably such a scheme would require all parts to be included (I mean, why make it larger than necessary?), so it would be extremely fragile to any single maintainer seeing the potential for abuse and correcting it.
Fredej··on We Don’t Need to Work So Much (2015)
What's the loan situation down there? :-)
Fredej··on We Don’t Need to Work So Much (2015)
It's a little bit more complicated than I let on.

Loan is structured in 2 parts: Bankloan and mortgage.

Mortgage is at roughly 0% and has a fixed payment for the duration - I cannot pay it differently than the initial agreement.

The bankloan is at (I believe) 3%. I've roughly doubled my contributions to this loan, making it roughly equal to the amount I'm investing each month. I'm missing ~$10.000 on it now, so I think i'll just pay it down and have that out of the way.

Being ahead also means that I'll have a way easier time if I ever need to buy something big one month - I can just choose not to pay that loan and not invest this month and I'll have plenty of money to spend. It's nice having some free cash flow :)

Fredej··on We Don’t Need to Work So Much (2015)
Pretty standard rate in Denmark these days. Everyone can get it. Fixed rate 30 year loan is at 0.5%. Variable rate loans (what I have) is at -0.63%.

I just rounded it to 0%.

Fredej··on We Don’t Need to Work So Much (2015)
For what it's worth I live in Denmark, working a private sector full time (37/week, usually less) job with a nice salary - though nothing out of the ordinary for my education and experience. Came from a middle class family: My mom is a nurse and my father is an engineer. No life-changing inheritance from grandparents (~$10.000).

My wife stays at home with our 2 year old daughter.

We own an apartment in Copenhagen that we bought some 5 years ago, though we're obviously still paying a mortgage on it (0% loans definitely made that easier!). We're paying it down aggressively, though still have quite a bit of cash left to invest.

From my experience it's about priorities. We rarely go out to dinner and don't own a car - hopefully never will. Rarely buy new clothes.

While it might not be the norm, it's not something that's completely unheard of.

One major factor though is probably student loans. When my wife and I left the university we both had savings of roughly $15.000. A year later, we bought the apartment. That would have been impossible if we had debt we needed to overcome first. If your friends moved here with significant debt, they're definitely playing catch-up compared to their peers.

Fredej··on Should I buy an Intel Mac today or wait to buy an Arm-based Mac?
Depending on what you consider production, there are definitely possibilities: https://aws.amazon.com/ec2/graviton/
Fredej··on mDNS, Avahi and Docker non-root containers
I'm in the process of doing so. We had some issues with it initially but it seemed that it got better since a couple of updates ago. I vastly prefer it to having to ship mdnsresponder alongside my application though.

I'm basing my "deprecated" comment on this: https://docs.microsoft.com/en-us/uwp/api/Windows.Networking....

However that looks to be different from the windns.h stuff. To be honest, I wasn't aware of windns.h and just assumed it was the above link you were talking about. It's probably worth taking a look at :)

Fredej··on mDNS, Avahi and Docker non-root containers
I believe that's deprecated. The right thing to do - though very well hidden - is to use device enumeration:

https://docs.microsoft.com/en-us/windows/uwp/devices-sensors...

This uses mDNS under the hood and works pretty well now. The basics is that you create a device watcher and set it up to look for devices of a specific kind. In this case, you're looking for network-based devices with a specific service type.

It's however somewhat of a pain to get running as there's a lot of details you need to know / figure out before you can get running.

Fredej··on The Day AppGet Died
There's a big difference between ghosting and sending a mail informing you that the process has stopped.

I realize I'm missing some context here, but I can't see how your life would work out better from _not_ receiving a heads up that the process has ended.

Fredej··on Initial Impressions of WSL 2
I've done exactly that. I had some issues with WSL but WSL2 does what I need it to do. Specifically what I need it to do is cross-compile the linux kernel (among other things) for embedded devices. This works flawlessly.

Almost all my work has moved to WSL - the remaining bit (like UART and JTAG access) could be done with better USB support. So I'm definitely hoping for that!

Fredej··on WinUI – The modern native UI platform of Windows
I do ¯\_(ツ)_/¯
Fredej··on Jetson AGX Xavier
For what it's worth I've been pretty happy with Freescale. Not sure how they are now after NXP bought them, but the documentation of that hardware was the best I had seen. This translated into an easier time for me as a software guy, because it was easy to look things up.

Additionally it seemed like there's a decent ecosystem around it of board suppliers, which then translates into pretty good software support.

But again, not sure if that's still the case. I chose them for a project in 2015 and have not regretted it since - but have been able to use the exact same IC since then for other projects so I'm not sure if the experience would be different if starting from scratch today.

Fredej··on New iPhone SE
That was my thinking as well. I honestly hated the lack of headphone jack.

After getting an iPhone XS from work - replacing my iPhone 5 - I found that I would actually just leave the adapter on my headset. If I ever used the headset for anything else I would take it off but immediately replug it after being done.

My conclusion is that it's been waaaaay less of an issue that I honestly expected it to be.

Fredej··on New MacBook Air
Yeah, I'm writing C++ on a 2013 Macbook Air. This would be a _huge_ upgrade for me.
Fredej··on AMD Launches Ultra-Low-Power Ryzen Embedded APUs
What did you end up with?
Fredej··on Investigating the Performance Overhead of C++ Exceptions
This is an interesting post, definitely! However, as it was posted in 2012 I feel like some of his concerns have been addressed in newer versions of C++.

Instead of having a Constructor + init method you could have a static create function which returns an optional or a pair.

I have a hard time seeing in what case you would want to throw in a destructor though? Maybe I'm just writing a different kind of code :)

Fredej··on Let's remove quaternions from every 3D engine (2018)
There are other uses of 3D than games. 3D Engine != Game engine.
Fredej··on WireGuard is now in Linus' tree
Someone else linked https://tailscale.com in this thread. Could that be similar to what you're looking for?

I haven't dug fully into but definitely will later today.

Fredej··on Distri: 20x faster initramfs (initrd) from scratch
Certainly is to me! I build embedded Linux devices. Our current boottime from cold-boot to fully functioning is roughly 3 seconds. I would really like to get it lower and shaving off almost half a second would be amazing.
Fredej··on A 60 GHz phased array for $10
I believe that's correct - see http://www.phased-array.com/1996-Book-Chapter.html "Front projection Images" for details.
Fredej··on Nvidia GeForce RTX 3080, RTX 3070 Leaked Specs: Up to 20GB GDDR6 RAM
For gaming it think it's somewhat true that we may reach a visual limit at some point.

However for other applications it's not the same thing. I work in medical 3D imaging - we are constantly memory constrained.

← PreviousPage 2 of 4Next →