« first day (1182 days earlier)      last day (2851 days later) » 

5:07 PM
@syb0rg Mmmhhh... I think you're answer is a little off-topic, but I'll accept it anyway — DavideChicco.it 5 mins ago
No... what you wanted was off-topic
 
possible answer invalidation by Lúcio Cardoso on question by Lúcio Cardoso: codereview.stackexchange.com/posts/136337/revisions
 
@Duga Shhhhh, I handled it already
 
@syb0rg Yea, I can't find the relevant meta though.
 
o7.
@SimonForsberg lol at the tag
 
@DanPantry We ain't military.
 
5:20 PM
@Mast yet.
CR would be a cool name for an organization though
Fighting bad code throughout the world, breaking windows and kicking ass.
 
@N3buchadnezzar Code Re-education.
 
CR has several sub-divisons YAGNI, DRY, KISS and SOLID which performs operations around the world.
 
Zak
DRY KISS SOLID sounds like an indy, fan-inspired, offshoot of Metal Gear Solid
 
better than KISS DRY SOLID, at least
 
you can tell it's Friday
2
 
5:34 PM
What about a SOLID DRY KISS?
 
lol
 
0
Q: Phishing Project - Refactor Using Models

Trojan404After receiving some good feedback on the previous question, I've refactored my database and have begun to refactor the associated code. As a result of implementing models for all tables in the database, it has become smoother to use Eloquence Builder instead of a custom class using PDO. Below f...

0
Q: How to add Header in a programatically generated CSV

Ankit KumarI have the below code where I would like to have Header in first row and output in subsequent rows. I am getting the header in each alternative row. Where should I add the header part. Here the code: public static void CreatingCsvFiles(string weburl,string StatusNumber, string StatusDescription)...

 
@Mast That's because you are visually comparing the length of the angled cut with the width of the other bars.
 
This is a feature request, not a request for review. We can't help you with that. — Mast 14 secs ago
Somebody tweeted a WAT. Someone else is reaping the rep at SO.
66
Q: What is happening in this JavaScript snippet?

Nathan LongA recent tweet contained this snippet of JavaScript. Can someone please explain what is happening in it step by step? > function dis() { return this } undefined > five = dis.call(5) Number {[[PrimitiveValue]]: 5} > five.wtf = 'potato' "potato" > five.wtf "potato" > five * 5 25 > five.wtf "potato"

@DanP
 
@Mast so the conclusion, like we said, is enable strict mode ^^
 
5:41 PM
@DanPantry As long as that horrendous song doesn't appear in here again, I'm fine with it being Friday
 
@DanPantry We figured that out way sooner than SO.
CR master race!
4
 
we smart
we loyal
 
You should ask on codereview.stackexchange.com — BatCoder 30 secs ago
 
@Trojan404 that sounds like a challenge
 
@Trojan404 Let's flag it the next time it shows up.
 
I just had to open my $%^# mouth...
 
You know, that joke has gone on long enough.
I'm ready to make a meta post about taking things too far.
 
@Duga It's tagged . Looks like improperly formatted though...
 
@BatCoder No! This post will be shot down fast on Code Review since it lacks context. Close it as UWYA instead. — Mast 27 secs ago
 
@Mast that's, uh, not javascript
 
5:45 PM
@Hosch250 What joke?
 
it's Ruby
 
Friday/Rebecca Black.
 
Good thing that was Saturday/Rebecca Black. Completely different.
 
@Hosch250 That's not a joke. That's a pest.
 
@user2296177 Someone gets it.
 
5:46 PM
@Mast Now, yes. It started as a joke and went on too long.
 
We need fresh new jokes everyone, start brainstorming.
 
You know, I usually turn my sound down when clicking on suspicious links in The 2nd on Friday. Helps a lot.
 
all your friday are belong to us
 
@DanLyons Yea, because that's new.
 
5:47 PM
@user2296177 I'd suggest animated puke smileys, but that was almost unanimously banned already.
 
Clearly, the answer is the party parrot.
You should ask on codereview.stackexchange.com — BatCoder 5 mins ago
how did this get 4 upvotes
 
Refrains from clicking that link.
 
I think this has to be the first time I've seen someone suggest a migration on SO that the Op doesn't know the language it is written in
 
5:49 PM
@DanPantry Too much movement.
 
