Hacker Newsnew | past | comments | ask | show | jobs | submit | stirfish's commentslogin

AR-15

I know this wasn't your point (and I agree with you here), but I heard the exact same thing, word for word, when the Catholic priest was just breaking.

I've had trouble reading these from more than a few feet away, but I concede that I have no idea what I'm doing


Let's agree to disagree


lol

Let's go a step further and just iterate through them on the client. I plan on having this phone well past the heat death of the universe, so this is guaranteed to finish on my hardware.

  function* uuidIterator() {
   const bytes = new Uint8Array(16); 
   while (true) {
     yield formatUUID(bytes);

     let carry = 1;
     for (let i = 15; i >= 0 && carry; i--) {
       const sum = bytes[i] + carry;
       bytes[i] = sum & 0xff;
       carry = sum > 0xff ? 1 : 0;
     }
 
     if (carry) return;
   }
 }
 
 function formatUUID(b) {
   const hex = [...b].map(x => x.toString(16).padStart(2, "0"));
   return (
     hex.slice(0, 4).join("") + "-" +
     hex.slice(4, 6).join("") + "-" +
     hex.slice(6, 8).join("") + "-" +
     hex.slice(8, 10).join("") + "-" +
     hex.slice(10, 16).join("")
   );
 }
This is free. Feel free to use it in production.


What license is this? Company policy says we can't use Apache licensed stuff.


Free space heater


Sometimes when the politics deeply affects you, you just need a little break from it.


That's fine, it's also different from what was said


You can't take a break from that. I have transgender friends who fear for their life every day. They don't know what is going to happen to their rights or their healthcare. I have diabetic friends who can't work and also fear for their life because losing Medicaid would mean they will stop being able to afford insulin and will die. This is what people mean when they talk about politics being important. It's not just things that don't affect you, which is what most people mean when they say they don't care about politics. As soon as something affects you, you will understand.


And if all you do all day is worry about someone else's or your own problems and politics you will not survive. Everyone has problems. Every single person has an issue that could cause them to die or a political event that could cause them harm. Your friends are not special or unique. There are billions of people who don't know if they will have food for their next meal, don't have money to pay rent, struggle with an addiction, etc.

It's okay to watch a show about knights and demons and enjoy it. It's okay to use a piece of software that doesn't code every release as a protest against something. Instead of judging other people for not burning out, maybe take a break yourself. It's okay and normal.


> They don't have to die first. The company can avoid the expense by planning how not to kill people.

This is an extremely optimistic view on how companies work


I can think of one example where something similar works. The requirements from insurance companies on airline pilots are considerable tougher than the government ones because they are on the hook for ~$200m if they crash.

A big reason car companies don't worry much about killing pedestrians at the moment is it costs them ~$0.


You clearly haven't lived in my city :).

About half our road fatalities are pedestrians. About 80% of those are intoxicated with alcohol. When you're driving at 40mph, at night, and some drunk guy chooses to cross the road, no amount of safety features or liabilities can save him.

Sure, cars can be safer for light collisions with pedestrians where the car is going slowly. Especially in the US where half the cars have a very high hood. But where I live the problem is not safer cars, it's drunk pedestrians.


I wonder how a Waymo would do with your drunks? Really the answer for that is probably more a different road layout so the drinking is separate from the traffic. I live near Soho in London which is full of drunk people in the streets but most traffic is blocked off there or doing 10 mph.


I’ve been paying more attention to Waymos recently.. and noting that it stops to let people cross that i didn’t even see first.

And sometimes at places that aren’t even a cross walk.

Im in DTLA frequently and I am almost even developing a secondary instinct to cover my brake and have an extra look around when a Waymo stops in a street.

Because it may be dropping off or picking up a rider or it saw something or someone I didn’t. Just happened Saturday in fact. I saw it do an abrupt stop when I was yielding to it at a “T” intersection and expected it to have the right of way and keep going. I didn’t proceed until I could figure out WHY it had just stopped, like “okay WHERE’S the passenger”

and then five or so people started running across the street in front of it that I would not have seen if that Waymo wasn’t there and I was clear to turn left.

As an added bonus it stayed stopped after they all crossed and I decided to be a jerk and turn left in front of it. It stayed stopped for me too. There’s no driver in it. It ain’t mad. XD

I have a good eye for spotting uber drivers who are about to load or unload too, Especially if they have some common sense and are trying to line up to do that so their passenger can get on or off curbside. A Waymo is just.. way more immediately identifiable that I can react that much faster to it or just be like.. alright. I’ll take a cue from it, it’s usually right.

And hell even if it’s wrong, maybe this isn’t a good time to pull out in front of it anyway!


Why are you doing 40mph in a built up area at night?

Here in the UK we have a standard 30mph built up area limit, dropping to 20mph in most residential area.

Result - a massive reduction in serious injuries and fatalities, especially in car - pedestrians collisions.


Not so much a built up area. We're talking about main roads, or even motorways.


I haven't done it in a while, but you can do cubes (and more) too. Cubes would be the L3 norm, something about the distance between circles (spheres?) in 3d space? I need to read about norms again to tell you why or when to choose that, but I know the Googlable term is "vector norms"

I remember one is Manhattan distance, next is as-the-crow-flies straight line distance, next is if you were a crow on the earth that can also swim in a straight line underwater, and so on


How do I add a second spout to this can?

...

Well, the pump at the gas station doesn't fit in my car, but they sold me a can with a spout that fits in my car.

...

It's tedious to fill the can a dozen times when I just want to fill up my gas tank. Can you help me or not?

...

I understand, but I already bought the can. I don't need the "perfect" way to fill a gas tank, I just want to go home.


My favourite is this disclaimer in the question. lol

> Is there any way to force install a pip python package ignoring all its dependencies that cannot be satisfied?

> (I don't care how "wrong" it is to do so, I just need to do it, any logic and reasoning aside...)

https://stackoverflow.com/questions/12759761/pip-force-insta...


Remember when the R developers would ask and answer their own basic questions about R, essentially building up a beginner tutorial on stack overflow? That was a cool time


Human psychology is fascinating. If I say I'm cool, I'm full of myself. If someone else says that I'm cool, that hits different. So is reverse psychology.


Hey fragmede, you are cool.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: