Follow Slashdot stories on Twitter


Forgot your password?

Comment illegal but safe (Score 1) 1173 1173

Birdshot doesn't hurt people on the way down. It wouldn't even mar paint on cars. It has a surface area to mass ratio that makes it have very poor velocity retention. That said, you are completely correct about the legal ramifications. In almost any municipality in the US discharging a firearm, airgun, or bow is quite illegal. Blow darts seem to be an often overlooked category but they would probably call it an air rifle. If you are outside an incorporated municipality, such as when the burbs spread faster than they are annexed, you can shoot all you want in most counties, as long as the projectile does not cross a roadway, so shoot almost straight up and you would be fine.

Comment yes (Score 1) 1173 1173

On your property you should be able to shoot a surveillance drone that does not have a warrant that you have been notified of. Unless you are inside the limits of a municipality that decides that the discharge of a firearm is illegal inside city limits, which is pretty much all of them. Sounds like this guy was. If it was my daughter getting creeped I would be willing to eat the charges, but I would probably look into a more technical solution that would be legal.

Ideally you'd want to bring the drone down on your own property with plausible deniability that it was malfunction. You cannot legally search the contents of the drone's camera in many jurisdictions, and some of them do not even record locally. But when the controller shows up to claim it, you can ask for access to the video to verify that the drone is actually owned by that person and went down in your yard, being polite about it, just don't want to give it back to the wrong person you know. If they act shifty you know they were creeping, and if they give access and it is all staring at your swimsuited daughter you A.) call the police right then and there or B.) cause grave harm and then call the police.

The devices to bring down drones would probably be considered to violate the FCC, but it would be very hard to prove that you used one, and they will be popping up soon because of things like this. Running a microwave with the door off and the interlock disabled while pointing it at the drone would my first effort. But if that didn't work, some effort with an SDR would be needed and that would be late to need, so green laser pointer (probably even more illegal than a shotgun at this point), would be the next route. Shotguns are pretty safe when pointed up, they just don't have enough energy to do any damage on the way down if you use birdshot.

Comment made fun of? (Score 3, Insightful) 371 371

People didn't make fun of him, they got him fired. I am in favor of shaming people for incorrect behavior that is still legal behavior. But I don't think we should limit ourselves to socially unacceptable views on women and ethical or sexual minorities. We need to shame politicians and business people that give the appearance of impropriety in their dealings too. And we should be proportional in our response. If someone makes a bad joke, and then softens it when they realize it was a bad joke, we shouldn't get them fired, we should humiliate them for "acting like an ass in public" and watch them more closely to see if they are acting like an ass consistently towards people they work with. The latter is grounds for firing someone, but not a different sense of humor. Even if he was a misogynist, racist, homophobe, it wouldn't really matter as long as he treated all his coworkers with respect and based all decisions on merit. People are allowed to be stupid, and we are allowed (and encouraged) to laugh at them, but not fire them.

Comment which part (Score 1) 345 345

C++ is a decent language to choose for many types of projects, and which pieces of the language depends on which type of project that is.

Embedded applications: There are several sets of best practice for embedded or hard real time c++, no exceptions (unbounded latency), no dynamic memory allocation (fragmentation), no dynamic casting (unbounded latency), no recursion and on and on. There actually seems to be a bit of consensus on this best practice, but it varies with the constraint of your particular system and if it needs some safety committee's approval.

Systems programming (OS or driver): I have never read any best practice documents for this, but the code I have read all looks like C with classes. few or no templates show up I've noticed.

Large scale performance critical stuff (games among other things): Widely varying best practice statements and all sorts of different coding, I have no idea.

Scientific (matlab but faster): who cares, you just want the answer, not the software, right? Don't read this stuff, it hurts. but it usually works.

I always look forward to /. c++ posts. I know I'm being clickbaited by Nerval's but its sooo fun!

Comment Physics too (Score 1) 444 444

This article has some more details on the specific error modes. The examples given in physics involve processing collider result data. When the researchers knew what they were looking for they found it reproducibly. When they didn't have any preconceived notions it was discovered that it was a false positive. Some of these biomed and psych studies were the basis of policy and went un reproduced for years. This is a real problem, we should look for solutions.

Comment Re: better reasons (Score 1) 386 386

They know they need to work on the compile times and if you consider the time it would take the static analysis tool then it is understandable. The dependency detection part of the compile time issue is with cargo. I haven't gotten another make system to work yet but it might solve that problem too. They intentionally decided to hide the compiler flags in cargo so I intentionally decided not to use it. There are people using both autotools and cmake.

The other stuff is just minor as you said.

Comment better reasons (Score 3, Informative) 386 386

Given the support for the functional paradigm that rust has, I am dissapointed that parallelizing folds and maps is so verbose and thought requiring. Not sure why a fold can't just use all the cores like in haskell.

Sting slices vs strings. Verbose again but it works.

No tail call optimization, makes some FP stuff impossible.

No metaprogramming.

Regex library is slow. But I don't use regex and it is on the long list to improve.

Compile times. It rebuilds everything in a library or exe even if you only changed one line. Also it is just slow. Even hello world takes surprisingly long. This is really annoying because I have a habit of recompiling quite regularly as I code.

Cargo, the package manager and build system is inflexible in that it does not let you pass command line parameters to rustc. This means that if you want to cross compile or use simd or any of the other cool stuff you get by building on the llvm back end, you have to roll your own build system with make or cmake or whatnot.

That said, I am still excited about it.

Comment And India (Score 4, Insightful) 703 703

The four most populous countries use the death penalty and in total over 50% of the world population lives in nations where state aurhorized executions occur. Capital punishment is not unusual even among the worlds economic leaders. There are many good arguments against capital punishment but this isn't one. Instead cite 4% of those executed being innocent or the higher cost relative to incarceration.

Comment risk aversion (Score 4, Insightful) 112 112

I disagree. The inventors of the trebuchet had no idea about the Higgs, the inventors of the windmill didn't understand Bernoulli's work, and the first people to take Valerian root had no concept of biochemistry. We can use observed patterns to serve our needs without understanding the reasons for those patterns. Yes a lot of people died eating random plants, but there are a lot of us, and we learn quickly. My favorite part about engineering is using techniques to solve problems that no one understands yet. Its like magic. The best is when a true subject matter expert tells me "that shouldn't work!" and yet it does. Science always catches up and we are the better for it, but that is no reason to proceed with caution when we have so many people, and so much to learn. I would qualify this by saying test subjects should be informed and consenting.

Comment redundancy (Score 1) 158 158

As someone above pointed out, load balancing and redundancy are valid reasons to send packets with source IPs not in the originating AS. That mostly doesn't apply to residential subnets where the zombies are, but one reason does. I sometimes use LTE tethering and my home internet connection simultaneously because the LTE is as fast or faster than my home connection during non peak hours. I don't know if it is doing load balancing between the two uplinks, but why shouldn't it?

"Pok pok pok, P'kok!" -- Superchicken