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!



Paris Bans Half of All Cars On the Road

GiganticLyingMouth Already Over (405 comments)

Those with odd-numbered plates lucked out; apparently they've already discontinued the practice, after having issued roughly 4000 tickets.

One especially pertinent quote from the linked article: ""I know it's not great to say it but I'm willing to take my car and pay the fine to get my kids to school, because I don't have the choice," one woman told the TV network."

about a month ago

Alleging 'Malpractice' With Climate Skeptic Papers, Publisher Kills Journal

GiganticLyingMouth Re:Oh my God... (314 comments)

And what about the nepotism in the peer review process? Was that somehow by accident as well?

about 3 months ago

Intel Dev: GTK's Biggest Problem, and What Qt Does Better

GiganticLyingMouth Re:GTK+ is a C library (282 comments)

Actually, the C++ community will call you an idiot because most of your complaints are simply a result of your misunderstandings.

There is no encapsulation either at compile time (you need to recompile your code if you touch any code where the private members change) or run time (feel free to modify those so-called private members, though; all you need is their memory location).

Your gripe about runtime encapsulation is idiotic; you would really have to go out of your way to get the memory address of a private variable (you would have to guess its location, which would be compiler-specific due to compiler-generated members like the vtable or alignment padding), or by requiring the class itself return a reference or pointer to the variable. C++ assumes you're competent and isn't going to stop you in pathological cases.

Exceptions leak memory unless you wrap everything in a "smart pointer" ...

Using RAII is standard, idiomatic C++. You can use smart pointers for dynamic memory or allocate your variables on the stack. That way, (as long as your destructor is correct), you won't leak memory, even in the face of exceptions. Pretty easy, right? As an added bonus, its performant and deterministic. What's not to like? auto_ptr is gone, and for "that decade" it was standard to roll your own smart pointers or use boost. Now you have unique_ptr and shared_ptr as your primary standard library smart pointers.

There's finally garbage collection in the standard library through std::shared_ptr but it's just reference counting, so just forget about, e.g. lock-free multithreaded data structures..

I guess you'd be pretty amazed to hear that there are portable, lock-free data structures written in C++ then! In fact, boost already has a few. Also, if you really want reflection, Qt has support for it (via MOC, though you'll have to jump through some hoops with QObject).

about 3 months ago

GCC 4.9 Coming With Big New Features

GiganticLyingMouth Re:Finish C++11 support first? (181 comments)

It would be nice to have regex support, but I wouldn't want them to halt their entire development pipeline to implement it. If they had to finish implementing the previous standard before starting on the next one, we would still be on C++03 on account of exported templates.

about 5 months ago

Crossing the Divide From Software Dev To Hardware Dev

GiganticLyingMouth Re:Run! (105 comments)

... software follows no laws.

Tell that to my compiler. I'd say if anything software is very structured; you have a limited pool of recognized syntax that can be combined in specific ways. If you're using a library, you have to adhere to its API. Ultimately your code will be running on some processor, which has a limited set of instructions it can perform. Software has no laws? Hardly.

For your own sanity, stay away.

Sounds like it might already be too late for you...

about 6 months ago

Ask Slashdot: Best Language To Learn For Scientific Computing?

GiganticLyingMouth Re:C. Obviously. (465 comments)

It should also be noted that as of C++11 threading is part of the C++ standard library (so you usually won't have to use pthreads or any other platform-specific threads directly).

about 6 months ago

Ask Slashdot: Best Language To Learn For Scientific Computing?

GiganticLyingMouth Re:Fortran (plus MPI and some CUDA) (465 comments)

Last I checked (a few years ago) CUDA had better tools and more features than OpenCL. Has this changed much since then? OpenCL didn't even support templates back then...

about 6 months ago

Ask Slashdot: Best Language To Learn For Scientific Computing?

GiganticLyingMouth Re:Fortran (plus MPI and some CUDA) (465 comments)

For completeness, it should also be noted that both C and C++ work with MPI and CUDA. Fortran can theoretically be faster than C or C++ as its compiler can optimize more aggressively (due to the lack of pointer aliasing in Fortran), but I don't have any hard data for how much of a difference it would make in actual runtime speeds.

about 6 months ago

Anti-Chemical Weapon Group Awarded Nobel Peace Prize

GiganticLyingMouth Re:A group whose peace accomplishments... (61 comments)

...are on par with Barack Obama, which is to say non-existent.

But at least they're better than Yasser Arafat or Le Duc Tho.

... but still better than say, Henry Kissinger?

about 6 months ago

Extreme Complexity of Scientific Data Driving New Math Techniques

GiganticLyingMouth Re:pictures please? (107 comments)

To me, there seems to be plenty if information on recorded video, as it contains previous as well as future frames that should contain sufficient information to provide considerable clarification of a present image frame. Anyone have info on anyone doing this?

This is used already in multi-frame superresolution. TFS seems to be talking about compressive sensing, which is a completely different beast. Compressive sensing is based on assuming sparseness to solve an underdetermined system of linear equations. It doesn't always work (as it's not always a valid assumption), but when it does you can get very impressive results. That is to say, if you have some underdetermined system of equations, it'll have infinite possible solutions. This obviously doesn't lend itself well to getting a good answer from it, but by imposing the condition of sparseness, you can arrive at a (very close to correct) solution.

