« first day (798 days earlier)      last day (3212 days later) » 
00:00 - 17:0017:00 - 00:00

5:00 PM
hmm... maybe the new global login / auth botched with chat auth...
 
I had one there but removed it when I cleaned up some unused accounts
 
Monknoon!
 
Howdy, all!
 
Monking
*Monknoon
 
hmm.. that's easier to understand..
 
5:03 PM
I just changed it to SO and now I no longer can select the workplace-account
 
you can change your "parent account" on the chat profile page
 
Monking
 
/Monk*/ @Phrancis
 
@Phrancis Hi, Phrancis. I know you're good with SQL -- do you happen to know sqlite well?
 
I did that already. Which account do you see?
 
5:06 PM
Stack Overflow.
 
I just noticed. I think we have almost all of the election candidates present at the moment.
Good luck to y'all!
We are fortunate to have so many qualified, interested candidates.
2
 
Wow. Lots-o-people joining.
 
Lunch time. :)
 
@Edward Never used SQLite ... :\
 
I'm just starting. My SQL is very rusty, but the particular application I'm writing seemed a natural fit for a real database, even if it's just a tiny one.
 
5:13 PM
@Phrancis It's essentially SQL without functions, procedures, looping, if statements, and many others.
 
@Edward OK. Well, SQL questions in general I can help, but if it's very specific to SQLite I might fall short :)
 
To anyone who's already read my question, I made some updates that might help put context into it: codereview.stackexchange.com/questions/96592/…
 
I remember enough db design to be able to put everything in Codd normal form, but I have a whole mess of JOINs that leaves me wondering if I'm doing things efficiently or not.
Other than coding it six ways and measuring them all, I'm not sure how to code for performance with this.
I'm not far enough along to have a non-vague question!
 
5:37 PM
2
A: Predict the date of the 10th million question on SO

JamalOctober 23, 2015 at 06:02 UTC And it'll be tagged as: chemistrymolesatomflaskselenium

I'm so gonna win.
 
Do you still win if you don't show your derivation? :)
 
Avogadro's ghost told me.
 
0
A: Predict the date of the 10th million question on SO

Ethan BierleinI guess: October 22nd, 4004 B.C

Lol. It already has a downvote.
 
I'd guess but the batteries are low in my Magic Eight Ball.
 
I bet you that the 10 millionth question on SO is going to be a really bad one, asked by a new user, who doesn't know how to use google.
2
 
5:44 PM
@EthanBierlein Just like many of the rest of them?
 
"@EthanBierlein Just like many all of the rest of them?"
So much fail
 
@EBrown Use --- to strike text.
 
Aha
Either way, you all get my point.
 
@EthanBierlein And it looks like someone came in with an army of downvotes. The +5 answer, for instance, is at 0.
 
5:54 PM
Yikes. Apparently some user isn't as excited to have a little fun.
 
There are a lot of votes coming in, both up and down.
I've been looking at it for a while and answers went from 0 to -5 to 0 again.
To be honest, that question attracts a lot of rubbish.
-1
A: Predict the date of the 10th million question on SO

Bjørn-Roger Kringsjåc# - OMG! null reference exception why? i get error, why? Here's code: static void Main(){ bool stupid = false; object girlfriend; while(!stupid){ girlfirend.Ignore(); } } Plz help me!!!!! xoxo c# c c++ java unicorn share edit close flag                      asked Au...

 
Lol that ^^
 
@EthanBierlein You think that's funny?
 
@Mast Look at it carefully. The answerer may not have understood that the question was asking for dates. The answerer gave his prediction for the 10Mth question.
 
The internet is one big sewage. Let's make it worse.
@EthanBierlein No, he's trying to make a joke. Joke topics usually get purged with good reason.
 
6:05 PM
Does anyone know if it's possible to link to a git tag on github? I'd like to let my ultimatoe questions like to them as I've renamed and changed quite a few things in the meantime.
URL shortening is funny. They're not the same.
 
Hmm. Short of a sort of redirect, I'm not sure if you could very easily do that
 
I'm thinking about using branches, but this is rather stupid. Branches should grow.
 
I think the guys at Rubberduck might have done something similar to that when they moved their main repo, you might check with them and see if they can help: chat.stackexchange.com/rooms/14929/vba-rubberducking
I think Mat'sMug would probably be best to ping on that one
 
I wrote a function. It doesn't work as expected. So I rewrote it. It still doesn't work as expected.
I hate JS.
 
@Mast Maybe the function is fine, but your expectations are unrealistic. It's JS, what do you expect?
 
