Stockholm syndrome is real



  • I work with Oracle for my day job and Postgres for my side projects; there's really no comparison if you're doing a full-scale, feature rich application. Oracle is leaps and bounds ahead as far as development work goes. That being said, if you just need a database for a side-project, Postgres is fine.

    Stockholm syndrome is real


  • SockDev

    See also: Arantor and PHP.


  • SockDev

    Or @accalia and Node.js 🎰



  • or @algorythmics and anal penetration



  • Or @Keith and Discourse.



  • @accalia said:

    Or @accalia and Node.js

    I have also boarded this train, after a handful of sorties into the land of apache vhost configurations. We lost so many on those missions...


  • SockDev

    if using node.js and the possiblility exists..... switch to nginx.

    seriously it's waaaaaaaay better!



  • and it can be easily rate-limited to discourage users bots!


  • SockDev

    well so can apache. it's just harder to configure for apache.



  • You'd be surprised how little success I had with nginx (which I actually tried first), but that could have been due to a combination of windows 8 and my lacking python knowledge.

    The part that annoyed me about that was the hoops I would need to jump through to get a Windows 7 laptop. I felt like I was being conned. Of course, I feel like I'm being conned every other windows iteration when I'm forced to buy a new computer or go computerless like a caveman.


  • SockDev

    nginx on windows?

    -shudder-

    bite the bullet and configure on *nix. VMs of that are free these days (but you have to isntall them yourself.)



  • @accalia said:

    nginx on windows?

    -shudder-

    bite the bullet and configure on *nix. VMs of that are free these days (but you have to isntall them yourself.)

    Good to know. Guess I'll find out how Windows 8 feels about *nix VMs. Maybe I'm just doing it wrong. What do you think @CodingHorrorBot?


  • 🔀

    @Shoreline Is Doing It Wrong™

    <!-- Posted by SockBot 0.11.1 "Artful Alice" on Fri Oct 24 2014 10:57:18 GMT+0000 (UTC)-->


  • Thanks, CodingHorrorBot.


  • SockDev

    @Shoreline said:

    Good to know. Guess I'll find out how Windows 8 feels about *nix VMs

    virtualbox or vmware is your best bet. hypervisor may give you better performace but it disables powerscaling on your computer. locks CPU at 100% speed. terrible for battery life.

    VMware does that too, but only when a VM is running so thats beeter. Virtualbox keeps dynamic scale even when VM is running.


  • mod

    @Shoreline said:

    Good to know. Guess I'll find out how Windows 8 feels about *nix VMs. Maybe I'm just doing it wrong. What do you think @CodingHorrorBot?

    Hyper-V is supposed to be *nix friendly, and it's native to Windows. I've been using it with our new dev host server, and I like it so far.


  • SockDev

    @abarker said:

    Hyper-V is supposed to be *nix friendly, and it's native to Windows. I've been using it with our new dev host server, and I like it so far.

    and that's all well and good for a server (and it is *nix friendly......ish, depends on the distro) but it's crap on any mobile computer! having it installed pegs your processor at 100% and disables all powersaving, even when no VM is running

    so: server yes. desktop: maybe, laptop/tablet: NO! NO NO NO! DO NOT WANT!.gif


  • mod

    @accalia said:

    so: server yes. desktop: maybe, laptop/tablet: NO! NO NO NO! DO NOT WANT!.gif

    Who said anything about a laptop or tablet? Sure, @shoreline has a Win 7 laptop, but there's no indication of what @shoreline is running Win 8 on.


  • SockDev

    not there wasn't but....

    Desktops typically care about powersaving
    Laptops/Surface DEFINITELY care about powersaving
    Servers, it's nice but not essential

    so in 2/3 computer types powersaving is a thing that one cares about to some degree, thus it seemed the odds were with me to mention that aspect of hyperv


  • I survived the hour long Uno hand

    Though the biggest gotcha for Hyper-V and Linux is backups. If you're doing host level backups on the hyper visor, you can't make use of guest VSS at all without the Linux Integration Tools v3.5 (which still are not available via package on CentOS 6 -- base repo's kernel has v3.1 built in). And even then, there are some limitations to how the VSS integration works (host has to be >= S2012/W8.0, and it doesn't snapshot as cleanly as a windows guest)

    Short version--if you need Linux guests and a sane backup strategy, you're probably still better off with VMWare. All Windows, Hyper-V can at least pretend to play with the big boys.



  • Actually, speaking of VMs, it's apparently a mandatory requirement that all our future servers be on VMs where I work.

    Of course, we're taking the opportunity to switch/upgrade our Java and Oracle servers when they force the move sometime this fiscal year (which started October 1). Right now, our Oracle servers are 11.1.something and from what we've heard, it's "the buggiest version of Oracle ever" at least when it comes to spatial data.

    Oh yeah, did I mention we use Oracle Spatial and its Workspace Manager (which is so WTFy it should have its own subcategory for the I Hate Oracle club)?

    As for Java, somehow some brillant person decided that rather than using a real J2EE server, we should use Oracle Application Server...'s development server. On Production. No, I'm not kidding. Unfortunately, we use a third party component that the manufacturer refuses to support on anything except Oracle Application Server (OAS) and its successor, Oracle WebLogic.

    In WebLogic's defense, it was a third-party program until a few years ago and apparently Oracle was impressed enough with it that they acquired BEA just for WebLogic... and promptly discontinued OAS. Needless to say, this makes WebLogic our only upgrade path.



  • But the guy in the reddit comment swears you can make feature rich applications!



  • @abarker said:

    Who said anything about a laptop or tablet? Sure, @shoreline has a Win 7 laptop, but there's no indication of what @shoreline is running Win 8 on.

    It's possible I confused the issue, my apologies. I have a windows 8 laptop, but not a windows 7 laptop. I have windows 7 desktops.

    Thanks for the VM information, guys.


  • mod

    In that case, Hyper-V isn't really an option unless you upgrade your desktop.



  • I use vagrant to spin up an Ubuntu (Server) or OpenBSD box these days.


  • SockDev

    i keep meaning to start using vagrant.... i never get around to it.

    hows performance?



  • Dunno, I have a i7 with 32GB of ram (I used to do Sitecore dev).


  • SockDev

    hmm.... doesn't really matter what you throw at that box. it'll be performant.

    this is why i do my development on bitty boxes. if i can make it performant on a raspberrypi it shoudl absolutely scream when i put it on real iron.


  • area_deu

    Unless it's written in ARM assembler ...


  • SockDev

    well so long as i put it on an ARM chip that'll still work, right? (although your point holds. but for PHP(yes, @arantor, i do dabble), nodeJS and Python it's not as big an issue (unless i accidentally make use of a platform specific bug)



  • Sitecore is a beast and when working on a Sitecore, VS2013 and Resharper you can easily hit 8GB of ram. I was maxing out my older Core 2 duo machine (Spotify was skipping when playing music). I bought 32GB of ram because I wanted this rig to last til 2020.

    I mostly do JS for phones and I only really worry about writing fast JS. Though it does kick ass that this rig can run Crysis 3 at pretty much max settings.


  • SockDev

    yeah. i know that feels. try running SalesLogix and debugging it.

    8 minute page load times are common, and i have 8core i7 with 32GB.... fuuuuuuuuu



  • I built this rig based not on whether I would be doing gaming but on the assumption that I could Sitecore contracting, it is overpowered for current gen gaming.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.