×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Popular Smartphones Hacked At Mobile Pwn2Own 2014

CommanderK Re:Apple (52 comments)

No, PC browsers (with the possible exception of Safari?) don't do anything nearly so braindead, nor do any of the other kinds of PC software that use a JIT (a few examples: Java, .NET, Flash). You allocate the memory, with pages mapped R/W. You emit JIT-compiled code into a page. You re-map the page to R/X! Repeat as more pages are needed. You never, even have a R/W/X page.

For Chrome, at least, you're completely wrong. Chrome (or more specifically V8) maps all code pages as RWX, then starts writing and modifying code in-place in those RWX pages. Having writable code is required for several V8 features, like inline caches and code garbage collection. Chrome is just as bad in this regard as Safari. However, it's not allowed to do this on iOS, only on desktops and Android (AFAIK).

about two weeks ago
top

Facebook Introduces Hack: Statically Typed PHP

CommanderK Re:English? (230 comments)

All that effort could have been put into creating a PHP-to-Java converter or something along those lines.

They have created a PHP-to-C++ translator called HPHP (or HipHop), years ago. The code that it generated wasn't really human-readable or maintainable.

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Criminality can be relative (516 comments)

Much poorer countries than the US have far fewer felons (in fact, the US has the highest incarceration rate in the world). Poverty isn't correlated with the number of felons. I think it's ignorant for a citizen of the world's top superpower (and one of the richest countries on the planet) to argue about desperation. I grew up in a developing country, with many more poor people and in worse situations than any I've heard about in the US, and yet they don't go around murdering others for food (except if they're criminals). By the time the US is in that bad a shape, much poorer countries will already be much worse off and probably invading.

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Move. (516 comments)

We get plenty of systemic legalized taking from the poor to give to the rich.

Such as? If you're going to say "taxes", I'll object; taxes hit poor people the least.

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Move. (516 comments)

Then murder is definitely not justified (or even theft). Like it or not, you're competing against that group for money/resources, so you have to beat them in reasonable and legal ways.

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Move. (516 comments)

The Russian Revolution was a disaster, and brought about a century of poverty, crime and suffering (in Russia and a lot of Eastern Europe). Also, the revolutionaries killed not just the "rich oppressors", but also a lot of people they just didn't like: intellectuals, artists, scientists, small business owners and so on (including some of their own). Personally, I'm fine with preventing something like that from happening again, but not by giving into their demands.

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Move. (516 comments)

To me, the only valid provocation for violence is preceding violence (the only justified violence is self-defense). Someone not giving you their money is not "provocation" in my book. The difference between justifying and predicting it is simple: if it's just a prediction, then you also accept measures to prevent it (any measures, such as everyone arming themselves against these thieves).

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Move. (516 comments)

No, you know what he can, should, and will do? He'll fucking murder you, and take your stuff. If your world view relies on the underclass laying down and dying for your convenience, you're going to be in for a rude, and fully deserved, awakening.

That is a horrible and seriously criminal attitude. You're arguing that if others don't give you something you need, it's fine to just murder them (your words, not mine). Unprovoked violence is never justified; whatever your problems might be, you have to solve them peacefully (unless you get attacked first). This kind of Robin Hood-style violence does not belong in a civilized, developed society.

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Need for long-term view of society (516 comments)

How does this "true communism" you speak of differ from the one that's been tried, and has failed over and over and over?

about 8 months ago
top

Gates Warns of Software Replacing People; Greenspan Says H-1Bs Fix Inequity

CommanderK Re:Need for long-term view of society (516 comments)

we will have human level ai in 10 years, but even if you are not, 25-50 years is easily more than enough time to complete it

That's what people have been saying for the last 50 years or more, and I don't think we're any closer now than we were back then.

about 8 months ago
top

Russia Backs Sending Top Students Abroad With a Catch

CommanderK Re:Seems reasonable (167 comments)

University is effectively free, and you get a part-stipend, part-loan for your living expenses

It's not effectively free, you just pay for it later through higher taxes (schools cost money to operate, and that money has to come from somewhere).

about 10 months ago
top

Russia Backs Sending Top Students Abroad With a Catch

CommanderK Re:Seems reasonable (167 comments)

In the case of the US, a legal mechanism already exists to force foreign students to return to their countries. If a student studies in the US on a J1 visa, he/she cannot get another visa from certain categories (like J1 and H1B) or a green card for 2 years after the J1 expires. There's a way to get an exemption from this, but it requires that the student's own government signs off on it.

about 10 months ago
top

Russia Backs Sending Top Students Abroad With a Catch

CommanderK Re:Well it's not like they could get a visa to sta (167 comments)

That actually exists, it's the J1 visa. It has a 2-year period where you can't get another US visa (from certain categories, like J1 and H1B), and the only way to get an exemption is with approval from your own country.

about 10 months ago
top

Code.org: Give Us More H-1B Visas Or the Kids Get Hurt

CommanderK Re:What a disaster. (271 comments)

The reality is that any individuals interested in immigrating are going to do so via the traditional means, and that's assuming they didn't come here to study first.

What would those "traditional means" be?

about 10 months ago
top

Code.org: Give Us More H-1B Visas Or the Kids Get Hurt

CommanderK Re:My own proposal for fixing H1-B (271 comments)

That actually exists, it's called an investment-based visa (code EB-5) and it takes $500k to get (by investing that money in businesses in certain areas). Most foreigners don't have $500k though.

about 10 months ago
top

How Your Compiler Can Compromise Application Security

CommanderK Re:TFA does a poor job of defining what's happenin (470 comments)

The original x86 had 4 ring levels and segmentation, and at the time we got AMD64 no one was using them (or at least Windows/Linux/*BSD weren't using them). AMD removed security measures because they weren't popular.

1 year,27 days
top

Justice Department Slaps IBM Over H-1B Hiring Practices

CommanderK Re:Computer programming is not IT! (195 comments)

Here's a hint: there are parts of the US outside of the bay area. Bay area provincialism may have blinded you to that fact, so consider this a helpful reminder.

So? I don't get your point. Are programmers from outside the Bay Area prevented from applying to work at companies like Google/Facebook? Quite the opposite. However, if you're looking for a guy to write your next database engine/compiler/OS kernel/Internet-scale search engine, you will hit a shortage.

about a year ago
top

Justice Department Slaps IBM Over H-1B Hiring Practices

CommanderK Re:Computer programming is not IT! (195 comments)

They do fit in, but there's a huge distinction and there are different levels of "IT worker". Not everyone has the same skills or gets paid the same. In some categories there is a real shortage. For example, most "IT workers" can use a database engine (like Oracle or MySQL), but very very few of them could also write that database engine efficiently (how many sysadmins know what a B+ tree is?)

about a year ago
top

Justice Department Slaps IBM Over H-1B Hiring Practices

CommanderK Computer programming is not IT! (195 comments)

Both the summary and some commenters make the same huge mistake by putting IT people and programmers in the same bucket. A C++ programmer has completely different skills and responsibilities from a PHP/HTML programmer, who has a completely different job from a network/system administrator. The latter could be considered IT (and their pay is usually lower), whereas the former are developers (requiring extra creativity and more skill, and are better paid). In my experience working in the Bay Area, there really is a shortage of competent high-skill systems developers/programmers (the kind of guys who design Google and Facebook infrastructure, like Big Table), but not a shortage of PHP or Java programmers or sysadmins.

about a year ago

Submissions

CommanderK hasn't submitted any stories.

Journals

CommanderK has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?