about 6 months ago

Largest US Power Storing Solar Array Goes Live

GiganticLyingMouth Re:Confused (377 comments)

What does that have to do with a solar plant? Are you implying that Spain is on the verge of bankruptcy on account of this solar plant? Your comment is tangential at best and nonsensical at worst.

about 6 months ago

Fusion Reactor Breaks Even

GiganticLyingMouth Re:Here's the real story (429 comments)

Actually that quote is taken out of context. FTFA: "In 2009, NIF officials announced an aim to demonstrate nuclear fusion producing net energy by 30 September 2012. But unexpected technical problems ensured the deadline came and went; the fusion output was less than had originally been predicted by mathematical models. Soon after, the $3.5bn facility shifted focus, cutting the amount of time spent on fusion versus nuclear weapons research - which was part of the lab's original mission." It's stating that their original goal was to break even using fusion in 2012, didn't reach that goal, and shifted focus to weapons. That was a year ago, in 2012, before their recent breakthrough. I doubt they'll be shifting their focus away from fusion again anytime soon

about 6 months ago

Massive New CT Scanner Assesses Car Crash Data

GiganticLyingMouth NDT for Cars (52 comments)

CT Non-Destructive Testing (NDT) has been done on airplanes for many years. Is this special or different in any way? Is the primary innovation just that it's being applied to cars now? The description in the summary makes it sound pretty mundane; "... hoisted onto a turntable, and as it turns, two X-ray detectors on either side scan it. Then multiple images are merged into a single, three-dimensional CT scan". This is pretty much the protocol for any industrial CT imaging.

about 6 months ago

Slashdot Asks: How Does the US Gov't Budget Crunch Affect You?

GiganticLyingMouth Re:Speaking as a non-American... (1144 comments)

That would be the case in the absence of gerrymandering. As it stands, the only threat they have is from within their own party during the nomination phase.

about 6 months ago

Owner of Battery Fire Tesla Vehicle: Car 'Performed Very Well, Will Buy Again'

GiganticLyingMouth Re:Of course he doesn't think anything is wrong (232 comments)

TFS states he's an investor, not an executive. Where did you get that idea? The quote "...performed very well under such an extreme test. The batteries went through a controlled burn which the Internet images really exaggerates." is from the driver, not the VP. Just the fact that a VP of the company contacted him about it would indicate that Tesla took the whole event rather seriously.

about 7 months ago

Gaming Legends Discuss Using Kickstarter For Their Next Projects

GiganticLyingMouth Re:Crowdfunding could be the future (112 comments)

There is one article stating that they made more on the digital downloads of In Rainbows than all of their previous albums' digital downloads combined. Note that this isn't total sales or other merchandise, just digital downloads. Of course, they didn't have their catalog on itunes until 2008, and when they got started in the early 90's, there wasn't much of a digital market, so the comparison isn't a particularly good one. They have also stated that they won't be doing the pay-what-you-want again in the foreseeable future.

about 7 months ago

Gaming Legends Discuss Using Kickstarter For Their Next Projects

GiganticLyingMouth Re:Crowdfunding could be the future (112 comments)

As I recall, Radiohead made much more money selling pay-what-you-want copies of "In Rainbows" than they did with all their previous albums put together.

Uhhh then you recalled incorrectly. They made more on OK Computer alone than from In Rainbows.

about 7 months ago

Google Releases Raspberry Pi Web Dev Teaching Tool

GiganticLyingMouth Re:pi (68 comments)

Keyboard, mouse, monitor, power supply, SD Card for OS, USB stick for writable partitions because the SD card support is asstastically slow, Wifi adapter, time for someone to image the SD card for it, trouble because the RaspberryPi is poorly engineered power hog that can hardly sustain its own circuits, and don't forget, you still need a case.

I recently purchased a RaspberryPi. Everything together it came out to under $100 ($42 for the pi + $25 for keyboard/mouse + $9 for SD card + $10 for WiFi USB adapter), not counting the monitor (I hook it up to my TV, as it has an HDMI port). You just need some 5V 2.1A power source; I just use an old phone charger I had. I recently moved, so I didn't have a spare keyboard or SD card. For most people, odds are they already have this stuff laying around. Also, no need for a case. The SD card imaging is very simple, they provide the documentation and requisite files. You greatly overstate the cost and difficulty of using a RaspberryPi. Do you have an axe to grind or something?

about 7 months ago


GiganticLyingMouth hasn't submitted any stories.


GiganticLyingMouth has no journal entries.

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

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>
Sign up for Slashdot Newsletters
Create a Slashdot Account