Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment Re:I'm going to assume that was hipster irony. (Score 1) 91

Then why are you using jQuery?

For the bulk of real-world jQuery use, you can use getElementById, querySelector, and querySelectorAll.

Jquery is just quicker to write so takes less dev time.

Also, out of your list of pure JS replacements about you missed document.createElement(). Once you start having to create elements of the dom tree on the fly JQuery comes into its own in terms of writing less code and hence developers producing quicker results.

Nobody cares about efficiency any more as cpu time is just so much cheaper than the man hours put in to creating code. Writing super efficient code is just not worth wasting time over when modern PC's are so powerful and underutilized. You can complain about this all you like but you are just pissing into the wind, it will never change now even phones have quad core cpus.

(BTW - I actually think everyone should learn to write more efficient code but am old enough to know that most people who pull the strings don't care.)

Comment Re:That explains things (Score 2) 91

Then take this as a message to those buying websites.

Also please tell restaurants that all I want is your hours and menu. A simple text page can do all that in one page and it you can save a fortune on dev time.

The problem is that people like yourself are a tiny minority. Most people go "wow, look at pretty swirl that follows my mouse pointer around, isn't it neat!" (this is a piss poor example)

Seriously though, most people love jquery as it means we don't have to do basic animations in flash any more and can do ajax type stuff. Without things like jquery you would be stuck with whole page refreshes just because you wanted to add a row to a form. I have done this sort of stuff in raw JS (I have been a web dev for almost 10 years) and it was just not worth the effort making it cross browser without doing whole page reloads that were slow for the average user. JQuery lets you do dynamic html pages far more easily and build user interfaces that more closely resemble stand alone applications.

Recently I had to create a page that lets users sort a list by clicking and up down arrow next to each item. When I did stuff like this before JQuery it was a PITA to get working and horrible to use, now it is much quicker and easier. For the same amount of time I put in previously I could have let them drag and drop stuff up and down now (I wanted to, but couldn't get it passed management).

Comment Re:It's actually surprisingly cheap... (Score 1) 311

I've only spent a few months in the USA, but I don't remember any restaurants I saw offering all-you-can-drink including alcoholic beverages along with a fixed price meal, and yet I recall this being fairly common in Tokyo. Or are you deliberately misreading the grandparent so that you can call him a retard?

This is just because many japanese people lack the gene to process alcohol efficiently so can't drink for shit.

This makes excessive drinking more of a cultural taboo than it is in Europe and America where it was essential to drink in order to get the nutrition you needed to survive from seasonal crops that only came once a year in our climate. Japan and the far east had the ability to grow crops that could be harvested throughout the year unlike grain.

Comment Re:May Bel-Shamharoth eat their souls (Score 5, Informative) 311

Do explain which international laws forbid whale hunting the way Japan practices it. It's a completely legal practice according to IWC.

Whaling for food is illegal. But Japan has come up with some bullshit excuse that they need to conduct scientific research which is why they need to kill whales, then selling the meat as byproduct just makes good sense.

The problem with this is that there is simply no need to kill so many whales for research it's just that Japan's (ruling) older generation view eating whale as such an essential part of their culture they refuse to contemplate change on this front. You might be able to make an argument that what Japan does it legal, but it is still against the spirit of the treaty.

I also think that the individual ships flout the law because they know their is no appetite to prosecute them back home. I certainly think that the average Japanese whaling ship captain will happily follow his prey into Australian waters then lie about it later if they Australian Navy is not around to stop them.

Finally, later this year or early next year the final word on whether what Japan does is legal or not will come down from the ICJ. That will be final and binding (no appeals allowed) but until then no one really knows either way.

Comment Re:In other words... (Score 1) 400

Or if you are in a commonwealth country like New Zealand, Canada, or Australia and have ISPs with 2 gig limits each month?

I image lots of hi res images being downloaded over and over again can fill that cap fairly quickly

Lol. Here in the UK bandwidth caps are pretty much a thing of the past nowadays, I reckon this will just push the ISP's in your country to catch up and start offering decent internet with no caps.

Comment Re:5% (Score 1) 195

No I meant more data access/web services layer not javascript/CSS/HTML/flavor of the month client side monkey :)

Most web developers I know are forced to do crap loads of PHP on the server side, particularly MVC and OOP stuff. In my neck of the woods we call people who only do client side stuff "front end web developers" and similar. If anyone wants to be a web developer and only knows client side stuff they better be some sort of Javascript / Jquery / Knockout ninja.

If I hired a web developer who could not at least integrate with a web service I would consider them not up to the task. Once you have done that a few times you should be able to create one for other people to use. Web services are an essential part of web development nowadays

Comment Re:The stupidity of Cody Wilson (Score 1) 551

he purpose is not US-centric. The real value of the Liberator is in places where guns are illegal.

Exactly, the problem is that there are plenty of democratic countries where guns are illegal. I live in one. We try and make a democratic choice as a society to make hand guns hard to obtain and this technology undermines our democratic right.

There are a great many people who simply do not want to own a gun. I know people who refused to even try firing one at a designated range in country where it was perfectly legal. Personally I have fired a gun (an AK47) but I have no interest in living in a society where guns are easy to obtain. You might say that guns are already easy to obtain in my country (the UK) but that is not actually the truth, even if you live in and are with rampant gun crime (you can try and buy a gun, but most likely you will just be robbed unless the criminal selling you then gun has reason to not just take you money and keep the gun).

This post will probably be down modded to hell and get a million replies saying how wrong I am and whatever, as most americans I know simply cannot see how you could find the idea of not wanting to have anything to with a gun a bit alien.

Of course the real problem here though is that once new technology is out of the bottle there is no putting it back, its just that I personally would rather Cody he Texan did not go on his crazy evangelical "everyone should be able to own any gun they like" mission in the first place.

Maybe us the UK should start exporting plutonium to Iran if the US is going to force guns onto our streets. (Ok, this is obviously a joke as they would send some of it back our way as well as yours).

Comment Re:5% (Score 1) 195

I think once you've become a webdeveloper you've already shot yourself in the head ;) Server side is the place to be :)

