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

 



Forgot your password?
typodupeerror
×

Comment Re:well, he might be right (Score 1) 643

Netbooks were killed by the simple fact that I can now get a full-size notebook for $350, so why would I want a DVD-less netbook for the same price?

Because it's half the size and the battery lasts longer. Though with Intel's crappy Atom chipsets perhaps the second part is no longer true.

Quite the contrary - I got one of the newish Atom netbooks (dual core), and its battery life is just perfect, provided I don't do anything really squirrelly, like sudo renice -19 -p $$ && sudo ionice -c 1 -p $$ && make -j12. At which point, I'd reasonably expect the battery life to drop on just about anything, given a complex enough code base.

Comment Re:C'mon Python Users tell us why (Score 1) 375

I cheat. I write python code that writes its own plain C code, compiles it then executes it. this way, I work once to write a C template, that I then reuse through a high level language. and when I combine the advantages of python (sympy for instance) with the speed of C, I get stuff that is ridiculously faster than what I did before. in the sense that I don't work a lot to write it, and I don't wait around a lot for it to actually run afterwards. working with numerical simulations, I'm allowed to cheat this way...

Might be a silly question, but have you given Cython a shot? It sounds like you're doing something very similar to what their project was built to do.

Comment Re:Like a zombie (Score 1) 375

Indeed, D2 looks amazing. And as I've said before, I love C++.

I'm curious as to how the C and C++ interop fronts are for D, though. I mean, one of the big reasons C++ hasn't gone away is the enormous amount of libraries written in it. Lua has Luabind, Python has Boost.Python ... how does one connect D to these marvelous wonders that keep us from diving head first into NIH syndrome?

Serious question - I haven't had a chance to look into it myself.

Comment Re:Like a zombie (Score 1) 375

Indeed. Add onto all of those the fact that, AFAIK, on Linux, completely static linking a project is damn near impossible.

If you know otherwise, please let me know. I love the hell out of the language (yes, yes, I'm insane) but this kind of shit kills me. Is it so much to ask, to want to be able to compile a program and simply drop it onto another machine, without having to worry about what version of the standard libraries that machine has installed?

I can understand the issue with network libraries - C has issues with those, as well. But for basic applications - a non-networked game, for instance - this sort of limitation is annoying.

Comment Re:Pity about the skills decline (Score 1) 539

just hook into a repository for your distro and let it do the work for you.

This works, until you find that the version of $LIBRARY available in your distribution's repo is old as dirt - and the unofficial ones floating around online aren't much better - and you want to write software that has the latest features, bug fixes, etc. Then it's back to compiling and dependency tracking... :D

Unix

Submission + - Using the /proc filesystem (petur.eu)

petur writes: "The proc filesystem is a special filesystem found on most UNIX-based systems.
It holds a great deal of information, in ASCII format, most of which is not very friendly to the average user.

It is important that you keep in mind that the files under /proc are not kept on a physical storage, meaning they are subject to change after reboot. Also, they should not really be called files as they are pseudo-files, as they exist only in memory.
I break that rule on regular basis and intend to do that also in this article.

I’ve made a list of some of the files i find to be of most use."

Google

Submission + - Bing Becomes No.2 Search Engine Globally, Still at (statcounter.com)

suraj.sun writes: Bing Becomes No.2 Search Engine Globally, Still at 4.4%

Bing has overtook Yahoo for the first time worldwide in January and increased its lead in February according to web analytics company, StatCounter. Its research arm StatCounter Global Stats finds that globally Bing reached 4.37% in February ahead of Yahoo! at 3.93%. Both trail far behind Google's 89.94% of the global search engine market.

In the United States Yahoo! at 9.74% still retains its lead over Bing at 9.03%. Google's share in the US is 79.63%. In July 2009 Microsoft announced an agreement whereby Bing would power the Yahoo! search and it has been implemented in the US, Canada, Australia, Brazil and Mexico.

Statecounter: http://gs.statcounter.com/press/bing-overtakes-yahoo-globally-for-first-time

Comment Re:Clone my car! (Score 1) 500

But, because there is a large influx of semi-skilled people who think that the fact they installed Ubuntu on their PC at home makes them a sever admin

While I won't say that it does make them a server admin, everyone has to start somewhere, and a lot of schools these days leave out a lot when it comes to technology. A friend of mine graduated with a Comp Sci degree a few years ago, and had barely touched anything *nix at all. I think they might have had them log into an old RHEL VM and use pico, perhaps start and stop apache, but that was it. This isn't to say that he wasn't smart, it's just that they didn't teach him anything outside of VB.NET and (how it use it to work with) XML.

I've since met and worked with others who had similar experience, if you s/VB.NET/Java/

Not precisely what I'd consider a broad range of education.

Comment Re:Another Linux admin with a superiority complex. (Score 1) 705

- require https over http to devices, yet still have telnet access enabled.

I'm sure I have several devices on my network with telnet enabled. Why should I bother disabling it? I don't use it, so its vulnerability to password sniffing is irrelevant.

I'm curious as to why you wouldn't disable telnet on those devices, if you don't use it.

Comment Re:Persistent myth? (Score 1) 705

I had a test OSX server at my last job I was at. Pretty much closed all ports except for 80 and whatever port Apple RDP ran on (actually, I closed that down at first, oops, had take a macbook into the server room to fix that), then opened up ports as needed.

I'm sure you realize this now, but for the sake of anyone else reading this you could have saved yourself a trip to the server room had you left 22 open; most OSX services can stopped and started via command line, just like any other *nix. I could be wrong (I don't use Mac's often), but I think they stick them in /System/Library/CoreServices, or somewhere similar.

As far as not using sudo, I think it depends on what you're doing. For example, if you're just running a single command, it makes sense to sudo (e.g., editing /etc/hosts, restarting a service, etc), but if you're going to be working with root privileges for a while, it just makes more sense, and saves you some keystrokes, to use su.

Privacy

Submission + - AT&T loses corporate privacy case, war of "wor (networkworld.com)

coondoggie writes: Businesses are not entitled to the same privacy as people. That was the conclusion of the US Supreme Court yesterday ruling against AT&T that ended up being a discussion of word use and semantics as much as a privacy debate.

The word use argument stemmed from the fact that AT&T argued in court papers that the word "personal" necessarily incorporates the statutory definition of "person," which includes corporations. But adjectives do not always reflect the meaning of corresponding nouns. "Person" is a defined term in the statute; "personal" is not. When a statute does not define a term, the Court typically "give[s] the phrase its ordinary meaning," the court stated.

Hardware

Submission + - Chinese Firm Claims Title To Smallest x86 PC Ever (itproportal.com)

siliconbits writes: Little known Chinese computer Giada says that it has produced the smallest PC in the world, one that measures a mere 150x148x21mm and weighs just under 500g with the stand (a typical CD case measures 125x125x18 mm). The makes the Acer Aspire Revo 3610, one of our favourite small form factor computers ever, look positively obese.
Google

Submission + - Google fixes Gmail issues, provides explanation (vr-zone.com)

tincat7788 writes: Remember the little freak accident caused by Google by some users woke up on Monday only to find their Gmail accounts emptied of all their messages? Well, it seems that Google has managed to identify the culprit responsible for the little incident, and has issued a statement describing what actually happened that day. On the plus side, the search giant has also assured users that no data was permanently wiped off the face of the virtual world.

Read on to find out more.

Slashdot Top Deals

FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms, and grows in every computer. -- A.J. Perlis

Working...