HNHacker News
TopNewBestAskShowJobs

zcam

336 karma · joined March 5, 2010

submissionscomments
zcam··on Why Searching Through 500M Pwned Passwords Is So Quick
Wouldn't using a simple bloom filter make sense in their case? Just build the thing offline and your app loads it in RAM at startup.
zcam··on Mark – A simple and unified notation for both object and markup data
Actually EDN is much better by default (sets, extensibility, etc)
zcam··on Ask HN: Best development laptop?
XPS 9333 i7 from 2014
zcam··on Ask HN: Best development laptop?
Happy Dell XPS 13 user here. I have been using it for the past 3 years without any issue. In the same timespan many of my coworkers had to replace/return macbooks (kb glitches, screen issues, battery problems etc).

I was a thinkpad only person before that, but the quality went downhill.

I am tempted to buy a pixelbook and use linux on it next, the specs/price/quality seem just right.

zcam··on Closh – Bash-like shell based on Clojure
startup time: not sure it's good ux to wait seconds for every command...

lumo/cljs is instantaneous

zcam··on Honey SQL – SQL as Clojure data structures
There is also Hayt for CQL (cassandra). It's quite mature and used by yapster, featured recently on juxt blog among others.

Queries are plain clj maps and there is also a thin dsl provided.

https://github.com/mpenet/hayt

In our case we use it to generate prepared statements but we avoid using this kind of query gen on live/hot paths.

zcam··on Emacs and Magit
I love magit & git but emacs has seen many vcs come and go and I am not sure bundling it by default is crucial. Who knows what vcs we'll be using in 10 years, let alone other specific packages that might follow the same route. I'd rather keep emacs core lean personally.
zcam··on Migration from Postgres to Datomic
There's more than just support to paid db services, look at neo4j, datastax, elastic, mongo and cockroachdb among others.
zcam··on Migration from Postgres to Datomic
It probably pays the bills, I guess they're happy with it if that's still a thing after 5 years (?).

It's not helping clojure grow as much as it could though and it's a bit a chicken/egg problem, more clojure users could be more datomic users and vis-versa.

zcam··on Migration from Postgres to Datomic
The price is not really an issue. It could be $1 the problem would be the same.

It's essentially a black box now, you have no auditing possibility, no way to extend it, no guarantee you can pick up the pieces is cognitect/rich goes away. You basically sign a check, and hope for the better.

zcam··on Migration from Postgres to Datomic
Stuart Halloway said "Datomic is not and will not be open source" in the latest defn podcast, so don't hold your breath. Hopefully they change their mind. They seem to be focused on a cloud (managed?) solution offering at the moment.
zcam··on Twitter’s Chief Technology Officer to Leave Company
Whatsapp is a good counter example.
zcam··on 150,000 IoT Devices Behind the 1Tbps DDoS Attack on OVH
It's not all black/white. Nobody is immune to this problem, even with best efforts/practice, saying "let's sue to death small vendors so that big one react" is kind of ridiculous. Again, it's hard to draw a line.
zcam··on 150,000 IoT Devices Behind the 1Tbps DDoS Attack on OVH
Not gonna happen. Think of all the insecure windows "devices" out there. How do you draw the line.
zcam··on Varnish Cache 5.0
Nope: "updating" does what I described, if another request initiated an update and it's in progress, it will serve a stale value, but the request who triggered the update is still "hanging" until the cache is refreshed. So you get that annoying slowdown for at least 1 user (often the CEO of your client company).

The way to work around this issue with nginx (for simple endpoints) is to write scripts that will hit the endpoints to make sure the cache is always hot, but it's a sad, half working hack (the CEO can still hit that cold cache page himself, if lucky enough).

zcam··on Varnish Cache 5.0
If you use it for caching, nginx is lacking something quite important at the moment: stale-while-revalidate (https://tools.ietf.org/html/rfc5861)

Aka serving a cached response while the cache is getting refreshed (even to the request who initiated the refresh). Currently when nginx has to refresh the cache it will "hang" the current response until it gets refreshed (the requests that follow, even while the cache is getting refreshed, will get the stale version tho).

It's the difference between your client being amazed by how fast your api is, to "wtf does page X takes 3s to render from time to time" comments.

zcam··on Lisp Flavoured Erlang
Joxa is kind of dead (sadly).
zcam··on Jaunt – A friendly Clojure fork
It's cool, but abandonware sadly.
zcam··on Jaunt – A friendly Clojure fork
Good initiative.

Clojure developement is driven by the needs of Rich/Datomic these days, it's understandable this might be frustating for users who wish clojure was more community driven, and exploring other areas.

I personally gave up on it because of this (I used to do clojure full time).

zcam··on Multiple assignees on Issues and Pull requests
There are many improvements needed on Issues; this one is certainly not the first that comes to mind.
zcam··on Introducing unlimited private repositories
Not really, I personnaly see no point of moving our (dozens of) repos to github at the moment. It would cost us a lot more than $0, for no advantage that justifies paying a premium. I am not sure what you mean by ecosystem, but we don't really miss anything from github. Yes the UI is more polished but who cares when 99% of the interactions with the repos are done with git clients (in various flavors).
zcam··on Time Series, the new shiny?
Until you reach 10B datoms and then you're off for a fun ride sharding with multiple databases. Also in an IoT context or more general timeseries usage you very likely don't care about tx, but very much do about write throughput and not having a spof, which Datomic isn't good at at all.

Datomic is an ok choice in some contexts, but the one detailed here is not one of them, you're likely to reach Datomic limits quickly and be in a world of hurt when you do.

zcam··on Time Series, the new shiny?
I guess it's worth investigating, murmur has been in use by some big names (cassandra, elastic search, hadoop, etc...) for a while in similar contexts.
zcam··on Time Series, the new shiny?
Isn't it more about the number of cycles it takes to generate the hash more than it's size, since you're likely to do that very often in a db context?
zcam··on Being a Developer After 40
It's not what I said. They are pretty explicit about how the selection is done btw https://jobs.web.cern.ch/content/recruitment-policy

/out

zcam··on Being a Developer After 40
Which makes sense given that these countries contribute the most to the funding of CERN.

https://en.wikipedia.org/wiki/CERN#Member_states_and_budget

zcam··on Being a Developer After 40
Staffs and Permanents are very well paid, even Fellows considering you pay no taxes and you get free UNICA healthcare which is insanely good compared to what you get in Switzerland (it's worth 1.2k CHF monthly, can cover your whole family).

It often does sucks if you work at CERN for some university, the salary then depends on their rates, and often you don't know where you will be in 2 years, but you still get UNICA + no taxes...

Then the problem is that getting a staff or permanent position is very hard, then again CERN cannot hire half the world, it's a matter of needs, From what I witnessed most people just take CERN as a stepping stone and move on, unless you're one of the lucky few to get a staff (and you're ok with gambling 5 years to get a permanent).

zcam··on Netflix cracks down on proxy streaming
You can just use a VPN with popcorn as well (or "normal" torrents for that matter).
zcam··on Transit – A format for conveying values between different languages
Underwhelming... From the teasers it seemed like it could be something actually novel.
zcam··on Popcorn-app no longer on GitHub
Seems super similar (not to say a clone) to movies.io
← PreviousPage 2 of 4Next →