HNHacker News
TopNewBestAskShowJobs

hultner

807 karma · joined December 18, 2014

Founding CEO of ⠠⠵ Hultnér Technologies AB.

Currently living in Sweden.

@ahultner https://twitter.com/ahultner

[ my public key: https://keybase.io/hultner; my proof: https://keybase.io/hultner/sigs/0CfIA8T82M-zsNqbBSwLDXLDH2I1z2AUdEVBsJHtKYM ]

submissionscomments
hultner··on Strict Python function parameters
There’s a PEP suggested for 3.11 handling this

https://www.python.org/dev/peps/pep-0671/

hultner··on CT scans of AirPods evolution
Actually for further anecdata I’ve dropped several of my MacBook Pros (unibody) from a meter or more, one open from a ladder bumping pretty hard to a few of the bottom steps. And I’ve never gotten more then scratches and bumps in the casing. Additionally I’ve never had Apple Care and the times I’ve had problems Apple have always repaired it free of charge under warranty, including a full battery replacement on my Retina MacBook Pro when it was 3 years old and got the battery service warning.

I’ve had the hinge of my old ThinkPad crack after about a year of normal use and been told it’s my fault. I’ve also had multiple screens go bad on my old HP Entreprise laptop/mobile workstation. Both of these laptops were more expensive then all the MacBooks I owned prior to them.

hultner··on Understanding Python through its builtins
Oh, that's obvious now. Must be that Sunday night blindness.
hultner··on Understanding Python through its builtins
There's a really nice (although old now) walk through of the cpython code base on YouTube. I watched it on a long 24 hour flight between Canada and Sweden a couple of years back.

Edit: Found it! You're in for about 9 hours of quality watching. https://youtube.com/playlist?list=PLwyG5wA5gIzgTFj5KgJJ15lxq...

hultner··on Understanding Python through its builtins
Where? I don't see anything in that code relying on that unless I'm Sunday blind.
hultner··on The Vinland Map is awash in 20th-century ink
Yale spent a lot of money to prove that their expensive piece of paper is worthless.
hultner··on O.mg Cable
Of you hide it well enough? I can think of some creative spots in a car, like behind the dash, in the door, inside of the a seat, etc.
hultner··on Nuitka: An extremely compatible Python compiler
Nuitka is a wonderful project which in my opinion doesn't get enough attention.

I first found it back in 2015 when I worked at a company where we built a python based desktop application as a part of our industrial control system. Nuitka provided better performance then pyinstaller/cx_freeze while it was still simple to work with. Back then there were still a few incompatibilities but I've followed the project throughout the years and it's mature like a fine wine since.

hultner··on Ask HN: Any Good Alternative for Docker?
I don't buy it.

Sounds like FUD to me. These neither of these arguments apply specifically to docker registries and are more an argument against any form of self-hosting, which is a totally different conversation.

Having to rebuild if your server dies and you have no backups is obvious, same is for true for any part of your infrastructure and seems more like a deeply flawed ops strategy as a whole at the organization.

And in this case we are talking about self hosting as in not buying it as a service, not necessarily on your own hardware. I've self-hosted docker registries on a VPS from cloud provides who also provide backup and resilience against underlying hardware failures as a part of their service. If a server dies the VM is transparently moved to another machine, no big deal.

hultner··on Ask HN: Any Good Alternative for Docker?
Why not self-host the registry? I do it and have done it at quite a few places.

It’s really nice to have it in the same network as the consuming servers to get great speeds.

hultner··on Going mouseless
I tried it about a year back and it was missing to much back then to be usable day to day for me. Took a look again now and it does look like there’s a lot of improvements, will have to give it another go.
hultner··on Are dynamic languages going to replace static languages? (2003)
A strongly typed dynamic language will raise an type error if you for instance try to add two incompatible types, for instance in python

  Python 3.9.0 (default, Oct 10 2020, 11:40:52)
  [Clang 11.0.3 (clang-1103.0.32.62)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> 1+"1"
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  TypeError: unsupported operand type(s) for +: 
  'int' and 'str'

While a weakly typed dynamic language like JS will allow for it

  Welcome to Node.js v16.0.0.
  Type ".help" for more information.
  > 1 + "1"
  '11'
hultner··on OpenBSD Router Guide (2020)
Neat guide but I'd much rather see a guide on how to set up a cost-effective 10Gbps WAN to LAN throughput router/gateway with NAT.

Those of us building our own routers (I've done so since about 2006 when I got 1Gbps fibre installed for the first time) usually have a quite large cross-section with people on bleeding edge internet connections, and with (pro-)consumer 10Gbps internet and networking becoming more and more common a router capable of such is also more relevant. I see very little information about what's the minimal/cost effective hardware requirements capable of routing with NAT at wirespeed for these applications. Most of the content I read is either geared towards slower speeds (e.g. 1Gbps) or using overly beefy machines which are both power hungry and most likely overkill for the purpose.

Something that would be interesting to see as well is high speed NAT routing performance comparison between Linux, NetBSD, OpenBSD and FreeBSD using Intel or other well supported 10Gbps nics.

hultner··on Increasing HTTPS Adoption
I’m going to steal this one, I’ve never thought about this.

Also useful for local development with mdns. E.g. MacBook-X.local as an CNAME: "MacBook-X.internal.hultner.se CNAME MacBook-X.local" should just work for LE on my local dev machine when roaming between the home, office or on the go and the actual IP changes wildly.

hultner··on Increasing HTTPS Adoption
LE publishes all issued certs so you might as well just keep it public anyway in that case.
hultner··on macOS Monterey Beta 3: Apple Redesigns Safari Tab Interface Following Complaints
Same here, I love full-screen and Safari is especially lovely. I wish chromium browsers had the ability to show the UI only when I move the mouse up top or hit CMD+L. Unfortunately this isn’t the case we have to pick between all the UI or nothing at all.
hultner··on Increasing HTTPS Adoption
That looks really nice, bookmarked for later. In general I agree with the previous commenter, Let’s Encrypt made TLS easy on the public net, but for small teams/organizations TLS in local networks with local host names is still a pain.
hultner··on 25 Gigabit Linux internet router PC build
In my case it was either 1G or 10G (no in-between), price difference between 1 and 10 wasn't huge, most of the cost was installing the actual fibre optics in the house.
hultner··on 25 Gigabit Linux internet router PC build
What do you use for a router? I've got 10G (price difference from 1G was even less percentage then yours) internet myself but currently just use an RB4110 as router which is the primary bottle neck. Would be nice with something reasonably priced and sized which can route 10G or close to 10G with NAT so I could utilize my uplink a bit more.
hultner··on Safari 15 on Mac OS, a user interface mess
Chrome is horrible when you’ve got more then a few tabs since each tab just shrinks to a tiny unrecognizable notch, Safaris approach of scrolling in the tab bar is vastly superior in my opinion and makes the area much more useful even if it’s smaller. And this is without considering the new tab groups. I never really liked chromes tab-bar.
hultner··on IRCv3
Actually, I have in fact been speaking "raw IRC" quite a few times. Not much anymore but back in the days when working on a new servers it was quite convenient to just telnet irc.x.yz 6667, NICK Hultner, USER Hultner * * * * (don't care for quick sess), JOIN #xyz-help, PRIVMSG #xyz-help Hello, anyone familiar with error Z1 on XYZ?, pong.

That's basically everything you need to know for some basic chat.

hultner··on Can't Unsee
And huge RSS buttons, don't forget your oversized RSS button. You could even implement a feed as well if you have some time to spare.
hultner··on Modern Javascript: Everything you missed over the last 10 years (2020)
I see no mention of generators except for a link in the reference list at the end.
hultner··on Babel is used by millions, so why are we running out of money?
It’s the same here in Sweden, about 3k€ net/mo will cost the employer at least 7k€/mo, and then there’s other costs associated such as paying for book-keeping, business insurance, pension etc. Billing 11k€/mo would barely cover the costs of a single employed developer with a medium salary here in Sweden.

I suppose every country is different but at least here in Sweden you would have to incorporate as a business and tax the money as one, you can be a sole proprietor but then the tax situation is usually even worse. And I’ve not even covered for things like vacation and sick days here. There’s quite a difference between what income you get into the business and what you can expect as a salary.

hultner··on The “Granny Knot”
I’m not sure if it was “invented” by the author, I’ve been doing the same knot for 30 years. We call it rå-bands-knop (raw-strings-knot would be a literal translation) and I believe most kids here learn it at an early age.
hultner··on Coding Machines (2009)
Remind me of a bug I encountered working on IoT industrial control systems a couple of years ago, a newly graduated coworker couldn’t make sense of some network traffic from a PoE Ethernet powered sensor, wireshark weren’t picking up whatever was happening and a router we were using kept locking up if we triggered the bug. We ended up debugging it with an oscilloscope and where I could clearly see the bad packets which didn’t show up in wireshark, in any dumps or software taps. I don’t remember what it was but, this was 5+ years ago but I think it might have been some sort of malformed broadcast packet causing havoc when it penetrates networks. There’s something especially satisfying in decoding TCP or UDP packets with an oscilloscope.

I was kinda expecting the story to not be fictional but rather a ambitious write up of some particular involved malicious code. Kinda like stuxnet which was harmless in most cases but infects certain programming environment and infects the code it produced without showing up in source.

hultner··on Why you should NOT use NativeScript
After been bitten by Google’s “graveware” one time to many I don’t invest heavily into their ecosystems anymore. And in my experience the projects are either abandoned or fizzling into obscurity once Google pulls the plug even if an open source community could technically fork it and take over. But in reality usually people rather go on the next shiny thing instead.
hultner··on Why you should NOT use NativeScript
You mean like AngularJS (which is an entirely different framework then modern angular)
hultner··on VPN over SSH? The Socks Proxy
+1 on this I’ve used shuttle as the primary way to access one of my customers network for a year now, it haven’t gotten around to set up proper VPN access for external people yet. But it’s been working surprisingly well. I need to rerun the command a couple of times a bad day but other then that it’s behaved quite good as an ad-hoc VPN. You can also use a jump-host, I do this since I can only access ssh on one of the servers from the IP of one of my servers.

The only thing I could wish for would be an auto reconnect feature, been thinking about wrapping it in a shell loop to handle it but it requires sudo so I’ve been putting it of, I don’t like having a long running script with sudo.

hultner··on Show HN: PyWebIO – Write interactive web app in script way
Looks really cool, I love how simple it is.
← PreviousPage 3 of 15Next →