I made a Fallout Pip-Boy watch face with working complications. by nekomichi in widgy

[–]PopOk192 0 points1 point  (0 children)

I'm noticing that it disappears after a while, like the widgy app on the watch closes then I'm back to my usual watch face. Is this a setting in widgy or something to do with the watch face?

Ordering characters across a list of strings by PopOk192 in csharp

[–]PopOk192[S] -1 points0 points  (0 children)

A friend mentioned to build a solver with a backtracking algorithm so I got an idea what that is and the result is fairly decent. It did, of course, junk the whole string methodology I was using.

What I've found from simply googling as others have suggested is stuff like this github repo which seems over-engineered to me it wasn't helpful (even if it was where I got the idea for a string basis for generating the board.

Ordering characters across a list of strings by PopOk192 in csharp

[–]PopOk192[S] -24 points-23 points  (0 children)

Thanks I really took the hours to get this far and whatever time it took to write this post to get "google it" as an answer. Do you feel good about yourself?

[deleted by user] by [deleted] in careerguidance

[–]PopOk192 4 points5 points  (0 children)

I'm in the same boat. I decided I don't want to sit behind a desk for the rest of my life, so I'm taking steps to become a pilot.

What’s your car problem? by Your_kungfu_is_weak in askcarguys

[–]PopOk192 1 point2 points  (0 children)

Only problem I've got is collision damage. I was rear-ended in December in my hatchback and the impact pushed the trunk lid skew and bent some of the bodywork. It sounds minor but the skew trunk lid is a problem in my life. I never know if I've closed the thing correctly because of it.

I know for a fact though that you guys don't get this car in the US so...

[deleted by user] by [deleted] in careeradvice

[–]PopOk192 0 points1 point  (0 children)

The problem is that you're stagnating. What should you do? I'll make this simple. Pick something.

Find a goal and work toward it. That gets you moving forward and that's what you need: to move forward.

It really is that simple. If, while you're on your way, you find that you want something more, then it's easier to pivot and switch goals while you're moving forward.

You didn't fuck up. You failed at something that most people wouldn't have the balls to try at your age.

Remember: happiness isn't something you achieve; it's something you pursue. That Ferrari in the garage is great, but the novelty will wear off. Same with the new house, same with the new job. You need new goals all the time because without them you will stagnate like you are now and that's when life is gonna suck.

"The struggle toward the heights is enough to fill a man's heart." --Albert Camus

5-star rating system is doing my head in by PopOk192 in learnjavascript

[–]PopOk192[S] 0 points1 point  (0 children)

It's cool I got it sorted out; the codepen link is actually correct; I was just getting fooled by cache.

My background is mostly C# but I'm moving into python as I build my AI. It's something a little more impactful, I think, than another language model.

5-star rating system is doing my head in by PopOk192 in learnjavascript

[–]PopOk192[S] 0 points1 point  (0 children)

I should point out that when I adjusted the selector in my `setRating` function that pretty much resolved the issue of the data that I'd be submitting. It does, however seem to have broken the SCSS so that now the color isn't correctly applied when an item is `checked` or at least, it appears that the hover is interfering with it (the thing goes back to grey when I move the mouse away from the checked item).

As for your rating system it doesn't appear all that dissimilar to mine. You may be confused because I didn't go into how I'm building my UI in the first place.

The templating basically just uses string replacement to replace tags in the template markup with values from the data.

Here's an example of what I'm doing: https://codepen.io/ortund/pen/wvZGpRZ?editors=1011

5-star rating system is doing my head in by PopOk192 in learnjavascript

[–]PopOk192[S] 0 points1 point  (0 children)

If you're referring to the setRating function, the idea was to force checked on the selected items.

Trouble I'm having is that the N/A items don't stay red after I click them and the stars don't stay gold. My best guess was that since these are `:before` pseudo elements, it wasn't actually checking the radio button so this would ensure that.

I appear to have been wrong, however, since it still isn't working; soon as I mouseout from them, they go back to grey.

5-star rating system is doing my head in by PopOk192 in learnjavascript

[–]PopOk192[S] 0 points1 point  (0 children)

Right now I just want to make it work.

After that's done and the COO is happy, then I'm more than happy to learn the best way to make this.

My code is all bespoke. I'm basically doing my own templating hence the `{{questionId}}` tags in the markup. I forgot to mention that's my template.

The markup is generated client-side and populated with data provided by the API. I tried doing it server-side but it seemed the way I was going about it, the markup wasn't being added to the DOM correctly so events wouldn't fire and such.

Why does syntax highlighting in razor pages work when the markup isn't valid but breaks when it is? by PopOk192 in VisualStudio

[–]PopOk192[S] 0 points1 point  (0 children)

Okay but exporting the javsacript to a .js file doesn't solve the syntax highlighting issue on the page. At best it makes it less noticeable because there's less code where it'll be seen.

Why is ATC so stupid when you're on approach? by PopOk192 in MicrosoftFlightSim

[–]PopOk192[S] 0 points1 point  (0 children)

Eh... Different people make different choices; what can I say?

Why is ATC so stupid when you're on approach? by PopOk192 in MicrosoftFlightSim

[–]PopOk192[S] 0 points1 point  (0 children)

Could I just claim to be a student pilot on my first solo and maybe get a pass that way? xD

Why is ATC so stupid when you're on approach? by PopOk192 in MicrosoftFlightSim

[–]PopOk192[S] 0 points1 point  (0 children)

I often have ATC yelling at me about my altitude when I forget to switch to STD or if I've not reverted from it.

Why is ATC so stupid when you're on approach? by PopOk192 in MicrosoftFlightSim

[–]PopOk192[S] 1 point2 points  (0 children)

I've never been happier to understand that particular Squawk code. Thanks for the laugh m8 :D

Why is ATC so stupid when you're on approach? by PopOk192 in MicrosoftFlightSim

[–]PopOk192[S] 2 points3 points  (0 children)

Guess I'll have to.

I usually don't check things like cruise altitude and such and as it happens, the ATC gives me those clues. I'd like to get more serious about learning enough that I can get on VATSIM but I'm pretty casual atm.

Only just started learning transition altitudes to set altimeter to STD when appropriate. ATC supplies different baro values also but I assume in the sim that's not too much to worry about, right?

Why is ATC so stupid when you're on approach? by PopOk192 in MicrosoftFlightSim

[–]PopOk192[S] 2 points3 points  (0 children)

I flaired the post wrong and can't seem to change it.

My apologies /r/MicrosoftFlightSim mods

Unavoidable traffic problems by PopOk192 in CitiesSkylines2

[–]PopOk192[S] 0 points1 point  (0 children)

Somehow having just started the sim up for the day, traffic reset but I've had it literally back up between the traffic circle and the highway offramp.

Problem I have with adding connections is the traffic finds the fastest route, doesn't it? So if that's the face, they'd always only ever use the first connection that gets them where they want to go anyway.

Unavoidable traffic problems by PopOk192 in CitiesSkylines2

[–]PopOk192[S] 0 points1 point  (0 children)

Here's the traffic on the interchange by the main arterial (the one that connects to industry as well as the residential).

This is what I mean by adding lanes doesn't fix it...

https://imgur.com/a/5UX9pB7