Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dahart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2471 ms
·
7321.
▲
by
dahart
13y ago
Yes. Using objc_msgSend and NSSelectorFromString, you can call functions, dynamically by name in Objective C. Yes, it's dangerous. Clever, and not quite as easy as your favorite dynamic scripting language, but Obj-C supports it. My
7322.
▲
by
dahart
13y ago
People I respect told me the same thing, so I used to believe shipping made me a better programmer. It probably did in the sense that you see what it takes to finish, and sometimes it takes dropping your ideals for a while. Sometimes it t
7323.
▲
by
dahart
13y ago
> They are restrictions on the copyright owner. What do you mean? Moral rights do not restrict the Moral Rights holder in any way, and they do restrict the ways that any other person is allowed to present, re-present, or modify the wo
7324.
▲
by
dahart
13y ago
This idea was explored a bit more thoroughly in an episode of This American Life http://www.npr.org/blogs/money/2013/08/16/212645252/episode-... They discuss and question the validity of the ve
7325.
▲
by
dahart
13y ago
Actually, separate moral rights on copyrighted works do exist. http://en.wikipedia.org/wiki/Moral_rights They likely do not apply to a University's course catalog and, but FYI moral rights are real. Also, under US
7326.
▲
by
dahart
13y ago
Will wasn't writing about "agreements", he was explicitly making the point that for him it is indeed not worth $3k to agree to lower his ethical standards. He was writing about the non-disparagement clause, not the contract.
7327.
▲
by
dahart
13y ago
This article, while cute, seems vacuous. 'We should talk to each other more, look into each other's eyes, and be comfortable with awkward silence.' Uh, okay. The link was clicked because its great to hear real advice on how
7328.
▲
by
dahart
13y ago
Computer graphics is full of fun topics that answer these questions in accessible and visible/tangible ways! Skeletal character rigging in particular motivates a nice understanding of orthonormal bases and why a basis other than the id
7329.
▲
by
dahart
13y ago
So, is the implication that you feel zero-based is the inherently more natural? Or one-based? Truly just curious, and I'm not about to argue over it. :) Personally, even though I'm not used to it, I could probably be convinced
7330.
▲
by
dahart
13y ago
Yes, right! Again, "context is the key to knowing which one is better." We are violently agreeing, we don't really need to twist words or attempt to disprove what might just be a poorly worded statement, right? We are all e
7331.
▲
by
dahart
13y ago
float b[4], *bb; bb=b-1; Voila! I have a single array that is both zero-indexed and one-indexed, in C. This destroys the argument about pointer arithmetic. Both arrays use exactly the same calculation to access. Think this looks
7332.
▲
by
dahart
13y ago
Here's another list. :P < /usr/share/dict/words perl -ne 'print if m/^[abcdefilzsbtgo]*$/ && m/^........$/;' | perl -ne 'print if !(m/i/ && m/l&
7333.
▲
by
dahart
13y ago
You can also embed higher-res images in QR codes without breaking them. http://cgv.cs.nthu.edu.tw/Projects/Recreational_Graphics/Hal...
7334.
▲
by
dahart
13y ago
Love PIL/Pillow, for just about the easiest image I/O there is. I've been using it recently and needed a bit more industrial strength and speed than the library provides. PIL supports converting an image to/from a NUMPY
7335.
▲
by
dahart
13y ago
Haters gotta hate... This is an opinion post, not a statement of fact. There's also no byline on that very hyperbolic and negative opinion post. I don't need to defend JavaScript's Schemeness or Douglas Crockford. (I'
7336.
▲
by
dahart
13y ago
I will admit to having been an anti-JavaScript elitist (without really knowing JS.) This video changed my mind: http://youtu.be/hQVTIJBZook (google tech talk, "JavaScript: the good parts") Two facts mentioned in t
7337.
▲
by
dahart
13y ago
> Actually use the 32 CPUs you paid for: gnu parallel FTW!
7338.
▲
by
dahart
14y ago
There are a small few very gifted people who are prolific coders, and there are a small few very terrible coders who manage to get a job but can't produce decent work. But FAR more often than spotting either category "in the wild", in my ow
7339.
▲
by
dahart
14y ago
Why do so many people take sides in the phone wars, when we the consumers benefit the most if these companies are competing fiercely with each other? Especially mystifying with reports like this one that are so thoroughly weak and lazy. It
7340.
▲
by
dahart
14y ago
Its hard for everyone to accurately describe what they do in one word, but if someone launched into a story like this when I asked him what he did, I'd laugh inside. I say that with complete empathy, because I have done the same thing, had
7341.
▲
by
dahart
14y ago
You don't believe it was the case, or you're speculating? "Back when I released it, I bought the statutory license to distribute my version of this song through Harry Fox."
7342.
▲
by
dahart
14y ago
Exercise! It doesnt solve relationship or abuse problems, but it will improve your mood. Thirty minutes of exercise a day is just as effective as any medication.
7343.
▲
by
dahart
15y ago
You are selling yourself a little short. And unfortunately some of the commenting public here can't see through your self deprecation, and just add insults thinking they're smarter. They're not. Algorithms, the kind you're talking about,
7344.
▲
by
dahart
15y ago
As a legitimate technical matter, the title of this article is downright misleading, and it was made that way intentionally. This is clearly not a case of a bunch of random app picks that all just happened to be iOS apps. The title drew a
7345.
▲
by
dahart
15y ago
So, wait, it's possible for me to actually download inefficient apps on my iPhone? Onoes! Seriously, why is "iOS" in the title? Boo.