Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Submission + - SPAM: I Built a Dogecoin-Powered Pinball Machine

chromatic writes: It started as a joke—what if I could use cryptocurrency to power a Lord of the Rings pinball machine? From there, things snowballed into figuring out how to hack the coin mechanism, set up a relay board, get addresses starting with the word "Balrog", and connect it all to the Dogecoin blockchain. The result? My pinball machine now takes Dogecoin instead of quarters.
Link to Original Source

Submission + - Slashdot Alum Samzenpus's Fractured Veil Hits Kickstarter

CmdrTaco writes: Long time Slashdot readers remember Samzenpus,who posted over 17,000 stories here, sadly crushing my record in the process! What you might NOT know is that he was frequently the Dungeon Master for D&D campaigns played by the original Slashdot crew, and for the last few years he has been applying these skills with fellow Slashdot editorial alum Chris DiBona to a Survival game called Fractured Veil. It's set in a post apocalyptic Hawaii with a huge world based on real map data to explore, as well as careful balance between PVP & PVE. I figured a lot of our old friends would love to help them meet their kickstarter goal and then help us build bases and murder monsters! The game is turning into something pretty great and I'm excited to see it in the wild!

Comment Re:20 lines of... (Score 1) 496

When he says deep TCP/IP knowledge he probably means he needs a systems programmer. TCP/IP is such a common standard that anyone with the required background will already be familiar with it, so the training will not begin there.

If it were an entry level programming position teaching someone to program might be worthwhile, but there are also plenty of programmers with a security clearance. I imagine part of the problem he is having is that the security clearance does not mean as much to someone who has this skill set. The major draw to having one is the job security and higher salary, but if you can sit down and write a network stack or code to analyze packets in interesting ways in real time you already have an easy time finding employment, and the ability to make real money if you desire.

 

Comment Re:checked C (Score 1) 208

You seem to be stuck in the distant past with your opinion of C.

