WTF Bites
-
I'm not allowed to check in my code because we haven't decided for certain what release it's going to be in. These two things are related because our source control is .
-
Windows 10 does not allow users that are local admins to use built-in apps, such as calculator – there is currently no work-around for this.
....what?
-
@Yamikuronue said in WTF Bites:
Windows 10 does not allow users that are local admins to use built-in apps, such as calculator – there is currently no work-around for this.
....what?
Where's that from? Because I'm pretty sure it's bollox.
-
@RaceProUK I know for sure it is on default Windows 10 - so I assume Yami's quote is in the context of some non-default setup?
-
@RaceProUK Something to do with it being a store app so not available if you're a local account rather than a Windows account?
-
@Jaloopa Hmm, could be: it's not required for the user account to be linked to a Microsoft account (which is what you need for Store apps).
-
@RaceProUK What? You can just sign into the Store without signing into the whole computer using a Microsoft account. Also you don't even need to sign into the Store for Calculator.
I'd be blaming some bizarre AD configuration at YamiCorp.
-
@RaceProUK said in WTF Bites:
Where's that from?
I'm getting a new laptop this week. It's from my helpdesk.
-
@loopback0 said in WTF Bites:
You can just sign into the Store without signing into the whole computer using a Microsoft account.
Good point: in fact, I do that on my work PC.
@loopback0 said in WTF Bites:
Also you don't even need to sign into the Store for Calculator.
Thank feck for that! :D
@Yamikuronue said in WTF Bites:
I'm getting a new laptop this week. It's from my helpdesk.
Then your helpdesk is feeding you bad info.
-
@loopback0 said in WTF Bites:
A CSV file where the header is repeated every 5000 rows
That is the pattern you currently have deduced, you need a larger sample size.
-
@dse Turns out it's every 5001 lines...
$ grep -n Date Email*.csv | cut -f2 -d: 1 5002 10003 15004 20005 25006
-
@loopback0 converted from a series of files with 5000 lines of data plus the header? And by converted I mean concatenated
-
@Jaloopa No idea. 3rd party system, don't know what it's up to behind the scenes.
-
@loopback0 said in WTF Bites:
5001
Good it is elites' csv.
3 * 1667 I would try to parse every 3rd row for header if it fails assume data. Also try every 1667'th row.
-
-
@loopback0 converted from a series of files with 5000 lines of data plus the header? And by converted I mean concatenated
@loopback0 said in WTF Bites:
Email*.csv
I'm guessing yes.
-
Software is important! It's written using programming languages!
...I don't know if I want to read the rest of this report if those are your "key" findings.
-
@Yamikuronue It's just sliding you in gently before it gets rough ;)
-
@Yamikuronue We went from "DNA is code" analogy to "code is DNA" analogy.
I'm not convinced that people for whom those analogies were intended have sufficient knowledge of either for them to be useful...
-
@Yamikuronue Did finding the right tool for the job used to be less relevant?
-
@loopback0 said in WTF Bites:
Did finding the right tool for the job used to be less relevant?
Yes. There was a time before node and PHP existed.
-
@RaceProUK said in WTF Bites:
Then your helpdesk is feeding you bad info.
That would be the least horrifying option.
-
@Yamikuronue said in WTF Bites:
Windows 10 does not allow users that are local admins to use built-in apps, such as calculator – there is currently no work-around for this.
....what?
?
-
@Tsaukpaetra Seems to be fairly typical for Windows and of Microsoft products in general. They churn features—UAC in this case—without proper design and planning, so the result, while powerful, is inconsistent and has weird corner cases.
-
@Onyx
But ... what kind of car is a DNA? Your analogy isn't solid if it doesn't include cars.
-
@Bulb And then hundreds of 'helpful' blog articles pop up across the Web, all claiming to fix the problem. Which, to be fair, they do, but they do so by basically saying "The fix is to unlock all the doors and put up signs saying 'Beware of the leopard' instead".
-
Is those bean warns preventing you instance to goes up?
Is those indeed. A question for the ages.
-
@Yamikuronue said in WTF Bites:
Is those bean warns preventing you instance to goes up?
Is those indeed. A question for the ages.
This is me trying to parse that sentence:
-
Also: is this the problem with the admin accounts opening calculator? https://4sysops.com/archives/why-the-built-in-administrator-account-cant-open-edge-and-a-lesson-in-uac/
Yes. And we are aware of this solution. There have been multiple conversations had surrounding this. Currently, the answer is no, primarily because of unforeseen security concerns.
The security concerns with… turning on UAC for administrator accounts?
Well, I wish you good luck with that :)
I am sure you realize my input on this is limited :)
Translation: We both realize how fucked we are. Carry on.
-
- Value range propagation now assumes that the this pointer of C++ member functions is non-null. This eliminates common null pointer checks but also breaks some non-conforming code-bases (such as Qt-5, Chromium, KDevelop). As a temporary work-around
-fno-delete-null-pointer-checks
can be used. Wrong code can be identified by using-fsanitize=undefined
.
Qt? Chromium? I would expect better than that from them…
Cygwin's Newlib goes on that list too. And the clearly have trouble fixing it.
- Value range propagation now assumes that the this pointer of C++ member functions is non-null. This eliminates common null pointer checks but also breaks some non-conforming code-bases (such as Qt-5, Chromium, KDevelop). As a temporary work-around
-
Qt?
Likely some of their macro magic. I looked at their pre-C++11 foreach implementation once. I'm still scarred.
-
macro magic
I doubt that in this case. You can basically only ever trigger this if you write
if (this)
or similar and macro won't just generate that by accident.And it was always incorrect, right from the earliest version of C++, because base might nave non-zero offset from the class and that offset is, and always was, blindly added to the pointer, so calling a base method on null could always result in small non-zero number instead and the check wouldn't catch that. And virtual methods would also always just crash.
-
@Yamikuronue We went from "DNA is code" analogy to "code is DNA" analogy.
I'm not convinced that people for whom those analogies were intended have sufficient knowledge of either for them to be useful...
Knowing what I do of DNA, we really don't want code to look like that.
Filed Under: Code runs both normally AND rot13'd then reversed, with "on error resume next" required, and everything concatenated together, at a minimum
-
Code runs both normally AND rot13'd then reversed, with "on error resume next" required, and everything concatenated together, at a minimum
It's also self modifying but doesn't do it that well
-
Filed Under: Code runs both normally AND rot13'd then reversed, with "on error resume next" required, and everything concatenated together, at a minimum
So, SSDS?
-
So, SSDS?
Ship Self Defense System?
at a minimum
Yup. Most of the code, that contains pieces of junk scattered all across. And then there is more code that cuts pieces of the first code and cuts out the junk and assembles them in different order so they actually compile. And then there is more code that does more cutting and rearranging to the binary.
-
So, SSDS?
Ship Self Defense System?
at a minimum
Yup. Most of the code, that contains pieces of junk scattered all across. And then there is more code that cuts pieces of the first code and cuts out the junk and assembles them in different order so they actually compile. And then there is more code that does more cutting and rearranging to the binary.
And some of the intermediate code isn't compiled, just modified and used for later compilations, or even work like macros with regard to both the source and the intermediate codes.
-
So, SSDS?
Ship Self Defense System?
at a minimum
Yup. Most of the code, that contains pieces of junk scattered all across. And then there is more code that cuts pieces of the first code and cuts out the junk and assembles them in different order so they actually compile. And then there is more code that does more cutting and rearranging to the binary.
And some of the intermediate code isn't compiled, just modified and used for later compilations, or even work like macros with regard to both the source and the intermediate codes.
Come to think of it, this is starting to sound a bit like JavaScript…
-
Yup. Most of the code, that contains pieces of junk scattered all across. And then there is more code that cuts pieces of the first code and cuts out the junk and assembles them in different order so they actually compile. And then there is more code that does more cutting and rearranging to the binary.
That sounds very much like code that is produced by many working scientists. Yes, they really do cut together random bits of junk like that.
-
@dkf they're called genetic algorithms :D
-
-
What if I told you there was a blog homepage out there that was ~23M in size and used 25 TCP connections just to load... Take a guess which blog it is...
-
@bb36e TIL that Jeff's blog homepage is
danluu.com
...
-
joelonsoftware.com
I was rather surprised to see it on the list since I remember Spolsky's blog being a very antique affair, but apparently he changed the layout some time ago. Sign of the times...
Surprisingly, the new The Old New Thing looks much better despite being bastardized some time ago as well.
-
ChatOps.
Everything about ChatOps.
WHHYYY.
-
@Yamikuronue said in WTF Bites:
ChatOps
You’re probably hearing the word ChatOps more and more – at conferences, on Reddit and Hacker News, around the water cooler (or keg) – but what does it actually mean? And why and how would you implement it at your organization?
ChatOps, a term widely credited to GitHub, is all about conversation-driven development. By bringing your tools into your conversations and using a chat bot modified to work with key plugins and scripts, teams can automate tasks and collaborate, working better, cheaper and faster.
-
@bb36e It's literally like using a SockBot to run your Operations center. WHY.
-
@Yamikuronue IRC bots are cool again B)
-
@bb36e IRC? With its total lack of sane data/metadata separation? Brr! Jabber's much “better”, in ways that only the world's craziest XML application can be…
-
My wife's can of shaving cream has started rusting, which is leaving a rust stain in our shower. Since I'm the one that has to clean it, I started googling around for ways to prevent it. What does one manufacturer have to say?
We recommend storing the can away from excessive water exposure and humidity.
You mean, like a bathroom? Gee, thanks for that advice.
That reminds me of an old Gallagher joke. He bought a can of mildew remover that had a warning "use only in well ventilated areas". Well, if the area was well ventilated, there wouldn't be any mildew in the first place.