« first day (598 days earlier)      last day (3717 days later) » 

20:00
@Malachi ?
@MannyMeng It can be your own question or someone else's. You could raise one on an unanswered question or for a superb answer.
@Jamal which question?
The interview question one.
@skiwi I got tired of all the same fizzbuzz implementations. The extensibility is an easy target to shoot at, as the if-else chain explodes if you add a few more Jazz Boom Bang. Then it kinda got out of hand.... Oh, I just thought of a good selfie...
20:04
@janos Ok, I didn't even know what I was thinking when I made mine!
let's change the topic
@Jamal and if I start a bounty... I'm less than 1K rep....
which I don't like...
@Jamal I edited an answer on that one as well. I also posted links on Twitter and Google+
So quiet...
Usually so loud...
@MannyMeng Won't take long to get the rep back on this site :)
20:18
true
1
Q: Web socket server which needs to query some API and to pass chunk per chunk of data to its socket clients every M seconds

SrleLet's say that I want to query some API which will respond with array of random numbers: [4, ..., 17, ..., 25] To keep things simple enough, let's say that array has always 10 elements. For every element in that array, I need to emit via socket to all clients just ONE number every M seconds...

@Srle Nice question (and kudos on putting up a bounty!)
@Phrancis, thank you, it would be nice if someone share his opinions about it
Is it pretty easy to make a pop-up on a web page using JS?
@Phrancis Yes.
20:25
by the way, thanks on up-voting question
And from there to make it display and image, and maybe pull data from a XML file or whatever other format?
@Srle Np! Don't hesitate to post the answer you will award here as well!
Sigh...
OK, are their 5 HTML/CSS/JS people here?
<- 1
I know a bit of HTML and JS, does that count?
20:28
Yes.
I want the pizza hat.
Then I guess 2.
Should I deliberately put a couple problems in so you guys have more to comment on?
^^ Absolutely not
I would rather have an entire hat, not just a piece of a hat.
Maybe.
20:29
OK.
Well, here goes...
No, no, I was kidding
I am going to miss my hats
@MannyMeng That was for @Phrancis.
I think I might have to create some screen shots of each one!
20:30
I don't really like most of them.
Just collecting to see how far I can get.
one sec...
@Malachi I was going to do that too!
ok, go.
or I could capture them all and use Photoshop to put them on other pictures(and other people)!
20:31
removing a white background on them probably wouldn't be too hard
@Malachi That's a great idea!!
Ready?
@Malachi No it's trivial, then you can save them as PNG with transparent BG
just hope there are more people wanting to answer.
20:32
0
Q: Fibonacci checker

