« first day (822 days earlier)      last day (4112 days later) » 

12:03 AM
about what?
 
triple nested for loops :( feelsbad
 
user142019
Foreign.Ptr and allocaBytes are awesome.
 
    if(!source.getValueIsAdjusting) {
	    	if(e.getSource()==h_divide) {
	    		if(finalImage!=null) {
	    			for(int i=0; i<finalImage.getHeight(); i++) {
	    				if(i==finalImage.getHeight()/) {
	    					for(int j=i; i<finalImage.getWidth(); j++) {
God can't save you now
 
user142019
lol when not using GHC, alloca allocates on the heap instead of the stack.
 
if(i==finalImage.getHeight()/)what does the "/" mean towards the end?
 
12:14 AM
syntax error
 
@Rapptz what it your friend code for Euler?
 
give me yours
 
10145987422007_428c718ddc261f7971cbf06e57a33067
 
@DemCodeLines Oh I had to get a variable, so it was finalImage.getHeight()/h_divide.getValue()
 
oh, all roght. :D Just wondering.
 
12:24 AM
@StackedCrooked just finished E35 - Sendo is bad-ass: out of the opponents so far, I think he's the one I wanted to win: the back-and-for-thrashing was off-the-scale... ...and come on, fighting while he was unconscious - rofl - what will they come up with next?
 
Huh well those forloops are VERY wrong...
 
Added you.
 
user142019
To sleep or not to sleep? That is the question.
 
user142019
It's already 1:30 and I have to get up at 6:00.
 
Never sleep. Sleep is wrong.
Those for loops did this hah
 
user142019
12:26 AM
A real soldier never rests.
 
 
user142019
Y u Java.
 
user142019
Java is a terrible language.
 
Because gui
 
user142019
Use Scala or Clojure then.
 
user142019
12:27 AM
Or Jython or JRuby.
 
user142019
Or JVM bytecode.
 
I'm just familiar with java, to be honest.
 
user142019
8
Q: Is there a PHP implementation that targets the JVM (akin to JRuby and Jython)?

NullUserExceptionHow can I run PHP on JVM (akin to Jython and JRuby)? I am aware of the following: Quercus, which appears to be dead alive and well. Seems like I've been visiting the wrong website. webSphere sMash, that appears to have no documentation Is there a more mature project for this?

 
user142019
LOL combining the worst two languages ever.
 
@Rapptz nice chart! I will probably give up when the problems starts to take longer to solve
 
12:30 AM
eh I don't PE much anymore
 
okay I'm stupiding here
 
user142019
I'm not going to sleep tonight.
 
user142019
That would be only four and a half hour of sleep anyway.
 
user142019
And I woke up at 16:00 anyway.
 
user142019
Any tips on staying awake?
 
12:33 AM
@Zoidberg You can do UI with Scala?
 
user142019
@Borgleader You can use Java frameworks with Scala.
 
Yeah so Scala UI === Java UI
 
Okay... here's a question.
 
@Zoidberg sleep
 
Probably an incredibly stupid one too
 
user142019
12:35 AM
@JohanLarsson no no, I'm trying to avoid that.
 
user142019
@Borgleader Except the language is less terrible.
 
Given int x, which is 0<x<25, how would you go about programming something which will split a picture into that many sections with straight lines horizontally?
 
user142019
var distanceBetweenEachLine = image.width / x;
for (var i = 0; i < image.width; i += x) {
    drawLine({x, 0}, {x, image.height});
}
 
whenever I see Java, I just use Scala instead...
fewer loc, and much more pleasant
 
@Zoidberg I'm using setRGB and a for loop to iterate the whole height
 
user142019
12:38 AM
@kfmfe04 Whenever I see Java, I close the tab.
 
user142019
@Crowz so?
 
@Zoidberg I don't hate any language - I just ignore the ones I don't like
 
@JohanLarsson Any progress on 410?
 
user142019
Just draw white lines using setRGB.
 
hate == waste of brain-cycles
 
user142019
12:40 AM
You hate hating?
 
Huh well that's new
 
user142019
I look tired but I am not tired.
 
Thank you Zoidberg that helped
 
user142019
Fuck.
 
@MarcusStuhr hoy
 
user142019
12:45 AM
The charger of my laptop lies downstairs.
 
What's up?
 
I hate when I have like, 5 nested for/if statements
 
not much
mondays ;-;
 
This algorithm is behaving very oddly.
Well it's behaving "correctly", but I just don't know how exactly to go about fixing it
 
user142019
12:56 AM
@Crowz functions.
 
I don't understand quite why that's behaving the way it is
 
1
Q: C++ causing VIRUS errors?

UnderDogYou might call me crazy after reading this post, but I would really request you to trust me when you read what I say here. In my attempt to understand situations where memory leak or other errors could be caused, I wrote the following code and tried compiling on my pc, #include <iostream> ...

^^ Interesting... But my intuition tells me to question the accepted answer.
Anyone got any light to shed?
 
user142019
I know nothing about AV. I haven't used AV since three years.
 
user142019
1:12 AM
I'm going to post this the next time somebody asks a Java question:
 
user142019
 
Hey look, my virus that makes a given process use 100% CPU did pretty well.
 
> Heuristic.LooksLike.Win32.Suspicious.J!89
 
I'm going to try the two that work together to draw all over the logon screen.
 
Fucking IndexOutOfBoundsException...
 
user142019
1:16 AM
noob
 
noob
 
user142019
UB > IndexOutOfBoundsException
 
user142019
Because less overheadz.
 
user142019
PRECIOUS COCK CYCLES
4
 
Easier to get IndexOutOfBounds on images, in my defense...
 
1:19 AM
Huh, one was just McAfee and the other was none. Someone said their AV got the second, though, which runs something under the security context of winlogon.exe
 
user142019
lol those replies NSFW
 
user142019
400 millionth post on 4chan
 
Just McAfee for something that makes the XP logon window dodge your cursor and disable the keyboard...
 
@Zoidberg Precious typo
 
I'm losing faith in these. Maybe they need more spreading capability.
 
user142019
1:21 AM
@Borgleader on purpose.
 
Just when I thought I had it, new error...
 
user142019
damn I want 69 GET but I got 68 once and 70 once and 96 once. T_T
 
GET?
 
user142019
> Each post is assigned a post number. Certain post numbers are sought after with a large amount of posting taking place to "GET" them. A "GET" occurs when a post's number ends in a special number, such as 12345678, 22222222, or every millionth post. A sign of 4chan's scaling, according to Poole, was when GETs lost meaning due to the high post rate resulting in a GET occurring every few weeks. He estimated /b/'s post rate in July 2008 to be 150,000–200,000 posts per day.
 
user142019
1:25 AM
69 GET is when your post ID ends in 69. ITT, 69 decides OP's new Wi-Fi SSID. :P
 
oh
 
mysticial is a newfag
 
I know of the concept. Just not the term.
 
user142019
Anyone here knows Japanese?
 
user142019
 
user142019
1:28 AM
What does this mean? :P
 
@Rapptz does
 
user142019
@Rapptz when it comes to C. :P
 
you can't read hiragana?
 
user142019
No.
 
user142019
Well, I could in the past. :P
 
user142019
1:30 AM
@Ell go sleep right now. :P
 
well it doesn't matter because that's katakana
noob
I kid I kid.
 
user142019
I can read Hangul.
 
I can't read either...
 
Ell
Heh
 
user142019
@Ell what's up.
 
user142019
1:31 AM
Don't you have to go to school tomorrow today?
 
user142019
Oh wait it's only 1:30 in UK.
 
Ell
I'm okay now, I was having a bit of a middle teen crisis earlier
 
@Mysticial You can't read either?
 
Ell
But I'm just chilling listening to music ATM
 
user142019
@Rapptz does it say azumanga daioh?
 
user142019
1:33 AM
@Ell same here.
 
@Rapptz Nope. Never learned any Japanese writing.
 
user142019
Have to "wake up" at 6 so I'm not going to sleep.
 
The first letter is Yo
 
I ran recognize some of the letters and Kanji.
But that's just about it.
 
@Zoidberg Yotsuba.net
 
user142019
1:34 AM
I understand Latin and Hangul alphabets.
 
@MarcusStuhr no fun.
 
Technically it says "yotsuba . netto"
 
:(
 
user142019
However, I write Hangul as if it were Kanji. xD
 
the english transliteration of that, though, I have no idea
 
user142019
1:34 AM
As in, order of strokes.
 
user142019
@MarcusStuhr no such hostname.
 
It may be large "tsu"
yotsuba
 
@MarcusStuhr there you go.
 
user142019
Oh Yotsuba. That's the blue theme on 4chan.
 
It's a manga.
fyi
 
1:36 AM
small tsu means you double-consonant the next character but on second glance it's just a regular tsu, haha
 
user142019
Yeah, I just Googled it. :P
 
user142019
f
 
user142019
Dammit OS X with your command key.
 
user142019
Or, dammit non-OS X with your control key.
 
user142019
Works either way.
 
user142019
1:40 AM
Internship y u year three y u no year one.
 
user142019
Internship is actually the only part of this entire school that's not useless.
 
user142019
 
I suck quite horrifically
3
 
user142019
Ohai Dead. What's up?
 
user142019
Also still awake? (Redundant question assuming no bot.)
 
user142019
1:45 AM
Welcome, @Ianthe.
 
as if my magnificence could be replaced by a machine
and, well
I haven't managed to break my illness yet
 
Okay... I am so confused about this but I'm probably just being stupid here.
 
so annoying
 
@Zoidberg, thanks!
 
user142019
What's the illness?
 
user142019
1:46 AM
If your stomach is acting weird, drink Coca-Cola.
 
that vomiting/diarrhoea stuff I had a while back
 
user142019
Sounds bad.
 
nah
it's gone now
 
user142019
That's good.
 
nah
I'm ... stuck in the motions of being sick
 
user142019
1:47 AM
That's bad.
 
yeah
I started re-reading The Wheel of Time when I was sick
and I can't seem to stop
 
user142019
Oh fantasy. Cool.
 
not when there's 200,000 words of it
and I can't compel myself to stop reading for virtually any purpose
 
user142019
Make a game of it. :P
 
user142019
Also, the estimated remaining time of my battery is constantly increasing though it's not connected to any power source.
 
user142019
1:49 AM
Stupid OS X.
 
lol
that's not necessarily inaccurate
if it underclocks your CPU or other parts, it can do that
 
user142019
And now it's suddenly 20 minutes less.
 
you did something it found fractionally more demanding, and it put your CPU clock back up again
 
user142019
Let's stop iTunes. This thing needs to hold out at least till half past five.
 
user142019
@DeadMG Makes senze.
 
user142019
1:51 AM
> Stop iTunes.
> Remaining time increased by almost an hour. ;_;
 
0
A: error C2059: syntax error: '}'

Ismet AlkanDelete the do before while. Also read this tutorial.

> Java tutorial
> C++ tag
 
fail
 
user142019
You can do do;while(expr);. :P
 
What does this do? :)
in C#, 2 mins ago, by Eve
C++ used main(t,_,a)char *a;
{ return!0<t?t<3?main(-79,-13,a+main(-87,1-_,main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}#
 
user142019
do;while (dtotal<17); {
    // stuff
}
 
user142019
1:53 AM
^ totally fine.
 
user142019
@CCInc well run it and you'll see.
 
@CCInc, Is that the 12 days thing?
 
umm, umm
 
#define do_while(x) while(x)
 
Ell
Nighty night all :)
 
user142019
1:54 AM
I like #define until(x) while(!(x)) though I would never use it.
 
user142019
@Ell Goodbye.
 
Glad I left you with that nightmare, Ell?
 
night
 
user142019
Damn.
 
user142019
At school I'm in the team with the sole chick of my class
 
1:56 AM
@Zoidberg Y u no function?
 
user142019
and she smells like extremely sour piss. :(
 
user142019
@DeadMG how would that work?
 
until([] { body }, [] { condition });
obviously
 
user142019
lol
 
user142019
unless([] { condition }, [] { body });
 
user142019
1:59 AM
@Zoidberg I hope she doesn't suddenly join the Lounge. :P
 
user142019
@DeadMG that's how it would be done in Haskell.
 
as if that matters to me
 
user142019
as if that matters to me
 
Wow, VS Intellisense doesn't even complain about delegating constructors.
 
@Zoidberg Replaying to yourself? You nuts man
@chris Isn't that valid in C++11?
 
2:02 AM
@Borgleader, Yes, but it's only in the CTP and the Intellisense wasn't updated.
 
user142019
Damn.
 
user142019
I have a blister under my tongue.
 
user142019
Fucking annoying.
 
in C#, 2 mins ago, by Pheonixblade9
@Ianthe

C# used dispose()!

C++ is confused.

C++ hurt itself in its confusion!

C++ fainted!!
 
What the. Didn't I do that like 12h ago?
 
2:05 AM
correct
 
Programming makes my brain hurt :(
 
user142019
Try Haskell.
 
After I finish this
 
I just went to look up MSVC's C++11 status and ended up searching std::bitset instead.
Aww, no default and delete...
 
user142019
I want a bed full of hot chicks with boobs.
 
2:12 AM
I think most girls have boobs
many have vaginas too.
 
user142019
Me gusta.
 
A wild C++ has appeared!

Haskell flashes its boobs operator.

C++ is infatuated.

C++ faints from love.
 
too bad haskell is flat chested
 
A capella metal for fun
 
Haskell used paradigm shift. C++ fled.
 
2:15 AM
Okay... why is this not working? Seriously...
 
user142019
Because Java.
 
^
 
Touché. I just want to draw on an image that I drew on.
 
C# used dispose()!

C++ is confused.

C++ hurt itself in its confusion!

C++ fainted!!
 
user142019
@Crowz Use Z shell with ImageMagick.
 
2:18 AM
(not trying to derail you guys, just enjoyed your little pokemon jab, thought I'd share my own :) )
 
user142019
I don't get it.
 
@Zoidberg probably because I know nothing about C++.
 
user142019
Why is C++ confused by dispose?
 
@Zoidberg Well I'm almost done in java anyway, just this one thing is like, stupidly annoying to do
 
user142019
dispose() is basically poor man's RAII.
 
2:19 AM
Hah, shows you how dumb I am with C++.
 
A wild VB appeared!
 
user142019
s/with C++// :D
 
I can design CPUs and write ASM/C, but I'm completely ignorant of C++
 
lol
 
user142019
C++ is a terrible language. Use Haskell, Erlang or Python instead.
 
2:20 AM
Write you a good Erlang!
I've toyed with Python. It's all right. I prefer C# for most high-level purposes and ASM/C for low level stuff
 
user142019
I'm probably the only one in this room who knows Erlang. lolz
 
I actually recommended Erlang to someone recently. They were trying to build a scalable data engine. I basically listed off all of the common functional/messaging languages
 
user142019
I'm currently writing a data store in Haskell.
 
Nice :)
I'd love to learn a couple more languages when I have time
I'm still in the learning process for SQL/MDX/XSLT at my job.
 
sooo who wants to be my friend?
 
user142019
2:22 AM
lol SQL
 
user142019
lol XSLT
 
user142019
@Crowz yo momma
 
@Zoidberg I know, I know. But I like where I work and my salary, so I learn it :D
 
user142019
I want Erlang job.
 
user142019
2:25 AM
At Ericsson they're not looking for Erlang programmers. :P
 
@Zoidberg we use Python a lot here.
 
user142019
@Pheonixblade9 nice.
 
user142019
Do you also use Java and PHP?
 
I know TI83 Basic. Job please.
 
@Zoidberg I use java personally (Android) and my website uses PHP, but I do not change it often, just when I initially set it up (drupal CMS)
 
user142019
2:27 AM
Ewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww Java and PHP.
 
hahaha
yeah
 
@Zoidberg, You hate those and don't react to the calculator basic lol
 
people and their hate of java hah
 
but getting hung up on the idiosyncrasies of languages rather than building cool stuff is for scrubs
 
user142019
 
2:29 AM
@Zoidberg the problem is not Java. The problem is Java programmers. :)
 
user142019
Who here has a beard?
 
user142019
I think almost every Lounger has a beard.
 
Then let's just stop making Java programmers. Everyone's happy.
 
@Zoidberg I have 2 days of beard. I'm german, so that's like... what, 3 months worth of Asian beard?
 
@Pheonixblade9 :(
Don't like, 80% of schools teach java?
 
2:30 AM
anyways, holy shit it's 6:30. You guys were pretty cool/nice for once to a C#er. Nice talking to you! :)
@Crowz my alma mater switched from C# to Java. NOOOOOOOOOOOOOOOOOOOOO
 
Bye @Pheonixblade9
 
night
 
@Crowz My school doesn't offer programming...
 
@CCInc college?
 
no
 
2:33 AM
then there's yer problem hah
 
do you want to listen to one of the most beautiful guitar tone ever : youtube.com/watch?v=wDAHl54V0CU
 
Oooo
 
@StephaneRolland I dunno -- a lot of competition for that title: youtube.com/watch?v=9Sjghtjy1bA
 
anyone wanna take a look at something that's not... err... C++... >.> [spoiler]java[/spoiler]
one error I cannot figure out
 
listen to it right now... amazing, i wasnt expecting that....
 
2:40 AM
a WndProc runs in the same thread that created the window it belongs to, right?
 
@melak47 Yes.
 
@Crowz Sure
 
Line 128
I want the lines to draw OVER each other on the image
 
what are they doing now?
 
@JerryCoffin hm. so if I want to have a second thread, and need to synchronize them to prevent them from using a shared resource at the same time, shouldn't a mutex work?
 
2:43 AM
@CCInc the vertical ones delete the horizontal ones and vice versa
 
2
Q: How to draw an image over an another image?

DZkidI have a Java project that's about traffic network simulation in a random city, I've managed to figure out a way to implement this project, so I divided each intersection into a section which is basiclly an extended JPanel class (named Carrefour)...everything works well until I got stuck with how...

 
@StephaneRolland Slightly amazing fact: he developed what's called "focal dystopia", which rendered him unable to play. So, being the sort of guy he is, he started over from the beginning and learned to play left-handed. A few (5?) years later, he was playing in public again.
 
@CCInc will that draw lines over lines? Because I modify the entire image
As in, iterate through and draw the lines
 
@melak47 You can, but if you do, you need to change your message loop to use MsgWaitForMultipleObjects, so it can react either when a message arrives or the mutex is signaled.
 
@JerryCoffin in modern guitar, then i would bet on this one: Joe Satriani - tears in the rain youtube.com/watch?v=amT_qZtGn7Y
 
2:47 AM
0
Q: Is C/C++ one language or two languages?

Scott O'DonnellIs C/C++ one language or two languages? I heard C++ was just C with classes. Is that right?

 
@JerryCoffin why can't it be this easy? :(
 
@JerryCoffin left or right hand, they touch me the hand they can
 
//in WndProc
case WM_EXITSIZEMOVE:
	{
		device->mutex.lock();
		device->FrameBuffer->ChangeSize(nw, nh);
		device->mutex.unlock();
		break;
	}

//other thread
std::thread t(
	[&]()
	{
		while(running)
		{
			device.mutex.lock();
			device.Clear();
			device.Present(1);
			device.mutex.unlock();
		}
	}
);
 
@StephaneRolland Joe is amazing, no doubt about that. A few years ago I was lucky enough to see Joe, Eric Johnson and Steve Vai playing together at G3 in Denver. At least for that night, I'd have given the nod to Eric, but only by a hair.
@melak47 Because you don't want your UI locked up while the UI thread is waiting on a mutex.
 
non-RAII mutex unlocking code? disgusting
 
2:51 AM
like the std::lock_guard thing or what it's called?
how would I use that with MsgWaitForMultipleObjects
 
@melak47 Yes.
 
@melak47 No idea. You'd use std::mutex, not WinAPI
 
is there a std::joe_satriani::rock_between_all of() in c++11 ?
 
@melak47 Probably don't -- with MsgWaitForMultipleObjects, you'll probably have to roll some of your own locking stuff.
 
@JerryCoffin is there another way? D:
 
2:53 AM
How are people upvoting this shit ;_;
 
@melak47 Probably -- but I'm not sure what it is. Fortunately, most of it is pretty easy.
 
user142019
I'm trying to find something I can post here to farm some stars.
 
stars are farmed in super novae
 
user142019
lol
 
you just can pretend
 
2:56 AM
Maybe we should back up a bit. What are you trying to accomplish here? Most of the time, you can have the secondary thread post a message to the UI thread instead of having them share access to data.
@StephaneRolland More in nebulae than supernovae.
 
@JerryCoffin depends on the density of the clouds
 
@JerryCoffin well, for now, all I really want to do is resize the frame buffer and associated resources after the window has been resized
 
user142019
 
user142019
It's sad these don't exist anymore. :(
 
oh eagle ?
 
user142019
2:57 AM
Since like, a million years.
 
but without blocking updates while the window is being resized
 
Wow, so many upvotes being distributed.
 
user142019
How big do you guys think those pillars are in meters?
 
@Zoidberg the three tiles in the top right corner? :p
 
how one can not disrupt elemental thinking seeing this
 
user142019
2:59 AM
@melak47 what about them?
 
I wonder if it's possible for a downvoted question to make the multicollider.
 
@Zoidberg is it sad that those don't exist? :p
 
There's so many upvotes on the answers that it'll be this one if it's possible at all.
 
user142019
@melak47 No no. Those pillars are already gone since about 4000 years ago.
 
latest study (wrong or false) said there are 17.000.000.000 similar planets like earth in out little galaxy
 
2:59 AM
where'd they go :o
 

« first day (822 days earlier)      last day (4112 days later) »