Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rumcajz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
691.
▲
by
rumcajz
13y ago
Threading is required as there's processing going in the background. Not sure what you mean by non-blocking techniques. Lock-free algorithms maybe? These are used in ZeroMQ as well.
692.
▲
by
rumcajz
13y ago
There are no 'scalability protocols' such as req/rep or pub/sub in libuv.
693.
▲
by
rumcajz
13y ago
Never traversing the list. Removal every time a peer disconnects. Removal with intrusive containers: flip two pointers. Removal with std::vector<>: copy all the subsequent items in the vector one position backwards.
694.
▲
by
rumcajz
13y ago
Ever tried removing element from a middle of vector?
695.
▲
by
rumcajz
13y ago
Languages are designed for specific purposes. I am claiming that C++ is not the best language for system development. The fact that most OSes are not written in C++ is a good indication of the fact. Still, C++ is great for rapid development
696.
▲
by
rumcajz
13y ago
Traditional message queues are actually composed of two rather different subsystem: the queue itself (basically a database) and the networking. I would say we are on the path of separating the two. ZeroMQ does away with the centralised serv
697.
▲
by
rumcajz
13y ago
I've worked on OpenAMQ before ZeroMQ. And lots of proprietary stuff before that. So it would be more like dozenth-system syndrome :)
698.
▲
by
rumcajz
13y ago
The trademark can be passed to a foundation so that it's not controlled by any particular company. However, even then, if you modify the code you should name it differently to prevent confusion.
699.
▲
by
rumcajz
13y ago
Extra indirection is needed when the objects are non-assignable, e.g. if there's a thread running inside the object, if it owns a fd or similar. std::vector has O(n) complexity for a lot of operations, so it's not an option.
700.
▲
by
rumcajz
13y ago
The above is a great post BTW. I recommend reading it.
701.
▲
Nanomsg – MIT-licensed ZeroMQ alternative
(freelists.org)
293 points
by
rumcajz
13y ago
|
114 comments
702.
▲
by
rumcajz
13y ago
Actually, the one-off nature of the thing may be very well what can makes this kind of charily work. If the donations were regular, a system of extracting the money (by usury, direct violence etc.) would quickly emerge.
703.
▲
by
rumcajz
13y ago
Ack. Bur that's something you are not supposed to do in C. Not handling an exception within the function, on the other hand, is perfectly normal, if not encouraged, in C++.
704.
▲
by
rumcajz
13y ago
How would you return the error from the private constructor to the static factory method?
705.
▲
by
rumcajz
13y ago
Unless there's no catch block in the caller function. Then it starts to get messy.
706.
▲
by
rumcajz
13y ago
It surprised me that Slovakia is among 10 most cyclist friendly countries. There's almost no infrastructure like bike lanes or bike stands and the country itself is mostly mountainous. Strange.
707.
▲
by
rumcajz
13y ago
In many ways it resembles the story of Weimar republic and Hitler's ascension to power. There have been of lot of speculation about why that may have happened, what kind of social forces have made the population behave in a way that ul
708.
▲
by
rumcajz
13y ago
Having observed corporate culture for quite a while, the most likely solution seems to be to fire the employee.
709.
▲
Event-driven architecture, state machines et al.
(250bpm.com)
4 points
by
rumcajz
13y ago
|
0 comments
710.
▲
by
rumcajz
13y ago
It's a TCP issue. When the other end of the connection goes away silently (power goes of, cable is cut off etc.) TCP doesn't inform ZeroMQ that the connection is broken, so ZeroMQ uses it furthe without trying to handle the error.
711.
▲
by
rumcajz
13y ago
Absolutely true. Too late to fix now though.
712.
▲
by
rumcajz
13y ago
Yes. Exactly. This is the least we can do in the Europe. There are at least 3 reasons to do so: 1. This way we can signal we mean it with the democracy thing. 2. We can prevent random despot to claim moral superiority to EU because of grant
713.
▲
by
rumcajz
13y ago
It seems that everyone says yes. On the other hand, programming requires a pretty special way of thinking. Given that brain tends to be less malleable at 35 that it is at 18 it may be harder to catch up. Not undoable though.
714.
▲
by
rumcajz
13y ago
Hm. His passport was revoked. Reminds me of the communist era here in eastern Europe when people were not allowed to hold passports, unless the state decided that it's safe to let them travel abroad.
715.
▲
by
rumcajz
13y ago
American conservatives adopting chomskian media analysis? What's going on here?
716.
▲
The Callback Hell
(250bpm.com)
2 points
by
rumcajz
13y ago
|
1 comments
717.
▲
by
rumcajz
13y ago
Once I was renting an office of my own. Recently, I have moved to work from local library. I consider it 100% improvement in working conditions.
718.
▲
by
rumcajz
13y ago
"As I added in the comments to the post, you should be able to turn the logging/tracing on or off on a running system. Furthermore, you need to be able to select what what should be logged, for example only messages to a certain mobile phon
719.
▲
by
rumcajz
13y ago
It really depends on the existing structure of the society. I guess that in, say, turn-of-century Sicily or present-day Somalia the money would pretty fast end in the hands of local crooks.
720.
▲
by
rumcajz
14y ago
If it is a phone call, the company is spending money/time as well. It's mutual commitment. Developing test beforehand requires no commitment ($0) to particular applicant. There's no commitment. As for reviewing, I've seen A/B/C/D tests out
More ›