Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sebcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
sebcat
9y ago
I'm 17x cm and weigh 7x kg. I run (mostly 10K, completed a half-marathon recently) and lift weights semi-regularly. I have a relatively low sugar intake. I don't feel energetic at all. I get home from work and more or less lay dow
152.
▲
by
sebcat
9y ago
I mean, select(2) (and thus event loops) was in 4.2BSD ~10 years before windows 3.1 was released, and it wouldn't surprise me if there were earlier examples of I/O multiplexing.
153.
▲
by
sebcat
9y ago
Coredumps and debuggers are a thing. Sounds more like a bad TA.
154.
▲
by
sebcat
9y ago
33c3 talk related to this topic: https://www.youtube.com/watch?v=n8WVo-YLyAg - "Where in the World Is Carmen Sandiego?"
155.
▲
by
sebcat
9y ago
Or writing a lot of code that does something, compared to writing less code that does something well.
156.
▲
by
sebcat
9y ago
Here are some examples: https://github.com/cblp/yaml-sucks TBH, common JSON implementations have their problems too. Integer size and integer/float (de-)serialization tend to be somewhat interesting at times. I&#x
157.
▲
by
sebcat
9y ago
And, instead of using pointers into said memory, use indices so that the slab can be reallocated, or just mmap more pages following the slab if you own the process address space. Also, align properly. And having guard pages is always nice.
158.
▲
by
sebcat
9y ago
Even in pre-colonial times? Or whas it just that Europeans settled in places that felt like home?
159.
▲
by
sebcat
9y ago
> 9 times out of 10 the only reason they'll resort to testing anything is to cross off a corp checkbox somewhere Can confirm. The way it usually works is that Company X has N dollars allocated for security. Company X (or rather, a p
160.
▲
by
sebcat
9y ago
I've written event-driven, non-blocking style C for a couple of different projects on POSIX platforms. When a file descriptor becomes readable, you read from it until read(2) returns EAGAIN[1] or until a condition is fulfilled, such as
161.
▲
by
sebcat
9y ago
At a computer with go1.4.2 freebsd/amd64 ATM (earlier was go1.8.1 linux/amd64 IIRC) and the above os/user example results in a dynamically linked ELF when built with CGO_ENABLED set to 0.
162.
▲
by
sebcat
9y ago
To expand on this: $ cat foo.go package main import ( "fmt" ) func main() { fmt.Println("Hello") } $ go build foo.go $ file foo foo: ELF 64-bit LSB executable,
163.
▲
by
sebcat
9y ago
You need to hit the first ret in the vulnerable function to enter the ROP chain, and before that ret the value at the top of stack will be (de-)mangled. If the return address on the stack is overwritten by an attacker, it needs to be overwr
164.
▲
by
sebcat
9y ago
6502 FIG Forth kernel: https://pastie.se/3ec4854e
165.
▲
by
sebcat
9y ago
The first article is about Peter Sunde. Another TPB founder, Gottfrid Svartholm Warg was treated even worse, being held in solitary confinement for months before his trial. Which sadly happens way too often. http://www.ohchr.org&
166.
▲
by
sebcat
9y ago
You don't have to be an expert to make/jump the actual parachute/canopy. As long as the harness, container and reserve are TSO'd you're good to go. It's a lot of work though, at least for a ram-air. EDIT: Some
167.
▲
by
sebcat
9y ago
It's the beginning of a kernel. It may expand in the future, but to me, calling it an OS is like building a door and calling it a house. It's inaccurate and it makes it sound greater than it currently is. I on the other hand do no
168.
▲
by
sebcat
9y ago
For protocols yes, but you need to look at the full picture. e.g., what would the oracle be in this case? Encrypt then compress makes no sense at all. Compress then encrypt, or don't compress at all.
169.
▲
by
sebcat
9y ago
What saddens me is that, while red team pen testing is a very "hot" (high employer demand, high salaries) job market, people don't generally care about the blue team. It's easy to get a pentesting gig that pays well, but
170.
▲
by
sebcat
9y ago
C, Lua, POSIX sh. I plan to repurpose old-ish boards with MIPS/ARM SoCs (e.g., AR7240) for various network security purposes. For the C part I have a set of daemons planned and partially implemented which will provide basic functionali
171.
▲
by
sebcat
9y ago
> SÄPO (Swedish equivalent of MI5 or CIA) Nitpicking: Säpo is not the Swedish equivalent of the CIA. e.g., the single largest expense of Säpo is protection of dignitaries, which is a role held by the USSS, not the CIA.
172.
▲
by
sebcat
9y ago
> Being raised in a family that struggles to make ends meet might give one the grit and character one needs to succeed. Or it stacks the odds against you, and you'll struggle the same way those before you in your family/social
173.
▲
by
sebcat
9y ago
Having a company wide git hook for clang-format-diff [1] really solves a lot of problems. No unrelated linting changes (unless people don't know how to use their editor, but that gets caught in code review and people learn) and consist
174.
▲
by
sebcat
9y ago
Well, anything that does not support the point I am making is not modern C.
175.
▲
by
sebcat
9y ago
Or just rewrite it in modern C. This is sane and doable in a short period of time. You just have to make sure it's modern C. (no true Scotsman)
176.
▲
by
sebcat
9y ago
Since this guy is equating "secure" with "HTTPS" in some of his statements, would you say that he does not understand that security is not binary?
177.
▲
by
sebcat
9y ago
He also claims that Quantas "secured their site" by adding HTTPS to their login page, and that serving sites over HTTPS is "secure by default"
178.
▲
by
sebcat
9y ago
I wish people would stop equating "secure" with "HTTPS".
179.
▲
by
sebcat
9y ago
It's not just Gtk. At $WORK, we have a lot of user space daemons where everything boils down to GLib, and GIO for all IPC. We do our own hardware and kernel development (upstream kernel + .ko's for our stuff) and that's good
180.
▲
by
sebcat
9y ago
sed works on stdin by default (see third example) so there shouldn't be a need to pipe from /dev/stdin, and line anchors should still work. $ cat myfile foo foo baz baz $ cat foo.sh #!/bin/sh
More ›