Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
olavk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
99 ms
·
901.
▲
by
olavk
14y ago
The biography by Walter Isaacson puts this into context.
902.
▲
by
olavk
14y ago
I think PHP and the original VB were actually great platforms. At the pure language level they were not elegant (but good enough), but both were not just languages, but a platform which as a whole were great for developing a specific kind o
903.
▲
by
olavk
14y ago
// NOTE: Workaround for a bug in the framework // foo will crash if you foo before bar. // Here we bar with a null value, which prevents the crash bar(NULL);
904.
▲
by
olavk
14y ago
Not that unique actually. Many (perhaps most) countries in Europe have some period in the past when they were much more powerful than they are now.
905.
▲
by
olavk
14y ago
If you are writing very performance critical code, you shouldn't write in Python anyway. You chose Python because ease of development is more important than raw performance. The overhead of function calls and property access in Python is pa
906.
▲
by
olavk
14y ago
I think you misunderstand why goto's are frowned upon. Goto's are bad because they allows you to jump to anywhere in the code, regardless of structure, which undermines all assumptions you can make about control flow. Function calls and r
907.
▲
by
olavk
14y ago
You can create a fictional story to prove anything.
908.
▲
by
olavk
14y ago
There is no agreed-upon definition for the terms strong and weakly typed. Even then, your categorization are unconventional. Python is typically categorized as strongly typed since silent type coercion does not happen. Also I've never heard
909.
▲
by
olavk
14y ago
I don't think the rate of change increases. In just a few years after these pictures Russia will be involved in WWI, then revolution and civil war. After than Stalin, then WWII. Millions and millions of people will have their lives changed
910.
▲
by
olavk
14y ago
The origin of this 10x meme was (if I remember correctly) measuring productivity on a single task. It is not inconcievable that the difference between the worst and the best is 10x on a single task, especially for students. This doesn't tel
911.
▲
by
olavk
14y ago
I'm surprised that you see politeness and qualification of criticism as "sucking up". But if constructive and moderated criticsm is seen as a sign of weakness, it kind of explains why unconstructive criticism and flaming is rampant on the i
912.
▲
by
olavk
14y ago
I should probaly have said recursive hierarchies is not intuitive for everyone. Everyone can understand shelves in drawers, boxes on shelves and so on. What is confusing to many is folders inside folders or drawers inside drawers arbitrar
913.
▲
by
olavk
14y ago
Not really - it is not very intuitive that you put folders into folders and have all your documents in one big folder containing all your other folders. And you don't have drawers containing other drawers either, in the real world. But apar
914.
▲
by
olavk
14y ago
Perpetrators of mass killings seem to be very much emotional, filled with anger, resentment and bitterness. I don't think you would go through the trouble of killing other people if you are detached from emotion. Why would you?
915.
▲
by
olavk
14y ago
> there are reasons other than emotional to take a course of action Which reasons? Why would you choose one action over another if no emotions are associated with any outcome?
916.
▲
by
olavk
14y ago
Compilers targeting JS exist because it is possible and because people prefer various other languages. Replacing JS with another language would just mean people would write various compilers targeting this new language.
917.
▲
by
olavk
14y ago
Agreed about tail recursion in Python, promoting recursion as an alternative to loops is contrary to the sprit of Python and "one obvious way to do it". Monads vs imperative languages is a bit different though, since Haskell-style monads ar
918.
▲
by
olavk
14y ago
I think this is somewhat misleading. If I understand correctly, only the SelectMany method in Linq is monadic. This is only a minor part of Linq, and not at all comparable to how monads are used in Haskell.
919.
▲
by
olavk
14y ago
A better reason: Tail recursion lets you implement "while" if you miss it.
920.
▲
by
olavk
14y ago
If US pulls out of Iraq and Afganistan (not even leaving bases), then we are just back to pre-9/11 status. Only if US furthermore pulls fully out of the middle east, including cutting support to Israel, then OBL have achieved a goal. This
921.
▲
by
olavk
14y ago
Only if you buy into "because they hate our freedom". In reality OBL couldn't care less about US domestic civil rights and liberties. He cared about US presence in the middle east and support for Israel. The "the terrorists have won"-notion
922.
▲
by
olavk
14y ago
Why do you think that the ultimate goal of Bin Laden was to increase surveillance in the US and to annoy travelers at airports?
923.
▲
by
olavk
14y ago
SICP walks through a number of paradigms, including OOP. OOP is a pattern than allows abstraction, encapsulation and modularity in specific ways. Other patterns or paradigms may provide these features in different ways. You would create dif
924.
▲
by
olavk
14y ago
You can see all votes here: https://www.votewatch.eu/cx_vote_details.php?id_act=3055&... Including filtering by vote and country.
925.
▲
by
olavk
14y ago
The blogger claims that the research was ignored without any consideration, but comments points out that the research have been considered, but rejected as pseudoscience.
926.
▲
by
olavk
14y ago
No, it is correct according to the HTML5 spec to leave out the alt-attribute if there is no valid alternative text available.
927.
▲
by
olavk
14y ago
If the developers lets these tools insert `alt=""` per default with all images, then they are not in compliance with the spec.
928.
▲
by
olavk
14y ago
Problem is, you need to have a good understanding of contemporary art before you are able to call out bad attempts.
929.
▲
by
olavk
14y ago
Who decides what is "the point of art"? If you don't know the story behind obfuscated C, but only look at the code listing as art, then many people would say "my five-year-old can do that", since it just looks like a bunch of random charact
930.
▲
by
olavk
14y ago
Are you saying that true art needs to be immediately understandable without requiring some background knowledge? This is not true for e.g renaissance art either. It usually uses a host of obscure (to modern people) symbols to communicate.
More ›