« first day (1092 days earlier)      last day (3873 days later) » 

5:00 AM
...
 
I just bought Pokemon X.
They are giving me a nickname based on the first letter of my name (D, for Danny). The choices are Big D, Lil' D and D-Meister.
They all sound like dick jokes to me
 
that's a serious localization fail.
which is really quite predictable when you consider the silly strategy.
 
You can also pick your own
 
@Rapptz :facepalm:
 
@ScottW Danny.
@GamesBrainiac ..?
 
5:12 AM
I can't believe some of us still play pokemon.
 
Okay.
 
btw

Software Engineer

Meetup

SoftwarWe're starting a local community revolution! Our goal is a "Meetup Everywhere about Most Everything", and we're…

Posted on Careers 2.0 on October 7, 2013

In the Joel Test, it says "Can you make a build in one step?"
what does that mean?
Okay, why is that a good thing?
Isn't that what you'd normally do?
 
Wishful thinking.
Not sure what starter to pick.
Hm..
 
We're still arguing over whether we should buy Jira.
So yea, we're a pretty new company.
 
5:36 AM
insane people exist
 
@ScottW An SMS application.
@ScottW I'm gna barf right now.
 
I hate the numeric keypad.
I hate that I always hesitate before using it.
I hate that the button for activating the numbers toggles the modus.=
 
@ScottW Its not for any OS, its an entire system. I.E. you can send an SMS through us to any country in the world, and we offer you the cheapest possible rates.
We have a web API.
 
5:57 AM
@ScottW You can't. Atleast not yet. This is a product for enterprise.
We will make an android app soon, but right now we're just trying to hit the 200 sms/s threshold.
 
6:34 AM
Usually on Stack Overflow
Try sharing it on Stack Overflow
 
6:56 AM
0
Q: I NEED TO SOLVE THIS. I WILL PASS IT IMMEDIATELY. TOO MANY ERRORS

Lawrence Carlo Perezclass Color { private int intensity private String name; public int getIntensity() return intensity; } public void setIntensity(int intensity) { this.intensity = intensity; } public String getNam { return name; public void setName...

^^ ahahaha
 
My project is in CMake. But I've to use a library that is in automake
Can anybody cite an example on how to do that ?
 
> One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?
how fucking helpful, VS
I don't suppose you could mention which types.
 
7:22 AM
hmm
I suppose it's kinda silly creating a VS extension for a tool which can't handle VS's headers and libraries...
 
7:43 AM
Pretty badass story.
 
8:12 AM
@NeelBasu Either you create a CMake build for it or you treat it as outside library. I am sure CMake documentation has some example of that.
 
8:28 AM
I couldn't sleep this morning and implemented Heapsort in C with classes (but not using classes), if anybody wants to take a look.
 
I would like to compile on of my old projects. It uses a little bit of Windows code (only windows.h and gdiplus). Which compiler/ide would be quickest to get it working on my windows VM?
Mm, I could try it with wine on linux.
 
Ah cool.
Thanks.
 
lol, i just exceeded maximum recursion depth with quicksort
 
@GamesBrainiac Did you quicksort an already-sorted array and picked the first element as pivot?
 
8:38 AM
@GamesBrainiac implement it without recursion then? (or implement it in a language which is better at dealing with recursion ;))
 
@FredOverflow I picked the first element as a pivot, but it was a list of random numbers.
 
alternatively, ask the compiler for a bigger stack :D
 
How random was the list?
 
@jalf Hmm, perhaps, but it broke at 250K
Not too bad XD
 
Do you recurse on both sublists? You should recurse only on the smaller one and then loop on the bigger one.
 
8:39 AM
test_list = [randint(0, 300) for _ in xrange(i)]
 
@GamesBrainiac mmm, yes? Is there some special significance to that number that I'm not aware of?
 
Thats the test list in Python
@jalf Well Quicksort does very well against Mergesort and Heapsort until 20K
after that, it takes significantly longer to sort.
 
Are you sure your implementation is bug-free otherwise?
 
@GamesBrainiac 20k what? Elements to be sorted?
 
@FredOverflow Yup.
 
8:40 AM
and I assume that is what 250k referred to as well?
@GamesBrainiac lol
 
@GamesBrainiac Can you show us the implementation?
 
Thats the graph for until 50K
 
free protip: never ever be "sure that your implementation is bug-free" ;)
2
 
@jalf lol, I know. But its a pretty simple algorithm to implement
 
I stand by my statement. :)
It might indeed be bug-free, but being sure that it is just means you're blinding yourself.
 
8:42 AM
Even hello world programs can be full of bugs. :)
 
1 message moved to bin
 