6:14 PM
@maaartinus I'm perfectly sure JS should be able to handle this. I'm just doing it wrong since I have no experience with idiomatic JS (or Node.JS in this case)
 
I'll do it here... let's see if it works. @Mat'sMug: I'd have a question for you... could you come?
 
@Mast "If only you had used insert trendy library name here you wouldn't have that problem!" -- the internet
2
 
</lurks>
 
@Edward Indeed.
 
@Mast I see... JS is actually pretty powerful, but very error-prone and I hate it with passion.
 
6:15 PM
If I only had written it in a totally different language. If I only had more time. If I only knew what I was doing...
@maaartinus I feel the same way.
 
@maaartinus what's up?
 
10 mins ago, by maaartinus
Does anyone know if it's possible to link to a git tag on github? I'd like to let my ultimatoe questions like to them as I've renamed and changed quite a few things in the meantime.
The above question of mine. Not worth much effort....
@Mat'sMug According to Phrancis, you could advice me.
 
Link to a tag, or link to the repo as it looked like in commit abcdef1234?
 
Actually, the latter would do.
OK, I guess, I can drop the tags now. ;)
Then thank you!
 
When you're viewing a commit, there’s a "view files" button at the top
You're welcome! :-)
 
Well hidden. As nearly everything on github. But once learned, it's fine.
 
It's especially useful for linking to your repo in CR questions... especially if your code changes a lot over time
 
That's exactly what it does.
 
@Edward No, you fit in quite well.
2
 
6:29 PM
"Shut your festering gob!" :)
 
What's the idiomatic way of passing an argument to a 2-story depth recursive function in JS?
 
^^ Hack it (like everything else in JS?)
 
I doubt I could help much anyway (since I'm not a JS expert) but what's a "2-story" function?
 
@Phrancis I did. Everything works, except my timeout in between...
Which I'm probably doing wrong as well, but hey, there probably is no right way.
@Edward I got 5 methods. The first is repeatedly executing one of the other 4, which all will execute the first again.
 
@Mast Got it, thanks.
 
6:37 PM
@Phrancis Even JS is a hack
 
@Edward My naming might be off. I'm no good with names.
 
All of my function and variable names are combinations of the letters "l" and "I" and "O" and the digits "0" and "1".
 
Iteration is fun. When in doubt, name your iterator i.
2
Iterator, index, whatever it's called. That thing that loops.
 
@Mast Let's call it a looper.
 
@Mast Sometimes i really don't have a clue
 
@Edward Awesome, let's go with that.
 
if you call it o, is it a loophole?
 
for (looper in groupofstuff) confuse(looper);
@Mat'sMug we probably shouldn't speculate on when it's called a.
2
 
lol
 
6:46 PM
lol
 
Should irregular loops be called a leaphole?
The alternative is broken
 
And multiply nested loops probably contain blackholes.
2
Unless it's a sorting algorithm, in which case pigeonholes are advised.
2
 
Indeed ^^
 
And you said you were no good with names?!
:0
 
6:52 PM
0
Q: Multiprocess Bogosort

BrandonI only program by hobby and I'm trying to improve with python so along with practicing coding I decided to venture into multiprocessing.This is command line and will sort a variable number of list, timing itself. Advice Appreciated. I tried also to make sure I followed all pep8 rules. #!/usr/...

 
@skiwi It could use a touch more orange.
3
Sorry, I should have written that last comment in braille.
 
"Like most things in Eindhoven, the High Tech Campus owes its existence to Philips,"
I can agree with that... I'm working in a building that was owned by Philips
 
@skiwi I was there last June, nice area.
 
@Juhana that would be a different advice, but also a valid one :) this is just the smallest step he can change to fix his code snippet. Questions of style and dangers are maybe better suited for code review imho. — doldt 28 secs ago
 
@Edward I'm not entirely sober anymore, which helps.
 
6:59 PM
@Mast I haven't been to the High Tech Campus myself, I study on the Eindhoven University and work at Strijp-S though
 
@skiwi I've been at Strijp-S somewhat over a year ago. It's a nice place to be, a shame I'm living way up north.
 
@Mast Come down! Join us below the rivers ;)
 
@Mast Sounds like you've found a solution (if you'll excuse the pun).
 
@skiwi I just might.
 
(And enjoy a thing called Carnaval)
 
7:01 PM
@skiwi One thing I definitely enjoyed last time I was in the Netherlands at the right time...
 
@Edward Hahaha! That must've been very weird in public space then ;)
 
@Edward This could get out of hand very quickly.
 
@Mast Drunken variable naming or Carnaval? There's considerable overlap...
 
