Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

5 Million Gmail Passwords Leaked, Google Says No Evidence Of Compromise

solidraven Re: OK (203 comments)

Same story, it's a joke password I've been using for the past 8 years or so for sites I don't trust or throw away accounts.

about a week ago
top

Two Explorers Descend Into An Active Volcano, and Live to Tell About It

solidraven Re:Grandparents... (66 comments)

Killing yourself while climbing into a volcano sounds less stupid than throwing a bucket of water over your head and claiming it is good for research into a diseases.

about two weeks ago
top

Two Explorers Descend Into An Active Volcano, and Live to Tell About It

solidraven Re:Grandparents... (66 comments)

Whatever floats their boat, it's still stupid.

about two weeks ago
top

Two Explorers Descend Into An Active Volcano, and Live to Tell About It

solidraven Re:Grandparents... (66 comments)

Well, its still less stupid than throwing a bucket of ice water over your head and then posting it on Facebook.

But building a drone that could work in a volcano would be pretty challenging, lets give it a go!

about two weeks ago
top

Two Explorers Descend Into An Active Volcano, and Live to Tell About It

solidraven Grandparents... (66 comments)

And I can totally imagine them coming home and their grandparents asking them "Where did you go this year?" in the most obnoxious wasy possible, like all grandparents do. Good luck explaining this one!

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

solidraven Re:Lua[0]? (729 comments)

Lua at least has a standard, can't say the same about Fortran where you just sort of decide whatever the hell you want to use at the time of writing your code. Oh, and you'll just love VHDL where you can make up array indices as you go, no questions asked.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

solidraven Re:Powershell (729 comments)

