« first day (557 days earlier)      last day (3466 days later) » 

10:09 PM
user image
2
hehe
 
Hehe is right.
ROFL.
 
screw the wizard I am going to do it my way!
 
@Malachi Because that worked out well for Théoden..
 
0
A: Unit Testing for a Complex Game

nhgrifUnit testing isn't something I do a whole lot of. So as for a general review of what you've written, I can't attest much to that. But as to the idea of creating a class category just to sorta-kinda exposed "private" methods for the sake of testing and testing only? Well... let's talk about Obj...

2
A: Comparing generic struct types

nhgrifTaking some inspiration from Sebastian's answer, I came up with this solution: func sameType<L,R>(left: L, right: R) -> Bool { if let cast = left as? R { return true } else { return false } } This works even if nested within a function accepting generics: func compare

 
0
Q: I am porting some C++ standard functions into C# for verification (matching results)

ja72Can you help me look through the functions below to make sure they behave similarly as these standard C++ functions (_fcvt, ltoa, atoi, CString(char*)). The reason is that I am converting some code from C++ to C# and I want to validate that the code works EXACTLY the same. These functions are use...

 
10:16 PM
@JeroenVannevel lol
I was talking about the Create user Wizard.
how did I ever think that it would do what I wanted it to do anyway?
 
10:29 PM
0
Q: Safely include requested pages without a whitelist

SmugglarenIs this pretty safe from breakout attempts? I'd rather not make a whitelist and check if the requested page is in the array since theres a ton of pages. And I wanna keep it clean. So I'm looking for a safe way to include requested pages without a whitelist. Only pages within pages/ should be allo...

 
10:50 PM
0
Q: Why does this line come out first? (Java)

OrdinaryGamer public class Dog { String name; public static void main(String[] args) { // make a dog object and access it // "Dog" creates the reference variable and and "dog1" is the name Dog dog1 = new Dog(); dog1.bark(); dog1.name = "bart"; // now mak...

 
Burn it with fire @CaptainObvious.
-1
Q: Why does this line come out first? (Java)

OrdinaryGamer public class Dog { String name; public static void main(String[] args) { // make a dog object and access it // "Dog" creates the reference variable and and "dog1" is the name Dog dog1 = new Dog(); dog1.bark(); dog1.name = "bart"; // now mak...

 
I wish I would have done that in the first place, looks like it is going to be smooth sailing for registering users the way that I want to now
in The Ban Hammer, 2 hours ago, by AJ Henderson
@Mateon1 most people that ARE natively English speakers still can't get it right
nice, it is time to go home now!
 
0
A: In autolayout, how can I have view take up half of the screen, regardless of orientation?

nhgrifThe first half of the answer address the case in which we want to split the view evenly between view A (blue) and view B (red). The second half will address the case in which we want to have view A take up half the screen, but view B does not exist. Step 1: Set up blue's auto-layout constrai...

 
11:09 PM
This is so awesome, I have no words
The one advantage Java had over C# is now gone
3
SCREW YOU JAVA
Apparently the free Visual Studio Community edition is a rebranded Visual Studio Ultimate
I can upgrade from my Professional!
 
0
Q: Automatically growing label in python tkinter (just for fun)

qed#!/usr/bin/env python3 from tkinter import * root = Tk() class GrowLabel(Label): def __init__(self, master): Label.__init__(self, master) self.counter = 12 self.config(text=str(self.counter), fg="blue", font=("verdana", self.counter, "bold")) self.pack() ...

 
@JeroenVannevel hold on, what's in it for me and my Express edition?
 
Everything
You now have a Professional/Ultimate for free
probably somewhere in between
 
you're shitting me
 
And the .NET libraries will be open source
So Linux, Mac, Android
They'll all be able to run it
> Visual Studio 2015 and ASP.NET 5 will support gulp, grunt, bower and npm for front end developers.
 
11:13 PM
wow
so Eclipse has just been... eclipsed?
 
just look at that
That's like porn, but better
8
 
> There is a new FREE SKU for Visual Studio for open source developers and students
 
23 pages of open sourced MS repositories
And that's without github.com/aspnet
 
hear that @RubberDuck? I'm switching from VS2013 Express to VS Community tonight, and guess what open-source project will be first on board? :)
and I'm getting a new ReSharper!!!
@JeroenVannevel feels like Christmas
 
don't forget Xamarin is free as well for students
that's another 100€ a year I don't have to pay anymore
 
11:18 PM
I'm not a student though
 
eh, you're an indie dev
50€ or so
 
ok, TTGH and download stuff :)
 
That's impressive :o
 
I'm a student (as you know if you looked at my question), so I have VS 2014 Pro for free.
 
I was still a student 3 months ago...
 
11:28 PM
This will be nice - I'll have to tell my pastor - he is a dev and uses VS.
 
Time to go to school again.
 
He needs an upgrade too.
 
0
Q: Trim unnecessary wrapper haskell code

sevoHere is a program that will parse and print XML feed URLs. I want to reuse most of it to add post date to each link. This adds a new concern of CLI and output formatting on top of parsing and (poor) error handling. I wonder how much of this code has enough value to put is in a wrapper utility and...

0
Q: get the number of elements STORED in array

user2853311I have this function: size_t size() const { size_t s = sizeof(arr)/sizeof(arr[0); return s; } And my array is: template< typename T, int k > class List { T arr[k]; }; But my problem is, it does not giving me the exact size of array that I stored. It is always giv...

 
^ The second one is off-topic.
 
Finally some usage statistics from Google...
 
11:56 PM
Woah. Wait. I'm catching up here. What's this @Mat'sMug?
 

« first day (557 days earlier)      last day (3466 days later) »