The Official Status Thread
-
Anyone here use a bluetooth headset on Windows 10? Can you see if this affects you?
-
@LB_ said in The Official Status Thread:
Anyone here use a bluetooth headset on Windows 10? Can you see if this affects you?
Don't have bluetooth to test, but does the same thing happen if you disable "exclusive mode"?
-
@HardwareGeek said in The Official Status Thread:
Suddenly my laptop turns itself on again. I open it to see what it's doing, but neither the laptop's screen nor the external monitors power up. The CPU fan revs up to medium for maybe 15 seconds, then it shuts itself down again.
Sounds like it was switching from Sleep to Hibernate.
-
Status: Because I introduced HttpClient into this normal function, and I want to actually use it in a reasonable manner I have to use Async functions with it, which necessarily turns my function into an async method (or else!!!), and I have no idea how the underlying framework that will be calling this function will handle being given a
Task<object>
versus just anobject
...
-
@DogsB said in The Official Status Thread:
Windows needs to update. Fine! An annoyance that I can live with. However two updates in four days taking three hours of my time. Just fuck right off. Warn me at least so that I can put them off and don't nagged every hour to update. Worse still don't fuck about with my settings. They switched the defaults back to their own bullshit apps for reasons beyond my comprehension. Not everything but a couple unpleasant surprises. I also have to find my alt tab program again. I switched to it so long ago I can't remember it.
Seriously. What the fuck!That's the reason people are so resistant to automated no-way-back windows updates.
You just can't trust Microsoft to do them right, and not shill their shit or mess with your setup or basically waste your time.
Why is no one complaining about mandatory Chrome updates? Because they are fast, run on your schedule, and they just fucking work. None of your settings are lost, no new products shilled. Chrome shuts down for a few seconds, then comes back (bringing back all your tabs the way they were, let's not forget that) and everything is the same as it used to be, only with new features added.
If Microsoft updates worked like that, they'd get much less pushback and hate.
-
@cartman82 said in The Official Status Thread:
If Microsoft updates worked like that
It is, of course, much more difficult to achieve this. Doesn't mean they shouldn't at least try.
-
@HardwareGeek Every time I boot up my Mac, there's like a 30% chance my wallpaper will be reset to the default.
It seems keeping this setting consistently stored is a mystery OS developers have yet to crack.
-
@cartman82 said in The Official Status Thread:
@HardwareGeek Every time I boot up my Mac, there's like a 30% chance my wallpaper will be reset to the default.
It seems keeping this setting consistently stored is a mystery OS developers have yet to crack.
Yeah, for the longest time Windows would consistently forget every reboot that I didn't want a wallpaper, much less a slideshow, and a solid black background is my preferred choice. Actually, one moment, pressing +D.... Ok good, it's still black.
-
@anonymous234 said in The Official Status Thread:
I'm on the train, forgot my earphones and am literally going crazy because I hate noise and the people WON'T SHUT UP SHUT UP PLEASE SHUT UP FOR THE LOVE OF GOD SHUT THE FUCK UP
Note to self: buy spare earphones.
Update: people actually slightly reduced their tone of voice. This was incredibly unexpected.They are looking at the twitchy guy in the corner yelling at them to shut up, while pocket-dialing the police.
-
-
@ChaosTheEternal said in The Official Status Thread:
Status: Why are my Fridays always seemingly the worst days of the week at work? There's always issues that may or may not be anything we have a hand in, yet everything gets thrown over the wall at me.
Yesterday's workload:
- 50 pieces of content to be produced and delivered to The Important Client by end of day (having to call in contractor help and scramble)
- Big relaunch of our main product, no one's sure if everything is ready (as we are understaffed atm), but fuck it, they are giving it to clients anyway
- Big launch of an iOS app, bug fixes until the last minute, had to disable a big feature near the end
All excellent things to be scheduled on Friday.
-
Status: going to spot test the last 120 lines of code I just finished writing blind. It compiles, so lets see just how many logic errors I failed to pre-simulate!
-
@lucas1 said in The Official Status Thread:
Today is a good day
Car Tax Sorted
Car Insurance sorted
Went home early
Got paid.Loving it.
So nothing went unexpectedly wrong = a good day?
-
@Tsaukpaetra said in The Official Status Thread:
Status: going to spot test the last 120 lines of code I just finished writing blind. It compiles, so lets see just how many logic errors I failed to pre-simulate!
I guess I really should have expected this, since I had to do this:
@Tsaukpaetra said in The Official Status Thread:
Status: Because I introduced HttpClient into this normal function, and I want to actually use it in a reasonable manner I have to use Async functions with it, which necessarily turns my function into an async method (or else!!!), and I have no idea how the underlying framework that will be calling this function will handle being given a
Task<object>
versus just anobject
...Well, tomorrow I write a mini wrapper, methinks.
-
@Tsaukpaetra said in The Official Status Thread:
Well, tomorrow I write a mini wrapper, methinks.
Well, it's tomorrow, and I cheated and found out you didn't have to
await
async things, so I bodged that in.Now I deal with this:
.... FML.
-
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Well, tomorrow I write a mini wrapper, methinks.
Well, it's tomorrow, and I cheated and found out you didn't have to
await
async things, so I bodged that in.Now I deal with this:
.... FML.
OMG I can't believe that worked!
Note to self: Check for empty arrays before attempting to iterate them...
-
@cartman82 said in The Official Status Thread:
Every time I boot up my Mac, there's like a 30% chance my wallpaper will be reset to the default.
Do you use TeamViewer? There's a long standing big where it resets your wallpaper. Also using fast user switching IME
-
@Tsaukpaetra said in The Official Status Thread:
does the same thing happen if you disable "exclusive mode"?
Yes, it still happens either way.
-
What is it with this obsession with virtualization? Why do you need to create an independent OS for every thing you want to run? Doesn't that defeat the point of OSs?
-
@anonymous234 said in The Official Status Thread:
What is it with this obsession with virtualization? Why do you need to create an independent OS for every thing you want to run? Doesn't that defeat the point of OSs?
Because sometimes (often) programs are jerks and don't play nice with others?
-
@coderpatsy If only CPUs had some kind of "protected mode" that wouldn't let programs interact with each other except via specifically designed system calls...
But then we'd also need OSs to NOT be pieces of shit and actually do their fucking job which is to isolate processes. And that's apparently impossible.
-
@anonymous234 said in The Official Status Thread:
And that's apparently impossible.
That depends on whether you're stuck using Linux hardware, where it can apparently be done…
-
@dkf said in The Official Status Thread:
@anonymous234 said in The Official Status Thread:
And that's apparently impossible.
That depends on whether you're stuck using Linux hardware, where it can apparently be done…
I hear BSD can jail their processes too.
-
@Tsaukpaetra said in The Official Status Thread:
@dkf said in The Official Status Thread:
@anonymous234 said in The Official Status Thread:
And that's apparently impossible.
That depends on whether you're stuck using Linux hardware, where it can apparently be done…
I hear BSD can jail their processes too.
:red_boob: have an OS that has something like that as well.
-
@anonymous234 said in The Official Status Thread:
What is it with this obsession with virtualization? Why do you need to create an independent OS for every thing you want to run? Doesn't that defeat the point of OSs?
Someone posted a link a while ago ( @Yamikuronue ?) to an article talking about that and there was a fair amount of discussion. I thought it was in Quick Links or WTF Bites, but a few minutes of searching didn't turn anything up.
-
@Tsaukpaetra said in The Official Status Thread:
Note to self: Check for empty arrays before attempting to iterate them...
Isn't that what
foreach
is supposed to avoid?
-
@Rhywden said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Note to self: Check for empty arrays before attempting to iterate them...
Isn't that what
foreach
is supposed to avoid?I wrote a bad there, the foreach was working fine, but it was letting through an empty string, which when Split on results in a single-element array of string, which when you're expecting to have two elements is a bad thing. I should be checking for null there anyways, just ran out of sugar last night.
-
Status: LinkedIn decided to update my profile picture?
Yes, the picture is legit, but one from almost five years ago that I haven't used as a pic for almost anything...
-
@Tsaukpaetra said in The Official Status Thread:
OMG I can't believe that worked!
Woot! Things are starting to come together!
Now lets work on the snag that will be will be template engine! Because otherwise this API client is only somewhat useful...
-
Status: Found a SO question where someone linked an @end post.
Because OneBox didn't show the response, here it is:
Quality. Helpful. Progressive.
Faith in humanity has been restored to proper values.
-
Status: Here's to hoping the RegEx pattern
/#{#([^#}#]+)#}#/g
won't normally appear in typical JSON, and similarly also won't appear in the template's interpreted replacement source expression.
-
@Tsaukpaetra the sequence
#"#
is not valid anywhere in a JSON document. Yours could be inside a string.
-
@ben_lubar said in The Official Status Thread:
Yours could be inside a string.
The point being that whatever surrounding marks I choose should be unlikely inside a JSON document and unlikely to appear (at least the endmark) in a given expression that's supposedly going to be going inside those marks...
#"#
is as good as anything I suppose.
-
@Tsaukpaetra basically you need a double quote with a character on each side that isn't a double quote, a backslash (before), a colon, a bracket, a brace, or a comma. The characters on each side can be different.
-
Status: Uh oh, looks like I have a race condition on my hands?
But hey, the templating thing seems to be working!
-
@Tsaukpaetra said in The Official Status Thread:
Status: Uh oh, looks like I have a race condition on my hands?
But hey, the templating thing seems to be working!
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Anyways, we've come full circle! I can now programmatically query an HTTP API endpoint thing from within the chatbot, enabling things like an echo service echoing back a random number!
-
@Jaloopa good thinking. I think i did tw in at some point.
-
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.
-
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.Not sure if sarcastic or...
-
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.Not sure if sarcastic or...
No, serious. But now I'm not sure if I missed something..
-
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.Not sure if sarcastic or...
No, serious. But now I'm not sure if I missed something..
Hmm. Maybe I missed something then. I'm in the middle of waiting the indeterminite time it takes to do Windows Updates on that machine (because, hell I was at a stopping point so why not reboot now while I'm idle and intentionally doing so instead of waiting for Windows to surprise me?), so when I get logged back on I'll double-check to see if I can get that to work. It would certainly make it easier than what I have to do at the moment...
-
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.Not sure if sarcastic or...
No, serious. But now I'm not sure if I missed something..
Hmm. Maybe I missed something then. I'm in the middle of waiting the indeterminite time it takes to do Windows Updates on that machine (because, hell I was at a stopping point so why not reboot now while I'm idle and intentionally doing so instead of waiting for Windows to surprise me?), so when I get logged back on I'll double-check to see if I can get that to work. It would certainly make it easier than what I have to do at the moment...
Oh, well in that case I'm pretty sure it doesn't, according to MSDN.
List<T>.RemoveAll(Predicate<T>)
[1] might work for you, though. OrList<T>.RemoveRange(int32, int32)
[2] if they're consecutive.
-
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.Not sure if sarcastic or...
No, serious. But now I'm not sure if I missed something..
Hmm. Maybe I missed something then. I'm in the middle of waiting the indeterminite time it takes to do Windows Updates on that machine (because, hell I was at a stopping point so why not reboot now while I'm idle and intentionally doing so instead of waiting for Windows to surprise me?), so when I get logged back on I'll double-check to see if I can get that to work. It would certainly make it easier than what I have to do at the moment...
Oh, well in that case I'm pretty sure it doesn't, according to MSDN.
List<T>.RemoveAll(Predicate<T>)
[1] might work for you, though. OrList<T>.RemoveRange(int32, int32)
[2] if they're consecutive.Maybe. This is my current code:
//Clear out the pushed-scope's $apidata variables (if they exist) foreach (KeyValuePair<string, object> variable in (from a in expressionContextMain.CurrentScope where a.Key.StartsWith("$apiData") select a).ToList()) { expressionContextMain.CurrentScope.Remove(variable.Key); }
I probably need to revisit it anyways, for clarity.
-
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Quickly solved, just instantiate a separate list of the things you want to remove before iterating it to remove them from the actual list! You'd think I learned from the last time that happened...
Huh. I'm surprised C#/.Net doesn't have a
List<T>.Remove(IEnumerable<T>)
method.Not sure if sarcastic or...
No, serious. But now I'm not sure if I missed something..
Hmm. Maybe I missed something then. I'm in the middle of waiting the indeterminite time it takes to do Windows Updates on that machine (because, hell I was at a stopping point so why not reboot now while I'm idle and intentionally doing so instead of waiting for Windows to surprise me?), so when I get logged back on I'll double-check to see if I can get that to work. It would certainly make it easier than what I have to do at the moment...
Oh, well in that case I'm pretty sure it doesn't, according to MSDN.
List<T>.RemoveAll(Predicate<T>)
[1] might work for you, though. OrList<T>.RemoveRange(int32, int32)
[2] if they're consecutive.Maybe. This is my current code:
//Clear out the pushed-scope's $apidata variables (if they exist) foreach (KeyValuePair<string, object> variable in (from a in expressionContextMain.CurrentScope where a.Key.StartsWith("$apiData") select a).ToList()) { expressionContextMain.CurrentScope.Remove(variable.Key); }
I probably need to revisit it anyways, for clarity.
Yeah, that looks like something for
List<T>.RemoveAll(Predicate<T>)
[1]. I think something like://Clear out the pushed-scope's $apidata variables (if they exist) expressionContextMain.CurrentScope.RemoveAll(x => x.Key.StartsWith("$apiData"));
You'll have to correct that for the proper types (since I don't know what it looked like before the
.ToList()
, but I'm assuming it's a list).
-
Status: Okay, fu too, Windows!
I suffered for half an hour and all you can say is "sorry lol, try again!"?!!!!?!?!?
Also, fuck the on screen keyboard with a broken fence post!
Who at microsoft EVER though this was acceptable?!?!?!?
-
@Tsaukpaetra said in The Official Status Thread:
Status: Okay, fu too, Windows!
I suffered for half an hour and all you can say is "sorry lol, try again!"?!!!!?!?!?
Also, fuck the on screen keyboard with a broken fence post!
Who at microsoft EVER though this was acceptable?!?!?!?Click the button next to the [X].
-
@Dreikin said in The Official Status Thread:
Click the button next to the [X].
That only undocks it. It still covers the screen i want to type on.
Any other os would treat a docked IME as blocking the screen and adjust the apparent view to get out of the way.
Actually , this is indeed built into Windows, it's called an AppBar, and programs that use it behave as i expect this keyboard to do: shove all the windows out of the way of its docked window along the screen edge.
wtf???!!?!
-
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
Click the button next to the [X].
That only undocks it. It still covers the screen i want to type on.
Any other os would treat a docked IME as blocking the screen and adjust the apparent view to get out of the way.
Actually , this is indeed built into Windows, it's called an AppBar, and programs that use it behave as i expect this keyboard to do: shove all the windows out of the way of its docked window along the screen edge.
wtf???!!?!
Er, on desktop you can then drag it around wherever you want. Does that work?
-
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
Click the button next to the [X].
That only undocks it. It still covers the screen i want to type on.
Any other os would treat a docked IME as blocking the screen and adjust the apparent view to get out of the way.
Actually , this is indeed built into Windows, it's called an AppBar, and programs that use it behave as i expect this keyboard to do: shove all the windows out of the way of its docked window along the screen edge.
wtf???!!?!
Er, on desktop you can then drag it around wherever you want. Does that work?
Not really, I'm better off just launching OSK (which is apparently not exactly the same thing, but works better than this touch keyboard thing) and resizing Chrome to be somewhat shorter by hand. Actually, this technically apply with the touch keyboard.
But whoever heard of manually ensuring your window wasn't behind the keyboard?
Actually, lemme try using "Tablet Mode" and see if it's better... Nope.
-
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Dreikin said in The Official Status Thread:
Click the button next to the [X].
That only undocks it. It still covers the screen i want to type on.
Any other os would treat a docked IME as blocking the screen and adjust the apparent view to get out of the way.
Actually , this is indeed built into Windows, it's called an AppBar, and programs that use it behave as i expect this keyboard to do: shove all the windows out of the way of its docked window along the screen edge.
wtf???!!?!
Er, on desktop you can then drag it around wherever you want. Does that work?
Not really, I'm better off just launching OSK (which is apparently not exactly the same thing, but works better than this touch keyboard thing) and resizing Chrome to be somewhat shorter by hand. Actually, this technically apply with the touch keyboard.
But whoever heard of manually ensuring your window wasn't behind the keyboard?
Actually, lemme try using "Tablet Mode" and see if it's better... Nope.
Well dang. Glad I don't use Windows on mobile, I guess.