Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unhammer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
631.
▲
by
unhammer
11y ago
floobits is really cool, although I've never really gotten into it myself because the projects I would use it on include some large (10MB+) XML files, where floobits seems to make things slow / sync slowly (at least it did when I
632.
▲
by
unhammer
11y ago
Well, you've got https://en.wikipedia.org/wiki/Lexical_functional_grammar and https://en.wikipedia.org/wiki/Head-driven_phrase_structure_g... which are both model-theoretic grammars (see htt
633.
▲
by
unhammer
11y ago
You may find http://www.amazon.com/Fuzzy-Grammar-Reader-Bas-Aarts/dp/0199... interesting
634.
▲
by
unhammer
11y ago
You can do all Levenshtein edits while looking up in a (minimised, acyclic) FSA, which is fairly easy to implement[1], but means instead of having one FSA-state per index in the word as you look it up, you now have a set of states (each wit
635.
▲
by
unhammer
11y ago
ah, thanks for that tip :-)
636.
▲
by
unhammer
11y ago
why the alias as well as the function?
637.
▲
by
unhammer
11y ago
there's also disown. It's a bash builtin, so you'll have to type "help disown" ("man disown" gets you nothing). E.g. to run touchegg and close your terminal, keeping touchegg running: touchegg & d
638.
▲
by
unhammer
11y ago
I do this sometimes when I want to run some command first from earlier in my history, then the commented out command also stays in history so I can continue with it after I've re-run the earlier command first.
639.
▲
by
unhammer
11y ago
There are good reasons to use LC_ALL=C for certain commands , especially if you want sorting that's stable across different systems. Sometimes you want "aa" to be before "b" even though the Norwegian UTF-8 locale p
640.
▲
by
unhammer
11y ago
Are you sure? My middle name is Brubeck as well, and there is some overlap in features: * Brubeck only runs on Linux. It won't even build on Mac OS X. … Brubeck has the following dependencies: * A Turing-complete comp
641.
▲
by
unhammer
11y ago
and in ocaml: https://github.com/c-cube/spelll/blob/master/spelll.ml#L124
642.
▲
by
unhammer
11y ago
I like how that little ball in the upper left includes a thin strip of the 1.1 billion (!) people whose data was not included in the study :-)
643.
▲
by
unhammer
11y ago
More details at http://permalink.gmane.org/gmane.comp.video.gegl.devel/1521
644.
▲
GEGL 0.3.0, babl 0.1.2 released (prerequisites for next GIMP beta 2.9)
(gimp.org)
1 points
by
unhammer
11y ago
|
1 comments
645.
▲
by
unhammer
11y ago
Yeah, same with the find -printf (at least macports can install coreutils and give you "gstat"). Portability is hard :-/ http://mywiki.wooledge.org/ParsingLs
646.
▲
by
unhammer
11y ago
> And if I never have to parse the output of ls -l using cut again, I will be a happy person. Try stat instead, e.g. $ stat -c 'NAME: %n; OWNER: %U, SIZE: %s' * also supports --printf (see man stat).
647.
▲
by
unhammer
11y ago
Don't use awk for parsing XML/JSON, there are excellent tools like html-xml-utils or jq that already do that well: $ sudo apt-get install html-xml-utils jq $ curl 'https://duckduckgo.com/html/?q
648.
▲
by
unhammer
11y ago
How about https://emailselfdefense.fsf.org/ ?
649.
▲
by
unhammer
11y ago
https://github.com/OCamlPro/opam-user-setup tries to make the setup even easier
650.
▲
by
unhammer
11y ago
More details: http://libregraphicsworld.org/blog/entry/anatomy-of-sourcefo...
651.
▲
by
unhammer
11y ago
? I tried linking to a comment … EDIT: Oh, misunderstood. I know the RNN can do the parens-balancing, and that's why Goldberg said that parens-balancing was impressive, since with his method you'd need to add other hacks around it
652.
▲
by
unhammer
11y ago
Goldberg says parenthesis-balancing and indentation etc. would require lots of non-trivial human reasoning to implement, but I found https://news.ycombinator.com/item?id=9585080 's example even more amazing: the NN act
653.
▲
by
unhammer
11y ago
There's no built-in encoding/decoding stuff, ie. you need to use a library like Batteries, Camomile, uutf/uucp if you want to do something like capitalise, split or count characters. Writing the appropriate glue isn't ve
654.
▲
by
unhammer
11y ago
Apparantly it's built-in as psub for the <() case (I was looking for the same thing https://news.ycombinator.com/item?id=9569730 ), not sure about >()
655.
▲
by
unhammer
11y ago
Pretty flashy :-) I like how it told me to use () when I tried typing $(), and the autocompletion is quite impressive. However, how do you work around the lack of <() and >()? E.g. if I want to do the equivalent of $ diff <(x
656.
▲
Kickstarter: Openwords – foreign language learning app with open data
(kickstarter.com)
2 points
by
unhammer
11y ago
|
0 comments
657.
▲
by
unhammer
11y ago
Paredit is one of the reasons I find writing emacs-lisp really enjoyable, it made me dislike Python's lack of braces since I could no longer fly through my code as fast :-) Note: there is now https://github.com/Fuco1&#x
658.
▲
by
unhammer
11y ago
Isn't d% a more likely vim command? Although, you'd think vim would have a general "transpose text object" operator. If it were bound to some ŧ, then you could just do %ŧ% (here emulating Emacs' C-M-f C-M-t)
659.
▲
by
unhammer
11y ago
https://github.com/yjwen/org-reveal/ is also pretty nice for exporting from org-mode to a shiny HTML5 presentation
660.
▲
Krita launches second Kickstarter campaign to fund development
(libregraphicsworld.org)
3 points
by
unhammer
11y ago
|
0 comments
More ›