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

 



Forgot your password?
typodupeerror
×

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:Needed by who? (Score 2) 314

Wait, who actually needs to do those things?

Desktop applications.

For example, you change time zone or locale in system settings and your organizer app automatically picks up the changes.

And if the services do not depend on systemd, why are they part of the package?

Pottering is maintainer of all of them. So he brought it under the systemd umbrella.

Sounds like a made-up scenario and some bad packaging. Not a real-world need.

Applications "need" the services. They do not care who provides the services. As was said many times, the daemons - with few irrelevant changes to the source code to remove hardcoded systemd depedency - run fine without systemd.

Certainly fits the systemd reputation for taking over already-solved problems without any reason, though.

Yes.

Pottering also enjoys the confusion he has seeded with the organization of the systemd. He claims simultaneously (depending on the context; and to his advantage) that systemd is modular and monolithic. While in fact systemd has monolithic architecture and modular design. Pretty much the worst combination possible - prominently featured in the MSWindows, why comparison with Windows is highly relevant. (Ideally you want modular architecture, while design could be either monolithic (e.g. Linux kernel, optimized for performance) or modular (e.g. GIMP with the tons of the plug-ins, geared toward extensibility). But monolithic architecture is pretty much the worst thing you could ever do to a software project.)

Comment Re:Er? (Score 1) 314

The three services are actually needed.

For what? If you say "to bring more windowsisms to linux" then I can believe it. Otherwise, not so much.

For applications. To handle properly when user changes the system settings.

These daemons are primitive at best. There were more comments written about them then there is source code lines in them.

Note, I'm in no favor of systemd itself. Debian in the past exemplified that you can actually use GNOME on a system without systemd, with only slightly patched up systemd-*d daemons. Which makes a lot of sense to me. But their maintainer is Poeterring, and he merged that all into the systemd, and there is no replacement for the daemons, so...

The usefulness of logind can be argued, but centralized management of date/time and locale changes were long overdue. Linux is pretty much the only OS remaining, where application, if needed, can't really know if/when date/time or locale has changed.

Unix (not so much linux) has for a really long time been a multi-user system, where multiple users can use different locales and different time zones.

Nobody dismisses the multi-user-ness of the *NIX. In fact, the services should improve that by allowing a user to easily change his own locale/time zone without the need for log-out/log-in cycle.

The blank the services are filling is allowing application to perform application-specific tasks *when* user changes the locale or time zone. Editing a text config, and then restarting everything is, sorry, but horribly outdated. (We can update kernel on the fly - but not locale!? WTF?)

Comment Re:Er? (Score 5, Informative) 314

The three services are actually needed.

The systemd-localed is simple: it provides the user with capability to change the locale on the fly (and applications with the ability to react on the locale change).

The systemd-timedated does almost the same for the date and time.

And the systemd-logind is basically a dbus wrapper to provide access to log-out/shutdown/etc functions.

The usefulness of logind can be argued, but centralized management of date/time and locale changes were long overdue. Linux is pretty much the only OS remaining, where application, if needed, can't really know if/when date/time or locale has changed.

In no way the services itself depend on the systemd - they are simply part of the systemd package. Nothing more.

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:So .. it's a college? (Score 2) 62

[...] comes from the tried and true cycle of hypothesis --> test --> evaluate.

Ah. The science. The scientific process. But science is precisely the example of the branch with closed environment, discrimination and elitism, which abhors and rejects any innovation or change. Unless it comes from a prof with a fat grant, of course.

That's why, for example, computer science, effectively branched off and doesn't use the scientific process. Likewise, most of the industries: the scientific process is way too expensive and way too wasteful when applied to tangible things. Some areas do it because all low hanging fruits are already gone and there is simply no alternative. But again, due to the costs, it is applied in a very very limited fashion.

In the end, in this particular context, it is OK to ignore science because your definition of innovation is simply different. Heck, you measure "innovation" in number of published papers.

Comment Re:So .. it's a college? (Score 2) 62

That's an appealing idea, but I don't think it's true. I've read before that innovation generally comes from the experts in a field and the "happy accident" type of innovation from naive newcomers is more myth than reality.

Not in my experience, though.

But of course professional pride kicks in even before the first round of applause fades, and after that it is "of course it was very very hard work!!!"

Then again, I probably define innovation very differently than someone focused on an incubator village and start-ups. I'm thinking more along the lines of Bell Labs [...]

That's precisely the type of innovation I was talking about. (Facebook thingies happen by throwing stuff against the wall and seeing what sticks. When lots of people do it simultaneously, there is a chance that some of it sticks.)

The thing about big R&D centers is that nobody really sees what's going on behind the closed doors. Behind the closed doors in the most "productive" labs you would find chaos and disorder - precisely the environment where errors and accidents occur. But it certainly takes dedication (to field or problem) to actually make out of that a "Eureka!" moment.

Otherwise, if innovation was that easy to achieve by simply good planning, then it would have been done a long time ago.

Comment Re:So .. it's a college? (Score 4, Insightful) 62

Except that you would rarely see new people.

More innovation happens by accidents, mistakes and misunderstandings. Or the ever silly questions of the newcomers.

Without inflow of new people, the "village" would suffer mental rot pretty quickly.

In a sense, a maker fairs are already better "startup villages", IMO.

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.

Slashdot Top Deals

We gave you an atomic bomb, what do you want, mermaids? -- I. I. Rabi to the Atomic Energy Commission

Working...