HNHacker News
TopNewBestAskShowJobs

throwaway54-762

204 karma · joined February 23, 2012

submissionscomments
throwaway54-762··on Speaking up
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? While men being stalked is terrible, it simply isn't on the same scale as the stalking of women.
throwaway54-762··on The English-Likeness Monster Stalks a New Generation of Programmers
+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...
throwaway54-762··on Viagra as Diet Pill? One Day, Perhaps
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).
throwaway54-762··on Sage 5.6 released
> 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, designing it from scratch to suit small screen

This only needs to change if your screen is small -- otherwise the sage notebook seems reasonable at tablet sizes... but yes, if you're aiming at the Ti hand-held form factor it must be changed.

> I'm a _______, so I'm probably underestimating the work involved here

C'est la vie

> That's a x86 computer running MS-DOS fitting on your palm. From the mid-90's. I think we can do something at least as cool today.

Definitely. This project sounds awesome (and also a bunch of work) -- good luck!

throwaway54-762··on Sage 5.6 released
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 up as a tablet app would be a good first step in this direction?

throwaway54-762··on Lemmings 404 page
Yeah, IIRC 5-8 years ago Apache used to return 500 when PHP scripts timed out... hence association with "busy."
throwaway54-762··on SSH client in Google Chrome
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 as root, this means arbitrary root code execution on install.

Vs: a non-root user extracting a tgz and then running some file, root is never involved.

I'm not in agreement with OP about this being a concern worth his or her mitigation strategy, but the logic is sound.

throwaway54-762··on A Guide to Python Frameworks for Hadoop
It's a C library, though — is that acceptable for PyPI? Thanks for the feedback!
throwaway54-762··on A Guide to Python Frameworks for Hadoop
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 might be handy? It doesn't go through the JVM (the library is in C), so it might save a little latency for short Python tasks.

[0]: https://github.com/cemeyer/hadoofus

Also, I'm pretty new to publishing my own open source libraries. If people would be so kind, I'd love some constructive criticism. Thanks HN!

throwaway54-762··on The impoliteness of overriding methods
Upvoted just for "// Service charge, sucker!"
throwaway54-762··on Thinking of Selling on eBay using Paypal? Think Again
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."
throwaway54-762··on Hacking Happy
Except the CC license is explicit permission to copy. So even under the media's definition of piracy, this is not it.
throwaway54-762··on A Simple Tour of the Ruby MRI Source Code with Pat Shaughnessy
Someone want to add a [video] tag to the title?
throwaway54-762··on Why we can't process Emoji anymore
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.

throwaway54-762··on Inside Google Spanner, the Largest Single Database on Earth
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.
throwaway54-762··on VLC Core is LGPL
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 the native ZFS linux kernel module port:

"In a nutshell, the issue is that the Linux kernel which is licensed under the GNU General Public License is incompatible with ZFS which is licensed under the Sun CDDL. While both the GPL and CDDL are open source licenses their terms are such that it is impossible to simultaneously satisfy both licenses. This means that a single derived work of the Linux kernel and ZFS cannot be legally distributed."[1]

[0]: https://en.wikipedia.org/wiki/ZFS#Linux

[1]: http://zfsonlinux.org/faq.html#WhatAboutTheLicensingIssue

throwaway54-762··on Commercial freedom
Wait, DHH races in Le Mans?
throwaway54-762··on OpenBSD 5.2 released
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.
throwaway54-762··on OpenBSD 5.2 released
But they share a common, non-restrictive source license. OpenBSD could have imported 1:1 threading from FreeBSD, which added it earlier.
throwaway54-762··on OpenBSD 5.2 released
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…

throwaway54-762··on OpenBSD 5.2 released
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

throwaway54-762··on Software dev. final exam answers: Computer Architecture and Operating Systems
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 what you were looking for.

If you really want, I'll send you an email — let me know.

throwaway54-762··on Software dev. final exam answers: Computer Architecture and Operating Systems
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 disclosure: I also scored a zero on Q4. However, I'm familiar with both pthreads and the necessary atomicity between releasing the lock and waiting on the condition, so this was a surprise. He was obviously fishing for a specific answer, but I couldn't figure out which from the question.)

throwaway54-762··on Libtorrent experience - the poor state of async disk IO
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.
throwaway54-762··on Libtorrent experience - the poor state of async disk IO
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.
throwaway54-762··on dl.google.com now served by Go
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_...

throwaway54-762··on dl.google.com now served by Go
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 comparison to Go. (Disclosure: I was an early Go contributor but no longer use it for day to day work. I have no affiliation with Google.)

[0]: https://en.wikipedia.org/wiki/Java_(software_platform)#Free_...

throwaway54-762··on Spammers start using short .gov URLs to trick their victims
Or <meta http-equiv="refresh">, or a java-script redirect, etc, etc?
throwaway54-762··on Antarctica like you've never seen it before
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

throwaway54-762··on SpaceX update: The engine did not explode
Are failures independent?
← PreviousPage 2 of 4Next →