Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sebcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
sebcat
6y ago
Apart from Linux hw support for things at work, I implemented a fairly simple pseudo-device for establishing TCP connections from a process in capability mode on FreeBSD. The device driver has support for a denylist to disallow connections
32.
▲
by
sebcat
6y ago
Quip worth thinking about[1] from the twitter thread[2]: > it's incredible to me that a $5 digital ocean box can serve traffic for 200k unique visitors and yet there's startups out there who deploy their landing pages with kube
33.
▲
by
sebcat
6y ago
> making it hard to do the wrong thing" is more or less my entire design ethos when it comes to software, particularly developer tools. See also poka-yoke: https://en.m.wikipedia.org/wiki/Poka-yoke
34.
▲
by
sebcat
7y ago
The exposure time and the dynamic range of the sensor affects the visibility of the person in that video - it is very likely that a non-distracted human would have performed better. The vehicle was equipped with both radar and lidar. The vi
35.
▲
by
sebcat
7y ago
My SO and I recently bought a house with a garden and some trees (pine, spruce, poplar, beech, one apple tree), at the outskirts of a village, close to the woods. Working on the house has so far given me a lot of satisfaction (also some str
36.
▲
by
sebcat
7y ago
AVR32 with JEM does this to some extent for Java. http://ww1.microchip.com/downloads/en/devicedoc/doc32000.pdf 3. Java Extension Module The AVR32 architecture can optionally support execution of Java
37.
▲
by
sebcat
7y ago
Had this happen in production in a third party library we used many moons ago. Sysop came and asked us why we did six figure DNS lookups over a short period of time (24h? Less? Don't remember). Would probably have gone unoticed at most
38.
▲
by
sebcat
7y ago
https://aviation-safety.net/wikibase/220512 Beechcraft Bonanza A36TC
39.
▲
by
sebcat
7y ago
Tcl (libtommath): https://tio.run/##DY85akMBEEOv8utUGmnWswRXxp0L4wUCIWf/mVLD6E...
40.
▲
by
sebcat
7y ago
Why are logs (which I assume is not something the car needs in order to function) written to the same eMMC as the firmware?
41.
▲
by
sebcat
7y ago
> These areas will have to be bulldozed down and rebuilt IMO They did that in the 60s-70s with a part of Malmö, an area called Lugnet. That area was improved because of the gentrification that followed. The people who used to live in Lug
42.
▲
by
sebcat
7y ago
Data Flow Diagrams as described in "Structured Analysis and System Specification" (Tom DeMarco) are lightweight and provides a common way to describe a system with a focus on the flow of data. The book also goes into detail on how
43.
▲
by
sebcat
7y ago
150 pages into The Fountainhead at the moment. So far, I can highly recommend it.
44.
▲
by
sebcat
7y ago
It's possible to build FreeBSD images for amd64 with nginx and a small but fairly complete base build at about 70 MB by just tweaking src.conf and a MINIMAL kernel with virtio built in. I do this for virtualization on DO, Vultr and my
45.
▲
by
sebcat
7y ago
No one is asking ”What’s Microsoft?” though.
46.
▲
by
sebcat
7y ago
Perl is a prerequisite for Autoconf as well (not for the generated configure scripts though, thankfully). It would be nice to not have that dependency.
47.
▲
by
sebcat
7y ago
Heat and power (think PoE class) are other constraints to take into consideration.
48.
▲
by
sebcat
7y ago
What if the OS could map a shared object that resides in one section of memory into the virtual address space of multiple processes?
49.
▲
by
sebcat
7y ago
Especially on 32-bit JVMs. Still have nightmares.
50.
▲
by
sebcat
7y ago
PHP-FIG brought PHP back to life from my point of view.
51.
▲
by
sebcat
7y ago
Is it free even if you have to pay for it?
52.
▲
by
sebcat
7y ago
> One aspect was that get_user_pages doesn't give you a linear block of memory. I wrote the grotty C code to dequeue messages from the non-linearly-mapped circular buffer. The message headers could straddle page boundaries, so I cop
53.
▲
by
sebcat
7y ago
Reposting this from the other day: https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/ Paper: https://www.cl.cam.ac.uk/research/security/ctsrd/pdfs/201406... &quo
54.
▲
by
sebcat
7y ago
The BERI CPU, the CHERI ISA and CheriBSD has an interesting approach to this, where they have capability-based addressing at the pointer level, supported by hardware. https://www.cl.cam.ac.uk/research/security/ctsr
55.
▲
by
sebcat
8y ago
Another best practice: Please do not use logging as an excuse to avoid implementing proper error propagation in libraries or utility code. Bad: void something_failable(void *data) { if (!is_valid(data)) { log_err("invalid
56.
▲
by
sebcat
8y ago
> Before making this in Rust we experimented with a Go and also a Lua implementation Lua or LuaJIT?
57.
▲
by
sebcat
8y ago
I like the absence of a package manager at the language level and the embracing of shared objects and stable ABIs by using the OS package manager. Missing a library? Just install it, and list it as a dependency in the .spec-file, or whateve
58.
▲
by
sebcat
8y ago
> Sweden has a major problem with housing, so you can forget renting an apartment in a major city — you will spend roughly 18 years on a waiting list to be able to rent anything in the centre of Gothenburg. This isn't hyperbole. You
59.
▲
by
sebcat
8y ago
> It doesn't sound like they were using MultiViews at all but some rewrite rule that rerouted all requests ending in .srv to a shell script in /bin The request to a.srv (in their example) was only authorized because a request t
60.
▲
by
sebcat
8y ago
Caveat: there are cases where this behavior has resulted in vulnerabilities. e.g., CVE-2018-10661[1]. So if you ever want to implement your own auth module in apache httpd you should be aware of this. [1] https://www.vdoo.com
More ›