News for hackers. Stuff that matters.

sigjuice

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.
Re:Scripting with Go: A Modest Proposal on Sunday August 20, 2023 @08:48PM (#37204343)
The phrase "compiled language" doesn't mean anything. Python compilers exist.
UTM is open source.

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

Re:Why is DNS still hard to learn? on Saturday July 29, 2023 @01:38AM (#36917272)
Wireshark
Re: on Saturday June 03, 2023 @05:06PM (#36180525)
But surely you would care if ads or other junk is getting injected into whatever you are reading?
Re:What are the enduring innovations of Lisp? (2022) on Thursday June 01, 2023 @10:45PM (#36160235)
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.
Re:What are the enduring innovations of Lisp? (2022) on Thursday June 01, 2023 @10:37PM (#36160178)
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
Re:Driving Compilers on Wednesday May 03, 2023 @09:36PM (#35810227)
Exactly. This is all implementation trivia that is of absolutely no concern to me as a user.
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?

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

  $ getent hosts 127.1
  127.0.0.1       127.1
Re:Purely Functional AVL Trees in Common Lisp on Saturday April 22, 2023 @02:40PM (#35669645)
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.
Re:OpenBSD: Malloc leak detection available in -current on Tuesday April 18, 2023 @12:29AM (#35609962)
Unnecessary. Most people's hands will be able to type up the required shell one-liner to do this.
Re:OpenBSD: Malloc leak detection available in -current on Tuesday April 18, 2023 @12:03AM (#35609832)
addr2line is unlikely to be a trivial self-contained program without dependencies.
Re:OpenBSD: Malloc leak detection available in -current on Monday April 17, 2023 @04:05PM (#35605850)
How does one "just link against the code in addr2line" ?
Could you share examples of things that can't be done from the SDK? Thanks!
Likely due to your good taste and judgement of never ever running pip with sudo.
Re:OpenSSH 9.3/9.3p1 Released on Thursday March 16, 2023 @01:17PM (#35185041)
There already are several SSH implementations other than OpenSSH written in all kinds of languages.
Re:What a good debugger can do on Friday March 10, 2023 @01:45PM (#35099023)
Containers are the real ordeal and not just here.
Yes. 169.254.0.0/24 addresses show up quite often.
IPv4 also has link-local addresses. They belong to the range 169.254.0.0/16.
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.)

Re:Ask HN: Setting up Mac for dev work on Thursday February 23, 2023 @04:46AM (#34908658)
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.
Re:One Does Not Simply 'pip install' on Thursday February 23, 2023 @01:18AM (#34907403)
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
Re:QCVM: Bite-sized QuakeC VM written in C on Monday February 06, 2023 @03:22AM (#34674721)
Would have been nice to stop at the last comma.
Re:The Linux Upskill Challenge on Saturday February 04, 2023 @03:36AM (#34652805)
TRAMP could also work, depending on the situation.
Or the kernel command line

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

parameters with ‘=’ go into init’s environment

Re:Sickcodes/Docker-OS X: Run macOS VM in a Docker on Friday January 13, 2023 @06:24PM (#34375298)
This document is about running macOS in a VM on Apple's own hypervisor. Wouldn't this count as official support?
There are Java compilers that emit machine code.
Re:Books for Software Engineers in 2023 on Monday January 02, 2023 @10:39PM (#34227307)
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.
For all practical purposes, Docker IS Linux. WSL 1.0 had serious backing from Microsoft and it wasn't even trying to be cross platform. If WSL 1.0 couldn't make it, then it is unlikely that another project with an even larger goal will emerge and be successful.

Older »