Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jablan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
jablan
14y ago
Same with Midori 0.4 ( https://aboutmybrowser.com/1408260971 )
182.
▲
by
jablan
14y ago
Not sure if you are familiar with Enumerator class in Ruby, it does pretty much what generators in PHP are about: require 'enumerator' def each_line_from_file file_name Enumerator.new do |yielder| File.open(file_name) do |f
183.
▲
by
jablan
14y ago
There is a bunch of such devices on dx.com, but I wouldn't be wondered if they start appearing in large department stores all over the world by now, similar to all those cheap Android based tablets you can buy everywhere now. This is essent
184.
▲
by
jablan
14y ago
I think the problem here is the motivation for reading. I enjoy reading fiction, love watching movies etc. But I clicked the link to the Wired article to learn something new . If I get entertained too, it's just a bonus, but it's entirely
185.
▲
by
jablan
14y ago
Does anyone else have difficulties reading articles written this way - structured as Hollywood movies, with artificially built-up suspense and all? I feel patronized all the time, trying to get to the "meat" of the article, just finding "ne
186.
▲
by
jablan
14y ago
I believe you are refering to strongly vs weakly typed, not statically vs dynamically typed. A strongly typed language would not try to parse the string into a number (although it would indeed accept a string, if it is dynamically typed as
187.
▲
by
jablan
14y ago
> This is like trying to get more kids to program by trying to show them how easy and fun assembly language is. Doesn't this way make sense if you are a manufacturer of microcontrollers, for example?
188.
▲
by
jablan
14y ago
Tried it couple years ago and the only thing I noticed was that it used more memory (almost twice as much as 32bit IIRC). So I returned to 32bit and am still using it, with PAE kernel so I can use all 4 gigs that I have right now. I really
189.
▲
by
jablan
14y ago
I apologize for the digression, but what's wrong with running 32bit linux on a desktop/laptop?
190.
▲
by
jablan
14y ago
I don't question the usability of this, but I really don't get the price, which I think is too high. I guess that for the same price one could buy 15" laptop with the roughly same components, so you would effectively get a screen and a keyb
191.
▲
by
jablan
15y ago
There's a big difference here. Basically, anyone can grow food, while not many people can make their own antibiotics or CPAP machines in their backyards.
192.
▲
by
jablan
15y ago
No, it's not the money. It's comfort, and the opportunity for less compromises when picking jobs. I want to be able to choose between three Ruby/Python/whatever shops and pick one with the coolest people and coolest projects, rather than ha
193.
▲
by
jablan
15y ago
But that was exactly my point. When you do it in Java, you are obviously doing something wrong (or at least not intended to be done). It just looks wrong at the first glance, with empty blocks and all. In PHP, it's just a single character
194.
▲
by
jablan
15y ago
> If you're not going to use it, why complain about it? I can tell you my reasons: the market. Not all of us can roll a globe, close our eyes, pinpoint a place and tomorrow have a job there. Here where I live, about 80% of webdev jobs a
195.
▲
by
jablan
15y ago
> Other languages have some sort of warning suppression as well But there is a huge difference here. PHP directly encourages it, making it so easy to do "just prefix it with @" and dedicating a part of the core language syntax to it (th
196.
▲
by
jablan
15y ago
"Passing by reference" section is wrong about Ruby (not sure about Python). Ruby passes everything by reference, it's only that integers are immutable so that the function can't alter them. Strings, though, are mutable: def foo s s.
197.
▲
by
jablan
15y ago
Boot _from_ it, not _boot it_, I guess. Using it just as a thumb drive.
198.
▲
by
jablan
15y ago
Couple suggestions: You should make the fact that this is downloadable and suitable for local/offline use more prominent. I guess lots of people would benefit if you made the downloadable packages dynamic (e.g. "Zip me docs for jQuery vX.Y.
199.
▲
by
jablan
15y ago
I am not sure whether this would be possible, as menus are contextual - the launcher (QS-clone, Emacs, whatever) would have to keep your current application focused, i.e. not take over its focus in order to display its menu, right?
200.
▲
by
jablan
15y ago
Well, that's where 1) fuzzy search and 2) intelligent, usage-based sorting kick in. Not sure about other mentioned launchers, but Kupfer (which I use) indexes not only applications, but a myriad of other indexable items, such as files, medi
201.
▲
by
jablan
15y ago
If you have dynamically typed languages in mind, give it a try without completion, you might be surprised - different paradigm depreciates completion quite a bit.
202.
▲
by
jablan
15y ago
> If you decide to change to another version of the software or different software entirely, you just do that. I think this is the main point here. Especially in startups, parts get written and rewritten many times. Ruby backend too slo
203.
▲
by
jablan
15y ago
Not trying to argue, just curious: what about Ruby you find surprising?
204.
▲
by
jablan
15y ago
Well, you are not writing PHP, CSS and JS. You are writing an application (or a part of it), and these higher level languages allow you do that more efficiently, that's all.
205.
▲
by
jablan
15y ago
There are lots of possibilities between Android and Ubuntu, Lubuntu[1], for example. Also, there's a bunch of Webkit based browsers in Linux ecosystem, no need to push it with Firefox at all. Even something like Puppy Linux[2] would be more
206.
▲
by
jablan
15y ago
I wonder why they went for Android instead of some light Linux distro. Not sure what's the point of having Android on a huge LCD.
207.
▲
by
jablan
15y ago
Stating that this is the "future of web UI" implies that most of us will have to develop duplicate logic on client and server side, possibly with different languages (as the author actually does). While he mostly talks about the validation,
208.
▲
by
jablan
15y ago
Liberation Mono and Terminus both work.
209.
▲
by
jablan
15y ago
I share your sentiments. Me too couldn't get used to OSX even after months of trying. While, with its underlying unix philosophy, it is close to Linux, it's never quite there, and what bothers the most is the obviously intentional decision
210.
▲
by
jablan
15y ago
Knowledge of a language is not a Boolean value. I use Ruby on daily basis, and occasionally read (and to a lesser extent write) Python, and I knew what "list(a)" does instantly, and I could only guess about "a[:]". Fortunately, both Python
More ›