Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
helloTree
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
helloTree
13y ago
thanks!
2.
▲
by
helloTree
13y ago
You are absolutely right, I forgot the '.'.
3.
▲
by
helloTree
13y ago
Ok then maybe it's just a matter of taste. I like the parser approach more: import Text.ParserCombinators.ReadP -- or the parser lib of your choice import Data.Char ... macP = count 16 (satisfy isHexDigit)
4.
▲
by
helloTree
13y ago
This is the same for Haskell where it's also convenient to develop in the repl (ghci).
5.
▲
by
helloTree
13y ago
What is it with the obsession with regular expressions? They are useful things, sure, but I just use them in connection with grep or if I search for strings and normally they are pretty basic, e.g. $ grep -r -n --color "foo*bar" s
6.
▲
by
helloTree
13y ago
You are talking about halvm I think - is it still in use or is it a dead project? The github project page does not seem to have seen commits for a while, but maybe it just ... works. And can you please point me to the talk?
7.
▲
by
helloTree
13y ago
Just wanted to say, kudos! I think it is essential for a language to have a good C interface otherwise it will be insulated. However some more example would be nice. Furthermore I think you mean "infix" in your documentation and n
8.
▲
by
helloTree
13y ago
... and one should always remap ESC. For me this was a big improvement (from an ergonomic viewpoint). My suggestion: imap jf <ESC>
9.
▲
by
helloTree
13y ago
Maybe I should take a look at awk/sed but I never found its language orthogonal. For simple scripts I mostly use Python or Haskell via something like ghc -e 'interact ((++"\n") . show . length . lines)' < file ED
10.
▲
by
helloTree
13y ago
There is also a fun part in the documentation of xorg.conf, just do $ man xorg.conf and search for "nobody" ;)
11.
▲
by
helloTree
13y ago
If you are interested in chilled thoughtful gaming and have a faible for SciFi ala Star-Trek and Co. you MUST try FTL. It is one of the best games I have ever played and I do not know another game that is similar. It is easy to learn and ha
12.
▲
by
helloTree
13y ago
Yeah it is great if you can use similar commands across applications. Btw. there is also a nice history inside VIM (implemented as a separate buffer) that can be accessed using q: so you can scroll through the history with jfkl. E.g. I use
13.
▲
by
helloTree
13y ago
My biggest improvement was about finding out about .inputrc and configuring the Bash to use VIM-keybindings which is pretty handy if you are used to the editor. Also the following mapping from ESC to pressing jf via imap jf <ESC> was
14.
▲
by
helloTree
13y ago
How does this work, if the kernel is supposed to be TM-complete?
15.
▲
by
helloTree
13y ago
But probably you get stuck in local maxima. E.g. if I am on Hacker News I want to find new and exciting stuff and not things I already know ...
16.
▲
by
helloTree
13y ago
Can you elaborate on this? I also use XMonad in connections with a simple xterm (although I used screen some years ago, but then I did not know about XMonad) but I do not get the idea of detaching/reattaching. Is the idea to save the s
17.
▲
by
helloTree
13y ago
Yeah, I can feel with them and it IS hard to make money with FOSS software. I think the problem is that the argument "You can sell support and consultancy to your software." is a little bit flawed as it contradicts with one fundam
18.
▲
by
helloTree
13y ago
Omg, some people have strange problems ... If you want to know how far you are you just look where the scroll bar is now, scroll down until the end (or comments) sections and then you can estimate how far that is. I do it that way and I hav
19.
▲
by
helloTree
13y ago
Because (static) FP is built on a sound and rich theory (type theory and lambda calculus) unless other language paradigms (e.g. OO). There are also different approaches, IMHO: FPL research: Ok, we have this cool way to describe our computat
20.
▲
by
helloTree
13y ago
Do you know of any major prolog programs that are in use and where you think that they really are successful because of prolog's strengths? I did a little bit of prolog in a logic course, but it never felt natural to me compared to fun
21.
▲
by
helloTree
13y ago
I am not sure such glasses will take off. You have always a fucking HUD before your eyes and I am not sure everybody likes that (I never tried it but I even do not like normal glasses and prefer contact lenses as I feel more free that way).
22.
▲
by
helloTree
13y ago
I live in Austria and cycling is very popular here. E.g. I use my bike everyday often multiple times it's the preferred transportation unit and I do not have to own a car and can reach every part of the city and all the things I need i
23.
▲
by
helloTree
13y ago
Or just use ghc -e, e.g. some useful scripts for interact: #!/bin/bash ghc -e "interact ($1)" line processing: #!/bin/bash ghc -e "interact (unlines . map ($1) . lines)"
24.
▲
by
helloTree
13y ago
I think it would be nice if there will be a world where you can express such a problem in a decidable mini-language where the compiler can deduce that the answer will be n(n+1)/2. :)
25.
▲
Ask HN: Maybe stupid, but how do you reread the comments section?
8 points
by
helloTree
13y ago
|
2 comments
26.
▲
by
helloTree
13y ago
As a computer scientist I like the idea as I also believe that information (and time or a unifying concept of them) is one of the most fundamental building blocks of the universe, however we have to keep in mind that we leave the territory
27.
▲
by
helloTree
13y ago
Looks like you use nano for Haskell development and vim for the other stuff why's that? And a minor tip, you can close your tty using ^D (because I saw exit).
28.
▲
by
helloTree
13y ago
This. This is also an argument against doing a PhD where you are expected to focus on a very narrow field. The problem is that we want to measure academic progress by numbers in form of papers so scientists need to publish a lot otherwise t
29.
▲
by
helloTree
13y ago
My point is that after reading the book I kind of knew how I could implement a simple CPU in real HW (with ALU, memory, etc.) but it was not clear to me how the IO part (kbd, screen) would work. Is the kbd connected directly to a certain pl
30.
▲
by
helloTree
13y ago
It's an amazing book and doing all the projects is really fun. However keep in mind that the computer you build is really simple and in my opinion maybe a little bit too simple. In particular there is no decent IO model and reading fro
More ›