Not really sure what you mean as i write mostly server side code even as a web developer.

If you mean being a server admin then I do that too but it doesn't pay as much as I would like.

Comment Re:5% (Score 1) 195

There is still more developers would love to cram in but there is about 0.5/2s window where you can load before people get bored and leave we just load more crap and do more client side processing now to use up the bandwidth and CPU.

Contrary to the popular belief on slashdot us professional web developers do not sit around thinking of ways to use new browser features to make sites as slow as shit.

Instead clients come to us as some graphic designer has mocked up this amazing new site for them with tons of flash animations they created, psd files that represent all aspects of the site with each layer representing a different page and some notes on which bits of the site need to be easily editable by the client, which bits obtain dynamic data from another site (like the companies aher price) and finally, with a detailed list of which tracking they want to use to track users journey through their website.

Yup. much of this tracking crap is actually added at the clients request because they want to track how their users browse the site and what advert they clicked on a different site which brings though the clients who buy and what adverts on other sites just generate them click throughs but none that result in a purchase or sign up or whatever they want from the site.

Web developers have to work through this crap and try and convince the designer that some of his design elements are going to kill the page loading time and are uttterly pointless. The ones that have to stay they try their best to make efficient by re-implementing it completely in JQuery or whatever. Try and convert the pointless flash object into a much smaller animated GIF or PNG since it is has no interactivity and is only flash as that is what the designer has tools to create.

They then finally try and steer the client to only implementing the tracking shit on the pages that that are REALLY important (index, basket, purchase complete, etc). But no, the client first insists on the third party tracking be used to track every goddamn product so they can have all the analytics in the system their marketing chumps like using and not forcing them to login in to your site as well. Then they decide that the site is too complicated or something so you need to add the tracking to every page in the help section, then they notice that loads of people get to the index but never buy anything so you have add tracking to find out why (they load the index and decide it loads too slowly then fuck off to a quicker site probably due to the analytics shit).

Finally, the client realises that when the get stuff demoed to them it was done in a designers office with fibre to the back of the demo PC, tests their web site at home and realises everything is slow as shit and asks you to find out why. You tell them, and they say that blaming Google or whoever does the tracking is just passing the buck as the google home page loads really quickly, you must have messed up in creating their site instead.

At this point the web developer realises he can't win and shoots himself in the head :)

Comment Re:Holy Mackerel (Score 1) 195

True but claiming to save 5% of load time by making a browser while at the same time marketing products that slow down the page load in the first place seems kind of circular.

