Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lubomir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
lubomir
13y ago
It is not insisting. Vim will happilly let you use the arrow keys. It's just that once you acclimate to "hjkl", it is slightly faster and more comfortable, since you don't need to move right hand anywhere while typing. O
32.
▲
by
lubomir
13y ago
In C it is quite common for functions to indicate failure by returning NULL. Not checking for these errors is another very common reason for segfaults.
33.
▲
by
lubomir
13y ago
It is already in Debian unstable.
34.
▲
by
lubomir
13y ago
I agree it is not really important. The main difference between the two I see is that partial application basically binds a certain argument to a fixed value, while currying only changes the way the function is called (thus allowing for eas
35.
▲
by
lubomir
13y ago
What this article calls currying is actually partial application. Partial application is a technique where you take a function that requires n arguments, pass in the first one and get a function that needs n-1 arguments. Currying is a techn
36.
▲
by
lubomir
13y ago
The given reason for that is that it is a popular game that has no native version (so no one will ask why he is porting Midnight Commander) and it does not use much OS X API. It uses OpenGL, OpenAL, IOKit (for finding input devices), AppKit
37.
▲
by
lubomir
13y ago
About a week ago, the author posted a report to his blog http://www.abclinuxu.cz/blog/doli/2013/7/darling-progress-re... . Summary: * It can run basic console programs like Midnight Commander, vim
38.
▲
More about deleting features
(inessential.com)
1 points
by
lubomir
13y ago
|
0 comments
39.
▲
by
lubomir
13y ago
Seems to be down. Google cache version http://webcache.googleusercontent.com/search?biw=1256&bih=91... Edit: alive again
40.
▲
by
lubomir
13y ago
Nice summary. However, the comment about first example is slightly inaccurate. Saying the `sayHello` function does not take arguments is wrong. It does, it just does not care about them. You could still call it with arguments like sayHello(
41.
▲
by
lubomir
13y ago
Also this: http://calepin.co/
42.
▲
by
lubomir
13y ago
That may be one badly chosen name. However, it is not just the name. In my language, instead of computer science it is called "informatika" (which would translate to informatics [1]), and while that name does not even suggest comp
43.
▲
by
lubomir
13y ago
I would guess he/she meant something along the lines of x * some_really_complicated_expression. If x is 0, you would not need to evaluate the other operand at all. It may even be a faster, but I doubt any compiler does this sort of opt
44.
▲
by
lubomir
13y ago
There actually is at least one try for a project that (wants to) run OS X applications on Linux, but I have no idea how far it is. http://darling.dolezel.info/en/Darling
45.
▲
by
lubomir
13y ago
The SysRq key is not so useless as the article would let you believe. Under Linux, it allows one to send commands to kernel to e.g. reboot the system [1]. [1]: https://en.wikipedia.org/wiki/Magic_SysRq_key
46.
▲
by
lubomir
13y ago
The vizualizations on pythontutor.com are really helpful in explaining those concepts.
47.
▲
by
lubomir
13y ago
> […] if you throw your scripts out there on the web you've got to expect that somewhere, at some time someone is going to do it […] And then it will be that persons' problem. Their code would be wrong, not mine. By not making
48.
▲
by
lubomir
13y ago
The LINQ really is much more succint, but the original code did not set the bar very high. Why should one write a 12 line comparing function when using 'b.value - a.value' would work pretty much the same (unless C# really requires
49.
▲
by
lubomir
13y ago
Well, apparently it is: auto: { enabled: true, interval: 3000 // HA HA! I HATE MY USERS!!! Especially the ones that aren't speed readers. }
50.
▲
by
lubomir
13y ago
Is it intentional that the carousel switches so fast that reading the whole text displayed is almost impossible? (It may be due to my not being native English speaker, but it anyway...)
51.
▲
by
lubomir
13y ago
The enhanced fullscreen browsing is pretty much also almost tablet only. Even on a 15" screen having fullscreen browser feels unusable to me – either the site has more-or-less fixed layout with a wide empty strip on each side, or it f
52.
▲
What it would look like if planets were closer
(dailymail.co.uk)
6 points
by
lubomir
13y ago
|
0 comments
53.
▲
by
lubomir
13y ago
Flex [1], too, uses regular expressions. However, the generated source that performs the actual tokenizing/lexing, does not need any library support for them as it is all implemented in the code. So even there lack of regex support in
54.
▲
by
lubomir
13y ago
Last time I needed to to create a diagram, I experimented with Diagrams [1], which is an interesting way of doing it if you like Haskell. [1]: http://projects.haskell.org/diagrams/
55.
▲
by
lubomir
13y ago
Thanks or the link. While I agree it is not really relevant, it reminded me of the kind of articles some mass media produce that are basically along the lines of "scientists discovered [whatever]". Reading those is basically a was
56.
▲
by
lubomir
13y ago
What is the point of a sentence like "A Hungarian psychology professor once wrote …" without the actual name? His/her mythical study is a recurrent theme in the article, but not once the name of the author is mentioned. This
57.
▲
by
lubomir
13y ago
Even when there is only single user branching can be quite useful, too. When I was writing my thesis, I usually worked on different parts at the same time. Having each changeset in a separate branch made it easier, especially when I procras
58.
▲
by
lubomir
14y ago
The funny thing is that with my keymap (cs_CZ) the 4 and $ keybindings are reversed.
59.
▲
by
lubomir
14y ago
Instead of -exec rm {} \; you could use -delete option as well.
60.
▲
by
lubomir
15y ago
I really like it. What is the license on this code?
More ›