HNHacker News
TopNewBestAskShowJobs

zcam

336 karma · joined March 5, 2010

submissionscomments
zcam··on Your best passive income? (2014)
Or worse like where I live (Switzerland), people rent flats, then subrent them for a lot more and go live in Thailand (or somewhere else). And then we all complain because the prices for (renting or buying) flats is insane here.
zcam··on Lisp: More is less
and more importantly macros are expanded at compile time, not runtime, so static analysis is still possible, and this makes that statement a bit wrong.
zcam··on Keyboard innovation is making them worse
The noppoo is quite low quality compared to most topre boards, and also it's worth noting the keys are smaller than a "normal" keyboard, which gets annoying quickly (I own both a hhkbp2, noppoo choc and a few other mechanical kbs).
zcam··on Digital Ocean vs. Linode
With hetzner you find it nice until your first hardware failure occurs, which could take 3 days to get solved, then you come back to a VPS provider where you can destroy/create instances in a heartbeat. If you run a low traffic/profitless blog hetzner & co might be fine for you, for mission critical stuff I want flexibility.
zcam··on Why use Clojure?
It's sloppy copy/paste work from http://en.wikibooks.org/wiki/Clojure_Programming/Examples/La...

This post is quite poor imho, and I am a clojure developer (I do use it at work as main language).

Maybe it's also because I don't find Midje appealing at all, or find a bit odd the minimalism argument when talking about lighttable vs emacs. If you know what you're doing with cider-mode (previously nrepl) on emacs there's no reason at all to switch to lighttable, quite the opposite. LT is probably good for newcomers, but for power users it's just not there yet (if ever).

Same goes for Marginalia, interesting and amusing, but I wouldn't use this for real documentation.

zcam··on Telegram - secure, free messaging
And it's based/hosted in the US: will not use.
zcam··on Apple Says New OS X ‘Mavericks’ Will Be Offered for Free
It's only "free" for Snow Leopard owners, which means not free at all, on the other hand this answers the support question.
zcam··on Dutch secret service 'also has access to information from PRISM'
Nothing new really, acting via proxies to stay within lawful bounds has been used for years, inteligence agencies do not hesitate to pay for or exchange services with sometimes very shady people to reach their goals. The most common example would be the outsourcing of "interrogation" to 3rd parties.
zcam··on German railways to test anti-graffiti drones
A lots of them now wear gas masks, or at minimum put a piece of cloth (scarf or something) on their mouth+nose, breathing paint and what comes with it isn't good for you. So yeah...
zcam··on German railways to test anti-graffiti drones
There is also a form of respect among writers, usually nices pieces don't get vandalised/overwritten. Hire or just ask actually good writers to make your trains less horrible looking and both parties would be happy. A lot of cities do that nowadays (for walls), at least where I live, and this has been quite a success.

I am not saying this will prevent the die hards who like the thrill of going into depots at 3am for a 15min job that most of the time ends up very poorly, but this would probably be more effective and cost way less than drones!

zcam··on 'The IT Crowd' to return for finale special
True there are a few gems in the other seasons though: like the piracy Ad http://www.youtube.com/watch?v=ALZZx1xmAzg
zcam··on Security incident update
Even then, attackers with half a brain (and malicious intent) would also have backdoored the payment page to harvest "fresh" credit cards numbers during the period they went unnoticed (possibly days/weeks). It's another good reason to leave the credit card handling to a reliable 3rd party imo.
zcam··on Scaling Pinterest - From 0 to 10s of Billions of Page Views a Month in Two Years
You probably mean pre 1.2 as 2.0 isn't there yet.
zcam··on 600K concurrent HTTP connections with Clojure and http-kit
No, it's evented, I think it's setup to use 4 worker threads by default.

[edit]

https://github.com/http-kit/http-kit/blob/master/src/org/htt...

https://github.com/http-kit/scale-clojure-web-app/blob/maste...

zcam··on 600K concurrent HTTP connections with Clojure and http-kit
It's not based on netty:

> {:dependencies [[org.clojure/clojure "1.5.1"]]}

netty is in the dev dependencies, but for benchmarking only I would guess.

[edit] This project is one of the best thing that happened in the web area in clojure recently imho. Not only it is a game changer in performance/resource use, but it makes websocket and async in general trivial to use and actually production ready (same goes for its client). Some would mention Pedestal but it forces you to learn quite a few abstractions and is totally alien compared to the rest of the clojure web ecosystem and also only supports a single async "protocol" (SSE). But pedestal is about a full stack experience, integration with the client etc, so it certainly will attract other users.