Without the shitty marketing products Google and Facebook would cease to exist.

Money makes the world go round and neither of these companies would exist without some way of making money, however great Google search and Facebooks social network is. They both now need huge internet pipes and servers which does not come cheap.

Comment Re:Is it too much (Score 1) 782

You know, I have never once seen someone use a game console for watching movies.

Have you read this thread? There are tons of people talking about want Netflix to work without paying for an Xbox Live subscription, they are not using their console just for gaming are they?

Comment Re:Always on internet? (Score 1) 782

So far I've not seen anything about the always-on requirement for the internet connection.

That feature is make or break for me, because if it *needs* an internet connection to be always enabled, I can tell you now I won't buy this -- they had their chance, and they put ads into both my home screen and my games.

Did anyone who actually watched the event see anything about this? I've checked several articles so far, and none of them have mentioned that part.

Always on internet definitely not needed according to this:

Comment Re:Is it too much (Score 1) 782

to ask for a classic-style game console built with modern tech/processing power?

Yes, I'd like to be able to play online with friends. That is the only other thing that I really want out of my console. I don't care if plays music or movies. I don't want it to be the center of my entertainment center. I sure as hell don't want it always on and spying on me.

I just want to play games, and that includes used ones.

As to music and movies you must realise that if they did not build in a blueray player then the vast majority of people would have opted for the PS4 or whatever it will be called (myself included as I don't have a blueray player yet). Also, Bluray drives are so cheap now there is almost no point in using a DVD drive instead. You are very much in the minority if you do not use a games console for watching any sort of movies or other multimedia so betting on everyone being like you would be a sure fire recipe for MS going bankrupt.

As to used games I doubt any of the companies that create games want you you to be able to do this, so they have been lobbying to make sure this is not possible. There will never be another console that supports this unless they can come up with a cast iron DRM system that ensures the same licence can be used on two different machines at the same time, this would probably require an always on internet connection.

Personally I get annoyed by games on my old Xbox360 making get up off the couch to swap disks when both games are installed on the hard disk just so they can be sure I have not sold one of them to a second hand shop (something I would never do as the second hand or trade in cost of a game is a pittance and I buy everything off the web). If they can use an always on internet connection to ensure that two copies of the same game are not being played at once that might fix this and let me stay on the couch but I bet a crap load of other people here would go mental at such an idea so the it is very likely that second hand games will be blocked.

The only way to keep everybody happy in this regard would be to trust their customers to not pirate stuff and the chances of that happening are somewhere between slim and none since the existence of any software piracy whatsoever proves that some people cannot be trusted. This is not saying that piracy costs them a sale, just that people who produce games don't want it to happen even if it doesn't.

Actually I just checked and it seems you will have to pay an additional fee to play a second hand game so you might be able to buy a second hand disk but the licence to use it's contents will be extra and always on internet will be down to the games developers. Seems like they are ignoring no-money cheapskate gypos like you to make it easier for me to stay on the couch, good move MS!

Comment Re:"Do not want" features. (Score 1) 782

I don't want my saved games "in the cloud" where I can't access them if my ISP takes a shit. If you're going to put half a terabyte of disk in the thing, let me save a few 1MB save files on it.

I would hope that the savegames go in both places in a similar way to steam does it although steam seems to screw this up too often for my liking so I don't trust it 100% but if they made it always work it would be perfect. Steam tries to sync the save games to the cloud when you launch and exit a game. This enables me to play on both my gaming PC's (I have been hovering between my own pad and my girlfriends for years and they are a few hundred miles apart).

That way if you have no internet then you can still play but only if you played last on that PC. I don't think it is only people like me who find this functionality useful, I reckon people who play games in internet cafe type places would find it useful too.

Comment Re:Not even close (Score 2) 486

Both Larry and Sergei are no longer connected with reality.. I don't begrudge them anything, but they are seriously in outer space.

which is kind of funny.

imagine having all the data in the world but being disconnected from reality still.

The problem is they have tons of cash. When you become that rich you end up bypassing the crap that the little people have to deal with as you can always pay someone else to deal with that for you.

He does not have to worry about ever being refused health insurance or the exorbitant cost of it as he has no sense of perspective when it comes to money any more.

Slashdot Top Deals

The first version always gets thrown away.