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

 



Forgot your password?
typodupeerror
×

Comment Re:HTML5 & JS should just crawl away and die (Score 1) 104

Using prototype is part of the approach of our inheritance pattern, which is based off a methodology from John Resig.

The only person who failed here was you, for trying to be a smart ass. There are many people who are good at coding aside from you, and probably many who are better, or at the least, not a dumbass.

Comment Re:HTML5 & JS should just crawl away and die (Score 3, Informative) 104

but what is really scary is what a mess Javascript is in 2014 --- makes Perl look like BASIC. No need to obfuscate Javascript in 2014.

I've been working in software development for about 15 years now, and I've worked professionally with all the majors (C++ a bit, Java, PHP, Perl, VBScript which was awful, C# extensively which I like a lot). For the last few years I've been tasked with writing a very large client-facing web application, where my team was mostly responsible for the front-end (JavaScript/HTML/CSS) that communicates with a large RESTful service provided by another team. This included writing an API in JavaScript with documentation.

The first thing I did was set ground rules on how my team should program in JavaScript, the structure we would use, how we would use the functional language to maximize its abilities and have some class-like things (properties, inheritance, etc.) too. Now we have a full blown web-app with a JS front end with over 900 JavaScript files (when in debug) that are very nicely sorted and categorized, full class/inheritance structures, and many other things. We use Visual Studio 2012/2013 with a few custom JavaScript extensions, and along with Chrome's debugger, it is more than manageable. But we also don't need to target any old browsers. Nothing pre-HTML5.

I'm not saying JavaScript is the best language in the world or anything like that, it definitely has its problems, and it certainly doesn't fit as a choice in many situation. But programming for it these days is not the nightmare it once was (assuming you don't need legacy browser support), and in many cases, it's actually rather refreshing after 13 years of strictly typed non-functional languages, because you can do some interesting things.

Comment Re: work life balance is a myth (Score 5, Interesting) 710

You're a CTO of a company with 4 plants, and you make more doing after hours work than what your job pays you? I'm not sure what to make of that, except that perhaps you're underpaid, and also appear to be working insane hours.

I also love my job, and what I do, but there is a balance, and I like my life outside of work as well and am glad to make enough from it to not have to worry.

Comment Throw away password (Score 1) 193

As per my usual, my eBay account has all fake information and a throw-away password. eBay often tells me to make it stronger, but it's ironic, because had I of actually used a strong "normal" password (one of my strong ones I can remember), it would now have been possibly compromised.

I think this might be an argument for using crap usernames/passwords for sites you don't trust (which is most of them), because chances are, they're going to leak your information at some point.

Comment Re:You Have To Enforce It (Score 1) 294

I'm surprised this isn't the norm already? What kind of shitty environments/code are people working with?

At all the companies I've worked at (all Visual Studio), if you got source from TFS, it was guaranteed just pressing 'start' would compile and run it, regardless of whether it was WinForms, ASP.NET, Silverlight, etc. That's just expected, and if I ever started a job and the code didn't just run, I'd assume people there didn't know what they were doing.

Comment Re:This may be crass but... (Score 3, Interesting) 283

I've never lived in Japan, but I've visited there many times over the last decade, and I disagree that it isn't "overcrowded." I never felt like I could be alone in Tokyo (I.e. >20m from another human). In addition, have you even used the Tokyo Metro during rush hour? Shinjuku station? They really do use polls on people, and you're packed in like a goddamm sardine. That's not life, that's not living. That's being a meat popsicle. No thanks.

Submission + - .NET JIT Getting SIMD Support (msdn.com)

iONiUM writes: As per the MSDN article, the long proposed user request for SIMD support has finally been answered. A NuGet package preview is available here. From the article: "You may think that task-based programming or offloading work to threads is already the answer. While multi-threading is certainly a critical part, it’s important to realize that it’s still important to optimize the code that runs on each core. SIMD is a technology that employs data parallelization at the CPU level. Multi-threading and SIMD complement each other: multi-threading allows parallelizing work over multiple cores while SIMD allows parallelizing work within a single core."

Submission + - Open SSL Bug Has Gone Mainstream (techcrunch.com)

iONiUM writes: Many sources are now reporting on the massive bug affecting almost the entire internet in Open SSL (including Yahoo!). There are guides offering information on the bug and how to patch it, as well as a dedicated website to test if a website is vulnerable. This bug allows users to get usernames and plain texts passwords, as well as active sessions even when the connection is using SSL. Here is a list of the top 1000 vulnerable sites.

Submission + - UN Report: Climate Changes Overwhelming (bbc.com)

iONiUM writes: From the article, "The impacts of global warming are likely to be "severe, pervasive and irreversible", a major report by the UN has warned." A major document was released by the IPCC outlining the current affects on climate change, and they are not good. For specific effects on humans: "Food security is highlighted as an area of significant concern. Crop yields for maize, rice and wheat are all hit in the period up to 2050, with around a tenth of projections showing losses over 25%."

Submission + - Maybe it is not worms, but Mars has holes

DusterBar writes: NASA photographs of Mars have relieved some rather interesting holes on Mars.

The most interesting one also has a strange and very visible circular creator around it that is unexplained.

The holes are interesting as speculation is that they connect to some underground caverns that could act as shelter from the harsh surface conditions. This could be a place where, if there is life on Mars, it could be more likely to have survived.

Submission + - Yellowstone National Park 2.5 Times Bigger Than Originally Thought (ecanadanow.com) 1

iONiUM writes: From the article: "According to Jamie Farrell, the lead author in a University of Utah scientific study of Yellowstone National Park’s super volcano, the magma inside the volcanic caldera is 2.5 times larger than previously believed and spans a distance of 55 miles." As well, the article notes "The Mount St. Helens eruption created an eruption column (hot volcanic ash) which rose 80,000 feet. By contrast, should the Yellowstone caldera erupt, its smoke would circle the planet. Scientists believe the eruption would make a global event causing damage throughout the world. It is believed that the last eruption occurred 640,000 years ago. Some researchers believe the caldera is due to explode soon which notion is disputed by Farrell. He explained that he doesn’t know when it will explode, which begs the obvious question of how he is the able to refute those who say the caldera may explode sometime soon."

Slashdot Top Deals

"It's the best thing since professional golfers on 'ludes." -- Rick Obidiah

Working...