Forgot your password?

Comment: Re:Python is eating Perls lunch (Score 1) 380

by marcosdumay (#47873185) Attached to: Unpopular Programming Languages That Are Still Lucrative

Python have some problems with I/O being allowed only in ASCII or Unicode on some circunstances, depending on your version. It also has some problems with composing codepoints, lengths, encode translations, and other of that stuff that nobody does right.

Yet, Python has the most comprehensive support for Unicode of any language that I looked out, outside of C/C++. (Beats Perl 5 in any day. I don't know about 6.) It's just that no language has complete support (except for C/C++, that properly ignores the entire issue).

Comment: Re:Infoworld... pass (Score 1) 724

you can give a type to an arbitrary pointer, and do strongly typed enums that way?

Strongly typed... C... Those things do not belong in the same sentence.

The point is probably that there must be some behaviour, and it's better to define it. Thus, they defined. I hightly doubt it has any practical application, besides minimizing the damage in case of some kind of error.

But yeah, it's amusing.

Comment: Re:Infoworld... pass (Score 1) 724

From the GNU C manual (in the section about bit fields):

You can also specify a bit field of size 0, which indicates that subsequent bit fields not further bit fields should be packed into the unit containing the previous bit field. This is likewise not generally useful.

I guess now I have a new favorite C feature... Well, as soon as I actually understand what this means.

Also, GCC accepts empty structs, and they use no memory! I should look at the C specs more often.

Comment: IPv6 is much simpler than IPv4 (Score 1) 248

by marcosdumay (#47663723) Attached to: The IPv4 Internet Hiccups

Really, even if you are completely ignorant about it, it does not take much more than a short reading to see how simpler IPv6 is. That's why it corrects so many issues.

The problem with IPX style local names assignment is in security. Doing it in the open, wild Internet is a certain way to destroy it. The nearest option that's actualy usable is dynamic DNS, and it's quite widspread.

Comment: Re:Performance seems to have plateaued (Score 1) 391

by marcosdumay (#47607081) Attached to: How long ago did you last assemble a computer?

I just decided to upgrade my 2011 computers, so I got out to searching what improved.

Changed the heat sinks, fans, and casing. Also, changed the power supply of one of them. Nothing else was worth it.

A high resolution display is on my list, but it's still too expensive, so I'm waiting...

Comment: Re:Derp (Score 1) 168

by marcosdumay (#47486073) Attached to: New Mayhem Malware Targets Linux and UNIX-Like Servers

What about just not allowing passwords to connect from a network? Is it too simple, or what?

It's simply stupid to prohibit robots from connecting. It means you'll never be able to automate your work. It's also not viable to lock the system, as it'll turn any bot anywhere into a severe DoS attak. And trying to discern intent from behaviour is way too hard a task for a computer.

Comment: Re:Unsafe at any speed (above 100 MPH)... (Score 1) 443

by marcosdumay (#47478755) Attached to: The First Person Ever To Die In a Tesla Is a Guy Who Stole One

You can't change the referential during calculations. Not on Classical Mechanics, because referentials can not accelerate, and in general relativity things are much more complex. Thus, no, it does not take the same amount of energy to accelerate from 0 to 10mph as it does from 90 to 100mph.

Say "twenty-three-skiddoo" to logout.