HNHacker News
TopNewBestAskShowJobs

wkz

139 karma · joined July 11, 2011

embedded linux developer
submissionscomments
wkz··on LightVM – A new virtualization solution based on Xen
> As long as debugging isn't fundamentally incompatible with a unikernel approach, it's just a matter of maturity.

Well no, it's not "fundamentally" incompatible, it just doesn't seem very practical. And practicality matters IMHO.

Maybe I'm missing something but it seems the debug mode of these systems would be very similar to how you debug a regular kernel. I.e. you have some GDB stub provided by your hypervisor. That might be fine for GDB, but what about all the tools to observe a running system? How would I ftrace, perf, strace, netstat, tcpdump, poke around in /proc and /sys etc?

Sure there is noting stopping you from developing equivalent tools. But it's not very practical. Building a truly isolated container environment for Linux (something like Zones) would also give you isolation and provisioning speed, but you get to keep all your tooling.

wkz··on LightVM – A new virtualization solution based on Xen
With the debugging benefits of a brick.
wkz··on Debug Information Is Huge and What to Do About It
Function boundaries, arguments and data types will get you a long way in my experience. Sure there are times when you need to look at local variables in the middle of a function etc, but half of those times DWARF won't have the register information anyway. Remember the use-case here is production, your code will be optimized.

So you'll still end up disassembling the thing to figure out which register to look at. And you might as well do that on the unstripped binary on your development box. For embedded targets at least, that's a small price to pay for a size reduction of that magnitude.

wkz··on Stanford Professor Loses Political Battle To Simplify Tax Filing Process
Interesting. I would think that they at least would want a signature from you.

Seems harder to argue cases of tax evasion if you as an individual have not officially stated that you have no additional incomes other than the ones your gov knows about.

wkz··on Stanford Professor Loses Political Battle To Simplify Tax Filing Process
I live in Sweden. Just a few days ago I audited and filed my returns for 2016, it took me about 2 minutes.

1. Go to skatteverket.se (IRS), enter your "personnummer" (SSN).

2. Open the BankID app on my phone, which contains an X509 certificate identifing me, issued by my bank. Enter my password to decrypt the cert's private key and sign the authetication ticket from skatteverket.se.

3. Audit my pre-filled returns. Contains all information about income tax, captial gains tax and so on.

4. Press "Sign", enter password in BankID again to sign the returns.

5. Smell the roses.

wkz··on /usr/bin/time: not the command you think you know
`-v` (--verbose) Seems to give the same (although differently formatted) output on GNU's implementation.
wkz··on Show HN: Ply – a dynamic tracer for Linux
I've now reached a point where the compiler reasonably stable and you can actually do some useful tracing with it.

For now, there's only kprobe/kretprobe and tracepoint support. uprobe/uretprobe support is at the top of the todo list.

wkz··on Ask HN: Recommended guides for learning filesystems?
Xv6 is usually a good source to learn about OS primitives: https://pdos.csail.mit.edu/6.828/2016/xv6.html

I have not looked at the filesystem implementation, but since it is designed as a teaching OS, my guess is that it should be a good entry point.

https://github.com/mit-pdos/xv6-public/blob/master/fs.c

wkz··on UEFI on top of U-Boot on ARM
As someone who has added support for a few boards to both U-Boot and Barebox, I really recommend looking at Barebox first.

U-Boot does have support for more architectures and SoCs, but the Barebox code base is of _much_ higher quality. Also, the bourne-like shell is a pleasure to work with!

wkz··on Hist Triggers in Linux 4.7
Yeah the UX is user hostile to say the least.

Shameless plug: I've started working on a more coherent tool. Inspired by awk and DTrace, but it is still in its infancy.

https://wkz.github.io/ply/

wkz··on Reimagining the future of routers
Shortest Path Bridging (802.1aq)

Uses IS-IS to distribute the link-state db. And allows you to utilize an entire mesh, not just a sub-tree.

wkz··on 0.0% of Icelanders 25 years or younger believe God created the world
First, I wouldn't call observing the red light shift, figuring out how supernovas created heavier elements and so on quite as hand-wavy as "I read it in this book I found".

Second, and most important, I'm fine with people using the label "God" if that makes sense to them. It's when people claim to know the mind of this god and tell me how to live that I draw the line.

In other words, most religious people will argue against atheists as if they where deists, when in fact most are theists.

wkz··on Kits Make Tinkerers’ Home-Automation Dreams Come True
Interesting, I have never had any issues with it.

One of the nice things about mDNS is that the only co-operation you need from your gateway is that it forwards multicast correctly which you can usually expect the switch silicon to do.

Are you saying that there are many gateways/APs that do not forward multicast according to spec?

Or are you using something like IGMP? In that case I agree, there are alot of devices that won't play ball since they don't send JOINs or have other peculiarities.

wkz··on Kits Make Tinkerers’ Home-Automation Dreams Come True
What do you mean?

On a LAN you can simply use zeroconf with multicast DNS to do service discovery, like how Apple does with Airplay. Or am I missing some requirement?

wkz··on Shaky: ASCII Diagram to PNG
Have you tried artist-mode in emacs?
wkz··on A Designer's War on Misleading Parking Signs
Yes. The [P] sign indicates that this area is intended for parking, and that outside of the hours specified in fee-sign, parking is free.

In the case where the default is "no parking", the top sign will be a dashed or crossed red circle (the first meaning you can stop to let people off but not park, the other meaning that you can not stop there for any reason). There can then be a sign below it that specifies times when parking is allowed.

wkz··on A Designer's War on Misleading Parking Signs
Allow me to present a standard swedish parking sign: http://i.imgur.com/e4KVoaC.jpg

Avgift means fee. The intervals specify when the fee applies.

* White digits: Hours of weekdays.

* White digits in parens: Hours of days before holidays (read: Saturdays, Christmas eve etc.).

* Red digits: Hours of holidays (Sundays, Chistmas day etc.).

wkz··on Volvo’s first self-driving cars now being tested live on public roads in Sweden
I drive through one a few times a week, in Västerås, Sweden.
wkz··on Talloc: The Tutorial
The ownership of memory must be a tree, which makes sense to me. But you could still arrange the returned pointers in, say, a ring buffer, right?
wkz··on Elop running out of time to turn Nokia around
IMHO Nokia had a promising platform in Meego. Would be interesting to see what would happen if it was given half a chance.
wkz··on Xiki: A shell console with GUI features.
I think the talk you are referring to is tech talk he gave at google:

http://www.youtube.com/watch?v=4XpnKHJAok8

wkz··on Microsoft Bans Linux/Android Dual-Booting on Windows 8 ARM Devices
I would love to see an open bootloader for iDevices. However, I do think that there is a difference between Apple, a company who makes their own hardware and have chosen this strategy, and Microsoft, a company who tries to impose their strategy on others (device makers).
wkz··on TeliaSonera To Charge Extra For VoIP in Spain and Sweden
Agreed. Though the cynic in me wonders if they even care to track such data.
wkz··on TeliaSonera To Charge Extra For VoIP in Spain and Sweden
I am a swedish Telia customer, and have been one since '08. Their service has always been top notch so I had every intention of signing on for another two years with them.

And just like that, I lost all my confidence in them and will go where else from now on.

← PreviousPage 2 of 2