Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

LordKronos Re:Python False = True (729 comments)

Do your new hires routinely circumvent 2 layers of security mechanisms just to alter the values of Integer objects? Sounds like you have some shitty new hires. What you really should be teaching them is that, if they have an Integer object with a value of 2 and they want it to be 3, then rather than use the reflection API to bypass private and final modifiers and turning off the accessibility restructions, they could just do "new Integer(3)" or "Integer.valueOf(3)" and be done with it.

I'm sure as hell glad I don't have your shitty new hires working with me. Nor your stupid ass teaching/hiring my coworkers.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

LordKronos Re:Python False = True (729 comments)

OK, if autoboxing is crap, then you should just consider it invalid to assign a primitive type to an object type. Thus I guess you made a coding error when you wrote the code that did autoboxing. Shame on you.

Now, back here in the real world, you went OUT OF YOUR WAY, even going so far as to explicitly circumvent 2 levels of security measure, just to FORCE the problem to occur. That's like claiming the scissors you bought are unsafe because they made you go blind when you jammed them into your eyes.

Sorry, but the autoboxing is completely safe unless you take explicit measure to attempt to make it unsafe. Don't go whining just because the language didn't protect you from yourself. It actually tried, but you told it not to. If you can't trust yourself not to be an idiot, then just run all of your code with an appropriate security profile in place and you'll be all set.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

LordKronos Re:Python False = True (729 comments)

I'm not sure Id say this is "due to the nonsensical autoboxing syntactic sugar". This only works because you "hacked" the system.

1) You aren't allowed to modify the value of an Integer object, as the value is both private and final. You worked around that by using reflection to get at the object's variables in the roundabout way.
2) Even then, you wouldn't be allowed to modify it because of security restrictions. However, you also explicitly turned off the security restrictions.
3) The only reason you were even able to turn off the security restrictions is because you were running in an unmanaged environment. In that situation, it is assumed you have full access to do pretty much anything you'd like. However, if you were running in any sort of managed environment with a security manager installed, you wouldn't have been able to do that.

This is really not much different than C++, where it's assumed you have full access to everything. You can take a const, get a const pointer to it, cast that to a non-const pointer, and then modify it. Even if that constant value were stored in a non-writable code page, you could make the code page writable if you were running in an environment that allowed you to alter those permissions. I haven't done such a thing in a VERY long time, so I'm not sure if Admin access under windows these days gives you that level of access, but I'm almost certain linux root level would allow it.

about two weeks ago
top

Two Explorers Descend Into An Active Volcano, and Live to Tell About It

LordKronos Re:They descended (66 comments)

I think all 3 of those were the same degree of closeness, just difference camera angles and zoom.

If you look at the shot at 0:52, you can really see there are only 2 ledges in the volcano. There is the really close one at the very edge of the lava, which you later see getting splashed with lava continuously, and at one point even see a piece breaking off. These guys clearly did not go to that one. Then there is another rim which is probably 80-90% of the way down. That's the one I'm pretty certain they filmed themselves standing on. According to their blog (http://www.stormchaser.ca/News.html) they repelled 1200 feet down to get there. So if my estimate of 80-90% is correct, then they are 100-300 feet above the lava surface at that point.

about two weeks ago
top

Invasion of Ukraine Continues As Russia Begins Nuclear Weapons Sabre Rattling

LordKronos Re:So what should we do? (789 comments)

What sort of troll modded this insightful? Oh yeah, Obama golfs a lot. Well, maybe instead of the 3 or 4 iron, maybe Obama should go with the Crawford, Texas Ranch

about two weeks ago
top

Deputy Who Fatally Struck Cyclist While Answering Email Will Face No Charges

LordKronos Re:From the linked article... (463 comments)

There are plenty of facts there to be outrage about. Was he legally allowed to use the device while driving? Yes, but that doesn't mean he was legally prohibited from stopping before using it. If the nature of the communication was such that it was reasonable to give an immediate response, then pull the fuck over and respond. It's not like he's in pursuit of somebody. Just pull over, give your immediate response, then continue on your way.

Second, "the narrow roadway curved slightly to the left without prior warning"? Without prior warning? How the fuck does it do that? So he looked at the roadway, he sees it is perfectly straight, looks away, and then the road suddenly reshapes itself to curve slightly to the left? If the officer needs to look away from the road, he should first
1) get a good look ahead at the roadway
2) Identify any obstructions that may be coming up (such as parked cars, traffic cones/barricades, etc)
3) Identify anything or anybody that might get into his way in the next several seconds