Come join the barbecue.
 
It is also not his code!
 
@DanPantry Well, we've seen questions without tag in the past being suggested to migrate...
 
What can go wrong, will go wrong, especially on a Friday. -- Murphy's Law
 
99% of SO is crap - Pantry's Law
8
 
5:50 PM
@DanPantry What gave it away? The asking about 'what does this code do?'
 
Or you can come join us discussing Jenny in VBA.
 
@Mast The direct copy pasta from another board
 
Who's Jenny?
 
The other 1% of SO that isn't crap.
I have no idea what I am talking about
 
5:51 PM
Is that a meme that predates the internet? @Hosch250
 
it should be asked on code review. — nmnsud 59 secs ago
 
@DanPantry Rock song from the 80's.
 
Please stop upvoting @BatCoder's comment, code that the OP didn't write is off topic. Code that the OP himself doesn't even understand is another question entirely. And don't forget the #1 rule: Don't migrate crap. — Dan Pantry 13 secs ago
(his comment is now at 5 votes)
 
Is Martijn on call by chance?
 
5:54 PM
@DanPantry Flagged it as not constructive.
 
@DanPantry, thanks, but I believing in teaching people how to catch the fish, rather than just giving it to them. If the question is of low quality, it will be closed there as well. But in the first place, the OP should know where to ask.BatCoder 46 secs ago
How is migrating crap and getting it closed teaching people how to "catch" fish?
 
@Mast Do you want the first version of the logo sent to you?
 
@syb0rg Was the first version more in line with your general idea?
 
The first version of the SVG is what I posted to chat
 
We won't need the original, the PNG is good enough.
 
5:59 PM
@Mast This is the raw one I was trying to mimic
 
I'll keep you posted.
 
Has anyone here actually tried programming while drunk?
 
Me, @EBrown, probably half the room.
 
Let me rephrase that: has anyone programmed in a non-sober state?
 
@user2296177 Yes, didn't go well if IIRC
Luckily I didn't push any of my changes to Github
 
6:04 PM
@user2296177 Tipsy yes, drunk no.
 
 
@Mast that's what I was referencing.
 
I was definitely past the Ballmer peak
 
@user2296177 No.
 
@syb0rg How we're you even concious?
 
6:07 PM
yaaay Lightness ...
 
Things were fuzzy
 
@syb0rg If things were just "fuzzy" at >.16 BAC I'd be curious to see you in drunk goggles driving a go-kart
 
@Vogel612: Yes mum — Lightness Races in Orbit 3 mins ago
2
Good, I got that just in time.
 
rofl
 
@Hosch250 RBA. What was said?
 
6:10 PM
It was deleted, so I don't know it word-for-word.
However, it was something to the effect that everyone had had their say and they could get on with their day.
Oh, Removed By Author.
I was thinking Rare Bird Alert, or something.
6
 
lol
 
OMG I finally have > 1000 rep on Stack Overflow
(monking!)
 
@Phrancis Monking!
 
@Phrancis Congrats!
For some values of congrats, it's SO after all.
 
lol
 
6:21 PM
0
Q: Fisher–Yates shuffle in C#

PaparazziIs this a proper C# implementation of the Fisher–Yates shuffle? private int[] Shuffle(int count) { //Fisher–Yates shuffle en.wikipedia.org/wiki/Fisher–Yates_shuffle //for i from 0 to n−2 do //j ← random integer such that i ≤ j < n //exchange a[i] and a[j] int[] deck = new int...

 
@Phrancis Docs? :P
 
I had that before Docs came.
 
@user2296177 Every day.
I've hit the Ballmer Peak before.
I'm actually getting really good at it.
 
@syb0rg Yup
 
I managed to make D3 work while hammered, so yeah.
 
6:23 PM
@EBrown If you drink every day, isn't that ballmer peak eventually going to move due to alcohol resistance?
What is D3?
 
@user2296177 Nah, the peak point itself doesn't move. It just takes more beer to reach it.
@user2296177 D3.js, basically magic.
 
I'm voting to close this question as off-topic because you already have a working solution. Consider adapting the question for Code Review to have your working code reviewed. — Servy just now
 
6:45 PM
Hola mis amigos
:31374068 si! Y amigas!
 
Don't think there are any in the room, but ya know, better safe than sorry.
 
