Better HN
topnewbestaskshowjobs
Log inSign up

sigjuice

1,677 karma · joined May 12, 2011 (15y ago) · 1,070 submissions

https://stackoverflow.com/users/78720/sigjuice?tab=profile
Submissions

comment 3y ago · link · parent

hyperkit does not run on ARM Macs

  $ brew install hyperkit
  hyperkit: The x86_64 architecture is required for this software.
  Error: hyperkit: An unsatisfied requirement failed this build.

comment 3y ago · link · parent

The phrase "compiled language" doesn't mean anything. Python compilers exist.

comment 3y ago · link · parent

UTM is open source.

Also, running UTM instead of Qemu has some benefits. e.g. bridged networking

comment 3y ago · link · parent

Wireshark

comment 3y ago · link · parent

But surely you would care if ads or other junk is getting injected into whatever you are reading?

comment 3y ago · link · parent

It is quite the opposite. Every pair is meaningful. Extra parenthesis cannot be added just for the heck of it without changing the meaning of the code.

comment 3y ago · link · parent

I discovered recently that bash function names and aliases allow -

  pi@4b:~ $ kebab-case-ftw () { echo yum; }
  pi@4b:~ $ kebab-case-ftw 
  yum
  pi@4b:~ $ alias kebab-kebob='echo yum'
  pi@4b:~ $ kebab-kebob 
  yum

comment 3y ago · link · parent

Exactly. This is all implementation trivia that is of absolutely no concern to me as a user.

comment 3y ago · link · parent

UTM should be running arm64 Linux guests using virtualization and NOT emulation. I have been running arm64 Linux guests on M1/M2 Macs and it is not at all slow.

Does your Linux guest have the "Use Hypervisor" setting turned on?

comment 3y ago · link · parent

The address bar is also a bit excessive for doing conversions.

  $ getent hosts 127.1
  127.0.0.1       127.1

comment 3y ago · link · parent

I'm a sucker for Common Lisp content. However, this article needs s/binary tree/binary search tree/ in several places. Delete is left as an exercise for the reader.

comment 3y ago · link · parent

Unnecessary. Most people's hands will be able to type up the required shell one-liner to do this.

comment 3y ago · link · parent

addr2line is unlikely to be a trivial self-contained program without dependencies.

comment 3y ago · link · parent

How does one "just link against the code in addr2line" ?

comment 3y ago · link · parent

Could you share examples of things that can't be done from the SDK? Thanks!

comment 3y ago · link · parent

Likely due to your good taste and judgement of never ever running pip with sudo.

comment 3y ago · link · parent

There already are several SSH implementations other than OpenSSH written in all kinds of languages.

comment 3y ago · link · parent

Containers are the real ordeal and not just here.

comment 3y ago · link · parent

Yes. 169.254.0.0/24 addresses show up quite often.

comment 3y ago · link · parent

IPv4 also has link-local addresses. They belong to the range 169.254.0.0/16.

comment 3y ago · link · parent

IPv6 doesn't remove fragmentation. IPv6 fragmentation works differently. See https://www.rfc-editor.org/rfc/rfc8200#section-4.5

The Fragment header is used by an IPv6 source to send a packet larger than would fit in the path MTU to its destination. (Note: unlike IPv4, fragmentation in IPv6 is performed only by source nodes, not by routers along a packet's delivery path -- see Section 5.)

comment 3y ago · link · parent

How does 'npm install' take over a computer? Does it need to run as root? I have never used npm before, so I am not sure.

comment 3y ago · link · parent

rm -rf ~/go is not recommended.

1. This will blow away any programs in ~/go/bin

2. Nothing in ~/go/pkg/mod has +w, so the rm -rf will not work anyway. Try

  go clean -modcache

comment 3y ago · link · parent

Would have been nice to stop at the last comma.

comment 3y ago · link · parent

TRAMP could also work, depending on the situation.

comment 3y ago · link · parent

Or the kernel command line

https://www.kernel.org/doc/html/v5.15/admin-guide/kernel-par...

parameters with ‘=’ go into init’s environment

comment 3y ago · link · parent

This document is about running macOS in a VM on Apple's own hypervisor. Wouldn't this count as official support?

comment 3y ago · link · parent

There are Java compilers that emit machine code.

comment 3y ago · link · parent

It took me a year to work through the first three chapters of SICP. I skipped three exercises which weren’t motivating enough for me.
12345
36