Forgot your password?

Comment: Not survivor (Score 1) 37

by DrYak (#47946597) Attached to: Inside Shenzen's Grey-Market iPhone Mall

Take TVs, for example. I have a Sears TV in storage from the '80s. The manual has circuit schematics, where to get replacements for the channel buttons, how to replace switches, what pots are used where. It was made so someone with basic soldering skills could at least maintain it. A new LED TV just gets chucked and you buy a new one, even though the problem could be a membrane contact that costs a penny.

First off, your Sears TV is suffering from "Survivor Bias" - it lasted that long for you Who knows how many thousands are sitting in landfills because they're broken? So no, you can't say "things were made better in the past because my XXX works today".

Read again, he's not saying that his Sears TV is better *because it still works*. It's not survivor bias.
He's saying:
- back then, a TV was expected to be repaired and came with all the necessary information to do a repair.
- nowadays, things are made much more difficult for any one wanting to repair: good luck finding the schematics of any modern LED TV.

Comment: Very much so (Score 1) 238

by Sycraft-fu (#47944575) Attached to: Slashdot Asks: What's In Your Home Datacenter?

I always thought it was an awesome idea to have a bigass set of computers at home... Ya well now I get paid to manage a bigass set of computers professionally and I'd rather just leave them there, thanks. Also there's no compelling reason to want my own servers for the sort of things I do, VMs work so well. I'll just lease one from somewhere, or spin one up at work.

At home, all my gear is related to, well, home use. More than a non-geek would have for sure but no data center.

Comment: Teaching/Learning machanism (Score 4, Insightful) 68

by DrYak (#47944075) Attached to: Europeans Came From Three Ancestry Groupings

You can imagine 10 different sects popping up with different versions of the dietary rules. The ones that happened to align with health and reduced death would have an evolutionary advantage, and ultimately become dominant.

That's basically how teaching/learning mechanism on the whole did evolve. That's why lot of mammal have youngs observe the adult and copy behavious. That's why in some mammal species, the parent actively teach the young. That's why some mammals (humans, dogs, etc.) from very strictly hierarchical societal organisation, with the underling strongly following the alpha, etc.
That's also why memes work on the internet.

"Religion" itself, is just a side phenomenon, that happens to hi-jack this transmission of knowledge methode and packs together useful information ("Things to avoid eating not to get sick") with complete non-sensical mythology/legends. That all still gets perpetuated because "that what we've always been doing".

Comment: Re:More details (Score 2) 270

Most artificial sweeteners sold in powder form contain a simple sugar or starch to add bulk and give the product free-flowing granules more similar to sugar. Since saccharin, sucralose, and aspartame all taste hundreds of times sweeter than sugar, they are used in much lower amounts, with bulk added for the consumer-serving preparations so that you don't have to add micrograms of sweetener to your coffee to get the equivalent sweetness of sugar. Either glucose (usually listed as dextrose) or maltodextrin are generally used, which is interesting since it means that sugar substitutes generally contain a small amount of carbohydrates. The little single-serving packets tend to have about 3 (kilo)calories each; in the US, the FDA allows foods with less than 5 calories to be labeled as "zero calorie," so they generally are.

I note that this study did happen to use all powder-form sweeteners (dissolved in water) which means that there would some small amount carbohydrate in the solution. That's a perfectly reasonable way to run this study, since these are widely used preparations of these sweeteners, but I do wonder if there might be a difference with a genuinely digestible-carbohydrate-free preparation.

Comment: Re:Are you even aware of SystemD works? (Score 4, Informative) 355

by DrYak (#47931629) Attached to: Torvalds: No Opinion On Systemd

(Reliable process supervision which cannot be evaded,

cgroups existed before systemd.

the cgroups functionnality existed in the kernel but wasn't really used that much before.
systemd, with its tasks in setup/startup of things can handle the creation of jails during lauch when needed.
whereas current /etc/init.d/apache can't without fumbling of shell scripts.

sane handling of process stdout/stderr

Up to the init script.

And thus each script end up fucking things up in its own original and different way.

proper handling of dependencies at runtime

Already handled by several init systems.

None of which are the original sysvinit.
Either it's relying on LSB-extended script and a different core which starts the scripts. (Debian had a makefile based one)
Or it's an entirely new system anyway like upstart.

socket activation

We call it inetd.

Or cron if it's time-based activation. Or udev if it's hardware based activation. Etc.
Why do we need 83 different way to start some code ?!
Wasn't the whole point of Unix philosophy having one piece of software which concentrates into doing one thing and doing it well?
With systemd, setup/startup/stop/teardown responsibilities are concentrated with PID1 and it's helpers.
Before, you'd have the same concept spread into a dozen of different systems, each only doing part of that functionnality.

I like systemd, it makes my work easier on desktop, on server, on virtual machines, etc. and although it used to have hiccups when it was introduced before in opensuse, by now it has had the time to mature.
no need to bash it. if you don't like it, don't use it.
and perhaps the fact that it's slowly gaining popularity in lots of mainstream distro might be due not because systemd is "a spreading cancer" but because systemd is actually useful and solves real world problem

Comment: Also concentrate it in 1 point. (Score 5, Informative) 355

by DrYak (#47931529) Attached to: Torvalds: No Opinion On Systemd

You don't seem to understand how SystemD actually works. The PID 1 is relatively simple -- it uses all sorts of separate (i.e. non-PID 1) helper processes to do all the heavy and complicated lifting.

And another thing I like about systemd:
- it groups into 1 single project: 1 single task (starting-up/seting-up things) that was spread accross way too many different project before.

Before systemd:

Want to start a service during boot-up ? Put it into sysvinit. Except if it's a file system, then it goes into /etc/fstab. Or if it's not a *service* but like of an interface like your terminal that should go into inittab (Except on distribution which do THE EXACT SAME THING but in init.d anyway).
The thing which start is related to actual hardware? the you need to put it into hal, no way we replaced that with udev... except that a few distro put them any way in init.d and thus your hardware might not work when plugged after booting... unless you also duplicate some code into modprobe.conf's post-runs.
And what if conditions for your code to start isn't "boot-up" nor "plug-in" ?
Then put it into inted/tpcd if it's network triggered. Except for code that doesn't work there, because the service needs to be compiled to use libwrap to work this way. So then you'll have to run the service constantly and fumble around with ip filtering to enable/disable it on demand.
Or put it into cron if it's time triggered.
And you need to start a service and the periodically monitor it for failure, and restart and raise alert if it has failed? Well either use an entirely separate custom system like djbdns's daemontools. Or write your own monitoring solution by writing a ton of scripts which tap into all those different ways to start/stop stuff and hope that it works.

And don't get me started about initialising containers (limited fonctionnality, tons of script), brokering access rights around (not really used. lot of interface must run as root and drop privileges, or lot of interface must be world accessible), handling situation as missing configuration or drivers in a system that hasn't fully booted up to the point where the GUI works and the user can fix things from here (huge tons of scripting to achieve way to detect that Xorg is failing and to propose solution to fix drivers)

All this written in shell script which can have their own pitfalls, and every single system using a different syntax.

After systemd:
PID1 and its herd of helpers take care of setup/start/stop/teardown.
Want to do *something*? Write a systemd config file, and describe which trigger (boot, after another service has started, on network, by clock, on device plug, etc.) should start it.
You can even call legacy systems from within systemd (cron can be reimplemented as a systemd service that runs periodically and reads/executes crontab, etc.)

You can have an LXC that is quickly setup. In fact you can quickly create throw-away container to jail any service separately (systemd is the kind of infrastructure that can boot a dedicated LXC jail to run Skype into, with restriction correctly setup so that no hidden backdoor could spy on you).
You can have systemd handle brokering the necessary rights (to the point that plugin an USB stick and having the currently active user access to it isn't a nightmare anymore).

If anything the handling of setup/startup/stop/teardown WAS NOT "unixy" before, it was "have 384 different programme which all do a different part of one single task in subtly different ways".

Comment: fundamentally different (Score 1) 71

by DrYak (#47931105) Attached to: Commander Keen: Keen Dreams Source Code Released

They are fundamentally different.

On one side you have turn-by-turn games, that progress in fixed steps, and thus simply paint the game field by putting varied wall graphics at exact predefined places.
It's really the discrete position on the map and cardinal headings that are specific,
(That's what you get in most classical RPG).
Could very easily be done back then with a few lines of code. The biggest chunk of work came from the *art* to have a big enough choice of wall to draw to make an interesting world (because it's mostly static, you'll be spending a lot of time at the same, and need something nice to look at).

Basically, the graphic engine has a fixed grid on screen and you put different sprites at said fixed grid positions.

On the other side you have game engines that try to have some actual notion of 3D built into them and allow smooth motion, with complete arbitrary position/headings.
(That's what you get in most FPS and real-time RPG like ultima).
There is really require more advanced coding. (With Origin more concentrating on making an imersive game, emphasis on beautiful graphics, and ID concentrating on make their engine fast and responsive, sacrificing any detail necessary for the sake of being able to make a fast paced game).

Basically, the graphic engine use geometric techniques like wolf's raycasting do determine what is visible where, and gives you total freedom (or at least tons more of freedom, as Carmack used limitation to beat Ultima in speed and fluidity).

From a basic visual composition, both categories have a first person perspective.
From a technical point of view, they are designed completely differently.

Comment: Point of comparison (Score 1) 943

by DrYak (#47930719) Attached to: ISIS Bans Math and Social Studies For Children

Eventually, even the dumbest of the dumb will realize that it doesn't pay.

The dumbest of the dumb can only realise things are going badly when they can compare with things going well. To realise that the current government fucks everything up require to be able to realise that some things could be a little bit less fucked up, and the reason they are still so bad is the government's fault.

But if a country is shot down into dark ages, that gets much more difficult. See the reports about fugitive who have escaped extremely isolated dictature like North Korea. These people had probably the vague notion that perhaps here in the west, things are going a bit easier that in their country. (That's why they ran away in the first place)
But having so few information means that these people are just completely amazed by how far off their perception of the outside world has been, they knew that things could go in a different, better way. But they weren't able to realise that outside the totalitarian prison things are SO different.

Comment: Is that a serious question? (Score 4, Interesting) 943

by Sycraft-fu (#47928601) Attached to: ISIS Bans Math and Social Studies For Children

Because if it is, you need to pull your head out of your ass and go and do some extremely basic, cursory, research on the situation in the US. There are for sure some loud fundy Christian that like to whine about science, evolution in particular. However they have had little and less success in pushing their agenda and the US remains a powerful center of scientific research.

Trying to equate the US to ISIS is beyond stupid.

Comment: Rejected from Piratebay (Score 1) 203

by DrYak (#47918727) Attached to: 5 Million Gmail Passwords Leaked, Google Says No Evidence Of Compromise

Can you please upload the list to piratebay? I cant find it anywhere..!!

It was alread *rejected* from pirate bay.
Look around for "10 millions emails yandex mailru gmail w passwords 2014".
It might still be in some cache (that's where I found it).
And it starts poping up around on other tracker.

Comment: Worst summary ever (Score 2) 105

Indeed, IB Times wins the record of the worst ever summary of microbiology subject.
(mixing virus and bacteria and toxins. And multiplication and dead cells. W.. T.. F.. )

(Also, the magnets have nothing to do with the removal. They are just the mecinal technique used to move the metal beads around. It's the manose-binding lecitin on them that hold the magic.
It's not "removing Viruses and bacteria using magnets" but "removing them using lecitins which happen to be moved around thanks to magnets").

The nature paper it self is good, and the method is typical technique used for extraction / purification (so the principle is solid).

The relative novelty of this method is that, instead of using an antibody as the binding agent (something that needs to be targeted specifically. In vertebrate they are part of the *adaptive* immunity : immunity that the body needs to train) this method uses manose binding lectins (something that isn't specific and bind to lots of targets: bacteria, virus, toxins, etc. In eukaryote, they are part of the *innate* immunity: immunity you are born with, you don't need to train. Your body will already produce lecitins against sugar patterns that aren't frequent in your body, even if you've never encountered them).

Thus, its able to purify and extract from a patient's blood bacteria, virus and toxin *THAT YOU DO NOT KNOW beforehand* (i.e.: anything that presents a pattern of sugar on the surface that isn't common in the body and for which they have the corresponding lecitin).
(Where classical extraction usually rely on antibodies targeting what you would like).

It's a bit equivalent to use coal to purify blood: coal will indiscriminately extract any big organic molecule without you needing to know it in advance and thus is a valuable tool in case of poisoning

Comment: Smaller vehicle (Score 1) 139

by DrYak (#47917597) Attached to: Uber CEO: We'll Run Your Errands

car emissions come out

Now, regarding the CO2 emissions, this might be solved by using a lighter vehicle for such errends.

To transport a few clients and their suit-cases to the airport, yes, a Uber driver needs a big-enough car.
To carry and drop around a few lunchboxes or pharmacy bags, a Smart car, a motorcycle scooter or an e-bike is pretty well enough.
(Also european cities tend to have separate lanes for bikes, meaning that the Uber driver can bring your delivery while avoiding traffic jams).

Now on the other side, there are health benefits in taking a break and walking a bit to pick up your food.

Comment: Pharmacies (Score 1) 139

by DrYak (#47917515) Attached to: Uber CEO: We'll Run Your Errands

In Europe and Asia there are already services like this.

Random example of such service in Geneva, Switzerland.

Pharmacies also operate their own such services (it's a popular job for high-schoolers to earn a few bucks).

Plus there is generally a delivery charge (or the restaurant gives up a cut). If each delivery is $5, zipping around from house to house would be a very good job if it's organized correctly.

And, unlike taxi service, can also be achieved with much lighter transportation vehicle (said drug-delivering high-schooler tend to do it with their motocycle scooter, e-bike, etc. also because it's easier to get a license for it) which overall can potentially lower emission and lower traffic in dense cities.
(well at least here in Europe where bikes, e-bikes, light motorcycle, etc. are very popular... in gaz-gurgling-SUV-land, well, YMMV).

Wasn't there something about a PASCAL programmer knowing the value of everything and the Wirth of nothing?