Hacker Newsnew | past | comments | ask | show | jobs | submit | flexvision's commentslogin

> huge Wifi antenna to connect to an open Wifi of a rural school a couple of kilometers away

That's impressive, but how did this work from the school's side? Wouldn't they need a huge wifi antenna too?


"huge" antennas usually have high gain, which increases your signal-to-noise ratio - both Rx and Tx.

So one can "hear" signals further away and "speak" softer than would.be normally necessary.


They had regular wifi access points, nothing fancy.

The huge antenna [1] was connected to an Alfa R36 hotspot which was fairly powerful. I guess that's why it worked.

[1] https://images-na.ssl-images-amazon.com/images/I/81Zwin2Z-ML...


Edit: Okay, I understand my assumption was wrong. Thanks

Doesn't docker run a container in a single thread? So this would be running the entire MacOS in a single thread? Is there a way to tell Docker to execute this in multiple threads?


No, that isn't how containers work. Containers run processes, as many as you want, each which can use as many threads as they (up to ulimits). Most hypervisors will allocate 1 thread per virtual CPU core by default, and since this is using qemu with KVM then that's likely the case.

Looking at the Dockerfile in the OP, you can see it's using https://github.com/kholia/OSX-KVM/blob/master/OpenCore-Boot.... as the script to start the VM, and you can see the -smp 4,cores=2 in the qemu arguments which configures how many threads/cores/sockets to assign to the guest. Though I'm not entirely familiar with the syntax so I'm not sure what the "4" is for, but I'd guess threads.


You can read the main Github page here: https://github.com/kholia/OSX-KVM

It only works on Macs, it needs the toolchain and ROM I guess? Docker is just one step closer to porting it on the Windows and Linux platforms.

Personally, if I wanted to run MacOSX that badly, I'd buy a Mac Mini or the lowest-priced Mac they have. Much easier and worth it for the AppleCare and Warranty.

Edit: grammar and spelling.


> doesn't docker run a container in a single thread?

No, it doesn't.


Nobody would be using docker is that was the case. Spawn as many processes and threads as you want.


A wild WASM appears.

I joke but you get it.


What is a simple tool to produce ASTs from code? Can it work cross-language?


I would start with https://astexplorer.net, which handles many languages, and provides interactivity: click on a node within the ast, and il will highlight the corresponding code and vice versa.

The ast's are usually language specific, therefore it's not cross language.


The rate that Matrix is able to put out excellent updates has been stunning. Many other businesses in the same space struggle to consistently build quality video software at the same rate. Great job Matrix team!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: