Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:lol (Score 0) 667

try googletranslating http://lb.ua/news/2014/07/20/2... [lb.ua] - ukrainian army detains 23 terrorists. somehow all 23 turn out to be citizens of the russian federation.

That page is merely reporting a press release from the Ukrainian government in Kiev. Are you suggesting we should treat everything they say as factually true?

let's bisect the other thing you said - "at most Russia is supplying weapons to them".
"at most". as if they were given bows and arrows. they get armoured vehicles. they get... tanks. they get bloody sam systems that can reach targets up to 25km.

Yes. That's what I said. Perhaps this is a language issue.

Whatever is happening in Ukraine it is not a full-blown invasion by Russia in the "classical" style that Iraq or Afghanistan were. That would be far more obvious. It seems to be much more similar to what's been happening in Syria where the west has been supplying weapons, training and expertise to anti-Assad groups there. If you were to say the west has "at most been supplying weapons and training to the Syrian rebels" you would be correct, given that (fortunately) Syria was not invaded by a foreign army.

Comment Re:lol (Score -1, Troll) 667

Not exactly. There is a distinct difference between a soldier and a combatant. A soldier is trained and is a member of a standing military. The separatists can at best be described as "irregulars", or insurgents or rebels if you want to go with slightly more charged terminology.

Yes, really? With that definition it'd be impossible for a new military to ever be created, because anyone who joins and fights with one is not joining a standing army therefore cannot be soldiers. That is obviously nonsense, it must be possible for someone to be a soldier in a newly formed army, which is what it looks like is happening here.

Additionally, you claim that the fighters in Donetsk cannot be soldiers because soldiers are trained, and then immediately claim they're receiving training from Russia. So which is it?

And given the fact that the missiles were launched from inside territory controlled by the rebelsis a very important detail. Why would the Ukrainians have anti-air equipment deployed in an area they do not control, against an enemy with no air power?

You're quite right - it probably was the separatists. This does not change the accuracy of the Wikipedia edit that's being discussed, because unless/until the separatists win, they are still Ukrainians.

Although I'd note that given the amount of bullshit emanating from all sides in this conflict it's hard to really know anything about what's going on. The area of Ukraine that's in revolt is next to the Russian border, which is exactly where you'd expect the Ukrainian military to have had lots of soldiers and equipment stationed. Missiles might have been trucked over the Russian border, or they might simply have been there already. The separatists might be being trained by Russians (this would be unsurprising and not exactly unprecedented - see how the USA supported rebels in Syria), or alternatively they might be operating the equipment without really knowing what they're doing - indeed, having no clue what you're targeting would be rather indicative of not being properly trained, no? Or perhaps they're being trained by people who are ethnically Russian but lived in Ukraine at the time of the rebellion, or one of many other more complex cases that won't neatly fit into the "Putin fired the missiles himself" story the west is busy pushing.

All we can say for sure is that whatever you read about this incident is going to be full-blown propaganda, and should be treated as such.

Comment lol (Score -1) 667

I don't think Russian state media should be editing Wikipedia entries especially not on matters of current affairs.

But still, interpreted literally the new statement is far more factually correct and unbiased than what it replaced. Whoever shot down the plane, they were "soldiers" or fighters of some variety and almost certainly can be described as Ukrainian, given that everyone seems to agree that the fighters are actually eastern Ukrainians and at most Russia is supplying weapons to them.

The original text, on the other hand, more or less exactly sums up western/west Ukrainian line despite the obvious abuse of the word terrorist to mean "rebel fighter" and the [citation needed] assertion about who did it and the source of the weapons.

Comment Re:Time to get rid of Tor (Score 3, Interesting) 122

There is no need to get rid of Tor: in theory, Tor could have a "hidden service policy" mechanism not much different to the exit policy mechanism. HS Policies would allow a node operator to state that they aren't willing to act as an introduction point for a list of hidden services (or point to lists maintained elsewhere to stop fast-flux type behaviour).

Tor already accepts that not all relay operators will want to support all kinds of behaviour and that some kinds of traffic can be abusive, that's why they implement exit policies which allow exits to ban port and IP ranges. Taking this philosophy to hidden services seems like the next natural step. After all, Tor volunteers are ultimately acting as human shields for other people's anonymous behaviour. Requiring them to shield everything just restricts the number of people who would be willing to donate bandwidth to general privacy but are not interested in enabling botnets.

Comment Re:This obsession with everything in RAM needs to (Score 2) 161

