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

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment This might win me an argument (Score 1) 156

I was arguing with a graphic artist who I basically called a complete tool. He keeps making flash dominated sites for his clients. They look good but I was strongly arguing that he was screwing his clients as fewer and fewer people have flash on their internet thing, and that number will only keep falling. More importantly is that richer people with newer devices are even less likely to have it.

He kept quoting 2001 era stats about it having 98% penetration.

He is the perfect example of someone seeing the world as nails because all they have is a hammer.

Comment I wonder which company is in tune with its users? (Score 4, Insightful) 197

My long time complaint has been that Blackberry was very abusive and disregarded the desires of its users. They would allow telcos to molest their products to maintain a "good" relationship with the telcos. They would allow IT departments to molest their products to maintain a "good" relationship with the IT departments, and now they seem to want the jackbooted thugs who run our secret police to molest their products, but for what?

They let other people turn their phones into turds an the market spoke.

Now he is whining because Apple won't turn their phones into turds on the behest of some bunch of assholes.

The telcos put blackberries onto the bottom shelf the second the iPhone came along, the IT departments switched to everything else, and the jackbooted thugs will probably treat BB with the same respect. This makes me smile.

For those who aren't Canadian, BB epitomizes everything that the rest of Canada hates about central Canada (where RIM is located). This unrelenting bowing to authority. This treating of the people as peasants who don't know what is best for themselves. A pseudo intellectual belief that the rest of the world will somehow come around to their delusions and make it their reality.

Comment AirBNB is a local corruption test (Score 2) 259

There are very very few members of the public who don't like or have a problem with AirBNB. Any government that bans them is clearly doing this on the behest of the hotels and other such businesses. This is a perfect example of government officials working for the rich elites and not for the people who voted them into power and pay the taxes that let these thugs have jobs.

Why do we continue to put up with law after law after law that is not in our best interests.

Is AirBNB perfect, nope. But any problems can be regulated to solve any problems for the greater good. For instance if someone had three houses on a quiet street that they AirBNB'd for party houses, then you deal with that issue. But a blanket ban is just anti citizenry which would be an action only take if there was some inducement or incentive for the lawmakers.

Comment Re:How many times do you switch back? (Score 1) 331

I have built plenty of sites with PHP, python, C++, and perl. Hands down PHP is the best at getting data in and out of some sort of data store. Some of the sites were very busy commercial sites with effectively 100s of thousands of dynamic pages for products and their associated details, etc. These sites would be peaking out around 20,000 views per minute nearing Christmas with many of those being sales transactions. These sites typically ran on under 10 dual cpu run of the mill servers with no amazing attributes. The servers were completely underwhelmed by the traffic.

Other PHP driven backends for mobile apps were serving in the range of 10000 simultaneous users who were usually hitting the servers around twice a minute with either some data to store or a request for other details. This was handled by two servers, one with redis and the other with apache and PHP. The web server was pretty good with around 16 cores on 2 CPUs.

We were all ready to jump in and C++ the crap out of any part that needed it but the measurements were showing 20ms responses on most requests. Reducing this to 0ms would not have had any benefits.

The reality that I have discovered is that the two choke points for most REST or web servers is the datastore, and the network distance to your customers. So getting a CDN or spreading your servers out closer to your customers, combined with making sure your datastore has enough RAM to do most operations in RAM is where the speed and capacity will come from. PHP has never been a problem. While C++ would buy some unnecessary speed, the development time would cost piles. Python would be slower, although I regularly use it for offline stuff such as ML or just plain old data massaging, and node.js is similar and would have similar arguments to PHP it just isn't the way I have gone.

So while you say you wouldn't use it for something more than 100 users, I don't know what on earth you would recommend other than nodejs as a replacement. What you might be thinking about is PHP when combined with some of the nightmare frameworks that the script kiddies love. Most of the frameworks that get the most press are bloated piles of steaming dogshit that are the classic solutions that will get you to 90% done and leave you hanging at 90% for the next 2 years until your startup runs out of cash. The worst being that if you used one of really crappy popular frameworks and have any success you will find scaling to pretty much be impossible and that you are throwing absurd numbers of servers at very small workloads.

To press home my PHP point, I have done simple from memory datastore websites that were completely adequate for maybe up to 1000 views per minute on a Raspberry Pi.

Comment Re:How many times do you switch back? (Score 1) 331

I followed roughly the exact same path. People seem to love crapping all over PHP, yet like Javascript on the browser, the domain of PHP is getting data to and from the database and out to the web. It is simply fantastic at this. Would I make anything else in PHP if I could, hell no. But it is like a speciality tool such as a socket wrench. It puts nuts on, it takes nuts off. It isn't a hammer, it isn't a shovel.

Comment Re:How many times do you switch back? (Score 1) 331

Someone said that perl is the language where you come back from lunch and can't understand what you did that morning.

While some will argue that it is up to the coder, I say that certain languages encourage bad form, while other languages push their "good" form so hard as to make them unpleasant. Perl really demands that you squish what would be 30 lines of clean code into a single awesome Regex.

My hands down cleanest code is written in simple Python, I say simple because there seems to be this "expert" movement where they call things Pythonic if you put the same 30 lines of clean code into one single stupid line.

They had better be careful as this perversion of Pythonic ideology will drive off the desirable groups such as new programmers from, say, the scientific community.

Comment Re:Man, I'm glad I got out of IT (Score 1) 331

Learn to see the forest, not the threes.

Can I suggest not to look for jobs that ask you do just one thing.

Many of the things learned in one language or part of IT can be used/applied in an other.

If using a different language makes what you learned from other languages obsolete you are doing it wrong.

Comment How many times do you switch back? (Score 4, Interesting) 331

I have switched computer languages many times. Some times for good, some times just for a project, but often I find a "better" language, only to find that it has many dead ends or other problems. My present primary language is actually two: Python and C++. With these two there isn't much I can't do. Where one is weak the other is strong.

That said, there are some situations where another language is called for. Javascript is pretty much the defacto browser language. Thus I would never try Python or C++ in the browser as that would just be horrible. But I don't really see Javascript as a great a language outside the browser as some people claim. Then there are scripting languages. I use Lua where I give users the ability to extend my programs through scripts because Lua is wonderfully tied into C++ through some awesome language extensions, they are tight and small. So would I say that I switch programming language when I jump to Lua or Javascript?

That all said, some languages are pretty much dead to me. Java is solidly in the trash, .net is solidly in the trash, perl is solidly in my past, and very happily Objective-C is in the dumpster and I set it on fire.

I think that an interesting question would be more, "What language(s) do you presently use, what languages are your last 5 years of code largely in, and what languages are presently on your list of languages you are interested in exploring?"

Comment Or you can give 2 weeks expecting an exit, but no. (Score 1) 765

The worst is when you tell your new employer you can start Monday, then give two weeks notice expecting to be thrown out a window, when they not only accept the two weeks, but ask if you could possibly stretch that out another week or two. Now you are faced with the choice of a bad reference, or a bad start to the new job.

In most cases the bad reference is the better choice, but still sucks.

Slashdot Top Deals

Multics is security spelled sideways.

Working...