« first day (384 days earlier)      last day (3931 days later) » 

13:00
Teacher doesn't answer his question within 30 seconds... (During a lecture), he starts waving and almost shouting... just wow
that transparency thingy..
2 posts down is the second part..
Link? I seem to be unable to find it
0
Q: Jquery menu script efficiency?

tinkerbotI've got a JQuery/JavaScript script for a menu that uses icons as well as label text. When the icon or text is clicked, it turns blue, until such time as another icon is clicked. Also, the page scrolls down to the relevant div on the page, but the menu bar still stays fixed along the top of the ...

311
A: Java core API anti-Patterns. What is wrong?

Peter LawreyHere is a little list I have put together Java Convention Failure One of my favourite is the rather long class name com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState A non-haiku I wrote in its honour ;) Internal frame in...

So there's a class called com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrame‌​TitlePaneMaximizeButtonWindowNotFocusedState.
hey guys :)
13:12
Monking @DatLumberZach
No school today so I have a whole day to work on code :)
hehe
I went to university for 2 hours class (almost done), but ended up coding instead...
nice, I hope to go to school for CS
but my backup is to continue playing with my bar-band
could anyone who is knowledgeable in JS please check out my newest Q from yesterday? The only tips I have gotten for it so far is to DRY it
0
Q: How can I simplify 4 similar jQuery click functions?

crmI have a navigation bar that when the list elements are clicked their respective body container appears and the other body containers disappear. navigation <ul> <li><a id="home" href="#"><img src="img/home-icon.png" alt="Home">HOME</a></li> <li><a id="about" href="#"><img src="img/abou...

Captain Obvious do you work or go to school? :p you are always on when I am on
hi morwenn
13:20
@DatLumberZach Hi! Are you new here :)
Yes, joined the CR scene 3 days ago :P
well, became active 3 days ago nonetheless
Wow... my whole benchmark was invalid, appears that I was calculating hot air ;)
@DatLumberZach You came to the right neighborhood :p
Yes, I bookmarked this room after like 10 mins of joining :P
13:22
Two mistakes while writing "neighborhood". My English isn't improving at all -___-
I didn't even notice that you weren't a native speaker :)
JIT escape analysis is evil, I tell you.
@skiwi When your JIT tries to escape, just shoot it.
3
agreed, so is my coding... if you like variables and else/ifs then my code is the way to go! :D
if you like neatly written functions however...
almost a nice answer
9
A: First try at a Python game

DarinDouglassFirst off, welcome to programming and Python. They are both awesome! Ok, with this being your first foray into coding, instead of giving specific code improvements, I will give some high-level recommendations and then let you use them as you will. Style Python has an official style guide calle...

13:25
Mine is currently full of templates and recursion...
ah, Python games are fun
@BenVlodgi almost eh? :P
ahaha, I am new to JS though
my most recent accomplishment is my Simplified Bin Packing in JavaScript
I used JS to solve an NP Hard problem
I just found an answer which leads to that I should update one of my SO answers... But I need to catch the bus, can't write it yet :(
post it here?
13:28
@skiwi The problem with good SO answers is that you often have to maintain them.
TTYL
@DatLumberZach LOL
I honestly don't like the SO community
I like SO with the correct filters enabled ;)
my experience on there is me posting broken code and people making fun of it xD
13:29
@DatLumberZach It isn't really a "community" any more - it's too big.
I like the 2nd Monitor community though :)
what level of math do you need to get into a CS program post-secondary?
@DatLumberZach The more math you have, the less you'll have to take.
I am in gr11 now and have 11 M math
Unfortunately that doesn't translate into US English.
2
but I have high 90s in all of my CS classes, would that make up for me not having University math?
for the most part canada has 4 levels of classes, L (special kids), C (college), M (In between) and U (University)
13:36
Every school does things differently. And there are plenty of schools that aren't marquee brands that aren't as picky as places like MIT, and yet have excellent programs.
other than that you can apply for enriched classes
so it will depend on the school then?
Hi Vogel :)
Very much so.
42
A: What is referential transparency?

Uday Reddy[This is a postscript to my answer from March 25, in an effort to bring the discussion closer to the concerns of functional/imperative programming.] The functional programmers' idea of referential transparency seems to differ from the standard notion in three ways: Whereas the philosophers/log...

