« first day (872 days earlier)      last day (4091 days later) » 

Xeo
11:00 PM
@KaliMa "fast for ... coding" - wat. We likely don't know and we likely don't care. Sorry, but please move on.
 
user142019
@KaliMa Depends on what you want to do.
 
user142019
If you just write normal programs like everybody else, a laptop with 4 GB RAM and 2.5 GHz dualcore processor will do.
2
 
Get tons of RAM, get an SSD. In that order IMO.
 
@ThePhD What you need is something to link together scenes. Some sort of "meta scene".
 
Xeo strikes again.
 
11:01 PM
lol
 
Xeo
wut?
 
@EtiennedeMartel Meta...scene?
 
I'll stop making my cat head bang now...
 
Xeo
@Zoidberg sitting here with 2GB RAM and 2.2GHz dualcore on my desktop .___.
 
You mean a declarative spec that can declare itself?
@Xeo Lol. You should Download some more RAM.
 
user142019
11:02 PM
@Xeo I have single core and 1.5 GB RAM in Linux and everything works fine. (Everything is xmonad, Z shell, Vim and Chrome.)
 
@Zoidberg Dammit. I wanted to bash you, but you did mention "normal programs".
 
user142019
I don't do bash, only Z shell.
 
I have quadcore HT and 32 Gb of RAM and _I'm_ fine.
See: it totally doesn't matter.
 
I have an 8-core with 64GB of ram. It isn't enough.
 
Hehe
 
Xeo
11:04 PM
Shaddup, poser. :P
 
@Zoidberg I usually write apps that do a lot of number crunching (for work, for a site I play on called Project Euler, for data analysis, etc)
 
@sehe Same here, 32 GB of RAM, 4.5 GHz i7 and 2xGTX690s. The only bottleneck is the GPUs. :$
 
@DomagojPandža I don't have much in way of GPU. My system is passively cooled :)
 
@KaliMa Project Euler isn't won by getting the biggest e-penis you can afford. :)
 
@KaliMa 4 GB is fine for PE
If you go past that you're doing something wrong
 
11:05 PM
@Mysticial Yeah but I'd still like the insurance just in case! I'm not super smart or anything so sometimes my algorithms are wicked slow
 
^ this is my current Visual Studio machine I'm coding in... It's in a VirtualBox client :)
 
@Rapptz Reminds me of all the SO questions that ask why they can't create their [10000][10000][10000] matrices on the stack.
 
@KaliMa that's the point of PE ¬_¬
 
@KaliMa Are you from the New York area? :P
 
@Mysticial those questions are always funny.
because it's clear they're doing it the completely wrong way
 
11:07 PM
I prefer those who make 3+ star pointers. :D
 
user142019
I have 55.6 MB RAM available and everything works fine.
 
-6
Q: How to declare/initialize a very large 2D array in C++?

The ProgrammerIs there any way to declare and initialize a very large array. For example, say with 100000 rows and 100000 columns. I tried the following. int U[100000][100000] = {0}; But the compiler says "Error: Array size is too large".I also tried allocating the memory using malloc, but the system did no...

 
user142019
No problems at all.
 
room topic changed to Lounge<C++>: Recently risen from the dead [c++] [c++11] [c++-faq] [no-helpdesk]
 
@Rapptz Not completely: They're doing PE, which means they're finding out that it is the wrong way
 
user142019
11:08 PM
@Mysticial yes you really run y-cruncher on a laptop.
 
@sehe If you consider 10^3 * 10^3 * 10^3 matrices to be an indication of doing right, sure :|
 
@Zoidberg I do actually. When I'm traveling.
 
@Mysticial California, why?
 
user142019
Cool.
 
@Rapptz Wut/ You didn't read anything I said, did you?
 
11:09 PM
@KaliMa Interesting. Your choice of words hinted that you're from the New York area.
I guess I got it wrong then.
 
@sehe I might have misread
 
If you refer to "wicked" that's just my preference to "hella," lol
 
user142019
I always wonder whether I should make spaces italic or not.
 
'mah boy's wicked smaat'
 
@KaliMa Yes. That's what I was referring to. :) "hella" is Nor-Cal slang. "wicked" is Northeast slang.
 