Only once he's done all of the above and decides he's almost certain to be in the clear for the next several seconds, THEN he should look away, but not for more than a few seconds at a time. Even that is risky, but for anything more than just a few seconds, you absolutely can not know what you are about to encounter (unless you are on some divided highway in the middle of nowhere with few cars, and no entrance ramps around). He most certainly should NOT be looking away long enough for him to travel more than the distance he can see ahead. If he didn't see that curve, then either he didn't look very carefully ahead, or he had his head down for a VERY long time.

I also have issues with the guy having worked there for 16 years and not being familiar with at least the major roads. I understand he works for the county and not the city, but still. I think I can do better than that for the roads in my county, and I don't have a job where half the job description is practically 'driving for a living"

about two weeks ago
top

Linux 3.17-rc2 Release Marks 23 Years of the Linux Kernel

LordKronos Re:So, 23 years ago he was trolling (106 comments)

Furthermore, in the very first reply, somebody is already trying to port linux (to an amiga)

about three weeks ago
top

Princeton Nuclear Fusion Reactor Will Run Again

LordKronos Re:Public cynicism about fusion (147 comments)

We've been chasing the mythical beast of fusion for decades and are not any closer to it this century than we were last century.

First, I think you are wrong. There has been a lot of progress, and although were are not yet CLOSE, we are CLOSER.

That said, how many hundreds of years did man spend trying to learn how to fly? Guess we should have given up on that pursuit a few hundred years ago.

about three weeks ago
top

Microsoft Considered Renaming Internet Explorer To Escape Its Reputation

LordKronos Re: Call it Web? (426 comments)

Microsoft Chair - makes the internet so fast, it flies.

about a month ago
top

Enthusiast Opts For $2200 Laser Eye Surgery To Enhance Oculus Rift Experience

LordKronos better subject line for story (109 comments)

man gets lasik, news at 11

about a month ago
top

Netflix Now Works On Linux With HTML5 DRM Video Support In Chrome

LordKronos Re: Why is (201 comments)

Rather than "actually" how about "I could theoretically care less"

about a month ago
top

Sony Forgets To Pay For Domain, Hilarity Ensues

LordKronos Re:Black hole? (277 comments)

Because something that has to be done every year gets done every year, like taxes.

Something that has to be done every 10+ years is a lot more likely to get lost and forgotten.

And yet, here we are...looks to me like it DIDN'T get done.

See, the thing is, like I said I do, you DON'T have to wait 10 years. If you want to make it a policy to bump it up to 10 again EVERY year, then do that. You stay in the habit, but you've still got that huge buffer. Your policies and procedures would have to fail you 10 TIMES IN A ROW for it to even get to this point. It seems pretty likely to me that at SOME point in those 10 years, some sysadmin or manager would come along and say "so who handles domain renewals around here", and everyone would look at each other, and they'd figure it out these domain's have been neglected for 5 years, and then they'd be able to fix the problem before it was a problem.

about 2 months ago
top

Sony Forgets To Pay For Domain, Hilarity Ensues

LordKronos Re:Black hole? (277 comments)

Actually, 10 years is the max registration. And that's exactly what I do. Throwaway domains that I'm experimenting with might only get a year or 2, but once anything becomes important to my business, it gets renewed for 10 years. The same is true for my personal domain. And every couple years I go through and bump it back up to the max. I'd literally have to go 10 years without remembering to renew a domain before one would expire. I can't see why any business would do otherwise.

about 2 months ago
top

Rocket Scientist Designs "Flare" Pot That Cooks Food 40% Faster

