Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aexaey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
aexaey
9y ago
A flow is defined as a unidirectional sequence of packets with some common properties that pass through a network device. [...] for example, flow records include details such as IP addresses, packet and byte counts, timestamps, Type of Serv
32.
▲
by
aexaey
9y ago
Nobody uses 512-QAM for WiFi, and for some good reasons: 1) it's not part of any current or draft standard; 2) it only encodes 9 bits vs. 8 bits for 256-QAM. Plugging this into GP's formula gives us: 1/3.6e-6 × 468 × 9 × 5&#
33.
▲
by
aexaey
9y ago
There are 3 non-overlapping 2.4Ghz channels (1,6,11) for 802.11b, because of the channel spectrum shape. Not only "b" uses 22Mhz channels with is just a bit too wide, but also, due to the way how single-carrier PSK modulation work
34.
▲
by
aexaey
9y ago
No need for modprobe on a system with sane udev: Just sysctl should be sufficient.
35.
▲
by
aexaey
9y ago
Indeed. systemd does boast respectable boot times (not as fast as hand-crafted shell script, but pretty good for a generic init). On the other hand, error handling is pretty awful, especially during shutdown: Every now and then systemd woul
36.
▲
by
aexaey
9y ago
Mostly minor things nowadays. I've seen so far: - a while ago pa got audio routing wrong on a new/obscure laptop, wrong audio routing as in - speakers would not turn off if you plug in headphones. That eventually got fixed with dn
37.
▲
by
aexaey
9y ago
Very much this. The only big change with pa in last few years is - applications accepted and embraced it - to the point of dropping OSS & ALSA.
38.
▲
by
aexaey
9y ago
This will attempt to open a child shell process with whatever output of "yes" is, interpreted as shell script. But before that, parent shell has to buffer until EOF. With "yes" output being unbound, this means unbound bu
39.
▲
by
aexaey
10y ago
What sort of payload throughput (in bit/s) can you get out of this, in a pinch?
40.
▲
by
aexaey
10y ago
...which (surprisingly) is a measurable amount. About 1 ms for `dash` and a whooping 9.5 ms for `bash` on a relatively slow CPU: pi@pi:~ $ time (for x in {1..1000}; do time echo | sleep 0.01; done 2>/dev/null) real 0m2
41.
▲
by
aexaey
10y ago
> under way too much pressure to change phase from solid to liquid. Nope. 90 bar is way too little for that. You'll need to crank up pressure to ~70 kilo bar to get solid tin a at 460'C (733'K). [1] [1] https://
42.
▲
by
aexaey
10y ago
There is a purpose-designed Chinese chip exactly for your situation - control brightness of a LED strip based on PWM input. Compared to a bare MOSFET, this chip gives you higher efficiency, current-controlled (i.e. flicker-free) output and
43.
▲
by
aexaey
10y ago
Yep. It is indeed easy to ruin a FET with minuscule amount of static charge. That is, unless there is a zener (or two, back-to-back) connecting gate to source. Many modern FETs have this built right in. E.g. ATP214 [1]. [1] http:/
44.
▲
by
aexaey
10y ago
As floatboth pointed out above, it is possible to use a shell script [1] to dynamically change terminal colour mapping. Add this as "LocalCommand" to appropriate "Host staging-foo" and "Host production-bar" s
45.
▲
by
aexaey
10y ago
OP is understandably upset about seccomp filters not being portable between different distributions and architectures. Fair enough. But there's another glaring issue here. This app's seccom filter was written by a fairly security-
46.
▲
by
aexaey
10y ago
This. Also, one should keep in mind that having to apply personal patches is perfectly acceptable for suckless software. In fact, for the very same st, to change font, colour scheme, or hotkeys/shortcuts - one has to edit config.h fi
47.
▲
by
aexaey
10y ago
> don't have a sense of scale From [1], complete db is ~300GB and from some iffy pixel measurement of the graph at the very bottom of that page, copying speed between otherwise idle db hosts was about 22.8 GB/hour (in-productio
48.
▲
by
aexaey
10y ago
It's both: Title 47 - Telecommunication. § 15.5 (b) [...] subject to the conditions that no harmful interference is caused and that interference must be accepted [...] https://www.gpo.gov/fdsys/pkg/CFR-2015-
49.
▲
by
aexaey
10y ago
Biggest problem with large spindle is that noise and heat dissipation (both mostly due to air friction) are roughly proportional to the square of linear speed of the outer part of the platter, and bigger the platter, more linear speed you&#
50.
▲
by
aexaey
10y ago
Not the GP, but it looks like significant number of Android vulnerabilities [1] are local privilege escalation (as in: install an app from a questionable source, app use vulnerability to silently gain root, app siphons off your data and
51.
▲
by
aexaey
10y ago
Pretty much all WiFi transceivers are indeed power-intensive, but it is actually receiving that often takes more juice. ESP8266 consumes ~70mA with both CPU and WiFi running but idle, and 15mA with CPU idling and WiFi powered down [1]. That
52.
▲
by
aexaey
10y ago
A bit of trivia: - Each MLC cell actually holds one of 4 distinct charge levels, and thus can encode 2 bits. Same for TLC (8 levels, 3 bits) and QLC (16 charge levels to encode 4 bits). - "3D" when talking about solid-state memory
53.
▲
by
aexaey
10y ago
If you prefer an open-source and cloud-free solution, try VNC server + kanaka's VNC-to-HTML5 proxy: apt-get -y update apt-get -y install x11vnc build-essential git clone https://github.com/kanaka/noVNC x11
54.
▲
by
aexaey
10y ago
You don't even need a jail for that. Just add those lines to the end of /etc/ssh/sshd_config: Match User pi AcceptEnv ForceCommand echo 'To enable SSH, do this and that' EDIT: added an ex
55.
▲
by
aexaey
10y ago
Interestingly, there seem to be an established names for flat/planar/2D inclusions: https://en.wikipedia.org/wiki/Intercalation_(chemistry) As well as for point/0D inclusions: https://en.wikip
56.
▲
by
aexaey
10y ago
That is not quite the same thing. Andy's NVMe patches allow drive itself to go into deeper power-saving states, while discussion above was about power-management of SATA controller which is part of PCH (earlier known as northbridge), w
57.
▲
by
aexaey
10y ago
That is a very good point. I would go even further and say that Canonical, too, shouldn't have to apply patches. That's upstream kernel's job. But here's the rub - on some hardware enabling SATA PM can sometimes lead to
58.
▲
by
aexaey
10y ago
Regarding 13h vs 22h battery life - I wonder if c't did any test with manually enabled SATA power management? This is a big deal on recent Intel hardware and unfortunately is still not enabled automatically by linux kernel, as describe
59.
▲
by
aexaey
10y ago
Some chromebooks have aarch64 ARM CPU, including new Acer Chromebook R13
60.
▲
by
aexaey
10y ago
There are plenty of apps for that already. My favorite: http://wkhtmltopdf.org/
More ›