WTF Bites



  • @blakeyrat said in WTF Bites:

    @mott555 Is the project you're building the same as the one you're debugging?

    Yes.



  • It even needs to build again if I start with "Build Solution" so it can't be a dependency thing.

    This project is stored in git while all my others are Subversion. I'll just blame Git and keep working.



  • @mott555 said in WTF Bites:

    I'll just blame GitCanada and keep working.

    FTFY



  • @timebandit said in WTF Bites:

    @mott555 said in WTF Bites:

    I'll just blame GitCanada and keep working.

    FTFY

    I'm mostly certain this application is illegal in Canada due to US State Department export regulations...so...yeah, I'd rather not blame a foreign country for this one. Too much paperwork and potential jail time.



  • @mott555 said in WTF Bites:

    I'm mostly certain this application is illegal in Canada due to US State Department export regulations

    We're even on a US watch list 🍹

    https://www.cnbc.com/2018/04/27/u-s-criticizes-36-nations-including-canada-over-intellectual-property-protection.html


  • area_can

    @mott555 ah, encryption software?



  • @bb36e said in WTF Bites:

    @mott555 ah, encryption software?

    Not quite. Military avionics.


  • Considered Harmful

    @anonymous234 Oh, if you think that's ridiculous...
    @pie_flavor said in WTF Bites:

    VS Code is a curious piece of software.
    https://i.imgur.com/DX4Cyjg.png



  • @aitap said in WTF Bites:

    TL;DR: I'm trying to build a heterogeneous cluster
    ..

    Sounds like research. You're not really doing anything unless you're fighting the economy department and the IT department at the same time. Bonus points if they are fighting each other too, but you actually agree with neither side. (Extra bonus points if you end up responsible for HPC at your institution, managing more computational resources than the entire IT department with funds outside of the economy department's purview.)

    Filed under: Have you considered moving your computations from that 10k+ core specialized compute-cluster to the cloud? We think that would be really hip and totally save you a bunch of money, but we've not really done the math.



  • @aitap said in WTF Bites:

    (I decided not to bring the WTF factor up to 11 by trying to bridge wlan and ethernet interfaces)

    I've bridged them before, but in the opposite direction than it seem you had the option to. I had an internet connection through either my laptop's wifi or by way of a mobile internet access point, tethered via USB or with its built-in wifi, and I had an ethernet connection to a wireless router. The mobile card had a hard limit of 5 connections, so if more devices needed to connect than that, I could use my setup to connect the laptop to the internet through the mobile hotspot, and then share the connection through the ethernet connection to the router so that more devices could connect to that.


  • Discourse touched me in a no-no place

    @mott555 said in WTF Bites:

    Not quite. Military avionics.

    Pro-tip: You know it's Canadian espionage when you find your secrets stolen and a note in their place saying “Sorry”.



  • Email from Google: "Google Search Console has analyzed your site. Click here to see how it shows up in Google Search and what queries are driving traffic to your site."

    I click the link, and get a page that says "Google Search Console has not yet analyzed your site."

    😒


  • BINNED

    @mott555
    Did you try googling that error?


  • Dupa

    @mott555 said in WTF Bites:

    WTF Status: Really getting tired of this workflow, specifically the bolded section:

    1. Click "Build Project"
    2. Wait for project to build
    3. Click "Debug Project"
    4. Visual Studio error: "Project has not been built. Build now?"
    5. Click "Yes"
    6. Wait for project to build
    7. Finally debug

    You click "build project" and "debug" instead of using keyboard shortcuts?


  • :belt_onion:

    @kt_ said in WTF Bites:

    You click "build project" and "debug" instead of using keyboard shortcuts?

    omg you use the mouse what a loser



  • @heterodox Seriously, get with it. You're supposed to wave your hands around and "tap" an invisible point in the air a couple of feet in front of you.


  • Notification Spam Recipient

    @hardwaregeek said in WTF Bites:

    @heterodox Seriously, get with it. You're supposed to wave your hands around and "tap" an invisible point in the air a couple of feet in front of you.

    Don't forget that you have to return your hand to a 👆 otherwise it might be considered a scroll.


  • BINNED

    @tsaukpaetra
    I keep making 🖕🏼 and then the system reboots ...



  • @anonymous234 said in WTF Bites:

    But what makes it an order of magnitude worse is, it's not actually a text file. You still have to click in the individual settings and it shows a menu with the possible values. So it's all the work of making a GUI with all the niceness of a text file.

    I find this setup pretty comfortable.

    Unlike a typical gui window, you can use the full power of a text editor when editing settings - everything is selectable, searchable, you can copy paste multiple settings, all your key combos work... AND on top of that, they give you intellisense and good comments, so the main disadvantage of txt config files (what magic thing do I type here?) goes away.



  • 0_1525540301440_DSC_0064.JPG

    Noticed this bag of chips in store today.

    Who the hell thought zoomed in bundle of hairs was a good design for food packaging!?



  • @mott555 I've had this happen when you delete a file and forget to remove it from the project. Sometimes finding it is ... um... difficult...



  • @anonymous234 said in WTF Bites:

    But what makes it an order of magnitude worse is, it's not actually a text file.

    It definitely is actually a text (json) file. You can click the settings and you get a menu showing possible values, but that is just the normal autocompletion dialog. You still type normally.

    @anonymous234 said in WTF Bites:

    So it's all the work of making a GUI

    Far, far from it. The only specific UI for the settings is the special split mode with the defaults on the left and the three settings files on the right. The rest is a normal text file UI with JSON completion.

    And it has massive advantage for the plugin authors. Because with settings UI, each plugin would have to define it. This way it just defines a JSON schema (well, something like it) and the rest is generic. Which is a big advantage for something that is mainly a shell for big heap of plugins.



  • @mott555 said in WTF Bites:

    Visual Studio error: "Project has not been built. Build now?"

    Has been happening for us for a long time until colleague noticed that there were some non-existent files referenced by two of the projects and removed them. Check the project for old junk.



  • @mott555 said in WTF Bites:

    Email from Google: "Google Search Console has analyzed your site. Click here to see how it shows up in Google Search and what queries are driving traffic to your site."

    I click the link, and get a page that says "Google Search Console has not yet analyzed your site."

    😒

    Maybe Google sends the email when it starts, but it hadn't finished yet when you checked...?



  • @cartman82 It looks like someone's trying to suffocate him with a plastic bag.



  • @pie_flavor said in WTF Bites:

    @anonymous234 Oh, if you think that's ridiculous...
    @pie_flavor said in WTF Bites:

    VS Code is a curious piece of software.
    https://i.imgur.com/DX4Cyjg.png

    And this is the proof it is just a standard JSON mode. They didn't even bother to switch it from JSON to JSON-with-comments.


  • Dupa

    @heterodox said in WTF Bites:

    @kt_ said in WTF Bites:

    You click "build project" and "debug" instead of using keyboard shortcuts?

    omg you use the mouse what a loser

    Mouse typer spotted!


  • 🚽 Regular

    @bulb said in WTF Bites:

    And it has massive advantage for the plugin authors. Because with settings UI, each plugin would have to define it.

    Not necessarily. Implementing something like an automatically filled PropertyGrid should be trivial:

    0_1525570618062_0deb1e39-d332-4a43-9fec-5b207064f0ba-image.png

    The big advantage here, IMO, is what @cartman82 in WTF Bites:

    Unlike a typical gui window, you can use the full power of a text editor when editing settings - everything is selectable, searchable, you can copy paste multiple settings, all your key combos work... AND on top of that, they give you intellisense and good comments, so the main disadvantage of txt config files (what magic thing do I type here?) goes away.

    (of course, nothing stops you from making labels selectable, putting a little search input in a corner, etc.)

    Also, you get to see what the resulting JSON file looks like; only the settings you cared to customize are shown.

    Considering the target audience of people who write code, this is a pretty adequate UI.


    If one wants to complain about a WTF regarding UX, one should complain about this:



  • @mott555 said in WTF Bites:

    @timebandit said in WTF Bites:

    @hungrier said in WTF Bites:

    the most secure password is "Nutella horse stapler correct"

    You have some strange words in your heart

    And his horse has Nutella stapled to it.

    Correct.



  • My Android phone has randomly started autoincorrecting 'Google' into one of 'Giggle', 'Goggle', or 'Gaggle'.

    And on a side note, a good name for Autocorrect came from an older phone of mine, which 'corrected' Autocorrect into 'Auto Condom Wrecker'.


  • Notification Spam Recipient

    @zecc said in WTF Bites:

    only the settings you cared to customize are shown.

    In the property grid, aren't changed values bolded?


  • Dupa

    @zecc said in WTF Bites:

    @bulb said in WTF Bites:

    And it has massive advantage for the plugin authors. Because with settings UI, each plugin would have to define it.

    Not necessarily. Implementing something like an automatically filled PropertyGrid should be trivial:

    0_1525570618062_0deb1e39-d332-4a43-9fec-5b207064f0ba-image.png

    I hate these with all the hatred I can keep in this little heart of mine. Working with these has always been pain, so much that I even bought a plug-in that made this searchable in VS.

    I really dig VS Code's settings. They're easily searchable and editable. There are no GUI constraints. I think it's a great design for developers.



  • @cvi said in WTF Bites:

    You're not really doing anything unless you're fighting the economy department and the IT department at the same time.

    I actually haven't seen our IT department at all. The state of it is accurately described by the fact that the design of our faculty website is old enough by now to be preparing for admission exams this summer. (Not that I'm personally against old-looking websites with no JavaScript, but it is a symptom.) Or that until last year the proper way to access said website was to use a domain name ending in .su.

    Filed under: Have you considered moving your computations from that 10k+ core specialized compute-cluster to the cloud? We think that would be really hip and totally save you a bunch of money, but we've not really done the math.

    Oh, we have actual clusters at the computer science faculty, but quantum chemists from downstairs tell me that at least one of them perpetually overheats every summer.

    @djls45 said in WTF Bites:

    I've bridged them before, but in the opposite direction than it seem you had the option to.

    How well did it work in presence of encryption? I decided not to try after I read that routers generally give the hairy eyeball to packets from MAC addresses they don't remember authenticating and/or bridging may require existing repeater support in the access point.



  • @brisingraerowing said in WTF Bites:

    And on a side note, a good name for Autocorrect came from an older phone of mine, which 'corrected' Autocorrect into 'Auto Condom Wrecker'.

    you do know that these corrections are made based on long-term analysis of your typing, right?
    i wonder what one would find in your messaging history...



  • I'm transcoding a video in ffmpeg using a batch script. I can't type the number one from my number row - if I do, the command window steals focus. All other numbers are fine. :wtf:



  • @sh_code it did that the first time I typed autocorrect, shortly after I got the phone, just to see what it came up with. IIRC, they gave me the display unit, as they were no longer selling that model.


  • Notification Spam Recipient

    @lb_ said in WTF Bites:

    I'm transcoding a video in ffmpeg using a batch script. I can't type the number one from my number row - if I do, the command window steals focus. All other numbers are fine. :wtf:

    If you type 2 does the second window on your taskbar steal focus?



  • @aitap said in WTF Bites:

    @djls45 said in WTF Bites:

    I've bridged them before, but in the opposite direction than it seem you had the option to.

    How well did it work in presence of encryption? I decided not to try after I read that routers generally give the hairy eyeball to packets from MAC addresses they don't remember authenticating and/or bridging may require existing repeater support in the access point.

    Do you mean HTTPS or VPN? Well, either way, it worked fine:
    <internet>---<mobile access card>---<wifi or usb>---<laptop w/bridged connections>---<ethernet>---<wireless router>---<wifi>---<other devices>

    I don't know of any reason that it wouldn't work the other way around, either:
    <internet>---<modem/router>---<ethernet>---<computer w/bridged connections>---<wifi>---<router>---<ethernet/wifi>---<other devices>


  • Java Dev

    I have noticed a peculiarity on my work computer. Now, in Windows, sound being muted/unmuted persists regardless if I have headphones connected or not. Now, it did look like Windows wants to do the correct thing and treat the status of speakers and headphones separately, but I guess the soundcard driver overrides Windows and sets the muted status back when I connect headphones. Which would not surprise me, seeing as the soundcard driver is written by total assclowns.


  • 🚽 Regular

    @tsaukpaetra said in WTF Bites:

    @zecc said in WTF Bites:

    only the settings you cared to customize are shown.

    In the property grid, aren't changed values bolded?

    I said "only the settings you cared to customize are shown."
    As in: no fishing amidst hundreds of settings you don't care.

    Plus, the UI will look just like the resulting file. Which is a bonus, I guess?


  • Notification Spam Recipient

    @zecc said in WTF Bites:

    @tsaukpaetra said in WTF Bites:

    @zecc said in WTF Bites:

    only the settings you cared to customize are shown.

    In the property grid, aren't changed values bolded?

    I said "only the settings you cared to customize are shown."
    As in: no fishing amidst hundreds of settings you don't care.

    Plus, the UI will look just like the resulting file. Which is a bonus, I guess?

    Ah, well on that case a simple checkbox would be enough to toggle the "don't show me shit I ain't touched" filter. 💉



  • Excuse me, do you have a minute to talk about our lord and savior JavaScript?

    And they say JS is not a cult…


  • Discourse touched me in a no-no place

    @dcoder said in WTF Bites:

    Excuse me, do you have a minute to talk about our lord and savior JavaScript?

    I think I'll stick with Cthulhu; he's a much more kindly and forgiving god…



  • @dkf Indeed, Eldritch horrors have nothing on this:

    0_1525693113485_db10809c-fa56-4828-9531-bfec1adfb1f4-image.png


  • Considered Harmful

    @kt_ said in WTF Bites:

    @zecc said in WTF Bites:

    @bulb said in WTF Bites:

    And it has massive advantage for the plugin authors. Because with settings UI, each plugin would have to define it.

    Not necessarily. Implementing something like an automatically filled PropertyGrid should be trivial:

    0_1525570618062_0deb1e39-d332-4a43-9fec-5b207064f0ba-image.png

    I hate these with all the hatred I can keep in this little heart of mine. Working with these has always been pain, so much that I even bought a plug-in that made this searchable in VS.

    I really dig VS Code's settings. They're easily searchable and editable. There are no GUI constraints. I think it's a great design for developers.

    One of the things I like about the Android API is its standardized settings system. You can plug in your own UI components easy, but Android itself provides the settings framework; the same XML file is used to generate both the settings file and the settings fragment, because the file just denotes sections and input types, leaving the framework to determine what the resulting fragment should look like.


  • Discourse touched me in a no-no place

    @pie_flavor said in WTF Bites:

    One of the things I like about the Android API is its standardized settings system. You can plug in your own UI components easy, but Android itself provides the settings framework; the same XML file is used to generate both the settings file and the settings fragment, because the file just denotes sections and input types, leaving the framework to determine what the resulting fragment should look like.

    That's approximately how you do settings for things in any large framework, because there's usually far too many different settings to develop a custom control for each one and each combination. (Yes, the format of the description varies, but that's not particularly important unless you're writing it right now. XML, JSON, YAML, etc. All are pretty serviceable when you get down to it.) The good thing about Android is that there's an expectation by users of the settings panel being able to scroll, which gets rid of the usual embuggerance of those settings systems; the fact that you often can't get all the settings in view at once (which otherwise causes many complexities as the amount you can fit and how you do it depends so much on the system on which you've deployed).

    Keeping things strongly text based (as it sounds like the VS Code settings are done) is the main other alternative. Such approaches are running towards the linguistic, and we've developed good tools for that over many years…



  • @tsaukpaetra I did already say "all other numbers are fine", the only key with unusual powers was the 1 key. I had to type that messages while it was happening and also I found out by typing dates.



  • @atazhaia said in WTF Bites:

    I have noticed a peculiarity on my work computer. Now, in Windows, sound being muted/unmuted persists regardless if I have headphones connected or not. Now, it did look like Windows wants to do the correct thing and treat the status of speakers and headphones separately, but I guess the soundcard driver overrides Windows and sets the muted status back when I connect headphones. Which would not surprise me, seeing as the soundcard driver is written by total assclowns.

    If I understand correctly that you want sound to not come out of the computer but you do want sound when you plug in headphones, I'd suggest just going into the playback devices and disabling the speakers.


  • Java Dev

    @anotherusername What I want is for the computer to remember the sound settings for the current output. It correctly switches between them (use headphone output if connected, otherwise speakers) but also remember the volume separately (it does) and if it's muted or not (Linux does, Windows doesn't).

    I don't want to go so far as to disable the speakers, as I should not have to go that far. The mute button should only toggle the current output, not all outputs. And I assume the Windows default behaviour is the correct one, and that it is the drivers for my soundcard that overrides Windows, as I can see the icon flashing when I connect the headphones.


  • Considered Harmful

    @atazhaia I have successfully gotten my Windows setup to work the way you describe. It is not a soundcard thing, but rather a sound manager thing.


Log in to reply