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

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 7 months ago
top

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 7 months ago
top

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 8 months ago
top

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 8 months ago
top

Asm.js Gets Faster

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

In C++ it'd come down to a lambda function and std::swap, I don't see how that's less 'elegant'.

about 8 months ago
top

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 7 months ago
top

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 10 months ago
top

Google: Our Robot Cars Are Better Drivers Than You

darkHanzz Re:At what speed? (722 comments)

Wouldn't that be cheating?

about 10 months ago
top

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.

1 year,11 days
top

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

1 year,19 days
top

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 ?

1 year,20 days
top

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.

1 year,23 days
top

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 ago
top

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 ago
top

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 ago

Submissions

darkHanzz hasn't submitted any stories.

Journals

top

First!

darkHanzz darkHanzz writes  |  more than 2 years ago

Whoohoo!

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?

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>