Not sure what you're getting at, but the Azul collector is well known for pulling off apparently magical GC performance. They do it with a lot of very clever computer science that involves, amongst other things, modifications to the kernel. I believe they also used to use custom chips with extended instruction sets designed to interop well with their custom JVM. Not sure if they still do that. The result is that they can do things like GC a 20 gigabyte heap in a handful of milliseconds. GC doesn't have to suck.

Comment Re:String theory is not science (Score 1) 147

No, it's a computer model. A compute model is often (in engineering for example) a conceptual representation of real entities. However in many cases the model is more a conceptual representation of the biases and assumptions of the people who made it, being unreal in that sense. It isn't science and math isn't science either.

But it is. Both.

You've confusing hypothesis with observation. This does not purport to be observation. This is an element of the hypothesis -- identifying what sort of tests and observations might be performed, so that the tests can be performed and/or the observations scheduled. Actual tests. Actual observations. Outside of the computer model.

I.e., this is a computer-assistend Gendankenexperiment, similar to other more simple ones which came before which came before.

From TFA:

"Weâ(TM)re trying to find out what the testable predictions of (the multiverse) would be, and then going out and looking for them," said Matthew Johnson of the Perimeter Institute for Theoretical Physics.

"We start with a multiverse that has two bubbles in it, we collide the bubbles on a computer to figure out what happens, and then we stick a virtual observer in various places and ask what that observer would see from there," said Johnson.

So yes, it is science. The fact that you cannot invest 5 minutes of your time to understand it is your flaw, not theirs.

Comment Re:complex application example (Score 4, Informative) 161

> the first ones used threads, semaphores through python's multiprocessing.Pipe implementation.

I stopped reading when I came across this.

Honestly - why are people trying to do things that need guarantees with python?

because we have an extremely limited amount of time as an additional requirement, and we can always rewrite critical portions or later the entire application in c once we have delivered a working system that means that the client can get some money in and can therefore stay in business.

also i worked with david and we benchmarked python-lmdb after adding in support for looped sequential "append" mode and got a staggering performance metric of 900,000 100-byte key/value pairs, and a sequential read performance of 2.5 MILLION records. the equivalent c benchmark is only around double those numbers. we don't *need* the dramatic performance increase that c would bring if right now, at this exact phase of the project, we are targetting something that is 1/10th to 1/5th the performance of c.

so if we want to provide the client with a product *at all*, we go with python.

but one thing that i haven't pointed out is that i am an experienced linux python and c programmer, having been the lead developer of samba tng back from 1997 to 2000. i simpy transferred all of the tricks that i know involving while-loops around non-blocking sockets and so on over to python. ... and none of them helped. if you get 0.5% of the required performance in python, it's so far off the mark that you know something is drastically wrong. converting the exact same program to c is not going to help.

The fact you have strict timing guarantees means you should be using a realtime kernel and realtime threads with a dedicated network card and dedicated processes on IRQs for that card.

we don't have anything like that [strict timing guarantees] - not for the data itself. the data comes in on a 15 second delay (from the external source that we do not have control over) so a few extra seconds delay is not going to hurt.

so although we need the real-time response to handle the incoming data, we _don't_ need the real-time capability beyond that point.

Take the incoming messages from UDP and post them on a message bus should be step one so that you don't lose them.

.... you know, i think this is extremely sensible advice (which i have heard from other sources) so it is good to have that confirmed... my concerns are as follows:

questions:

* how do you then ensure that the process receiving the incoming UDP messages is high enough priority to make sure that the packets are definitely, definitely received?

* what support from the linux kernel is there to ensure that this happens?

* is there a system call which makes sure that data received on a UDP socket *guarantees* that the process receiving it is woken up as an absolute priority over and above all else?

* the message queue destination has to have locking otherwise it will be corrupted. what happens if the message queue that you wish to send the UDP packet to is locked by a *lower* priority process?

* what support in the linux kernel is there to get the lower priority process to have its priority temporarily increased until it lets go of the message queue on which the higher-priority task is critically dependent?

this is exactly the kind of thing that is entirely missing from the linux kernel. temporary automatic re-prioritisation was something that was added to solaris by sun microsystems quite some time ago.

to the best of my knowledge the linux kernel has absolutely no support for these kinds of very important re-prioritisation requirements.

Comment Re:Just No (Score 1) 474

It is not meant to be an argument. It is an opinion I have. And seeing how you are trying to argue with an opinion, unable to tell the difference between argument and opinion, do I doubt you have a use for arguments.

Ah, so in your world, opinions are magical things which stand on their own and no one should try to challenge?