zcam··on Show HN: Zigg.be – A link shortener that creates short speakable links
They are links, meant to be shared, maybe published, it depends on your users behavior, not what you want them to do.

Even if they were only supposed to be private, what if my dad wants to find that Steve Jobs Bio again 1 month from now.

zcam··on Show HN: Zigg.be – A link shortener that creates short speakable links
Expiration on a url shortener means linkrot, which is the #1 problem with such services, so seeing this as a feature is a bit strange to say the least.
zcam··on Bringing functional to the frontend – Clojure and ClojureScript for the web
http://himera.herokuapp.com/synonym.html from Fogus is also a good starting point to have an overview of how to do things and what is possible. Next stop: modern-cljs as mentioned by pchristensen.
zcam··on Bringing functional to the frontend – Clojure and ClojureScript for the web
That's the approach Hiccups took, it goes as far as generating most of the html at compile time as well. I didn't run benchmarks but I would guess it is faster than crate in some situations (huge fragments, older browsers etc).

Another plus is nodejs compatibilty (if you care about that, but I guess you might :)).

https://github.com/teropa/hiccups

zcam··on Bringing functional to the frontend – Clojure and ClojureScript for the web
I added two more questions while you where writing this reply probably.
zcam··on Bringing functional to the frontend – Clojure and ClojureScript for the web
What ClojureScript libraries are you using?

What other "regular" JS framework/libs do you use with ClojureScript (thinking about jQuery, Backbone, angular and the likes)?

About dommy, what made you choose DOM vs String generation (knowing the later could be faster in some situations/setups)?

And the last one, did you consider EDN? I'd guess you choose json for obvious performance reasons.

zcam··on A Practical Optional Type System for Clojure
Apple & oranges. The only thing these 2 have in common is their name, the clojure version does a lot more.

A definition of a similar keep fn in clojure would be almost indistinguishable from your lisp example (it would just be more readable).

zcam··on Rich Hickey: extensible data notation
Well if by anything you mean Strings, that is very limited.

   2.2.  Objects

   An object structure is represented as a pair of curly brackets
   surrounding zero or more name/value pairs (or members).  A name is a
   string.  A single colon comes after each name, separating the name
   from the value.  A single comma separates a value from a following
   name.  The names within an object SHOULD be unique.
http://www.ietf.org/rfc/rfc4627.txt
zcam··on Demonoid Domains Go Up For Sale
What really sucks is that the admins of demonoid didn't release an archive with all magnet links/data like thepiratebay did.

Anyway. There are still hundreds if not thousands private trackers out there.

zcam··on App.net funded with $500,000.
Or you could just install AdBlock. The argument about privacy doesn't really makes sense either, it is still a private company/product.
zcam··on Google Chrome Web Lab is now live in beta.
chrome 21 on ubuntu shows a blank page (not even an compatibility issue message).

[edit] I got it to work by removing the #home from the url. By "work" I mean not being blank, it is still broken ("please install chrome" even though I am running chrome 21)

zcam··on Sergey Brin Demos Google Glass At I/O
This sounds a lot like what was described in the UK miniseries "Black Mirror": in short, record your life.
zcam··on The future is specific
> Though, is LightTable the best/easiest way to get that? I don't know, it may be easier to render emacs buffers into a webkit view, it may also not be.

That is what I meant with "connect to browser instances" (swank-js already allows that, among others). Basically when you need more advanced rendering, or browser environment when it is your target (browser based games and whatnot), this could be good enough and you can leverage a huge ecosystem for all the rest.

zcam··on The future is specific
Also emacs provides an extensive platform with tons of modes to support pretty much anything you can throw at it, works in a terminal if needed, has an abstraction over files (buffers), debuggers, easy modes for vi/cua users, can connect to browser instance if needed and tons more.

Building a lighttable mode or even several small modes (libraries vs framework) for emacs would make more sense.

It is going to require a huge effort to duplicate a fraction of what it provides already.

But from a marketing point of view it is/was probably smarter to show eye candy to attract funding, but I am not sure it is the best route in the long run.

zcam··on Datomic database functions
Nice, this reminds me a bit of the recent Lua integration in redis.
← PreviousPage 3 of 4Next →