So I've found my new favourite thing
cli for building apps with swagger, you write specs, it has a mock mode, and you can use that when designing your app
then you can gradually actually implement the controllers for swagger.
pretty cool
downside: seems to encourage making monolithic apps :(
upside: you can just re-use the swagger stuff anyway so that doesn't matter.
 
@syb0rg
 
What did you model that in?
 
Illustrator.
 
6:55 PM
Can that export SVG? I'm assuming it can
 
My wife did that, not me :-)
@syb0rg On it.
 
@Mast Some corners are sharper than the original... trying to gauge if I like that more or not
 
@syb0rg Correct. The less sharp corners make it look a bit odd.
 
@Mast Is your wife a graphical designer?
Just curious
 
Yup.
 
7:01 PM
Then I will gladly defer to her lol
 
I got it in SVG, but SE refuses to upload it.
 
Dropbox anon share?
Is she leaving the color choice to me or did she not like the charcoal grey option?
 
... On one hand, I hate having to build strings describing characters via %s and having to put pronouns or direct objects or possessive pronouns because I don't understand how those work because I never really paid attention to that in English...
on the other hand using the proper terms is super handy because then I can google what they are
 
@syb0rg She says black is easier and clearer, charcoal possibly doesn't work for all sizes.
 
... the end result is having to fix a ton of cases where the wrong language construct is used =/
 
7:07 PM
@Mast Hm, I can agree with that
 
@syb0rg Thanks to 10minutemail and 4shared, svg.
 
@Mast Domain is blocked at work
 
She wants to know why there's holes in your K :P
 
Not a big deal, I'll just wait till I'm home
@Mast Ehh, style?
 
because it secretly has massive white borders
 
7:14 PM
@Pimgd sounds tricky
 
@Mast Do you have GitHub?
 
@zyabin101 See my profile.
@syb0rg Have a SVG on Dropbox.
 
English possessives are difficult if English is not your first language, AFAIK it is one of the only languages where the possessive's gender is that of the subject and not the object
 
@Mast So you have Gist.
SVG is XML, so it'll accept that file.
 
Yea, let's not go the needlessly difficult route.
@Pimgd Just be glad English isn't Latin.
 
7:17 PM
^^
 
@Mast You can drag the file into Gist.
 
@Phrancis I have no idea what this means
 
@Phrancis German has that too, if I understood correctly
 
That isn't a difficult route.
 
Can you also drag it back out of gist to turn it magically back into a picture?
 
7:18 PM
@Mast I think after .5alpha gets released, I'll get the iterations of the logo design critiqued on Graphic Design.SE
 
@Vogel612 You're German, I bloody hope you understood it correctly.
 
If that's okay with your wife
 
I just CTRL+Click everytime and go "ah, yep, this is 'she/he', that's the one I needed"
 
@Pimgd "He walks his dog" vs. "She walks her dog", regardless of the dog's gender
 
> The key is **hers**
Der Schlüssel ist **ihrer**
 
7:19 PM
@Mast It should be able to render SVG the same as GitHub.
 
> Er geht mit **seinem** Hund spazieren
Sie geht mit **ihrem** Hund spazieren
 
ahhh German is so much worse
 
@Pimgd meh. the em is needed because of the construction
the difference is sein vs. ihr which is .. not all that different I guess?
 
@syb0rg Graphic Design SE is not like "Graphics Review", I'm pretty sure "critique my thing" is off-topic there
 
no I was thinking about the whole gender thing of words again
 
7:21 PM
27
Q: Critique: Tritium software logo design

syb0rgI am looking for a review for a logo that is going to be shipped with a project of mine. I wanted to keep it simple and clean, with a high level of appeal so that no one will really dislike the design of it. Specifically: Should I implement more color into the design? Is the hexagon a suitabl...

They have a tag for it
 
@syb0rg Oh. Learn something new every day :D
 
SE Review
 
@Pimgd so.. how does Dutch do it?
 
@Phrancis Smoke learning every day.
 
@Vogel612 I guess English gets that "feature" from its Germanic roots then?
 
7:23 PM
@Vogel612 zijn/haar I guess
 
^^@Phrancis so Dutch has it, too
 
@Pimgd Kindof.
 
