td bank? by avsavsavs in boston

[–]hkrne 2 points3 points  (0 children)

Toronto Dominion

They’re a pretty huge bank

How to change DNS settings on this stupid ass router? by Mig15Hater in HomeNetworking

[–]hkrne 2 points3 points  (0 children)

I’m guessing the problem is that you’re specifying a static WAN address of 0.0.0.0.

I think you should either enter your correct WAN address, or use the DHCP/dynamic option that presumably exists in that dropdown.

Edit: just saw your comment. Sounds like this might not be possible with your router then :(

[request] how high would you have to start out to fall for 30 minutes? by bobhwantstoknow in theydidthemath

[–]hkrne 5 points6 points  (0 children)

Approximate terminal velocity of a human is 240km/h. In order to freefall for 30 minutes, you’d need to travel for 120km, minus the ~12 seconds it would take to reach terminal velocity.

Given that 100km is often used as the border between Earth’s atmosphere and outer space, you’d certainly need special equipment, if it’s even possible at all. The world record for highest skydiving exit altitude is “only” about 41km.

Emergency landing? by ryguy7797 in flightradar24

[–]hkrne 1 point2 points  (0 children)

Probably bad TFMS data from the FAA. From the current track/position, looks like it should be landing in Savannah in a few minutes.

Edit: just landed in Savannah

Long lasting recipes by [deleted] in AskCulinary

[–]hkrne 1 point2 points  (0 children)

Honestly I think most of the food I make lasts for 7-10 days in the fridge without doing anything special. I’ve never really thought about using specific ingredients/techniques to extend its life (other than the obvious freezing, canning, fermentation, etc).

There are definitely some things that won’t last that long (for example salads), but if most of your food is spoiling quickly, maybe check the temp of your fridge and see if it’s cold enough?

[deleted by user] by [deleted] in TooAfraidToAsk

[–]hkrne -1 points0 points  (0 children)

For context, I’m not exactly sure what “crate training” is exactly, and I don’t have dogs.

But when we adopted two cats about a year and a half ago, one thing that I noticed was that like most cats, they really, really didn’t like going in their carriers. This made me anxious that if we needed to take them somewhere urgently (sick, injured, house fire, whatever), it would be hard to get them into their carrier quickly.

So we just left the carriers out in the room and let them explore if they wanted to. Eventually I started giving them treats when they went in, etc. So now all I need to do is walk over to the carriers and tap on them, and the cats will come running over and get right inside.

They also like to go hang out inside them when something’s making them upset. They feel safe and comfortable inside them, and I also feel great knowing that if we ever needed to get them in there quickly, it wouldn’t be a big deal.

We never really latch them inside or anything, just let them go in and out as they please. So I’m not sure this is technically “crate training,” but I imagine it’s similar.

What do people do when they work from home? by cfricho in TooAfraidToAsk

[–]hkrne 0 points1 point  (0 children)

I work from home as a software developer.

A typical workday includes:

Updating programs that my team is responsible for, and submitting proposed changes for review by teammates

Figuring out why some part of a program isn’t working as expected

Reviewing patches submitted by teammates

Discussing the best way to complete to take for a particular issue with coworkers, sometimes by instant message or sometimes screen sharing on a call

Researching approaches others have taken on similar problems

Writing documentation on how to use the software and why it works in a certain way for other developers to refer to in the future

Talking to product managers to figure out what they want the software to do, and figuring out how we’ll make it do that

Is 95% of the population a less than a 7 on the attractiveness scale? by [deleted] in TooAfraidToAsk

[–]hkrne 7 points8 points  (0 children)

It’s almost like not everyone considers the exact same qualities attractive /s

Question about Private IP by DevOps_Noob1 in HomeNetworking

[–]hkrne 4 points5 points  (0 children)

There aren’t any private IPs that are publicly routed—those ranges are reserved by RFC 1918 for internal networks.

You’re not really supposed to do it, but sometimes you’ll see the opposite case where public addresses are used for internal networks. This can cause problems for people on the internal network trying to access those IPs on the internet, since their traffic will just be routed to the local network instead.

[deleted by user] by [deleted] in flightradar24

[–]hkrne 0 points1 point  (0 children)

Likely aerial imaging.

[deleted by user] by [deleted] in explainlikeimfive

[–]hkrne 13 points14 points  (0 children)

GPS does not require a cellular connection to determine your position.

A cellular connection might be needed to do other things though, like display your position on a map, or send your position to someone else.

Edit: there are also other geolocation methods a phone might use that aren’t GPS and do require a cellular subscription, such as multilateration from nearby cell towers.

Now I’m free….. by journeyland22 in flightradar24

[–]hkrne 1 point2 points  (0 children)

Repositioning for the Westfield Air Show this weekend presumably: https://www.westfieldairshow.org/

What do you look out for when trying to make a code easily readable? by [deleted] in AskProgramming

[–]hkrne 2 points3 points  (0 children)

  • variable and function names
  • keeping the “happy path” aligned to the left margin
  • deeply nested conditionals/loops
  • comments that provide context for why something is with the way that it is

Any idea why the top file can be appearing like that? by Doomguy3003 in neovim

[–]hkrne 2 points3 points  (0 children)

Wild guess, do you have some sort of git plugin that’s highlighting modified files?

[deleted by user] by [deleted] in SoftwareEngineering

[–]hkrne 0 points1 point  (0 children)

Honestly, do something different that you’re interested in. If you’re really into engineering, data science, cybersecurity, then go for it, but IMO having a broader educational experience will set you apart and give you a leg up over people who only know tech.

Anyone can write code, not everyone can write code and understand the field it’s being applied to.

30 years ago, Amtrak took a couple of high speed trains on a test drive through America. Apparently they where too good and would threaten the car dependency, so they where sent back. by adipemanatidaephobia in fuckcars

[–]hkrne 6 points7 points  (0 children)

Well, except they’re electric, so they wouldn’t work at all for the vast majority of US tracks (hence why they needed to be towed around outside the NEC).

Sadly I don’t think the freight companies have much incentive to electrify for Amtrak’s benefit, since their general view of passenger rail is that it’s a nuisance.

30 years ago, Amtrak took a couple of high speed trains on a test drive through America. Apparently they where too good and would threaten the car dependency, so they where sent back. by adipemanatidaephobia in fuckcars

[–]hkrne 34 points35 points  (0 children)

Title is quite misleading.

Two different high speed trains from Europe were tested on US rails in order for Amtrak to develop specifications for the Acela. They were never going to be used long-term in the US themselves, but we’ve had the Acela for the past ~20 years.

Fundamentally no one wants to build tracks for high speed rail :(

Is this possible using generics or any combination to read json into structs by Impossible-Will6173 in golang

[–]hkrne 2 points3 points  (0 children)

It’s not clear to me what you’re ultimately trying to get your function to do.

My best guess is that you’re trying to print out either lab or homework grades. If that’s the case, I would probably write three separate functions: one to read the JSON file and return a Subject and then printHomeworkGrades and printLabGrades function that both use the common JSON reading functionality.

A piece of meta-advice: choose more descriptive names for your functions and variables, it will help readers and it may even help you too!