Anyone have experience with TCP Client/Listener communication in C#?
In the US, you could go to a "community college". The one here in the county were I live accepts all students, has an excellent program, and has guaranteed transfer agreements with several nearby universities.
13:39
@BenVlodgi
nuetralized
ah, community colleges in Canada are very different, they are not looked at as good schools and are mostly for adults who want to go back to school in their later years
Hi @DatLumberZach
Captured for prosperity ... 1234 FTW:
hi rolfl! :P
13:40
you should start using @ to DING people
@DatLumberZach People can be judgmental nitwits over the stupidest crap.
@Donald.McLean but it matters when it is employers that look down upon them
oh well...
@Vogel612 DING
exactly;)
13:42
I don't like dinging people, I just let them read the post when they are available, it wasnt a life or death situation :P
@DatLumberZach - HI ... and, when you get tired of the ding, you can turn it off too... ;-)
oh, ok :P
@rolfl noises
Also I personally like being when getting a greeting..
@DatLumberZach I wouldn't count on community college for a full degree, but it can be a foot in the door for a better university.
13:42
See up there, at the top=right of your screen?
@Vogel612 HI VOGEL!!!!
There is a speaker icon.
You can click that, and make the noises go away.
I do see that
but the noise makes me feel important ;)
13:43
@rolfl did they really do that?? (all my rooms)
A ding for every message in every room you are in??
monking!
@Mat'sMug Hey!
yaaaaay the Mug is back ;)
did you get post from @TimPost yet?
I love pinging people that won't get the ping ;)
13:46
I have my studio monitors off so I have no noises atm ;)
@Vogel612 - I still get notified ..... but, after about 10 minutes or so....
My SE tool-bar gets a notification icon ....
well that doesn't do you any good
and I have the stack-exchange app installed on my phone, so, if there's a notification on my SE toolbar, I get a 'buzz' on my phone.
So, if you ping me, and I am not around, I get a notification on my phone, in a bit.
But, since it is you, I just ignore them.
@rolfl Buzz Buzz
the phone notification from chat pings is delayed by like 30 minutes or so
13:48
@Mat'sMug roundabout, yeah...
Yup.
and the notification doesn't get cleared...
and the app borks when changing the network type...
And, if I come in to the chat 'regularly', I can clear the notifications, and there is no buzz-ding.
Hey @Mat'sMug !
In fact, hi @all!
Nibjubg
7
Oops
Monking*
13:49
@Marc-Andre Hi :)
hey @Marc-Andre
Good morning guys
wth I think someone favourited my Q :D
monking
@Phrancis 'Morning!
13:52
May I suggest closing this post from 18 months ago due to lack of response from OP?
http://codereview.stackexchange.com/questions/19056/low-performance-of-pl-pgsql-function
@Phrancis you never know what answering a zombie can awaken ;)
It's a pretty obscure question though... pgSQL = PostgreSQL?
...but reading it again...
could be unclear what you're asking
When you do that and SHTF I am ensuring that you assume full responsibility ;)
@rolfl you have rubbed off on em
13:55
I had a feeling my shift-left version of Monking would get stars....
@Malachi Thanks for reminding me! Gotta listen to that one now
here she is singing one of my favorite songs A Capella
pretty good
not as good as Lorde though
currently playing:
@Mat'sMug I need to here that one I think
13:57
so
RAISE NOTICE 'generuje zdarzenia wlasciwe dla maszyny %',l.id;
WTF language is that
Good morning
@Phrancis ask @SimonAndréForsberg ;)
Jibberish?
what is the song where they were all around the campfire in the video??? @Mat'sMug
13:58
@Phrancis Looks like Polish.
0
Q: Simple integer range for C++11 range-based for loops

qorillaI'm really tired of having to type for (int iSomething = rangeBegin; iSomething < rangeEnd; ++iSomething) { ... } whenever I want to iterate over an integer range (most IDEs help with the typing, but still it looks so verbose, naming the integer 3 times!) I wanted something like this: for...

0
Q: Number Of Matching Elements In Two Lists

HoopdadyI have many sets of 2 strings. I'm trying to determine the number of matching elements in these 2 strings. The rules are if the strings share a common letter, that's a point, order does matter, but each letter in the first string can only match one of the letters in the second string. So in the s...

