« first day (927 days earlier)      last day (4036 days later) » 

9:00 PM
Related to earlier conversation
 
@CatPlusPlus meh, tl;dr
 
Does GIMP have a feedback / bug tracker?
 
user142019
Yes.
 
user142019
Man.
 
user142019
9:03 PM
Why are there people who like quiche.
 
So wacky and random
 
Ell
@BartekBanachewicz I have no work :'(
 
Reality shows these days... I just don't know what to think anymore.
 
Don't worry, they edit it to tell you what to think
 
Pseudo-random
 
9:05 PM
@Pawnguy7 I like it! would look great as a wallscape
 
@ChrisBain can you define wallscape?
 
@Pawnguy7 as in printed in vinyl the size of a wall, say 7ft by 12ft and have it as a whole wall :) the pixels would scale well too
 
Hm. That is actually a nice idea, I hadn't though of it. For now, though, it just lives as my desktop background.
 
Ell
@CatPlusPlus the x closes each image?
 
9:09 PM
@Pawnguy7 I would happily have it as mine, is it downloadable from up there?
 
user142019
lol GIMP
 
Ell
How else would you close the image? o.O
 
@Pawnguy7 It has an undo command.
 
@CaptainGiraffe what has an undo command?
 
Maybe with that close button on the tab
Maybe
 
user142019
9:09 PM
 
Crazy idea those tab close buttons I know
Nobody does that
 
@Pawnguy7 Gimp
 
@CaptainGiraffe I know that. I don't know why you are telling me, though.
@ChrisBain I can send you the program, if you want. If should adapt to the size of your screen.
 
@Pawnguy7 "Does GIMP have a feedback / bug tracker?" Thats why, my apologies for a bad joke
 
I still don't get it. Sorry :D
 
9:11 PM
@Pawnguy7 i've downloaded it from above, hope that's ok
 
@ChrisBain totally fine. I am just saying, it is random, so you could run it a few times till you get the one you like the best.
 
@Pawnguy7 oh right - yes please :)
 
Not to mention, properly sized, though it might scale fine. That was... 1600x900 I think.
Note, it is... not very user friendly.
 
Yep, my 7 year old T60 still runs circles around "modern" laptops
 
It fullscreens without permission, for example.
What I did just now was prnt screen, and used the windows keys (would that be called the system key?), which allows me to close it. I think space did something, I don't remember.
Ok, space closes it.
 
9:15 PM
@Pawnguy7 Alt-F4?
 
@ChrisBain that could work too, I discovered space closes though.
@ScottW it was not made for others :D
 
This is not the normal mode of discussion in this board
 
Yes. It has way more issues that that, if you want to go into that area. Also, I hate egyptian braces.
 
@ScottW Egpytian Braces?
 
class bob {
     int stuff;
}
 
9:17 PM
Oh, so that's what they're called
 
I'm starting to think I've applied to every co-op position in my state...
 
Yeah, I don't like dedicating a newline just to a brace.
 