def quick_sort(numbers):
    """
    Implementation of the quick-sort algorithm.
    @rtype : list
    @type numbers: list
    @param numbers: List of numbers to be sorted
    @return: A list of the sorted numbers
    """
    if not numbers:
        return []
    else:
        pivot = numbers[0]
        bigger = quick_sort([x for x in numbers[1:] if x > pivot])
        #bigger = quick_sort([x for x in numbers[1:] if x >= pivot])  # Fault injection, causes infinite loop
        smaller = quick_sort([x for x in numbers[1:] if x <= pivot])
 
:|
 
@jalf thats the implementation
@Rapptz jalf wanted to see it :P
 
I usually use the middle for the pivot
 
8:43 AM
No language can beat C++ in terms of the number of ways you can screw up Hello World.
9
 
@GamesBrainiac no, @FredOverflow did.
I just wanted to point out that you should not be sure it is bug free :)
 
@Rapptz oh wait, yea it was freddy! :P
 
@Mysticial C# and Java?
You have to put it in a class and everything.
In C++ you just include a file and stream it to std::cout
 
@Mysticial C++ is pretty easy when it comes to a hello world.
 
Imagine someone trying to print "Hello World" using printf with the wrong format specifier.
 
8:44 AM
that's C, not C++ :P
 
Java is horrible
 
Pokemon X is so much fun.
 
rcs
to print "Hello World", just use puts to avoid the wrong format specifier
 
System.out.Prlintln("Hello World");
 
@GamesBrainiac If you replace the bigger with the commented-out bigger, then it's clearly not bug free at all.
 
8:45 AM
Are you going to get it @Mysticial?
 
@Rapptz Yes. Probably next weekend.
 
@DeadMG Thats a fault injection, for testing XD
 
in fact, it's clearly not bug free.
 
Even though I never finished beating BW, I'm gonna play XY.
 
It's really great.
I like it better than BW
 
8:46 AM
BW sucks.
 
@Rapptz Go marry a mudkip! :P
 
The game is too linear.
And the map is fucking ugly.
 
Yeah I didn't like Gen V tbh
 
@Mysticial bw?
 
Skating around instead of biking is really fun.
 
8:46 AM
I'm mean come on... A friggen circle?
@GamesBrainiac Pokemon Black and White.
DP was good.
RS was okay.
GSC is the best.
 
Yeah. The bottom screen was actually useful.
@Mysticial I liked the remakes more than the original.
 
Do you guys play when your code compiles or something? :P
 
@Rapptz Same. Except that they took out slots and the room decorations.
 
I like Voltorb Flip more than slots tbh :P
 
Can you transfer from BW to XY?
 
8:50 AM
Um. I don't know. I think you have to wait for the Pokemon Bank thing which costs $5 a year
I'm trying to see if you can do it otherwise though
 
Goddammit, I need to get a 3DS...
 
@GamesBrainiac That's not really Quicksort, though. Quicksort is so fast because it works in-place. Your version doesn't, and there are better functional sorting algorithms available.
 
@Rapptz Damn... So they're gonna milk even more money. :)
 
Well $5 a year isn't.. so bad tbh. About 42 cents a month.
 
@FredOverflow Mind showing me an implementation that fits the real quicksort.
 
8:53 AM
But still kinda lame.
 
@GamesBrainiac Do you know the difference between imperative sorting and functional sorting?
 
@FredOverflow Nope.
 
@FredOverflow imperative modifies it in place, functional returns a new list?
 
@Rapptz Yeah. $5 is nothing. But the fact that they put it behind a paywall at all is kinda shitty.
 
@Rapptz right
 
8:54 AM
@FredOverflow huh, I've never heard those terms for it before
 
I just made them up.
 
Me neither. I just took a guess.
 
@jalf You just made me feel less stupid. Thanks jalf! :)
 
@Rapptz yeah, same
 
@FredOverflow lol
 
8:55 AM
@Mysticial Well I'll see if you can do it w/o Pokemon Bank.
 
I have a whole bunch "prized" pokemon on my aging gen4 carts.
I might just dump them on the cloud.
And the carts don't last forever.
 
I mean, the Pokemon Bank thing really isn't a bad concept.
It's certainly better than mass trading through different carts.
But the Pokemon Bank doesn't hold items which sucks.
 
I've never found a good emulator that I can transfer to/from via an Action Replay as a way to "back up" all that hard work I put in during my undergrad years.
I have some custom bred pokemon with like 4 x 31 IVs in the right stats.
 
hacked or legit?
 
legit
 
8:58 AM
I only have 3 perfect EV trained pokemon and 1 of them is a shiny.
So that one's obviously my favourite :P, my Gallade.
 
I stopped hacked since gen3. Starting from gen4, the only thing I ever "hacked" was to duplicate pokemon as a way to "back them up".
I never touched their IVs.
 
