WTF Bites


  • Discourse touched me in a no-no place

    @Bulb said in WTF Bites:

    But why then even have the filter buttons when they don't actually do what you mean?

    Because most web developers are not very good at their jobs?



  • @error said in WTF Bites:

    Hell, don't even build a website, just give them a straight up database connection.

    The Azure Log Analytics basically is a web front-end for one. The filtering is just a feature that exists simply because the standard component already had it built in and you just have to be aware that it does not actually work.

    The accounting software though, you don't generally expect accountants and financial referents to be able to edit the queries, at least not without some clever query builder. They are generally able to do some basics of it in Excel though. I was even thinking that a “data cube” (orwhatnamesyoucallit; basically a database connector) for Excel would be a better UI for accounting software than web forms, because they end up downloading and opening half the things in Excel anyway.

    PS: The ancient 2012 version of TFS we used a couple of years back actually had something like that. It had it's own dialog with the query builder (in Visual Stupido), but you could click an Excel icon and it would open the list in Excel so that you could edit the values (assign tickets, change descriptions, hours, switch states etc.) and the changes were reflected on the server. So it would definitely be possible.


  • Considered Harmful

    @dkf said in WTF Bites:

    @Bulb said in WTF Bites:

    But why then even have the filter buttons when they don't actually do what you mean?

    Because most web developers are not very good at their jobs?

    Hey, I resemble that remark.


  • Discourse touched me in a no-no place

    @error said in WTF Bites:

    @dkf said in WTF Bites:

    @Bulb said in WTF Bites:

    But why then even have the filter buttons when they don't actually do what you mean?

    Because most web developers are not very good at their jobs?

    Hey, I resemble that remark.

    You at least realise what the problem is. 😜


  • 🚽 Regular

    I have accidentally activated warp mode in NodeBB.


  • 🚽 Regular

    I particularly like how at 0:10 you see the bottom-of-thread buttons go by followed by some more posts.


  • ♿ (Parody)

    @Bulb said in WTF Bites:

    @dkf Yes, it is the right fix. But why then even have the filter buttons when they don't actually do what you mean?

    Because sometimes it's the right thing to do. When you have 200 or fewer rows, apparently, based on your previous post. And that's mostly what the devs test with, of course.

    I had to make something similar. We don't want to load all the data (for obvious reasons) but the user could pick a filter that would require data from the server that wasn't loaded by default. So we keep track of it and load when needed, or just do a quick filter right there on the client if we can, because we're not retards.


  • Discourse touched me in a no-no place

    @boomzilla said in WTF Bites:

    @Bulb said in WTF Bites:

    @dkf Yes, it is the right fix. But why then even have the filter buttons when they don't actually do what you mean?

    Because sometimes it's the right thing to do. When you have 200 or fewer rows, apparently, based on your previous post. And that's mostly what the devs test with, of course.

    I had to make something similar. We don't want to load all the data (for obvious reasons) but the user could pick a filter that would require data from the server that wasn't loaded by default. So we keep track of it and load when needed, or just do a quick filter right there on the client if we can, because we're not retards.

    Or you could infiniscroll through it. :doing_it_wrong: :disco: 🐎



  • @boomzilla said in WTF Bites:

    @Bulb said in WTF Bites:

    @dkf Yes, it is the right fix. But why then even have the filter buttons when they don't actually do what you mean?

    Because sometimes it's the right thing to do. When you have 200 or fewer rows, apparently, based on your previous post. And that's mostly what the devs test with, of course.

    I had to make something similar. We don't want to load all the data (for obvious reasons) but the user could pick a filter that would require data from the server that wasn't loaded by default. So we keep track of it and load when needed, or just do a quick filter right there on the client if we can, because we're not retards.

    It would be nice to have some component that you could give a query and it would either respond by filtering what it has from the previous one, or forward to the server. I think it would be even possible to make such component fairly generic (the most difficult part would be restricting the queries to what you are actually allowed to access on the server).

    … are there even any forms libraries for the web like there used to be for thick applications 20 years ago? It seems to me everybody just maps a simplish “REST” API over their database and than it's just less flexible as the logic gets split over the server wrapping the database and the client.


  • ♿ (Parody)

    @Bulb said in WTF Bites:

    @boomzilla said in WTF Bites:

    @Bulb said in WTF Bites:

    @dkf Yes, it is the right fix. But why then even have the filter buttons when they don't actually do what you mean?

    Because sometimes it's the right thing to do. When you have 200 or fewer rows, apparently, based on your previous post. And that's mostly what the devs test with, of course.

    I had to make something similar. We don't want to load all the data (for obvious reasons) but the user could pick a filter that would require data from the server that wasn't loaded by default. So we keep track of it and load when needed, or just do a quick filter right there on the client if we can, because we're not retards.

    It would be nice to have some component that you could give a query and it would either respond by filtering what it has from the previous one, or forward to the server. I think it would be even possible to make such component fairly generic (the most difficult part would be restricting the queries to what you are actually allowed to access on the server).

    … are there even any forms libraries for the web like there used to be for thick applications 20 years ago? It seems to me everybody just maps a simplish “REST” API over their database and than it's just less flexible as the logic gets split over the server wrapping the database and the client.

    Yeah...mine was a bit of custom code. The user's aren't really building a query. Think, like, selecting a category or similar.

    We use DataTables as our table widget, which has some of its own filtering, but the use case is overall a bit too complex for letting it do data fetching, so there was a bunch of custom code to do the loading, etc.


  • Considered Harmful

    @boomzilla said in WTF Bites:

    the use case is overall a bit too complex for letting it do data fetching, so there was a bunch of custom code to do the loading, etc.

    Development is hard, let's go shopping!



  • @error said in WTF Bites:

    Development is hard, let's go shopping!

    Shopping is too much work :kneeling_warthog: , let's get drunk 🍹


  • ♿ (Parody)

    @TimeBandit said in WTF Bites:

    @error said in WTF Bites:

    Development is hard, let's go shopping!

    Shopping is too much work :kneeling_warthog: , let's get drunk 🍹

    Out of booze, gotta go...E_STACK_OVERFLOW



  • @TimeBandit said in WTF Bites:

    @error said in WTF Bites:

    Development is hard, let's go shopping!

    Shopping is too much work :kneeling_warthog: locked down, let's get drunk 🍹

    #DecadeOf2020

    Tangent: Currently looking for a (2D) printer; haven't owned one in 10-15 years. But, of course, in 2021 there's this one stupid place that needs that one form that hasn't been onlineified yet. And, no, PDFs not accepted either, must be in dead-tree form. :-/

    From what it looks like, the most common non-shit printers are either overpriced or sold out (or both).



  • @error said in WTF Bites:

    So, 🇳🇴👶's implementation of notification folding is a little broken.

    You don't say?

    a1bd3d5c-97c3-42fd-a488-95045e165d7b-image.png



  • @cvi said in WTF Bites:

    of course, in 2021 there's this one stupid place that needs that one form that hasn't been onlineified yet. And, no, PDFs not accepted either, must be in dead-tree form. :-/

    The postal service here has a solution for those: you type your message on a web form (or maybe you can upload a PDF, I don't remember), they print it, put it on a wooden table in an envelope and deliver it to the address you specify. Maybe something similar exists where you are?


  • Considered Harmful

    @Zerosquare said in WTF Bites:

    @cvi said in WTF Bites:

    of course, in 2021 there's this one stupid place that needs that one form that hasn't been onlineified yet. And, no, PDFs not accepted either, must be in dead-tree form. :-/

    The postal service here has a solution for those: you type your message on a web form (or maybe you can upload a PDF, I don't remember), they print it, put it on a wooden table in an envelope and deliver it to the address you specify. Maybe something similar exists where you are?

    I don't know, that sounds almost convenient. Are you sure you mean the postal service?



  • @error said in WTF Bites:

    Are you sure you mean the postal service?

    FYI, He's not in the USA



  • @error said in WTF Bites:

    I don't know, that sounds almost convenient. Are you sure you mean the postal service?

    Caveat emptor: I've never actually used that service, only saw it advertised. It's entirely possible that your message actually ends up delivered to /dev/null, either before or after the printing step. :half-trolleybus-tl:


  • ♿ (Parody)

    @Zerosquare said in WTF Bites:

    @cvi said in WTF Bites:

    of course, in 2021 there's this one stupid place that needs that one form that hasn't been onlineified yet. And, no, PDFs not accepted either, must be in dead-tree form. :-/

    The postal service here has a solution for those: you type your message on a web form (or maybe you can upload a PDF, I don't remember), they print it, put it on a wooden table in an envelope and deliver it to the address you specify. Maybe something similar exists where you are?

    I've gotten stuff printed at the local FedEx stores. They took over Kinkos, which was a copy shop, so basically there's delivery stuff in addition to copying / printing / etc. Office supply stores often have printing services, too.

    Expensive if you make a habit out of it, but probably simple enough for the occasional need.



  • @Zerosquare That does indeed seem to exist. 👍

    Whether or not it supports addresses apart from /dev/null is a different question, but it seems worth a shot.



  • @topspin said in WTF Bites:

    Have you heard of this new thing called if?

    But what if the state is FILE_NOT_FOUND?

    Edit: :hanzo:, of course.



  • @HardwareGeek said in WTF Bites:

    But what if the state is FILE_NOT_FOUND?

    That's what elseif is for 🤷🏻♂



  • @boomzilla said in WTF Bites:

    @TimeBandit said in WTF Bites:

    @error said in WTF Bites:

    Development is hard, let's go shopping!

    Shopping is too much work :kneeling_warthog: , let's get drunk 🍹

    Out of booze, gotta go...E_STACK_OVERFLOW

    Web site infiltration detected. Hardware replacement required.



  • @cvi said in WTF Bites:

    From what it looks like, the most common non-shit printers are either overpriced or sold out (or both).

    I've had really good luck with the low-end Brother black and white laser printers (HL2230 right now). But since I'm :kneeling_warthog:, I'm not checking on availability...



  • @dcon I've got a 2270DW that I've had for nearly a decade, and it's been working great. IIRC it was like $80 CDN when I bought it.



  • @hungrier said in WTF Bites:

    @dcon I've got a 2270DW that I've had for nearly a decade, and it's been working great. IIRC it was like $80 CDN when I bought it.

    My previous 2040 lasted nearly as long - and that was being toted along to quite a few outdoor dog shows where the weather wasn't particularly nice!


  • I survived the hour long Uno hand

    @HardwareGeek said in WTF Bites:

    @topspin said in WTF Bites:

    Have you heard of this new thing called if?

    But what if the state is FILE_NOT_FOUND?

    Edit: :hanzo:FIRST_POST_NOT_FOUND, of course.

    🔧



  • @izzion said in WTF Bites:

    @HardwareGeek said in WTF Bites:

    @topspin said in WTF Bites:

    Have you heard of this new thing called if?

    But what if the state is FILE_NOT_FOUND?

    Edit: :hanzo:FIRSTFRIST_POST_NOT_FOUND, of course.

    🔧

    🔧🔧


  • Notification Spam Recipient

    @Bulb said in WTF Bites:

    The ancient 2012 version of TFS we used a couple of years back actually had something like that. It had it's own dialog with the query builder (in Visual Stupido), but you could click an Excel icon and it would open the list in Excel so that you could edit the values (assign tickets, change descriptions, hours, switch states etc.) and the changes were reflected on the server. So it would definitely be possible.

    I remember that!

    Peace made something similar as part of my AutoDeck suite.



  • I wanted to post this to the other news thread:

    https://in.reuters.com/article/us-global-cyber-jetbrains/fbi-probe-of-major-hack-includes-project-management-software-from-jetbrains-sources-idUSKBN29B2RR

    But I decided to read it before (INB4 :doing_it_wrong:) and realized that :trwtf: is Reuters. The article does not actually say JetBrains was implicated of anything malicious, or even anything wrong at all. Most likely they were just asked to help audit the installation of their software at SolarWinds. But the article is still written to suggest they were implicated.

    As a friend put it: you are from the East, you are suspect.


  • Java Dev

    @Zerosquare said in WTF Bites:

    @cvi said in WTF Bites:

    of course, in 2021 there's this one stupid place that needs that one form that hasn't been onlineified yet. And, no, PDFs not accepted either, must be in dead-tree form. :-/

    The postal service here has a solution for those: you type your message on a web form (or maybe you can upload a PDF, I don't remember), they print it, put it on a wooden table in an envelope and deliver it to the address you specify. Maybe something similar exists where you are?

    I've used such a service years ago when I moved out, to get my change-of-address cards printed and sent out. I even provided my own photo for the flip side.

    Unfortunately, something went wrong with the excel sheet containing addresses and I never got a card to keep for myself.



  • Watching an ad on YouTube (:trwtf: , I know) and the advertiser said "The reason we can keep the cost so low is that we don't spend any money on advertising" :wtf_owl:


  • I survived the hour long Uno hand

    @TimeBandit said in WTF Bites:

    Watching an ad on YouTube (:trwtf: , I know) and the advertiser said "The reason we can keep the cost so low is that we don't spend any money on advertising" :wtf_owl:

    I didn't know Google accepted exposure as payment 🍹



  • Nice piece of code from the Nissan GIT repos leak:


  • 🚽 Regular

    @Zerosquare This one?

    4f047892-8c15-4731-a41f-0add923c1879-image.png

    :wtf_owl:


  • BINNED

    @Zecc said in WTF Bites:

    @Zerosquare This one?

    4f047892-8c15-4731-a41f-0add923c1879-image.png

    :wtf_owl:

    Can someone untangle this mess?
    WTF does it do? It looks like there’s a hard coded password in there but there’s also some other password it does ... something ... with. And why is there a function EncryptOrDecrypt?



  • @topspin said in WTF Bites:

    why is there a function EncryptOrDecrypt?

    RC4 is a symmetric algorithm.


  • ♿ (Parody)

    @Bulb said in WTF Bites:

    I wanted to post this to the other news thread:

    https://in.reuters.com/article/us-global-cyber-jetbrains/fbi-probe-of-major-hack-includes-project-management-software-from-jetbrains-sources-idUSKBN29B2RR

    But I decided to read it before (INB4 :doing_it_wrong:) and realized that :trwtf: is Reuters. The article does not actually say JetBrains was implicated of anything malicious, or even anything wrong at all. Most likely they were just asked to help audit the installation of their software at SolarWinds. But the article is still written to suggest they were implicated.

    As a friend put it: you are from the East, you are suspect.

    I can say that the US Government is very skeptical of JetBrains stuff so it's not surprising that the FBI would be suspicious. At my company we've gotten some grief for using TeamCity.



  • @boomzilla said in WTF Bites:

    I can say that the US Government is very skeptical of JetBrains stuff so it's not surprising that the FBI would be suspicious.

    Is there any specific reason or just that the founders are Russian (but then, Russians move to Czechia when they are fed up with the corruption, Putin, or both).

    @boomzilla said in WTF Bites:

    At my company we've gotten some grief for using TeamCity.

    Technical or political?


  • ♿ (Parody)

    @Bulb said in WTF Bites:

    @boomzilla said in WTF Bites:

    I can say that the US Government is very skeptical of JetBrains stuff so it's not surprising that the FBI would be suspicious.

    Is there any specific reason or just that the founders are Russian (but then, Russians move to Czechia when they are fed up with the corruption, Putin, or both).

    The only thing I've heard is the Russian connection, but I have no idea how accurate that reason is. I'm basically a mushroom as far as that kind of stuff goes at the company.

    @boomzilla said in WTF Bites:

    At my company we've gotten some grief for using TeamCity.

    Technical or political?

    Political, I guess.


  • Java Dev

    @topspin said in WTF Bites:

    @Zecc said in WTF Bites:

    @Zerosquare This one?

    4f047892-8c15-4731-a41f-0add923c1879-image.png

    :wtf_owl:

    Can someone untangle this mess?
    WTF does it do? It looks like there’s a hard coded password in there but there’s also some other password it does ... something ... with. And why is there a function EncryptOrDecrypt?

    The fact they roll their own should say enough, as well as the fact they use RC4 (a symmetric encryption cipher) as a primitive. I don't know the parameter order for rc4encrypt.EncryptOrDecrypt; if it is (plaintext, key) then this is a very fluffy no-op for password lengths other than 7. Otherwise, this is rc4, so still very not secure.


  • Discourse touched me in a no-no place

    @boomzilla said in WTF Bites:

    The only thing I've heard is the Russian connection, but I have no idea how accurate that reason is. I'm basically a mushroom as far as that kind of stuff goes at the company.

    My experience with JetBrains's products is that they're done competently and work in ways that my brain isn't very happy with. In that, they're like a lot of technical things out of Russia: they tend to know their stuff, but their response to the situation is very different to what I'd choose.


  • ♿ (Parody)

    @dkf yeah, most of the people on my team use their IDE. TeamCity seems to work well enough.


  • 🚽 Regular

    @boomzilla said in WTF Bites:

    I'm basically a mushroom

    You're a fun guy?



  • @Zecc Italian plumbers gnaw on him to grow stronger.





  • @Zecc said in WTF Bites:

    @boomzilla said in WTF Bites:

    I'm basically a mushroom

    You're a fun guy?

    No, he's just managed like a mushroom.


  • Notification Spam Recipient

    @Bulb said in WTF Bites:

    @Zecc said in WTF Bites:

    @boomzilla said in WTF Bites:

    I'm basically a mushroom

    You're a fun guy?

    No, he's just managed like a mushroom.

    In a warm damp place?



  • @Tsaukpaetra … full of manure, yes.


Log in to reply