Hosch250I wrote a simple Fibonacci checker with HTML, CSS, and JS. This is my first JS program, so be sure to tell me everything that is wrong with it. Check it out here(http://jsfiddle.net/z49fyypt/1/), and here is the code: <!DOCTYPE html> <head> <title>Fibonacci checker</title> <style> ...

QUICK!!!
I'm looking at the code right now.
OK.
@Phrancis @Malachi Go ahead, if you know any of these.
@RubberDuck Are you still here?
@Hosch250 What's up?
I'm trying for pizza again ^^^^^.
Sorry man. I don't javascript.
20:34
Oh no... I can't find anything to answer with...
1
Q: Fibonacci checker

Hosch250I wrote a simple Fibonacci checker with HTML, CSS, and JS. This is my first JS program, so be sure to tell me everything that is wrong with it. Check it out here(http://jsfiddle.net/z49fyypt/1/), and here is the code: <!DOCTYPE html> <head> <title>Fibonacci checker</title> <style> ...

@Hosch250 you should do a stack snippet
@MannyMeng Say that I should use braces in my JS.
@Malachi How?
20:37
Ugh, I hate it when I forget to deactive a domain name
Posted answer
Thanks.
@Malachi I'd just done the snippet myself.
@Hosch250 very nice. there is a way to separate all the elements but it works the way you have it there.... I was in the process when you submitted your edit
OK, sorry.
Don't you hate that?
Once Jon Skeet beat me to an edit.
lol it's all good
20:41
On SO.
@Hosch250 Really?
Yup.
@janos prototypes?
I was editing a C# question, and the notification popped up.
Check to see who beat me, it was Jon Skeet.
Two more, please?
did you apply your edit anyway?
20:42
No.
The edit was good.
Both were almost identical, and I wasn't all the way done.
oh lol
@Malachi actually I don't know the proper term. Updated my comment
Two more:
2
Q: Fibonacci checker

Hosch250I wrote a simple Fibonacci checker with HTML, CSS, and JS. This is my first JS program, so be sure to tell me everything that is wrong with it. Check it out here (http://jsfiddle.net/z49fyypt/1/), and here is the code: <!DOCTYPE html> <head> <title>Fibonacci checker</title>...

@Malachi For this style of graphics you would probably preserve quality better if you did *.png instead of *.jpg
in C# Methods(functions) are PascalCase too I think.
20:45
Grr... I have nothing to say...
along with Classes(objects)
2 more answers for @Hosch250 so this madness ends :)
@MannyMeng tell him you don't like the color of the font it makes it hard to read
That already has been said
@MannyMeng No, that was the font.
20:47
oh
And someone needs to tell me to keep everything in separate files for maintainability.
That makes two answers.
2
Q: Refilling a Bejeweled Board

bazolaWhen you start thinking about designing a Match 3 type game, you realize that there are a great many ways to structure the rules. In this particular variant, the direction that the player swipes the orbs determines the way that the board is refilled. The new pieces will enter the board opposite...

Five done. I think.
There, but no one told me to keep my files separate.
Waiting for the hat!
20:54
@Hosch250 For such a small script, I wouldn't even worry. You can selfie-answer though, if you want.
@Phrancis I already have Selfie.
So? ;p
6 answers.
If I don't get that hat...
I have it!
I haven't been notified yet, though.
Aztec too.
21 hats.
My bounty:
12
Q: Virtual Texturing - Page Indirection Table

glampertI'm working on a Virtual Texturing library for mobile devices based on OpenGL-ES. This is the PageIndirectionTable, one of the library components I would like to have some feedback on: vt_page_indirection_table.hpp: #ifndef VTLIB_VT_PAGE_INDIRECTION_TABLE_HPP #define VTLIB_VT_PAGE_INDIRECTION_...

@Hosch250 Congrats!
Congrats for reaching 1k!
20:58
pizza served, this time for real, I promise, and should be on the way
and now i'm 976
@janos Yes, I have it.
because of the bounty.
great, congrats!
I'll be posting a bounty tomorrow for Stockings Hung before the Fire.
20:59
same here
OK.
I only have one comment from last year, so I need to wait until the next year for the deleting comments hat.
everybody has to wait for that
@Hosch250 After Jan 1, all your 2014 comments will be from last year. I think that's the intention of that
@Phrancis That is what I mean.
Oh, I see.
We'll need to be really busy to get Mistletoe.
You have to post and get starred.
21:02
And now I'm back at 1K
@Hosch250 and it has to be within 5 minutes of new year.
Yeah.
Well, I can somewhat assure you, that unforseen circumstances aside, I will be here for that.
UTC new year too.
I will be here to star posts.
I'll be here to post posts.
21:04
lol
I'll star too.
"post posts"
not very DRY.
nobody could confirm earlier, for the Refiner badge, I have to edit posts first before answering?
yes, I think so.
Talking about DRY, I DRYed two methods into one in my Learn OneNote app today.
21:06
@janos Nope,.....
?
Yes and no...
You can edit 12 hours before you answer, or up to 12 hours after you answer.
thanks @rolfl, that seemed reasonable but wasn't perfectly clear. good to know
21:12
I wish someone would answer the question I bountied.
could as well be your 26th CR question...
and thanks @rolfl that's awesome
gotta tell @200_success, @Jamal and @rolfl not to delete any comments until after Winter Bash is over so we can all delete old comments on January 1st and get the hat! lol
2
Nice, even number - 950 rep.
21:13
Good point, @Malachi
I don't think they could delete enough
there are just so many
Can you also get the hat for deleting 2013 comments now?
no
I suppose we could also undelete a bunch of comments as necessary. =)
> delete 10 comments from 2014 in 2015
21:17
Yeah, I've tried it, and it doesn't work yet. Regardless, it's a nice way of sweeping up the place for the new year.
or we could comment on a bunch of our newest questions something like "Quite Smoking this Year" or "Run a mile every day" or ... that way everyone would know that they are for the resolution hat and we can clean them up easy after Winter Bash
ahhh I need 130 more rep today!
@rolfl You kind of scare me with your dynamic SQL sorcery ;-)
@Hosch250 If no one else answers the C++ job queue question, then you'll get at least half of that bounty.
Pretty big spike in activity. I know it has the "new data bias" but still!
You'll have to show me how to graph stuff on SEDE that would be useful knowledge
@Jamal Nice. How does it calculate how much to give me?
21:22
The system will give half to an answer with at least two upvotes. I assume, in the case of multiple answers with such a score, it awards it to the first answer.
Oh.
And it awards the whole if the answer is accepted?
No, it'll only award the whole thing if the bounty issuer awards it manually.
OK.
I think that isn't a very good answer.
I was mainly trying to get Major Award and not spam the site at the same time.
I understand. I was quite unsure about my answer to one of the bounty questions, but the OP seems to be okay with it.
21:28
Well, I should probably go read my Donald E. Knuth book.
We are covering some of the concepts of data storage/file structure in one of my upcoming classes.
Main problem, I am still in chapter 1, covering math.
I only have Effective C++ and CUDA by Example as eBooks. I may get Clean Code at some point.
21:42
My attempt for Major Award:
0
A: Testing a lock-free job queue