LordKronos Re:So what about those of us who don't have gas st (204 comments)

Nope:

http://home.howstuffworks.com/...

The clear winner in the energy efficiency battle between gas and electric is gas. It takes about three times as much energy to produce and deliver electricity to your stove. According to the California Energy Commission, a gas stove will cost you less than half as much to operate (provided that you have an electronic ignition--not a pilot light).

about 2 months ago
top

Public To Vote On Names For Exoplanets

LordKronos Re:Connotations (127 comments)

No religious connotations. So names like "Jupiter" and "Mars" and "Pluto" are right out. Even names like "Charon" are verboten.

<cough>

Even though, to an athiest, they may seem the same, there is definitely a difference between religion and mythology. As far as I know, Jupiter, Mars, and Pluto (and Charon) have mythological connotations, but not religious. I'm not aware of anyone who still worships or believes in the Roman (or Greek) gods.

about 2 months ago
top

Tesla Aims For $30,000 Price, 2017 Launch For Model E

LordKronos Re:What about range on this smaller car? (247 comments)

Don't blame me. I wouldn't know. The person I was responding to was the one quoting the 5% per year figure.

about 2 months ago
top

Tesla Aims For $30,000 Price, 2017 Launch For Model E

LordKronos Re:What about range on this smaller car? (247 comments)

OK, so even at 5% per year, in the 5 years between the model S and the model E (assuming it comes out in 2017), that's almost a 28% cumulative improvement.

I'm not sure how much more weight a steel vehicle typically is vs an aluminum one. I know the 2014 F-150 weight roughly 5000 lbs, and on the 2015 F-150 the use of aluminum is supposed to knock off about 700 lbs compared to the 2014. So in that case, that's less than a 20% increase in weight by using steel rather than aluminum. On top of that, with all the talk of this new aluminum F-150, it's started a bunch of talk about ways to produce steel panels that are lighter, making them weight competitive with aluminum but at significantly reduced price.

about 2 months ago
top

FTC Says T-Mobile Made Hundreds of Millions From Bogus SMS Charges

LordKronos Re:Disappointing (110 comments)

Nope sorry, you aren't comprehending again. You said "no refunds are possible", but yet I got a refund, so it is at least POSSIBLE (and again, I make no claims about other peolpe's experiences, just my own).

And yes, I am a PREPAID customer, not their new month-to-month program. I've been a PREPAID customer since about 2005 (give or take a year), which is long before their current plans existed. I pay $100 (slightly less online, actually) to get 1000 minutes that are good for 1 year. That is their PREPAID program. So YES I understand PERFECTLY.

about 3 months ago
top

FTC Says T-Mobile Made Hundreds of Millions From Bogus SMS Charges

LordKronos Re:Disappointing (110 comments)

According to the allegations, pre-paid customers aren't notified at all, the money just disappears from the account and no refunds are possible.

From my other post (to which you already replied and tried to put words into my mouth), I received a refund on my account. I didn't mention it there, but that was a prepaid account. So it clearly is POSSIBLE to get a refund, and they gave me no hassle over the matter.

about 3 months ago
top

FTC Says T-Mobile Made Hundreds of Millions From Bogus SMS Charges

LordKronos Re:T-Mobile's Reponse (110 comments)

So your experience is that of the 1 time t-mobile helped a company rip you off, they refunded the charges, therefore the percent of customers who didn't get a refund must be different than accused by the government.

I really can't see how that would follow. Your experience validates half the accusation, and they're not accused of never refunding anybody, only of not refunding a bunch of specific people... who really didn't get refunds.

You need to work on your reading comprehension. Did I say any of the stuff you seem to be suggesting I did? No, I only said "my experience with these bogus charges supports t-mobiles claims". That's just me providing my data point. Others in this discussion will do the same. When we have a bunch of them, we can read them all and draw our own conclusions as to whether we believe the accusations are accurate or not.

about 3 months ago

Submissions

LordKronos hasn't submitted any stories.

Journals

LordKronos has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>