Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Oracle Promises Patches Next Week For 36 Exploits In Latest Java

darkHanzz Re:Why doubt something better would exist? (154 comments)

WHERE did you get the idea that C++ is more immune to memory leaks or buffer overflows than C? C++ adds to the basic C memory management services and memory organization, but it still retains the original C ones. And adds an additional way to leak memory - undisposed objects.

Probably from experience: Consistent use of stl memory classes (shared_ptr and unique_ptr) and containers (mostly std::vector) make it very hard to shoot yourself in the foot. Adhere to "Raw pointers don't transfer livetime from function to function" if you use raw pointers. These things are really easily spotted by code-review.

about a year ago

KDE Releases Frameworks 5 Tech Preview

darkHanzz Re:Backwardness of KDE continues (51 comments)

and then provide native code layer to provide an interface for computational demanding stuff.

Well, they are moving in that direction with QML. For many apps, a native UI makes perfect sense. Not only if the UI is very demanding, but also when the UI is very simple: staying in one programming language keeps things simple.

about a year ago

Ford Rolls the Dice With Breakthrough F-150 Aluminum Pickup Truck

darkHanzz Weight-saving (521 comments)

One could consider buying a smaller car, and only renting when you need to haul something. For most pick-up truck owners, that gives a cheaper, more comfortable ride.

about a year ago

Asm.js Gets Faster

darkHanzz Re:"So who needs native code now?" (289 comments)

Indeed he didn't. The whole thread was about native vs. non-native code, where C is just an example of native code.

C++ is another example, closely related to C, with all the relevant properties. for example, you don't pay (performance) for abstractions/features you don't use. (exceptions, garbage collection, virtual function calls/inheritance)

about a year ago

Enlightenment DR 0.18: Improved Compositing, Wayland Support

darkHanzz Re:lol (62 comments)

Does it really segfault that often, that that's part of the 'experience'. That's quite bad. Last time I tried enlightenment (486dx, with 24MB ram), at least it was fairly stable.

about a year ago

France Moves To Protect Independent Booksellers From Amazon

darkHanzz Re:I see plenty of people reading (264 comments)

The way most pocket books are printed is at least as wastefull as an E-book. Those pocketbooks will only last a few decades at best, given the cheap paper they're made of.

about a year ago

Google: Our Robot Cars Are Better Drivers Than You

darkHanzz Re:At what speed? (722 comments)

Wouldn't that be cheating?

about a year ago

Back To 'The Future of Programming'

darkHanzz Re:The mess at the bottom (214 comments)

The best bet might be if China decides they need to be fully independant from the 'Capitalist West' and design their own architecture

I'm not so sure if you have ever seen the Chinese way of designing; fiddle with it until it seems to work. Search for Huawei's security problems and you'll get the drift. Hardware design is really not done better.

about a year ago

Using Java In Low Latency Environments

darkHanzz Re:Huh? (371 comments)

Use RAII consistently, and use containers (from stl or otherwise) which have asserts() on bounds-checking. Bonus points for a tiny unit-test (which can therefore run at the end of every compilation). You'll be amazed at how stable, maintainable, easy to debug and performant your code will be.
Do the hardcore pointer handling only where the profiler tells you that it matters and there's no way java even gets close in performance

about a year ago

Google Pressure Cookers and Backpacks: Get a Visit From the Feds

darkHanzz Re:Well if you've nothing to hide... (923 comments)

Mmm, makes sense, but I'm just wondering whether the gun-powder was really needed for the revenge-scene. Wouldn't the pressure cooker by itself have been enough ?

about a year ago

New Alternatives To Silicon May Increase Chip Speeds By Orders of Magnitude.

darkHanzz Re:I thought latency was the main issue? (139 comments)

since having your signal only travel 0.1 mm per clock pulse makes it rather hard to get the data around...

There's still plenty of fixed-function hardware around (wlan chipsets, even though they're somewhat programmable) for which this might not be a major issue.

about a year ago

BitTorrent Sync Beta Released

darkHanzz Is there an open-source alternative? (69 comments)

So it's basically a distributed, but private dropbox thingie, sounds nice.
Is there any open-source that does a similar thing ? (as in: works on linux and android, and is fairly lightweight)
Owncloud is the closest I could find, but it requires a central server, I think.

about a year and a half ago

Monsanto Executive Wins World Food Prize

darkHanzz Re:Ruin the US wheat crop, get a prize! (271 comments)

... yet somehow, when genetic engineering is involved, the same basic facts of population genetics are suddenly terrible and proof that the technique itself is bad

A noticeable difference is that by cross-breeding the changes are slow (minor per generation), whereas by GM they can be huge (glowing mice). When some scientist has a bad morning, and releases his latest frankenstein into the wild, we could be majorly **-ed. So natural selection acts as a fail-safe against one mistake.

about a year and a half ago

Sony's PS4 To Have Less Stringent DRM Than Microsoft's Xbox One

darkHanzz Re:It is all software, really (509 comments)

Possibly true, but as long as it doesn't need a network connection *ever*, I'll try to live with that.

Otherwise it, and a steaming pile of shit will be shipped to Sony.

The PS3 had full ps2 emulation and linux, they stripped that out on subsequent versions. Even now, the latest games don't play without the latest OS updates. So expect a very small set of working games if you aren't prepared to update.

about a year and a half ago


darkHanzz hasn't submitted any stories.




darkHanzz darkHanzz writes  |  more than 2 years ago


I have a journal. Now if only I also had a live, I could post something interesting here!

Slashdot Login

Need an Account?

Forgot your password?