Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
loevborg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
loevborg
11y ago
If I'm reading the source correctly, `clojure.xml/parse` consumes the entire XML document. However, its successor `clojure.data.xml/parse` is lazy. The techniques described in the blog post should work with a lazy sequence (l
242.
▲
by
loevborg
11y ago
This looks really great. On the topic of manipulating data structures in a funky way, see also specter ( https://github.com/nathanmarz/specter ).
243.
▲
by
loevborg
11y ago
Nixos ( https://nixos.org/nixos/manual/ ) goes one step further and eliminates `/bin` and `/usr` further (except for `/usr/bin/env` and `/bin/sh`!), putting all binaries in package
244.
▲
by
loevborg
12y ago
From the page linked: "Please note: general fiction, poetry, art, and PR submissions sent via Strongbox will not be assessed."
245.
▲
by
loevborg
12y ago
Great name for a startup: copacetic.io
246.
▲
by
loevborg
12y ago
The most important thing when it comes to web server configuration is to have a testing setup you understand and that is fully under you're control. That goes twice for working with mod_rewrite. My recommendation: use only curl -I so c
247.
▲
by
loevborg
12y ago
I tried out nixos (the complete distro based on nix) on the weekend -- it's not saying too much that it's a revelation. I can see myself completely switching for my development machines and possibly for servers as well. The amazin
248.
▲
by
loevborg
12y ago
Thanks! I'll try hnwatcher.com for now. I emailed the creators because I didn't get a confirmation email yet, but it looks like what I was looking for.
249.
▲
by
loevborg
12y ago
Setting up email alerts for Clojure stories sounds useful. Can you describe how you do that? I couldn't find a way to set up alerts, either using hn.algolia.com or using Google Alerts.
250.
▲
Best Practices for Writing Bash Scripts
(kvz.io)
5 points
by
loevborg
12y ago
|
0 comments
251.
▲
by
loevborg
12y ago
We use Clojure (in production, or almost) at Red Pineapple Media in Berlin, mostly for basic web dev stuff (compojure, http-kit, org.clojure/java.jdbc, cassaforte) and data analysis (Apache Spark, using flambo ( https://githu
252.
▲
by
loevborg
12y ago
I saw this as well today.
253.
▲
by
loevborg
12y ago
Excuses for the off-topic question, but would you be willing to share your imdb scraper? That would be very useful to me. (My contact data is in my user profile.)
254.
▲
by
loevborg
12y ago
A "hello world" Java program starts up fast, sure. But Clojure start-up time usually takes more than 1 second; it can be 10 seconds plus if you include many jars. I don't know whether that's more the fault of Clojure or
255.
▲
by
loevborg
12y ago
That's a potentially very useful project, thanks so much for working on this!
256.
▲
by
loevborg
12y ago
Haha, that's surprising. Maybe the better presentation makes the examples look more plentiful.
257.
▲
by
loevborg
12y ago
Fantastic, also has much better examples than clojuredocs.org!
258.
▲
by
loevborg
12y ago
Thanks for sharing this. It's interesting that you can improve your performance so much by, essentially, getting rid of the automatic class-loader. On the other hand, the autoloader is one of the most important improvements to PHP in t
259.
▲
by
loevborg
12y ago
As someone with a bit of experience scaling PHP, it seems to me that the main problem with the language is not its raw performance (which seems on a par with its more cousins Python and Ruby) but rather its single-request model . For eve
260.
▲
by
loevborg
12y ago
Or Lotus Magellan, next to which all other file managers pale in comparison
261.
▲
by
loevborg
12y ago
This looks like an interesting, simpler alternative to stream-processing solutions like Spark or Storm, which require quite a lot of upfront investment in terms of infrastructure and learning. I'd be interested to know how this works b
262.
▲
by
loevborg
12y ago
My secret weapon for writing English prose is the "Kenkyusha Dictionary of English Collocations". A collocation dictionary gives you words that commonly go together with another word. In particular, you find the right verb to go w
263.
▲
by
loevborg
12y ago
Thanks for the tip on rlwrap, that looks really useful!
264.
▲
by
loevborg
12y ago
I like your key bindings even better! However, I still prefer the "beginning-search" instead of just the "search" function: bindkey '^P' history-beginning-search-backward bindkey '^N' hi
265.
▲
by
loevborg
12y ago
^R is useful. But for me, there's something even more useful than searching for a string in your history using ^R: completing the line you're currently typing from your history using Alt-p. This comes in handy when you realize, af
266.
▲
by
loevborg
13y ago
Not just CON but also con.txt, con.js, etc.! Try cloning a git repository with a file called con.js using msysgit. The result is that, when msysgit tries to clone the file, the contents of the file `con.js` are printed to stdout, i.e. to
267.
▲
by
loevborg
13y ago
It can be used where ">" does not work, e.g. when using sudo. So you can do echo data | sudo sponge /etc/a.file `tee` can be abused in a similar way, but it also prints the data to stdout, which is ugly.
268.
▲
by
loevborg
13y ago
Very interesting. If you haven't tried grepping the files in your git repository (as opposed to using regular `grep` or your editor's search function, which doesn't ignore files outside version control), it's surprisingl
269.
▲
by
loevborg
13y ago
Sadly I agree that the O'Reilly book is of poor quality. Bad editing, sloppy writing style, terrible organization of the chapters. Whatever happened to O'Reilly's standards?
270.
▲
by
loevborg
13y ago
That sounds reasonable, thanks for the reply.
More ›