Navigation

    What the Daily WTF?

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    1. Home
    2. setasensei
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    setasensei

    @setasensei

    0
    Reputation
    11
    Posts
    60
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    setasensei Follow

    Best posts made by setasensei

    This user hasn't posted anything yet.

    Latest posts made by setasensei

    • RE: I think I guessed how their SQL query look like ...

      @NoOneImportant said:

      @setasensei said:

      Then I looked at the stores' names...
       

      Well, the search field is pretty clearly marked "City, Postal Code or Store Name". It's returning exactly what it should be returning. 

       

      My bad then.

      Just felt so wrong when I saw it ...

       

      posted in Side Bar WTF
      S
      setasensei
    • I think I guessed how their SQL query look like ...

      I'm looking for all the Carhartt retailers in my city.<br>

      What do I so ? Go to their website and use their "Stores" pages. I enter my country "France" and city "Paris" and wait for the results...

      Carhartt WIP Stores | Carhartt WIP

      Firs results seem okay. But then I get a store that's in Saint Denis / La Réunion...

      In case  you knot know, the store is exactly here : https://maps.google.com/maps?q=Rue+Marechal+Leclerc+97460+Saint+Denis+la+Reunion&hl=en&ie=UTF8&sll=37.0625,-95.677068&sspn=39.644047,86.572266&hnear=Rue+du+Mar%C3%A9chal+Leclerc,+Centre,+St+Denis,+Saint-Denis,+Reunion&t=m&z=16

      There's another shop that's not in Paris either (but not that far either)

      Then I looked at the stores' names...

      posted in Side Bar WTF
      S
      setasensei
    • RE: So, that's how you deal with unique keys ...

      @Kaligraphic said:

      I hate to break it to you, but these kinds of workarounds are the reason so many companies have messed up IT processes. You're trying to engineer around a business problem because technical fixes are politically cheap. The fact is, your client has given you multiple sets of incompatible requirements, and you need to harmonize them, rather than trying to get by on technicalities until you can't do anything.

      The fix for this involves three perspectives - the side that hired you to do work, the side that asked you to use a non-client-managed machine, and the side that won't allow you to do your work using a non-client-managed machine. Get representatives of those three positions in a room together, and have them figure out a solution. At this point, you're going to have some explaining to do about how you've been able to work for three months and why this is becoming a problem - ideally this get-together should have taken place your first week there.

      Realistically, the ultimate solution is likely to be that your client either issues you a laptop or kicks you out for "breaching their security".

       

       Your point might be valid. But, as often, politics and egos play a huge part in my current problem.

      Even with a corporate laptop (or workstation, mind you), I cannot access remote desktop (just-because-don't-ask). No one can (except one guy, but my guess is he's using the exact same workaround I am). As I said we had a commercial ISP connection at the beginning and didn't bother about the "can I access a remote server ?" because we could. 

      This project's history is a huge mess. I'll try to be short :

      I'm working for a former non-tech company. The guys that deal with the network, hardware and stuff set up everything with that in mind (i.e Just block everything that's not on port 80 or 8080 and contains some words like "hack", "games", ...). That was a few years ago.

      My team grew faster and faster as IT became important for their business.Apparently too fast for the network and hardware guys. They started asking a lot of things (like : opening ftp ports, setting up IIS web server, ...). I guess it went too fast, they freaked out and blocked the process. I let you guess what happened next.

      Now, relationships are a "little" tense with them. And as I've often seen here, these guys have the power to block everything and don't hesitate to use it (wether it's legit or not is not the point, here).

      We don't have any web integration server. In fact, we just have a production web server, we are not allowed to have more. Not that they don't want to, but the price is too high : around 50 to 100 times more expensive than just renting a random web server. So, we rented one, knowing they would be angry if they knew it, I admit it.

      Oh and they cannot kick me for breaching security, the workaround comes from one of their guys. We just asked to have access to both remonte connection and source control from one connection (even if it involves using vpn), he refused, saying that we just have to switch between the two. I wasn't aware of that login limitation thing by that time.

       

      posted in Side Bar WTF
      S
      setasensei
    • RE: So, that's how you deal with unique keys ...

      @Sutherlands said:

      Modify the javascript client side?
       

       

      I tried to mess with the javascript, but apparently they get the random number server side. There's almost nothing on the original form.

       

      The commercial ISP was the first solution we used (i've been working here for quite a time, now), we set it up and hid it as much as we could. We used a VPN to connect to the source controller But they figured out we were using an "unsafe" network (worse : we used a wireless router they never heard about) and cut it. All the consultants had to work from their home for a few days before they could find a solution (the special network).

      posted in Side Bar WTF
      S
      setasensei
    • So, that's how you deal with unique keys ...

      I'm a consultant, my laptop belongs to my employer  but I work at the client's place.The client asked I bring my own laptop as their maintenance costs per laptop are shockingly high.

      As I'm not using a "certified" laptop, I have to use a specific wired network (because "security"). Problem is, I need to connect to a remote desktop, which is not allowed (because "security") and they won't allow me to do so (because ... ). So we found a workaround : there's a guest wifi available, which allows remote desktop connection.

      In order to use it, I need to create a guest account using an intranet web page. Pretty straightforward : enter your AD credentials to access the page, then fill in infos such as name, last name, company, ... And you get a login made from you name's first letter and name... The first time. These credentials are only valid for 24 hours. If, say, your client stays for 2 or 3 days, you have to create a new access every day for the same person (or someone you would have the same credentials). This time (and the followings), some random numbers (<100) apprear at the end of the original credentials.

      I've been using this workaround  for quite a time now and ...Yes, I've used some "logins". So what happens when I ask for one ant the generated one already exists ? I get a "This login already exists" javascript alert. Aaaand that's about it. I need to resend the form as many times as needed for the server to generate a login that will not be a duplicated one (even if it's outdated, of course).

      I hope we'll find a new workaround as I'm using this one for almost 3 months ...

      posted in Side Bar WTF
      S
      setasensei
    • RE: Tales from the Interview on Quora

      From my moderator experience, he works for Quora.

      Else, he /she wouldn't quote the site's name on the title.

      TRWTF is that, no matter the language, these people make the same mistakes.

      posted in Side Bar WTF
      S
      setasensei
    • RE: Double Negative One Liner

      It seems lots of developpers have a lot of problems with booleans expressions.

      Most of the time they just cannot simplify their code. Some of the code I had to maintain, and ultimately rewrote had the following all the way :

      void SomeMethod(int argument1)
      {
      bool isOkay = true;
      if (argument1 > 10)
      {
      isOkay = true;
      }
      else
      {
      isOkay = false;
      }

      bool isStillOkay = true;
      if (isOkay)
      {
      if (DoThis(argument1) == 0)
      isStillOkay = true;
      else
      isStillOkay = false;
      }

      if(isStillOkay)
      {
      if (DoThat(argument1) == 0)
      {
      isStillOkay = true;
      }
      else
      {
      isStillOkay = false;
      }
      }

      }

      At least they haven't used bool isStillStillOkay...
      EDIT : I can't get the code right ...

      [mod - reformatted code. <pre>/</pre> and html escaping helps - PJH]

      posted in Side Bar WTF
      S
      setasensei
    • RE: Because no ever sees it, right?

      @pbean said:

      @blakeyrat said:

      The only reason people turn JavaScript off is so they can bitch about sites that don't work with JavaScript turned off.
       

      For once I agree with thee. WTH is it with people and disabling Javascript...

      Haven't you heard that JS is evil ?
      I mean, it makes stuffs move on your webpage, typical "hackers" stuffs if you ask me.

      Besides, no one likes that language around here. Same for php, that's why I don't go on websites that run on Apache either.

      posted in Side Bar WTF
      S
      setasensei
    • RE: It must yet must not be

      @beermouse said:

      @snoofle said:
      We're not sure, but just do it that way!

      WTF are these guys doing all day?

      They're waiting for snoofle to finish his job.
      Then b*tch about how poor and filled with bugs his solution is.

      I experienced about the same lately (and a few times before that) before our project was dumped.
      I also had the best explanation about the lack of documentation ever :

      We didn't write what we need because we felt that it was obvious.
      posted in Side Bar WTF
      S
      setasensei
    • RE: We'll think about what we want

      Sadly, most non-technical clients mistake developpement with "doing stuffs on Excel".

      Although I'm still young, I've been through this WTF numerous times (everyone that worked with marketing departments as client know what I'm talking about).

      I always try to have someone technical attend any meeting that can occur with the client, just to make sure we warned him beforehand.

      posted in Side Bar WTF
      S
      setasensei