Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
berntb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
130 ms
·
931.
▲
by
berntb
15y ago
Looks neat, I bought it. I'm toying with the idea of getting an aws server and run an ssh client there, to get Emacs and bash. With dropbox installed on the server and an external keyboard -- I could maybe skip my heavy portable?! Anyone ha
932.
▲
by
berntb
15y ago
Sigh, do people really don't want to see that full support for one liners (not to mention anon funs of > 1 instruction) is a feature?! :-(
933.
▲
by
berntb
15y ago
The first thing I saw in the code was that it used one of my favorite modules, Moo, which is a neat subset of "Moose". http://search.cpan.org/~ribasushi/Moo-0.009013/lib/Moo.pm Even I can (almost) write good looking code with Moo(se). :
934.
▲
by
berntb
15y ago
Yes, but my point was: How do you add an if to that Python code... or anything else dependent on Python indentation? Another example: map {} is better than having to learn weird single instruction variants like list comprehensions. And so o
935.
▲
by
berntb
15y ago
Why not just bite the bullet and add optional {}:s to Python instead, so you don't have to learn a tool just to get normal command line (/oneliner) usability? The total sum of complexity to learn/use would be about the same (and Python woul
936.
▲
by
berntb
15y ago
Democracies in the rest of the world is also "inclusive". In general, the only dictatorships that are tolerated, are those which the democracies are dependent on... But please give counter examples?
937.
▲
by
berntb
15y ago
afaik, the number of wars are getting lower and lower. The same with really poor people. Also, democracies are increasing in number, so there should be less wars -- the democratic peace theory seems to have good statistical support (see Wik
938.
▲
by
berntb
15y ago
I'd rather argue that democracies implement "realpolitik" as much as dictators -- and lie about it. The difference seems to be that democracies are nicer when the voters at home care (which is more and more common) -- and/or if it doesn't c
939.
▲
by
berntb
15y ago
It seems to me the GP didn't talk about the relative wealth of e.g. Britain, he was expressing a conspiracy theory that everything Britain had was stolen? It took me a bit to realise that you did answer the GP's "point".
940.
▲
by
berntb
15y ago
Ruby looks nice. You better follow the best practices for Perl and it is like the other scripting languages. Check the Modern Perl book. My reason to prefer Perl is because it is fun and the culture is good. The business case for Perl is CP
941.
▲
by
berntb
15y ago
So you say -- "Peace for our time"? (More modern: Please check the resource curse on wikipedia, or something. You can't reason with dictators which keep their population down so they can steal oil money.) Edit: Hrm, Wikipedia says it is "fo
942.
▲
by
berntb
15y ago
You still needs comments that tell what the content of a code file is supposed to do, no matter how clear the code is. (And in scripting languages which doesn't declare parameters, like Python and old style Perl, you need to document what
943.
▲
by
berntb
15y ago
You need to make certain your people follows the best practices a bit harder in Perl than for many other languages. But, considering CPAN and Moose, you get much less code in Perl to read, for quite a lot of use cases. If that is not import
944.
▲
by
berntb
15y ago
>>And if you have good programmers, then readability isn't a problem Hrm, I'd argue against that. I know better programmers than me, whose code I hate to work with. Also for Python. But you seem to define "good programmer" as some
945.
▲
by
berntb
15y ago
>>In a single sentence, it's about fundamentally about POWER and not "speed". Most code isn't inner loops in device drivers. My point was that Obj C's behavior should be more or less deterministic, and method calling reasonably fast
946.
▲
by
berntb
15y ago
>>No GC. Interesting that you disqualify Objective C? It use reference counting which should have a more predictable memory handling behaviour. Or is the dynamic stuff too much overhead for you? To me, it looks cheap (but I'm a scri
947.
▲
by
berntb
15y ago
This time you came back 9 days later to ger the last word... In my previous comment I showed that you knowingly lied about my opinions, then argued against your straw man. Then, you claim I have nerve?! And after you lie to make an argume
948.
▲
by
berntb
15y ago
Some reading materials should obviously be censored (e.g. information about lock picking, practical drug recipes and violent pornography). But not even the US prison system should want to limit prisoner's intellectual development! To help p
949.
▲
by
berntb
15y ago
It is totally opposite, a year is much more precious to me now. Count the number of good years you have left, with the health+energy to do what you want. I heard this week that the knees are failing on a relative of a friend, which is my ag
950.
▲
by
berntb
15y ago
Apple could release a 9.7" Air and use the same IPS screen as the iPad. (Even better would be a 13" Air/13" iPad with the same screen. I'd buy both.)
951.
▲
by
berntb
15y ago
I do believe there are conspiracies out there to influence media. Many corporations and organisations try. There are even professions that exist in order to try. For instance, in my native Sweden, it isn't so hard. Keep a large enough ad
952.
▲
by
berntb
15y ago
>>you can't replace microsoft with anything and expect existing systems to still work. Hopefully reactos will reach this point but it's not there yet. That will be impossible in practice. It is in a monopoly's interest to not be com
953.
▲
by
berntb
15y ago
>>Are you trying to claim that all Palestinians are terrorists You assumed I wouldn't check back a few days later, so you could safely add another dishonest strawman attack? Already in the brother comment to yours, I gave a link to
954.
▲
by
berntb
15y ago
I wrote: >>But you know exactly what I meant. In fact, I wrote the same thing one day earlier to ucee054. See second half of this: http://news.ycombinator.com/item?id=3638221
955.
▲
by
berntb
15y ago
The original question was -- why do some communities seem to be more oriented towards language wars than others?
956.
▲
by
berntb
15y ago
>>The average new Perl programmer is not going to go looking for a library that does object-oriented behavior until it's too late. Sigh, please don't start language wars by stuff like assuming new programmers sits alone in an ivor
957.
▲
by
berntb
15y ago
A very useful page if you know one or two of those languages and need to do something in another one. A suggestion: For people doing some work in Perl, a review of the OO syntax might be critical. Both Moose and the old way. A note, re the
958.
▲
by
berntb
15y ago
Since you don't seem to understand -- I argue that this is an impossible subject on HN, since the fanatics are just insane. You support my position when you e.g. quote an 86 year old individual and political activists to "show" your posit
959.
▲
by
berntb
15y ago
>>condemning the whole Palestinian "side" on the basis of unspecified "people" It is policy/tactics from the Palestinian side to use terror. Not only Hamas. And glorifying murder of children at close range, etc. You compared that wi
960.
▲
by
berntb
15y ago
In the GP, I wrote about your claims about a whole country, based on some T-shirts. That showed you to be a totally non-serious debater, ucee054. You can't answer that (for the fourth time), so you link to an 86 year old individual and some
More ›