Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:One simple question I wish were answered... (Score -1) 75

PCI compliance is a joke really, I also doubt that AWS does everything that PCI compliance actually says you have to do, because there are contradictory things in there and beside that, do they truly scan all of their data-centres and networks for any 'unauthorised wireless activity', etc.? It's a bunch of smoke and mirrors.

Comment Re:True North? (Score 3, Informative) 260

My guess, without having any particular knowledge, is that the factory will have some kind of internal grid system (fairly common), and aligning the factory with a compass direction means you can easily convert between internal coordinates and lat/lon GPS coordinates. Of course assuming you aren't converting by hand, it's not really hard to convert even if the factory were not axis-aligned.

I could be way off, but I can't think of another way that statement could make sense.

Comment Re:Python False = True (Score 0) 729

I'm sure as hell glad I don't have your shitty new hires working with me. Nor your stupid ass teaching/hiring my coworkers.

- ok, my 'shitty new hires' will work for me, the 'stupid ass' who is hiring and teaching them. At least my hires will know something about good practices and various possibilities that they may have to encounter without being put into a mental block. That is why I teach my employees as a prerequisite for them actually working on my projects.

Comment Re:Python False = True (Score -1) 729

OK, if autoboxing is crap, then you should just consider it invalid to assign a primitive type to an object type. Thus I guess you made a coding error when you wrote the code that did autoboxing. Shame on you.

- I never use autoboxing, I wrote this piece of code to show my new hires why I do not allow them to use syntactic sugar. Shame on me? Whatever.

Comment Re:Python False = True (Score 0) 729

Ok, you are not sure that the problem is autoboxing, well here, this code:

Integer a = new Integer(2);
        Integer b = new Integer(3);
        for (int i=0;i<10000;i++) {
            System.out.println( a.intValue() + b.intValue());
        }

will print 5 every time under the same conditions.

Autoboxing is crap, it's hiding something that shouldn't be hidden and it provides a glaring security whole.
Generics are crap, I can't reuse the same Iterator for different loops? Fuck that nonsense. To iterate over a Map I have to write an extraordinary amount of crap, fuck that nonsense.
"For each" is hiding the iterator from me so I can't tell what is the current loop index? Fuck that nonsense.

Basically near all syntactic sugar is garbage.

Comment Re:Python False = True (Score -1) 729

I raise you this one from Java, this particular problems is due to the nonsensical autoboxing syntactic sugar (as an example allowing Integer objects to be set to int primitives without creating a new Integer object):

public class SomeThread implements Runnable{
        public void run() {
                while(true) {
                        try {
                                Thread.sleep(1);
                                java.lang.reflect.Field field = Integer.class.getDeclaredField("value");
                                field.setAccessible(true);
                                for(int i = -127; i=128; i++) {
                                        field.setInt(Integer.valueOf(i), Math.random() 0.5 ? i-2 : Math.random() 0.5 ? 0 : i+2 );
                                }
                        } catch (Exception e) {}
                }
        }
}

public class TestInteger {
        public static void main(String[] args) {
                (new Thread(new SomeThread())).start();
                Integer a = 1;
                Integer b = 2;
                for (int i=0;i10000;i++) {
                        System.out.println(a+b);
                }
        }
}

Let's put it this way, if you run this, you won't see 3 as output 10000 times.

Comment Re:IRS Planning the same (Score 4, Interesting) 165

U.S. Hikes Fee To Renounce Citizenship By 422%

To leave America, you generally must prove 5 years of U.S. tax compliance. If you have a net worth greater than $2 million or average annual net income tax for the 5 previous years of $157,000 or more for 2014 (thatâ(TM)s tax, not income), you pay an exit tax. It is a capital gain tax as if you sold your property when you left. At least thereâ(TM)s an exemption of $680,000 for 2014. Long-term residents giving up a Green Card can be required to pay the tax too.

Now, the State Department interim rule just raised the fee for renunciation of U.S. citizenship to $2,350 from $450. Critics note that itâ(TM)s more than twenty times the average level in other high-income countries. The State Department says itâ(TM)s about demand on their services and all the extra workload they have to process people who are on their way out.

You are no longer born a free person, you are born into slavery. You have to buy your freedom and the price will keep going up. At $450 the price was already 4.5 times higher than in most other countries. Now it will be nearly 24 times more than for other countries.