Manny MengYour code sometimes does not follow C++ Coding Conventions. Take a look at here: struct test_data { test_data( size_t e ) : expected( e ), queue(), producer_count( 0 ), consumer_count( 0 ) { } According to conventions: Consider natural language rules for spacing Rea...

0
Q: Karate Chop Kata

RubberDuckI had some time to kill today, and I found the Karate Chop Kata. Specification: Write a binary chop method that takes an integer search target and a sorted array of integers. It should return the integer index of the target in the array, or -1 if the target is not in the array. I...

@CaptainObvious O! HAI!
2
Yay! Rubberduck tests!
3
I was really tempted to add the tag, but I think I'll wait.
@Mat'sMug NO MORE STARZ!
Hi again.
@MannyMeng Got it.
I lost my advisor in college :(
He was really nice, and I don't know what happened.
Now I have someone else.
0
Q: Counting files by size, is there a better way? My first on my own script in PS

eudonj $a=0 $b=0 $c=0 $d=0 $e=0 $f=0 #grab a list of files from share $items = gci \\Server\users -Recurse -Force | where {!$_.PsIsContainer} foreach ($item in $items){ #convert to KB $kbs = ($item.length / 1KB) # create seperate buckets to count files th...

0
Q: Custom iterator for a 2D vector class

MORTALBased on question Custom iterator for a linked list class i tried to make similar for 2D array. every thing seems working fine except swap. is my implementation correct for swap? #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <cassert> #include <iterator>...

I VTC both
1. unclear on what you're asking
2. off-topic
22:16
@MannyMeng It's a good habit to take the time to write a short comment, especially for brand new users like #1. Like so:
It's deleted.
both #1 and #2 are deleted.
That was quick
yea...
can I post working code that I have been given to implement? I didn't write it, but I want a better way to write it?
22:33
@Malachi Do you maintain it?
morning all
@Phrancis yep
0
Q: Validating email addresses through temporary mail message

MalachiI was given this project and have changed a lot of code on it, now I am going over the code to make sure that I know what everything does and can maintain it efficiently, and to make sure I want my name on it. Here is the method they have been using to validate e-mail addresses from a textbox in...

or at least I maintain this version of the project
@Malachi Then it should be fine!
@Donald.McLean This one is for you:
0
Q: Oh ye beloved bejeweled

Simon André ForsbergBefore @bazola asked his recent question we chatted about it for a bit. I figured that I could try implementing something similar myself. As I've heard that Scala has all the advantages of Java but fewer of the disadvantages, I'd figured that I could try Scala. I have implemented checking for b...

@bazola was inspired by you ^^
@SimonAndréForsberg nice!
22:40
Scala is one strange language btw... not as strange as Haskell, but still.
Parts of it though, I like. Depending on the reviews, I might like it even more.
1
Q: Validating email addresses through temporary mail message

MalachiI was given this project and have changed a lot of code on it, now I am going over the code to make sure that I know what everything does and can maintain it efficiently, and to make sure I want my name on it. Here is the method they have been using to validate e-mail addresses from a textbox in...

2
Q: Oh ye beloved bejeweled

Simon André ForsbergBefore @bazola asked his recent question we chatted about it for a bit. I figured that I could try implementing something similar myself. As I've heard that Scala has all the advantages of Java but fewer of the disadvantages, I'd figured that I could try Scala. I have implemented checking for b...

@SimonAndréForsberg I think parts of it were inspired by Haskell, so that's not at all surprising. I'll look at it later - time to do family stuff.
that explains it.
really good answer here, let's give it some more attention. --> codereview.stackexchange.com/a/74142/18427
@SimonAndréForsberg how are you compiling the scala?
22:45
For something simple like that, I would just do everything in the IDE.
Come on...
@bazola Scala-Eclipse IDE. I've also added a Haskell plugin to it so I can do Haskell in it too if I want :)
so it ends up as java byte code or something?
yes. Scala compiles to Java bytecode.
thats pretty neat
23:07
@SimonAndréForsberg hope you were not aiming for a pizza on that .... looks.... interesting
Guys I need some suggestions on the code I'm working on...
@rolfl I was definitely not aiming for Pizza. If I would have, I would have chosen a completely different language than Scala, and something a lot simpler than Bejeweled.
Yeah, Iw as thinking so.
I am in a quandry, trying to figure out how I get nurato
I have been shotgunning in SO in an attempt, but ... well... it's a crapshoot
I feel like I have resorted to feeding help-vampires....
Just stop. It's supposed to be fun (and good for the network)
3
Feeding the vampires isn't good for the network.
Perhaps....
It seems like it is designed to satisfy that one criteria though....
give an answer that satisfies an asker, but not anyone else.
23:15
This is something I don't like about the hats this year, it seems virtually impossible to get some of them without trying to game the system. Contraproductive.
7
0
Q: Hide or show if radio button is checked

Jason CarlosI have a question to ask, recently i am working on a project on my own and i did some jquery, as i m currently learning day by day with the help you guys and other internet services. I code something jquery for WP-Admin area. I enable post-formats and create metaboxes for these post-formats, so...

23:27
0
Q: How can I reduce GC time when building a large structure?

dfeuerRoss Paterson, at my urging, recently came up with a new implementation of Data.Sequence.fromList ( see https://github.com/haskell/containers/blob/master/Data/Sequence.hs ) that builds its result tree from the top down, avoiding the allocation cost of the earlier repeated-snoc definition. This im...

Can anyone please upvote this user a bit more to give him chat privileges?
3
Q: Android game setup

DJanssensI've been working on a basic Android game these days, but I'm a bit uncertain about my setup and need some advice. The basics of the game are simple: there are characters running on your screen and some of them perform specific actions at specific time intervals. The code is pretty easy to foll...

0
Q: Multi-layer PyQt4 image viewer performance improvement

AjeanI have written a functional GUI program using PyQt4, and I'm looking for some feedback because it's not as fast as I would like. It takes in some number of large, same-sized 2D arrays and displays a sub-image of each one in its own sub-window - at full resolution or only zoomed by a factor of 2 ...


« first day (598 days earlier)      last day (3717 days later) »