Or perhaps you do not reach your opinions through any form of reasoning, so therefore there is no reasoning to argue against? So, how do youreach your opinions.

Or perhaps you merely wish to make pronouncements on the internet without anyone calling you out on your bullshit? If so, slashdot is the wrong place for you.

And your post did contain a number of arguments, some of which fell into the category of a logical fallacy. So while you can pretend that (a) you didn't make any arguments and (b) opinions are not to be challenged, it won't do any good.

You will be happy when you only get someone's attention, or drugs. At best would you only be looking to get my approval,

I'm curious why you post on the internet? Either you enjoy trolling (in which case, cool troll, bro!) or you believe that people will flock to your vapid pronouncements and heap you with praise? Or maybe you hope to convice others of the errors of their ways (in which case you're doing a mighty poor job). Or, perhaps you just enjoy patronising people:

but it would also be too late for it, because I am sure you are already using drugs.

Of course I do. I drink coffee in the week. Partly I like the taste, but I also find the caffeine useful. I like a tipple or two on the weekends as well, for a variety of reasons. I don't get your point.

Comment Re:Bad Idea, End of Story (Score 1) 474

Again, I was not arguing. This is my experience. It is what I see. There is nothing to debate.

You are either attempting to deceive me or yourself. You are not merely observing, you are also forming opinions based on your observations, then making judgements on based on those opinions.

Your opinions are most certainly up for debate, as are your judgements.

I can also see that you have a problem. You argue just like many alcoholics.

By that logic you argue like an alcoholic because you too insist you're not addicted. And don't pretend you don't drink, because alcoholics hide their drinking too. So pretending you don't drink makes you even more like an alcoholic.

I am not saying that you are an alcoholic.

Yeah you really are.

The thing is if you define everyone who drinks alcohol as an alcoholic (and you clearly are despite your protestations to the contrary), then "alcoholic" becomes a redundant, meaningless word simply synonymous with "drinker". It leaves no room for those who are addicted. The sort with liver failure, or the inability to have one drink without getting smashed.

Someone who has a couple of drinks on the weekend is not an alcoholic no matter how much you personally hate the idea of people being able to drink responsibly.

Comment complex application example (Score 4, Insightful) 161

i am running into exactly this problem on my current contract. here is the scenario:

* UDP traffic (an external requirement that cannot be influenced) comes in
* the UDP traffic contains multiple data packets (call them "jobs") each of which requires minimal decoding and processing
* each "job" must be farmed out to *multiple* scripts (for example, 15 is not unreasonable)
* the responses from each job running on each script must be collated then post-processed.

so there is a huge fan-out where jobs (approximately 60 bytes) are coming in at a rate of 1,000 to 2,000 per second; those are being multiplied up by a factor of 15 (to 15,000 to 30,000 per second, each taking very little time in and of themselves), and the responses - all 15 to 30 thousand - must be in-order before being post-processed.

so, the first implementation is in a single process, and we just about achieve the target of 1,000 jobs but only about 10 scripts per job.

anything _above_ that rate and the UDP buffers overflow and there is no way to know if the data has been dropped. the data is *not* repeated, and there is no back-communication channel.

the second implementation uses a parallel dispatcher. i went through half a dozen different implementations.

the first ones used threads, semaphores through python's multiprocessing.Pipe implementation. the performance was beyond dreadful, it was deeply alarming. after a few seconds performance would drop to zero. strace investigations showed that at heavy load the OS call futex was maxed out near 100%.

next came replacement of multiprocessing.Pipe with unix socket pairs and threads with processes, so as to regain proper control over signals, sending of data and so on. early variants of that would run absolutely fine up to some arbitrarry limit then performance would plummet to around 1% or less, sometimes remaining there and sometimes recovering.

next came replacement of select with epoll, and the addition of edge-triggered events. after considerable bug-fixing a reliable implementation was created. testing began, and the CPU load slowly cranked up towards the maximum possible across all 4 cores.

the performance metrics came out *WORSE* than the single-process variant. investigations began and showed a number of things:

1) even though it is 60 bytes per job the pre-processing required to make the decision about which process to send the job were so great that the dispatcher process was becoming severely overloaded

2) each process was spending approximately 5 to 10% of its time doing actual work and NINETY PERCENT of its time waiting in epoll for incoming work.

this is unlike any other "normal" client-server architecture i've ever seen before. it is much more like the mainframe "job processing" that the article describes, and the linux OS simply cannot cope.

i would have used POSIX shared memory Queues but the implementation sucks: it is not possible to identify the shared memory blocks after they have been created so that they may be deleted. i checked the linux kernel source: there is no "directory listing" function supplied and i have no idea how you would even mount the IPC subsystem in order to list what's been created, anyway.

