Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jballanc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
691.
▲
by
jballanc
14y ago
MyModule.camelize doesn't support polymorphism (you could even call it procedural programming in a OOP shell), but something like Camelizable.new(my_string).camelize does. I'm still convinced that what Ruby needs is more object composition
692.
▲
Refining Ruby
(blog.headius.com)
168 points
by
jballanc
14y ago
|
54 comments
693.
▲
by
jballanc
14y ago
I was one of those who was vehemently anti-C++. Then I read the source code for LLVM (or, large chunks of it...it's a rather large code base). Now I am of the opinion that beautiful things can be created in C++ as well, it just takes consid
694.
▲
by
jballanc
14y ago
Racism and Sexism are not bad because they involve race and/or sex. They are bad because they imply that you are judging a person before first knowing that person well enough to pass sound judgment. The real lesson here is that the internet
695.
▲
by
jballanc
14y ago
If something more Lisp-ish is your style, you can also check out 4clojure.org . Same kind of idea (just not presented quite the same).
696.
▲
by
jballanc
14y ago
This is excellent advice! I can't tell you the number of times I've worked on projects where I wished just such a "read-only" mode existed. As an added benefit if you have a read-only version of your site, I know at least Akamai (and poss
697.
▲
by
jballanc
14y ago
Ah, this is my favorite also. If seeing this doesn't make you second guess using a RegExp when a parser is more appropriate, well...you might be a Perl programmer?
698.
▲
by
jballanc
14y ago
There's a project to embed a Lua interpreter in the NetBSD kernel: http://netbsd-soc.sourceforge.net/projects/luakern/
699.
▲
by
jballanc
14y ago
I'm sure the US doesn't need to bother wasting the resources required to train and embed a spy when a lawyer with a subpoena will do...
700.
▲
by
jballanc
14y ago
Indeed. Regarding the article itself, my view would be that the blame lies squarely at the feet of the Mono team for using Crockford's code, license and all, knowing that their target audience (finicky Linux distros) might later object. But
701.
▲
by
jballanc
14y ago
Do you have a start up? Do you hope that you will some day be able to make an exit with that start up? Are you willing to entertain a buy-out by a larger corporation as a possible exit? If yes, then as much as you (the hacker/startup foun
702.
▲
by
jballanc
14y ago
It honestly would not be that difficult to implement something like this. Both the OSI and FSF maintain lists of "approved" licenses along with standard license text. In fact, Pivotal Labs has created a tool along these lines for Ruby: htt
703.
▲
by
jballanc
14y ago
It's not a market failure because it pisses off one person. It's a market failure in that the long-term sustainability of a fundamental component of the ecosystem is in question. Potentially, Douglas Crockford could hire a team of lawyers a
704.
▲
by
jballanc
14y ago
I've always considered the one thing that Google Code has over Github is the mandatory selection of a standard license when creating a publicly visible project. Also, to the point of regulation, the government is by no means the only vect
705.
▲
by
jballanc
14y ago
Sometimes I find the cognitive dissonance in the software community to be as entertaining to watch as that in various religious sects... Software types are famously inclined toward libertarian views. An oft repeated mantra on HN is "let the
706.
▲
Tutorial: Building a RubyMotion iPhone App Using ProMotion
(clearsightstudio.com)
16 points
by
jballanc
14y ago
|
0 comments
707.
▲
by
jballanc
14y ago
Beyond that, even, you can write Objective-C in pure C99. The brackets, class definitions, and all the rest is a sort of syntactic sugar that converts directly to a handful of straight C functions (you can find them all here: https://devel
708.
▲
by
jballanc
14y ago
When I taught Intro Chemistry at university, I had a fun bonus project for the students when we got to the unit on thermodynamics. The assignment was to assume that an ideal nuclear device was set off in the eye of a major hurricane such th
709.
▲
by
jballanc
14y ago
Nope, this doesn't smell right... In fact, this smells like an intentional leak by someone on Color's side in an effort to boost their price to some other potential buyer (counting on Apple's legendary no-comment streak to bolster the appea
710.
▲
by
jballanc
14y ago
Yes, and it is for that reason that I hope they take their time. SpaceX is very much a pioneer in this space, and how they handle each situation will set the benchmark, for better or worse, for those that come after. I thought the way they
711.
▲
by
jballanc
14y ago
I would hope that it would be later than later today, and that they would take an appropriate amount of time to analyze all the data...
712.
▲
by
jballanc
14y ago
I, too, am looking forward to a full analysis, but I think it helps to recall that this occurred at or near maxQ (maximum dynamic pressure). At these stresses, pretty much anything looks like an "explosion". For example, the Challenger didn
713.
▲
by
jballanc
14y ago
I think the now infamous Jim Cramer video, where he explains how to manipulate Apple's stock price over the short term, should be a pre-requisite before reading any piece on Apple by an "analyst": http://www.liveleak.com/view?i=b1b_1237128
714.
▲
by
jballanc
14y ago
As a fun exercise, check out all of the countries where the "Arab Spring" has been taking place (e.g. Iran, Tunisia, Libya, Egypt). All have a characteristic "bulge" around the 20 age range. There is a tendency for infant mortality to drop
715.
▲
by
jballanc
14y ago
I think what they say about "Internet time" and the length of people's memories might be correct. This is, in fact, very in keeping with Apple's character. Apple doesn't often screw up, but when they do, they will definitely own up to it. (
716.
▲
by
jballanc
14y ago
Definitely! When I still lived in NYC, I would make an effort to spend time working at the Rose Reading Room at the New York Public Library whenever I could. [another larg-ish image, likewise you need to see for yourself] http://upload.wik
717.
▲
by
jballanc
14y ago
I'm surprised no one here has mentioned the obvious solution: go with the Apple model and build Ubuntu machines. Sure, Apple made some money from selling OS X at $129. It's making less now. But new OS sales were never the reason for Apple t
718.
▲
by
jballanc
14y ago
GDB is the venerable veteran with literally decades of experience baked in. It's good for most of what you would want to do. LLDB (the debugger part of the LLVM project, of which Clang is the compiler part) has made some interesting strides
719.
▲
RubyMotion gets iOS 6, iPhone 5, debugger
(blog.rubymotion.com)
72 points
by
jballanc
14y ago
|
6 comments
720.
▲
by
jballanc
14y ago
No, just off of Istiklal Caddesi. Actually, Istiklal is interesting in that it is somewhat isolated, and almost every alley leading you to it (except for a few major ones) is a different adventure. Istiklal also has a number of "pasajlar" t
More ›