@Malachi no clue, I'm actually playing the CD...
@DatLumberZach Polish is actually a quite nice language, although it sometimes sounds like they're whispering a lot when they talk
I see. Difficult enough to answer a vague question, more so in a foreign language.
Google says it means "generates events to the Machine" in Polish
@Phrancis I think the post can still use a readability review
13:59
Ah, I have never heard it spoken
it might be a different band, I don't know it was so long ago, I thought Avenged Sevenfold and Sevenfold were the same band though
I might hit 100 rep today :)
he's mixing up lowercase and UPPERCASE, semicolon usage doesn't seem to be consistent, there's a lot of SELECT * and there's a WHERE clause written on 1.5 lines which I find annoying
@Malachi it's my sister-in-law that's a big fan of Avenged Sevenfold. I just like a couple of their songs.
Actually my kids like Avenged Sevenfold too
wish I knew the name of that song, it was about someone that died or something, I thought that after that Sevenfold became Avenged Sevenfold or something, if someone knows the name of the song please Ding me!
not a single car ride happens without Hail to the King.
3
14:03
@Mat'sMug OK I'll look into at least that, perhaps better readability can help show where the issue is.
@Malachi Could it be Seize the Day, from City of Evil?
I need to go back to listening to Dubstep or something like Trap or something
@Malachi Could be So far away, too
no and no
November Rain, from Guns n' Roses?
14:05
it was almost like a collaboration I want to say where there is more than one groups of artists in on it
...no clue
@Mat'sMug no
@Malachi - +2 for me and I beat you .... ;-) codereview.stackexchange.com/…
(sneeze)
0
Q: Java Interview - Missing level of technical depth

AAhadI recently have given a coding test in a reputable IT company. There were three coding questions. They refused me by saying that "as we felt they didn't demonstrate the level of technical depth we're seeking from candidates" Please help me understanding what type of the technical depth my solu...

14:11
Bless you. .... santa!
and this is the day I picked to actually work....
it's sevendust not Sevenfold
                   _
\    /    /\/\    /     / \
 \o/      \o/     \o/   \o/
  |        |       |     |
 / \      / \     / \   / \
3
the name of the song is Angel's son
First answer with a picture
14:14
@BenVlodgi starring ASCII art is always funny ;)
This question contains good content, but I believe it should be presented as three different questions. Add a comment if you disagree (I'll be monitoring here), or join us in the 2nd monitor chat room to discuss. Putting this on hold till then. — rolfl ♦ 38 secs ago
there should be a badge for that ;)
trying to make YMCA
so close
LMFTFY
                  _
\    /    /\/\   /     /   \
 \o/      \o/    \o/    \o/
  |        |      |      |
 /\       / \     /\    / \