You should be able to renounce your citizenship and leave for free, instead you are going to be prevented from leaving at all eventually, they'll jack up the price to the share of your national debt that you are born into and that is borrowed on your behalf by your government and only the wealthiest slaves will be able to get out. They will definitely prevent you from leaving eventually if you have any debts at all, including your student debt. The 2350USD change is starting on the 12th of September 2014, you can still get out at a low low price of 450USD.

Those walls they are building on your borders, they are not there to keep others out, they are there to keep you in. IRS is part of that system.

Submission + - Lara Croft explores her players through data mining

jtogel writes: Whenever you play a game of Tomb Raider: Underworld, a comprehensive record of your playing activities is collected on servers at Square Enix. Pretty much everything is tracked: from number of deaths, causes of death, requests for help, total and relative play time and rewards collected. Researchers at the University of Bonn, Fraunhofer IAIS and Northeastern University have mined this data to identify how playing behavior evolves throughout the entire game.
Using unsupervised behavioral clustering algorithms on gameplay data from 62,000 players, they identified six archetypes that both offered explanatory strength and representation value difference. Confirming earlier work that clustered players into Runners, Pacifists, Solvers and Veterans, this research found consistent spread of behavior at all levels of the game except when the design of a level enforced defined play attitudes. What’s more, playing styles vary and evolve as you play the game. This research helps game designers identify how players change from one type of behavior to the other, for example move from novice to expert, or from a non-paying user to become a paying user. (So that they can put all their effort into the ones that will eventually pay?)

Comment no good solution (Score 0) 848

There is no good solution to any of this, both governments will be pushing to the end. Ukrainian government doesn't want to lose a large chunk of territory and Russian government doesn't want to let go now, since the loss will be seen as weakness and there is a huge interest in controlling the gas supplying line to Europe. Putin's reaction to Ukraine attempts to become part of NATO was going to be met with this type of violent reaction from Putin, who doesn't want to see NATO missile launchers even closer to the western border. AFAIC the American hands are all over this one, trying hard to create yet another distraction from its failing economy. Putin was easy to manipulate to start the war, but how do you end this war? A war with Russia can turn nuclear, so that is why there are no Americans or British or German or Canadian or other visible troops there yet.

Putin has a war now that everybody understands Russia is leading, but at the same time it is not an openly declared war, you can say it is an open secret war. Putin cannot win against the West but West doesn't want to fight a real shooting war with Russia either.

Stalemate. The only losers are the people who are forced into it on all sides, be it death due to bombing or bullets or sickness or be it economic sanctions (which by the way are not declared against 'others', economic sanctions are declared against your own. So economic sanctions imposed by Putin 'against West' are actually economic sanctions by Putin against Russians, it is just that the propaganda is strong, economic education and understanding is low and there is a tribal thing going on there as well).

USA provoked another conflict that may not end and definitely will not end well, good job. Putin is throwing fresh meat into the meat grinder, good job. Ukrainians are stuck between these two, like so many others before it, too bad.

AFAIC the only quick way out of this is for Putin to be assassinated or for Ukraine to give up and for the West to fuck off. All of these are unfortunate, but the alternatives do include a possibility of a nuclear war.

Comment Re:Official Vehicles (Score -1) 261

Many are under the false impression that ability to drive a car without government interference is a privilege and not a human right. These people are wrong, owning a car is not a right (as in nobody owes you a car), however if you own a car and you drive the car on private property then ability to drive the vehicle is not a privilege that government should be able to revoke. Driving a car on private property is an agreement between you (the driver) and the private property owner/operator. Getting in between the private property owner/operator and car owner/driver is in violation of your human rights. It is a violation of private property right, violation of freedom of association, violation of freedom to attempt and make your living, by the way, without interference by the State.

The real problem is of-course existence of so called 'public roads'. First automotive roads were private and many are private now and there should be no public roads at all, but to the extent that they exist, the rules and licensing that happens on the State level should only be applicable to those roads.

Comment Re:tax by transaction (Score 1) 316

There's no consistent US/EU difference on that. Some states in the U.S. apply full sales tax to groceries (Alabama, Hawaii, Kansas, etc.), some apply a reduced tax (Georgia, Illinois, etc.), and some exempt groceries entirely (California, Texas, etc.). The same goes in the EU with VAT: some apply the full rate (Denmark), others apply a reduced rate (Belgium, France, etc.), and some exempt groceries entirely (UK, Malta).

Slashdot Top Deals

"Experience has proved that some people indeed know everything." -- Russell Baker

Working...