Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smegel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
smegel
9y ago
> will be permitted only to connect to a company’s headquarters abroad And HQs gateway to the wide world web?
182.
▲
by
smegel
9y ago
Prevent Javascript from running HTML5 videos and I will switch in a heartbeat. But I guess Mozilla is just as corrupt as Google...
183.
▲
by
smegel
9y ago
Isn't the point of this to get your real phone across the border, not just any phone?
184.
▲
by
smegel
9y ago
Won't it arouse suspicions to have a clearly used, but blank phone?
185.
▲
by
smegel
9y ago
"A/B test" was clearly the wrong phrase yes, but I don't see how that reduces it to a "marketing spot". Demonstrating a products effectiveness through a meaningful comparison that shows it actually working in p
186.
▲
by
smegel
9y ago
Link doesn't work in Australia. Just get redirected to https://www.vice.com/en_au . Yet this works: https://www.vice.com/en_au/article/d385ak/eating-clean-is-us...
187.
▲
by
smegel
9y ago
Parental supervision. This is no solution as kids will always find other ways to share and access porn as they have since well before the days of the internet or computers.
188.
▲
by
smegel
9y ago
> This is more exciting than this title suggests If you are excited by that title I have an exciting opportunity I would like to discuss with you.
189.
▲
by
smegel
9y ago
> Unfortunately, IBM is struggling to bridge the gap between client needs and its own technological capability. AI in a nutshell.
190.
▲
by
smegel
9y ago
To be fair, forcing \t on people was a douchebag move.
191.
▲
by
smegel
9y ago
Or fix Chrome that allows this kind of abuse? Google doesn't give a shit about protecting users.
192.
▲
by
smegel
9y ago
Why isn't the return address stored in a register instead of on the stack to avoid this in the first place?
193.
▲
by
smegel
9y ago
You're right. It is much easier to repair a car.
194.
▲
by
smegel
9y ago
Find some 20 years old cars, one with 200,000 miles on the clock, one with 20. Which would you choose?
195.
▲
by
smegel
10y ago
> What if this website will be static but dynamic at the same time? Well then it wouldn't be static would it?
196.
▲
by
smegel
10y ago
Banning unpopular views hardly sounds liberal. Or does it?
197.
▲
Show HN: Wow, a mod here threatened to BAN me for supporting Trump
8 points
by
smegel
10y ago
|
11 comments
198.
▲
by
smegel
10y ago
I'm going to build a house in a few years time. I have a feeling there will be a lot of Tesla branded stuff in (and on) it.
199.
▲
by
smegel
10y ago
What about the other 60 million displaced people? Seems a bit selective for no apparent reason.
200.
▲
by
smegel
10y ago
> I get that you can do this in response to a system call (the one issued in step 1). You could avoid blocking in Linux as well using madvice() and mincore() Yes, but the one thing they don't give you is notification the data is i
201.
▲
by
smegel
10y ago
> Triggering a non-blocking read and continuing execution requires either writing different code Well you are asking about doing something non-blocking. That means you must be in some kind of event-loop scenario, otherwise you would be h
202.
▲
by
smegel
10y ago
It is subpar on Linux. On an engineered OS like FreeBSD it is amazing. There is a reason Netflix/Cloudflare/more run all their nginxs on BSD. https://www.nginx.com/blog/thread-pools-boost-performance-9x...
203.
▲
by
smegel
10y ago
Sadly mmap is also blocking on page faults on Linux :(
204.
▲
by
smegel
10y ago
1. thread: hey kernel, I would like to read this page of memory. 2. kernel: hey thread, that page is still on SLOOOOW spinning disk, why don't you go off and do something else while I get it for you. I'll let you know with an even
205.
▲
by
smegel
10y ago
1. make a non-blocking read on the data 2. while it is being paged into memory, <DO OTHER STUFF> 3. now your data is in memory and you can update it (writes are async by default even on Linux, as the write just goes into memory and wi
206.
▲
by
smegel
10y ago
Sure it would be my pleasure. Kqueue allows a read request to be scheduled that is non-blocking on a page fault. Linux always blocks the thread executing read() on a page fault. This is still true using aio_read(), as all that does is run a
207.
▲
by
smegel
10y ago
You say "hey process, this data is not available yet, but if you listen on this event port I will sent you a notification when it is ready, then you can do whatever you want with it. In the meantime, continue to serve up data that is i
208.
▲
by
smegel
10y ago
https://people.freebsd.org/~jlemon/papers/kqueue.pdf
209.
▲
by
smegel
10y ago
> OS paging is blocking as hell No, Linux is rubbish. Seriously. FreeBSD does this properly. Edit: FreeBSD, Windows, OSX, Solaris, AIX, HP-UX(?)...
210.
▲
by
smegel
10y ago
I wasn't emphasising, I was quoting a hypothetical developer yelling in frustration because he just wants to write a safe web app and people keep talking about curves. All-caps is the correct markup style for yelling.
More ›