As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
We're funding a new Acquisitions Incorporated series on Kickstarter right now! Check it out at https://www.kickstarter.com/projects/pennyarcade/acquisitions-incorporated-the-series-2

[Programming] Mirror, mirror, on the wall, show the git diff for them all

17879818384100

Posts

  • EvigilantEvigilant VARegistered User regular
    I've almost always have some reference like MSDN open in a tab because I'm too busy thinking about other issues that having to spend time remembering if I spelled the method name correctly or if I'm using the right reference just takes away time that I could otherwise spend towards resolving the issue. I prize problem solving and clean code over your actual ability to recall some quirk with any particular language.

    "If you don't know it, you can be taught."

    XBL\PSN\Steam\Origin: Evigilant
    crimsoncoyote
  • bowenbowen How you doin'? Registered User regular
    My job isn't memorization of APIs, I have about 8 dozen stack overflows and MSDNs/whatever-other-relevant-apis open at any given time.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    crimsoncoyoteDisruptedCapitalistEchoa5ehrenEvigilantmightyjongyoTofystedethNaphtalireplacewythy
  • DisruptedCapitalistDisruptedCapitalist I swear! Registered User regular
    I've known people like that in other jobs. Back when I was practicing law I had the brief misfortune of having an opposing counsel who had a photographic memory. In fact, he was the sort of person to tell you on a regular basis that he had a photographic memory. And of course my explanation of a law was always wrong because I didn't quote the law verbatim Like to the point where he'd criticized me during a deposition because I confused "must" with "may" in a part of a law that had nothing to do with what we were reviewing at the time anyway, but nooo we had to spend an additional half hour arguing that bullshit.

    That's actually the same impression I got of that guy in the interview. I think he seriously expected me to have all programming languages on my resume completely and perfectly committed to memory.

  • bowenbowen How you doin'? Registered User regular
    Yeah even if you say "this is basically what it looks like" the graybeards of old who were forced to memorize simplistic APIs get pissy when you don't or weren't.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • mightyjongyomightyjongyo Sour Crrm East Bay, CaliforniaRegistered User regular
    So, question - How bad is windows server? Like, if someone was running sqlserver on it, and also hosting a website on it, how bad would that be? I'm incredibly biased towards Linux so I have literally no idea if it's good or not besides my knee-jerk reaction. I'm not sure what version of windows it is though, it's all second-hand info.

  • bowenbowen How you doin'? Registered User regular
    I mean not bad? Windows feels heavier than linux. I hate that I can't manage it via command line. It'd be like running apache/mysql.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    DisruptedCapitalist
  • iTunesIsEviliTunesIsEvil Cornfield? Cornfield.Registered User regular
    http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html
    An Ubuntu user space and bash shell, running natively in a Windows 10 cmd.exe console!

    bash.png

    Did you get that?!? Don't worry, it took me a few laps around that track, before I fully comprehended it when I first heard such crazy talk a few months ago :-)

    Here's let's break it down slowly...
    1. Windows 10 users
    2. Can open the Windows Start menu
    3. And type "bash" [enter]
    4. Which opens a cmd.exe console
    5. Running Ubuntu's /bin/bash
    6. With full access to all of Ubuntu user space
    7. Yes, that means apt, ssh, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, gcc, tar, vim, emacs, diff, patch...
    8. And most of the tens of thousands binary packages available in the Ubuntu archives!

    "Right, so just Ubuntu running in a virtual machine?" Nope! This isn't a virtual machine at all. There's no Linux kernel booting in a VM under a hypervisor. It's just the Ubuntu user space.

    "Ah, okay, so this is Ubuntu in a container then?" Nope! This isn't a container either. It's native Ubuntu binaries running directly in Windows.

    "Hum, well it's like cygwin perhaps?" Nope! Cygwin includes open source utilities are recompiled from source to run natively in Windows. Here, we're talking about bit-for-bit, checksum-for-checksum Ubuntu ELF binaries running directly in Windows.

    [long pause]

    "So maybe something like a Linux emulator?" Now you're getting warmer! A team of sharp developers at Microsoft has been hard at work adapting some Microsoft research technology to basically perform real time translation of Linux syscalls into Windows OS syscalls. Linux geeks can think of it sort of the inverse of "wine" -- Ubuntu binaries running natively in Windows. Microsoft calls it their "Windows Subsystem for Linux". (No, it's not open source at this time.)

    :biggrin: :rotate: :biggrin:

    DisruptedCapitalistecco the dolphinInfidelironsizide
  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    It's a relatively natural extension of the old posix subsystem they had, though perhaps they needed to do some kernel rearchitecting so they couldn't do it before now

  • PhasenPhasen Hell WorldRegistered User regular
    Is it not cool that bash is coming in some form to Windows? I was happy about it because I don't know windows powershell well and powershell seems kinda bad?

    I really don't know enough to dig into the intricacies though. I do like that I could fiddle with bash on Windows at least.

    psn: PhasenWeeple
    crimsoncoyote
  • MadpoetMadpoet Registered User regular
    So, question - How bad is windows server? Like, if someone was running sqlserver on it, and also hosting a website on it, how bad would that be? I'm incredibly biased towards Linux so I have literally no idea if it's good or not besides my knee-jerk reaction. I'm not sure what version of windows it is though, it's all second-hand info.
    I've got a couple sites in the wild that are just a large EC2 instance with IIS and SQL Server Express, serving a hundred users or so each, and they run great. Heck, Microsoft used to have a "Small Business Server" that had SQL Server, Exchange, IIS, and your DC all in one box, and it worked fine (for some definitions of fine). It's just not optimal if the site or the database will get heavy use.

  • ZxerolZxerol for the smaller pieces, my shovel wouldn't do so i took off my boot and used my shoeRegistered User regular
    Phasen wrote: »
    Is it not cool that bash is coming in some form to Windows? I was happy about it because I don't know windows powershell well and powershell seems kinda bad?

    I really don't know enough to dig into the intricacies though. I do like that I could fiddle with bash on Windows at least.

    You could mess around with bash on windows today if you wanted to. It's nothing terribly novel if you're just talking about a shell.

    The Big Deal now is that you get Linux userland shit running natively on Windows, package management and all, which is going to shake things up. For someone who does bullshit hobby projects on the side, it'll be interesting having a full nix system on Windows without relying on Cygwin-compiled nonsense or VMs/Vagrant/whatever.

    urahonkycrimsoncoyoteiTunesIsEviltemplewulf
  • mightyjongyomightyjongyo Sour Crrm East Bay, CaliforniaRegistered User regular
    Madpoet wrote: »
    So, question - How bad is windows server? Like, if someone was running sqlserver on it, and also hosting a website on it, how bad would that be? I'm incredibly biased towards Linux so I have literally no idea if it's good or not besides my knee-jerk reaction. I'm not sure what version of windows it is though, it's all second-hand info.
    I've got a couple sites in the wild that are just a large EC2 instance with IIS and SQL Server Express, serving a hundred users or so each, and they run great. Heck, Microsoft used to have a "Small Business Server" that had SQL Server, Exchange, IIS, and your DC all in one box, and it worked fine (for some definitions of fine). It's just not optimal if the site or the database will get heavy use.

    Ah ok. That's good to know, thanks. It's an e-commerce site, but it's for a small mom n pop type store so I don't think the load will be too terribly high.

  • TofystedethTofystedeth Registered User regular
    I work in a huge healthcare system that is probably 90+% Windows servers. They do just fine.

    steam_sig.png
    crimsoncoyotemightyjongyo
  • crimsoncoyotecrimsoncoyote Registered User regular
    Want to use command line to manage your Windows Server?

    Let me tell you about Windows Server Core...

    Windows Nano Server is supposed to be the next "big" Windows thing, I guess? I haven't gotten to mess around with it yet.

  • schussschuss Registered User regular
    who was in here talking about cucumber/gherkin and a chrome plugin? I'm starting to think of moving our teams (I'm business side) towards BDD as part of our move to agile, and cucumber looks like it could really work for our stack as an easy way to build testing scenarios and user stories that can quickly turn into code and automated tests.

  • PolaritiePolaritie Sleepy Registered User regular
    Okay, bash on Win10 is appealing.

    But not enough. Mandatory patching has to go first. That even Apple doesn't do it should have made it clear it's silly.

    Steam: Polaritie
    3DS: 0473-8507-2652
    Switch: SW-5185-4991-5118
    PSN: AbEntropy
  • bowenbowen How you doin'? Registered User regular
    edited March 2016
    They really should focus on changing the windows OS to use a linux style userspace to begin with.

    At this point all the OS stuff should be in /etc/ and /home/ and /dev/ and whatever else.

    Then emulate the c:\ drive over top of /var/, and c:\users should just point to /home

    After all that, then implement an apt-get system on windows (choco is nice enough), and SSH, and powershell. Boom, headless windows systems, even desktops.

    bowen on
    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    Echo
  • bowenbowen How you doin'? Registered User regular
    edited March 2016
    It would especially great if "c:\" was just a URI that was piped to /mount/c and you could override it and point it other places. Imagine the power that shit would have.

    bowen on
    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • EchoEcho ski-bap ba-dapModerator mod
    Polaritie wrote: »
    Okay, bash on Win10 is appealing.

    But not enough. Mandatory patching has to go first. That even Apple doesn't do it should have made it clear it's silly.

    God I hate that shit. "Just gonna reboot real qui-- no, never mind, I'll go brew a pot of tea."

    bowenDelmain
  • hippofanthippofant ティンク Registered User regular
    Echo wrote: »
    Polaritie wrote: »
    Okay, bash on Win10 is appealing.

    But not enough. Mandatory patching has to go first. That even Apple doesn't do it should have made it clear it's silly.

    God I hate that shit. "Just gonna reboot real qui-- no, never mind, I'll go brew a pot of tea."

    Hmm? Windows 10 doesn't let you defer updates?

  • crimsoncoyotecrimsoncoyote Registered User regular
    hippofant wrote: »
    Echo wrote: »
    Polaritie wrote: »
    Okay, bash on Win10 is appealing.

    But not enough. Mandatory patching has to go first. That even Apple doesn't do it should have made it clear it's silly.

    God I hate that shit. "Just gonna reboot real qui-- no, never mind, I'll go brew a pot of tea."

    Hmm? Windows 10 doesn't let you defer updates?

    It does, but it's really obnoxious about it.

    The other thing it doesn't let you do is install updates on shutdown. It HAS to be a restart.

    DisruptedCapitalist
  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    bowen wrote: »
    It would especially great if "c:\" was just a URI that was piped to /mount/c and you could override it and point it other places. Imagine the power that shit would have.

    You can already mostly do that. Every drive other than c can be remapped at will and you can mount filesystems at arbitrary paths. So if you think of c: as / it works.

    bowen
  • bowenbowen How you doin'? Registered User regular
    Phyphor wrote: »
    bowen wrote: »
    It would especially great if "c:\" was just a URI that was piped to /mount/c and you could override it and point it other places. Imagine the power that shit would have.

    You can already mostly do that. Every drive other than c can be remapped at will and you can mount filesystems at arbitrary paths. So if you think of c: as / it works.

    I'd like windows to be unaware of what's behind the mount point when you use it that way. So if C was a network share, whatever, no biggie. Windows and all that functions off / instead of the drive letters.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    bowen wrote: »
    They really should focus on changing the windows OS to use a linux style userspace to begin with.

    At this point all the OS stuff should be in /etc/ and /home/ and /dev/ and whatever else.

    Then emulate the c:\ drive over top of /var/, and c:\users should just point to /home

    After all that, then implement an apt-get system on windows (choco is nice enough), and SSH, and powershell. Boom, headless windows systems, even desktops.

    There's a reason Linux on desktop is a joke and its based around the idea of controlling your system though obscure and usually inconsistent CLI interfaces which 99% of people can't do

    Windows implemented a system to replace deleted critical DLLs because people would go into windows /system and delete them. That's the sort of person they are dealing with. Linux is a system where "rm -rf ~/ foo" just means you wiped your homedir instead of a subdir

  • bowenbowen How you doin'? Registered User regular
    I'm more looking for business advantages. You could, if you were serious enough about it, hide much of that from the end user anyways.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • P10P10 An Idiot With Low IQ Registered User regular
    why are sas format files created in 32bit sas not compatible with 64 bit sas
    why is the work around to fix this kinda a pain
    why sas, why

    Shameful pursuits and utterly stupid opinions
    Grape Ape
  • bowenbowen How you doin'? Registered User regular
    P10 wrote: »
    why are sas format files created in 32bit sas not compatible with 64 bit sas
    why is the work around to fix this kinda a pain
    why sas, why

    lol memory dump to file?

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • EtheaEthea Registered User regular
    bowen wrote: »
    P10 wrote: »
    why are sas format files created in 32bit sas not compatible with 64 bit sas
    why is the work around to fix this kinda a pain
    why sas, why

    lol memory dump to file?

    Because they want you to purchase a support contract.

  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    Anyway, the most likely next step I see is native ELF targets for Visual Studio. Develop and debug on windows for linux with good tools

    bowenecco the dolphin
  • bowenbowen How you doin'? Registered User regular
    Phyphor wrote: »
    Anyway, the most likely next step I see is native ELF targets for Visual Studio. Develop and debug on windows for linux with good tools

    that would be nice as fuck

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • djmitchelladjmitchella Registered User regular
    Build native Android, iOS and Windows apps with Visual Studio

    With the addition of Xamarin to the Visual Studio family, you now get valuable new features that extend the out-of-the box mobile development experience included in your Visual Studio IDE at no incremental cost. Create Android, iOS and Windows applications with native performance and look and feel with enterprise-grade tooling. And when you’re ready, distribute your apps to a store or deploy them in-house.

    Now, I'm not sure how good Xamarin is at runtime, but if they've built it into visual studio it should at least be a decent dev experience. https://www.xamarin.com/visual-studio has more details.

  • SpawnbrokerSpawnbroker Registered User regular
    Hey everyone, figured I would post about this to see if there is any interest.

    I've been volunteering with an organization called TEALS for the past year. They are a non-profit dedicated to bringing Computer Science to every high school in America. They take professional programmers and place them in teams at local high schools; usually you're expected to show up to class 2-3 times per week. Class is always first period and usually ends by 9 AM, so you can get to work on time. They have placements for both AP and intro classes. I've been teaching in an AP class for the past year.

    Anyways, here's a link if you're interested. I can also answer any questions you might have about the program.
    https://www.tealsk12.org/volunteers/

    Steam: Spawnbroker
    SaerisDisruptedCapitalistInfidelTofystedethmightyjongyo
  • SaerisSaeris Borb Enthusiast flapflapflapflapRegistered User regular
    edited March 2016
    Hey everyone, figured I would post about this to see if there is any interest.

    I've been volunteering with an organization called TEALS for the past year. They are a non-profit dedicated to bringing Computer Science to every high school in America. They take professional programmers and place them in teams at local high schools; usually you're expected to show up to class 2-3 times per week. Class is always first period and usually ends by 9 AM, so you can get to work on time. They have placements for both AP and intro classes. I've been teaching in an AP class for the past year.

    Anyways, here's a link if you're interested. I can also answer any questions you might have about the program.
    https://www.tealsk12.org/volunteers/

    That's really cool. I think I remember someone (you?) posting about this last year too. How feasible is it to help out if there are no schools near you? Do they still need remote help for things like lesson plans or grading?

    Saeris on
    borb_sig.png
  • SpawnbrokerSpawnbroker Registered User regular
    Saeris wrote: »
    Hey everyone, figured I would post about this to see if there is any interest.

    I've been volunteering with an organization called TEALS for the past year. They are a non-profit dedicated to bringing Computer Science to every high school in America. They take professional programmers and place them in teams at local high schools; usually you're expected to show up to class 2-3 times per week. Class is always first period and usually ends by 9 AM, so you can get to work on time. They have placements for both AP and intro classes. I've been teaching in an AP class for the past year.

    Anyways, here's a link if you're interested. I can also answer any questions you might have about the program.
    https://www.tealsk12.org/volunteers/

    That's really cool. I think I remember someone (you?) posting about this last year too. How feasible is it to help out if there are no schools near you? Do they still need remote help for things like lesson plans or grading?

    They have an option to help out remotely. They have remote classrooms that teach over skype or some teaching software that they will provide, I'm not 100% on that. There is also a "consulting support" option where you don't show up to class but you are in regular contact with the teacher to answer any questions they have about the curriculum. I think the consulting option you also help grade papers and do some TA work, as well.

    I do know that if you teach remotely, TEALS pays for a trip where you travel to your classroom at the end of the year. So that's pretty cool. I don't know much more about this though, since I don't do remote. I just know it's an option when you sign up!

    Steam: Spawnbroker
  • hippofanthippofant ティンク Registered User regular
    hippofant wrote: »
    Echo wrote: »
    Polaritie wrote: »
    Okay, bash on Win10 is appealing.

    But not enough. Mandatory patching has to go first. That even Apple doesn't do it should have made it clear it's silly.

    God I hate that shit. "Just gonna reboot real qui-- no, never mind, I'll go brew a pot of tea."

    Hmm? Windows 10 doesn't let you defer updates?

    It does, but it's really obnoxious about it.

    The other thing it doesn't let you do is install updates on shutdown. It HAS to be a restart.

    Hmm. I'm still on Windows 8, and pretty happy with it after I modded away all the mobile crap. Making me reconsider the upgrade... but I have no real choice, do I? One way or another, 8's lifespan is going to be cut short by 10. :(

  • crimsoncoyotecrimsoncoyote Registered User regular
    That's honestly one of the very few complaints I have about win10. I've had no real problems with it since I installed last year

  • TofystedethTofystedeth Registered User regular
    Saeris wrote: »
    Hey everyone, figured I would post about this to see if there is any interest.

    I've been volunteering with an organization called TEALS for the past year. They are a non-profit dedicated to bringing Computer Science to every high school in America. They take professional programmers and place them in teams at local high schools; usually you're expected to show up to class 2-3 times per week. Class is always first period and usually ends by 9 AM, so you can get to work on time. They have placements for both AP and intro classes. I've been teaching in an AP class for the past year.

    Anyways, here's a link if you're interested. I can also answer any questions you might have about the program.
    https://www.tealsk12.org/volunteers/

    That's really cool. I think I remember someone (you?) posting about this last year too. How feasible is it to help out if there are no schools near you? Do they still need remote help for things like lesson plans or grading?

    They have an option to help out remotely. They have remote classrooms that teach over skype or some teaching software that they will provide, I'm not 100% on that. There is also a "consulting support" option where you don't show up to class but you are in regular contact with the teacher to answer any questions they have about the curriculum. I think the consulting option you also help grade papers and do some TA work, as well.

    I do know that if you teach remotely, TEALS pays for a trip where you travel to your classroom at the end of the year. So that's pretty cool. I don't know much more about this though, since I don't do remote. I just know it's an option when you sign up!

    Hmmm no schools in Kansas.

    steam_sig.png
  • crimsoncoyotecrimsoncoyote Registered User regular
    Most of Florida is empty... I find that kinda odd, we have a lot of people here.

  • SpawnbrokerSpawnbroker Registered User regular
    Part of the reason certain places are empty is because the school has to know about TEALS, contact a TEALS representative, and then agree to all of TEALS' terms in order to be a school that TEALS works with. The program originated in the state of Washington, and they're still hiring regional coordinators for places in the east coast and such. It sounds like it's a local Washington program that had a lot of success and is now trying to expand to other places.

    Steam: Spawnbroker
    crimsoncoyote
  • bowenbowen How you doin'? Registered User regular
    https://blog.xamarin.com/xamarin-for-all/

    It's freeeeeeeeeeeeeeeeee

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    Infidelecco the dolphinNogsjjae2123KolosusEvigilant
This discussion has been closed.