« first day (1061 days earlier)      last day (3253 days later) » 

13:00
11
Q: Puzzling Design Pitch - Congratulations, you're graduating!

Stéphane MartinI'm Stéphane, a senior product designer at Stack Exchange. First, I wanted to announce that this site is now starting the process of moving out of beta to become a fully-graduated site! Congratulations! Graduation and Your Site Design Graduation comes with a few perks, which should come out...

what site?
i've never heard of them
Oh, wait
that's the riddle one
I guess you all have to come up with riddles for names now.
At least I can use "Dan Kitchen Cupboard".
Quills will be "Put in a hat".
wat
[Putting in hat intensifies]
if I change my name in future, it'd probably be to something like "JavaScript isn't broken you asshole"
3
It's not broken, it's just slightly unfit for purpose
/s
13:04
Something is only broken if it was, at some point, working.
5
Exactly!
...Wait a second
@_@
@rolfl but throw NotImplementedException() feels more wordy
Seriously, the puzzling design should be white font on white background with text set as right-to-left.
99% answered. That's impressive
doesn't lifehacks and a few other sites have 100%
13:08
Damn it
We use Sass in our app
One of the 3rd party libs only uses Less
Now I have to do some nasty hacking to get those working together
Or just use standard CSS
Their source files don't include distributables (like CSS), only Less
Wait. it appears I am wrong. papa bless
it's just the folders I looked in only had less files in
13:29
So, I've been thinking about doing an SE chat app for the native platforms recently...
The code/solution isn't very different from the Terminal project I did recently...
But there are a few technical issues that might make this a bit painful/hard to maintain & work on
I'm still debating whether to pursue it
Kaz
Kaz
@Quill Probably speaks to the fact that inventing *entirely new* puzzles (which are the only kind without googlable solutions) is quite difficult.
The main one I have is putting in your password
13:47
Gotta love when an issue you've been trying to figure out for hours just magically fixes itself for some unknown reason... is there a term for that?
"I really need another coffee"
or "Chuck Norris code": the code gets scared and fixes itself
I like that.
@Quill Just do it.
@Quill Vigil removes all bugs from it's own source code, that's about the closest we've come so far.
Jon Skeet's code, he's never done anything wrong. Except for the time he thought he had made an issue.
If you're not making mistakes, you're not doing anything.
4
14:03
Or you're Jon Skeet.
Jon Skeet is so good, his JavaScript code is legible.
0
Q: nature based algorithm-C code to solve sudoku

Indradeep Hayaranwhat are C codes to solve sudoku using nature based algorithms? eg, C code for ant theory or ABC etc

0
Q: How to simplify operator based switch