14:15
@BenVlodgi noticed ;)
@Malachi - I think you may enjoy some of our music. A lot of it is dubstep-ish, industrial-ish or trance-ish. Hint: free downloads too :-)
http://psychoproductions.net/psych-nein/
mostly perfect
mmm I love some good trace while coding :)
@DatLumberZach what do you mean by I was wondering if anyone could share with me how to reset the values of variables without refreshing the page?
does the code work as expected?
the way I am refreshing the variables to generate new nmbers requires refreshing the page, making all other variables reset too (including the credit variable)
it works perfectly except for that
14:18
that's interesting:
@BenVlodgi no offense, but i find some contradictory rules on the help/on-topic. Firstly it says this site is for: If you are looking for feedback on a specific working piece of code from your project in the following areas… Best practices and design pattern usage Performance. Best practices in general (that is, it's okay to ask "Does this code follow common best practices?", but not "What is the best practice regarding X?") is off-topic. And then again Do I want the code to be good code is on-topic. ???? — blackbee 11 mins ago
0
Q: HTML / JS Slot Machine

DatLumberZachThis is a slot machine simulator. Please pardon the lack of comments. I was wondering if anyone could share with me how to reset the values of variables without refreshing the page. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

@DatLumberZach haha @CaptainObvious beat you!!! (never thought that'd be possible!)
I posted it already
@Phrancis I do like that. I downloaded a chrome extension to try and create music, but I haven't had a chance to play with it much yet
14:19
it isnt showing a window though :(
Cpt. has hax >:(
@blackbee howdy!
@Malachi let me know if you come up with anything cool, I know a lot about music so if you need help just ping me
@Phrancis will do
Anyone: Notepad++ work good for SQL script?
aaaah my post was put on hold so I deleted it :P
14:22
@Mat'sMug I didn't see your post in chat till nao
@blackbee This is the chat room
where's @blackbee?
not in this room
http://codereview.stackexchange.com/questions/51454/simplified-bin-packing-using-javascript
@Jamal Is this better?
7 more rep until I hit 100 :)
0
Q: HTML / JS Slot Machine Simulator

DatLumberZachThis code is a slot machine simulator that uses elements of both HTML and JavaScript. Please pardon the lack of comments. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>www.loseloselose.com</title> <font color="white">...

@BenVlodgi I didn't find his question off-topic. We do those kind of question pretty often, he's looking for a performance upgrade, since when this is off-topic ? Have I miss something ?
I linked the wrong post :(
oops :(
14:29
@DatLumberZach You should undelete it
just remove the request for help on resetting variables
ideally, get it to work in jsbin or jsfiddle
then you will get more reviewers because people can play with it
I have alreaddy made a new post though
already*
103 rep ;)
14:31
1
Q: HTML / JS Slot Machine Simulator

DatLumberZachThis code is a slot machine simulator that uses elements of both HTML and JavaScript. Please pardon the lack of comments. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>www.loseloselose.com</title> <font color="white">...

@Marc-Andre

So i think that such approach won't work. I need to know what is the solution to this problem? What are the conventional ways an image application webapp is written? --blackbee
it sounds like he is looking for a fix
it's closed as such, too
@Mat'sMug Not the first time someone is confused by that part. In fact, I'm even confused myself sometimes.
@BenVlodgi I agree with @Marc-Andre, I don't find the question off-topic. He doesn't seem to want someone to write the code for him, he just wants a push in the right direction it seems.
I think if you re-word with something like : I need to know how to upgrade the performance of my code ? Or something close to that the question could be on-topic
@Jamal Thanks for the edit, I didn't think to add that tag
14:33
@Phrancis I use it to store my SQL Scripts and stuff. but normally I am always in SSMS so I don't really need to use NotePad++
He appears to be looking for a new way to code his application
not a review of his code
SSMS FTW!
@Phrancis really it is just a text editor with fancy highlighting. it doesn't run code. I love notepad++ wish I could get it for Linux
@BenVlodgi I think so too
This question can be re-written and salvaged... but it will be a different question from what he asked
14:35
@Mat'sMug SSMS?
@Malachi I hear you I'm normally using MySQL Workbench but this work computer is so strangle-held I can hardly do anything. Actually surprised it let me in this chatroom.
SQL Server Management Studio...
love SSMS
@BenVlodgi IMO, He appears to be looking for a way to speed up his application
Hah, who knew; won't let me install Notepad++ what a surprise.
14:37
@SimonAndréForsberg yes, I do believe so...and that is not a bad thing, but he doesn't want his code reviewed.
Guess the old notepad.exe will have to do... :_(
@BenVlodgi One thing doesn't have to exclude the other
It does not
but he didn't ask for it
@BenVlodgi I guess we can interpret his question both ways. If you're looking in the prerformance aspect his code can be reviewed. But He his actually looking for a new way, so it can be read as : I want new code. But the solution could already be in his code.
right, that is the problem is he is asking for something we don't support, but you could certainly give him what we are here for
14:42
anyone familiar with MS Access?
0
A: C# to Access SQL query based on UI controls

Mat's MugJust from the title of your question one could tell there's a problem: UI and data have nothing to do in the same sentence, and seeing the two intertwined in code is a big fishy smell, especially in a WPF/MVVM application. @George is 100% correct, your ViewModel shouldn't know how to build a SQL...

...I need some doublecheck validation here... thanks!
Mac guy over here ~~
iUnderstand
iFoundThatAmusing
@BenVlodgi Many times in the past, even if someone isn't explicitly asking for a review, we often review the code anyway. If they're asking about improving performance, we can include other suggestions as well. I have voted to re-open the question, and I'm not sure I understand what you have against the question...
@SimonAndréForsberg we also close questions on this site because the poster isn't LOOKING for a review, but for a fixme, which is available other places
I'm currently editing the question to better phrase what he should be looking for
and I will join you with the re-openeing
14:46
Talpa - Going Home
@BenVlodgi True, I just don't think of this question as a "fixme". I'm glad that you're editing it.
@SimonAndréForsberg where's that post again?
On another note : 19 rep to 2k!
@Marc-Andre like this:
1
A: Multiple background tasks

Marc-AndreThere is still a bunch of // TODO Auto-generated method stub in your code. Those are generated by the IDE and should be remove since it's just noise. You still have a bunch of e.printStackTrace(); in your some of your catch clause. Those should be replace by a proper logger of the android platfo...

;)
Welcome to 2K @Marc-Andre!!
Thanks @Santa ! I've achieve my goal of reaching 2k before graduation :D Thanks @all! Really ! It's a pleasure doing reviews here with all of you!
14:49
and welcome to The 2nd Monitor @blackbee!
I only just hit 100 xD
ah he finally jumped in :)
2
Q: Image Processing codes running too slow

blackbeeSituation I've written a simple black and white image filter application with JavaScript using html5 canvas. Here is an example of the app . (I don't know why it does not work in jsfiddle, so I gave the link to the source code). On my desktop browser and Firefox OS, for images of dimensions les...

welcome @blackbee!
i already came here before i decided to ask the question
14:50
well you weren't here during your tiral
skiped out on bail
@Marc-Andre Now you are forced to see deleted posts congrats!
5
@Mat'sMug I left a comment on your post, looks good mostly. MS Access is pretty weird, don't like it much.
@Phrancis notePad++ is all we used in SChool when we were sriting the scripts then when we wanted to execute we Copy Pasted them to the console
we weren't using the Workbench for MySQL
GTG
later
@Phrancis yeah got pinged.. I'd use SQL Express over MySQL though, but that's just me ;)
14:52
Bye @Malachi
0
A: Making a simple session class more secured

MalachiFirst thing to do is use proper indentation for your class. Remove indentation on the code after your second if statement in your login function. you probably don't need to start the session in the logout function public function logout(){ session_start(); unset($_SESSION['id']); ...

later!
i got one clue regarding speeding up. that was look up table..
@Mat'sMug anything but Access really lol.
Can I get a upvote early in the morning
14:52
@blackbee I think your question will be re-opened shortly. Until then you can read @konijn's answer over and over :)
@Malachi it's too late in the day for that ;)
@Malachi Unfortunately not, as it's late in the afternoon at the moment.
I just cast the last reopen vote
2
@Mat'sMug likes to be dramatic ;)
14:54
TTQW, catch you tomorrow ,)=
Dang it @rolfl still ahead of me
bai @Vogel612
the edited question looks cool. i mean the UI too. :)
@BenVlodgi Well edited. +1, but unfortunately you don't get the rep for that +1 since you just edited.... I guess I'll have to find something else to upvote that's done by you.
Thanks :).. I may have posted something on this site before that you could find
14:56
@SimonAndréForsberg Can I add your comment in my answer. I would like to make it clear to the OP. (of course with proper attribution) I've never really done anything in android so I do not know the particularity of an android development.
@Marc-Andre Absolutely, that was the point of adding that comment :) I figured it would fit better into your answer than mine
yay I am getting a private JQ lesson in chat :)
adb -d logcat Pentacolor:D Zomis:D MFE:D Tejpbit:D Signalgame:D Cards:D dalvikvm:I AndroidRuntime:E ResourceType:W PackageManager:I System.err:W *:S
Bless you!!!
0
Q: How does this look? - Foundation Orbit Image Gallery refactored

LarzI decided to refactor the code for a responsive image gallery, that I setup not too long ago. Following the suggestions @joseph-the-dreamer made, and some other best practices, I cut down on the number of if statements. Is there anything else I could do to make the activateSlider function more c...

0
Q: How Would This Be Written Using Continuation Passing Style?

Onorio CatenacciIs there a way to use CPS in this code to make the two insert functions tail-call optimized? defmodule BTree do defstruct tree: {node: nil, left: nil, right: nil} def new(element), do: %BTree{tree: {node: element, left: nil, right: nil}} #insert when there's some data in the tree def i...

14:59
the CR scene is even cooler than I thought :)
4
^^ That's what I use to see to log
@DatLumberZach It's actually quite hot here today, 28 degrees Celsius.
@skiwi Hi!

« first day (384 days earlier)      last day (3931 days later) »