đ Quick links thread
-
-
Except not exactly. Comments are interesting.
-
Indeed. Concurrency is more like a single person preparing sandwiches for several customers: they don't have to prepare every sandwich in one go, but they can only work on one task at a time.
-
###Why I wouldnât use rails for a new company
Slow stagnation and death of ruby on rails. Plenty of pretty graphs with current trends. Also, this:
If you want to future-proof your web application, you have to make a bet on what engineers will want to use in three years. Thatâs more important than what framework lets you be most productive right now. If youâre Facebook, you can get away with using anything and people will still want to work for you, but most companies are not Facebook. If you bet right and get in early, you can ride the wave of momentum that a new popular framework generates.
Interesting.
-
Concurrency is more like a single person preparing sandwiches for several customers
Nope. That's a single-core version. With real multi-core concurrency, there are multiple people making sandwiches. That means there's much more potential for dropping the mayo jar on the floorâŚ
-
That's parallel as well as concurrent.
-
My point is that someone who assumes that there's only one server tends to assume that the server always finishes at least the microtask that he's working on. With two or more servers, the true chaos is exposed.
-
My point is t
hat someone who assumes that there's only one server tends to assume that the server always finishes at least the microtask that he's working on. With two or more servers, the true chaos is exposedsomething other than explaining the difference between parallel and concurrent.Just so we're clear.
-
Waitâis there a car analogy that can clear up all this parallel/concurrent business?
-
Waitâis there a car analogy that can clear up all this parallel/concurrent business?
A better example is manufacturing, say you have a car and you need the body and engine before you can make it. In a parallel structure you simply make multiple assembly lines for each additional car you want to build at the same time. In a concurrent structure you have separate lines for the body and the engine, you do multiple related tasks at the same time to make the outcome more efficient.
-
A better analogy is gophers hauling wood into a furnace.
-
-
The Rustonomicon The Dark Arts of Advanced and Unsafe Rust Programming:
Instead of the programs I had hoped for, there came only a shuddering blackness
and ineffable loneliness; and I saw at last a fearful truth which no one had
ever dared to breathe before â the unwhisperable secret of secrets â The fact
that this language of stone and stridor is not a sentient perpetuation of Rust
as London is of Old London and Paris of Old Paris, but that it is in fact
quite unsafe, its sprawling body imperfectly embalmed and infested with queer
animate things which have nothing to do with it as it was in compilation.
-
This should be a good news for @blakeyrat
-
Concurrent: you tell a street urchin to wash the windows of your car.
Parallel: you tell more than one street urchin to wash the windows of your car.
Note that:
Concurrent: the urchin may wash each window at a time or wash parts of each window alternately. She may also ask other urchins to help her, but then it would not only be concurrent but also parallel.
Parallel: the urchins may spread the work among themselves whatever way they see fit. In particular, the first urchin may choose to do all the work, which coincides with the concurrent case.
In both cases: you don't care in which order the windows were washed. Only that they didn't miss a spot or scratch your paint, or else you won't be giving any stale bread for the job.
-
but then it would not only be concurrent but also parallel
It might be task-handoff instead.
Concurrent would be one urchin using two sponges at once. Parallel would be two urchins (using an unspecified number of sponges).
-
What about cooperative and pre-emptive multitasking?
-
https://facebook.com/notes/kevin-frei/your-os-sucks/10153643564654427
So look, get off your high horse and own that your crappy OS is just the thing that you're comfortable with, and that yes, there are major parts of your crappy OS that suck, because the people that make your OS just don't give a shit about that thing that actually really matters to a significant minority of people. Why? Because your OS sucks. All OSâs suck.
Paging @blakeyrat since they shit on Linux too
Filed under: [WHY IS IT SO HARD TO COPY AND PASTE TEXT ON PHONES] ()
-
WHY IS IT SO HARD TO COPY AND PASTE TEXT ON PHONES
because the OS sucks?
glad I could clarify that
-
Cooperative multitasking: You have two or more urchins cleaning your windows, but only one sponge. once in a while, an urchin stops, and pases the sponge to the next one
Pre-emptive multitasking: You have two or more urchins cleaning your windows, but only one sponge. there's an urchin who from time to time takes the sponge from the currently cleaning one, and pases it to another urchin
-
Yet another javascript library but this one I am going to try because it is not yet another web framework:
-
I see your runtime.js and raise you this fucking hellspawn.
It is exactly what you think it might be: porting PHP to JavaScript.
-
Not as amusing as porting kernel, but close
Who was searching for a research topic? maybe next is a machine that runs javascript VM. How hard would that be to add to an ARM I wonder
-
Epic rant. Thumbs up.
-
runtime.js â JavaScript library OS
Unikernels are an interesting idea. And hello world server demonstration is undoubtedly cool.
But I'm having problems imagining creating any kind of production-grade system in this environment. Perhaps in the embedded programming, where you have limited resources.
-
They are interesting in that they are low carb, and can therefore provide an alternative to containers. With the additional benefit that containers cannot run foreign code but unikernels can. You want a web server in Ubuntu, Ok cool you do not need to have all of the kernel including drivers for X.
-
http://shapecatcher.com/ You can draw with the mouse and it'll give you the unicode character.
-
â˘
-
⌯
-
âť
-
The latest frontend hotness. A good way to make me feel completely outdated, with my dusty old
grunt
expertise.
-
###Browserify vs Webpack
The latest frontend hotness. A good way to make me feel completely outdated, with my dusty old
grunt
expertise.Why the fuck do there need to be so many of these? Fuck sake people, just pick one or two and put the effort into making them better and not creating 340 new ones every 31 seconds.
-
http://seed.ucsd.edu/~mindreader/
Can YOU generate a random string of bits that can't be predicted by a simple algorithm from the 1950s?
Unfortunately it's a java applet so a bit difficult to run nowadays, but it's worth it (unless you have to actually install Java in which case it's probably not).
-
the beautiful thing is: the didn't even solved the problem completely.
browserify only works with js, and guess what, in the frontend you are going to need assets as well.
and webpack... well, they can't even resolve dependencies right(try it with a bower package)
-
it's easier to do the core work than the work needed for a tool to be stable and productive.
you know, the kind of problems that arise when actual people starts using your code? those problems are no fun to work.
-
You mean you do not disable Java extension in your browser, dude that thing is broken more times than Flash crap-ware. Firefox disables it every once in a while when it gets bad enough, but I check every once i a while to make sure it is not activated after some JDK is installed.
-
-
Java basically disables itself. It refuses to run unsigned applets. It's literally easier to accidentally run a .exe as administrator than to (accidentally or not) allow a Java applet to run.
-
Especially since Chrome removed NSAPI meaning it doesn't exist as such.
-
###Debunking the Top 10 Climate Change Myths
Seems pretty comprehensive, good to have bookmark.
-
Wow, what a load of crap.
Anyone who can shill Cook's 97% paper with a straight face has a lot of nerve. But the other stuff they say is pretty terrible, too.
-
A first look at the Chinese operating system the government wants to replace Windows
The NeoKylin s available on Dell Latitude commercial laptops ...
-
-
Multiple desktops.
-
###Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE
UPSERT is coming to postgresql 9.5. Way to go, pg devs.
-
and they go and mock MySQL....
-
-
###My 90-ies TV, My 80-ies TV, My 70-ies TV
Sites that simulate watching TV in any of the years from 1970 to 1999, using clips from YouTube. You can also pick, eg. just music or a mix of interests. Nice.
-
UPSERT
-
This is brillant!