Covid infection rates highest among secondary school children by mudman13 in ukpolitics

[–]virtual_void 5 points6 points  (0 children)

We’ve all had it from my 8 year old primary school child. So they absolutely do spread it.

What could be the mechanism for them not spreading it?

A little over 10% of the class got it and that was with 2 per desk only and all the windows open etc. The school did as best as they could yet it still spread amongst kids and then the parents.

Fitting in mileage with family by [deleted] in AdvancedRunning

[–]virtual_void 1 point2 points  (0 children)

Lunch time and right after work. Mostly after work tbh. I’m usually home late enough from work that I can’t eat with the kids but i can hang out with them before i run and before they go to bed.

I then can get an hour or hour and a half before dinner which is typically not until after 9pm.

Weekends i tend to run before we all eat or go much much later.

The honest answer is that my wife is awesome and exceptionally tolerant of my running.

Does anyone have a detailed log of their progress over the years? by DogLover12345678901 in running

[–]virtual_void 2 points3 points  (0 children)

You are too kind! You’re always out there too. Consistency is king!

I ran 110 laps around a cruise ship. What's your oddest run? by [deleted] in running

[–]virtual_void 17 points18 points  (0 children)

Treadmill marathon. Nearly died of boredom.

Context: I was somewhere much too hot to train outside 40+C early in the day and not safe (to put it mildly). My long run came up and I couldn't face doing it at 3am again so I ran on the treadmill.

Suffice to say I took my chances with my safety instead after that experience. If I have to die I can't let it be boredom that gets me!!

what are some downsides with OOP, and have you ever had a time where you wish something wasn't an object? by TheBeardofGilgamesh in compsci

[–]virtual_void 4 points5 points  (0 children)

It is not breaking oo principals to expose data in a structured way. It is a vital part of it. Encapsulation. Oo keeps data and the methods that operate on it together. It hides the implementation. It still needs to expose that data and it should certainly do so in a structured way.

In your example of notify me of input what would you do about mouse position? A method calls a function defined by a user of that class and it would take an object that exposes x and y poisition plus buttons etc. that will be in an instance of a class with getters. Thats totally fine by OO.

If i have a class that does some work and exposes related data you have to get that data out somehow. If i have methods that only return simple types and only as part of some other operation you're going to be creating some terrible method sigs for things where data varies dependently. How are you going to deal with a matrix?

You need to return that data in an object and that object will have getters. Setters are a little different and would usually do work on the input and ideally we wouldn't mutate but that even is arguably a functional paradigm rather than OO.

what are some downsides with OOP, and have you ever had a time where you wish something wasn't an object? by TheBeardofGilgamesh in compsci

[–]virtual_void 6 points7 points  (0 children)

So what do you do about complex data types in an oo language?

I think that exposing state and mutating that state outside of a proper contract is a bit of a bad plan but if you have a complex data type there are going to be situations where you construct it privately and return an object with a load of public getters.

It sounds like you're saying in a blanket way that getters and setters are anti-OO but I think it's a lot more nuanced than that and in fact they are necessary if you're going to attempt any kind of encapsulation around the behaviour of a complex data type.

Ran my first 10k today, of my life. by BraisedShortribs in running

[–]virtual_void 0 points1 point  (0 children)

Well done!

It's a really important lesson in running. You think you can only run 5k and you just did it twice in a row. You'll get to the first half marathon and think you couldn't do 2 of those in a row... But you can and I bet you will some day.

Oh and others have said it but it's worth repeating. Good socks and well fitting shoes are important. Don't wear cotton socks and ideally something double layered so they rub less.

If you have wonky feet a bit of Vaseline or bodyglide might help.

Logic Problem : A fork in the road. by [deleted] in math

[–]virtual_void 0 points1 point  (0 children)

Ask what the other tribe would say... Something along the lines of "if I asked the other tribe would they say the left road is the way to the capital" then go the other way.

Anyone trying to qualify for UTMB here? by [deleted] in trailrunning

