Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
Last Chance - Get 15% off sitewide on Slashdot Deals with coupon code "BLACKFRIDAY" (some exclusions apply)". ×

Comment Re:Knowledge of English (Score 1) 304

You can't just change operators, some ways of changing them would break the parser. For example: "if 5 > 6" might be normal, you can't change it to "if 5 0 6", you can't map "if" to "38" either.

But you can always do whatever you want to do, in your own pre-compile stage. Write code however you like, then write a converter to convert your syntax to the other one. If you can parse your own syntax, that's all that matters.

Also, > and GT are not the same in good languages. In perl, for example, the former is mathematical, the latter is linguistic. That means more than just a differing precedence too. It's a type-casting difference, it's also a readability difference. Am I reading math or logic, logic or instruction, programmatic algorithm or business application logic?

The difference is particularly functional with languages that recognize ">" as non-legible, and "GT" as letters. "gt" can be a case-insensitive match, whereas "GT" can be case-sensitive. > could interpret strings containing numbers (e.g. "File 123") as logically padded so File123 would come after File21, whereas gt would to the opposite.

Welcome to linguistic development. Anything can be done in at least a dozen ways. Some believe that makes the choice meaningless. Quite the opposite. It means that the choice you make says something about your code, and that enhances readability.

Comment Re:Most obvious problem: its questionable legality (Score 1) 135

Those aren't considered serious injuries. We're talking broken bones, and potentially life-long injuries.

But, as was said by another, within a licensed sparring gym is a different matter. I'd imagine that it's supervised, there are medical-safety measures and procedures in place, including someone to stop the fight, and I'd guess that the gym is somehow licensed or registered for it.

Comment Re:Most obvious problem: its questionable legality (Score 1) 135

In many countries, you simply cannot consent to serious injury -- at all, ever.

Things like boxing (and hockey) wind up being "prize fights", are under heavy regulation, and are supposedly set up with enough safety procedures to avoid serious injury, with exceptions being considered errors, and dealt with accordingly.

Cool, I guess there's one exception: you can consent to organ donation!

Comment Umm, no. Surface area? (Score 2) 220

There's often a lot of focus on actual/active security, and a lot less on determining the need for that security. Think of security like a power-to-weight ratio for performance.

The goal isn't to have great security. The goal is to have no successful attacks. "no successful attacks" is approachable from two primary vectors: "successful" and "attacks". Security focuses on the successful vector, by resisting.

Certainly, when it comes to contracting a provider, or rolling my own, a big provider might be better than I am. Of course, I can hire a consultant and get the best of both, and a big bill to match.

Obfiscation is not security. But it is a reduction in the actual number of attacks -- so long as it's working, of course.

I've been with small providers, I've been with large providers, I've been with Rackspace, and I've rolled my own.

The truth is that all four scenarios have had plenty of attempted attacks. But dive a little deeper, and something way more interesting appears.

When I rolled my own, I got loads of random attacks, mostly from China. Nothing persisted for very long. Nothing was particularly focused. And nothing was complicated. Almost all were easily dodged with standard surface-area-of-attack controls, like closing unused ports and not having general server bloat.

When I was with Rackspace, I had loads of help from their excellent support teams, and on occasion, wow did I ever need it! Persistant attacks, lasting for days, targeted attacks, ddos attacks with large systems on the other end. At one point we had over a dozen rackspace support personnel just fighting to kill stuff fast enough to keep performance up long enough to identify and resolve the issue without needing to take the server entirely offline.

I was very happy with Rackspace, and was with them for a decade. Now I'm rolling my own again, things are just much more stable that way.

So what's your preference? Being in a military compound, protected by a thousand soldiers in the middle of a war-zone; or being completely unprotected, on a mountain side, in upstate montana?

I'm choosing big-sky country, personally.

Also, I believe that Rackspace is partnered with a very familiar government spy agency quite directly -- since they both moved campuses at the same time the other year, and I was greeted quite aggressively, as you would imagine, when I visited Rackspace for a tour, and accidentally pulled up to the unmarked neighbour. Probably appropriately so, given that it was on a september 10th.

Comment Re:I'm majorly confused (Score 1) 291