I duped a lot of master balls.
with the GTS glitch
 
I don't consider that cheating though.
I have an Action Replay for DS, but I've only ever used it for duping pokemon. (and whatever item attached to it)
 
EXP Share is now a toggle item btw
and every pokemon in the party gets the same exp
 
I also used it a few times to enable an event pokemon out of curiosity.
But none of the pokemon except for Darkrai and Arceus were useful in battle - and only in ubers.
 
9:02 AM
Wait, you are a master of the bits, and you waste your time with Pokemon? :)
 
Pokemon's fun.
 
@FredOverflow Back in the middle school, I used to hack pokemon.
 
MO = 53280
POKEMON,0
 
I sat their with my Game Shark using systematic search and binary diffing to find the addresses of what I wanted to hack.
Namely IVs...
 
That's more like it.
 
9:04 AM
I remember building a dictionary showing what address maps to which stat of which pokemon in your party.
I figured most of what the addresses were.
Except for a few in Gold and Silver that didn't appear to do anything.
I remember "overthinking" how to approach hacking IVs.
I knew that the GB color had both ram and flash memory.
The Game Shark only lets you mess with the ram.
Boxed pokemon that's not the active box are stored in the flash memory. So the game shark can't mess with it.
Since IVs were static and determined when the pokemon was created, I "assumed" that it would be stored in flash since it "didn't need to be in ram".
I spent hours searching for the address that determines the IV of a wild pokemon.
Only to find out later when I was hacking EVs that the IVs are actually stored in ram - adjacent to the EVs in memory...
*for both pokemon RBY and GSC.
 
I think X/Y shows you IVs now
Hm.. Which Kanto starter to pick.
I already chose Fennekin so I got fire, even though I really like Charmander.
 
I've always went with the water starter for every single gen.
They tend to be bulky. Have only two weaknesses.
 
They've never looked ugly either.
 
And if you can find an Ice Beam TM, it demolishes your rival.
 
They're the nicest looking this gen.
 
9:12 AM
But yeah, pokemon RBY and GSC were very fun to hack.
I'm not sure if the addresses are still static in gen 3 - 6.
I'd assume at some point (either GBA, DS, or 3DS) that they finally switched to dynamic allocation.
That makes hacking a LOT harder.
 
well you had very limited memory
Meh.. fuck.
Jolly nature on the charmander
 
What scares me is that type of memory management I do in my y-cruncher program is very similar to what these early game programmers did.
But what I pay for in difficulty of writing the program pays off in being able to make guarantees in memory usage/patterns/layout.
*and performance of not needing to rely on OS memory allocation and eating the cost of security zeroing.
 
9:50 AM
so, had a mildly amusing thought in the shower. You know how most sites implicitly sign you up to their terms of service. Well, what if I put some on my site, something including that indexing my site for the purpose of search engines is subject to some sort of fee. It would be clearly there for any to read, but of course, it is not my fault if you use a crawler that just mindlessly indexes everything.
 
naw
an automated machine cannot agree to a contract.
I guess you could try banning the indexing of your site being done by machine (incurring extra fee, of course)
but I still doubt that you could get anything.
 
user1804599
> The child's parent process ID is the same as the parent's process ID.
 
lol
 
10:09 AM
hey guys got a quick question here
what does it mean to enter a "repository location" in xcode?
 
user1804599
 
....
 
user1804599
 
Xeo
Oh gawd. A buddy of mine bought himself a buttcoin miner. :(
 
user1804599
lol
 
Xeo
10:22 AM
And he doesn't even want to look at whybitcoins.com/FAQ
 
@Xeo :laffo:
Which one is it?
 
Xeo
No clue.
Something for around 200€
 
Did he actually get it, or is it preorder?
 
They have preorders for that?
 
10:31 AM
Yes (it is a scam)
If it's anything from BFL, he will most likely never see it
If it's one of those USB-powered ones, it will never pay for itself
Well, nothing probably will
(Use Expert mode :v)
 
You know a scary amount of things about this.
 
Well at least he goes out of his way to make fun of something.
 
Xeo
@CatPlusPlus He actually has it
 
It's funny because it's all true
@Xeo Ask him about the specs
 
I'm starting to think cat has a very secret job.
 
Xeo
10:43 AM
In secret, he has giant mining rigs in his basement
 
> Look at the poop, smell the poop, appreciate the poop, but never ever touch the poop.
 
user1804599
> Anyone even peripherally involved with computers agrees that object- oriented programming (OOP) is the wave of the future. Maybe one in 50 of them has actually tried to use OOP - which has a lot to do with its popularity.
 
Ell
What the hell
Are there multiple definitions of reentrant?
 

« first day (1092 days earlier)      last day (3873 days later) »