Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_paulc
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
_paulc
2mo ago
I’d completely agree - the transition to and instability of esp-hal has been a complete nightmare and I’ve also given up on trying to keep up with this. I have transitioned to using the Nordic NRF chips (nrf52840) for my hobby projects whic
2.
▲
by
_paulc
6mo ago
Slightly strangely I did see that the .h export does contain temp / press registers (but not the trimming params) but they dont show up in the interactive display: https://passtheaardvark-img.pgs.sh/screen.png
3.
▲
by
_paulc
6mo ago
It shows the 0xD0, 0xD0, 0xF3, 0xF4, 0xF5 registers but misses 0xF7-F9 (pressure) and 0xFA-FC (temp) - which are the actual measurement registers - plus all the trimming parameters (0x88-xA1) which you need to calibrate the readings. Temp
4.
▲
by
_paulc
6mo ago
This would be a good idea of it was reliable however browsing the parsed data for the BMP280 [1] (which in familiar with because I’ve written a driver for this) it looks like it misses a bunch of registers [2] [1] https://regforg
5.
▲
by
_paulc
1y ago
If you need GPIO support on a mini-PC you can just use a cheap FT232H breakout [1] with either PyFTDI [2], which supports pretty much all the protocols you need (UART/GPIO/SPI/I2C), or alternatively use CircuitPython with Bli
6.
▲
by
_paulc
1y ago
> FreeBSD has committed the original sin of UNIX by deliberately dropping support for all non-Intel architectures, intending to focus on optimising FreeBSD for the Intel ISA and platforms. FreeBSD supports amd64 and aarch64 as Tier 1 pla
7.
▲
by
_paulc
1y ago
It looks like it is a Direct Conversion (Zero IF) rather than a Direct Sampling Receiver [0] - ie. it uses does a quadrature LO to down convert to baseband I/Q (in this case a Taylor QSD as a mixer). The RP2040 ADC bandwidth is only 25
8.
▲
by
_paulc
2y ago
As a long term FreeBSD user (since 2.0) and advocate, my view is that FreeBSD should focus on its niche as a rock-solid server operating system. For most developers buying a MacBook and SSH-ing into a server is probably the right answer (o
9.
▲
by
_paulc
3y ago
If you want to automate FreeBSD deployments on Hetzner Cloud you can try: https://github.com/paulc/hcloud-freebsd (Allows you to provision instances using either the hcloud utility/web uni with ssh key/user-d
10.
▲
by
_paulc
4y ago
That's really useful (I was trying to work out how to do this without using a custom image) but I would just note that there actually is a FreeBSD 13.1 image available under Images -> Partner Images -> FreeBSD (from the FreeBSD F
11.
▲
by
_paulc
4y ago
If you want a simple lightweight symmetric crypt CLI utility try ccrypt: http://ccrypt.sourceforge.net/
12.
▲
by
_paulc
4y ago
The Colossus tape reader could read at c.5000 cps (with the tape running at 27mph [1]) - which is 2.5 x faster (and 20 years before). Worth seeing the replica Colossus at Bletchley if you get a chance. [1] https://www.flickr.com&
13.
▲
by
_paulc
5y ago
Keep trying apparatchik - we’re not all as weak and stupid as you think.
14.
▲
by
_paulc
5y ago
6 day old account that has only posted Russian talking points - hmmmm
15.
▲
by
_paulc
5y ago
Simple python version which does a bit more validation (checks response matches query) and also supports CNAMEs and different record types (37 lines - using dnslib library) - though there is still a lot of logic missing (handling failed NSs
16.
▲
by
_paulc
5y ago
dnslib author here - wasn’t expecting to see this so thanks for the reference. Key thing I learnt writing dnslib (which was originally to provide a DNS API for an application) is that DNS is actually a very dynamic protocol but the complexi
17.
▲
by
_paulc
6y ago
If you are looking for an authoritative DNS server with a sane API try KnotDNS [1]. Really easy to automate dynamic updates using `knotc` [2] without worrying about manually updating zone files. [1] https://www.knot-dns.cz [2]
18.
▲
by
_paulc
6y ago
The more surprising point was the disparity in staffing levels which multiplies the cost differences: “For example, in New York, the number of workers at the face of the tunnel can be up to four times the number of workers required in Germ
19.
▲
by
_paulc
6y ago
I've been a FreeBSD user since 2.05 (1995) and a strong supporter - FreeBSD still excels as an ultra-stable 'old-school' UNIX server OS (which to be honest meets a lot of use-cases more simply than a lot of modern alternative
20.
▲
by
_paulc
7y ago
To be honest it’s probably not worth running FreeBSD on a laptop/desktop - it’s really a server operating system. If you are looking for a well engineered, stable, ‘traditional’ UNIX system sitting in a rack and happy with a terminal i
21.
▲
by
_paulc
7y ago
As it's not on Drew's list: Nim: $ cat hello.nim stdout.write("hello, world!\n") Static (musl): $ nim --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --passL:-static c -d:release hello.nim $ ldd ./hello
22.
▲
by
_paulc
7y ago
This looks really good, I've used ccrypt (#1) for years as a simple Unix-y encryption tool to avoid the complexity of GPG (though this is symmetric encryption only so you need to have a secure way to exchange keys). I just added a pull
23.
▲
by
_paulc
7y ago
Also see the 32blit by Pimoroni: https://www.kickstarter.com/projects/pimoroni/32blit-retro-i...
24.
▲
by
_paulc
9y ago
> I couldn’t get networking working Try using the e1000 network adapter emulation - Win10/Server 2016 work fine with this.
25.
▲
by
_paulc
9y ago
Actually this is pretty simple if you use ConfigParser properly: # test.ini [host1] ip = 1.2.3.4 [host2] ip = 5.6.7.8 [host3] ip = 9.10.11.12 # config.py import configparser c = configparser.ConfigParser() c.read(&
26.
▲
by
_paulc
9y ago
ed(1) is actually quite usable, I remember editing lots of documents using ed/troff at university in the early 80s as still occasionally drop into ed if I wasn't to do a small change to a simple txt file (I remember that using vi
27.
▲
by
_paulc
9y ago
This lines up with my experience. Strangely I had someone submit a bunch of slightly passive-aggressive "Py3 support" pull requests to a couple of my repos which were basically the result of running 2to3 on the code. They hadn
28.
▲
by
_paulc
10y ago
http://acme.com/labelmaker/
29.
▲
by
_paulc
10y ago
Was just about to ask for this - thanks for supporting. Very cool service btw.
30.
▲
by
_paulc
10y ago
There are lots of jail wrappers but in most cases it is just as easily to just take the time to understand how jail.conf works and use this (see FreeBSD jails the hard way [1]). It's fairly easy to just use zfs clones to create jails a
More ›