In those cases, where your plans are based on the sun, you ought to be basing your schedule on the sun.

You can easily start work an hour after sunrise. If the sun matters to you, you'll skip the days when it's raining, or you'll wait for the rain to pass.

"we leave at first-light" means when you can see, not when the sun is blocked by clouds.

Say what you actually mean.

But the primary function of time today, is not to synchronize activity with the sun. Today, it's to synchronize human activity with other human activity, often across great distances.

For example, I'll call you at noon. Wouldn't it be nice if we had the same noon? I'll see you in six hours -- on the clock or on the stopwatch? Wouldn't it be nice if 8 were 6 hours after 2 -- always?

I just watched a few series of baseball playoffs. The number of broadcast networks who said "the game starts at 7" for a game being played by two teams local to different time-zones! So half the fans are early or half the fans are late?!

Hey, one network even said " 7 ET". There is no such thing as ET. There's EDT, and there's EST. You figure out which one they meant.

And oh, by the way, what happens when a game is announced this week for next week? Which time do you think the announcer's schedule is going to show him?

Comment Re:I'm majorly confused (Score 1) 291

You mean if 12am is 12pm? Don't get me started on the stupidity of repeating times in the same day, or starting counting at 12, or that no girlfriend I've ever had can handle a 24-hour clock on the night table, or that every clock in my life, including six clocks in my kitchen, supports a 24-hour clock except my microwave.

But to answer your question directly, no, I don't care. It's been so many seconds since I started counting. It's 1205 because it's been 12 hours and 5 minutes since we started counting.

I'm really tired of stupid date math. Bad enough it's already five different bases across six different numbers, with three of those bases dynamic based on four of the others.

Comment I'm majorly confused (Score 4, Insightful) 291

In my 35 years, I've always seen time as a counted measure of how much time has passed since I started counting. I seem to be forever learning that's my novel idea.

Why should I care where the sun is, where the moon is, where the earth is, with respect to time? If it's winter, I can start work at 9, I can start at 10, I can start an hour after sunrise. I don't need to adjust my clock to start work at the same clock-display every day. I see nothing wrong with a company that has different business-hours by the season.

Similarly, since I'm not in the old west, I don't care if "high noon" is an noon, or 1, or 1 second after noon. I've never determined the time based on the sun.

Last I checked, we have perfectly wonderful time-keeping and gps devices these days. So ocean ships and submarines no longer need a sextant and a chronometer to figure out when and where they are.

So here's my petition. I'd like time to always move forward, and the same rate of 1 second per second. I'd like it to not jump, leap, crawl, rewind, fast forward, restart, end , or eject.

Shit, I just realized that I'm not 35 years old. Or I am 35 years old, but not when measured in seconds. Wait for it...ok, now I'm 35 years old. Phew.

Comment Ready for the spam? (Score 4, Informative) 78

Welcome to allowing anyone to make my phone beep a thousand times every minute while I'm at dinner.

What do you think my father is going to do when his phone asks for authorization that he didn't instigate? He's going to call me saying that his e-mail is being hacked. ...and when it happens a dozen times an hour, he's going to accidentally authorize something -- and then have no idea what's happened as a result.

Comment Umm, so children are people too? (Score 1) 257

Yeah, food pairings, who'd have thunk it?! Oh wait, every chef since the middle ages.

And no, veggies don't pair with fried foods. I'm betting that after fried chicken nuggets, and fried burgers, there's no nutrition left from the veggies that just slide right through.

Oh, the sequence you say? Right, like the antipasti course, the salad course, the appetizer course.

And, this is just my observation, tell me if you've heard this before, you don't want your burger to get cold, so you'll eat it while it's hot. Then you've got cold veggies, which are decidedly less appealing.

So, let's summarize: children, aka hungry hungry humans, forced to eat an entire meal in a single plate, choose to eat the hot entree, aka the most nutrient-filled, food, first, and then may not remain hungry for something that should have been eaten long before.

And we're surprised? We're surprised that a one-plate one-course meal isn't fully balanced? That's why the nuggets ought to have been served with a tangy marinara dipping sauce, wherein three servings of veggies could have been blitzed.

Money is better than poverty, if only for financial reasons.