Both.
The moment you encounter a pigeonhole in your code, you know you're doomed.
3
On the other hand, I've seen code in which the term blackhole was actually on-topic.
 
It would have been on topic in this question:
4
Q: N-body sim with Barnes-Hut - Follow up

Kieren PearsonLink to previous question: Barnes-Hut N-body simulator It still has issues I'm sure. Node.h #pragma once #include <vector> struct Body { double posX, posY; //position x and y double velX, velY; //velocity x and y double AccelX, AccelY; //force acting on ob...

 
7:07 PM
Yea, something like that.
 
But the programmer decided to name it "center" or something boring like that.
I enjoyed that question though. Fun animation.
 
I saw the first iteration of that question, very entertaining indeed.
 
I'm sure there is more performance to be extracted out of that, but I didn't want to spend more time on it.
So instead I'm wasting my time chatting and drinking beer. :)
 
@Edward Sounds awfully familiar.
I've been rewriting my JS so often I'm not sure I'm still capable of writing in a decent language.
 
I have a JS+animation project I want to do, but it seemed prudent to start with beer rather than code.
Most javascript projects seem that way to me...
 
7:14 PM
You're absolutely right.
It's more worthwhile to learn how to do animations in a different language than to postpone beer.
As in, never do it in JS. You'll regret it.
 
I was planning on an unholy admixture of javascript and SVG.
 
Why do you need JS anyway?
 
@Edward Time to open one more tab!
(SO I can read it later)
 
@skiwi You do that a lot, don't you?
 
@Mast Yeah...
 
7:18 PM
@Mast The idea is to have an animation that's driven by reading XML data from a collection of remote devices.
I am planning on reading the XML using js and the animation via SVG.
As soon as you have another beer, it will make sense to you, too.
5
The requirements are to need no installed software on the computer and to allow direct communication with multiple devices.
So I figured browser-based was likely to be easiest.
 
 
@Edward Grabbing another beer, but I don't give it much chance.
@Edward Non-installed executables are out of the question?
Do it the C++ way.
Or Python if you can assume all target boxes are *nix
 
Yeah, I'd love to do it all in C++, but it's required to work in an "unadorned browser" -- even Java is disallowed.
Target boxes are Windows, Linux, Mac, phones, etc.
 
Hi
 
@EthanBierlein "Zomblie"?
 
Wouldn't this be a better match for the stackexchange code review site? — Rüdiger Klaehn 1 min ago
 
Careful. I hear they eat "blains!"
5
 
@skiwi Perfect. I'd say exact, but actually it'd have to be 100 times as long as it is.
 
7:35 PM
This question looks like a good candidate for codereview.stackexchange.com. — Martin R 50 secs ago
 
0
Q: Check field values against obj

