Rumours: Microsoft to buy github


  • Fake News

    @blakeyrat said in Rumours: Microsoft to buy github:

    TFS could have done it, natch. But of course Linus would never use that.


  • Banned

    @sockpuppet7 said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    We can do better. We can do much better than that. But not until we demand better

    Better cost money. Windows is already too expensive for me.

    That's not how it works. Prices are maximum amount the customers are willing to pay, regardless of quality (though quality relative to competition might matter somewhat). Also, shitty code is more expensive to develop in the long run.



  • @stillwater said in Rumours: Microsoft to buy github:

    and also make microsoft login mandatory

    Humm... to my dismay, LinkedIn still doesn't support Live login yet. So I seriously doubt it.

    Btw, Microsoft already owns VSTS that also supports Git and supports Live login, making GitHub support it sounds redundant to me.


  • Banned

    @stillwater said in Rumours: Microsoft to buy github:

    What are these usability issues that y'all think windows has?

    In Windows 10: surprise updates, surprise breakage after updates, surprise unwanted features after updates.

    All Windowses: absurdly long updates, no information of what went wrong if something crashes, detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine (opting out requires advanced regedit hackery), breaking out of full screen when disconnecting one of cloned displays, no single standard method of installing all software, magic user directories that combine other directories and allow writes (with files ending up who knows where), can't change capitalization in file name without changing anything else, many CLI commands have no help page (they just run with default parameters, which is often dangerous), cannot select additional folders for UAC protection, cannot run programs WITHOUT admin rights if the manifest says they need it (even though they don't actually need it). Just off the top of my head.


  • kills Dumbledore

    @gąska said in Rumours: Microsoft to buy github:

    can't change capitalization in file name without changing anything else

    Wut?


  • Considered Harmful

    @gąska said in Rumours: Microsoft to buy github:

    detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine

    That's a good thing.

    opting out requires advanced regedit hackery

    Yeah, or going to compatibility settings and turning it off.

    many CLI commands have no help page (they just run with default parameters, which is often dangerous)

    Using CMD is :doing_it_wrong:. They've even changed the shift+right-click default just to get people to switch.

    cannot select additional folders for UAC protection

    Does disallowing normal users from writing in the Security window not work?

    cannot run programs WITHOUT admin rights if the manifest says they need it

    This one you can do with registry hackery.


  • Banned

    @jaloopa said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    can't change capitalization in file name without changing anything else

    Wut?

    They might've fixed it already, but I definitely had this problem in the past. XP for sure, I believe 7 has (had?) it too.



  • @gąska said in Rumours: Microsoft to buy github:

    In Windows 10: surprise updates

    In meeting today:
    Boss to co-worker: Can you show us the thing?
    Co-worker: No, Windows decided to install updates. (Shows us spinning circles.)



  • You all must be some sort of superusers. I've been doing dev using windows for a long time and have never run into anything that I would consider a PITA other than the updates that happen randomly.

    @hardwaregeek said in Rumours: Microsoft to buy github:

    In meeting today:
    Boss to co-worker: Can you show us the thing?
    Co-worker: No, Windows decided to install updates. (Shows us spinning circles.)

    Me and a co-worker took full advantage of the situation where we'd not turn off the computer for as long as needed after the updates were downloaded. Right when the boss asked us to do something pissy or annoyingly unneccessary we turn it off and on and boom windows update for a good half an hour to an hour. Did it for a very long time.

    The other one I remember that happened company-wide was the free win8 to wind 10 upgrade where people waited for their worst fucking day of the month and decided to update on that day and just fucked around watching youtube and whatnot with the managers fuming inside.

    Good times.


  • Banned

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine

    That's a good thing.

    Not when you're trying to debug why it crashes.

    opting out requires advanced regedit hackery

    Yeah, or going to compatibility settings and turning it off.

    Where can I turn it off then? As far as I know registry is the only way. I search the web quite thoroughly on that issue.

    many CLI commands have no help page (they just run with default parameters, which is often dangerous)

    Using CMD is :doing_it_wrong:.

    Using CMD is the only way to regenerate BCD, or disable ASLR, or flush DNS cache, or million other advanced administration shit.

    cannot select additional folders for UAC protection

    Does disallowing normal users from writing in the Security window not work?

    No, because I'm an administrator. And if I have no access at all, it won't prompt UAC.

    cannot run programs WITHOUT admin rights if the manifest says they need it

    This one you can do with registry hackery.

    ...except for adding a context menu entry through registry. Oh, and there's CMD hackery too! Surely following those instructions is :doing_it_wrong:!

    If I have to use scripts to work around not being able to disable a feature, that's usability issue.



  • @stillwater said in Rumours: Microsoft to buy github:

    Me and a co-worker took full advantage of the situation

    That's fine, but the main purpose of the meeting was supposed to be to discuss the thing.


  • kills Dumbledore

    @gąska said in Rumours: Microsoft to buy github:

    They might've fixed it already

    Fixed what already? I don't understand what the problem is


  • Banned

    @jaloopa you have a file named "foo.txt". You want to rename it to "Foo.txt". You can't because the names conflict with each other.


  • kills Dumbledore


  • Considered Harmful

    @gąska said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine

    That's a good thing.

    Not when you're trying to debug why it crashes.

    So opt out.

    opting out requires advanced regedit hackery

    Yeah, or going to compatibility settings and turning it off.

    Where can I turn it off then? As far as I know registry is the only way. I search the web quite thoroughly on that issue.

    You untick this box.
    https://i.imgur.com/uYyj26n.png

    many CLI commands have no help page (they just run with default parameters, which is often dangerous)

    Using CMD is :doing_it_wrong:.

    Using CMD is the only way to regenerate BCD, or disable ASLR, or flush DNS cache, or million other advanced administration shit.

    BCD is accessible through COM which means it's accessible through PowerShell. ASLR is accessible through the registry, which means it's accessible through PowerShell. There's a Clear-DnsClientCache command.

    cannot select additional folders for UAC protection

    Does disallowing normal users from writing in the Security window not work?

    No, because I'm an administrator. And if I have no access at all, it won't prompt UAC.

    https://i.imgur.com/yfRqfNb.png
    https://i.imgur.com/O9s5uob.png

    Unless you mean something different by UAC prompt.

    cannot run programs WITHOUT admin rights if the manifest says they need it

    This one you can do with registry hackery.

    ...except for adding a context menu entry through registry. Oh, and there's CMD hackery too! Surely following those instructions is :doing_it_wrong:!

    If I have to use scripts to work around not being able to disable a feature, that's usability issue.

    Ok. It's still fixable.


  • Banned

    @Jaloopa

    They might've fixed it already, but I definitely had this problem in the past. XP for sure, I believe 7 has (had?) it too.


  • Discourse touched me in a no-no place

    @admiral_p said in Rumours: Microsoft to buy github:

    Is vi(m) abhorrent?

    Yes. It isn't emacs. 🏆


  • Discourse touched me in a no-no place

    @masonwheeler said in Rumours: Microsoft to buy github:

    it was born out of a big personal snit between some big dev on the Linux project (not Linus) and the creator of the VCS they were using

    FWIW, Larry McVoy (the VCS guy in your statement) was and still is definitely a colossal asshole (and knows it), like a more extreme version of :doing_it_wrong:. I believe that the other developer was one of those people who simply can't leave things alone despite being warned off explicitly, i.e., a different sort of jerk, but still a jerk. So git had its genesis in a stupid slap-fight between people who are not worthy of being polite about, and Linus Torvalds (being neither of the folks concerned) did something about it by writing code. And probably swearing a lot for having to go through that shit at all…


  • Resident Tankie ☭

    @stillwater to be fair (older generation) MBPs are very good hardware, regardless of the OS. Plus, if you're not paying for it, there is no concept of value for money, nor lock-in issues, not your problem.



  • @dkf said in Rumours: Microsoft to buy github:

    @admiral_p said in Rumours: Microsoft to buy github:

    Is vi(m) abhorrent?

    Yes. It isn't emacs. 🏆

    👎🏻


  • Resident Tankie ☭

    @dkf I rather like the idea of Emacs. But I cannot get myself to use it. I like my arrow keys, my Ctrl-X/C/V shortcuts, etc. To be fair, I know that there are ways to make Emacs conform to modern expectations but I can't ever figure out what you need to use and install and stuff.


  • Notification Spam Recipient

    @jaloopa said in Rumours: Microsoft to buy github:

    @boomzilla said in Rumours: Microsoft to buy github:

    I'd be interested to see the tinfoil brigade behind that, if it exists

    The paranoia runs strong.

    Andrew Hull on these comments is pretty mouth frothy:

    Now we just have to wait for Micro$oft to "monetize" all of the free code that the community has developed and which they will plunder.

    Here's some speculation that they might take down repos that are against their business interests

    But the wonderful thing about git (or so I've been told) is that it's a decentralized source control. Anyone that cloned it (and, literally, anyone who worked on the repo has a clone, pretty much by definition) can simply push it to a new site, no?


  • Banned

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine

    That's a good thing.

    Not when you're trying to debug why it crashes.

    So opt out.

    Except opting out disables this otherwise useful feature.

    opting out requires advanced regedit hackery

    Yeah, or going to compatibility settings and turning it off.

    Where can I turn it off then? As far as I know registry is the only way. I search the web quite thoroughly on that issue.

    You untick this box.
    https://i.imgur.com/uYyj26n.png

    What if this box isn't ticked to start with? What are you going to do now?

    many CLI commands have no help page (they just run with default parameters, which is often dangerous)

    Using CMD is :doing_it_wrong:.

    Using CMD is the only way to regenerate BCD, or disable ASLR, or flush DNS cache, or million other advanced administration shit.

    BCD is accessible through COM which means it's accessible through PowerShell.

    Is there a way to list available options before running anything for real?

    ASLR is accessible through the registry

    Apparently. Also, I probably misremembered what I wanted to achieve back then, and the solution didn't involve ASLR after all. Also, more regedit hackery!

    which means it's accessible through PowerShell.

    What do you mean by that? Does PowerShell offer a different interface for Windows registry that's somehow more powerful/safe/makes you actually know what you're doing? Because if it has feature parity with regedit and nothing more, it's irrelevant if it has it or not - whatever you're doing, it's still the same old regedit hackery where you randomly insert magic keys with magic values in magic places, and nothing is documented.

    There's a Clear-DnsClientCache command.

    Oh, cool. It's good to know that one command line interface has feature parity with the other command line interface and you still can't do it from GUI! Yay for usability!

    cannot select additional folders for UAC protection

    Does disallowing normal users from writing in the Security window not work?

    No, because I'm an administrator. And if I have no access at all, it won't prompt UAC.

    https://i.imgur.com/yfRqfNb.png
    https://i.imgur.com/O9s5uob.png

    Okay, looks like it works. I swear it didn't work for me. But maybe the problem was somewhere else on my machine. Or maybe Windows version matters here.

    cannot run programs WITHOUT admin rights if the manifest says they need it

    This one you can do with registry hackery.

    ...except for adding a context menu entry through registry. Oh, and there's CMD hackery too! Surely following those instructions is :doing_it_wrong:!

    If I have to use scripts to work around not being able to disable a feature, that's usability issue.

    Ok. It's still fixable.

    With this attitude, Linux has no problems with usability whatsoever because everything is "fixable" there too!



  • @admiral_p said in Rumours: Microsoft to buy github:

    I rather like the idea of Emacs. But I cannot get myself to use it.

    No doubt Emacs is fine. But I have used it so seldom that I can't remember any commands. The jokes about having to google how to quit vi apply equally to quitting Emacs. OTOH, I've used (g)vi(m) for well over 30 years, and there isn't anything I need it to do (short of being a full-blown IDE) that it can't do, so I have no incentive to learn Emacs.


  • Notification Spam Recipient

    @admiral_p said in Rumours: Microsoft to buy github:

    Computers are an inherently unnatural interface. The only way you can make computers generally usable is to provide them with good AIs and drive them with voice assistants, so that they respond like humans do and they do stuff for you.

    Wat.


  • Resident Tankie ☭

    @dkf I knew about the BitKeeper fracas. What I didn't knew was how big of an arsehole McVoy was.

    http://article.gmane.org/gmane.comp.version-control.mercurial.devel/3481

    Fucking hell!


  • Notification Spam Recipient

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    cannot select additional folders for UAC protection

    Does disallowing normal users from writing in the Security window not work?

    It's difficult to get this to happen correctly, and a lot easier to shoot yourself in the foot.

    For example, your statement "Disallowing normal users" aka adding a Deny permission to the Users group, (IIRC) would also deny Administrators, since users in that group are often also Users, and Deny permissions take precedence over Allow, and now you've broken everything and can't log into your own profile and Windows made a new one and broken broken broken wtf why.


  • Resident Tankie ☭

    @tsaukpaetra I personally believe that if we're talking about usability, anything we do is merely a stopgap before computers become the kind of intelligent beings we usually appreciate interacting with. You could give my gran a computer designed from head to toe by what's-his-name, Don Norman, or maybe Bruce Tognazzini, something like that? himself*, and the moment I'd get out of the house I'd receive a panicked phonecall and learn that in the five seconds I've been out of her house, she managed to crash the PC, ceding her bank account to a Nigerian prince in the meanwhile.

    We have to face it. We're fucking NERDS. We wouldn't know what usability was even if... ah, fuck it, can't think of a clever metaphor. So, nerds be nerds, and the rest of the world gets on through sheer luck.

    • : I don't even agree with his vision entirely. When a computer just works the way I recall that he wants it to just work, I think it ends up being boring. You need to factor in some excitement, some needless gimmick that nevertheless keeps you entertained.

  • Notification Spam Recipient

    @admiral_p said in Rumours: Microsoft to buy github:

    anything we do is merely a stopgap before computers become the kind of intelligent beings we usually appreciate interacting with.

    Ah, see I misunderstood. I thought we were talking about computers like they were glorified tools to accomplish tasks, not people. My mistake.


  • BINNED

    @admiral_p said in Rumours: Microsoft to buy github:

    ... the kind of intelligent beings we usually appreciate interacting with.

    Where can I get some of those? I CAN HAZ PLZZZZ?


  • Considered Harmful

    @gąska said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine

    That's a good thing.

    Not when you're trying to debug why it crashes.

    So opt out.

    Except opting out disables this otherwise useful feature.

    opting out requires advanced regedit hackery

    Yeah, or going to compatibility settings and turning it off.

    Where can I turn it off then? As far as I know registry is the only way. I search the web quite thoroughly on that issue.

    You untick this box.
    https://i.imgur.com/uYyj26n.png

    What if this box isn't ticked to start with? What are you going to do now?

    It'll only do it automatically once. After that you can make manual edits that won't get overwritten.

    many CLI commands have no help page (they just run with default parameters, which is often dangerous)

    Using CMD is :doing_it_wrong:.

    Using CMD is the only way to regenerate BCD, or disable ASLR, or flush DNS cache, or million other advanced administration shit.

    BCD is accessible through COM which means it's accessible through PowerShell.

    Is there a way to list available options before running anything for real?

    Tab-complete is your friend.

    which means it's accessible through PowerShell.

    What do you mean by that? Does PowerShell offer a different interface for Windows registry that's somehow more powerful/safe/makes you actually know what you're doing? Because if it has feature parity with regedit and nothing more, it's irrelevant if it has it or not - whatever you're doing, it's still the same old regedit hackery where you randomly insert magic keys with magic values in magic places, and nothing is documented.

    Got me there.

    There's a Clear-DnsClientCache command.

    Oh, cool. It's good to know that one command line interface has feature parity with the other command line interface and you still can't do it from GUI! Yay for usability!

    We're arguing command lines here. Did you expect PowerShell to include a GUI?

    cannot run programs WITHOUT admin rights if the manifest says they need it

    This one you can do with registry hackery.

    ...except for adding a context menu entry through registry. Oh, and there's CMD hackery too! Surely following those instructions is :doing_it_wrong:!

    If I have to use scripts to work around not being able to disable a feature, that's usability issue.

    Ok. It's still fixable.

    With this attitude, Linux has no problems with usability whatsoever because everything is "fixable" there too!

    Except it isn't!
    Seriously, one registry change and you're golden. With Linux, they cannot be fixed outside of modifying system code.


  • Fake News

    @boomzilla said in Rumours: Microsoft to buy github:

    @blakeyrat said in Rumours: Microsoft to buy github:

    I still don't get why people (especially open source-y people) seem to think that distributed and centralized are mutually-exclusive. What does distributed give you? The ability to work offline. Well guess what? I can do that with TFS 2013+ no problem.

    Is there a centralized VCS that can handle commit-then-merge? That is, you work on stuff and then commit. But if someone committed something since you last updated, your commit is saved in the repo and then there is an additional explicit merge of the two branches? Instead of doing that all in your working directory where your changes might or might not be recoverable?

    I wonder if PlasticSCM or Perforce couldn't do such things, but since they both cost money I haven't tried them.

    The former does promote light-weight branches, so that might be seen as equivalent when you consider that they also ship a great merge tool to immediately reintegrate that branch.



  • Shameless confession: I've never git rebase merge head tail checkout -0 ajkafjdkflakfla or whatever the command is. When it becomes a fucky merge conflict, I get the latest file(s), compare, make changes and then check in. :/


  • BINNED

    @hungrier said in Rumours: Microsoft to buy github:

    @luhmann Venus?

    Omicron Persei 7.



  • @jbert said in Rumours: Microsoft to buy github:

    @boomzilla said in Rumours: Microsoft to buy github:

    Is there a centralized VCS that can handle commit-then-merge? That is, you work on stuff and then commit. But if someone committed something since you last updated, your commit is saved in the repo and then there is an additional explicit merge of the two branches? Instead of doing that all in your working directory where your changes might or might not be recoverable?

    I wonder if PlasticSCM or Perforce couldn't do such things, but since they both cost money I haven't tried them.

    When using pre-Git Perforce the way we did it was by having each developer make their own branch. You'd check into your branch, sync down to make sure you were up-to-date, and then check your changes into the parent.



  • @jaloopa said in Rumours: Microsoft to buy github:

    @gąska

    0_1528525337494_a6089924-cd01-4b5b-a2fb-dd5d2b36aae7-image.png

    0_1528525353157_2b530957-6387-49cb-96c8-30da76f8dc78-image.png

    Yes, you can do that in Explorer, but good luck trying to use something like git mv foo.txt Foo.txt without an intermediate name.



  • @pie_flavor said in Rumours: Microsoft to buy github:

    BCD is accessible through COM which means it's accessible through PowerShell. ASLR is accessible through the registry, which means it's accessible through PowerShell. There's a Clear-DnsClientCache command.

    Poweshell has gone to the trash bin as soon as our security team decided to disallow it to run scripts in the domain.

    Of course TRWTF are them, but why does it have this "ExecutionPolicy" if they really want powershell to be the next thing?

    I'm back to automating tasks with VBScript of I want anyone to be able to run it.


  • kills Dumbledore

    @lb_ why would I want to do that?


  • Impossible Mission - B

    @stillwater said in Rumours: Microsoft to buy github:

    You all must be some sort of superusers. I've been doing dev using windows for a long time and have never run into anything that I would consider a PITA other than the updates that happen randomly.

    @hardwaregeek said in Rumours: Microsoft to buy github:

    In meeting today:
    Boss to co-worker: Can you show us the thing?
    Co-worker: No, Windows decided to install updates. (Shows us spinning circles.)

    Me and a co-worker took full advantage of the situation where we'd not turn off the computer for as long as needed after the updates were downloaded. Right when the boss asked us to do something pissy or annoyingly unneccessary we turn it off and on and boom windows update for a good half an hour to an hour. Did it for a very long time.

    The other one I remember that happened company-wide was the free win8 to wind 10 upgrade where people waited for their worst fucking day of the month and decided to update on that day and just fucked around watching youtube and whatnot with the managers fuming inside.

    Good times.

    Windows Updates are the new compiler!


  • Impossible Mission - B

    @m_adams said in Rumours: Microsoft to buy github:

    @admiral_p said in Rumours: Microsoft to buy github:

    ... the kind of intelligent beings we usually appreciate interacting with.

    Where can I get some of those? I CAN HAZ PLZZZZ?

    It's called dating. 🚎


  • Fake News

    @sockpuppet7 said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    BCD is accessible through COM which means it's accessible through PowerShell. ASLR is accessible through the registry, which means it's accessible through PowerShell. There's a Clear-DnsClientCache command.

    Poweshell has gone to the trash bin as soon as our security team decided to disallow it to run scripts in the domain.

    Of course TRWTF are them, but why does it have this "ExecutionPolicy" if they really want powershell to be the next thing?

    I'm back to automating tasks with VBScript of I want anyone to be able to run it.

    It makes sense if you want to disallow scripts downloaded from email.

    There are a few ways around it though, including this one:

    1. Use the “Bypass” Execution Policy Flag

    This is a nice flag added by Microsoft that will bypass the execution policy when you’re executing scripts from a file. When this flag is used Microsoft states that “Nothing is blocked and there are no warnings or prompts”. This technique does not result in a configuration change or require writing to disk.

    PowerShell.exe -ExecutionPolicy Bypass -File .runme.ps1

    What do you need those scripts for (do the users run them theirselves), and how much setup can you get away with? You can for example wrap the above command in a shortcut.

    In fact, you could even do away with the script and bundle everything inside a .lnk if you really wanted, just use #6 from the above link and build a base64-encoded command:

    powershell.exe -Enc VwByAGkAdABlAC0ASABvAHMAdAAgACcATQB5ACAAdgBvAGkAYwBlACAAaQBzACAAbQB5ACAAcABhAHMAcwBwAG8AcgB0ACwAIAB2AGUAcgBpAGYAeQAgAG0AZQAuACcA

    Then you can use tools like lnkedit to get around Explorer's limitation that the Target box can only contain 256-something characters.

    Bam, you got a .lnk file containing your entire script.



  • @jbert bypass doesn't bypass the domain admins, and I won't do anything hackish just to run my script, I just abandoned the idea of using powershell, and throw it on the WTF basket


  • Banned

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    @pie_flavor said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    detecting that the program you're developing crashes randomly and automatically applying fixes that make it not crash on your machine

    That's a good thing.

    Not when you're trying to debug why it crashes.

    So opt out.

    Except opting out disables this otherwise useful feature.

    opting out requires advanced regedit hackery

    Yeah, or going to compatibility settings and turning it off.

    Where can I turn it off then? As far as I know registry is the only way. I search the web quite thoroughly on that issue.

    You untick this box.
    https://i.imgur.com/uYyj26n.png

    What if this box isn't ticked to start with? What are you going to do now?

    It'll only do it automatically once. After that you can make manual edits that won't get overwritten.

    What if it DIDN'T do it automatically even once, and I triple-checked that it's really unchecked, even toggled it manually a few times and left it unchecked at the end, and it still prompts UAC? Do I have to record a video or will you believe me when I say it's not compatibility options that cause UAC?

    many CLI commands have no help page (they just run with default parameters, which is often dangerous)

    Using CMD is :doing_it_wrong:.

    Using CMD is the only way to regenerate BCD, or disable ASLR, or flush DNS cache, or million other advanced administration shit.

    BCD is accessible through COM which means it's accessible through PowerShell.

    Is there a way to list available options before running anything for real?

    Tab-complete is your friend.

    I'll test it when I get home. I expect at least a full list of all commands and subcommands with one sentence of explanation each.

    There's a Clear-DnsClientCache command.

    Oh, cool. It's good to know that one command line interface has feature parity with the other command line interface and you still can't do it from GUI! Yay for usability!

    We're arguing command lines here. Did you expect PowerShell to include a GUI?

    I expected your response to "CLI sucks because I can't see what some commands are doing without running them" to be something different than "use a different CLI!" - unless you literally mean that every single Powershell command in entire system (a default fresh installation without custom programs, to make it simple) has a help text that you can read without any side effects, and you don't need to read the command's specific help text to know how to get command's help text.

    cannot run programs WITHOUT admin rights if the manifest says they need it

    This one you can do with registry hackery.

    ...except for adding a context menu entry through registry. Oh, and there's CMD hackery too! Surely following those instructions is :doing_it_wrong:!

    If I have to use scripts to work around not being able to disable a feature, that's usability issue.

    Ok. It's still fixable.

    With this attitude, Linux has no problems with usability whatsoever because everything is "fixable" there too!

    Except it isn't!
    Seriously, one registry change and you're golden. With Linux, they cannot be fixed outside of modifying system code.

    Give me a problem and I'll write you a script that works around it. By problem, I mean a specific task you're trying to accomplish and Linux doesn't let you.


  • Banned

    @lb_ said in Rumours: Microsoft to buy github:

    @jaloopa said in Rumours: Microsoft to buy github:

    @gąska

    0_1528525337494_a6089924-cd01-4b5b-a2fb-dd5d2b36aae7-image.png

    0_1528525353157_2b530957-6387-49cb-96c8-30da76f8dc78-image.png

    Yes, you can do that in Explorer

    I'm 100% positive I have used a Windows version within the last 5 years where Explorer couldn't do that. I'm 90% convinced it was 7.



  • @gąska said in Rumours: Microsoft to buy github:

    cannot run programs WITHOUT admin rights if the manifest says they need it

    You're blaming Windows for that??? That's the fucking developers fault! (and you can edit the manifest with the right tools)



  • @lb_ said in Rumours: Microsoft to buy github:

    Yes, you can do that in Explorer, but good luck trying to use something like git mv foo.txt Foo.txt without an intermediate name.

    Ah, so we're back to "git sucks, Windows works".



  • @jaloopa said in Rumours: Microsoft to buy github:

    @lb_ why would I want to do that?

    Because it has the wrong case in the git repo and when people clone your code on a case-sensitive filesystem it doesn't compile.



  • @gąska said in Rumours: Microsoft to buy github:

    @lb_ said in Rumours: Microsoft to buy github:

    @jaloopa said in Rumours: Microsoft to buy github:

    @gąska

    0_1528525337494_a6089924-cd01-4b5b-a2fb-dd5d2b36aae7-image.png

    0_1528525353157_2b530957-6387-49cb-96c8-30da76f8dc78-image.png

    Yes, you can do that in Explorer

    I'm 100% positive I have used a Windows version within the last 5 years where Explorer couldn't do that. I'm 90% convinced it was 7.

    I can't remember a version where I couldn't. I have sometimes had to hit F5 to refresh after the rename...


  • Banned

    @dcon said in Rumours: Microsoft to buy github:

    @gąska said in Rumours: Microsoft to buy github:

    cannot run programs WITHOUT admin rights if the manifest says they need it

    You're blaming Windows for that??? That's the fucking developers fault!

    Yes, I do blame Windows for the lack of foresight that some applications might unnecessarily request higher privileges and the user might be not okay with that. Especially since they implemented this exact same feature, but working the other way - and made it easily accessible via right-click, and a checkbox in shortcut properties!

    (and you can edit the manifest with the right tools)

    My Unreal Gold copy from GOG must be broken, since I couldn't find the manifest by opening the executable via Visual Studio run as admin, as all the guides recommend. Maybe there's some other thing that tells Windows to run as admin unconditionally?



  • @gąska said in Rumours: Microsoft to buy github:

    (and you can edit the manifest with the right tools)

    My Unreal Gold copy from GOG must be broken, since I couldn't find the manifest by opening the executable via Visual Studio run as admin, as all the guides recommend. Maybe there's some other thing that tells Windows to run as admin unconditionally?

    Open the exe as a resource.

    Or from the command line (with the VS tools environment), mt -inputresource:Whatever.exe;#1 -out:Whatever.exe.manifest
    (mt -? gives lots of examples)

    Now you can edit it. And setting

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide]
    "PreferExternalManifest"=dword:00000001
    

    used to enable the external manifest over the internal one. (Tho a recent Win10 update may have borked that) The reason I used to use that was to fix stupid programs who said they were hidpi aware, but really weren't - and the compatibility settings actually work for doing that now)


Log in to reply