oh yes, my nemesis (i'm on a refactoring project)
 
@ScottW Massachusetts
 
9:18 PM
To bad I cannot onebox it :\
@ChrisBain it working for you?
 
Michimainemass.
 
user142019
@Pawnguy7 Egyptian braces is best braces.
 
Can you explain to me the practical benefit in this?
 
@ScottW no more wow for you!
 
user142019
Go enforces Egyptian braces.
 
9:19 PM
works fine, is there any way to tell it to do another till i find a good one?
 
user142019
if x
{
}
// syntax error!
 
@ChrisBain No, but I could make it re-generate on button press perhaps?
@rightfold seems kind of harsh
 
user142019
No. It's good.
 
if ( 1 == a ) ; { wtf
 
user142019
Unused imports and variables are also errors.
 
9:21 PM
I can actually kind of see that - helps with readibility - but... the braces seem more preference to me.
 
@Pawnguy7 maybe on the [Enter] key
 
Ell
@rightfold what about if x is long?
 
@Ell so make some
 
user142019
@Ell can you ask that in English?
 
@ChrisBain Done. Also, are there any generator settings you want tweaked?
For example, land height, and... how hilly, sort of. (max blocks to rise)
 
9:24 PM
what what
 
user142019
@Ell Please just say what you mean.
 
user142019
Your question doesn't make sense.
 
@rightfold We do c++ here not english
 
Ell
@rightfold what about if x is really long, then it would be easier to read if you don't have to horizontally scroll to see the opening brace
 
user142019
That is rarely never the case unless your code sucks.
 
user142019
9:26 PM
And if you have a multiline expression you can just wrap it in ( and ).
 
@Pawnguy7 i do love something i can tinker with, where would you put the settings?
 
user142019
if (foo &&
    bar) {

}
 
@ChrisBain currently hardcoded into the .exe. I might be able to add it to the console, I will try that quick.
 
ok, stupid question. Can the visual studio IDE compile code written in the C language ?
 
@Pawnguy7 maybe check for a file in the app folder, called scape.ini if it exists, load your parameters from there, so that you don't need to always have a config file
 
Ell
9:29 PM
I can't wait to try out zoidlang
:P
 
@ChrisBain That could work, although, I don't get the last part.
 
@SteveJobs C89 yes, microsoft has decided upgrading it to newer standards isn't worth it
 
@Ell well that will have to wait i guess
@SteveJobs yes
 
@Pawnguy7 I meant that it will run as a standalone exe, but will load parameters if a file exists to load them from.
 
IDE doesn't compile code
 
user142019
9:32 PM
@Ell You'll have to wait forever.
 
You can plug another compiler in
 
@CatPlusPlus intellisense sorta compiles it
 
user142019
@Ell I renamed it to Ø and abandoned it.
 
@CatPlusPlus in that case MSVS and MSVC++ are quite tightly bound
@rightfold you suck so much.
 
user142019
@SteveJobs Oh you still exist.
 
9:33 PM
Makefile projects
 
@ChrisBain Ah. Yes.
 
I've generated MSVC solutions that used GCC
 
ok, thanks for the information, for some reason my school wants to start programming in C instead of C++
@rightfold apparently
 
@SteveJobs It's not a bad thing to learn, if only for appreciating what C++ gives you
 
@SteveJobs that's retarded
 
9:34 PM
This code is so terrible.
How did it make something so beautiful :\
 
user142019
@SteveJobs Your school is bad and you should feel bad.
 
you don't start learning maths from differential equations
@Pawnguy7 what code
 
@Collin well, i guess we have to learn it because eventually I have to take courses in embedded and real time systems programming
 
@SteveJobs hint: C++ is used there
 
@SteveJobs Even those have good C++ compilers now adays, but there's still a metric shit-ton of C code out there you need to be able to read and understand -- especially in the real-time and embedded space
 
9:35 PM
@BartekBanachewicz for the landscape picture thing.
 
@Pawnguy7 what language is it in?
 
@BartekBanachewicz :(
 
@BartekBanachewicz C++. All I knew back then.
 
@SteveJobs please use "respond to message"
 
user142019
@BartekBanachewicz that requires effort.
 
9:36 PM
@BartekBanachewicz ok
 
No autocomplete sucks.
Hey @BartekBanachewicz?
 
@Pawnguy7 sup?
 
@BartekBanachewicz you read the plan about to use a config file?
 
@Pawnguy7 use lua
 
@BartekBanachewicz I don't know how to integrate that.
 
9:43 PM
:)
...yet
 
Anyway, I added the enter part, but... I am just not thinking good right now, and this code is terrible, I don't think I can get it working right now. But you have SFML building, so... if you wanted to take a look at it. Otherwise, no config, perhaps.
 
just put it on gh
 
for you to work on, or ChrisBain? Also, I am not entirely sure how to do that.
 
@Pawnguy7 Don't stress yourself, take another look another day with fresh eyes.
 
easy as fuck
 
9:48 PM
@Pawnguy7 Happy to have a tinker, and I won't judge - you should see some of my prototype code >_<
 
Ok. Untill then, here is a version where enter regens, but it segfaults... sometimes.
 
no
github or gtfo
 
Working on that.
 
get gh for windows
 
I did a while back. I just have not used it.
 
9:50 PM
it's easy peasy
 
People getting excited because I just had my driver licence. Boring.
 
How do I add a file to a repository?
 
move it to the folder
 
@BartekBanachewicz gh? fuck it. hg is the only right thing to use
 
user142019
$ git add file
 
9:52 PM
Github is better on Linux command line imo
 
user142019
@Abyx Git > Hg
 
@rightfold only for weird definitions of >
 
Git/hg is mainly a matter of taste.
 
@Crowz it's completely unrelated
 
I personally use Hg, but that's only because it's what the Lounge recommended to me first.
 
9:53 PM
It's said that c++ programmers use git more.
 
user142019
I use Hg only to clone Hg repositories.
 
Python programmers use hg more.
 
user142019
Hipsters use Git more.
 
tortoisehg ftw
 
I thought I published it, but I don't see it.
 
9:55 PM
i prefer SourceSafe ;)
 
user142019
$ git remote add github git@github.com:username/repository.git
$ git push -u github
 
@Pawnguy7 link
 
user142019
@Pawnguy7 ^
 
Never mind. Apparently it just takes a few minutes.
 
user142019
It doesn't.
 
user142019
9:56 PM
It appears on GitHub immediately after push is done.
 
i see it
main.cpp and random.h
 
Yes. That is why I posted it.
But it was at least two minutes after it was done publishing.
 
add readme :P
 
I will do that when I learn how to use it :D
And actually have a good project.
 
9:57 PM
sf::RectangleShape ** rectangles
 
with multi-screen capability too :P
 
for fucks sake.
Y U NO STD::VECTOR @Pawnguy7
 
I told you it was bad. You underestimate by abilities? :D
 
@Pawnguy7 i think you have the beginnings of a good project.
 
@BartekBanachewicz I don't think I knew what a vector was back then.
 
9:58 PM
@BartekBanachewicz he already added a huge disclaimer on his code, a little slack?
 
@ChrisBain roawr
 
disclaimer?
 
no mercy
:)
anyways, I am too tired to improve that today
 
