Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Today's computer science corriculum is practica (Score 2) 154

A cs major might not be able to "calculate a range of IPs given a single IP and a netmask" on the spot, but if a cs major can't google what a netmask is, and then write a program which gives you the min and max ip for the range included in the same network as the given ip/netmask he is useless as a software developer.

It can be done in under 10 lines of code, and should not even take an hour to do. It is basic bit operations and a cs major should know how a number is represented on a modern cpu.

Comment Re:Paywall (Score 1) 154

You might not need multivariate calculus, but I find the method used for proving things, are very useful when analysing software behaviour.

But you absolutely need "OS design" because you need to know about things as processes and threads. Virtual and physical memory, semaphores and so on.

And while I don't think I will ever have to write a compiler myself, the compiler writing course is still the best way to learn to work on recursive datas tructures which is useful, and in fact the thing I do for a living right now.

Comment Re:They're bums, why keep them around (Score 1) 743

"The funny thing is that Greece already has its budget balanced better than most other countries. What is crushing it is the debt burden, not the income vs. expenses equation."

Do you have any source for this? All the sources I could find say that Greece still spend more money then they get in taxes, excluding depth payments and loan. But some of them said that Greece has a a budget which might chance this in the future.

And something funny: The amount of Euro they have gotten in loan the last 12 months, is larger then the amount of money they have paid in interests and loan payments in the last 12 months. So the net flow of Euros into Greece is positive, and so they should have no problem paying their depth with a balanced budget.

Comment Re:Verbosity is easy? (Score 2) 414

Why would you expect toString() to work on a InputStream?

There is no general safe way to create a String from an InputStream, because mapping from a byte stream(Which is what a InputStream is) to a string is not 1:1.

That is: The same string can be encoded as different bytes, depending on the encoding such as UTF-8, UTF-16 iso-8859-1).

The funny thing is that Sun did not think about this when they first created Java, so there are a bunch of deprecated methods which create strings from bytes, trying to guess the encoding or reading in from the systems default locale.

Comment Re:Just keep it away from Gentoo and I'm good (Score 1) 551

Can you mention any single project which only does one thing?

Let me look at some examples:

Bash:
Both an interactive user interface, and a scripting environment. And while the different programs running in bash often do communicate together, they do this using undocumented apis in the form of text output which is the worst way of module communication.

It also confuses matters because the user-readable output from running a command in an interactive bash shell is part of that apps api. Just think about all the problems this causes for api updates, and translation of output to other languages.

Apache:
Is composed of a server, and lot's of modules, but none of the modules can be used outside of Apache. This looks to me like what systemd does, but nobody ever complained about this.

gcc:
    Don't even get me started. Its a compiler collection of parts which depend on each other.

The linux kernel:
Refuses to maintain a stable api, so unless your module is part of the kernel itself, it will break at every linux release. Not modular at all.

Gimp:
None of the tools/effects which gimp uses are independent modules.

Conclusion:
There were never a modern desktop/server linux distribution using what is refered as the "unix way"

Comment Re:Just keep it away from Gentoo and I'm good (Score 1) 551

Quote
"If, for example you want to run the systemd project's time server, you must run systemd and so journald and dbus"

Really? Could I not just write my own daemon instead of systemd and thus avoid this dependency? The systemd api seems to be stable so it should be possible.

As I see it, the systemd project's time server need functions which are currently only implemented by systemd, but is there any reason an other project could not implement the methods needed by the systemd projects' time server?

Slashdot Top Deals

egrep -n '^[a-z].*\(' $ | sort -t':' +2.0

Working...