AleksandarI am currently working on a method, that can search based on a value and an operator. Currently I check which operator was supplied to the the method in a switch, and do operations accordingly to it. This is the current code: switch (enumOperator) { case Operator.Equal: tmpResult =...

0
Q: As basic as routing in PHP can get

vvyeI'd like to have neater URLs, no more and no less — I'd like to be able to write /page/subpage instead of something like ?p=page&s=subpage. I've looked at various PHP frameworks and routing classes to see how they did it. Since most of them come with features I don't need, I wanted to try making...

0
Q: Shader missing, WebGL/JavaScript

AlexJonBarrySo I have the program below, with a lot of it borrowed from other programs. I am relatively new to WebGL and JavaScript. When trying to run this in Chrome, it throws an alert, saying a shader is missing. Any chance of some help to get it working? Many thanks in advance. <!DOCTYPE HTML> <html lan...

Stub code RSS reader in clean architecture - bluenowhere - 2016-03-30 09:45:46Z
Broken code Shader missing, WebGL/JavaScript - AlexJonBarry - 2016-03-30 14:13:15Z
@Quill wat
That something new you made?
not me, the SO Close Vote Reviewers team
0
Q: C# Point in Area optimisation

GavinPI am pretty new to C# having self taught thus far, and don't really have a programming background. I'm working on a game (flight sim) - which I did not write, I am simply modding! and have a problem that my server keeps crashing when players are dropping lots of bombs in a similar time period. I ...

@CaptainObvious that feels like broken code
14:32
the identation is certainly broken
His question feels half review and half "make this async for me pls"
I say it's fine
benefit of the doubt and all that
> (or security issues; this is PHP after all)
> and have a problem that my server keeps crashing when players are dropping lots of bombs in a similar time period.
What's this saying about the devil you know? :)
I missed a chat flag by seconds ;-;
@Quill I hate it when that happens
BTW.Monking
14:37
/me puts on an evil smile
I could make a userscript to tell people that they happened
PopcornSE.user.js
that would be rather fun
and neat as well
hey @DanPantry, Redis isn't for client only apps right?
I'm totally not asking for a certain chat app
Redis runs on the server and you'd probably want an intermediary.
So, no
Look at Pusher if you want that sort of thing for a chat app (though it isn't free past a limit)
Should I just not bother for a chat app like that? Do a manual (messages.length > 100) messages.pop(1)
lol, poor mans caching
yeah that could work
14:45
Which puts it at potentially like max 3000 messages
maybe like 30 or something per chatroom
lol I caught the flags this time. it was a picture of Jessica Rabbit
I'm going to guess the picture was not, as we would say, SFW
what room was it in?
The Bridge, and it was fine
Maybe NSFW in 1910
oh, well go figure
too much ankle lol
14:48
there was another flag
wut same room, different photo
I don't even know what the photo was
imgur is blocked here, so I don't ever see photos in chat or on the site
@AlienHerbNite you poor person
haha I don't have blocks anywhere :)
besides in my ability! oooh, self burn!
14:50
wow, it's like a reverse @JeroenVannevel.
3
Thou called my name?
5
15:07
0
Q: Refactoring DAO code (exception and jdbc connection)

salamanka44I'm trying to write my first "complex" program in Java. So far, I created a local H2 database but I'm not sure about the quality of my code (I'm newbie in Java) because I don't know how I can deal with exceptions and I don't feel comfortable with the jdbc code. Here is my code : public boolean...

15:19
I thought my interview went good. They just emailed me and said they want to do the on-site interview this Thursday, ASAP!
6
Good luck
So, it really depends on whether my mom changes her mind. She really wants me to work on RD instead.
Kaz
Kaz
@Hosch250 RD?
She wants you to do open-source for free instead of working as a paid developer?
8
Kaz
Kaz
As in RubberDuck?
Thanks Santa @Mat'sMug
15:25
0
Q: Perform a boolean function to list and get 'OR' in python

LoomI want to check if some line ends with any substring defined in some list. Is there a better way than following one? endsA = ['foo', 'bar', 'fur', 'beer'] endsB = ['door', ... ] def checkEnds(line, ends): for end in ends: if line.endsWiht(end): return True .... if chec...

Yeah, no, not paid dev. I'd be deploying a bunch of new workstations.
@Kaz Correct.
@JeroenVannevel He's having fun, learning valuable skills, making internet friends, making industry contacts. It's probably better for his career than installing workstations
2
No it's not
don't delude yourself
the things you people star
6
All of that can be done in spare time just as well
Kaz
Kaz
15:31
@Quill Doing all that whilst also having a full time job gaining real work experience (and a work record) is much better still.
The comment from his mother suggests that they can't/shouldn't be done together
which, in that case, what I said may apply
No, she doesn't want me to work for a shady defense company.
Do they make you take a Polygraph?
No.
I bet I could trick that anyway.
15:34
But then, yesterday I was told it would be a couple weeks before they contacted me, and she said we might as well get on with RD.
good luck with that interview though
Yeah, RD is coming along really nicely :)
I am soooooo glad I don't have to do all that clearance paperwork any more.
She just said that if they offered me the job, I could take it. $18/hour is pretty tempting for a first job, but...
Hi, @FedriQrueger.
0
Q: JavaScript to connect to Redis using Singleton

toyI'm trying to create a class to connect to Redis in Express. I don't think my code is good enough as I got variable db hanging out. 'use strict'; var redis = require('redis'); var bluebird = require('bluebird'); bluebird.promisifyAll(redis.RedisClient.prototype); bluebird.promisifyAll(redis.Mul...

I guess you could say the rate at which RD is going is quackers
6
@CaptainObvious @Quill that's uncanny
15:36
that's my sock @DanPantry
(I am not even sorry for that pun_)
@Hosch250 Will she pay the difference?
Why would you assume that accessing Google Maps would be less dangerous than accessing banking data? I happen to know one guy who would prefer that hackers empty his bank account than his wife find out where he goes on lunch breaks. The point is, when designing a secure system, you cannot make any assumptions. — dotancohen 3 hours ago
3
15:52
I just made a royal mess out of some HTML builder code
@Quill Those displays on my PC shut off at some point throughout the night.
wow
can't you tell when?
No, unfortunately.
Okay, I think I've got this flag reporting userscript nearly done
just gotta connect one more thing
somebody ping me
@Quill No.
You'll likely flag me.
I don't trust this business of yours one bit.
@Quill Don't do it!
@Quill @Quill @Quill :-)
16:00
@Mast @Quill guy the science guy.
My iMac keeps making funny noises but won't tell me why.
what kind of noises?
Some type of bubble-sounding thingy.
"Hahahaha you bought a Mac" -noises
(He says, as he buys a Mac)
ttgh
0
Q: Method to act on a particular element or from a list if not parameters are passed

licornaThe scenario is as follows. The API of my program will allow the user to perform some method on a particular element (let's say a tuple from a database). If this parameter is not passed to the function, then the "default" behavior is to look for a list of elements (from a database query, for exam...

One thing about working on Rubberduck is that I can easily make up lost time if I get sick.
16:08
@EBrown Might be Skype, I get bubbly noises when people sign on etc.
@PinCrash Yeah, I think that's what it is.
Didn't do it until I installed Skype.
I need to finish this damn blog post.
Where's your blog located? I'm going to bookmark it.
Do it then! You Got a little while before going to workg
@PinCrash Yeah, shouldn't take long. I wrote a lot of it last night.
@AlienHerbNite usingprogramming.com
@EBrown Thanks!
Kaz
Kaz
16:12
"(it's 2016, you shouldn't be using HTTP anymore!)" Tell that to SE, all the meta sites (except the main meta.se itself) have certification problems and they're not going to fix that any time soon. — Mast 19 mins ago
-1
Q: Im learning CSS and HTML with udacity

Rafael Maciel<!DOCTYPE html> <html><head> <meta charset="utf-8"> <title>Framework Test page</title> <link rel="stylesheet" href="main.css"> <style type="text/css"></style></head> <body> <div class="container"> <div class="row"> <div class="col-6"> <img src="http:/...

Hint: You're probably looking for CSS display: block property... — Pin Crash 22 secs ago
@PinCrash I have someone working on a proper theme for it. :P
16:30
Ya ya ;p
cool :)
@Mast I tried to explain this to my boss at work...he didn't go for it.
so my flagging script is working well, just putting the finishing touches on it before I get you all to QA test it present it to the world
@Quill I get you all to QA test it present it to the world put it up for review
I'm obviously unable to test actual flags for the mean time, so I set it to treat edits like flags while I test.
it renders a pretty little popup box like the upload box.
16:42
posted on March 30, 2016 by Zachary

I am creating a chess game using HTML, CSS, and JS. I have been successful so far creating the board and pieces. I have been unable to get the pieces to move yet. I thought I had it figured out but, something is wrong with the code which, instead of moving the piece, creates a queen in the top left corner. Any help would be appreciated. I am not sure where the pr

0
Q: Web based Simon clone

CarcigenicateI wrote a Simon clone in JavaScript, HTML, and CSS. It's extremely simple, but turned out fairly well. I'm looking for general feedback, as well as these things specifically: I opted to try to do any required animation manually, instead of relying on jQuery. I wanted to see what went into anim...

@CaptainObvious nice
@CaptainObvious RBA
So hungry...gah.
I need to pick myself up an Xbox One and get back to coding my game.
I have an Xbox One.
I like it.
I have always been a Playstation guy
I don't even have a PS4 yet
16:55
You still need a job man. :P
well, my flag viewer is done. that took longer than I expected
@EBrown @Mat'sMug @Malachi ->> SQL WTF of the Day (for me)
LOL
@EBrown Xbox One is pretty sweet
@AlienHerbNite It's alright, I use mine for BluRay movies and Netflix, mostly.
17:04
@EBrown Must be a manager...
@EBrown I have a contract position for at least a couple more months
@Mast He is...lol Assistant Department Manager.
@Malachi Ah, that's good to hear.
@EBrown It is fairly nice in that regard too. I mostly use it for gaming though.
0
Q: Simple shell backup script

PeteThe script works but I know that it can be improved. Please note that my scripting skills are very basic :) (as it can be seen in my Frankenstein script – I took bits and pieces of the code from different tutorials). I would appreciated if someone could review this script and identify some major...

pretty good place to work at as well. they really encourage learning
and they are going to start up hack days again
17:08
@Malachi That's good. I'm currently trying to get back into school.
I am also getting my Bachelor's so I am going to be pretty busy
@Quill Awesome!
@Quill Is that even legal? If it does what it says it does, it would give great stats.
I miss my stats page...
my next classes are unix fundamentals and intro to Project Management
17:11
Alright, time to finish this damn blog post.
@Malachi How fundamental are they going to get, Kernel?
@Mast lol idk.
time to get my Linux computer out again
even if it is ubuntu
Nothing wrong with Ubuntu. Quite nice general-purpose OS.
@Malachi Ubuntu isn't bad. I usually stick to Debian for desktops and CentOS for servers myself, but that works pretty well as well.
0
Q: Which of the following Generics implementation is better and why?

sscThis is the question from Oracle docs: Write a generic method to find the maximal element in the range [begin, end) of a list. I had my implementation like this: public static <T extends Comparable> T maximalElement (List<T> list, int from, int to) { T max = list.get(from); ...

This post is now 4 pages in my Pages app on my Mac. Apparently I have a lot to say.
Man, Visual Studio with GitHub is so easy/powerful. Way superior to Team Foundation Server.
lol TFS
github masterrace
@EBrown VS has messed-up my Git repo twice, it's not allowed to touch it ever since.
@Mast Damn. It hasn't done that to mine (yet). Don't jinx it please.
17:29
@Mast it just shows you flags you missed (while you had your browser open) not old flags
Flags you missed?
@Quill That gave me an interesting idea, if I only had 10k rep.
Trying to set up a git repo in VS is a PITA
They pop up, and go away by themselves
17:30
popcorn SE hahaha excellent
Skype for Business <3
I like Ubuntu, I use Edubuntu for my daughter's laptop.
They go away fairly fast, so now, if you have your browser open, you can see the ones that went away before you could get to them
@PinCrash i heard it was a 1.6GB installer
@Malachi Who's Ed and what's he doing in your daughter's laptop?
17:32
@Mast Don't have the time to answer questions lately. Besides, I did this one just this morning. :P
i can't even say that
That's a confusing name
it's the Educational version of Ubuntu, it comes with TuxMath and KTurtle and Laby(I think is the name of it)
@EBrown You probably have more answers than me.
@Mat'sMug :D
@Malachi KTurtle, like the old Logo?
17:32
yep
15
Q: Is my code nice and neat for a Tic-Tac-Toe board times 4?

MalachiI am trying to learn kTurtle (slightly different from Logo) so that I can help my daughter learn to write code. I have decided that I would write a program that would play Tic-Tac-Toe with a user. So far, all I have is the Game board, and I make it more than just a single board to add to the in...

We don't have enough Logo questions.
5
Q: Drawing a gnome in Logo

PureferretI recently found my first program I wrote using Logo and was wondering if it could have been improved: to gnome repeat 180 [bk 1 rt 1] repeat 180 [bk 1 rt 1/4] rt 97 repeat 180 [bk 1 rt 1/4] pu lt 90 fd 50 lt 90 fd 25 rt 90 pd repeat 90 [fd 1/2 rt 1/4] repeat 180 [bk 1/2 lt 1...

@Malachi I see a disturbing lack of functions in the original code :P
I didn't know anything about functions in Logo when I started the code...lol
Ugh, real-life examples in blog posts are hard.
17:41
@EBrown A little examplification may be required.
Don't make it too personal.
@Mast It's a code example.
I had considered piping everything to SpamAssassin and training it. — 200_success ♦ 3 hours ago
lol
Markdown Markup is finally about to prove it's usefulness!
Also, @Mat'sMug you should check out the DelegateCommand on this SO question: stackoverflow.com/questions/11960488/…
As the DelegateCommand you have isn't WinRT compatible.
18:00
@Mat'sMug So @200 has a great idea and @Simon makes it needlessly complicated? Business as usual.
reminds me of this
26
Q: When "How To Ask" is too subtle

Mat's Mug This is the first JavaScript code I've ever written, alert("hello, world!"); aside. This site is closing quite a lot of questions because people won't read the rulebook or pay attention to the How To Ask panel that's displayed as you're entering your question title - almost 60% of closed q...

that said, I think Clippy would just sigh
Just thought of a few new features for Markdown Markup.
I heard Microsoft created another chatty AI recently we could use :)
3
@DanLyons Until it became a Hitler supporter.
3
maybe it's better for SO, then
18:06
there aren't any pins....
Oh man, Markdown Markup is awesome.
This thing needs scrollbars.
Gah, I could definitely short-circuit a lot of this method.
@EBrown It's a matter of what you use as input. Since we have very good moderators, there aren't much /H.{5}/ references on Code Review.
It could work.
^^ redacted
18:20
Where's @skiwi when you need him? If you can write the machine, I'll let you borrow my server for the computations.
@Mast Here
@200_success How appropriate :-)
So editing in Markdown Markup becomes fairly slow as you add more and more text. I wonder if I should use some async/await here.
Or introduce a delay.
Wow. I typed a whole sentence and the computer took ~8 seconds to catch up.
Yeah, it needs that performance issue fixed.
@EBrown A reboot usually fixes it here.
@Mast It's an issue with this programme. It tries to do certain computations anytime the text in a box changes, but if the text is particularly large (as it would be with a blog post) it takes significant time to do the computation.
18:33
cringes
bites tongue
IT'S "PROGRAM"
oops
@Mat'sMug >.>
@Mat'sMug I'm making a fairly comprehensive list of Do's and Don'ts with expression-bodied members.
cool!
Part of a fairly comprehensive blog post on the subject as well.
I'll have to have you proof it before I release it.
mkay... @JeroenVannevel might be a better proof-reader though - I've never written a single expression-bodied member in my life
aw yis
my list would probably be like..
> DON'T use expression-bodied members
lol
@Mat'sMug Why? Lol
DON'T use expression-bodied members on static readonly fields (Empty, etc.)
if it is a short one-liner, then I'm generally OK flipping it to an expression-bodied member
18:39
DON'T use expression-bodied members when the expression contains multiple ternary or null-coalescing operators
@EBrown Plus 1 there.
What is an expression-bodied member? :o
googles
0
Q: I know this can be improved but don't know how - How do I stop long methods that I keep writing?

DcCoderI'm just trying to understand and use unit tests, which from what I can tell is exposing the issues with my code. A lot of what I do is MVC/WebAPI. One of the big issues I come across is that my methods end up too long, doing too much, which makes it very difficult to test them. Here's is the...

public int Foo(type someParam) => expression;
Rather than:
public int Foo(type someParam) { return expression; }
#BigDeal
18:40
I should clarify my position - I'm not sure how keen I am on doing it with voids
I like them. They make the code a lot clearer and more explicit.
IMO that's one of the C#6 features that can greatly harm readability
@DanLyons I refuse.
Ohh that... I think those remind me of FP for some reason
I don't use them with void methods at all, I think the fact that they support that is an atrocity.
I found out this morning that you can do something like:
18:41
simple getters, be them properties or methods, are pretty good, though
public string MethodA() => "Method A";
public void MethodB() => MethodA();
And it's completely valid.
Which is just horrible.
I don't know why you wouldn't make that top on a constant field.
Because the expression for MethodB will simply dispose of the value from MethodA.
@Hosch250 It's just a demonstration.
@EBrown Shouldn't the IDE trip up on that one? There's lots of horrible things you can do in all languages
@skiwi I would think it would, but it doesn't.
Because it basically rewrites it as public void MethodB() { MethodA(); } which is completely valid.
18:42
@EBrown If you like, you can make an issue on VSD to not change voids to that.
@Hosch250 Link?
I don't know what Jeroen would say, but...
It doesn't change much from having a MethodA() in "old style" and then calling that without using its return value
@skiwi No, it doesn't. I just think that the type of the expression should have to exactly match the return type.
If you try to produce an expression that would result in a value being disposed, it shouldn't allow it.
18:45
@EBrown Hmm right, that would make sense, though the MethodB() example does make sense, but perhaps forbidden void to be in expression-style is indeed reasonable
Almost time to go to work.
@skiwi Yeah, I just don't like the idea of it. Expressions should return something, always.
@EBrown Did you have the morning off or something?
OMG need to upgrade to Windows 10, it will offer Bash from its summer update onwards!
4
@Mast I work second shift, 1600 to 0130.
@skiwi WHAT
@PinCrash skype for business keeps crashing in our work. then again so does everything else
@skiwi WHAT?!
that
is
huge
We all realize this is going to break scripts, right?
But this has possibilities.
Many.
What the hell... Even apt-get is going to work?! For Ruby, Redis, etc. etc.
Now let's hope they do it right.
faith_in_humanity = restored
18:49
holy crap
that's big
wait does that mean it's POSIX?
naaaaaaaaaaaaah no way
Personally, I don't care. I read an article by a security guy who said that optimally, there should be one kernel for every 20 people.
that's not a lot of popcorn
The more difference there is between kernels, the more effort a hacker needs to spend to make a virus work on multiple systems.
@Hosch250 The more effort anyone needs to spend to make anything work on multiple systems.
hey the solution is simple: let's each write our own OS!
18:51
It's the anti-thesis for standardisation.
paste.ubuntu.com/15562157 Can somene help me a little with this code? How to use auto / and remove macro ?
:(
It's BAD!
@Mat'sMug I started working on one at one point.
@Ramy Wrong site, wrong chat.
18:52
meh
@DanLyons "And the last one, which you may or may not want to adopt (I have): DON'T use expression-bodied members on void methods, period."
Anyway, time to go to work. Have fun all.
please take this to the Nth
@Mat'sMug Go ahead and move it, I can't.

« first day (1061 days earlier)      last day (3253 days later) »