@BartekBanachewicz std::vector<std::vector<sf::Rectangle*>*>* rectangles; See? Vectors. <3
 
@ThePhD fuck you
good night folks, today time for textured models
I wonder how easy that will be with Assimp
 
9:59 PM
Normally, I would want to hear how bad it was, but in this case, not only do I know, but I don't plan to touch this again with a ten foot pole, and especially not right now.
 
@Pawnguy7 you already said the code was terrible. we were warned
 
@Pawnguy7 it's actually not that bad
i.e. I've seen much worse
 
Really?
 
uh yeah
just go into
 
Hm. Also, it segfaults. I think it is in the trees somewhere.
Also, you can see the nice little goto I stuck in there :D
 
10:00 PM
<3 goto
 
ewww
you sucketh
 
I found that funny for some reason.
 
10:12 PM
Idle tasks should be moved off the thread so that the thread is free to work on active tassks. How does one achieve that?
> Notice that tasks must be able to migrate between threads. What’s more, efficient use of OS threads requires that tasks that are blocked, for instance waiting for I/O or waiting for other tasks to finish, should be taken off their threads, so that other tasks may reuse them.
 
@StackedCrooked Usually by having the thread initiate an asynchronous I/O, then going to execute something else. If you aren't doing async I/O, your other choice is to have spin up more threads, so the ones waiting on I/O don't stop you from doing work. The latter tends to marginally (but in the long term, only marginally) less efficient in terms of processor time, and a lot simpler to implement.
 
A task is a usually a function. You can't really put a function to sleep, put it away, and later awake it again.
@JerryCoffin More threads. Ok that should work.
Is there a limit to the number of threads you can have?
 
Yes
 
@StackedCrooked Well, you can, of course -- that's what thread and process switching do all the time. There's just a fair amount of overhead involved.
 
10:18 PM
@JerryCoffin But I don't think you can do it using pure C++. It would require some internals.
 
@StackedCrooked Yes, normally. Hitting (or even approaching) it is pretty unusual though.
 
I noticed that whenI I created 100 threads rapidly results in a system_exception (resource unavailable). I wonder if it's due to the rapid creation (perhaps a safety mechanism). Because the limit should be much higher.
 
@StackedCrooked Well, you can do "green threads" and such, but it's semi-ugly, and you'd generally much rather stay away from it, unless you're prepared to spend quite a bit of time and effort (e.g., you're implementing the next Erlang).
 
