Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment: Re:or sqlite (Score 4, Informative) 241

The default configs for postgres are set for a fairly small memory usage profile (*), which is fine if that's what you need (e.g. tiny vm or something that makes it a huge production to raise things like max shm size), but if you have sufficient ram, you can crank a hell of a lot more performance out of the engine by making the configs less conservative. This page is a good start: http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server

Not that it's a priori *wrong* to run with the defaults, it'll still work just fine, but once you start having significant traffic or complicated queries you'll be happier if it more fully uses the system resources available.

(*) It's been a good while since I last had to take a pg instance from stock and tune it, but I very vaguely recall the default settings were on the order of a eight megabytes of ram usage.

+ - Linode hacked, CCs and passwords leaked 6

Submitted by Anonymous Coward
An anonymous reader writes "On Friday Linode announced a precautionary password reset due to an attack despite claiming that they were not compromised. The attacker has claimed otherwise, claiming to have obtained card numbers and password hashes. Password hashes, source code fragments and directory listings have been released as proof. Linode has yet to comment on or deny these claims."

Comment: Re:Well this sounds totally scalable (Score 1) 62

by StandardDeviant (#43442415) Attached to: Building a Better Tech School

(assuming it really is a great school, which I have serious doubts)

For what it's worth, Cornell is currently ranked something like fifth in the US(*) in terms of their computer science department, and the Technion is hardly a degree mill either. I don't know what their hybrid programs are going to be like, but at least the source departments seem solid. Admittedly, rankings are largely bullshit and the student guarantees far more of outcome than the institution, but I don't think it's a stretch to say that the "Stanford/MIT/CMU/UCB/Cornell" group is good-to-great.

(*) source: http://grad-schools.usnews.rankingsandreviews.com/best-graduate-schools/top-science-schools/computer-science-rankings

Comment: Re:While I like the idea (Score 4, Informative) 180

by StandardDeviant (#41675917) Attached to: Uber Gives Up On New York Taxi Service

Hahahaha. Have you ever visited NYC, let alone lived there? Getting a cab can be a pain in the ass even in mid-town. "Oh, look the 500th fuckin cab that's full or off duty! Might as well stand here with my arm in the air for another twenty minutes like a fucking tourist!"

The MTA may get you where you want to go, but might take two hours to do it. JFK to BX w/out MNR, anyone?

Seriously tell me hailing a cab is easy after you've tried to do it while standing in the snow an hour after bars close and you don't want to take three more God-forsaken hours to get home to an outer borough shithole apartment that costs $waytoofuckinmuch... Not that I'm bitter. :)

Comment: github and bitbucket have issue trackers (Score 2) 221

For what it's worth, there are issue trackers offered alongside even the free levels of both github and bitbucket.org (which lets you use both git and hg). Bitbucket's free tier even lets you have a private repo if your source needs to be private (issue tracking and wiki instantiation are configurable via admin there, and should be offered as part of project repo creation). This way you get source control for your personal work as well as an issue tracker. ;)

I vaguely recall that Sourceforge also has some sort of bug tracker as well, if you'd rather use cvs/svn. (It's been a long time since I looked in that level of detail at SF though, so ymmv.)

All of these are "cloud" (blech) solutions that don't require any server setup on your part. If you aren't familiar with source control, that's kind of another matter, but there are quality GUI clients for OSX for most of the common protocols and cvs, svn, git, and hg all have reasonably good documentation publicly available in various forms.

Comment: Automatic Stop-and-start? How is that better? (Score 1) 388

by InfiniteVoid (#40533223) Attached to: Ford Predicts Self-Driving, Traffic-Reducing Cars By 2017

I just watched the video, and it seems they're talking about having a car just hit the gas and brakes for you to simulate YOU driving in stop-and-go traffic. But, uh, isn't the point to do it better than a human?

Wouldn't the software be able to calculate the average rate of speed and just putter ahead at a constant rate instead of accelerating and braking like people do in rush hour traffic?

I can't tell if the video example is bad, or if they're actually suggesting making software that drives your car as poorly as you do.

Comment: Re:Just keep in mind the tradeoff (Score 5, Informative) 556

The public drug companies are required to file financial reports with the SEC, which generally detail their budgets (at least to a sufficient level of granularity for this discussion). EDGAR is one avenue of getting at them (10-Q for example for quarterly reporting). But yeah, he's not lying, R&D expenditures are not the majority line item for most large pharmaceutical companies. If anything, Big Pharma has been on the whole aggressively cutting R&D over the past few years.

Just for one concrete example, here's Pfizer's 10-Q from late last year:
http://yahoo.brand.edgar-online.com/DisplayFiling.aspx?TabIndex=2&FilingID=8236559&companyid=5709&ppu=%252fDefault.aspx%253fcompanyid%253d5709%2526amp%253bformtypeID%253d13

Click into "Financial Statements" there. I think the given figures are in units of "millions," so they spent about $2.1Bn on R&D during the given quarter, compared to $4.6Bn for "Selling, informational and administrative expenses" (which probably includes marketing) and $3.7Bn for "Cost of sales" (not sure, might be raw materials and manufacturing?).

Programming

C++0x Finally Becomes a Standard 398

Posted by Unknown Lamer
from the c++-ain't-what-it-used-to-be dept.
Samfer writes "On Friday August 12th 2011, the results for the final ISO ballot on C++0x came in, and the ISO C++ Standards Committee were unanimous in favor of approving the new C++0x (for now unofficially known as C++11) object-oriented programming language standard which is intended to replace the existing C++ standard. The new standard is to offer new and improved features such as lambda functions, concurrent programming functionality, direct data field initialization, and an improved standard library to name but a few." Although I haven't heavily used C++ in years, it is nice to see a decade long effort finally come to fruition. Especially nice is the support for type inference which should save quite a few people from RSI and make refactoring code a bit less obnoxious.

The absent ones are always at fault.

Working...