Compilers actually started reading code though :(

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

solidraven Re:Null Terminated Strings (729 comments)

I would like to add one thing: People forget that a kernel has to run on pretty much bare metal. If you're lucky you have BIOS there helping you a bit at the start, but not really. (Yay for obscure backwards compatibility tricks that the folks at Microsoft, IBM and Intel came up with.) So your standard libraries are usually quite limited, if you have them at all. And even then they're usually too slow to deal with anyway, so you end up rewriting everything in X86 assembly anyway.

about two weeks ago
top

Grand Ayatollah Says High Speed Internet Is "Against Moral Standards"

solidraven Re:If the Grand Ayatollah's against it.... (542 comments)

Discrimination! A virus is also software, how dare you be so racist towards them!

-- PETCOM (People for the Ethical Treatment of COmputer Malware - All organisations need a crappy acronym name!)

about two weeks ago
top

Ask Slashdot: Where Can I Find Good Replacement Batteries?

solidraven Re:EOL (131 comments)

They still have them in stock. I managed to find a new battery for a 10+ year old IBM Thinkpad for a very reasonable price, so you're not looking hard enough.
(And that's what you deserve for using a flawed product.Ten inch screens are post stamp size, useless for practical computing or even note taking.)

about three weeks ago
top

Ask Slashdot: Where Can I Find Good Replacement Batteries?

solidraven Original batteries... (131 comments)

Sheesh, way to make it difficult. Am I the only person who just orders a new battery on the manufacturer's website or from their Amazon page?

about a month ago
top

Comparison: Linux Text Editors

solidraven Re: Have you seen Gedit lately? (402 comments)

As time continues we have to agree more and more with Linus I guess...

about a month and a half ago
top

Satellite Images Show Russians Shelling Ukraine

solidraven Re:Great... (582 comments)

Sure, so not a single European country has satellites either?

about 2 months ago
top

Man Booted From Southwest Flight and Threatened With Arrest After Critical Tweet

solidraven Re:Customer service? (928 comments)

Yeah, he got it all wrong. You need to sell old rusty/broken aeroplane fixtures with sharp edges that otherwise get trashed. Saves you money on disposal of those, and you can make an extra buck out of the cage fight. Maybe provide a live video feed of the fight to the passengers in business class?

about 2 months ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

solidraven Re: Uh, sure.. (359 comments)

Yes, but at least you have useful easy to access documentation with VC++. So when it messes up (as all compiler tool chains invariably do) , you have something to check before you switch to mailing lists, forums, and IRC.

about 2 months ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

solidraven Re: Uh, sure.. (359 comments)

MSVC is the compiler, not the GUI (that would be MSVS?).

about 3 months ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

solidraven Re: Uh, sure.. (359 comments)

Standard library != Library that follows standards!

You should mostly be looking in the direction of windows.h when working on Windows.

about 3 months ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

solidraven Re: Uh, sure.. (359 comments)

I was expecting this one about assembly. There are a few things about this one though, the gcc one is a hassle to get working exactly right. (Configuration) The msvc one works easily and is predictable. You need the inline assembly to activate/configure the device. After that you usually switch to full asm functions to fetch and write data and c++ functions for everything else. The register blocking and overwriting issues most people mention usually results from incompetence with assembly more so than from compiler behaviour. But that's an educational flaw in the current generation of programmers. Building up an OS from the bare metal ought to be a graduation requirement. To get around it in the x64 versions you need to get a bit creative with linking though. But I'm so not getting into explaining that one. Lets say very few x64 device drivers need more than the standard x86 instruction set. Weirdly enough it still takes less time than switching to GCC, WDK and GCC really do NOT like each other. We tried it once and lost a lot of time and returned to msvc. The macros don't work, GCC also has very peculiar behaviour that you need to control with switches. (A colleague started calling it GNU Switch Roulette. ) Ideally we'd just scrape both compilers and start from scratch, but then we'd end up with windows compatible LLVM I guess. Or I should stop getting involved with these coding projects and stick with hardware.

about 3 months ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

solidraven Re: Uh, sure.. (359 comments)

A lot of opensource projects go through the extra effort of compiling with MSVC on windows. 7zip, blackbox, gtk+, SDL, and XChat come to mind right now.

about 3 months ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

solidraven Re: Uh, sure.. (359 comments)

May I be as bold as stating that you fail to consider everybody's requirements, or at least that we are looking at this from a very different perspective?

The main OS on the market at this point is Windows, both for professional and personal use. In light of this fact you can scrap GCC and LLVM from the list already, GCC creates large cumbersome executables on windows. Sure MinGW isn't bad for meddling around and some small executables. But I wouldn't want to use it to compile things where performance matters, I've tried on several occasions. I must say I find GCC's capability to deal with the Windows Platform SDK quite remarkable at this point. But the end-performance is icky at the best of times. LLVM simply does not have any real windows port that's stable and performant enough for production software.

Before I continue I should probably also mention the code I write is mostly meant for hardware interfacing (I guess you could say drivers to some degree), simulation, and data visualization. All these things require high-end performance which I simply cannot find in the GCC or LLVM ports to Windows. And before you go off making bold statements about Windows not being fit for these sort of jobs, I disagree heavily. If the program that needs the simulation code runs on windows it doesn't make sense to run it on anything else than windows for small to medium scale simulations. Interfacing to remote systems is a hassle and generates a large overhead. For the very heavy lifting using C++ is pointless, Fortran still takes the gold trophy home in that area for me.

And while to the untrained eye the machine code generated by GCC and MSVC might look very similar, MSVC simply generates better code for hardware interfacing, especially its more predictable what happens when you use in-line assembly. The windows port of GDB also fails miserably for these sort of applications, while the MSVC tool chain does a decent job. For simulation it really starts to show though, MSVC simply generates more efficient code than GCC for Windows. Do note that this requires configuring the compiler correctly, something that's trivial to do for MSVC but requires digging through documentation for GCC. Other alternatives like the compilers produced by WATCOM, Digital Mars, Mentor Graphics, and a few others simply don't cut it most of the time. They're either unable to produce code that's capable of using all the resources efficiently, or behave horribly when things like CUDA are invoked. Then there is also the entire issue of data visualization, one of the most important aspects of software development in my opinion. On Windows its either use DirectX or die trying. I agree this is mostly due to Microsoft's doing but we're stuck with it. And no matter what you do, nothing quite beats MSVC when dealing with DirectX.

This also brings me to the point of more common desktop applications, the MSVC standard library works. If you try to use it like the one produced by the GNU project you'll indeed end up in trouble. Not to mention that GTK is a horrible badly documented excuse for a UI library. Qt is better but has licensing issues all over the place. Wx is lacking features in a few important areas. If you use MSVC it knowing its strengths and weaknesses you have a great *little* tool chian at your disposal. Tie it in with the full Windows platform SDK and you have something you can quickly produce a large application with. Frankly I don't care about the C++ standards, I'm very pragmatic about these sort of things and I'm happy if things work well. If I don't have to dig under the hood too much I'm happy. I don't care about the compilation speed, incremental building works very well and my desktop is more than quick enough for 99% of the cases.

about 3 months ago

Submissions

top

Ask Slashdot: Master's Thesis Subject for EE Student

solidraven solidraven writes  |  more than 2 years ago

solidraven (1633185) writes "I'm an electronic engineering student with a big problem. Due to an unfortunate case of sickness my master's thesis subject got cancelled. The only professor familiar with the subject at hand (NMR coil design) will most likely be out for months. As a result I need to pick a new subject and I need to submit it as soon as possible. The only other options I got were simply unacceptable because they were either too boring or too easy. I simply refuse to do anything related to the IT field as many of my fellow students are doing. Additionally I must mention we lack the facilities for integrated design or multi-layer PCB manufacturing at our college. So in my hour of despair I turn to you, the Slashdot crowd for ideas and suggestions."

Journals

solidraven has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>