Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jayferd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
jayferd
14y ago
Thank you for this. I have a life and other priorities, and I find it difficult to work in an environment where everyone sticks around the office until 8pm. It's difficult to see how our behavior affects others, and how important it is to
152.
▲
by
jayferd
14y ago
Fair point. Perhaps it seemed that way because I'd been working so much that I'd lost any semblance of a social life outside work. That's a mistake I haven't made again. Also, not everyone in the company should be painted with the same br
153.
▲
by
jayferd
14y ago
"It stings the person WAY more than the company. ... I encourage everyone to get fired once so they know that feeling. It’s unbelievable and something to definitely learn from." ^THIS. THANK YOU, SIR. In my case, it wasn't the sudden lack
154.
▲
Rouge, the pygments-compatible pure-ruby syntax highlighter
(jayferd.us)
5 points
by
jayferd
14y ago
|
0 comments
155.
▲
by
jayferd
14y ago
Shebangs (#!) have been around for quite a long time. It's actually really handy to be able to write a script that you can execute as a command. See https://en.wikipedia.org/wiki/Shebang_(Unix)
156.
▲
by
jayferd
14y ago
I agree it can be difficult, and these things do change drastically over time. The NAACP was founded at a time when "colored" was not considered derogatory, and they haven't changed the name since, for a number of reasons. But if you go a
157.
▲
by
jayferd
14y ago
"Deaf-mute" has mostly fallen out of usage, much like other once-commonplace derogatory classifiers such as "colored", "oriental", and "savage". Generally speaking, "deaf" = physically deaf, i.e. unable to hear, and "Deaf" = culturally Deaf
158.
▲
by
jayferd
14y ago
It was an obsolete gem that our obsolete code still depended on. There's reasons I don't work for that company anymore :)
159.
▲
by
jayferd
14y ago
Try "$HOME/.local". I don't think anyone's building packages that put things there.
160.
▲
by
jayferd
14y ago
+1. At a previous job, I spent hours rebuilding a ruby gem where someone had carelessly hard-coded "#!/usr/local/bin/ruby" into all of their executables. Even if it looks like it works, don't do it! Stick to "#!/usr/bin/env ruby" for maxim
161.
▲
by
jayferd
14y ago
With /usr/local, though, you still have to use `sudo` - unless you're crazy and chown or chmod it appropriately. I've been a longtime advocate for $HOME/.local, which is (a) obviously writable by you, (b) on your home partition, so it's ba
162.
▲
by
jayferd
14y ago
With this sort of tool, I always have to ask myself: is it better than a Makefile? https://github.com/mathquill/mathquill/blob/dev/Makefile Yes, Makefiles don't have magic syntax for qunit, but they're incredibly flexible.
163.
▲
by
jayferd
14y ago
The best part is that keys that don't produce text input have codes on keypress that are indistinguishable from other keys. from http://unixpapa.com/js/key.html : > For browsers that generate keypress events for special keys, it is al
164.
▲
by
jayferd
14y ago
Key codes are pretty good for little things, but they break down pretty quickly if you want international support. In Mathquill, we ended up just using a hidden textarea and a setTimeout, with a few hilarious hacks. The comments and commi
165.
▲
by
jayferd
14y ago
Spot on. All I know is the situation at Berkeley, but I imagine it's similar at other universities. The lower-division math curriculum (particularly intro calculus and linear algebra) is under pressure from a bazillion different departmen
166.
▲
by
jayferd
14y ago
Nobody seems to understand what college-level math is . This isn't balancing checkbooks, folks. I loved being a math major, and I have trouble doing simple math. College-level mathematics is about as far removed from the "real world"
167.
▲
by
jayferd
14y ago
Making a subject mandatory is a great recipe for sucking all the life out of it, and mathematics is one of the best examples. Is algebra awesome? Absolutely. Does every member of our society need to be able to factor polynomials? ...not
168.
▲
by
jayferd
14y ago
You know, when I tell people I use Linux, they usually say something like, "But don't you have to spend countless hours on pointless yak-shaving tasks just to get things to work sensibly?"
169.
▲
by
jayferd
14y ago
Portable green ideas sleep furiously.
170.
▲
by
jayferd
14y ago
Couldn't help noticing this article was right next to "Is it time to stop writing headlines that end in question marks?" http://news.ycombinator.com/item?id=3963685
171.
▲
by
jayferd
14y ago
FWIW, as a Linux user I have the same problem with Safari. But thankfully it uses the same rendering engine as Chrome, so I can be relatively sure that if it works in one, it works in the other. IE is another can of worms.
172.
▲
by
jayferd
14y ago
> By postulating this "ghost" of centuries-old violence, they justified violence on their part against all other ethnic groups that seemed to lie in the way to ethnic self-determination. Definitions aside, this seems to be where it all
173.
▲
by
jayferd
14y ago
That's a good point, which I'll have to think about. Clearly not all violence is physical violence. But it's also very easy to use that as a carte blanche for revenge - as in "you're oppressing me this much, so I can do this much violence
174.
▲
by
jayferd
14y ago
I might have rephrased, "It's very difficult to help the poor unless you also get off their backs". Perhaps it's not helpful to think "everything will be better if those people get off our backs", as you mention. But I'm a U.S. citizen, and
175.
▲
by
jayferd
14y ago
I had to stare at the word "SUBPOENAED" for a long time before concluding that it was indeed spelled correctly.
176.
▲
by
jayferd
14y ago
I sit on a man's back, choking him, and making him carry me, and yet assure myself and others that I am very sorry for him and wish to ease his lot by any means possible, except getting off his back. -- Leo Tolstoy Any solution to the suffe
177.
▲
by
jayferd
14y ago
Well technically you did, by opening the JSFiddle.
178.
▲
by
jayferd
14y ago
Yep, that's what I was referring to when I said "opposite of straightforward". I've been reading a lot of these kinds of articles from the IE team lately ("Our browser is better now, why does everyone still hate us?"). And I have to admit,
179.
▲
by
jayferd
14y ago
that's a little harsh, don't you think? The topic in question is a little more subtle than that. The comments about the developer tools and the wonky VM setup still stand. Also, they say money is fungible, but it rubs me the wrong way to
180.
▲
by
jayferd
14y ago
That's also fair - there's definitely middle ground. I particularly like the "not optimized for IE" notification, which would allow us to legitimately suggest trying another browser as the solution to a problem.
More ›