News for hackers. Stuff that matters.

nonotmeplease

Re:look(1): lines beginning with given string on Saturday December 12, 2015 @09:39PM (#10725182)
I created a 1.1G file with dictionary words and timed...

  % du -h a  
  1.1G	a
  % time look 'dog' a | wc -l
  53856

  real	0m0.021s
  user	0m0.020s
  sys	0m0.003s
  % time grep '^dog' a | wc -l
  53856

  real	0m28.593s
  user	0m0.977s
  sys	0m2.223s
Ok grep performed worse than what I expected (sort took a long time though).
Re:look(1): lines beginning with given string on Saturday December 12, 2015 @09:15PM (#10725135)
Is look of any use? Isn't grep fast enough?
Re:Static site generators are overvalued on Saturday December 12, 2015 @08:59PM (#10725094)
Minimalism is underrated imho. Just because is simple, doesn't mean it sucks. Most sites are so full of crap they take minutes to fully load. My point is that you can build a site that covers 90% of your needs in 5 minutes. Wheter typed.pw looks good or bad is a question of taste. I like it, the most important aspect for me is readability anyway. What I absolutely dislike is sites that are too "modern". They mess with the scrollbar, use lightboxes/popups, use the same color for normal text and links, make textfields almost indistinguishable from the rest of the page, etc.

My main point is that we fail to use the tools we have properly and build something that is more powerful than needed. And sometimes this is damaging too (e.g. sites taking minutes to load, etc.).

BTW not having features sometimes IS a feature. YMMV.

Re:Ask HN: How to start developing distributed software? on Friday December 11, 2015 @06:28PM (#10720890)
I sent you an email yesterday, did you receive it? :)
Re:Ask HN: How to start developing distributed software? on Thursday December 10, 2015 @01:59PM (#10712556)
Thank you. I started reading some stuff (see some of my submissions). I also started learning elixir. Really fun language.
GNOME is part of the GNU project, as well as emacs, gtk, etc.
Re:Ask HN: What's so special about HN? Why do you hang out here? on Wednesday December 09, 2015 @09:38PM (#10708506)
Why is so hard to build a similar community somewhere else? (I don't plan to but...) Suppose I wanted to build a community like HN, how do I proceed?
What happens if write a program to generate all data in the world? 000000 000001 000010 000011 000100 Do I own every file?