Hm. I could fork to "move" the task to a process.
:P
That would allow me to put the task to sleep and work on something else first.
 
@StackedCrooked I'd certainly expect it to be higher than that, yes. I didn't have much real use for them, but did testing creating around that many threads under NT 4 one a 486 with (if memory serves) 16 MB of RAM.
@StackedCrooked You can -- quite a few things (e.g., Apache) use a combination of processes and threads so if (for example) something crashes, they don't lose too much at once from having to re-start a process. Works better on Linux than Windows (Windows has much higher overhead for a process than a thread).
 
10:23 PM
~ # cat /proc/sys/kernel/threads-max
15527
 
@StackedCrooked That sounds a lot more reasonable (though I wouldn't plan on trying to use that many...)
 
frankly, I'm not quite sure what Bartosz is talking about when he talks about task-local variables
 
@JerryCoffin 5 years from now that'll be a reasonable amount of threads ;)
 
we already have those- member variables of the task's function object.
 
@JerryCoffin A quick test on my ubuntu vm throws std::system_error after around 15334 threads. I guess that's reasonable :)
The rapid creation didn't matter here..
 
10:30 PM
std::thread::hardware_concurrency sucks.
It's not even a good hint!
 
@Rapptz How can they make it suck that much?
It returns 1.
 
I don't know
 
sux2beu it works on my machine
 
How many do you get?
 
10:31 PM
lol
how does that not suck as a hint?
 
4 cores, 2 hardware threads each
thats pretty much on the money
 
It gives me 4!
 
Poco has a function to return number of CPUs and it works perfectly. It simply wraps around the platform calls.
Ah, it returns 1 on my VM and 8 on my native OS.
My bad :(
 
poor VM :(
 
@Borgleader For bigger machines, it could be sooner than that. An Oracle T5-8 supports 128 threads running at once...
 
10:36 PM
At once? You mean 128 active threads at the same time?
 
@StackedCrooked Strange how the VM says it has only one core when you've configured it to run on only one core.
 
rub it in more.
 
"Strange how the VM says it has only one core when you've configured it to run on only one core."
Just doing my part. :D
 
@StackedCrooked Yes (though that's for a whole 8-socket machine, not a single chip). Sun boxes get used for web serving enough that they long ago decided to emphasize lots of threads over maximum speed per core.
 
@Rapptz Why?
 
10:39 PM
@JerryCoffin 8 CPU's * 16 cores/CPU?
 
@CatPlusPlus It was returning a weird value for me but maybe it's just my machine sucking.
 
It returns the amount of threads that will execute concurrently
As in, truly concurrently, not with context switching
 
I got a new vacuum cleaner recently. It really sucks.
It sucks really well actually.
Dyson rules.
 
user142019
I have 2 cores but everything always returns 4 because of some arcane technology.
 
Ell
Hyperthreadih?
 
user142019
10:41 PM
@StackedCrooked Dysons are great.
 
Hyper-threading (officially Hyper-Threading Technology or HT Technology, abbreviated HTT or HT) is Intel's proprietary simultaneous multithreading (SMT) implementation used to improve parallelization of computations (doing multiple tasks at once) performed on PC microprocessors. It first appeared in February 2002 on Xeon server processors and in November 2002 on Pentium 4 desktop CPUs. Later, Intel included this technology in Itanium, Atom, and Core 'i' Series CPUs, among others. For each processor core that is physically present, the operating system addresses two virtual or logical cor...
 
@StackedCrooked Something like that, anyway.
 
With that two threads execute on one core
 
I have hyperthreading (4 physical cores, 8 virtual). It works well.
 
user142019
Me too.
 
user142019
10:43 PM
Hurray!
 
user142019
Sign in form works!
 
Ell
Me too probably
 
Pretty picture.
 
@JerryCoffin Damn o.O
 
Acutally, I got a Miele, not a Dyson. This one.. Cheap and good.
 
10:50 PM
I'd have to check to be sure, but I'm pretty sure some of the IBM POWER machines do even more than that.
 
huh
I don't see my feedback in there
 

« first day (927 days earlier)      last day (4036 days later) »