bitarr_write_int57(address, quant->prob_bits + quant->bo_bits,
                   (uint64) ((bins_encode
                              (&quant->tables[order_minus_2][0],
                               prob) << quant->
                              bo_bits) | bins_encode(&quant->
                                                     tables
                                                     [order_minus_2]
                                                     [1],
                                                     backoff)));
How do some devs think this is readable
2
 
Yuck.
 
@syb0rg write_int57 =O scared
3
 
7:25 PM
@Mast I'm writing a CMake system for sphinxbase, I'm debugging stuff like this
 
I've worked with int60 before, but never with int57.
@syb0rg Masochist.
2
How about something like this though @syb0rg?
user image
3
 
@Mast Oh, now that is interesting
 
@Phrancis That's right.
 
@syb0rg That's pretty nasty.
 
7:28 PM
Kinda hard to see the K in that tho
 
However, @syb0rg, they do review designs in the chatroom.
@syb0rg I saw it right off.
 
@Hosch250 Graphics?
 
Yeah.
 
@syb0rg Can be fixed.
Not today though, we're on EU time.
 
@Mast did your microphone fall over
 
7:30 PM
I gotcha, I appreciate the effort!
 
@syb0rg Try to make the < part of the K smaller
that should make it easier to C
6
Right, it's friday
 
@Pimgd It's actually pretty common in a recording setting to have a microphone like that, called a "shotgun" microphone
 
@Phrancis does it go "boom!"
 
0
Q: JavaScript pixel to check track user

