Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sebcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
sebcat
9y ago
One could argue that. One could also argue that it should be possible to collect any garbage successfully created.
122.
▲
by
sebcat
9y ago
> I'm just wondering what is the exact scenario, involving what structure. > Was: Re: bug#30626 (seq-doseq (_ (stream-range 1 1000000)) nil)
123.
▲
by
sebcat
9y ago
Ah, that works!
124.
▲
by
sebcat
9y ago
That doesn't work for me. Tried with empty Makefile, no Makefile, with make (PMake) and gmake (GNU Make).
125.
▲
by
sebcat
9y ago
> It actually doesn't know anything at all about how to build C, C++, or any other kind of code. I guess it depends on how you define "know", but there are implicit rules. $ cat foo.c #include <stdio.h>
126.
▲
by
sebcat
9y ago
ASan has lower overhead than Valgrind, and is great when you cross-compile something to an embedded/constrained system. I have however observed noticeable overhead on code doing many small allocations. Which was nice to be able to obse
127.
▲
by
sebcat
9y ago
> Well, it's not really a thing. In a browser (the only kind of UA that'll really run any scripts in an SVG), SVG basically gets treated as SGML, all the DOM stuff is the same. If you include it as an image tag, the scripts don
128.
▲
by
sebcat
9y ago
alternatively; why write code when your software company can grow on hype alone?
129.
▲
by
sebcat
9y ago
> Taxes are insanely high: income tax is on the level as Switzerland; VAT is 24.5%. What's the employer payroll tax? For comparison: in Sweden, the employer payroll tax is 31.42%, the income tax is ~30% (depending on where you live)
130.
▲
by
sebcat
9y ago
> GoPro could turn themselves around if they supported their customer community by opening up their hardware interfaces more Is it theirs to open up though? When I last looked at it, it seemed as if most of their tech was Ambarella SoCs.
131.
▲
by
sebcat
9y ago
Or Runit Island: https://en.wikipedia.org/wiki/Runit_Island
132.
▲
by
sebcat
9y ago
I also do this. I make use of Capsicum/seccomp-bpf and jail/chroot to a ro mountpoint, use SSP, ASLR where possible, ... But I still use C as my primary programming language. I've also written code in golang professionally fo
133.
▲
by
sebcat
9y ago
Other types of businesses choose to maintain large chunks of code in a "legacy language" and paying people to maintain it overtime, at a cost (e.g., banks and COBOL). Let's say there's a COBOL -> C/C++/Rust&
134.
▲
by
sebcat
9y ago
Which tells me that 1) the deficiencies are minor or 2) the benefits outweigh the deficiencies, or a combination.
135.
▲
by
sebcat
9y ago
"It is even better to act quickly and err than to hesitate until the time of action is past" -- Carl von Clausewitz (On War?)
136.
▲
by
sebcat
9y ago
The boot time bottleneck (if it can be called that) on my old ABC80 was waiting for the CRT to warm up. The prompt was already there and fading into view a couple of seconds after power-up. Booting from ROM is one thing. Loading something f
137.
▲
by
sebcat
9y ago
In Lua, LPeg[1] is my goto for anything that can't be done/gets too complex with patterns. [1] http://www.inf.puc-rio.br/~roberto/lpeg/
138.
▲
by
sebcat
9y ago
Massif is a good tool for memory profiling: http://valgrind.org/docs/manual/ms-manual.html
139.
▲
by
sebcat
9y ago
LD_PRELOAD is a pretty decent tool to have in your toolbox when debugging, and you can't fire up lldb/gdb. I've used it in the past to get an overview of what gets passed to SSL_write, SSL_read: https://github.com&
140.
▲
by
sebcat
9y ago
Private property as ownership is unjust according to e.g., Proudhon. Growing a piece of land and reaping the fruits of your labor is different from having a piece of land(/shares of a company/...) and benefiting from the work othe
141.
▲
by
sebcat
9y ago
Revolutionary communism/Marxism (which Chávez identified with) likes the idea of the dictatorship of the proletariat. It is not a requirement for socialism in itself, and a lot of socialists would be directly opposed to it.
142.
▲
by
sebcat
9y ago
Good point. The idea would be to avoid loss on the way down, and repurchase when the numbers go up again, but that would of course be very difficult to know when that is.
143.
▲
by
sebcat
9y ago
Caveat: I have no idea what I'm doing, but it has worked out well so far. I have some of my savings in index funds. The low fees, the risk profile (if that's a proper term for it in English) and historical performance (which is no
144.
▲
by
sebcat
9y ago
> it seems the number of channels was exponential to the number of users in a room I do not see this in the code linked to from the article.
145.
▲
by
sebcat
9y ago
I count three goroutines per connection: One for ChatHandler.Loop (when invoked from ChatService), one for ChatHandler.socketReaderLoop and one for socketWriterLoop. Each ChatHandler has three (buffered) channels: outgoingInfo.channel, sock
146.
▲
by
sebcat
9y ago
I'm not so sure it's that simple. Airplanes can glide, autorotation is hard and rotors tends to break apart violently on impact.
147.
▲
by
sebcat
9y ago
> Is the modified version you use a personal version or a well-known fork? I had a specific thing I needed to do, gumbo-parser was a good match, I poked at it a little and moved on. It started with this[1] commit, then I did some other w
148.
▲
by
sebcat
9y ago
lxml can be hit-or-miss on HTML5 docs. I've had greater success with a modified version of gumbo-parser.
149.
▲
by
sebcat
9y ago
> The agency regarded as the world’s leader in breaking into adversaries’ computer networks failed to protect its own. Those are two very different things. Focusing on one of them doesn't automatically benefit your efforts on the ot
150.
▲
[Chromium Headless] Save and restore browser sessions
(bugs.chromium.org)
1 points
by
sebcat
9y ago
|
0 comments
More ›