WTF Bites
-
This post is deleted!
-
@sebastian-galczynski As opposed to vim, which not only lacks spell checking by default, but will highlight any occurrences of the word TODO in code comments.
That's intentional, it's supposed to stick out so you don't forget it. What bothers me more (not enough to fix it though, yet ) is that many syntax highlighters only recognize a bare
TODO
and will not highlightTODO:
-
@sebastian-galczynski said in WTF Bites:
@sebastian-galczynski As opposed to vim, which not only lacks spell checking by default, but will highlight any occurrences of the word TODO in code comments.
You can see that Eclipse actually both highlights the word "todo" and marks it as a spelling error.
There is a Tasks view that you can have open that collects the
TODO
s (andFIXME
s) from across your code. Useful for not losing sight of all those things you know need to be fixed (but not right now because you're fixing something else). Other IDEs may have something similar.Long lasting ones should also go in your Issue tracker or backlog, of course.
When downloading open source projects you sometimes find a TODO file.
Myself, I've considered adding a check to our code consistency test which fails on any TODO still present (since if any are still present when a fix/feature is merged, they should be promoted to bugs). However, I haven't since it would obscure any other code consistency failures during feature development.
-
@sebastian-galczynski As opposed to vim, which not only lacks spell checking by default, but will highlight any occurrences of the word TODO in code comments.
That's intentional, it's supposed to stick out so you don't forget it. What bothers me more (not enough to fix it though, yet ) is that many syntax highlighters only recognize a bare
TODO
and will not highlightTODO:
Hm, I have mine set the other way around.
The correct pattern would actually be something like
TODO [A-Z]+-[0-9]+:
orTODO #[0-9]+:
(depending on your bug tracker). Now only if the bug trackers and repository managers could actually track those (can't close this task, there are TODOs for it still in code).
-
When you dump a MSSQL database, it includes the in-database users. Their passwords are stored hashed, so all it can do is dump the hashed passwords, and it does. But the commands it writes assume they are unhashed passwords, so on importing the dump, the passwords are hashed again, breaking access for the (usually technical, i.e. used by some software component) users.
Of course every time somebody tries to restore copy of staging (not yet in production) database into testing they forget about it and then spend a couple of hours wondering why the application won't start.
-
When you dump a MSSQL database, it includes the in-database users. Their passwords are stored hashed, so all it can do is dump the hashed passwords, and it does. But the commands it writes assume they are unhashed passwords, so on importing the dump, the passwords are hashed again, breaking access for the (usually technical, i.e. used by some software component) users.
Of course every time somebody tries to restore copy of staging (not yet in production) database into testing they forget about it and then spend a couple of hours wondering why the application won't start.
This is a front-page material.
-
Their passwords are stored hashed, so all it can do is dump the hashed passwords, and it does. But the commands it writes assume they are unhashed passwords
That's idiotic, or is the hashing of the passwords done by a trigger (which the dumper wouldn't see)?
-
@dkf It is a special kind of object, a
user
, And the dumper is a first-party tool provided by the database vendor (Microsoft). It has no excuse for not understanding how the database works.
-
@dkf … I think the story is that it used to use unencrypted passwords, and the dumper was simply generating the
create user
xwith password='
y'
statements. Then in MSSQL 2012 they started hashing the passwords. But they didn't add anywith password_hash
option for the create user command, so the dumper keeps creating what it always did, it just stopped working.
-
@Kamil-Podlesak said in WTF Bites:
This is a front-page material.
What in gods name are you talking about?
-
@Kamil-Podlesak said in WTF Bites:
This is a front-page material.
What in gods name are you talking about?
ITHM it's, unsurprisingly, about as bad as MS Frontpage.
-
@Bulb that sounds extremely idiotic and I’ve heard it before. So I’m pretty sure it got posted here some time ago.
-
When you dump a MSSQL database, it includes the in-database users. Their passwords are stored hashed, so all it can do is dump the hashed passwords, and it does. But the commands it writes assume they are unhashed passwords, so on importing the dump, the passwords are hashed again, breaking access for the (usually technical, i.e. used by some software component) users.
.... I thought the database was just fucking with me. It's actually doing that?
Fuck....
-
so the dumpster keeps creating what it always did, it just stopped working.
How my brain keeps trying to read that word.
-
@HardwareGeek said in WTF Bites:
so the dumpster keeps creating what it always did, it just stopped working.
How my brain keeps trying to read that word.
Etymologically, is there really much of a difference?
-
Etymologically, is there really much of a difference?
Dumper truck:
Dumpster truck:
-
-
@topspin Take this
-
@LaoC
It's like poepen in Flemish and poepen in Dutch. One you need, One you want.
-
-
@Zecc
as always, directionality can be reversed
-
@Zecc
as always, directionality can be reversed@LaoC
It's like poepen in Flemish and poepen in Dutch.One's essence is the reversion of directionality, one's more like the opposite.
-
@LaoC
The old in/out ... it never changes
-
Google Lens has a feature that can translate text from any language to any other. I got a thing with some Chinese text written with English letters:
so I thought I would try to translate it. Point Google Lens at it, hit translate, and hey, it auto detects Chinese, great. So, what does all this mean in English?
:womp_wah:Ok so that didn't work, lets try doing it the tedious way:
Ok, that's most of it, and while there's a bit of Engrish I think I can figure it out. Now, to add the final word:
Did I mean to put what Google is suggesting? Lets find out:
Thanks Google, very cool
-
@hungrier You're to yong to know what it means!
-
@Tsaukpaetra shi
-
-
I'm guessing the sentence means replacing a worn out part with the correct replacement
-
@HardwareGeek said in WTF Bites:
Spleen deficiency?
Filed under: How would you rate the sheerness of the product?
-
-
-
Norwegian? I admit I don't know a word of Norwegian, but I've seen lots of snippets of various Scandinavian languages, and I'm pretty sure those letter sequences are not characteristic of any of them.
-
-
-
@HardwareGeek I think Bing is just confused:
-
I got a thing with some Chinese text written with English letters:
Maybe @cheong can help?
-
@HardwareGeek said in WTF Bites:
Norwegian? I admit I don't know a word of Norwegian, but I've seen lots of snippets of various Scandinavian languages, and I'm pretty sure those letter sequences are not characteristic of any of them.
Yes, it'd have to be
yøng yøu xing dæ døng
for that to be likely.Or maybe that'd be Danish.
-
@dkf dæ døng once bit my sister.
-
-
-
@dkf dæ døng once bit my sister.
So that's what the kids are calling it these days.
-
@HardwareGeek said in WTF Bites:
Spleen deficiency?
Chinese is fairly ambiguous even as written in hanzi, a little more when transcribed to pinyin with accents, but when the accents are stripped, i' ke tyg o ma f ngis ex ih lf f he ette ndo reod.
-
@Gąska was the bite larger or smaller than the møøse’s?
-
@TimeBandit said in WTF Bites:
Oh, wait a moment: only 19 dollars? That's faaar to cheeeaaap! That must be some Chinesium fake product.
A real Apple product would cost at least $199.
-
@BernieTheBernie Patience. There will be Polishing Cloth 2 and 2 Pro, with a notch and exclusive Rose Gold trim next year.
-
@Applied-Mediocrity Yes. Let's wait for iPolish Version 2. Its new firmware will make sure that it is connect to your registered apple devices which you configured to be cleaned with that cloth (a license fee is due per cleanable device). It will deny cleaning service should it ever be used for other items like drinking glasses, let alone Android devices.
-
If I have marked everything as read, why do I get taken to posts from 2017 in long running threads (as 2017 would have been the last time I’d read the thread previously)?
All the other forum systems treat “mark everything as read” as marking everything read as-at-now…
Am I the here?
-
@Arantor NodeBB tracks the read status and the last read post (in the code, referred to as "bookmarks"). You probably just need to make your browser wider.
-
@BernieTheBernie said in WTF Bites:
@Applied-Mediocrity Yes. Let's wait for iPolish Version 2.
iPolish 2.0 "Kurwalina"
-
@boomzilla I get it tracks both. That’s nonsense for it to do so when I indicate “but I don’t care, treat everything as though I read it”