toyThe code is just to check user session. 'use strict'; import Cookie from 'js-cookie'; import _ from '../helpers'; module.exports = (event) => { const spCookieName = 'sp'; const suCookieName = 'su'; try { const e = event || {}; let sp = Cookie.get(spCookieName); let isNewDe...

 
@Pimgd Twice.
 
7:32 PM
 
@Pimgd Sometimes, though ideally not. It's called "shotgun" because it's highly directional, i.e., you point it at something.
 
@Mast double-barreled microphone
 
That's what they use to record an interview within a loud crowd, like at sports events and such
 
If you aren't careful, it goes "boom!" every time you open/close your lips.
 
@Pimgd Travelling through airports with those things must be awful.
 
7:33 PM
Why?
 
@Hosch250 Boom, boom, boom I want you talking in my microphone broom.
 
Something like this, invoked using a provided filename and the adress of a node pointer that will receive the list being generated. Good luck. Any future "how can this be better" questions on this should probably be foisted on codereview.stackexchange.com. — WhozCraig 21 secs ago
 
It isn't like they are turned on...
 
@Hosch250 The shape of some of those things.
 
@N3buchadnezzar You are the first person I know if that sweeps out their microphones.
 
7:34 PM
 
@Mast Oh, they are pretty obviously mics.
Those kind usually have a fuzzy cloth over them to keep the dust out.
 
@Hosch250 that?
 
Next time I build a coil gun, I'll disguise it as a mic.
 
And anyway, no gun has holes like that. It would let the air escape.
 
@Mast Next time I build a microphone , i'll disguise it as a gun.
 
7:36 PM
@Hosch250 it's like a super long nozzle
 
@Hosch250 The fuzzy cloth/foam is actually to break plosives, not keep the dust out
 
@Phrancis Plosives?
Oh, the booms?
 
"P"-like sounds
Yes
 
OK, TIL.
 
Tim, I have to ask, when the site goes down, who do you go to for help? I mean, there's no Stack Overflow, Server Fault, or Super User to ask.... like: "I plugged my UPS in to my UPS, and now the command prompt is not showing up... what type of Coffee should I buy?"rolfl May 16 '14 at 18:28
2
Monkey at work.
 
7:38 PM
I just heard the most apt expression for RD.
 
@Mast I think I've made a working library already
I told him it'd take only an hour
 
Since you can't really use a pop filter on a shotgun microphone (or many handhelds for that matter) they are sometimes wrapped in foam/cloth instead
 
in VBA Rubberducking, 50 secs ago, by Hosch250
> Such wonderful things around you, what more is you looking for?
 
@syb0rg Sounds good.
 
From Disney's Little Mermaid Under the Sea song.
 
7:41 PM
I just need to test this library somehow...
 
Yell at it.
 
@Mast Always works on my baby when it's crying.
Disclaimer: I have no baby.
6
 
Do not shake the baby
 
Can we vigorously wobble it instead?
2
 
I think Jim Jefferies did a bit about having to watch a 40-minute video about not shaking babies (Jim Jefferies is not for the faint of heart, mind you)
 
7:45 PM
@Pimgd Programmers working around imposed restrictions... IRL
2
 
But if a baby sticks its hand out, how do you greet it?
 
With fire tenderness.
 
(Because if you shake the hand, then you're shaking the baby)
 
You're shaking the baby's hand, you're not shaking the baby by their hand.
2
An important distinction.
 
@Pimgd You let the baby do the shaking part
 
7:48 PM
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.comKasramvd 16 secs ago
 
but every action has an opposite reaction.
So not only does baby shake you, you shake baby.
(How did we get here)
3
 
@Pimgd Agreed, it's a pretty weird rabbit hole :D
 
@200_success Did you get swag for this?
@Pimgd Friday. 'nuff said.
 
Just so I know, VBA doesn't allow you to declare a variable and set its value in one line, right?
 
Wow it's really a lot more simple and clearer! I'll try to adapt this to my code and check codereview. Thank you!!! — m3k3r1 21 secs ago
 
@Mast I got a mug, a generic Stack Exchange shirt, SE pens and notebook.
 
@Pimgd Well kinda, if you use a : between the statements, like Dim foo As Integer: Set foo = 42
That's not necessarily something you should want to do, though
 
okay, but that suggested edit was just introducing compilation errors.
 
If y'all don't mind, I could use some Github reactions on this: github.com/cmusphinx/sphinxbase/pull/30
Also, suggestions if I should make a comment in there or not
 
VBA sure is a strange beast
 
8:05 PM
We solve coding problems in the sense of bugs in provided code. Show some research effort and try codereview instead of stackoverflow if you already have a different solution but want improvements. — randy 47 secs ago
 
@Duga No... wtf these suggestions for migration are getting worse
 
@randy Where is the code to review? Why are you making the recommendation to post on Code Review? — syb0rg 56 secs ago
 
There is code
it must be reviewed
there is no code
maybe it must be reviewed anyway
 
@WillNess: As an exercise, I tried to implement your solution in Swift, and presented it on Code Review: codereview.stackexchange.com/questions/136332/…. — Martin R 15 secs ago
 
8:15 PM
ahhhh I accidentally swapped the two characters
now the attack descriptions are all about you hitting yourself =/
English is hard
 
@syb0rg bad comment:
You have presented an alternative solution, but haven't reviewed the code. Please explain your reasoning (how your solution works and how it improves upon the original) so that the author can learn from your thought process. — syb0rg 2 mins ago
> so that the author can learn from your thought process
 
It is an alternative solution, and not a review of the code
Ah, that part I can fix
 
Yes, but ... your reasoning for that there should be a reasoning is that otherwise they can't understand themselves?
 
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: OPP Sign In/Out procedure in PHP
 
8:20 PM
@Pimgd This is what happens when you trust your auto comments too much
 
@Phrancis That's something you should want to not do.
 
@Hosch250 read next line
 
@Pimgd I meant to reply to that one.
 
then it seems you are in agreement with him
 
No, he said it wasn't necessarily something you should want to do. I said it was necessarily something you should want to not do.
 
8:22 PM
@Hosch250 Thanks for the distinction
 
stop making English harder =/
4
 
Like I said, VBA is a weird beast. In most languages you could easily declare and assign a variable at the same time, but VBA for some arcane reason(s) does not allow that
 
There is a reason I hate VBA.
 
Hah, even C allows that
I wonder if I could make my username just :
 
8:39 PM
@syb0rg if SE has proper escaping code and such, I bet you could
I thought of making my username Phrancis';DROP TABLE Posts;-- but I think it would be futile
 
2
Q: Seamlessly migrating <experimental/optional> to <optional>

JustinFrom this Stack Overflow answer, I learned that C++17 will have __has_include, which can [make] migrating from experimental to std almost seamless This still leaves the question of how to do it. Doing something like namespace std { using namespace std::experimental; } is undefined behaviou...

 
possible answer invalidation by Paparazzi on question by Paparazzi: codereview.stackexchange.com/posts/136341/revisions
 

« first day (1182 days earlier)      last day (2851 days later) »