Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wladimir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
571.
▲
by
wladimir
15y ago
We run multiple Ruby processes per CPU so that when one process is waiting for the db or memcache, another can be doing useful work on the same CPU That's the trivial case. When waiting for the db or memcache (I/O in general), the GIL is
572.
▲
by
wladimir
15y ago
Threads are much, much more efficient than processes - threads consume less memory (even with COW, VMs with garbage-collectors basically prevent COW from being effective), threads have faster context-switch, and threads achieve better cach
573.
▲
by
wladimir
15y ago
Also, don't forget that threads don't scale beyond one machine; so when you want expand beyond one machine you need to take care of two levels of scaling, threads and processes. This can be avoided when using multiple processes that commu
574.
▲
by
wladimir
15y ago
Well you poked a stick in the hornet's nest for sure. Now we're all watching you :) I'll give you my current high-level pet peeve for free: While programming, it is so incredibly easy to miss something, to not be entirely thorough. I thin
575.
▲
by
wladimir
15y ago
I can so relate to that... But then I think of other actual jobs that exist nowadays, and I conclude being a software dev might be the least worse. Software is eating the world, after all.
576.
▲
by
wladimir
15y ago
Ah, right, thanks. Out of sheer lazyness of setting something up I generally use the built-in github editor and preview these days. It works pretty well.
577.
▲
by
wladimir
15y ago
MacOS only :( Why don't people add that to the title? It would prevent non-mac users from getting their expectations up.
578.
▲
by
wladimir
15y ago
You already have a national ID number. Several, actually. They are your cell phone number, your Facebook account number, and your Gmail address, among others They are 'numbers' that identify someone, that's for sure. But there is still a
579.
▲
by
wladimir
15y ago
Ok, I also cringed when reading the original post by Ryan Dahl bashing UNIX for its "complexity". I simply assumed that he had had a bad day. But this reply is simply mean and almost reeks of character assassination (very ad-hominem). "canc
580.
▲
by
wladimir
15y ago
Reminds me a bit of the Javascript "text color gradient" generators of the 90's. But much cooler. Nice toy :)
581.
▲
by
wladimir
15y ago
Users seem to see Sublime Text or TextMate as just missing a feature or two while looking at Eclipse and finding that it has the features, but lacks the basic joy of interaction I somehow have this problem with Eclipse too. I really love
582.
▲
by
wladimir
15y ago
His "Galapagan isolation" / "large continent" hypothesis is interesting. I've noticed similar things. Obviously, the continuous stream of data from the internet makes it harder to concentrate on one thing, I think we can all agree on that (
583.
▲
by
wladimir
15y ago
Good analogy, it reminded me of teen angst. The Livejournal version of this rant would have been: "I hate how the world is so complicated, with relationships and stuff and politics and law and technology, why don't people in this time just
584.
▲
by
wladimir
15y ago
Then again, you could also do that in images. Especially if you have some graphic effects like feather, gradient and drop shadows, the advantage of client-side rendering is not entirely clear. If anything, it makes the site heavier to rende
585.
▲
by
wladimir
15y ago
Indeed, payments/currency/money seems to be one of the holdout areas yet to experience a major global disruption by the internet. That doesn't mean the "great new thing" necessarily has to be bitcoin, obviously. But it could be. It also cou
586.
▲
by
wladimir
15y ago
Excellent suggestion! That has been my experience as well. It's better to focus on auxiliary activities where you'll meet women as part of the group, and have to work with them, instead of focusing on dating. It's much less awkward (as ther
587.
▲
by
wladimir
15y ago
Right, that might have been true ten years ago, and was even more true if you go back further. These days it's hard to get a job even for people that have a lot of experience in some area (at least if it isn't computer-related... we're the
588.
▲
by
wladimir
15y ago
Right, this is very interesting, you are effectively running the data and code intermingled instead of in different separate memory areas. A fascinating thing about computing with rule 110 seems to be that it is inherently parallel, the "in
589.
▲
by
wladimir
15y ago
So instead of spaghetti code (a tangled mess) it now is macaroni code (small pieces of code everywhere, with unclear execution flow)? :-) At least that's my experience with structuring asynchronous event-driven programs (without coroutines)
590.
▲
by
wladimir
15y ago
This is not a problem of the device, though. The scrolling and zooming makes sense as (most) PDFs use A4 page format and PDF cannot be reflowed to other screen sizes, which epub etc can. Unless you generate a PDF with smaller pages somehow,
591.
▲
by
wladimir
15y ago
Oh yes, this is about the only thing that annoys me about HN. I love the clean, simple interface. But the expiring continuations are... annoying. Like some enterprise systems that log you out after a few minutes of being idle (luckily, you
592.
▲
by
wladimir
15y ago
That would be great. However, I'm afraid in this age we're condemned to our specific specialization for life. For every job, to get a job at all, years of experience ('XX years of YY specific recent buzzword experience') is generally requir
593.
▲
by
wladimir
15y ago
Hmm yes I can see it used for that. However, that will only work for simple passive pages. "view cache" is inherently incompatible with pages that render from javascript (or that make extra requests to get the content). These get broken, an
594.
▲
by
wladimir
15y ago
I don't agree this is necessarily bad. Arguably, "view cache" is a feature for power-users that know what they're doing. Moving the cache link into that pop-up did simplify the user interface in the most common case, in which the user just
595.
▲
by
wladimir
15y ago
I have some experience programming against the previous architecture (T3). It depends on what you're doing. For some purposes it's great to have that many cores/thread, such as network servers or others systems that handle zillions of quasi
596.
▲
by
wladimir
15y ago
You can just look at the source code of the music player and see it extracts the key from the file To be fair, we can also do that without source code. It only (yet again) proves DRM is pointless against technical people that are determin
597.
▲
by
wladimir
15y ago
It is not "simply backup". They provide a user friendly synchronization service for files between all your devices. Sure, for simply stashing files there are much cheaper options such as Amazon S3 or simply a friend's linux box in his basem
598.
▲
by
wladimir
15y ago
Hey, my point was not that SSL is not needed. By all means, convert the whole web to SSL! I was just trying to propose a way to make the PyPi repository somewhat more secure by making sure the maintainer signs the packages. This increases s
599.
▲
by
wladimir
15y ago
The minimum price you can charge for your app, if you want to charge for it, is $2.99 ( http://developer.ubuntu.com/publish/ ). I wonder why.
600.
▲
by
wladimir
15y ago
Yes, open source C++ IDEs remains a difficult area... I think Qt Creator is pretty nice, as it groups all kinds of useful tooling together but is very focused on Qt. The Eclipse C++ support is also pretty good these days. But it was too lon
More ›