11:10 PM
@Zoidberg I don't. Rule of thumb: if you want insertions after the space to remain italic, make the space italic ;)
 
@Zoidberg I'm still trying to find the upper-case space
 
user142019
> Figuur 1 — Het aantal Facebook-gebruikers stijgt naar een miljard. [1]
 
@Mysticial "baller" is retarded slang.
 
user142019
Space italic or not?
 
what's a good processor nowadays?
 
user142019
11:11 PM
IMO no, because it's not part of the italic sentence.
 
@KaliMa ARM Cortex M4.
 
ARM all the way!
it's the future
 
indeed
 
user142019
@KaliMa for decent performance you want at least the Intel® Core™ i7-3960X Processor Extreme Edition.
 
we're using one for my Senior Design project.
10 weeks plus Spring Break and counting to get it completely programmed and tested.
 
11:13 PM
@Zoidberg That's oddly specific; what's the rationale?
 
user142019
It's only a thousand bucks!
 
user142019
> It's a joke.
 
@Zoidberg only
 
@KaliMa he's a relentless dick :P
 
I recently got some inheritance money so I am upgrading the laptop; money's not a big problem at the moment
 
11:13 PM
i7 3770k is good too
 
¬_¬ damn keyboard shortcuts
 
user142019
i5 is good too.
 
yeah i5 3570k
 
is i7 still all the rage?
i thought i7's were faster than i5's?
 
user142019
Core 2 Duo is good enough too.
 
user142019
11:14 PM
Really.
 
that new i9 looks awesome though, can't wait for it to come out
 
user142019
All I use is Vim and Chrome and Z shell and xmonad.
 
user142019
Oh and iTunes but yea that doesn't use even 1% of CPU time.
 
@thecoshman 9 is not prime!
@Zoidberg And a compiler, I suppose.
 
user142019
I don't run that continuously, but yeah occasionally.
 
11:15 PM
@R.MartinhoFernandes ooh, they were going with primes? I thought there were just going with odd numbers :P
 
user142019
I usually don't do anything while compiler is running unless it's a giant compilation.
 
user142019
So there isn't much multitasking then.
 
@thecoshman That's what's most disappointing.
 
user142019
Then why no i2?
 
@R.MartinhoFernandes sorry, I don't cream my pants over primes
@Zoidberg because even numbers suck
 
11:17 PM
primes are a pain in the ass
 
user142019
Even numbers and odd numbers both have their evens and odds.
 
Ell
Wat
 
user142019
Zoidberg
 
oh, we playing name the twat?
 
11:19 PM
i9?
LET ME SEE.
 
Ell
Also no i2 cos that's too similar to core 2
 
user142019
0
Q: How many bytes malloc allocate separately

Super FileI saw the function _msize that gets the pointer that returns by malloc and returns the size that was in the parameters of that malloc. Now I curious how many malloc does alloc bytes separately in debug mode and release mode. Note: I've created pool I want to know how much is effective in space t...

 
user142019
What the fuck.
 
Ell
or core duo or w.e. they be called
Hmm. Can you debug without symbols?
 
11:20 PM
@Zoidberg That question makes no sense at all.
 
But you cannot.
 
user142019
Nope.
 
Ell
You just won't know any names?
 
@Mysticial What else is new on SO? :D
 
user142019
Malloc allocates the number of bytes you tell it to plus a header.
 
11:21 PM
@DomagojPandža shit?
and lots of it?
 
Yup. :D
 
user142019
Downvote + closevote.
 
user142019
I rarely upvote things.
 
user142019
I should start upvoting again.
 
@Zoidberg Plus extra.
 
11:22 PM
lol, our Animated GIF room on Anime.SE is one of the busiest rooms today...
 
Can anyone attest to any of these? newegg.com/Product/…
 
Xeo
> Now I curious how many malloc does alloc
 
laptops too expensive
jesus
 
@KaliMa No, I have one of these monsters: asus.com/Notebooks_Ultrabooks/G53SW
 
Ell
Hmm. How do you get programming experience without a job?
 
11:23 PM
@Ell coding in your free time?
@Borgleader that is ugly as fuck
 
@Ell Writing code?
 
it looks like those old IBMs.
 