Yes, it entirely sucked when people tried to use it for general applications as a default language (same with C++, maybe even more so there). It is not at all an appropriate language when you are trying to deal with a ton of general business code implemented by a large team of varying quality (Java and C# do very well here). It is not really appropriate for someone who wants to learn to code as quickly as possible, nor does it make a particularly good prototyping language.

I think a few people already pointed you to all of the public linux stuff. MS also writes the kernel of Windows in C, all device drivers... also I did a bit of programming for industrial hardware, all of it was C. There are a few other areas where it ends up being very useful or nearly required, such as dealing with applications using wildly different hardware, a task which is at the limits of what a modern computer can do, or if more speed is always good (the last time I wrote a significant amount of assembly was actually a financial project, you would be surprised at where you end up needing the bag of tricks you can use with C and assembly to greatly speed up a process).

You hire expensive senior programmers by reference generally, not by posting on monster.com or whatever (unless you are really out of options).

C++ is not common in life critical software, maybe ADA (although I have never seen it, I also do not do government work). You will be applying KISS if you are designing that kind of system, in which case a large and complicated piece created externally is right out, so no C++ compiler. The fact that C has such a simple compiler is an important consideration.

Comment Re:checked C (Score 1) 208

It has never been lower than position 2. It has been first or second on that list since they started tracking it, as you can see if you scroll down a little bit for the chart over time (which goes back 15 years on that page).

If all of your jobs involve javascript, that likely makes you a web developer. Using some web frameworks to put together websites is about as far away as you can get from systems programming, so of course nobody is asking you to write a bunch of C code. It is not your profession, and the results are likely to be horrific.

The vast majority of important code is written in C, including new projects today. It dominates few industries, but is present in almost all of them (because when you run into a problem which needs C you have few other options, none of them easier). C# is pretty popular for general business programming, matlab is popular for scientific stuff, I still see a fair amount of cobol for big financial systems, php and like half a dozen others are popular for web development, etc. The thing is they have pretty narrow niches, so while they may be dominant in one industry, outside of that you basically do not see it.

I never see anyone write javascript for a big financial program (except maybe for the front end), write data analysis code for an experiment in C#, or write their website backend in matlab. I do however see financial programmers who think the world is entirely Java, C# and SAP, academics who think matlab can solve anything, and web developers who think PHP and Javascript are all you will ever need.

When your problem requires new hardware of any sort, you care about speed, or there is the possibility that someone may be harmed if the program does not work correctly, the language of choice is usually C.

I will also throw out there that I do a lot of code review, and the C programs I am sent have by far the lowest defect rate of what I review (PHP being the worst.)

Comment Re:checked C (Score 1) 208

The long term website tracking popularity (as well as you can do that for programming languages) is at http://www.tiobe.com/tiobe_index

C is pretty much always 1 or 2 in the list, and notice how it has twice the ranking of the third in the list (C++... which owes much of its popularity to the ability to compile most C programs). C is a very popular language, and is pretty much the language of choice whenever you need to do something novel, involving hardware, or care about execution time. It is not usually the best choice for a big CMS or other tasks where there are domain specific languages available, but that is mostly due to staffing concerns.

It tends not to have a ton of people in any given industry using it as it requires a greater understanding as to how the computer operates, which means you do not train decent C programmers in a few months like you do PHP or such (and you do not throw it at academics like MATLAB). It takes years to get good, and even then it turns out a large number of people will struggle with memory management no matter how hard they try.

If it takes you 3 or 4 times as long to write something in C, that is a good indication you should not be writing C. In contrast it is my favorite language and I am far more productive in it than Java, PHP, etc. (not that I use it all the time, I am well aware that if I write something in C I will likely need to continue maintaining it, so I usually need a reason to do so).

Comment Re:C99 and C11 (Score 1) 208

Unfortunately while it includes the fundamentally unsafe ones like gets(), it also deprecates a bunch of functions which are not fundamentally unsafe, such as the simple and super common strcpy (which is just fine if you know there is a null byte within the buffer length, generally because you as the programmer put it there).

The solution they use is also pretty bad, adding a buffer length parameter to the function is useless in practice as it still lets you overflow the buffer by getting this wrong, and it seems most code which would contain a buffer overflow ends up calculating this in a way which ends up passing the wrong buffer length. When combined with how common some of those functions are in existing code (where usage is perfectly safe!), I end up just turning it off by default in my compiler. It is an annoyance for no real gain.

I do not consider those useful warnings as MS implements them. It's like someone with minimal understanding as to why you would want to control your own memory layout who never works on code for an OS other than Windows was asked to fix buffer overflows in C, and came up with the great idea that if you had the programmer specify the length twice they might not screw it up in exactly the same way twice (which they do, in practice it is rare to see the size of the buffer provided correctly if it would have been an error without it, so it fixes very little).

Comment Re:facilitate is a bit of a stretch. (Score 1) 496

A company valued at $19 billion will pay it one way or another.

There is effectively zero chance they could not get a loan, or if they willingly ignored the order and the company or some assets were sold at auction as a result, that it would not make that much.

They are absolutely good for any judgement rendered against them, as it will not be in the billions.

Comment Re:grr (Score 1) 496

GA state minimum is $25,000 per person in bodily injury, likely not close to enough in this case. Sure they can go after the kid too and eventually garnish much of what they make, but that is also likely not to cover it.

The obvious target for a civil suit is the party with the ability to pay.

Comment This isn't a victory for Behring-Breivik. (Score 3, Insightful) 491

Someone once pointed out that hoping a rapist gets raped in prison isn't a victory for his victim(s), because it somehow gives him what he had coming to him, but it's actually a victory for rape and violence. I wish I could remember who said that, because they are right. The score doesn't go Rapist: 1 World: 1. It goes Rape: 2.

What this man did is unspeakable, and he absolutely deserves to spend the rest of his life in prison. If he needs to be kept away from other prisoners as a safety issue, there are ways to do that without keeping him in solitary confinement, which has been shown conclusively to be profoundly cruel and harmful.

Putting him in solitary confinement, as a punitive measure, is not a victory for the good people in the world. It's a victory for inhumane treatment of human beings. This ruling is, in my opinion, very good and very strong for human rights, *precisely* because it was brought by such a despicable and horrible person. It affirms that all of us have basic human rights, even the absolute worst of us on this planet.

Comment Re:Three words (Score 1) 460

I did a chmod 700 / home/me on a production server a couple of years ago as root after setting another user up (note the space typo).

Total downtime was about two minutes, as I figured it out pretty quickly when it did not complete immediately and I hit up to look at my last command.

A chmod 777 which I let get about as far made it work temporarily, and fortunately RPM actually has a setting to restore permissions... but it was very inconvenient as there are rather a lot of permissions not set by that. I ended up setting up another server and not daring to restart that one.

rm I am careful enough with that I have never had a problem, but I also stare at that command for a minute before I hit enter if I am root.

Slashdot Top Deals

Lead me not into temptation... I can find it myself.

Working...