Sure, but if it takes 50% more computing resources, that's a net loss for me >.>
Best posts made by Yamikuronue
-
RE: What are the pros/cons to upgrading to Windows 10?
-
RE: Is there a site like Daily WTF that explains why it's a WTF?
Fair
He was trying to track down an error with the page loading, and he was pretty sure the 404 on the network tab wasn't it. I pointed out that's not because it's a 404 (a 404 from an api call would be a smoking gun, for example), but rather the fact that the resource that 404'd was some font file. So it actually made sense once he explained his train of thought. He's got good instincts, but almost no knowledge to back it up with :)
-
RE: Is there a site like Daily WTF that explains why it's a WTF?
Magic
Nah, I obviously did a shit job editing, but you get the idea
-
RE: Visual Studio 2015 is out
We should turn it into something way more interesting than a blog....
Maybe some kind of MMO? ;)
-
RE: Unit testing NodeJS (without exposing internals)
Any suggestions on changing the architecture then?
Here's what I'd suggest:
In the short term, to get your unit tests up and running: put all the Discourse-based logic in one method and the actual functionality in another. Add the functionality method to your module.exports and unit test that.
Step two: separate the two functions into two separate modules. Have the Discourse-adapter module require the actual functionality module. Unit test the discourse-adapter module using Sinon to mock out the functionality.
Step three: make each of them their own package in their own repo. This is basically the way Grunt does things: grunt-foo will require foo and provide the interface grunt is expecting to make foo work. That also makes plugin development by other people easier :)
-
RE: Explain to me SOX Compliance
@weng We have something like 100 IT people, about half of whom are developers working across multiple applications. Our change control meeting is getting to be over an hour sitting going through all the changes slated for our weekly release, and that's with every form just saying "weekly release for X" as the change description.
@Buddy We didn't enable that feature because we enabled "built every time change is merged into master" functionality from Stash, and we use "deploy plans" to go to various servers on the way up to prod. Currently, only our operations folks can press the button to go to prod, and they only do so if they have a signed CR form. I can't seem to figure out how to get the feature you linked to play nice with the stuff we have set up already.
-
RE: Explain to me SOX Compliance
@boomzilla What we have now is a ridiculous amount of overhead and signoffs. What they want is going to production with small batches multiple times in a day, with no interference needed once it passes pull request (and code review) -- so long as the tests all pass. I think what we'll end up with is an automated process that ends with the change in a queue waiting for manager sign-off. After sign-off it'll go into a queue to go to prod, with changes on a status board in Operations for them to be aware what's moving when and maybe stop things if they're going to conflict with something else.
-
RE: Re: Explain to me SOX Compliance
@el_heffe but where will I get bright pink sox?
-
RE: Explain to me SOX Compliance
@unperverted-vixen I misspoke because I was dashing out a message between meetings. We have continuous integration now, but we want to move to continuous deployment. My bad.
-
RE: Explain to me SOX Compliance
Our best idea so far is "the team manager works closely with their team and is considered a manager for the purposes of compliance, and they approve things all day every day. meanwhile, directors get a daily digest of change so they can say they were informed."
-
RE: How long does a smartphone last?
@hungrier said in How long does a smartphone last?:
He's got a whole wiki? Weird -- I found his English perfectly understandable.
-
RE: Unit testing NodeJS (without exposing internals)
ah, so it is. I went to lunch and came back in the middle of drafting that :)
-
RE: Tech presentation
@blakeyrat said in Tech presentation:
"The energy output of each boy?" Measured in, what, horsepower?
yeah, they tried to get waaay too literal with the analogy. I only included the slide so people would know which analogy I meant.
-
RE: Cross-browser AJAX library
@cartman82 Instead of an array you could put them in a hashmap by timestamp and remove anything an hour old or older.
-
RE: Smart TV boxes
@captain said in Smart TV boxes:
Roku Premier
$60 used >.< yeah, I can swing that, just not immediately. Thanks!
-
RE: What gives, Nginx?
@heterodox nevermind, they just moved lua to OpenResty. You can still get it without paying for the premium product
-
RE: What gives, Nginx?
@heterodox said in What gives, Nginx?:
We're using nginx 1.7.2
I think we're newer than that? not sure, I'm at home now.
Thanks everyone, though.
-
RE: Unit testing NodeJS (without exposing internals)
If you really think you'll handle all those, I'd roll up join, part, quit, kick, nick, and kill into some sort of UserAction event (actions performed on the user list), and roll up message, pm, notice, and action into MessageReceived. You can tell a message is a privmsg because
who
andwhere
are identical, and in practice, nobody cares if you do "/me !roll 2d10" instead of just messaging the chan. Bots that need to keep track of the users in the chan will subscribe to all of the UserAction events anyway -- they have to, to maintain their lists accurately.Will modules need to act on self messages? Mine all just have access to a logging function in the core module they can use to log their own events.
-
RE: New computer build stories
I was kinda a Tomboy when I was a kid. And I've been told I have more balls that a lot of guys.
Hey, me too! Welcome to the club :)
-
RE: I need a crappy laptop or two
I wanted to make a cheap hackintosh to run a few mac programs... but I decided it's too costly.
-
RE: Pronoun conflict
@anotherusername I feel like it depends on the sentiment too. If I (she/her) am controlling Link (he/him) and I make a badass jump, showing my skill at the game, my husband might say "Look what she managed to pull off!" On the other hand, if I get lost with my poor sense of direction in dungeons, he might say "she's gotten lost again". But if I hit the attack button and I get stabbed instead of attacking, I might say "Link's such a dumbass, he doesn't attack when I tell him to". Similarly, if I'm playing more of an RPG, and the game won't let me pick the option I'd like to say to an NPC, I might say "He's being a bitch", but if it lets me say what I wanted, I might say "I fucking scored with this chick dude".
-
RE: A few questions about Azure VMs
@RaceProUK We should just rewrite sockbot as serverless and use AWS Lamda
-
RE: The minor rants thread.
Dear everyone who is writing a language, ecosystem, or tool set:
SPEND FIVE FUCKING MINUTES THINKING ABOUT INSTALLING.
Jesus fuck. In 2015, this is NOT OKAY: https://gorails.com/setup/ubuntu/15.04
The first step is to install some dependencies for Ruby.
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev
Installing with rbenv is a simple two step process. First you install rbenv, and then ruby-build:
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELLgit clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELLgit clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
rbenv install 2.2.2
rbenv global 2.2.2
ruby -vNow we tell Rubygems not to install the documentation for each package locally and then install Bundler `echo "gem: --no-ri --no-rdoc" > ~/.gemrc` `gem install bundler`
This is how you [install Node.JS on ubuntu:][1]
sudo apt-get update
sudo apt-get install nodejs
Here's how you install Ruby with Ruby Version Manager on ubuntu:
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm install 2.2.2 rvm use 2.2.2 --default
Note that this (rvm install) BUILDS FROM SOURCE and takes multiple minutes to complete. Also curl.
This is how you install Node.JS using Node Version Manager:
sudo apt-get install build-essential libssl-dev curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
Still curl. Still built from source. Still not okay. But much much simpler to explain.
[1]: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server -
RE: WTF is wrong with my AD account
"allow this device to be turned off to save power" (or similar) is unticked.
That was ticked! Here's hoping unticking it helps.
-
RE: Wonder what this will do to the divorce rate …
If I wasn't at work, there's a Ghastly comic that applies here...
-
RE: Timesheet tracking
@boomzilla said in Timesheet tracking:
made CLIs obsolete?
Uh, that's not what he said though? He said you can run a computer without a CLI. He made no comments about whose computer, for what purposes. I suspect programmers will never get away from CLIs, but clearly there's classes of casual user who never wanted one in the first place (and who therefore buy things like chromebooks)
-
RE: What tools do you recommend?
@Karla said in What tools do you recommend?:
What are the current automated testing tools?
I don't' know the Microsoft stack as well. Selenium for webapps; BDD stuff? TDD stuff?
-
RE: [Found] Looking for a Science Fiction series I read some time ago
@Choonster Oooh, love Simon Green. Haven't read those.
-
RE: Dress pattern - Dorothy for 12 month old?
You're not really going to see a pulled-in waist like that in a infant dress; maybe in a toddler dress. You're also not going to see anything too complicated to put on, or too confining. If you size down something like this and... I'd wear it over a white blouse, but I don't know if that'd be too hot for a baby?
-
RE: CMS suggestions
@Lorne-Kates I also like WP Super Cache, as it ensures that static versions of the posts are what are actually served, instead of it trying to interpret on the fly what you're looking for. I'm not certain it's actually safer, but it seems likely, and it's a lot faster too.
-
RE: Yami fails to learn Git
Good thing I use per-project VMs; I was able to snag the entirety of the console session
Aha! There's the trouble -- something wrong with my precommit hook
yamikuronue:~/workspace (replace-babel-with-browserify|MERGING) $ git status On branch replace-babel-with-browserify All conflicts fixed but you are still merging. (use "git commit" to conclude merge) Changes to be committed: modified: .eslintrc modified: CHANGELOG.md modified: Makefile modified: README.md modified: component.json modified: package.json modified: src/browser.js modified: src/debug.js modified: test/debug_spec.js Untracked files: (use "git add <file>..." to include in what will be committed) coverage/ lib/ yamikuronue:~/workspace (replace-babel-with-browserify|MERGING) $ git commit -m "Merged from upstream/master. I left the dist/debug in place because my hook now updates it automatically, but I removed the babelrc file since we don't need it anymore." Generating dist make: `dist' is up to date. Distribution generation complete Adding updated files to commit fatal: could not open '.git/MERGE_HEAD' for reading: No such file or directory yamikuronue:~/workspace (replace-babel-with-browserify) $ git status On branch replace-babel-with-browserify Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: .eslintrc modified: CHANGELOG.md modified: Makefile modified: README.md modified: component.json modified: package.json modified: src/browser.js modified: src/debug.js modified: test/debug_spec.js Untracked files: (use "git add <file>..." to include in what will be committed) coverage/ lib/ yamikuronue:~/workspace (replace-babel-with-browserify) $ git commit -m "Merged from upstream/master. I left the dist/debug in place because my hook now updates it automatically, but I removed the babelrc file since we don't need it anymore." Generating dist make: `dist' is up to date. Distribution generation complete Adding updated files to commit [replace-babel-with-browserify 2a01c6c] Merged from upstream/master. I left the dist/debug in place because my hook now updates it automatically, but I removed the babelrc file since we don't need it anymore. 9 files changed, 65 insertions(+), 12 deletions(-) yamikuronue:~/workspace (replace-babel-with-browserify) $ git push Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts. Counting objects: 13, done. Delta compression using up to 8 threads. Compressing objects: 100% (12/12), done. Writing objects: 100% (13/13), 2.19 KiB | 0 bytes/s, done. Total 13 (delta 10), reused 0 (delta 0) remote: Resolving deltas: 100% (10/10), completed with 10 local objects. To github.com:yamikuronue/debug.git 6a8d525..2a01c6c replace-babel-with-browserify -> replace-babel-with-browserify
-
RE: Yami fails to learn Git
@boomzilla My changes are pretty extensive.
I gave @accalia write access to my repo and she somehow fixed it by doing exactly what I already did, but from her machine. I guess that works?
-
Yami fails to learn Git
I thought I was doing pretty good with git. I thought wrong.
So I have this big old pull request, and it's got merge conflicts. Github.com says I have to merge locally and push. uh oh.
I had originally forked the repo, so I added another remote called
upstream
to my copy. Now I have two: origin, which is my fork, and upstream, which is the original. I am trying to merge from my branch into upstream's master.I did a
git fetch upstream
followed by, on my branch,git merge upstream/master
. I resolved the issues and committed and pushed. Travis failed the build, I fixed that issue, committed, pushed. Both commits show up on the PR... but it's still conflicted.I went back to my local master and did a
git merge upstream/master
. Now that my master is up to date, I switched back to my branch and didgit merge master
. Some of the conflicts came back! I resolved them, committed, and pushed again. That also shows up on the PR.... but it's still conflicted.@accalia was able to fork my fork, and merging upstream into my branch shows conflicts. What the heck do I do to make them go away once and for all? Only one file was actually changed by both upstream and myself; the others are modifications of a file the other person deleted, one on my side and one on his.
This is the PR: https://github.com/visionmedia/debug/pull/378
-
RE: ISO birthstone pendant/necklace - help shopping?
With more notice I could have dug up the guy who did my husband's custom wedding ring, but I don't think he could turn it around fast enough.
-
RE: Dealing with a special kind of co-worker
@ThaMe90 Yeah. He'll probably realize that you're not chatty like he is and stop bothering you so much, but if not, you can gently but firmly reinforce that boundary explicitly once he's less brand new.
-
RE: What is Tampermonkey?
My first jeffing! Surprisingly painless.
Yeah, I tend to use Fiddler for that sort of thing, but I only have it installed at work anyway. I should look into this tamper data thing though :)
-
RE: I can't unlock my phone. I am TR :wtf:
From the bit you quoted:
@Gurth said in I can't unlock my phone. I am TR :
Today TWRP is the leading custom recovery for Android phones.
so TWRP is a "custom recovery", whatever that means
@Gurth said in I can't unlock my phone. I am TR :
A custom recovery is used for installing custom software on your device.
oh, so that's what it does.
Isn't that what you wanted to know?
-
RE: How to capture and combine audio/video output from 4 PCs?
@Tsaukpaetra said in How to capture and combine audio/video output from 4 PCs?:
OBS is pretty easy to set up. It also lets you put the microphone on a separate channel IIRC.
And if you're trying to livestream, you can set up OBS to do the mix for you as well, probably
-
RE: I can't unlock my phone. I am TR :wtf:
@Gurth I would have used the power button as "ok" myself. Hold to reboot, press to accept selection.
-
RE: WTF is wrong with my AD account
I have a network drive, but with my wifi going down so frequently I've stopped using it. That's on me :)
But you're right about the IM program thing
-
RE: What to expect when you're Discoursing?
one of our administrators has the 'Customer' badge
That means you paid, expect much better customer service than we got.
-
RE: Hiring devs
I should probably have clarified I meant for a flexible server-side and front-end position. Too late now, I guess.
Though with the re-rise of thick client frameworks, I'd be wary even of front-end-only devs.
-
RE: WTF is wrong with my AD account
Is ethernet an option, at least short-term?
I use ethernet at my desk, but some days I'm in meetings all day :(
-
RE: a whole lotta nothing, only $5
@blakeyrat said in a whole lotta nothing, only $5:
Does it have to be fan fiction? That's such a weird limitation.
No, but things that aren't fanfiction I sometimes try to submit to publications and/or re-host on my blog, so the fanfiction is the exclusive bit.
@Tsaukpaetra said in a whole lotta nothing, only $5:
It's harder to write completely original/new worlds than to use existing ones
That's not really a problem for me; I have done enough worldbuilding that I have a good number of background worlds of my own I can grab if I need setting in a hurry for a short story. But a lot of people like fanfiction if they're going to read short works, as they get the benefits of novel-length worldbuilding in a short-story size.
-
RE: a whole lotta nothing, only $5
@Tsaukpaetra haha I am the best at patreon.
But yeah, that's just how mobile works I guess.
-
RE: a whole lotta nothing, only $5
@blakeyrat said in a whole lotta nothing, only $5:
I have to manually make a post saying I made a patron-only post. Sigh.
Huh? Mine do:
But yours don't seem to have done that.
-
RE: ChristChurchofEnglandPrimarySchool
@anotherusername I went to high school in a city with two words in the name, and it was named essentially City Name High.
-
RE: Yougov again. Have you voted in every general election?
@Jaloopa That's probably why PJH deleted it -- whatever he thought he saw, he looked again and it was fine.
-
RE: In which I show how referential integrity is not a thing here
@Lorne-Kates I was assuming a race condition between two separate database dips myself.
-
RE: In which I show how referential integrity is not a thing here
@tufty said in In which I show how referential integrity is not a thing here:
If your data model allows you to have inconsistent, committed, data, it's fucked.
Sure. But why are you storing the same data in multiple places at all? That's a modelling issue, not a storage engine issue, isn't it?
Or does Mongo not let you use any key references to stitch together on the client?