@Rapptz I can dry my hair with it :P It also weighs a ton
 
user142019
I guess he wants to know how many bytes malloc actually allocates, including header and whatnot.
 
@Zoidberg At least he added some spaces...
 
user142019
11:24 PM
:P
 
What you ask + header. Quantifying it all is useless, you know you're going to forget it the next month. :P
 
@Borgleader That looks pretty sexy
 
user142019
The header is a waste.
 
Ell
Yeah I guess. I need some project I can show as experience but have no clue what
 
user142019
I can keep track of the size myself thank you (highly likely I need to do that anyway).
 
Ell
11:25 PM
I want to write a library
 
I laugh at the notion of "gaming laptops".
Right along with "PHP is great".
 
Xeo
Okay, now I got Richard Smith to investigate the "default template-argument SFINAE" thingy, yay.
 
if only building laptops was easy :(
 
i don't need a laptop for gaming though
 
@DomagojPandža Plus extra!
 
11:26 PM
no good games anymore
 
user142019
Game on consoles and you never have to worry about specs again.
 
Ell
So who has any library ideas?
 
I have one, but I'm already working on it :P
 
user142019
C API wrapper for Ogonek :lol:.
 
Actually, I have an idea for a following project, but I probably won't touch it this year.
 
11:27 PM
font renderer
 
user142019
You sadist.
 
Ell
Well I'm not gonna try something robot will do later because hell just do it better xD
 
user142019
Write a statistics library.
 
ah, but then you can see how and why his way is better
 
Ell
11:29 PM
Statistics?
 
you will understand the problem domain
 
user142019
Or a library that plots graphs from a given function.
 
@Ell I won't do a font renderer, but I don't recommend you doing it.
 
Ell
Yeah sounds too difficult for me
I need to start with something acheivable
 
make a Wide IDE!
 
11:30 PM
Write a game engine, or a compiler. Seems popular around here :P
 
even Zoidberg did it.
 
user142019
template<class F>
graph plot(F function, double begin, double end, double step);
// \o/
 
@DeadMG As a library?
 
good point.
 
@DeadMG For some Zoidberg value of "did", i.e., didn't.
 
11:30 PM
Well, I've just been thinking... Just after playing around with the E8 Lie group... I am well versed in abstract algebra and a myriad of other obscure mathematical fields. And other than my curiosity, nothing else was satisfied with it.
 
@DeadMG did you not here me? I've made a full Wide tool set
 
user142019
@R.MartinhoFernandes Hey! Don't forget it's the best Wide syntax highlighter out there.
 
Impressive.
 
Must stop wasting time.
 
@DeadMG Better yet, a multi-language IDE
 
11:31 PM
@R.MartinhoFernandes It wasn't that bad.
considering how little of the language is implemented
 
user142019
@DeadMG You haven't even used it.
 
@ThePhD Well, you know? All the various scene graphs you export from max or Maya?
 
also, I just got an email from Google trying to recruit me (again).
 
I can't believe some people dedicate their lives to this stuff.
 
user142019
And you can't, since you'll need a Mac to run it.
 
Ell
11:31 PM
Maybe parsing some obscure file format :3
 
user142019
@Ell PSD >:^D>
 
@EtiennedeMartel So just use FBX then?
 
Ell
Is that the printer format?
 
Pale Shit Detox :$
 
@ThePhD You could.
 
user142019
11:32 PM
@Ell Photoshop.
 
Ell
Oh
 
user142019
I heard it's a terrible and arcane format.
 
Although... do you plan to procedurally generate the terrain?
 
@ThePhD Write yer own!
 
Ell
Isn't that closed?
 
user142019
11:33 PM
Write a debugging library!
 
For teh experienz0rz!
 
I've always assumed the D in PSD stood for Dick
 
@Ell No, don't do PSD.
 
@EtiennedeMartel Uh. I don't think so.
 
Ell
I'd need Photoshop to start off with xD
 
11:33 PM
What do you want to do, Ell?
 
Ell
Write a library
 
Photoshop Data?
 
user142019
Document
 
@ThePhD Well, then that means you''ll have to ask your artist to make everything in their tool of choice.
 
Hm that makes sense
 
11:33 PM
I prefer my version
 
Ell
something small and achievable by me
 
Hello World?
 
And then join all that together in a giant clusterfucked-shaped mess.
 
Ell
I have limited skill I guess, it would be just for experience
 
@thecoshman Ow.
 
11:34 PM
If you want to load stuff, you could play around with DDS.
 
(too far?)
 
can anyone recommend a laptop?
in particular that is
 
DDS is quite simple as a format. Also, there are about three zillions such loaders out there (figures).
 
@Ell make a math library
 
@KaliMa I'm going to get so much shit for this, but Macbook Pro.
 
11:34 PM
@DomagojPandža -1
 
:| what
 
no, I think they are a terrible thing to get. Either sit down at a proper computer or do something else
 
user142019
MacBook Pro for sure.
 
Ell
Is there anything people haven't done before? Or sucks ATM?
 
i'm not much of a mac guy
 
11:35 PM
@R.MartinhoFernandes What level of complexity is he going for? :D
 
Ell
Although I guess they would be difficult
 
Ell
Nor do I:P
 
But I think a DDS loader would be unsatisfying.
 
Ell
I'll give anything a shot
 
11:35 PM
Yeah, I thought it was a first time around.
 
It's pretty much parsing a header and loading a blob.
 
Ell
But a challenge is fun
 
Well you haven't taken anything up yet
 
Maybe invent a video format of yours? Doesn't have to be brilliant, just yours.
 
I've loaded DDS before...
It's not hard.
 
11:36 PM
@ThePhD Surprising.
 
It's extremely well-documented.
 
Ell
How about a video streaming something
 
And it can be direct-slapped into the GPU.
 
Ell
actually that wouldn't be a library
 
user142019
@Ell Write a build system library.
 
11:37 PM
So literally: read-header, read the rest of the file into memory, set up GPU texture, done. >_>
 
Or a basic DVCS
 
If you need more than that, than uncompress it to be a regular image.
 
@ThePhD Yeah, that's why I think it would be unsatisfying.
 
@Zoidberg I'm 'working' on one myself :P
 
Ell
11:37 PM
I kind of like the idea of a video streaming thing
 
@R.MartinhoFernandes Also, HEY!
I wrote my own because it was easy and simple and I neeed one to work with my Engine. D:
It's not like I redid any hard work. There's millions of loaders out there. ._.
 
@Ell the basics would be very easy, the compression is where the challenge will come from
 
Also, speaking of DDS, block compression and shit.
 
@ThePhD Well, that's not what I meant this time, actually. Many people have loaded DDSes before.
 
PVRTC WINS!
 
Ell
11:38 PM
Would using an existing codec be cheating? :P
 
@Ell depends what you consider you aims to be, if you are aiming to write your own codec, then yes :P
 
@R.MartinhoFernandes Well, if loading a texture were hard, the game industry would be fucked if everything else scaled wrt. :D
 
Ell
Maybe making a Skype clone
 
Or a game engine, a framework.
Basic one, support multiple code paths.
try to make it small, but sweet.
 
@Ell encryption is not a trivial area to work in
 
11:40 PM
Yeah, enecyption is quite complex.
You have to enecypate the things.
 
Enecyption is hardcore.
 
@R.MartinhoFernandes I fixed it!
 
Too late, enecyption is a thing now.
6
And apparently, it's not a trivial area to work in.
 
room topic changed to Lounge<C++>: All our communications are enecypted. [c++] [c++11] [c++-faq] [no-helpdesk]
 
user142019
11:42 PM
boost::variant<boost::none_t, ogonek::any_text, long long, unsigned long long>
 
user142019
Would that make sense? boost::none_t in boost::variant?
 
WTF is that?
 
uh oh. Had a ticket at work that is more or less "when launched with invalid parameters, lines don't open (as expected). When told to shut down, server crashes (not expected)." Got closed as "too hard to fix, and it's during shutdown anyway so we don't care". :(
@Zoidberg I don't see why not
 
Xeo
@Zoidberg boost::optional<T> is basically boost::variant<boost::none_t, T>, but wtf are the integers?
 
@Zoidberg however, ogonek::any_text, long long is terribad
 
11:44 PM
@MooingDuck Jesus, something like that would bother me and haunt my dreams.
 
user142019
I have to store either text or an integer.
 
Xeo
Store integer as text! :D
 
user142019
Eww.
 
Xeo
Stringly typed ftw.
 
11:44 PM
@Zoidberg I take back my complaint, I thought of valid reasons.
 
What are you doing now, btw?
PHP interpreter?
 
@MooingDuck perfect logic!
 
user142019
struct token {
    token_kind kind;
    boost::variant<boost::none_t, ogonek::any_text, unsigned long long, long long, long double> value;
};
 
Another parser?
 
user142019
Jawohl.
 
11:46 PM
@R.MartinhoFernandes mock my slow/non-existent progress if you must, but conceded that I do at least stick to it :P
 
C++ is a language of many semicolons.
 
@R.MartinhoFernandes Dun dun duunnnn.
 
What possessed someone to add the comma operator to their language
 
@Zoidberg Also, be sure to not grab the 0.4.3 tag because lots of stuff will break in 0.5.0. Trunk > 0.4.3 as is. Though I have a feeling you will move on before I get to 0.5.0.
 
no recs? :(
 
11:47 PM
@EtiennedeMartel I do wonder (a) where you find these (b) why you find these
 
user142019
@R.MartinhoFernandes I use master.
 
@MooingDuck I've always wanted the Unicode Snowman as a valid operator.
 
@sehe It's Bioshock Infinity promo material.
 
Ell
Hmm. How does a brute force knoiw if decryption is successful or not? I thought using the wrong key would just give garbled data?
 
Oh. Aha. Assuming that's another game.
 
11:48 PM
Yes.
 
aha "The most common use is to allow compound assignment without using a block statement, primarily in the initialization and the increment expressions of a for loop. This is the only idiomatic use in elementary C programming."
 
@Ell Usually, you know the protocol of communication or a "header part" of the encrypted data to recognize it. That's why it's called encryption. Numbers are semantically void to intruders. They might be looking at a gold mine and not know it.
 
Ell
Ah right
 
@DomagojPandža "thats why its called encryption"?
 
@R.MartinhoFernandes *Infinite
 
Xeo
11:52 PM
Damn. :( Richard Smith also has no clue about the default argument thingy and sent a message to CWG for now.
 
@MooingDuck Yes. The word "encryption" comes from "encrypted data" and "recognize" ("encrypt" from "encrypted data", and "ion" from "recognize").
@EtiennedeMartel Oh, right.
I should probably go to sleep.
 
@R.MartinhoFernandes I don't buy that. recognizing would be decryption.
 
Erm.
That was just some bullshit I came up with.
I honestly thought it was too stupid, hence the "I should probably go to sleep." bit.
 
Ell
Hmm I'll keep thinking of project ideas
 
@DomagojPandža "en" -> to do an action. "crypt" -> hidden or secret. "ion"->the process of.
 
11:55 PM
Well, it's a poor choice of words on my part. I should, too, go to sleep. But the general principle is, you have some data. You encrypt it with an invertible method. The data itself may be a part of a secret specification known only to two parties who are interested in it.
So, you decrypt it, you might have the right data and still have no idea what you've got.
That's what I wanted to say, I think. :D
 
yeah, I agree with that
 
Buttfuckit. :D
 
Shitloads of people say "roll your own". A lot of them recommende COLLADA or COLLADA-alike formats (XML for the level).
I guess I'll just make my own declarative syntax. Just keep writing it out until it looks like something I'd wanna use.
 
I've rolled my own because a) I'm a sucker for reinventing the wheel when feasible b) I needed a little somethin'-somethin' special because of my material system and the way it integrates between authoring packages and Empiria (editor).
 
Xeo
@R.MartinhoFernandes A very good plan, and I think I'll follow suit.
 
11:58 PM
@DomagojPandža Binary? Or ASCII?
 
Damn. I was just gonna post
 
@ThePhD Binary, of course. Modern models have way too much data encoded for ASCII. It would get fat really fast. :D
 
> "Now, it all functions based on random times and intervals between things happening" - so you have defined the process to be undeterministic. If that's a problem, don't do that?
 

« first day (872 days earlier)      last day (4091 days later) »