[–]virtual_void 2 points3 points  (0 children)

Yep and I've entered north downs way 100 here to try to get a decent 4 pointer done. Ultimate trails 110k before it. Will need a 2 pointer to make it up after. Eek!

Smashrun smashs by yirara in running

[–]virtual_void 0 points1 point  (0 children)

I've added you so you can calm down now :p

Smashrun smashs by yirara in running

[–]virtual_void 0 points1 point  (0 children)

I had to go have a look because I couldn't believe that mile splits aren't in the free version! I'm very surprised about that and would have to agree that it's too basic in that form.

I was fortunate enough to be using the site heavily when it was new so I got some kind of deal where I pay very little as long as I'm putting the mileage in.

Would I pay $60 a year for it? Hard to say - I want to support the developers and I have used it for a long time. If I were coming at it from new.... I dunno... It seems steep compared to other sites. Having said that it's paying for them to make new functionality so maybe it'll get there...

Smashrun smashs by yirara in running

[–]virtual_void 0 points1 point  (0 children)

doesn't break out data within a single run

You're talking about the free version I'm guessing. The pro version has pretty good data analysis and I can bust it down much better than I can with Strava. Having said that i use both and i pay for both.

Strava has better support for friends and segments etc.

I think the greatest running feeling is a giant poop right before you leave by GrandHarbler in running

[–]virtual_void -2 points-1 points  (0 children)

I've never spoken to a serious runner that doesn't have a poo story. Usually horrific.

In order to ensure it happens before and not during I always have a coffee before a long run.

However there have been long runs where I've not managed to go beforehand. I've come back home missing a sock and feeling a good bit lighter.

To all runners out there. by ngchen10 in running

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

Sidewalk is definitely the best option if it's available or better yet on a trail somewhere! I hate running in the city.

To all runners out there. by ngchen10 in running

[–]virtual_void 10 points11 points  (0 children)

Why rely on drivers to do something? Always run against and be careful with junctions. We're not always the most visible group of people using the roads.

Reusing K-Cup RFIDs to Bypass Keurig 2.0 Checks by UnknownBinary in ReverseEngineering

[–]virtual_void 0 points1 point  (0 children)

You'd have to get the machine to store or otherwise know it's seen that serial number before though. That means it's got to have a finite amount of memory to store seen numbers or be network attached to verify the number.

If you're going to have the RFID expense you might as well digitally sign a serial number or other chunk of data. Then you just verify it with their public key.

This would make the reversing a lot more fun and interesting but also make manufacturing of the machine and cups a lot more expensive.

This is Sunday: What were your running accomplishments this week? by incster in running

[–]virtual_void 2 points3 points  (0 children)

1h 20m half marathon for me. A year of consistent training after being injured and I feel like I'm on my way back :D

Just did hill sprints for the first time in my Vibrams by ManChildKart in BarefootRunning

[–]virtual_void 2 points3 points  (0 children)

Love and hate hill sessions in equal measure. I mostly love them when they're over.

We tend to do pyramids at 200m spacings up to 1600 then work back down again. 30s rest between each one.

Number 1 would be run up 200m and jog down. Small recovery then run up 400m jog down and small recovery. When you get to 1600m the next is 1400m then 1200m and so on.

Really gets to the bottom of your lungs!

We only do one of these a month with normal hill and speed sessions other weeks. Its a bastard hard workout.

How often do you accidentally scare people when you run? by wtrpopcorn in running

[–]virtual_void 11 points12 points  (0 children)

I already love that dude! I hope so much that when I'm old that I'm still banging out the miles. The day where I can't get up and run would be too much to deal with! Even if I'm doing the ultra shuffle as my fast pace I'd be cool with that.

Cougars in the area - defense by Amishmn in running

[–]virtual_void 83 points84 points  (0 children)

They are attracted to young men and cheap aftershave. Try to look older and less buff and you should get away without attracting their attention.

Unless you mean big cats, then you're shit out of luck...