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

 



Forgot your password?
typodupeerror
×

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?

Comment Re:if not collecting the data (Score 2) 75

Is it a standard us thing, that a merchant get access to any card data when the customer pays with a credit card in a physical shop?

Here in Denmark, a normal merchant newer has access to your card data even if you pay with a credit card.

The data is sent directly from the credit card terminal(The hardware which read the card and card code) to dibs/nets(The payment gateway for credit cards) which then reserve the money and sends a message back to the terminal about the status of the transaction. This transaction status is then send to the merchants cash register to together with the last 4 digits of the credit card number.

Slashdot Top Deals

UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Working...