Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:or... (Score 2) 363

Seriously, when was the last time you used Google maps? Not only the one on my mobile phone but the one on my desktop tries to give me first the quickest route (which usually involves hiways for long periods of time), second an optional route with no tolls, third several other route choices of different combinations. No seriously, they have had an "avoid tolls" check box on there site for the longest time.

Lastly, it tends to be faster than my garmin at recalculating (and more precise) but my garmin is like 6ish years old so that probably has little to do with them and far more to do with me failing to update my tech.

Comment Re:Cell phone WAP (Score 1) 267

It could, yes, it could also just get me disciplined, but that's up to HR and my direct manager... if I'm even detected. None the less, network administrators really do have a god complex if they think they can fire other people. All they can do is let the manager know and handle it (which is usually "dude, knock it off" and you knock it off).

But I'm also not doing anything heavier than standard web traffic and not going to really any sites that are truly offensive (but for some reason work finds facebook okay and cracked an evil bastard child). Mostly server maintenance or personal notes on my server. I am kinda a boring person in retrospect.

Comment Re: Like the nazi used to say (Score 1) 431

A couple of kids have, here is one

Admittedly not a nuclear bomb, just a reactor but none the less. I will agree to a certain extent acquiring knowledge does not in itself justify breaking the law. However, sometimes the pursuit of knowledge requires it. Ask Galileo. (Admittedly that is a false equivalency, but so was petty larceny to building a nuclear bomb).

Comment Re:Cell phone WAP (Score 2) 267

pshhhhh, ssh (or other protocol) tunneling on an unblocked port always worked for me...

The point is, you can't really stop an informed employee/network user from getting around your firewalls. Worst case scenario they just chain off the phone. The downside to this is you still need a firewall to block malware sites. Informed users can still end up on those so that is a potential vulnerability but non informed users have a much higher chance without some type of web blocker. So I'd say just keep a blacklist of known malware and open everything else up (or yeah sign in/log/tag time). But I'd definitely keep the malware sites blocked.

Comment Re:For 100 points... (Score 1) 101

Google sued bt and apple at one time. Both settled and they've never really been aggressive, but still... Change of management, change of CEO, change of corporate policies, downturn in their economics. No one should have nukes or everyone should have nukes, that is really the only way to sustain. (In case it's not clear nukes are a metaphor here).

Comment Re: "...keep everyone who uses the Internet safe." (Score 2) 91

My opinions of the ACA not-withstanding, what do you call 17 U.S. 518 (1819) and 118 U.S. 394 (1886).

I used wikipedia for easy access, but I provide the reference numbers if you like to look them up. And these aren't the only cases, (note one is 1819 so don't even begin to say this wasn't established in the early years of the US). The SCOTUS job _IS_ to interpret the law, actually it's not just limited to the SCOTUS but the judical branch interprets, lower courts are forced to take a higher courts interpretation though.

Comment Re:It might help if courts took hacking seriously (Score 1) 40

Because that has worked so well in the United States. Last I checked we criminalize everything over here including hacking and it's not taken exactly lightly. But people still do it, and people still sell drugs! We need a better solution, but using the legal system doesn't work. It really doesn't. I'm not going to whine about people losing their future livelyhood or how bad prisons are. I just want to point out kids still do it as a hobby and so do adults.

Comment Re:Why offer only xml? (Score 1) 6

I'm not sure if you read through the solution I proposed though, the idea above is that you would generate both json and xml (actually specifically it would be json->xml and it would look like this):

public static String createXmlObjectFromPojo(MyPojo myPojoIAmTransforming){
JSONObject jsonObj = new JSONObject(myPojoIAmTransforming);
String xml = XML.toString(jsonObj);
return xml;
}

In a handy little static util (5 lines of code), but then you could take it further and offer BOTH JSON or XML (esp if you are using spring but as long as you have a url mapper, I am going to write it like I am using spring mvc).

@Controller
MyController {
@RequestMapping("/url/request.json", RequestMethod.GET)
public String returnJson(ModelMap map){
//Do all your logic going to assume you've created the bean to return your pojo
return new JSONObject(myPojoIAmTransforming).toString();
}

@RequestMapping("/url/request.xml", RequestMethod.GET)
public String returnXml(ModelMap map){
//Do all your logic going to assume you've created the bean to return your pojo
JSONObject jsonObj = new JSONObject(myPojoIAmTransforming);
String xml = XML.toString(jsonObj);
return xml;
}

Then just have a common method that handles your logic generation (you can even further reduce the code but I'm typing this off the top of my head, just been doing it for a decade or so...). Then you don't have to use anything like jaxb and code proliferation. You just keep your code nice and tight with your restful services. Hope this helps!

Comment Re: Like the nazi used to say (Score 5, Insightful) 431

You are right, it doesn't, but good chance we all have done similar. If not, I weep for your young adulthood. It was abandoned and a calculated risk of a kid who couldn't afford to buy his own. This is what we call a gray area, the intention was fine by most but by the law, his life will be ruined in the pursuit of further knowledge.

Yay America.... Where gaining and pursuing knowledge is socially unacceptable.

Comment Re:rip-off (Score 4, Interesting) 296

However to filter out on the fact they don't have a certificate (or degree) means to lose out on some of the better programmers.

I've had a pretty bad experience using certificates as a filter. Instead I take the time to read through and see what technologies they may have worked with. There is no easy answer to "how to filter", with certs I've seen _a lot_ of bait and switch. So yeah, when going through a large stack of resumes, I first filter out who doesn't seem to have the majority of skills I'm looking for (and they are local), then that takes it down to 20-30. That is a much more manageable list. But I'm also more often looking at people with experience so my starting set tends to be smaller.

Comment Re:Why offer only xml? (Score 1) 6

Cool, I'm looking forward to what your solution was! Finding easy ways to transform an object into xml has been difficult for a great long time. There's solutions like JAXB but I really do not like generated classes. I'm also curious if you went with a framework solution or a java general solution.

Comment Re:Five is plenty (Score 2) 159

4 - 5 hours, but sometimes I'll sleep 6-7. I kinda let my body dictate it's own rhythm and wake up when it tells me to (which kinda sucks because it typically alternates between 4:30am and 5:30am even though I don't need to be at work until 9am). So I wake up, catch up on my news in bed while I shake off the last bit of sleep then roll out of bed and do calisthenics. Shower, then walk into work. Because I have the time, so why not?

Comment Re:This triggers my WW3 theories. (Score 1) 190

Really, you know why we don't freak out about this? It's really not that far fetched, it's because there is nothing the average person can do about it, except carry on and carry forward. Us in the software and infosec realms have been screaming about security for decades, some changes have come out of it but not many and definitely not at the rate that exploits are found. And sometimes, bad people get lucky and find the master key to hack all. Simply put though, we come back to the problem of "nothing we can do about it".

Tell me, WW3 breaks out, or just whatever events that you have listed happens. I should drop everything and do what?

If the worst happens, let me tell you what I will do, I will work with my neighbors to restore life back to the level we previously had because working as a group is the way to success. While I do this, I will hope like fuck someone doesn't take the opportunity to murder my face with some ICBM. Beyond that, I have water filters to clean water that I use for backpacking, I have hunting and foraging equipment for food (if god forbid we run out of food and the crisis lasts more than 21 days), and I'm pretty sure the thousands of cops will be out basically holding marshall law while requiring people to ration (as we would be doing).

What get's me is the idea that people believe the entire community will dissolve into an anarchist, murdering mass as soon as the simplest thing fails.

Slashdot Top Deals

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...