Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway54-762
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
throwaway54-762
14y ago
Exists != happens systematically. Something like fully 1/3-1/4 of women are harassed or raped during the course of their life. ONE IN FOUR. Can you imagine, one out of every four men you know in tech being stalked, harassed, or abused? Whil
32.
▲
by
throwaway54-762
14y ago
+1 for MUDs, MOOs, etc. I played Ancient Anguish in the late 90s / early 2000s. Similar story, although often figuring out (guessing) the correct verb was used as part of quests...
33.
▲
by
throwaway54-762
14y ago
Yeah, if you're a human male and consuming 200-300 mg of sildenafil daily, you are likely going to see other issues: both health (priapism), and social (uh, see: priapism).
34.
▲
by
throwaway54-762
14y ago
> Also designing a good UI for touch-only would be very different from a keyboard-based UI Right, I am assuming a soft keyboard as part of the UI here. But yes, eventually hardware keyboard is important. > I'd (re)write the whole UI
35.
▲
by
throwaway54-762
14y ago
This is an awesome idea. Please execute on it =). Sage just runs as a web app; given something in the form-factor of a large phone with hardware keyboard and a touch screen, you could have an awesomely useful calculator. Maybe packaging it
36.
▲
by
throwaway54-762
14y ago
Yeah, IIRC 5-8 years ago Apache used to return 500 when PHP scripts timed out... hence association with "busy."
37.
▲
by
throwaway54-762
14y ago
RPMs / dpkgs require root to install to the machine-global database. Both package formats have mechanisms called "triggers" which allow the package to run arbitrary shell script at install or uninstall time. Since install/uninstall are run
38.
▲
by
throwaway54-762
14y ago
It's a C library, though — is that acceptable for PyPI? Thanks for the feedback!
39.
▲
by
throwaway54-762
14y ago
Slightly tangential, but I'd like to shamelessly plug my HDFS client library (with nice Python bindings)[0]. If you want to access files on HDFS from your Python tasks outside of your typical map / shuffle inputs from the streaming API, it
40.
▲
How a Gun-Loving West Texas Girl Learned to Fear Assault Weapons
(xojane.com)
2 points
by
throwaway54-762
14y ago
|
0 comments
41.
▲
by
throwaway54-762
14y ago
Upvoted just for "// Service charge, sucker!"
42.
▲
by
throwaway54-762
14y ago
I think grandfather comment is poking fun at your (presumed) typo: your earlier comment should probably say "making shipping less painful" rather than "making shipping less painless."
43.
▲
by
throwaway54-762
14y ago
Except the CC license is explicit permission to copy. So even under the media's definition of piracy, this is not it.
44.
▲
by
throwaway54-762
14y ago
Someone want to add a [video] tag to the title?
45.
▲
by
throwaway54-762
14y ago
TLDR: v8 "sucks" (and doesn't support Unicode code points outside of the lowest ~64k characters). Edit: v8 in general is pretty cool, but not supporting Unicode outside UCS-2 is pretty bad.
46.
▲
by
throwaway54-762
14y ago
Presumably you meant, "travels about a foot in a nanosecond." From Google, "the speed of light / (10^9) = 0.299792458 m / s" -> about one foot.
47.
▲
by
throwaway54-762
14y ago
At least with ZFS, no: "Porting ZFS to Linux is complicated by the fact that the GNU General Public License, which governs the Linux kernel, is incompatible with the Sun CDDL under which ZFS is distributed."[0] See also this reasoning from
48.
▲
by
throwaway54-762
14y ago
Wait, DHH races in Le Mans?
49.
▲
by
throwaway54-762
14y ago
As a result they also have an 8-year stale (and growing) feature set compared with Linux or FreeBSD. And bringing in used, tested, and maintained code from others brings in their bugfixes as well as their bugs.
50.
▲
by
throwaway54-762
14y ago
But they share a common, non-restrictive source license. OpenBSD could have imported 1:1 threading from FreeBSD, which added it earlier.
51.
▲
by
throwaway54-762
14y ago
That's a little harsh. BSD competes against other open source operating systems, i.e. Linux. The point is that this was long overdue. That still stands…
52.
▲
by
throwaway54-762
14y ago
OpenBSD finally got multi-core threading for userspace programs, huh? Welcome to 2003[0]. (And people say BSD is still alive.) [0]: https://en.wikipedia.org/wiki/Native_POSIX_Thread_Library
53.
▲
by
throwaway54-762
14y ago
Sorry, I'm embarrassed now that I know what you were actually looking for. I will say: my answer did mention the need to atomically release the lock and then wait on the condition, but it was buried in a bunch of other crap that was not w
54.
▲
by
throwaway54-762
14y ago
Agreed on Q4 — if understanding race conditions is what Colin was driving at, Q4 was simply a bad question for it. A better wording might be: "What surprising behavior could occur if `pthread_cond_wait` didn't take a locked mutex?" (Full
55.
▲
by
throwaway54-762
14y ago
Depends on what libc (or other) routines you call... going over the end of the stack is no fun. Lots of code seems to be written to rely on deep stacks in userspace.
56.
▲
by
throwaway54-762
14y ago
4-8kB? Maybe physical memory overhead, if your code isn't too deep. But userspace thread stacks are anywhere from 128kB (FreeBSD) to 8MB (Linux) of virtual memory overhead.
57.
▲
by
throwaway54-762
14y ago
It wasn't Free Software, but is now (more or less). IcedTea / Java 7, as shipped by Fedora &co, is entirely Free Software[0]. [0]: https://en.wikipedia.org/wiki/Java_(software_platform)#Free_...
58.
▲
by
throwaway54-762
14y ago
In case you're forgetting history, Java only went open source very recently (2007, only really usable in 2008)[0]. For much of its life, it has been a closed source language / runtime. Nothing against Java, now, but it's not a fair comparis
59.
▲
by
throwaway54-762
14y ago
Or <meta http-equiv="refresh">, or a java-script redirect, etc, etc?
60.
▲
by
throwaway54-762
14y ago
Wikipedia claims they run naked, but one of the linked articles[0] says that they actually wear boots. I was wondering how they prevented frostbite... [0]: http://antarcticnet.tripod.com/300club.html
More ›