Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sebcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
sebcat
8y ago
Agreed. When it comes to naming things, I really like the way Russ Cox puts it: https://research.swtch.com/names
92.
▲
by
sebcat
8y ago
Observation: The way JS handles "holes" in sparse arrays is similar to how Lua resolves non-existent table entries to nil. This can be interesting when people don't know the difference between pairs, ipairs and for 1, #tbl it
93.
▲
by
sebcat
8y ago
> But having to explicitly specify both destination and source sizes might prevented a lot of buffer overwrite bugs. A good way to prevent this is to have a buffer abstraction, where the size is a property of the type, e.g., typede
94.
▲
by
sebcat
8y ago
> I also want to welcome things like gRPC/Protobuffs over HTTP/2 which introduce really fast comms between clients and servers, sacrificing the visibility of the stream's contents. Protobufs and similar serialization proto
95.
▲
by
sebcat
8y ago
PoC in subsequent email: http://seclists.org/oss-sec/2018/q3/125
96.
▲
by
sebcat
8y ago
> I wouldn't be surprised if many older Unixes are still running Tcl/Tk apps. Or newer. e.g., I use gitk daily at work.
97.
▲
by
sebcat
8y ago
It is difficult to compare languages with operating systems on which those languages can be executed/evaluated. On systems that implement them, Tcl can use select, epoll, kqueue for its event notification implementation, as well as pth
98.
▲
by
sebcat
8y ago
> i can’s shake the feeling that callback passing and generator coroutines are a fad [...] Callback passing and coroutines are well known techniques that's been around for a while. Generators are just coroutines that yield to their
99.
▲
by
sebcat
8y ago
Made me think of an old Phrack article, "Low Cost and Portable GPS Jammer". Worth a read! http://phrack.org/issues/60/13.html#article
100.
▲
by
sebcat
8y ago
Lexical scope, I like it
101.
▲
by
sebcat
8y ago
To clarify: the point I was trying to make was that the explicit 'end' in Lua allows for closures that are more nice (subjective) than Python lambdas. Something both JS and Lua got right, but with which Python ended up with a much
102.
▲
by
sebcat
8y ago
OTOH, I would love Python even more if I could do: x = function(x) return x*x end and not use those awful Python lambdas... Not that it really matters though, bridges still get built.
103.
▲
by
sebcat
8y ago
For more jemalloc information/context/history/trivia, I would recommend reading the jemalloc paper. "A Scalable Concurrent malloc(3) Implementation for FreeBSD", Jason Evans, April 16, 2006 https://www.bs
104.
▲
by
sebcat
8y ago
I wouldn't want academia to focus on business. That's more technical than academical. If I see a CS (computer "science") course teaching the latest front end JS tech, I would be disappointed.
105.
▲
by
sebcat
8y ago
I think the relationship of power is important here. Reaching consensus among peers is not the same thing as asking for permission from an entity of a superior position of power.
106.
▲
by
sebcat
8y ago
Had general anesthesia as a kid/pre-teen. Broke my nose, went to the hospital, doctor didn't want me to be awake when fixing it. Felt very sick and disorientated afterwards. Had swallowed what I at the time perceived to be a lot o
107.
▲
by
sebcat
8y ago
The drones would have to be pretty tough to do JIT delivery during cyclone season. Maybe it can be done when the weather is good, provided that it is beneficial to do so.
108.
▲
by
sebcat
8y ago
ASN.1 JER (JSON Encoding Rules) exists, for anyone who wants it.
109.
▲
by
sebcat
8y ago
> You see the same thing in Vermont, New Hampshire, Maine, Massachusetts, etc. For comparison, Sweden is about the size of California, with roughly one forth of its population. > In the US, on average if you want to see a better form
110.
▲
by
sebcat
8y ago
A WAF will also add an attack surface, just like anti-virus software before them. Company X, a content publisher, has a wordpress site with a bunch of plugins. They hear that the security record of such a setup is less than ideal. They buy
111.
▲
by
sebcat
8y ago
> The use of symbols in the code (e.g., "←", which seems to be the assignment operator) is also interesting. Looks like they had their own character set [1] https://en.wikipedia.org/wiki/Stanford_Extended_A
112.
▲
by
sebcat
8y ago
Skydivers suffer from depression too. It would be interesting to know if skydivers as a group are more or less depressed than non skydivers or people who skydive less frequently. Are the effects the same for someone with +1000 jumps or is i
113.
▲
by
sebcat
9y ago
My (potentially limited) understanding: Certification by an ASV doesn't free you from any responsibilities. You could still violate the DSS even if an ASV clears you.
114.
▲
by
sebcat
9y ago
> Of course, fork() is not especially fast fork itself is pretty fast, relatively speaking (unless you have a large virtual address space and 4K pages or similar). fork+execve+process-runtime-initialization is much slower. On my X201 (an
115.
▲
by
sebcat
9y ago
Also: http://www.dsca.mil/major-arms-sales/sweden-patriot-configur... "The total estimated program cost is $3.2 billion" The reason for both of these deals seems to be somewhat correlated to Iskander units in
116.
▲
by
sebcat
9y ago
Yes. Using loglevels/priorities, facilities and identities in a sane way, your logs would already be classified. Let's say there's a service failure and I want to know what the service has done prior to the failure. I wouldn&
117.
▲
by
sebcat
9y ago
$ ldd chrome | wc -l 124 Shift-Esc is Chrome's own task manager. I don't know how they count.
118.
▲
by
sebcat
9y ago
If I Shift-Esc in Chrome with one tab open, it shows that this tab ("Add Comment") consumes 0 bytes of shared memory and 163 828 kB of private memory. Current window size is 1280x800. Assuming the render buffer is ARGB32 and assum
119.
▲
by
sebcat
9y ago
musl: https://www.cvedetails.com/vulnerability-list/vendor_id-1685... Can't find separate listings for libc in FreeBSD, OpenBSD but the list is smaller than glibc if you check e.g., VuXML or https://www
120.
▲
by
sebcat
9y ago
At first I though feature detection as in Sobel, LoG, &c, which made me really confused when reading the replies.
More ›