Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Are you right out of college? (Score 1) 509

As someone who has been programming for 10+ years...

"Version control (revision control? WTF is that?)" You don't know what version control is? Or are you trying to start a worthless pedantic debate on terminology?

"How do you make a mess of version control other than just not checking stuff in?" That depends on the source control system, but they all have certain conventions/workflows you have to follow else you screw things up.

"Code reviews are pretty fucking stupid, IMO." There's not much of any other way to ensure code quality. If they wrote their own tests, the test could not feel out corner cases, security, reasonable efficiency, etc. Things QA would probably not catch. That action method on a controller that doesn't have a permission check and exposes sensitive data. You can point fingers and say QA's job to test for that, but even if you were right, you still wrote it wrong in the first place and someone has to touch it again. Code reviews give people an incentive to do it right the first time, and if it's not right, at least they will be fixing it while it's fresh on their mind and they can learn from their mistakes. Lots of shit coders write shit code and it works 9 times out of 10. Overtime you rack up a long list of bugs and instead of coddling it along with band aids and duct tape, you finally tear it all out and redo it. So in the end it's not worth paying people to write shit code. It's very much like the contractor who has to tear out a shit job and make someone redo it right. No point in paying someone to write code that someone else will have to tear out and rewrite later.

On the other hand, I like having my code reviewed. Rarely there is a slip up, maybe I didn't handle a transaction perfectly or think about a certain corner case. Sure it tested fine, but there would have been a race condition at some point down the line that would have slowly accumulated bad data each time it happened. Much better that someone else catch it now before it goes to production and causes some difficult to track down bug that is difficult to reproduce and causes people to have to spend a time fixing bad data.

Comment Re:or sqlite (Score 2) 241

"99% of the small web sites which are built around MySQL don't need it."

Likely they are running on a virtual share, and as such as using the cheapest thing available that also supports the web apps they want to use.

If the web app happened to support SQLite, it would still be a better choice to use the hosting provider's MySQL server since it is already configured for backups and likely runs on a separate piece of hardware from the virtual web server. Additionally they are probably using multiple tools, CMS+blog+wiki+forum or some such, and better to just offload all that to the database server.

Even if all these apps supported sqlite, the hosting provider still has to hire a programmer to write code that somehow iterates through all the virtual hosts, finds all the apps running SQLite, and perform backups through the backup API. With MySQL, having all the databases in a central location and a nice community of tools that already handles this sort of thing with a bit of configuration is cheaper.

On the other hand it would be easier on the setup side of the web apps to use SQLite, because no longer will you need to deal with creating the database+permissions+connection strings. Probably the easiest solution is some sort of easily discoverable network service that provides a central backup service, that the host would have for all the SQLite applications to discover and perform backups to.

Just my opinion, but I wouldn't suggest SQLite as the DB of choice for small websites.

Comment Re:They're doing it wrong! (Score 1) 262

We are here looking at a collection of interesting images, that are not inflammatory in the least, and you bring some political bullshit into the mix. What more is there to get?

I pointed out how baseless and nonsensical your ramblings are. I think it is clear that you are trying to hard. All the attributes of a good conspiracy theory. Even the fact you are here completely out of context and offtopic, like the crazy guy screaming on the corner. You even brag about your ignorance of how off topic you are. It's one thing to comment based on the summary without reading the article, it's a whole other thing to comment on presumed content that is neither in the summary nor the content of the article, simply because you want an excuse to cry to everyone about your bullshit. If how you came to the conclusion that your ramblings were appropriate here, then it's a good indication of how you formed your opinions.

I don't blow off everything as conspiracy theory. I don't mind someone with a different opinion, if it is formed on some level of rational thought, rather than on assumptions and ignorance.

Comment Re:since NASA just released those pohotos of the s (Score 2) 26

I thought it was an interesting despite it being mostly anecdotes. Maybe not news by any pedantic standard, but far better than most 90% of what most people consider news. I think the fact that there's a hurricane that's been around for 300 years is alot more fascinating than who some random person I have never met has been having an affair with.

Comment Re:They're doing it wrong! (Score 4, Insightful) 262

" letting Texas A&M Transportation Institute do a study"

What do you mean "letting"?

Are you implying that our government should be in the business of banning universities from conducting experiments and studies?

What does the FCC post have to do with a transportation study?

That post is usually hand picked to be someone that will represent the elected president's agenda. For example, Bush picked Colin Powel's son as his FCC chairman, because of course they wanted hands off regulation, which is a bit ironic because that's what FCC does. Pretty much the Ron Swanson of FCC.

Stop trying so hard. If you squint your eyes hard enough you will see a conspiracy in anything.

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...