i gave serious consideration to using the python LMDB bindings because they provide an easy API on top of memory-mapped shared memory with copy-on-write semantics. early attempts at that gave dreadful performance: i have not investigated fully why that is: it _should_ work extremely well because of the copy-on-write semantics.

we also gave serious consideration to just taking a file, memory-mapping it and then appending job data to it, then using the mmap'd file for spin-locking to indicate when the job is being processed.

all of these crazy implementations i basically have absolutely no confidence in the linux kernel nor the GNU/Linux POSIX-compliant implementation of the OS on top - i have no confidence that it can handle the load.

so i would be very interested to hear from anyone who has had to design similar architectures, and how they dealt with it.

Comment Re:Evolution (Score 1) 253

I think it's more likely that more people are becoming obese because of exactly one factor: age. They are living artificially prolonged lifetimes due to access to adequate food and to medicine. It's easier to get fat when you are 50 than when you are 30 because of the natural changes in your metabolism.

Comment Re:Just No (Score 1) 474

I do not believe in recreational drugs.

Well, that's denialism at its finest. I can assure you they do very much exist and it's not something you need take on faith.

There is no need for them

There's no "need" for anything except water and nutrition pills.

Yet I like fine food and drink. That includes alcohol which is very much a drug. I also like the feeling after a glass of whisky. Sure there's no need, but like I said, there's no need for any pleasurable thing.

Also, most people aren't trying to have as many kids as possible, so there's no need for them to have sex either.

If, theoretically speaking, drug dealing would get punished with the death sentence, would we get rid of drugs and drug dealers pretty fast.

Why bother with theory when you can look at the practice. Some countries do this, yet they still execute people for drugs offences. Clearly therefore your reasoning does not hold up.

If you do not like my opinion then talk to the dad and his son in the following picture. They might agree with the World Health Organization:

So? I'm sure I could find people who agree with you who are otherwise utter lunatics. Again, obvious appeals to emotion do not bolster your point. Quite the contrary: it makes it appear that you have no rational arguments to make.

Comment Re:Bad Idea, End of Story (Score 1) 474

I see daily what alcohol can do to people.

So what?

I know people who could say the same about angle grinders. Those things rip people to shreds in a really nasty way. Should we ban them too?

What about chainsaws?

Motorbikes?

Cars?

Light aircraft?

What about foods high in cholesterol? Heart disease is a killer.

High salt food?

Bacon?

I have had friends who died at an age of 30 to failing livers. Others who are still alive drink 4l-8l of cider a day.

So? That sucks for them and it sucks for you. I, however, know plenty of people who drink and are still very much alive and non addicted. I happen to be able to enjoy a tipple without doing such things, as do most people.

These are extremes, but many people who drink alcohol only occasionally do not realize that they are actually addicted to it.

Um...

I see where this is going. You're basically going to assume that even occasional drinkers are addited, therefore everyone is an addict therefore everyone should stop therefore we should ban it.

Yep, I like a drink or two. I'd be annoyed if you made me stop drinking because I (a) like the taste and (b) like the mild buzz and relaxation when I have a sensible amount. What's wrong with that?

Your assertion that I would fall into a spiral as opposed to getting another job is utterly unfounded.

They balance their addiction with work, but if they lose their job for someone reason do they enter into a spiral.

Frankly, excesive alcohol consumption is a really big problem in the UK. It's sort of a traditional passtime to get wasted on lager, hurl in the gutter, smash up a bus shelter then nick s shopping trolley and fill it with traffic cones on the way home.

Those people do have a problem and yet the majority of them are somewhat functional members of society and do actually have jobs (and lose them!) and don't enter into a spiral.

Basically making up stuff which is at odds with observable facts does not bolster your point.

Comment That's Ripple (Score 3, Informative) 100

Ripple, before the name was bought by a Silicon Valley company and changed into something a bit different, was more or less exactly this.

There's a video on the original web page that explains this concept quite nicely. You could set up debt relationships between people and denominated in any currency, including ones you invent on the fly like hours of The Real Mike's time. However it never really took off in a big way, perhaps because it was rather complicated, and bootstrapping such a system from the internet (full of strangers who don't know each other, don't trust each other and may not even exist) is presumably very difficult.

However if the concept sounds interesting you could do worse than check out the original thinking by Ryan Fugger behind Ripple. Satoshi once told me that Ripple was interesting because it was the only system that does something with trust other than centralise it.

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...