« first day (570 days earlier)      last day (1884 days later) » 
00:00 - 17:0017:00 - 00:00

12:19 AM
posted on November 25, 2014 by Daniel

I wonder if there is a "correct" way, to display different content, based on the the state of responsive webdesign. Different in this case is meant as an abbreviated text to display instead of the full one. I have created this example table with a couple columns, containing either the full name of a state, or, when resized to a smaller screensize, it's 2-letter code

posted on November 25, 2014 by user58824

I'm fairly new to python and have been told that it is better practice to incorporate template strings into my code. How would I go about doing so for this piece of code? #!/usr/bin/python import sys, urllib2, re es="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=protein&term="+sys.argv[1] ef="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcg

 
@Captain hey hey now don't break here... what's wrong with you?
@CaptainObvious is proven broken... but code is still possibly reviewable as well as posted in good faith... leave open??
Anyways.... punisher sleep now.
 
12:34 AM
0
Q: Python, vowel detection

JamesI have written the code that will be checking number of vowels in each string and then removing the text that has the correct number of vowels. Here is the code: def clean_up(s): """ (str) -> str Return a new string based on s in which all letters have been converted to...

 
Heaps of broken code today, @CaptainObvious.
 
@Vogel612 Someone brought out the kryptonite. >.<
 
0
Q: How can I tell what model iDevice is plugged into my USB via Terminal?

nhgrifThis website has a useful list of the various iDevice models. And the "identifier" column is helpful for any iOS developers, as this is the string you can fetch in your application to determine what kind of device your program is running on. However, for reasons, I am interested in determining ...

 
12:56 AM
0
Q: Is this rails symmetric encryption code correct?

KevinMy RoR application has a feature where a user can use their own password to symmetrically encrypt certain data (over TLS of course). Is the following code correct? def self.encrypt(message, key) result = EncryptedValue.new result.salt = SecureRandom.random_bytes(64) generated_key = ActiveS...

 
@200_success Should I delete this? meta.codereview.stackexchange.com/a/2359/42632
 
 
4 hours later…
4:40 AM
0
Q: Kruskal algorithm implementation for adjacency list represented graph

singhalmanikPlease review the implementation of Kruskal algorithm. Points on which I have doubt: My Graph doesn't have any ID for nodes. Nodes are accessed based on their data. Is there any general approach in that? Should nodes be referenced by an ID as that will also make these algo somewhat easier to i...

 
4:54 AM
0
Q: Prim algorithm implementation for adjacency list represented graph

singhalmanikPlease review the implementation of Prim algorithm. Points on which I have doubt: My Graph doesn't have any ID for nodes. Nodes are accessed based on their data. Is there any general approach in that? Should nodes be referenced by an ID as that will also make these algo somewhat easier to impl...

0
Q: Optimized code for resizing image without loss of quality

fiberOpticsThe primary goal of this code is to resize the uploading image without loss of quality, at the same time conserve memory usage of the system. public static MemoryStream ResizeImage(Stream sourcestrm, Domain.DTO.PhotoResize setting) { if (sourcestrm != null && sourcestrm.Length > ...

 
5:46 AM
Monking @all
 
monking @Heslacher
 
 
1 hour later…
7:09 AM
-1
Q: Jquery flow model like tree view

Sunny NegiHey I want to make drag and drop tree view structure , but I stuck in some major problem after drag the list (menu) I want to drag one more element on same element a to create flow ( Parent drop takes precedence over dynamically created child drop) list into list for more information see this l...

0
Q: Checkbox binding to change the ListView's items source

MehradI am using a checkbox to filter some components our of my ListView by changing the variable's content which is bound to this ListView. #region Constructor void CreateAllParts() { // GetParts() returns List<Part>. Now we can pour it's results // using the following s...

 
7:55 AM
0
Q: Python proxy class

simonzackI've coded my own proxy class in python. The aim is to have a different type() but otherwise behave as identical to the underlying object as possible. I'm wondering if there's any problems with it or any use cases where it won't work. Something strange I've noticed is that Proxy(1).__class__ is ...

 
Monking @all
 
Monking @Vogel612
 
8:53 AM
@Phrancis Speaking from my own opinion, rather than as a moderator, I find several of the listed memes to be problematic. In particular:
- Ammo, napalm, and ho-ho-ho-napalm. We fought a great battle. We won. A permanent state of war is unhealthy. It would be a nice graduation celebration to declare Mission Accomplished, I think.
- Friday was fun fun fun for a while, but the party got out of hand. There's not much point to promoting or explaining it anymore.
- Punisher seems to be promoting downvote brigades. It might be against Stack Exchange policy (revenge downvoting), and even if it weren't, it's still a mean-spirited attitude to voting. Downvote individually as appropriate, but as a group, we should be stay positive. A reputation for negativity can really kill a community.
- The lower-scored entries in the meme list are pretty weak. It takes more than two people to make a meme.
Having stated that, I don't think I should censor any of those posts. I'm also not sure whether they should be marked "of historical interest" or just deleted. I'll leave it up to the individuals involved to decide on the appropriate action.
 
@200_success so you're trying to tell me that we should leave answers, that we as community decided are not something we want, live and prosper in peace?
 
I'm saying that voting should be a private act.
 
that remains...
but I think it's a sign of a healthy and active community when members who find things that are undesirable by consensus make these things "public"
you can't help the chat-effect and the meta-effect
 
I can see your point there. But "punishment" crosses a line, or comes close to it, I think.
 
true again..
I think it would be nice if you could voice your disagreement in a comment ...
 
9:01 AM
I don't have a problem with you downvoting posts as you see fit. I just don't think that it should be proudly displayed as the public face of Code Review.
 
... This might be coming from my involvement in the so cleanup convo..
I am proud to downvote things I see as unfit for the site..
and I think it's something a community can also be proud to show...
because it's a sign of maturity IMO
 
Maybe I'm living in denial. =)
 
0
Q: Implementing modified binary search in python.

ManuThe problem is to find the index of the element which is less than or equal to N. To tackle the problem, I wrote the following code but it seems to be not working. def find_index(primes, N, start, end): mid = int((start + end)/2) if start == end: return start if primes[mid - 1] < N: if...

0
Q: fast merging of two strictly increasing sequences in scala

michael meyerI am looking for the fastest way to merge two strictly increasing sequences. The result must also be strictly increasing (especially no duplicates). Thus as little copying or repeated memroy allocation as possible. The following code fails with ArrayIndexOutOfBoundsException. type Integers = Ar...

0
Q: sorting an array using php

gr68I have a php array $data which contains a list of files [3945] => 6358--338940.txt [3946] => 6357--348639.txt [3947] => 6356--348265.txt [3948] => 6354--345445.txt [3949] => 6354--340195.txt I need to order the array using the the numeric value after -- in the filename. How to ...

 
@200_success But maybe you're right, too..
after all it's not punishing but cleaning..
Polemics is a funny thing most of the time, though.
 
9:18 AM
0
Q: Simplifications to Miller Columns

Dave JarvisBackground Unsatisfied with the current state of Miller Columns, I decided to re-invent the wheel. Problem Most of the existing implementations are too complex, offer extraneous functionality, reliance on complex (or unavailable) frameworks, have numerous dependencies, or require a non-hierarc...

0
Q: Batch file to copy specific folders

Vaibhav VeralkarThis is the batch file i have created which copy the specific folders which i want. I use the specific server folder name of which i want to copy. If any changes you suggest, it will be very helpful to me. thank you. This is my code: @echo off :: variables echo This script takes the backup of f...

0
Q: Simplifications to Miller Columns

Dave JarvisBackground Unsatisfied with the current state of Miller Columns, I decided to re-invent the wheel. Problem Most of the existing implementations are too complex, offer extraneous functionality, reliance on complex (or unavailable) frameworks, have numerous dependencies, are riddled with severe ...

 
verbatim dupe...
 
@Vogel612 As (presumably) the one on this site who has given the most downvotes, I agree with this. Downvoting is an important part of maintenance.
2
 
9:33 AM
I'd love to pin this...
it's actually interesting to see the /tools here compared to sites without the mission..
since here downvotes are extremely sparse..
 
Most of my downvotes are given to crappy titles. I'd be happy to take back those downvotes as soon as those titles are improved. Unfortunately, they all lack context as well.
 
10:11 AM
0
Q: Linked List in Python

SheeparitoI currently have a functioning piece of coding that correctly works using a linked list in Python. I am currently trying to error proof the code so that if the user selects number 3 on the menu the code will check if it's empty and then display a message back to the user. Another part that I al...

 
@CaptainObvious description smells like "asking for code to be written".
 
10:45 AM
Hilarious... I get a mail on my university email, stating:
> I'm looking for a teammate for this course...
(No description of what course it was about)
 
phpoop...
borrowed it because it has waffles in cover
 
11:49 AM
Covers of programming books always seem kind of random.
2
 
@Morwenn They've got to make it look fun!
 
Ok, somebody flagged "Java is the best programming language" as offensive in a chat.
@skiwi I totally want to buy "From mathematics to generic programming" because of its cover.
 
@Morwenn Ah, so that's what it read in the foreign language!
 
I don't know whether messages in foreign languages are on-topic, but it wasn't offensive.
 
isn't mal usually... bad?
 
11:54 AM
@Vogel612 What was the exact sentence again?
 
no clue.. but the word was a superlative beginning with mal...
 
I may have confused "mej-" and "mal-" while reading.
 
LOL
 
Can't read the last two panels :(
 
@Morwenn Why not?
 
12:02 PM
@skiwi They appear in full black.
Oh, now I can.
 
Anyone here selling motivation?
 
@skiwi If you find someone, please give me their contact details..
2
my stocks are empty right now..
 
I have task-specific motivation, but it doesn't sell well.
 
It's just university life.. I was taking 3 courses, but it was way too much, so had to drop one and now I don't know what I want to do with my few hours of spare time
 
I currently have some spare "looking at the street" and "scratching the back of my hand".
 
12:05 PM
(Keep in mind that the dropped course wouldn't need a few hours per week but more like 20+ per week)
 
hmm. Contribute to the TCG, contribute to the JavaBot
answer SO questions, shoot some Zombies
 
Learn iOS dev
 
clean up SO cv-queue
 
But there's so much I still need to do! So it's surely better if I do nothing at all, yeah screw you brain.
@Vogel612 How about... no?
I haven't done much related to CR lately..
 
You know, and are 10th and 15th most popular SO tags.
is 38th here.
 
12:09 PM
still high enough to qualify for generalist..
 
In the past I used to play MMORPG's all day... but I don't think that's a good idea now anymore! (Even if I could)
 
also no offense, but ... seems just a swamped in retards as concerning SO that is..
 
Java is worse.
 
@Vogel612 But retards with money to buy or parents that buy them an iPhone?
 
@nhgrif java's got a quite active cleanup crew... and android is full of rep-whores...
@skiwi doesn't matter, retards be retards..
 
12:11 PM
But the point is, iOS dev is under-represented here relative to SO
 
True WTFs are rare these days when browsing the regular places of the internet..
 
Do you consider 4chan to be a regular place?
 
It's not part of "regular internet"
 
12:29 PM
0
Q: Working with a large JS file

wickywillsI am currently in the process of making one of our client's websites responsive (did not build original site), and they have asked that I do not touch the original source in any way. I am required to simply provide the client with two files - a CSS and a JS file, which would then make the site re...

 
12:40 PM
Yes, I can
 
@Vogel612 Exactly, my wife always enters the internet address into google to open the website ;-)
 
confusion ensues
@Heslacher I'll just gloss over the misuse of "internet address" here ;)
 
0
Q: Object oriented Snakes and Ladders implementation

MohamadI'm not a beginner to programming, but I am to programming in OOP (effectively at least). So to learn better I wrote an object oriented game of Snakes and Ladders. For background, see this question. I wrote four classes: Board, Cell, Portal, and Player. All are self explanatory except for Portal...

 
Does any one here have any sort of iDevice?
 
Nope
 
12:49 PM
0
Q: How can I tell what model iDevice is plugged into my USB via Terminal?

nhgrifThis website has a useful list of the various iDevice models. And the "identifier" column is helpful for any iOS developers, as this is the string you can fetch in your application to determine what kind of device your program is running on. However, for reasons, I am interested in determining ...

For any one that does pplease
 
0
Q: Form submit using POST handled in PHP

bg17awI have this code working for submitting a form using PHP and HTML (Bootstrap). I did not post the CSS, hope this is not an issue. I am interested if this code is clean, following good practices, secure etc. Are the headers needed? Do I need to declare and initialise all those variables? Do I ...

 
1:07 PM
0
Q: Class for finding the median of a two-dimensional space

Dimitris KI have a simple static class that it's purpose is given an RDD of Point to find the median of each dimension and return that as a new Point using Spark's reduce functions. This is the class: public class MedianPointFinder { public static Point findMedianPoint(JavaRDD<Point> points) { ...

 
1:37 PM
0
Q: Speed up script that calculates distribution of every character from user input

measureallthethingsI have a data set with close to 6 million rows of user input. Specifically, users were supposed to type in their email addresses, but because there was not pattern validation put in place we have a few months worth of interesting input. I've come up with a script that counts every character, the...

0
Q: Reading, Processing,Writing a text file in C

Nikos KLonOk so I have to program a project in C. The processing is the following: The program first will open a text file caled xxx_big.txt (see The Text file) The program will create an array with the size of N and will put all the values from the second line in that array. The program, will read the ...

0
Q: Camel Case strings in XSLT

Daniel ShawI have a situation where I am receiving data from a web service and the data is in all caps. I have to convert to HTML and format for display. In this case, we need the string to be normalized. The XML we receive has the possibility, and most of the time is, large, sometimes being over a MB in...

 
@Morwenn As long as you don't go into the NSFW sections...
 
@skiwi urk don't remind me of /b/ and the evil parts of /ani/
 
1:52 PM
I'm more of a Reddit person though
 
The /b/ of reddit is 50/50. Wouldn't advise going there either
 
2:08 PM
Can someone explain to me why / how EF in .NET ever got to be popular? Do people like having code that is so tightly coupled to a particular DB implementation?
 
0
Q: Breaking up a PHP class between a master class and subclasses

NababI have a huge class taking care of companies informations in my app. Arrived at 4000 lines of code (!), I finally decided to break it up. However I am not too sure if the way I am doing this is the best. For example I had shareholders functions in the company class taking care of returning one or...

 
We've got another ;)
 
@xDaevax Wasn't planning to do so :)
 
one of you knows a good syntax highlighter for sql??
 
2:26 PM
SQL, or a vendor-specific version (T-SQL, P-SQL, etc..)?
 
SQL should be fine...
alternatively. HQL.
 
Don't know if you feel like switching editors, but I have been VERY satisfied with atom: https://atom.io/

It has a huge repository of "extensions" and syntax highlighting is definitely one of them.
 
just need if for some pretty SQL in my documentation...
 
Oh, well switching editors may be overkill then I suppose...
 
@200_success Thanks for your thorough response about the memes, I agree with a lot of what you said. I didn't know posts could be marked of historical interest, perhaps that would be good way to handle some of those related to The Mission?
 
2:45 PM
So I wrote this bit of code
        /*Overflow check*/
	if (length > length * 2){
		/*I can't duplicate the string size - it won't fit in the uint16_t!*/
		return false;
	}
And my co-workers are WTFing at it
why?
 
because you're not checking against anything like 16bit
 
what's wrong with length > length * 2?
 
length is not constant?
 
no
/*Converts an ASCII string into a hex string and writes it to the buffer.
Useful for passing SSIDs to Java, since my Json library can't handle strings with NULLs.*/
static bool writeStringAsHexString(buffer_write_t* writeBuffer, const char* string, uint16_t length){
	/*Overflow check*/
	if (length > length * 2){
		/*I can't duplicate the string size - it won't fit in the uint16_t!*/
		return false;
	}
 
@Pimgd How can a > 2a ever hold?
 
2:54 PM
255 max
128 > 128 * 2 = 128 > 256 OVERFLOW! = 128 > 0
 
Ahh... You are wanting to check for overflow, I would say your code there contains a WTF
 
why is it a wtf
 
Because it looks like wtf
 
so...
 
I'd opt for if (length * 2 > uint16_t_MAX) {
 
2:56 PM
@skiwi Broken code
 
It at least shows that it is related to overflowing
 
0 > 255 = false
 
Ah right
because it overflows
How about if (length > uint_t_HALFVALUE) { ?
That would throw less wtfs around imo
 
255/2 = 127
hmmh yeah
bah
 
Plus points if you can programatically but statically obtain the halfvalue of a data type
 
2:59 PM
I can't
The datatypes change per platform
it's fixed here but the include files change per platform
so I can't just #include <limits.h> or something like that
 
@Pimgd It's C, isn't it?
 
Yeah
 
An alternative solution I was thinking about is to stuff the overflow check away in a method call
Then either you keep the wtf-check and hide it via the method name and throw some unit tests at it, or you do it with a halfvalue, but then you get a configuration file/value that you need to update for every platform (datatype)
 
at that point you're just stuffing the comment in code
but that'd work?
Kinda?
 
I'd say that if (length > length * 2) { is totally reasonable inside a method called check_overflow(datatype value) {, but it's not reasonable inside an external method call
And it might need to be a macro actually instead of method
 
3:02 PM
@200_success For the record, I went ahead and deleted Friday as no longer relevant, I also deleted Automagically as it's not really a meme here and not really funny.
 
As you don't know the type
 
it's a pretty internal method call though
static...
C static is "this file only"
 
@xDaevax this looks extremely powerful... how do I get it to install packagages?
@Phrancis Concerning that, we could simply go and "abuse" the cultural height
 
What do you mean @Vogel612?
 
> Cultural Height: During The Mission
which is "over" now
ohh jtodd has renamed to CuriousProgrammer
 
3:11 PM
@Vogel612 How about one of us writes a meta about it and see what others want to do with The Mission memes? Happy to write it if you like the idea
 
I wouldn't mind meta-ing it. But I think the memes should stay.
 
Automagic is a serious programming term.
6
 
Do you know what's the process to mark something as historical?
6 hours ago, by 200_success
Having stated that, I don't think I should censor any of those posts. I'm also not sure whether they should be marked "of historical interest" or just deleted. I'll leave it up to the individuals involved to decide on the appropriate action.
 
@Vogel612 Once you launch atom, you can install any package you like under file -> settings -> packages
The editor has a built-in package search feature and implements it's own package manager (apm) that uses the node.js package manager (npm)
alternatively, you can do it from the command line as well.
I write all of my SO and CR questions in atom before posting because it has an as-you-type markdown previewer built-in to the editor.
 
3:43 PM
@xDaevax it was quite hidden...
Anyways I can't copy it out to Word and retain the highlighting... for whatever reason.
or can I?
 
3
Q: Memes related to The Mission

PhrancisA discussion was originated in chat about CR memes, here are the most relevant parts: 200_success: Speaking from my own opinion, rather than as a moderator, I find several of the listed memes to be problematic. In particular: Ammo, napalm, and ho-ho-ho-napalm. We fought a great battle...

 
Monking!
 
0
Q: Best practice to subclass SKSpriteNode?

fuzzygoatI decided to subclass SKSpriteNode for a game test in Swift today and soon realised that it was not as simple as my Objective-C background suggested. After a little hunting around and a bit of testing in Playgrounds I have come up with the following (See below). I have not tested this in a projec...

 
@Mat'sMug Monking @Mat'sMug
 
4:09 PM
0
Q: Hi all I am new to Jquery and am wondering if there is a better way of doing the below. CC welcome

Jon FullerHi all I have made a responsive navigation on JSfiddle. it works well; however I am just wondering whether there is anyway to improve what I have done. I am new at jquery so all help appreciated http://jsfiddle.net/kX7b6/1540/ $(document).ready(function () { $(".menu").click(function () { ...

0
Q: Simplify XML parsing using HXT

sevoHere is code that will output maven coordinates from given pom.xml file. How can I remove boilerplate (possibly convert it to xml picklers)? import Control.Lens ((&)) import Text.XML.HXT.Core import System.Environment (getArgs) import Text.XML.HXT.Arrow.XmlArrow import Control.Monad (liftM) impo...

0
Q: Test cases for sqrt function covering the line specified in below implementation

VickyRequires test case input to sqrt function covering line if(q==(unsigned) 0xffffffff) in sqrt function implementation

 
Monking
 
Monking @rolfl
Is it just me or is Word designed to be maximally unusable??
 
4:24 PM
@Vogel612 As text I haven't found a package yet that supports that for Windows. Seems like there is one for the MAC that will copy the text as RTF. atom.io/packages/copy-as-rtf
 
@xDaevax hmm.. thanks for your efforts ;)
 
@Vogel612 It is my opinion, that many technology compnanies are producing systems 'for the masses'.... and, if you don't think the way that 'the masses' think, you're screwed.
 
You mean if I got stuff to do that the masses don't??
urk...
 
No, what I mean, is that most people are not technically competent.
 
back to messing with heading styles and retarded numbered list numberings.
 
4:26 PM
as a result, the systems are designed to work best for people who don't know what they want to do.
 
@rolfl I'll just include myself there...
 
The moment you actually know what you're doing, and know the 'right way' to do things, you will find that the 'right way' is hard to find.
 
I just finished to write the presentation/description of a micro-library and uploaded it and Github.
Now I still have to write the library.
 
Cool readme, bro, but: "Questions containing broken code or asking for advice about code not yet written are off-topic..."
;-)
 
Well, it's written. But I stil have to upload it.
 
4:35 PM
I figured that much, the code examples are comprehensive ;-)
 
ToC is not being nice to me..
 
What, you actually read it o_o
 
who and what?
 
@CaptainObvious Hi all I am new to writing titles and am wondering if there is a better way of naming this question.
 
Monking @All
 
4:40 PM
Hiya @CodeX nice to see you around
 
Good to see you @Vogel612, how is everyone, good i hope?
 
I am halfway good and halfway going crazy over MS Word..
 
MS Word? really? whats up?
 
I have to write some documentation..
up to now had a TOC similar to the following:
 
Heavily formatted?
 
4:43 PM
 GENERAL STEP
  1. Substep 1
  2. Substep 2
      1. Sub Substep 1
      2. Sub Substep 2
GENERAL STEP 2
 3. Substep 2.1
APPENDIX
reviewer says: how about you do the following:
1. GENERAL STEP 1
    1.1 Substep 1
    1.2 Substep 2
        1.2.1 Sub Substep 1
        1.2.2 Sub Substep 2
  2 GENERAL STEP 2
  2.1 Substep 2.1
  APPENDIX
 
1
Q: How would you rate my vector/matrix class?

MindrilSome definitions. #define _count(total) for (int count = 0; count < total; count++) #define _xyCount(x,y) \ for (int xCount = 0; xCount < x; xCount++) \ {for (int yCount = 0; yCount < y; yCount++){ #define _xy }} I just use these to save time. The _xy is used cause if I don't, ...

 
Haha @Vogel612 :/
You know you can download TOC templates for WORD?
 
yea word is messing with me so hard..
no I don't...
 
meh.. there's a problem there..
I still have to get my ToC set the levels right..
additionally GENERAL STEP and APPENDIX were formatted in the same manner...
and I liked that formatting..
 
4:47 PM
Can you not reformat the template to work?
Formal Design:
 
Any JavaScript programmers around?
 
Word is taken for granted sometimes as to how powerful it can be
Hello @Phrancis :)
What do you need?
 
Can't get this to work correctly:
  <div>
    &copy; Copyright <script>new Date().getFullYear()>2014&&document.write("-"+new Date().getFullYear());</script>, Cardshifter.
  </div>
 
jQuery or Javascript?
 
Straight JS
> © Copyright , Cardshifter.
It's not displaying the year at all
 
4:50 PM
I'll take a look
 
@CodeX It's being powerfully resistant to me right now..
 
Haha! @Vogel612 Ive had times where it was easier / quicker to start again then to play MSWord games
 
0
Q: Prints out to stdout all possible combination of printable ascii 7-bit characters

rayThis takes over 60 minutes to execute. The program is small in size, about 16kb. I am thinking that the repeated calls to printf slows it down significantly, rather than the nested for loops. i used: gcc -Wall -o charsprint charsprint.c then ./charsprint Without removing the printf ca...

 
yea right... do that with 30 pages halfway nicely formatted documentation..
there's some things I don't understand at all..
stuff like "OpenDocument Text"-Elements cannot span more than a single Page
and I was like: How do I make my code-snippets for larger code look pretty now?
 
I hate fighting with Word, I'd just as soon write the document using HTML and CSS :)
 
4:53 PM
That's why I use LaTeX.
 
yea that sounds reasonable @Phrancis
 
@Phrancis what should this return?
 
@Morwenn now get the company to switch to latex...
 
> © Copyright 2014, Cardshifter.
 
When I do know how to do something, I Google it and copy-paste stuff until it works.
 
4:54 PM
or make the National Educational Association accept something aside from Word for Documentation..
 
I don't always understand what I'm doing, but I only have to copy-paste it again if I want to use it again.
 
@Morwenn that
 
I don't have to exactly remember how I did it.
 
is how I write most of my code when I need it done fast..
the making pretty comes after that,...
 
@Phrancis So it will autochange in 2015?
 
4:55 PM
Exactly
 
Ok, i see where its going wrong, give me 5mins
 
Take your time and thank you :)
I had got the example code from W3Schools so I'm hardly surprised it doesn't work right
2
 
Haha
 
It's still surprising how good they are in google rankings..
but I have to admit... they got their standard SQL down...
 
@Phrancis try this: <script type="text/javascript">var year = new Date();document.write(year.getFullYear());</script>
 
4:59 PM
@CodeX all java-devs please start screaming now ;)
 
00:00 - 17:0017:00 - 00:00

« first day (570 days earlier)      last day (1884 days later) »