user4076077I want to check some fields values in a form against an existing obj values. If the values match change a class value (it will add a sign). The following code is working, but I would like to know if it can be improved. I am pretty sure it can be :) Preset obj: var obj = { preset_a:{ ...

 
Cheers, y'all. It's happy hour!
 
7:53 PM
@Edward Still nothing.
 
0
Q: How can you leverage Swift features to refactor this recursive function?

ybakosI've been working on a recursive function to extract String values out of JSON data represented as an NSDictionary. The function allows you to do this: if let value = extractFromNestedDictionary(["fee" : ["fi" : ["fo" : "fum"]]], withKeys: ["fee", "fi", "fo"]) { println("\(value) is the valu...

I have flagged this one for migration to Code Review, it looks like a good CR question to me.
 
Is it a common things among programmers to watch the compiler console with your fingers crossed, hoping for the elusive BUILD SUCCESSFUL?
Shit, 1 test failed -_-
 
-7
Q: SQL STATEMENT ANSWER NEEDED

Valinshetaya AskewWrite a SQL expression to display each Status and the number of occurrences of each status using the Count(*) function; display the result of the Count(*) function as CountStatus. Group by Status and display the results in descending order of CountStatus

 
0
Q: Extension pattern in a flask controller using importlib 2.0

jobouThe first edition of the code can be found in this 1.0 version. To summarize the problem : I have an endpoint in flask where the work logic change according to the query I am trying to implement an extension mechanism where the right class is loaded The first version did not provide caching of...

 
@Jamal Wow lol.
 
8:08 PM
I'm voting to close this question as off-topic because it belongs on codereview — Julien Roncaglia 45 secs ago
 
@Phrancis Yes, of course someone upvoted it. Of course.
 
0
Q: PostgreSQL - Searching text, starring, flagging and joins

Chris CireficeI have an interesting performance concern that I would like to address before it becomes a serious issue. I created a SQL Fiddle to demonstrate the query, and the explain statement can be seen on Depesz. I have a collection phrases in different languages, and 'translations' that link phrase ids ...

 
@Edward Create your own browser, hard-wire it in there, and then distribute the browser?
 
@CaptainObvious Asked 45 seconds ago and posted already? I think you've had too many free Slurpees today.
 
Oh yeah. I forgot that I live in a place with no 7-11s whatsoever.
Which means no free slurpees for me.
:(
 
8:19 PM
0
Q: AL N*N Tic Tac Toe Game - 2

MORTALbase on previous question AL N*N Tic Tac Toe Game here summary of improvement deleting the Match class for its expensive calling constructor deleting enum struct Type and enum struct Diagonals for no longer be needed converting Random class to a template to allow either int or unsigned val...

 
8:36 PM
0
Q: Hibernate and the Repository Pattern

Stefan FalkI have already asked a question on stackoverflow on how to understand the Reporitory Pattern but I'm still having very big troubles in getting a good design implemented on my server. I'm desperately trying to refactor my server and move a lot of service-code into repositories (where it actually b...

 
Also, switch (bool) should never pass a code review. Use an if statement. — Mitch 33 secs ago
3
 
@Duga switch (bool)?
WTF?!
 
            switch (pass)
            {
                case(true):
                    Console.WriteLine("YES");
                    break;
                case (false):
                    Console.WriteLine("NO");
                    break;
            }
This thing is insane...
4
 
uh, wut??!!
 
Because: Console.WriteLine(pass ?"YES" : "NO);
Also, why are the C# folk so critical with questions.
 
8:46 PM
Are they? Sometimes I feel like being too sarcastic.
 
This question (and yes, I am looking at it because my answer is score=0 and I wondered why) has been closedx as example/hypothetical? Really? : codereview.stackexchange.com/q/95985/31503
@Thanks Malachi, As I said My motive is to Note down caller information (from where this exception has been raised) and this is just an example, the real code is much more complex and not just "Divide by zero". — Anjali Gupta Jul 6 at 15:56
Hmmm... OK.
Oh, and then chat-votes FTW ....
 
cough
 
And the code doesn't do much besides dividing by zero...
 
I guess I had tunnel vision, see the bad divide, and the exception-for-0 division, and the bigger picture escapes me.
 
Meh, an image shot at 200mm on F4.0 with a crop body isn't as sharp as I hoped... time to figure out why tomorrow
(Canon EOS 7D with a Canon L 70-200 F4.0 lens)
 
8:52 PM
One of my edits got rejected again because somebody else made one slightly after me.We suggested pretty much the same.
 
@skiwi Shutter speed and mount?
to hand-hold a camera you need to have pretty much 1/focal shutter speed for "equivalent" focal length. So, a 200mm zoom is effectively about 320mm, so use about 1/500 to get shake-free hand-holding.
 
@rolfl This happens to me all the time... and when/if I finally look through, I have to rewrite quite a part of my answer.
 
@rolfl Shot from hand and shutter speeds are reasonable, at least 1/250 and most are 1/500
 
Additionally, (almost) no lens is ever at it's sharpest, especially zooms, at it's widest aperture. Stop it down to at least f5.6 and try agin.
 
I did indeed notice that f5.6 seems to be sharper
This canon lens is recommended a lot because the f4.0 is supposed to be as sharp as anything else
 
8:56 PM
Hmmm... Canon may have accomplished that, but that may be at the wider end too.
 
One part that seems to get more and more important is that I still need to figure out what the AF-modes exactly mean, like center focus, spot focus, etc.
 
Oh, if you are auto-focusing, then all bets are off too.
 
When glancing over this image it either looks like it's too noisy (but the ISO isn't abnormally high), or that it looks out of focus
@rolfl Do you always focus manually?
 
No, seldom do, but if you are claiming the system is not sharp enough, then you have to blame a specific subsystem.
Isolating the lens, sensor, and AF system seems reasonable.
 
I'll need to mount this up tomorrow if the weather is sunny
 
8:58 PM
The best woul dbe to use the display in a "live view" mode on a tripod, to focus the camera, and take a picture that way.
then do the same with auto-focus, and compare.
The way AF works is predictable, but it is possible for the AF system to consistently back, or front focus.
Also, AF often behaves differently depending on whether the lens was focused in front of, or behind the subject when the focus was activated.
 
@CaptainObvious and here I was thinking this was querying stack chat
 
Don't get me wrong though, the images definitely look reasonable in full size, but cropping should be possible with this lens and 20 MP (or anything > 10)
@rolfl Interesting to know
woudl JPEG vs RAW matter for sharpness?
 
Don'tr believe so,.
Gotta go, company
 
Okay, thanks anyways, hopefully good results tomorrow ;)
 
@Mat'sMug Looks like more of a language translation database
 
9:05 PM
IKR
 
@Phrancis Sorry, maybe I should have mentioned that. That's the syntax to use the plainto_tsquery($1) result (a tsquery) to search the column new_phrases.tsv_text. It's PostgreSQL's text search mechanism. A tsquery is used to search a ts_vector (new_phrases.tsv_text is a ts_vector of the text column). $1 is any arbitrary string that is used for the keyword search. — Chris Cirefice 18 mins ago
 
9:24 PM
Monknoon
 
hi!
 
...or that
 
9:52 PM
monking
 
Monking, @Malachi.
 
monking @Malachi
 
It isn't a requirement for downvoters to explain themselves, but to me, it seems this question is asking for a lot: A large amount of code review essential to the question, which is inherently both subjective and unlikely to be discoverable/helpful to future visitors. If you can revise it to be easier to provide a well-scoped answer useful in the future, your question may have a better reception. (I didn't downvote, but did vote to close.) — Jeff Bowman 43 secs ago
 
Heard someone talk about Eating Brains....
 
? I wonder if should be synonymized with it.
 
9:54 PM
@Malachi I think you mean "blains"
 
@Jamal I think they both stink
@EthanBierlein don't make fun of his speech impediment
@EthanBierlein don't make fun of your speech impediment
2
 
2 hours ago, by Ethan Bierlein
2 hours ago, by SirPython
@EthanBierlein "Zomblie"?
2 hours ago, by Edward
Careful. I hear they eat "blains!"
 
1 min ago, by Malachi
@EthanBierlein don't make fun of your speech impediment
 
Greetings
 
> Hey @IsmaelMiguel. We're talking with blockquotes now.
> I sure do love these nifty blockquotes.
 
9:57 PM
Why?
 
@Duga Wouldn't this be a good question for CR?
 
I guess, your question is fine, just not for this site. What you want sounds like a code review. I'd suggest you move you question there. To do this, click on edit, copy the whole content to clipboard, go to CR, start a new question, paste it, and finally delete the question here. — maaartinus 40 secs ago
 
10:19 PM
in VBA Rubberducking, 14 mins ago, by Hosch250
Just 56 errors in 25 files left.
in VBA Rubberducking, 7 mins ago, by Hosch250
364 errors in 28 files :(
in VBA Rubberducking, 1 min ago, by Hosch250
593 errors in 27 files :^(
#Refactoring
 
Because getting upvotes on Apple-domain questions basically requires posting here:
0
A: Draw editable angles

nhgrifYou've dumped a lot of code here, and you mentioned you already intend to rewrite it, but you're interested in some feedback before you start that process. So with that in mind, I'm going to just look at the big picture concepts for the starting point of your rewrite. First of all, your class...

0
A: Multiple Choice Guessing Game

nhgrif let redButton = UIImage(named: "red_button") as UIImage? let greenButton = UIImage(named: "green_button") as UIImage? let yellowButton = UIImage(named: "yellow_button") as UIImage? The as UIImage? is 100% unnecessary here. UIImage(named:) already is defined as returning this type. Adding as...

0
A: Sierpinski Triangle

nhgrif func midPoint(point1: CGFloat, point2: CGFloat) -> CGFloat { return (point1 + point2) / 2 } This is the first thing I see that bothers me. First of all, this is a "helper function" and has no business belonging in this class. This should be either a global function, or better yet an ext...

 
has extension methods?
 
10:37 PM
Let's see how this works
 
Also, for the record, @Jamal, I think editing main-site questions is fine-enough. But please be more careful on the meta? Like this edit. It's very minor, and it bumped a question which otherwise had no activity in 10 months to the top of the active page. And it's sort of a fairly specific question that's not necessarily a timelessly relevant post. Sure, it's a good post with some good advice, but it's not... (too long)
a discussion of site scope that we're repeatedly linking to people asking bad questions, etc.
 
being a nice reviewer isn't timelessly relevant?
 
Being an accurate review is more important than being a nice reviewer. And I did say that it was a good post with good answers.
On the main-site, it has the effect of giving an old question more attention, and getting some people some more rep... and making sure that we don't have bad examples of questions that have been left as acceptable to ask.
On the meta though?
 
you could make a meta discussion about it. hopefully it wouldn't get pushed too far down with old post edits ;-)
 
 
1 hour later…
11:58 PM
Ooh. I'm so pissed right now.
 
00:00 - 17:0017:00 - 00:00

« first day (798 days earlier)      last day (3212 days later) »