Catch up on stories from the past week (and beyond) at the Slashdot story archive


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

Comment Not enough space? (Score 1) 90

"Two kids in their dorm room cannot do anything interesting in space."


The Wright brothers didn't create the aircraft in their dorm room - they needed a garage and wide areas in order to do their stuff. Plus they needed wealth, which two kids in their dorm room are much less likely to have nowadays. They need space to construct that sort of stuff, much more than what's needed to build a hot-rod or small aircraft.

As for something interesting in space, the only things left is to colonize another planet (or moon), extract resources from the other planet, FTL jump to another system, etc. Two kids in the dorm room can't build the Lunar Cheese Extraction Facility, nor can they do hyperspace stuff.

The two kids in the dorm room that are capable of designing improved rockets or space vehicles wouldn't be in the dorm room because they would have been hired by any company wanting to do the same type of work.

Comment Re:Cut full time down to 30-32 hours to start! (Score 1) 917

If I "give" everyone $1k/month, then quickly a lunch at McDs approaches $75.

McDs is already approaching that amount without help from giving everyone $1k/month - it's price doubled since 12 years ago, and at that rate will hit that mark in 48 years (sooner if you include more than just the Big Mac.)

Also, if McDs does charge $75 per whatever, then that's a good enough reason for reclaim said money by McDonald's suppliers (i.e. those who provide McDs with beef, vegetables, transportation fuel, and other expenses), McDonald's shareholders (who own parts of the company), McDonald's workers (who actually make the profit), or governments (who are upset that McDs are trying to grab everyone's basic income).

Or even better, undercut McDs. Practically anyone can make a small garden even if inside their own house, and introduce free food into the market even if it isn't sold.

Comment Re:Don't forget all that legacy code. (Score 1) 531

Two destructors is slow compared to zero constructors.

If you don't have destructors to call, you can erase an entire array of elements in one fast function call. If your data structure needs a destructor, then it is called for each individual element.

Also related are constructors - if you can get by with zero constructors as opposed to one, you don't have to worry about time spent initializing the entire set of elements (as long as you remember not to use uninitialized variables.)

Comment Re:Don't forget all that legacy code. (Score 1) 531

With shared_ptr, the performance hit is with the reference count updating, so you should still pass a shared_ptr as a reference when possible.

In my case, it had a significant cost beyond the reference count, because it got included in a data structure. shared_ptr has a destructor, which forces any struct or class containing it to likewise have a destructor. What would originally be a simple bulk deallocation now requires calling ~2 destructors per entry (one from the main object, one from shared_ptr).

shared_ptr also requires a thread-safe reference count, which is a slowdown in itself.

I'm certain you can avoid most of the slowdown with shared_ptr if you already know what can happen, but there's still a developer who uses it without knowing what will happen ahead of time.

Comment Re:Don't forget all that legacy code. (Score 1) 531

An interface to existing C code

There really should be some form of universal interface that everyone agrees on, rather than trying to create an interface for each individual language. Maybe it could be called an API, and it could accept parameters in an agreed-upon fashion. Perhaps that would solve the interface problem once and for all.

An improved edition of C/C++ that provides safe pointer features

I tried using some of the "safe pointer" stuff - depending on which one is chosen, there is a performance hit depending on which safety mechanism you choose. For example, the auto-deallocate safety net slows things down a lot, while bounds checking tends to be less of a problem.

Still a good feature (where some compilers already have a limited implementation), although it could use a bit of work since you somehow need a custom library.

2. DEPRECATES pointer arithmetic and other language malfeatures with obtrusive compile warnings and such.

In some cases, the programmer requires speed. If said programmer knows what they're doing, there's no reason they should be separated from optimal flow.

Comment Re:what a waste of article (Score 1) 531

How many rock solid kernels

Pretty sure MS-DOS 5.0 was rock-solid enough. It only faltered because things running under it had bugs that overwrote random bits - the kernel itself would be stable.


A non-rock solid game would practically crash frequently. Especially in the early era where patches are unheard-of - if the game is faulty, it's dead.

Most Apogee platformers seemed rather stable. It only took them until RotT before they had a major crash that would lock up a computer.

Comment Re:I like the idea of a basic income... but (Score 1) 630

If you give everyone $600 extra I would bet that things like rental costs, utilities, etc. would just expand to take the extra money.

The extra money would then be collected into the company providing those services. If it just sits there, then it can get taxed at a higher rate (cause the government can play that game too.) If it is instead paid out to workers, that increases the worker's wages perhaps even more than normally obtained through UBI. If it is instead used to hire new workers, then that fixes unemployment. Stockholders of some companies may also demand dividends from the company's surplus funds that just sit there.

Also, in a free market, there's some companies that might not increase prices, and instead get additional profit from volume rather than scalping.

Speaking of price inflation, why doesn't Alaska suffer from massive price increases due to the Alaska Permanent Fund? Also, why don't prices likewise increase because of existing welfare programs?


Governments already have systems in place to handle monopolies by now, especially if it's on an important resource. If not, then maybe the government should take control of said monopoly just to reap the benefits.

Comment Re:This is what happens (Score 1) 156

do you not remember the scrolling ticker tape status bars on the pages of the late 90s and early 00s?

That's dwarfed by other nasty Javascript effects, such as inhibiting right-clicks, move/shake the browser window, make popups, modal alert() loops that require restarting the browser, etc.

In any case, Firefox finally added a checkbox somewhere in 1.x to prevent Javascript from doing the most common annoyances. A little on the late side, but at least it can get stopped.

Comment Re:Why are unauthorized popups still a thing? (Score 3, Funny) 89

Why are unauthorized popups still a thing?

The latest ones I encountered no longer do popups, but instead use Javascript to redirect the page to some third party website (or even a data:// url.)

Not technically popups, but still something just as trivial.

Seriously? Why is this allowed in modern web browsers?

Perhaps some Netscape 2.0-4.x developer thought it was a good idea to automatically execute anything on an HTML page - despite the well known examples of viruses that try infecting every Dos program, or every boot sector.

Submission + - Princeton Researchers Announce Open Source 25-core Chip ( 1

An anonymous reader writes: Researchers at Princeton announced at Hot Chips this week their 25-core Piton Processor ( The processor was designed specifically to increase data center efficiency with novel architecture features enabling over 8,000 of these processors to be connected together to build a system with over 200,000 cores. Fabricated on IBM’s 32nm process and with over 460 Million transistors, Piton is one of the largest and most complex academic processors every built. The Princeton team has opened their design up and released all of the chip source code, tests, and infrastructure as open source in the OpenPiton ( project enabling others to build scalable manycore processors with potentially thousands of cores.

Comment Re:ALT+LEFT (Score 1) 141

There's already an accessibility feature known as StickyKeys. Activated by pressing left shift five times, especially during video games. When active, you can press alt once, then press the left arrow.

If a user finds pressing backspace more convenient, then said user should be able to enter preferences and define the hotkey manually - something that should have been a core feature of browsers by now.

Comment Re:Very Basic Income (Score 1) 618

We already have enough illegals and freeloaders as it is. Paying half the country to do nothing will only make more of them.

Illegals in the country can trivially be disqualified from it, and it can be as simple as linking the UBI to the tax system. Since illegals probably won't file tax reports anyway, they won't get UBI. If they do file tax returns, then that creates a paper trail that allows them to be tracked down and returned to the home country.

Freeloaders... well, you can make some of them non-freeloaders if you have jobs available for them.

Comment Re:Very Basic Income (Score 4, Informative) 618

Ok, show one historical example of a technology that lead to a permanent destruction of jobs.

Automatic elevators, which permanently destroyed the job where a person is inside the elevator and pushing a lever to make it go up or down.

No replacement job here, since any new repair work necessary for an elevator would now be rolled into the existing elevator technician job.

Comment Re:alright... so have we learned yet? (Score 1) 172

Flash, Javascript, ActiveX... have we learned now?

Boot sector viruses... it's a very old lesson that BIOS manufacturers plugged by the F8 key (allows booting from floppy on request rather than automatically).

For the very few valid use cases, it can be whitelisted.

Or simply set as (right-)click to start them. This has the advantage of not requiring a whitelist, while stopping all drive-by attacks. Most attacks are from third-party advertisers rather than being uploaded to Newgrounds/Kongregate.

Slashdot Top Deals

Polymer physicists are into chains.