Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Reminds me vaguely of Pascal with Python syntax (Score 1) 84

The example code I've seen from Nim reminds me a bit of Pascal. At least the use of the keywords proc and var. Glad they went with Python-style blocks instead of Pascal-style begin and end.

But nim does look like a nice language. The fact that it generates C code and compiles with a C compiler means that it could be integrated quite smoothly into projects using other languages.

Nim is on my list of languages to try some time if I ever need to write C-compatible code.

Comment Re:They took the worst part of Python (Score 2) 84

Interesting how personal preference plays into it. But it also sounds like you haven't spent any real time with Python. Because it doesn't take long to get past the whitespace syntax and get on with programming. For most Python programmers, the block syntax is one of the things they like the most. It's true that a bad copy and paste or accidentally deleting some spaces in the wrong place can break things badly and potentially lead to subtle bugs. But in practice, that doesn't seem to be a significant problem. The fact is you should be indenting consistently anyway, so braces and semicolons are superfluous, and ugly.

I find I can write several pages of Python code and often it runs the first time without issue, which was never the case with any of the other languages I worked with, including C++. Invariably I'd forget some closing brace somewhere and a semicolon. Compile errors on first run are almost expected with C-like languages.

Python's real gotchas emerge more from its dynamic nature than its syntax; dynamic typing is a two-edged sword. Test-driven development is pretty much required for large applications.

Nim of course is statically-typed and has some measure of compile-time safety.

Comment Microsoft's effective negative advertising (Score 5, Insightful) 120

Microsoft top managers decided to try to force everyone who isn't technically knowledgeable to move to the Windows 10 operating system so that Microsoft could offer "Apps", like the Android and Apple cell phone systems.

Microsoft ignored the fact that trying to sell "Apps" when people have work to do on their computers is not appropriate.

Windows 10 tries to force Microsoft's control, imitating the cell phone companies that, more and more, take control away from the customer and user.

That acted as extremely effective negative advertising. Almost every technically knowledgeable person is now aware of what they consider extreme abuse.

In my opinion, the negative advertising damages Microsoft and indicates that Microsoft top managers are not competent.

Submission + - What issues do you have with Slashdot functionality? 3

hackwrench writes: We know about Slashdot's Unicode, nonspecific issues with features around what was Slashdot beta, Slashdot launching you some arbitrary distance down the page, the mobile site missing features and hiding posts without the option to turn it off and apparently I and others have been banned from moderating. What features do you find problematic with the Slashdot interface and what would you like to have added?

Submission + - GMail app update blocking non-GMail servers

ukoda writes: Given the GMail Android app is bundled with most Android phone and has offered support for email accounts with other service providers it has become a popular email client. However sometime in November last year Google updated their app to silently reject self-signed certificates. For users of servers with self-signed certificates their email stopped coming in. Refreshing the inbox appears to go normally with no problems reported. From this support thread it is apparent that server connections are being rejected with the warning "Certificate Not Valid" even when the "All Certificates" option is chosen. The explanation from Google is they are improving security but for some users that had a working secure connection they now have to either stay with GMail, and turn off encryption, or move to a new app such as K9 or BlueMail. The lack of meaningful responses from Google leave little hope of things improving anytime soon.

Comment Re:One Repository (Score 1) 25

One repository isn't necessary, but one interface would be tremendously useful. If I want to watch a show, I don't care if it is being offered by Netflix, Hulu, YouTube, BBC, Amazon, etc. I just know the name of the show and want to watch it. If I subscribe to the service, it should be trivial for me to key in the name of the show and have it play, no matter which service it came from.

Submission + - AM Radio transmission of music from an unmodified laptop (github.com)

anfractuosus writes: I developed a simple program to enable the transmission of music from a .wav file
as RF AM emissions from an unmodified laptop, by making use of RF leakage from the computer, by
twiddling with data on the system bus. I made use of Pulse Density Modulation to emit the .wav file.

You can see the code at https://github.com/anfractuosi...

And a video of the audio received by a radio at https://www.youtube.com/watch?...

This is based on the awesome work at https://github.com/fulldecent/...

Comment Re:Need more info - (Score 2) 150

Of course the entire point of Windows 10 was to make them able to generate income from something other than OS installs. Why else would it automatically replace your Windows 7 with itself?

One more demonstration that I appear to have done the right thing by installing 7 on my shiny new HP laptop four months ago.

Slashdot Top Deals

"Truth never comes into the world but like a bastard, to the ignominy of him that brought her birth." -- Milton