HNHacker News
TopNewBestAskShowJobs

CodeAndCuffs

624 karma · joined August 8, 2017

submissionscomments
CodeAndCuffs··on What to do if you’re stopped by the police
Lying in court is always* illegal. Lying in general, e.g "I didn't steal anything", "I only had 2 beers", "These aren't my pants", is not inherently illegal. All of these are lies I've been told.

As a cop, if you get caught lying, i.e. intentionally false testimony in court, your career is effectively over. Any defense attorney can bring that one time you got caught lying up in court, discounting your entire testimony on every case forever, making you useless. No matter how bad you screw up as a cop, the number 1 rule is don't lie about it in court.

*Maybe not in some jurisdictions? But realistically yeah, always

CodeAndCuffs··on What to do if you’re stopped by the police
Citation needed. There are 700,000 cops in the US, some conducting 20+ traffic stops a day. How many people are being arrested because they asserted their rights? Especially in the age of smart phones and body cameras, it's pretty small. Of course it happens, no system is perfect, though we should strive to be, your rights aren't a formality. Don't flex them, exercise them. They're like muscles. Flexing is just showing off for no real purpose. Exercising them makes them stronger. Not exercising them makes them atrophy.
CodeAndCuffs··on What to do if you’re stopped by the police
Former cop here. The article states "You cannot lie to the police". This is, generally, incorrect. Some jurisdictions may have some specific law, but other than certain exceptions, lying has no general consequence. If it did, there would be a lot more charges against pretty much everyone who has been arrested. In my experience, people will lie about stuff that's not even relevant, or helpful to them.

Exceptions include things like giving a fake ID or name/dob or SSN to avoid certain identifications (e.g. on a traffic stop). Also, lying to a federal agent during their investigation is illegal, to my understanding. In Virginia, if you lie to the police regarding the investigation of a different person than yourself, it is considered obstruction of justice, though I can think of maybe one time that I heard of that law being used that way.

But in general, it's a good article. Assert your rights politely, but firmly. If the cop disregards it, don't try to stop them. If the cop does illegal stuff violating 4th and 5th amendment, there's a chance the case gets tossed (as it should). If you try to physically stop the 4th amendment violation, and you're wrong about it being a violation, you just made your problem worse.

Of the people who've accused me of violating their rights, 0 have been correct, but plenty of people have asserted their rights, and stopped an investigation that I had reasonable suspicion, but not probable cause on, and no further means to reasonably develop PC.

CodeAndCuffs··on Programmers Should Plan for Lower Pay?
Conversely, there are a lot of places on the internet that think that unless you have a BS in Comp Sci, and work in Silicon Valley, Bay Area, or NYC, you aren't a "real programmer", you're just some code monkey that can throw together a few npm packages. I think programming doesn't get compared to art as much as it should. There are certain metrics of "good" and "bad", but there is a lot of gray are and subjectivity.

In the golden age of Disney animation, you'd be a fool to say any of their animators were bad artists, but there were definitely better among them. There are also perfectly mediocre comic book artists who still make a healthy living. There is art with quality that is entirely subjective. All of this applies to code. The best senior dev on the backend team of a small company is probably a garbage coder compared to the new guy at some Bay Area startup. Code that one team calls elegant and amazing may be called overly complex and unnecessarily clever by another.

At the end of the day, being a programmer is easy. Being a great programmer is hard. Like many things in life, you can get a lot better if you practice at it a lot more, +/- the "talent" modifier. But at the end of the day if you can do basic 8th grade pre-algebra, and speak english, you probably have the education needed to be able to program professionally, its just a matter of learning the syntax and patterns.

CodeAndCuffs··on Programmers Should Plan for Lower Pay?
Every employment is in the benefit of the employer. They pay you money because you make them money. They aren't going to pay you 100k a year if they could fire you and only lose 50k in profit. You make them at least 100k a year. Also, not all coders are paid 65k a year out of college like this guy. I personally know coders only making 45-50k a year.
CodeAndCuffs··on On Oliver Sacks and His Obsession with Weightlifting
Rippetoe has a video of him deadlifting 500 pounds at age 56. He's not the peak of physical fitness, but he is significantly stronger than most people.

To say that his advice is antiquated is controversial at best. SS is written for the brand new beginner, and is advertised as such. Its prototypical student is a high school freshman that weighs 140 lbs and needs to get bigger and stronger to make the football team.

