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!



Ask Slashdot: What Should Every Programmer Read?

petur Books Ive recently read (352 comments)

The Psychology of Computer Programming, by Weinberg. Its from 1971 but still relevant. It tackles the management aspect of working in a team, how to handle difficult people etc. Clean Code, a great book for those interested in adopting a better coding style. Are your routines longer than 5 lines? Wrestling With Bears , goes into details about how to mitigate risk, evaluate and prioritize requirements and keep your projects on track. Test Driven iOS Development. Cocoa Design Patterns (if your an iOS developer); it really helps to understand what is happening under the hood of the API. Software Engineering by Ian Sommerville, for those interested in design, architecture and large systems. Its a rather long and very traditional (not agile friendly), but its comprehensive and good. Someone already mentioned K&R, I'd add C++ by Bjarne Stroustrump. Agile and Iterative Development: A Manager's Guide. Its not really a "managers guide", but more of a "How can I be a good team player" with an introduction on XP/UP and Scrum kind of a guide. Highly recommented.

about 4 months ago

Ask Slashdot: Linux Mountable Storage Pool For All the Cloud Systems?

petur EXCITED KIDS (165 comments)

Just pay for it FFS, why try to combine different free services, and go throuth the trouble of running your own linux server in order to save 10$ a month oh my god, "!#$ excited kids.

about a year and a half ago

What Are the Unwritten Rules of Deleting Code?

petur Software Engineering (384 comments)

Follow your software design criteria and your design documents, then it should be clear. One should not simply sit down and hack away changes without careful planing.

about a year and a half ago

Internet-Spreading American Gets 15-Year Sentence In Cuba

petur stupid americans (386 comments)

Stop trying to be hero's by trying to rebuild countries after destroying them with wars or business blocks.

more than 3 years ago

5 Things OS X Does Better than Linux

petur Re:Give 2, take 2, 1 stupid (3 comments)

"This article is written with the average user in my mind, be it my girlfriend or my grandmother working on their personal computers without access to an IT department" They will not know how to "tar -c; grub-install".

more than 3 years ago



Baking a graphics card cake

petur petur writes  |  more than 3 years ago

petur (1833384) writes "My computer started to freeze regularly, a few weeks ago, while running computer games. A quick reboot or two fixed the problem.

I started digging into the internetz till I found someone who claimed that it was possible to fix broken display adpaters by baking them in the oven!"

Link to Original Source

Linux with a DNS Cache speeds up your Internet

petur petur writes  |  more than 3 years ago

petur writes "Most Linux distributions, unlike OpenSuSE, OS X and Windows, do not have a DNS Cache service installed by default.

Your computer will need to lookup a website’s IP address every time you visit it. The lookup request is passed on to the DNS server(s) specified in the /etc/resolv.conf file. It will take the server a few ms (milliseconds) at best to respond. It can take a ‘long’ time if your using a slow Internet connection (or a wireless LAN).

Caching DNS acts just like a regular DNS, from the users point of view. The service is configured to respond to lookup requests and return IP addresses. If the Caching DNS does not know the answer to the request, he will simply forward the request to the correct server and then forward the reply to you once it has been received.
So what’s the difference?"

Link to Original Source

Women are subject to sexual harassment in online g

petur petur writes  |  more than 3 years ago

petur writes "Female players in the MMORPG ‘EVE Online‘ are subject to sexual violence from male players. The violence does not only take play within the virtual world, as atleast one case has been reported to the Icelandic police where a male player went uninvited to a female player home.

Anna Bragadóttir, a business major student at the University of Bifröst, wrote her final paper about the communications between male and female students in virtual games with a special interest in the game EVE Online. Anna reports that female players become subject constant sexual harrasment within the virtual world as soon as their have confirmed their sex by using voice-chat-communications with other players. Virtual firms within the game exploit female players for their virtual-marketing purposes and they get constant gifts and offers from other players."

Link to Original Source

Microsoft Confirms an IE9 exploit in the wild

petur petur writes  |  more than 3 years ago

petur writes "According to Microsoft
Microsoft is investigating new public reports of a vulnerability in all supported editions of Microsoft Windows. The vulnerability could allow an attacker to cause a victim to run malicious scripts when visiting various Web sites, resulting in information disclosure. , resulting in information disclosure. This impact is similar to server-side cross-site scripting (XSS) vulnerabilities. Microsoft is aware of published information and proof-of-concept code that attempts to exploit this vulnerability.
To help protect users of our services, we have deployed various server-side defenses to make the MHTML vulnerability harder to exploit. That said, these are not tenable long-term solutions, and we can’t guarantee them to be 100% reliable or comprehensive."

Link to Original Source

Angry birds coming to Facebook in May

petur petur writes  |  more than 3 years ago

petur writes "Angry Birds won't be making its way to Facebook anytime soon, a new report claims.
According to The Next Web, which says it spoke with Rovio's Peter Vesterbecka, the wildly popular game won't be available on Facebook until May, two months after it was expected to launch on the social network.

Read more:"

Link to Original Source

5 Things OS X Does Better than Linux

petur petur writes  |  more than 3 years ago

petur writes "This article is written with the average user in my mind, be it my girlfriend or my grandmother working on their personal computers without access to an IT department. They don’t know that OS X is built on top of UNIX and in fact I think they don’t care. To them, the command line is something which was used in The Matrix and they have no intentions on buying a book about it.

Linux is, without doubt a good operating system, although I feel more needs to be done to de-alienate it for the average user. I’ve been using Linux as my primary OS for the last 12 years. A few months ago I decided to give OS X a try and since then I’ve been spending more and more time using it.

I’m going to list 5 things i feel OS X does better than Linux, or should I say Ubuntu Linux to be more specific?"

Link to Original Source

Using the /proc filesystem

petur petur writes  |  more than 3 years ago

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."

Link to Original Source


petur has no journal entries.

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>