Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
augustl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
by
augustl
13y ago
TCP is certainly overkill in my case, since all my RPCs happens on a very stable network with a small and local-ish topology. Using "fire and forget" multicast for logging and perception sounds interesting. And modelling systems i
272.
▲
by
augustl
13y ago
ZeroMQ is not really at TCP level, ZeroMQ is about sending messages to and from various semantic endpoints, such as REP and REQ sockets, specifically made for doing RPC. If I was using TCP, I'd have to do a _lot_ of work myself (keepin
273.
▲
by
augustl
13y ago
I did look up HTTP pipelining before rolling with this, it is severly limited. It can only really do sequential requests concurrencly, not an arbitrary mishmash of requests and replies as ZeroMQ can. Also, pipelining should only do idempote
274.
▲
by
augustl
13y ago
I'm curious, did you have some sort of timeout mechanic for your REP sockets? I don't, but I've never had problems either because I don't have that much traffic.
275.
▲
by
augustl
13y ago
OP here, the examples are using JeroMQ. Actually, that's a lie, I use JZMQ. But the APIs are identical :)
276.
▲
by
augustl
13y ago
ZeroMQ's approach is that of many threads where you don't share any state across them, you just pass messages. I'm not an expert on the subject, so all I can say is that according to the authors of ZeroMQ, this is a good way
277.
▲
by
augustl
13y ago
I mean "kill -9" on the server process. I'm not under that much load, though. From reading the other comments, my suspect is REQ/REP socket lockstep, which I've never encountered, but that I guess would happen if so
278.
▲
by
augustl
13y ago
How do you manage connections? Do you use keep-alive or not? If so, you have some sort of connection pool mechanism in order to be able to perform requests in parallel? These two problems is the main reason for why I switched to a MQ instea
279.
▲
by
augustl
13y ago
OP here, thanks for making that clear. I intentionally tried to keep the Clojure code as generally easy to read as possible, and aside from the big Clojure win (more specifically, functional programming win) towards the end, the code is pre
280.
▲
by
augustl
13y ago
I've never come across this. I'm able to kill my server (the one with the REP sockets), submit a form on the web page, have the HTTP request in the browser hang (that under the hood proxies to ZeroMQ), start up the server, and hav
281.
▲
ZeroMQ instead of HTTP, for internal services
(augustl.com)
206 points
by
augustl
13y ago
|
99 comments
282.
▲
by
augustl
13y ago
One insight is that functional programming and pure functional programming are very different beasts. As an example, Clojure does not aim to be pure, Haskell does. In Clojure, the focus is on immutability, and state is modeled as a successi
283.
▲
by
augustl
13y ago
That's interesting! Perhaps one of the future cards will be a Xeon Phi 50 core x86.
284.
▲
by
augustl
13y ago
The actual requirement is a video player that implements HTTP live streaming. Not sure why they don't just put the URL for that on the page. When the stream goes live I'm sure someone will post the URL here though. VLC supports HT
285.
▲
by
augustl
14y ago
Ouch, I wasn't aware that CAs issued this type of "root" certificates. Is this very common, or will only some CAs do it? If the latter, I'll definitely remove them from my computers list of trusted CAs.. Edit: read the DANE article, seems v
286.
▲
by
augustl
14y ago
They would either need the private key of the certificate holder (which they don't have), or a certificate signed by one of the roots installed on the system, which they also won't have. I suppose the logical next step is that Comcast requi
287.
▲
by
augustl
14y ago
Interesting side effect of not serving the entire blog post on the blog itself - the code in your posts won't be indexed by Google on your site, only on gist.github.hom?
288.
▲
by
augustl
14y ago
My takeaway from the presentation at Clojure West is that Pedestal is a generic perception library, and rendering UIs is just one of many things it will be used for. Also, this is very alpha stuff, so many of the details are yet to be worke
289.
▲
by
augustl
14y ago
I think I'll put this to use in an internal admin/support system in need of search. All the data is on the client already (AngularJS), and it's less than thousand docs for now.
290.
▲
Rails Is Omakase: A Dramatic Reading (by Giles Bowkett)
(youtube.com)
7 points
by
augustl
14y ago
|
0 comments
291.
▲
by
augustl
14y ago
Linux runs on Linksys routers (dd-wrt, for example), so Linux != lots of power :) There are some cool boards you can get pretty cheap with 10/100 ethernet, which is probably all you need for an internet conneciton (I have 60 up/down at home
292.
▲
by
augustl
14y ago
I use a home-built router and a TP-link WiFi access point, works great! Building your own router is as simple as having a Linux box with two ethernet plugs and installing a DHCP server, and some iptables tweaking for NAT.
293.
▲
by
augustl
14y ago
Ah, good stuff, didn't know Chrome for Android could do that!
294.
▲
by
augustl
14y ago
The article is not accessible from what their system deems a mobile device (a Nexus 7 in my case), all I get is a redirect to a "dedicated mobile app coming soon" page..
295.
▲
by
augustl
14y ago
Bad news for us norwegians. The national online authentication system, BankID, commonly used in online banks and government services, uses a Java applet.
296.
▲
by
augustl
14y ago
I wish my browser had a setting called "disable scroll events and position: fixed"..
297.
▲
by
augustl
14y ago
They're redoing it this year, and considering doing one in New York this year as well. I think the organizers is a loose collection of Erlang companies (Trifork, Erlang Solutions, probably more). IIRC they organized an Erlang conference and
298.
▲
by
augustl
14y ago
I attended TechMesh 2012 in London. The creators of Haskell were there, and there was a number of other Haskell talks. They were almost all about how to model state, I/O, etc. One of the Haskell creators also created Quickcheck, a generativ
299.
▲
by
augustl
14y ago
I've been paying for my Gmail access for a couple of years now, in the form of a Google Apps account, works great. Part of me want to self-host, but the gmail.com client and their spam filters and priority inbox (good for removing marketing
300.
▲
by
augustl
14y ago
I'm wondering if it would make sense to build an OS based on principles important in functional programming, such as immutability. I can't think of any benefits right off the bat, but I'm also no OS designer..
More ›