« first day (1782 days earlier)      last day (3391 days later) » 

user406009
00:02
@r3wt I wouldn't bother fiddling too much with build systems with first learning C++. I would either use an IDE or just call gcc (or clang) directly g++ myFile.cpp
std::make_unsigned
:O
user406009
For simple projects, that's what I usually do. Recompiling everything isn't that much of a problem when you only have a few files.
user406009
The build systems only tend to be useful for larger projects.
any recommended books for compiling daemons to run on linux. thats where my primary interest is. building some simple services that run on a server or group of servers
user406009
A daemon is nothing special. It's just a long running program. Which usually has options for graceful restarting, logging, etc.
user406009
00:06
The more interesting topic is what the daemon is actually doing :)
Well, that's it.
I attempted to appeal to my Professor.
And he said that he would not budge.
Things will go the long way for some time to come.
Ell
Ell
What about?
user406009
@r3wt What exactly do you want your daemons to do? Then we can provide some better advice.
Eh.
It doesn't matter
Ell
Ell
if you don't want to share of course that is fine :)
00:08
It just means I'm going to need to get some serious cash, fast, if Federal Aid might be denied to me.
Ell
Ell
I would be happy to listen tho
ah I see :/
I grow somewhat weary of being jerked around on this chain...
Maybe one day things will be easier.
@ThePhD What kind of program are you in?
Computer Science.
post grad?
00:11
Not even.
Undergrad, still.
profs seem a lot harsher on students when they are undergrad, esp juniors
i hope everything works out for you
Ell
Ell
I hope so also
00:49
Morning
Ell
Ell
@mai morning
I should sleep
Goodnight.
I should too...
user406009
@MaiLongdong Your initial prediction was right.
user406009
They killed StarGazer today.
00:52
I'm always right, most of the time.
user406009
(Well, they fixed the chat code which accidentally exposed user names)
It did not take long.
user406009
14 days.
It was to be expected
user406009
14 glorious days.
00:53
Hey guys.. please have a look at my question
user406009
You might want to check the rules (loungecpp.net/the-law/the-rules)
3 messages moved to bin
user406009
@MaiLongdong You might have missed it, but we are doing a game jam this Saturday (or whenever in your time zone). The Google doc signup is posted on the starboard.
@MaiLongdong Mooooooooorning.
01:10
@Lalaland @Bartek still hates me from the last jam we did together because I was drunk
Also gargle docs blocked at work D:
@MaiLongdong For what?
Paranoia
Also, for your viewing pleasure:
#define  FID_GRRGSGDBZGJE       9359  //¸öÈËÈϹºÉ깺µ¥±Ê×î¸ß½ð¶î  DT£ºR
#define  FID_GRRGSGDTZGJE       9360  //¸öÈËÈϹºÉ깺µ±Ìì×î¸ß½ð¶î  DT£ºR
#define  FID_MCDJSL             9361  //Âô³ö¶³½áÊýÁ¿  DT£ºC
#define  FID_JGRGSGDBZGJE       9362  //»ú¹¹ÈϹºÉ깺µ¥±Ê×î¸ß½ð¶î  DT£ºR
#define  FID_JGRGSGDTZGJE       9363  //»ú¹¹ÈϹºÉ깺µ±Ìì×î¸ß½ð¶î  DT£ºR
#define  FID_LCCPBZ             9364  //»ù½ðÀí²Æ²úÆ·±êÖ¾  DT£ºI
#workingInChina
Ell
Ell
I make A prediction that Europe will get big army and cause wwIII
@Ell My prediction is that Idiocracy will move from the Fiction to the Documentary section.
My prediction is that EU is kinda fucked atm
not a prediction
The whole world is pursuing money as if it were the ultimate goal
It is very discouraging
user406009
01:21
Capitalism has been somewhat effective though.
I'm not saying it hasn't, I'm saying people are abusing it
It's spiraling out of control IMO
user406009
Yeah. I am especially worried about the increasing income inequality as well.
Exactly
02:08
Lounge is ded, please come back later
user406009
user406009
Such a dysfunctional person.
Rest In Peace, Lounge. Never more shall ye be disturbed by badly formatted debugging questions.
At least for the next hour
user406009
Also, we need to increase the counter for the room topic.
02:23
@Lalaland :|
I..err...
Actually, I'm not sure we do.
user406009
Did someone discover a new ICE today?
Hey guys, it's been a while since the last time I checked LoungeCPP.
user406009
Welcome back then.
Thanks, Lalaland! But, why are you guys saying it is dying?
user406009
It just gets rather quite around this time. Since most people are in the EU.
02:25
It depends on whether or not it's supposed to fail to match a definition of a specialized static member function of a class template to its its declaration in a header file, unless they both use trailing return type.
user406009
It isn't dead, it's just that this is a slow time of day for the lounge.
IT'S ALLLIIIVVVEEEEE.
@Nooble That's a lie!
user406009
@Yamaneko If you actually are planning on coming back, Domagoj changed his name to Elim Garak (if you remember who Domagoj)
@jaggedSpire Did you get your quiet-put-on-head thing.
02:27
@Nooble They left a ~~So sorry we missed yoooouuuu ;)~~ note
Well, at least there's a note.
I like the new Google logo, don't you?
@Lalaland Did he use another name before Domagoj? In this room, I remember Cat Plus Plus, Xeo, R. Martinho Fernandes. Well, I think they have never left.
I'm contemplating going into work an hour early tomorrow so I can get home in time to get to the post office tomorrow.
user406009
@Yamaneko No.
user406009
02:29
And yep, they are still here. Just in a different time zone.
user406009
I think Cat's gotten more and more cynical as time has gone on though.
@ʎǝɹɟɟɟǝſ I do c:
@jaggedSpire Do it.
@Lalaland More cynical? It's not possible. Almost overflowing, haha
For the sake of hearing mumblers better
@Nooble Okay, I'll go to bed in thirty minutes then.
02:30
i think the old one was more recognizable
@Yamaneko Did you have another account prior to this?
@jaggedSpire Or just sleep less.
@Nooble And also my games. And music.
You barely have 80 messages in here
@jaggedSpire But mostly mumblers, for our voices are music.
@ʎǝɹɟɟɟǝſ I have 20,000!
02:32
@Nooble I spend forty minutes in a metal contraption moving between 40 and 65 miles an hour on the way to work. It probably weighs upwards of a ton. I am not doing that on less than seven hours of sleep.
@ʎǝɹɟɟɟǝſ My previous account was still this one, but my name was Victor Hugo.
I don't remember you
@jaggedSpire Do not worry, I have a great idea.
@ʎǝɹɟɟɟǝſ I wasn't that active in the group, though.
I didn't interact a lot.
Dec 3 '13 at 0:52, by Jefffrey
@sehe Nope, the unary operator- of the sob::vector was actually reversing the x and the y of the vector instead of returning a reversed copy.
lol
02:34
@Nooble ...what idea would that be?
The longer you drive sleep deprived, the more likely you will end up in an accident. So, to not get in an accident this still be able to sleep late, we need to minimize the amount of time you are driving--by driving faster.
@ʎǝɹɟɟɟǝſ a sob-vector, eh?
Glorious sssnake
@jaggedSpire <x, y>
A geometrical vector
user406009
@Nooble Your model is incorrect. The risk is a function of both time, sleep deprivation and speed.
02:35
sob was the namespace of Snake On Bits
@jaggedSpire Try driving at 120ish miles per hour, this will cut your commute time in half and therefore reduce the likelihood of an accident.
@Lalaland Shhhhhh.
@ʎǝɹɟɟɟǝſ ruin my fun
@Nooble And give more time for sleep!
Flawless
@jaggedSpire Oh, was that a joke?
user406009
There's always the "solution" of more coffee.
@ʎǝɹɟɟɟǝſ sob-vectors make you cry because of their surprising behavior, I was thinking.
02:36
Woops.
They don't call me a cool-idea-koala (cok) for nothing.
@ʎǝɹɟɟɟǝſ Eh, I still learned something
Anyway, nn
@jaggedSpire There's another idea for that.
user406009
02:38
Also, @Nooble, what exactly is github.com/Skorezore/Gaem?
user406009
It looks more like a game engine project than a game.
You can drink alcohol (which does make most people a bit sleepy) whilst driving.
So you can sleep while you drive fast.
@Lalaland It's an artistic statement nab and I worked on.
@Lalaland It's an artistic statement on the state of today's games industry.
user406009
@Nooble So I see you've gone straight from text interface games to full on 3d.
user406009
What a smooth transition.
02:40
@Lalaland Yeah.
user406009
2D is too easy? Too normal? Too cliche?
2D text games are games too, end the impossible standards set by the media!
@Lalaland Too easy.
@ʎǝɹɟɟɟǝſ are you sehe?
Yeah.
user406009
@Yamaneko He's not. sehe kept his name + logo.
02:41
And I'm the almighty Jerry Coffin.
user406009
Like I said, time zones are the issue.
user406009
Cause sehe is somewhere in Europe.
user406009
And it's like 3 AM there or something.
Is there some short hand way to move an element from one std::queue to another?
user406009
@Mikhail Push and pop isn't simple enough for you?
02:44
@Lalaland Too many lines of code
@ThePhD I finally figured out how that wretched tinyobjloader works! You use mesh_t.indices and multiply it by the amount of whatever per vertex (2 for texture coordinates) and use that number and index it with the respective container!
user406009
b.push(std::move(a.back()));
a.pop();
user406009
That should work.
umm, doesn't that make a copy?
You see, I wouldn't have had to investigate whatever the hell that library did with the data it was given if it were properly documented.
02:45
...is there an emplace for queues?
Remember kids: Documentation is Good™.
3
user406009
@Mikhail It shouldn't. If there is an appropiate rvalue constructor.
@Lalaland Okay, but if you didn't have the a.pop, wouldn't you expect the item to be also in a?
user406009
@Mikhail I would double check though.
@Mikhail If you're concerned, emplace looks like it's present for queues and you can just move-construct in place
user406009
02:46
@Mikhail How rvalues work is that it leaves an "empty" object in a.
@Lalaland StarGazer is kill :(
@Nooble It's one of the main issues with OpenCV. It's getting better with the new versions, though.
user406009
@Nooble Didn't you hear StackOverflow killed it.
user406009
> STACKOVERFLOW IS ON TO US @rlemon. THEY'RE COMING AFTER OUR EXTENSIONS. THEY HAVE ALREADY KILLED MY STAR COLLECTOR!!!!
user406009
They fixed their bug in their api.
02:48
Again
Two times the charm eh
user406009
@Mikhail For example, if you do std::vector<char> a{std::move(b)}, b would be an empty std::vector after this line. (I don't know if that state of b is exactly specified, but that's the general idea)
user406009
@CatPlusPlus Talking about when they killed the flag bug?
user406009
I was hoping that my thing was more "innocent". Oh well. They only fixed part of their api, so I might just migrate StarGazer over to the still "broken" part.
user406009
But then they will probably fix that part as well.
02:52
Someone reported it I bet.
COUGH RIGHTFOLD COUGH.
Ha ha.
user406009
Oh well, bed time.
It's 9:55 for you though.
@Lalaland lol
@Lalaland What's this about @sehe ?
I want to give up
why do I even bother
this code urgh
02:58
@MaiLongdong Sharing is caring!
help @Mr.kbok
@jaggedSpire Time to sleep.
Or risk dying/not getting headphones and committing suicide tomorrow!
@Nooble bleh
@Nooble buh
@MaiLongdong Nooble prioritizes headphones over life and limb
03:05
he is unworthy
@Nooble What.
I should be able to finish the rendering engine on Thursday and relax on Friday.
What are you working on?
@MaiLongdong A game jam engine!
is that allowed
03:08
As long as its open source.
'n' shit.
@MaiLongdong It should be.
@ThePhD I found out the reason why indices isn't a vector of vectors.
It's hard to explain, but it works!
It's interleaved?
> Everything You Need to Know to Write Good C Code
how to write an code
@ThePhD No. Take for example texture coordinates (s, t), you multiply an element of indices by two (because s, t) and use that number to index texcoords.
@MaiLongdong Why do articles with titles that promise a panacea to bad personal code habits make me edgy?
03:12
@Nooble What.
I realized this because positons.size() / texcoords.size() is always 3/2.
Haven't seen any flags in hours - you're letting me down guys in the drama department guys :p
inb4 flag
SO chat is dead
@Nooble Oh. Right. It's a vector of floats.
Not a vector of vector2
03:15
@JonClements We'll get right on that
Or a vector of vector3
Yeah.
Well, there ya go.
Everything you need.
Packed all nice.
If you want, you could make it easier by casting it to an array of float[2] and stuff.
Now we need drama or something.
It wasn't a request though :p
03:16
@ThePhD I'll be using glm, the math library.
@JonClements You know what is a request: give me a blue name!
Oh darn. I guess I'll put away my List Of Ways to Make People Angry
Shog promised.
And back away from the C# room
@MaiLongdong oooooooooooooooh
OOOOOOOOOOOOOOOOOOOOOOOH
@Nooble Should be compatible to just glm::vec3* texcoords = reinterpret_cast<glm::vec3*>( mesh.tex_coords.data() ); std::size_t texcoordssize = mesh.tex_coords.size() / 3;
03:18
stirrin' up the drama
OOOOOOOOOOOOOOOOOOOH.
with some high quality flags
@MaiLongdong WEOHWEOHWEOH here comes the drambulance!
wtf declined
@ThePhD Yep, was thinking of doing that.
03:20
Guess I was dumb not or looking properly.
Then again, the library is dumb for not making a basic struct tex_coord { float v[2]; } or w/e.
The entirety of today was spent on figuring out how tinyobj loader worked.
I wonder how doing software development as a job is like.
Must be hell.
@MaiLongdong Beat me to it.
I guess it depends on what you're working on.
Yeah I suppose
I personally am working on crap all day everyday
@Nooble ask me in another 20 years... if I'm still sane... but heck, as long as I don't become one of those human things, instead of puppy in a ninja costume - I'll be fine and all that!
03:25
@JonClements Perfect, adding you to the list of people who promised me a blue name :)
@MaiLongdong :(
@Nooble just use a custom style sheet sheet and do it yourself :p
@JonClements I suppose...
see how many people you can get to call yell "smurf" or something :p
Wow, even the mods are aware of the nickname?
amaze
Deadlines are soooo much pressure.
03:36
I have more difficulty dealing with crap code and architecture than deadlines
If the planning and software are well thought out, deadlines are easy to meet
If it's a clusterfuck no way
A wild Jerry has been spotted.
@Nooble Aces high, spotted Jerry's are wild.
@JerryCoffin Aces, wild spotted Jerry's are high!
@Nooble But I didn't inhale!
@JerryCoffin Jerry Clinton.
03:49
@Nooble Perhaps--depending on what the definition of "is" is.
@JerryCoffin I knew the C stood for more than just Coffin.
@Nooble It does, but Clinton is the wrong track. JC is a popular set of initials among deities.
@JerryCoffin Haha.
04:08
So I just looked at DirectX's API.
How do people work with this.
Not sober
oh dear... just made me think of my initials now sighs
@JonClements You are a god too!
And so is Johnny Cash.
Huge fan of Johnny Cash, but also George Jones and Alan Jackson (the only one alive now)
@CatPlusPlus I see.
Well, there's no such thing as too early to become an alcoholic!
Whenever I decide to make a DX backend for my engine (read: never).
04:14
Engines are boring
@CatPlusPlus It's a learning experience for me, so it's kinda fun.
And I need something for the jam.
04:37
@Nooble Use strawberries
I need little help. Anybody know how to change icon of uninstaller.exe in nsis?
We do not work with ncis, sorry
@Mike std::change_icon
04:52
@Mike Panty sniffer Dependency hacker
@Nooble message failed to parse; try again
hi anybody knows how to fix " Lost connection to MySQL server during query " error. I am using c++ to connect MySQL database.
@KuldeepMore Have you tried exit(0)?
05:08
@Nooble No , whenever I get this error , I am trying to re connect the connection.
I hate my phone.
@KuldeepMore Try using assert(false).
Or std::runtime_error("programmer is an idiot").
a idiot*
06:00
So, whats the purpose of the GC support in C++11?
Ensuring GC works.
Umm, but we can't have GC in C++ because not all virtual destructors are know at all code points?
GC is a fait accompli. The GC support helps with some imprecisions in the language and adds some standard hooks for better interoperation (between C++ implementation and GC).
But what does it do... Certainly it doesn't keep track of all the allocated pointers, like a real gc, not to mention that pointers can come from malloc or other terrible system internal functions or more frequently CudaHostAlloc.
Memory is automatically reclaimed. No (deterministic) destruction is performed. Some GC may offer finalizers, which are something else.
06:06
So if a pointer is leaked, the gc knows that?
@LucDanton What imprecisions
@MaiLongdong Mostly to do with threading IIRC (which wording also came with the GC wording).
Cross-threads heaps are a bad idea
COW is an expensive beaste
Messaging is not
Shared mutable state causes cancer
06:09
Yep, that seems to be the conclusion from all the benchmarks
On the other hand messaging can involve global locks
and the biopsies
No locks only tears atomics
unique_spin_lock
What if we could use memory protection to pass data efficiently, and access violation would act like synchronization primitives?
you mean like copy on write
:D
But with no copy
access fault triggers a synchronization event
until the thread/prcoess has memory access it is going to sleep
06:15
So, transparently-synchronized memory pages?
I don't know what that is, my background is in E&M :-/
Essentially what your idea is "when I access memory at address p, ensure this is the latest version of it and no other threads are writing to it"?
Is that right?
Yes, and also let the thread wait until it has those access writes. But my idea is more of a hardware thing like tagging the memory, what you mention can be done without hardware by checking memory ranges or something awful like that.
Yes, well, copy on write uses "memory tagging" like that.
My only question to you is: when does a thread say it's done with the page?
free(ptr)
06:21
Weird semantics
So, I think we can speed up local message passing by avoiding moving the memory (I think this is normal), but we can maybe make the programming easier by threads being notified that the memory has arrived but doing so implicitly with a hardware mechanism that automatically sleeps the thread until data has arrived. Like an implicit message queue.
06:42
> The tentative plan is to add [Semigroup] to base in 7.12, expose it in Prelude in 7.14, and make the superclass constraint go live in 7.16, with suitable warnings as it goes, so 7.12 will be a lot like 7.8 for the AMP, but with a slightly longer build up to the cut over.
so slow
06:55
i understand what u told about matris initialized inside the main.... Can i hug you?? Thanks for totally help. — GoldenMedal Jun 23 '13 at 19:07
treasures
4 hours ago, by Mai Longdong
I personally am working on crap all day everyday
@MaiLongdong how do you know my job?
I am you, me.
@sehe flagging as too chatty
(kidding)
(ok)
flagged as rude ofc

« first day (1782 days earlier)      last day (3391 days later) »