Another commenter said it ignores other factors like diet and rest. This is objectively incorrect. The book harps on eating and sleeping/resting. Rest days are sacred. If you are trying to go from. 100 lb squat to 300 in a few months, you sleep and eat, taking occasional breaks to lift heavy. If you are fat, eat slightly less.

SS isn't about body building, it's about a brand new lifter getting to a non-embarassing level of strength. That means eating an adequate amount of food, erroring on the side of eating too much, and just cut back the calories after you have a 300+ lb squat. People like to make a meme of things like the 'Gallon of Milk A Day' advice. That's not general advice. That's for the 110 lb 15 year old who doesn't like eating food and wants to get bigger. It's not advice for the 20 something software dev trying to go from weak and fat to bodybuilder

CodeAndCuffs··on UK police release airport drone suspects, admit there may not have been drones
This was literally a single court case of a single applicant of a single small department.

The ruling is that it is not literally illegal to refuse to hire someone for being smart. On an totally unrelated note, the applicant was an older fellow, and age discrimination is illegal.

The applicant was also hired as an officer in another jurisdiction.

Most departments that have more than 100 officers require a bachelor's or associate's degree. The department I worked for did not explicitly have this requirement, but I was the only person in our class of 96 hires that did not have either a college degree or military background. Most had bachelor's, a few had master's, some had doctorates.

On a completely separate tangent, law enforcement as a field is much like a skilled trade. To do it well you need a specific set of skills and the desire to learn them. Any high school graduate can do the job more than adequately if hes willing to listen and learn the stuff he needs to learn. At the end of the day a cop simply needs to be an honest person who understands the basic principles of the laws related to policing, and is willing to take calculated risks to help others.

CodeAndCuffs··on Why Do Hospitals Hate Sleep So Much?
For both of our children, the hospital caused us more stress and discomfort than anything else. Newborn baby's finally asleep, wife is comfortable re pain, finally start to get some sleep.

Then the nurse comes in at 2 am, writes her name on the board, asks us questions that they should have the answer to, then leaves.

Nurse change 3x a day, baby doctor checking in to ask if were ok, mom doctor doing the same, house keeping, meal people 3x a day. Plus any legitimate and needed medical attention e.g. baby shots/bath /moms wound dressing change

With our second, insurance would've covered another 2-3 days in the hospital, but my wife nearly had a mental breakdown between normal post partum depression, nursing difficulties, and people interrupting every quiet moment we have with our new family member, so we left asap.

CodeAndCuffs··on Fact vs. Fiction: Truths from Inside the Shaolin Temple
He did. He pointed to the largest and most viewed no-holds-barred event in the world. The reply implied that the UFC was not impartial. He asked for an alternate example.

He literally gave reasonable evidence to support his claim. The reply made a conflicting claim with no evidence, OP simply, respectfully, asked for evidence.

Yeah, the early UFCs were a commercial for the Gracie's BJJ, but there is no sign or credible claim that it was rigged. Royce Gracie won UFC 1, 2, and 4 over the course of 13 months. After that it was mainly wrestlers.

This isn't antagonistic, I would also like to see if there was a similar competition where 'traditional' martial arts fared better.

CodeAndCuffs··on Fact vs. Fiction: Truths from Inside the Shaolin Temple
What? The UFC lightweight title (155) was first held by Jens Pulver (a wrestler/boxer) then Sean Sherk (wrestler) then Bj Penn until 2010 (BJJ prodigy)

Every single UFC tournament has been won by wrestlers, sambo fighters, and bjj fighters, with the exception for UFC 3 where Steve Jennum (Ninjitsu) was an alternate and fought in the finals, where he won by a sloppy armbar.

The upperweights are similar. Historically dominated by wrestlers and grapplers

https://en.wikipedia.org/wiki/List_of_UFC_champions#Lightwei...

CodeAndCuffs··on Big Companies and the Military Are Paying Novelists to Write Sci-Fi for Them
I don't know about 100%, but it is quite a common thing. That said, even if you make a crime/situation/scenario up entirely, there is a good chance it has happened somewhere.

Case studies of actual investigations - what worked, what didn't, what the big break was, etc - are not uncommon in law enforcement academies and training.

When you watch stuff like CSI and Law & Order, their criminal investigation stuff is often about as accurate as their high tech and computer science stuff.

← PreviousPage 3 of 3