Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
secure
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
271.
▲
by
secure
8y ago
Have a look at router7’s dnsd, it’s not that complicated: https://github.com/rtr7/router7/blob/master/cmd/dnsd/dnsd.go You could easily fork it and extend it to implement your custom rules. I’v
272.
▲
by
secure
8y ago
There are a bunch of tutorials out there on how to build your own router based on Linux or one of the BSDs. I’d recommend such a tutorial as a good starting point for a top-down view. The lower-level is very visible through Wireshark, with
273.
▲
by
secure
8y ago
When considering the total time spent, yes. However, I had previously run dnsmasq instead of the default kresd so that the Omnia would resolve hostnames in my local network from DHCP leases, and it was such a pain! Updates would frequently
274.
▲
by
secure
8y ago
I considered the Turris Omnia, but ultimately decided in favor of the apu2c4. Here’s the comparison I made back then: Turris Omnia: 209 € (-), built-in SFP (+), UART (-), GOARCH=arm (-) apu2: 105 € (+), no SFP (-), DB9 serial (+), GOARCH=am
275.
▲
by
secure
8y ago
You can fire it up on a Raspberry Pi 3, yes. That’s how I started developing it, to be sure the architecture works before I spend the effort of porting gokrazy to the apu2c4 :) It can work with any ISP (not just fiber7) as long as you have
276.
▲
by
secure
8y ago
https://godoc.org/github.com/rtr7/router7/cmd/dnsd already resolves computer names from DHCP leases. Is that what you mean? If no, can you elaborate on what the use-case is? Edit: forgot to mention, you
277.
▲
by
secure
8y ago
Author here. Happy to answer any questions you might have :)
278.
▲
Show HN: Router7 – A pure-Go implementation of a small home internet router
(github.com)
461 points
by
secure
8y ago
|
102 comments
279.
▲
by
secure
8y ago
Thanks, makes sense!
280.
▲
by
secure
8y ago
Cool idea! Is there any particular reason to use SquashFS via FUSE instead of via the Linux kernel driver? Slightly related: we also recently switched to SquashFS for the gokrazy.org’s root file systems. If you’re curious about how SquashFS
281.
▲
by
secure
8y ago
Yes, Larry Page’s first crawler was in Java, and Scott Hassan rewrote it in Python. From https://www.vanityfair.com/news/2018/07/valley-of-genius-exc... : > Scott Hassan: In the fall of ’95, for some reason
282.
▲
by
secure
8y ago
Do you know of any major distributions using this mechanism? I’ve only ever seen GRUB on UEFI.
283.
▲
by
secure
8y ago
I love the built-in demos!
284.
▲
by
secure
8y ago
This heavily depends on who you meet and your personality. I’ve had multiple conversations on German trains (and also in planes).
285.
▲
by
secure
8y ago
Can you be more specific about “not handling it gracefully”? i3 is purely reactive to changes in your monitor configuration. As long as you use xrandr (or arandr, or https://github.com/fd0/grobi , or…) to enable/di
286.
▲
by
secure
8y ago
Note that this is a Go wrapper around the C libui library, not a Go implementation of it.
287.
▲
by
secure
8y ago
This is great! Now, if only GitHub would be available via IPv6, that would remove the need for CloudFlare — not that I would necessarily remove CloudFlare, but I would feel better if my setup wasn’t dependent on it.
288.
▲
by
secure
8y ago
That does seem plausible to me at first glance. I had read about the analog keyboard controller before, but nobody seemed to _really_ know what they’re doing. It would be interesting to confirm this :)
289.
▲
by
secure
8y ago
Shameless plug: the article pins the minimum latency of your keyboard to 3ms. I recently published the kinX, a keyboard controller for the Kinesis Advantage with merely 0.2ms of input latency: https://michael.stapelberg.de/p
290.
▲
by
secure
8y ago
The data collected for Google Public DNS is actually very reasonable. Have a look at https://developers.google.com/speed/public-dns/privacy . I haven’t checked the other products, just wanted to point this out sinc
291.
▲
KinX: keyboard controller with 0.225ms input latency
(michael.stapelberg.de)
3 points
by
secure
8y ago
|
0 comments
292.
▲
by
secure
8y ago
_m seems to be the prefix for MMX, whereas _mm is the prefix for SSE. I think the instructions which didn’t need to change just got a new intrinsic alias so that each instruction set is self-contained, i.e. when working with SSE, you should
293.
▲
by
secure
8y ago
No: many (most?) modern SIMD instructions don’t require alignment. From the Intel Intrinsics Guide (can’t figure out how to link directly to it, sorry) on _mm_loadu_si128: > Load 128-bits of integer data from memory into dst. mem_addr do
294.
▲
by
secure
9y ago
I don’t have ed installed (not a conscious decision), which prevents this from working: % patch<evil.patch sh: 1: ed: not found patch: ed FAILED patch works just fine for me, though,
295.
▲
by
secure
9y ago
Everything up to the 2017 model is very well supported. A friend of mine has the 2018 model and spent some time getting the touchpad/trackpoint to work (did not work out of the box with Debian unstable). Also there seem to be issues wi
296.
▲
by
secure
9y ago
This is not my experience at all. Doing an “apt dist-upgrade” after not upgrading for a week or two regularly takes _minutes_ on my i7-8700K to resolve dependencies.
297.
▲
by
secure
9y ago
Please see https://github.com/gokrazy/firmware/issues/15
298.
▲
by
secure
9y ago
It might be possible to do this, but certainly not easily. gokrazy’s unit of application is a Go package, so you’d need to write a Go program which then executes the Lua VM. I don’t know what dependencies Lua has — if it cannot be compiled
299.
▲
by
secure
9y ago
I strongly agree regarding the simplicity! A minimal gokrazy root file system is 16MB in size. On a 8GB SD card, I certainly am willing to sacrifice another 16MB to get A/B updates :).
300.
▲
by
secure
9y ago
The userland in question is an NTP, a DHCP client and the init system / web interface. It really isn’t much code. Implementing these in Go reduces the number of moving parts, both in terms of libraries involved in the project and more
More ›