« first day (1156 days earlier)      last day (4018 days later) » 

17:00
Well, fuck distress beacons.
Xeo
Xeo
hahahaha
@Rapptz that's nice
Xeo
Xeo
I really like how they did that
@Ell At the accepted answer: poor Java, got stuck at the old C++ mindset, while C++ mindset, unlike Java's, managed to evolve...
eh I am not sure for how long I can insult JS sort
17:02
hmm
@Jefffrey relaxed constexpr would make it better imo
equals would be turned into a less error prone loop..
@Xeo "Hey, craft this!" "Oh look, an unbeatable boss fight!"
Xeo
Xeo
@EtiennedeMartel "unbeatable"?
Got my ass handed to me.
Xeo
Xeo
Also, you can't say they didn't warn you
They did.
But I'm used to games not fucking you over after 45 minutes of play.
Xeo
Xeo
17:05
And I also got the impression, that the boss is rather easy
I had a shitty bow and a shitty sword and no armor.
Xeo
Xeo
Especially since they seem to have nerfed him
@EtiennedeMartel Run and shoot! :D
is Starbound more fun than Terraria?
Xeo
Xeo
But yeah, I can see where you're coming from
> return other.size() != len ? false : i == len ? true : str[i] == other[i] ? equals(other, i + 1) : false;
17:06
I didn't like Terarria too much :s
That's the most unreadable line I've seen this week :P
I was thinking "oh, they're gonna throw some easy shit on me because it's still early in the game".
But then I realized: oh, wait, it's an indie game, they don't hire professional game designers!
Xeo
Xeo
Eh
starbound seems interesting
@EtiennedeMartel Is that how you view every game?
Seems to be a common theme here.
Xeo
Xeo
17:07
@Rapptz I evidently did, with 260h on record...
@Rapptz I could say completely insane shit and you'd still take me seriously.
@Xeo Yeah it just.. wasn't my kind of game I guess.
Xeo
Xeo
If you didn't enjoy Terraria, I think it's rather unlikely that you enjoy Starbound.
I wonder how far I can push it...
@EtiennedeMartel Well in lined with your other opinions they're not far off so I can't dismiss them completely.
Xeo
Xeo
17:11
Poe's law?
I guess
jesus christ
@Xeo iunno, like everything I'll probably give it a try.
with AVX2 I'm encrypting using my encryption algorithm at twice the speed
1.5 cycles per byte
Can't say I dislike or like something without trying it.
17:13
that's 67Gbit/s on a 3.4Ghz intel i5 4670K using all 4 cores
Ell
Ell
@nightcracker your encryption algorithm?
fucking shit. Still trying to finish this final project. I hate Matlab!!
@nightcracker Also intel has hw support for AES
@cyberspace009 matlab is decent
@BartekBanachewicz pffft.
@cyberspace009 what makes you hate it?
17:20
@BartekBanachewicz the teacher
@cyberspace009 then you hate your teacher, not matlab
@BartekBanachewicz my encryption algorithm is faster than AES with hw support
@BartekBanachewicz he's presenting it wrong. Im taking this image processing and computer vision class btw.
@cyberspace009 ironically, I am doing image processing ATM
in JS, though
@BartekBanachewicz using matlab?
oh
JS? in image processing???? Is it better?
17:22
@nightcracker Wouldn't that tend to depend at least a little on the HW support in question? You're trying to compare an algorithm to an implementation, which rarely makes much (if any) real sense.
@cyberspace009 works well so far.
@JerryCoffin let me rephrase that: on core2 intel processors my encryption algorithm implementation is ~0.5cpb slower than AES-GCM with AES-NI hardware support, on haswell (avx2) intel processors my encryption algorithm implementation is ~1cpb faster than AES-GCM with AES-NI
@BartekBanachewicz wow. Well, matlab is a pain because the teacher just does not know how to teach. The TAs are somewhat decent but they were always available. The professor was hardly available in his office hours. Good thing matlab has a good documentation site.
@cyberspace009 all I can read is "matlab is ok but my teacher sucks"
universities suck in general, so what
its sad i need this university to get a job
need that golden ticket
17:25
yeah join the club
@nightcracker That sounds a whole lot more believable/reasonable (at least to me).
university only sucks if you think that all knowledge will be handed to you on a silver platter
14
@nightcracker if you don't think that it still sucks
it provides a platform you can use to acquire a lot of knowledge, fast
except mine does not
(The internet|Stack Overflow) provides a platform you can use to acquire a lot of knowledge, fast.
17:27
@BartekBanachewicz so how many professors have you approached with questions/things you did
@nightcracker a lot.
@BartekBanachewicz what university are you in lol
@nightcracker apparently the 4th best one in Poland.
@JerryCoffin but let's not forget that ~1 cpb on 2.5cpb is still like 40% faster :)
according to some rankings pulled out someone's ass
17:28
@BartekBanachewicz so the 4th best of a country that's probably not in the top 20 (this is pulled out of my own ass, please don't be offended)?
@nightcracker I am not, why should I be.
I am fairly positive that ICL or MIT are amazing.
hmm that was a bit harsh, sorry =/
but I didn't go there so I am suffering.
I think Universities vary (rather widely from what I've seen). IMO, a large part of the benefit of a university is simply having some time when you're (typically) away from home, so you're somewhat free to learn, and not a whole lot else is expected of you. Classes tend to get in the way of learning, but a lot less than having to support yourself and/or live with your parents and (possible) siblings.
@nightcracker you don't need to be in the slightest.
the earlier someone finally realizes education in Poland is terrible the better
@JerryCoffin my classes are way more annoying than my work. a) I can freely pick my work schedule b) No one expects me to continue working at home.
c) I do a lot more advanced and interesting stuff at work.
17:31
Alright, I need to go buy some stuff and there's snow storm outside.
d) My work colleagues are way more experienced than college tutors
It's gonna be amazing.
e) I am actually paid to do stuff there.
A great deal also depends on the person though. Some can and do learn quite well with no more guidance than a few books and some time to experiment. Others really need a professor to tell them things, and specific assignments to carry out.
if you need someone to set up assignments for you then I don't see how you can become a proficient programmer
17:33
Oh, there's the horse thing again.
@EtiennedeMartel Thanks for the wonderful reminder of what I really don't miss about living further north...
@R.MartinhoFernandes what horse thing
@BartekBanachewicz I do. First of all, people's personalities change as they mature. Second, they can learn from how assignments are parceled out, and figure out what's a reasonable chunk of work to expect based on proficiency.
that still takes years to be valuable
and I mean real experience years not shitty uni years
like, when graduating, you are hardly the one qualified to assess how much time a task will take you or someone else
Aren't you contradicting yourself now?
17:37
am I?
You said that you don't see how you can become proficient if you need someone else to tell you what to do when.
@BartekBanachewicz Perhaps. Then again, perhaps not. There are also quite a few programmers who basically spend their entire careers carrying out fairly specific assignments. As much as we might hate to remember it, a lot of code in the world borders on boilerplate, but somebody still has to write it.
Then you said you can't do that when graduating.
Xeo
Xeo
@JerryCoffin Robots! :P
@R.MartinhoFernandes you have to learn that yourself, and the university time is not enough
and someone giving you tasks won't speed that up
17:40
...
5 mins ago, by Jerry Coffin
@BartekBanachewicz I do. First of all, people's personalities change as they mature. Second, they can learn from how assignments are parceled out, and figure out what's a reasonable chunk of work to expect based on proficiency.
The whole idea of "I need to be told what to do" is extremely stupid IMHO.
but if we want to produce robots, as most universities tend to do, it's fine I guess
it basically implies the person has no goals and/or motivation to pursue them WRT programming (not career)
maybe I am oversimplifying here and/or being too general
@BartekBanachewicz What do you base that "most" on?
@JerryCoffin Well, it's not that bad. Rent is cheap.
@R.MartinhoFernandes on the limited number of samples taken from people from universities other than mine
I am afraid my code has too much CPS
17:50
@BartekBanachewicz Why is that?
It's not that you need. Is that it helps.
Because as you said, you are not qualified to choose that properly.
@R.MartinhoFernandes but OTOH the time of assignment is the same for everyone. How does that make sense?
The only problem I have with my university is that it only has 3 courses regarding programming languages out of the 21-22 there are in 3 years (in which one is C with classes and another is basically Qt and how not to program in C++).
everyone learns differently. Each person is unique on learning certain subjects. The way I learned how to program was by pushing myself to do it. The university did help me understand programming a bit more. However, most of it was me
@EtiennedeMartel Well, I think as close to the lakes as you are, at least it's not as deathly cold. I still remember a winter when it went for 100 days straight without the temperature ever getting warmer 0 F (-18C).
17:55
@JerryCoffin That's warm.
@EtiennedeMartel Try it for 100 days straight (of which many were more like -40).
Yeah, there was this one time where that kind of cold lasted for a month.
And lack of specialization. Unfortunately my study plan is fixed like a pole.
I just hope I pass this AI course so I can graduate on my last next semester.
@Jefffrey An obvious attack on Bartek's inflexibility. You need to take that back and apologize! :-)
18:06
implementing globbing is more annoying than I thought :/
@ScottW hi
@Jefffrey My local university teaches C with Classes. I tried helping them out and told them they should use C++ Primer as their new book and probably improve their curriculum but they ended up choosing C++ Primer Plus as a mistake. Maybe next year it'll be better. :P
@ScottW who am I? Just your average programmer in this crazy world.
@ScottW My name is what you see in this lounge.
Scott wants to make love to you.
@R.MartinhoFernandes I can see that.
18:10
stupid globbing and its dumb ** rule :(
@ScottW 11000011110111 and 10001010101010101111111000
@Rapptz typical
I bet this wasn't a mistake
C++ Primer just had too little pointers
Nah, it was an honest mistake.
well the naming is very unfortunate indeed
0
Q: C++ not running in background

user2336634I have a c++ program (yes, its a virus) that generates random files filled with gibberish, but for it to work (I am not going to give it to anyone) it needs to run in the background. I have made other programs using the background method used, but it doesn't work in this program: #include <iost...

18:15
@ScottW nice. Good luck on potion lore.
pro virus
Alright, time to try some Teslagrad.
@Rapptz pro goto
@Rapptz Unfortunately I still have to read C++ Primer myself. But I've heard about the big difference that a "Plus" can make :P
@Rapptz also wtf this - compiles
yeah it's a totally reasonable thing to subtract a window from another window
18:18
@ScottW im searching for it. No website?
a result is a potato.
@ScottW sup
@BartekBanachewicz you should get the intersected area between the two windows
@Jefffrey a potato makes way more sense
@ScottW sure. I'll let you know once I'm done with this final project.
18:20
@BartekBanachewicz Pointer arithmetic..
pointers. Such powerful tools.
HWND is essentially void*.
at that point, why have types at all?
when you can just use void* for everything?
@Rapptz That would not compile.
thing is you shouldn't
18:21
Cannot do arithmetic on void*
they prolly made it char* to make it work
I would honestly suspect someshit like this
for whatever reason
@ScottW I was thinking of getting my masters. Better work first and payoff my student loans.
well..
typedef HANDLE HWND.. then there's... typedef PVOID HANDLE... then there's typedef void *PVOID.
Xeo
Xeo
-- it begins!
defaultState :: SnakeData ()
defaultState = do
  put $ SnakeData { _field = makeField 10 10, _snake = startSnake }
  F.forM_ startSnake $ \(Piece (x,y) sym) -> do
    field.ix x.ix y .= FilledTile sym
so yeah, I guess it is a void*. Thought I was wrong :s
18:23
@Xeo you too... ? well I guess it's haskell so it doesn't count
idk why it compiles then
Xeo
Xeo
@BartekBanachewicz Just for fun, want something simple to get started with some graphics package
It's a void * because they want to make sure it's the size of a pointer. But it's not meant to be used as a pointer.
@EtiennedeMartel yeah but it's still a pointer as far as the compiler sees it.
The compiler can't look into the void.
18:25
but it cries
man, feels good to be doing drugs again
Xeo
Xeo
@BartekBanachewicz Also, lens is beautiful as soon as you understand how it works
@BartekBanachewicz weed?
abstinence sucks
@BartekBanachewicz What?
18:26
@BartekBanachewicz ..?
@Xeo you know, I am not sure if I can explain all my feelings about it, but... I know that it's good. But I can't force myself to just make the leap of faith however you call it. And this uni project popped up.
lol your reactions are nice.
sorry for that little troll of mine, it's just tobacco snuff
dumb question
Xeo
Xeo
@R.MartinhoFernandes I wonder, why is mapM_ in Foldable and mapM in Traversable?
@BartekBanachewicz you remind me of a pipe smoker I once saw on youtube.
18:27
@StackedCrooked hm?
@BartekBanachewicz this guy because he looks a little bit like you
does he
wait he does?
In my mind he does.
what?
oh wait his profile pic. Yeah.....
18:30
@StackedCrooked Hope google doesn't think I smoke pipe now.
is bartek cutting cocaine of something, in his profile picture?
he's sniffing methamphetamine.
Lets cook
@Rapptz with an eye
18:31
@Rapptz I don't need that to act like a Bartek
dunno if that's good or not.
@StackedCrooked imma buy a pipe one day.
Xeo
Xeo
hm... fammit, no food at home
come here, Natalia made awsum dinner today and there's plenty left.
@Xeo Hmm, same here :S
who is natalia
Xeo
Xeo
@R.MartinhoFernandes We should meet up and go eat somewhere.
@Jefffrey make a guess
18:33
you know guys, if you came visit Poland and stayed long enough, you would actually save money
@Xeo I'm afraid I would get plonked if I did
@BartekBanachewicz what language do i need to learn how to speak polish. I rather respect the poish culture and its people
Xeo
Xeo
Seriously, it's not hard to guess who that is
his mum
Xeo
Xeo
18:34
okay, maybe it is
I've never called my mom by her name.
@Xeo Well, there's actually plenty of food here, but I need to invite myself into one of my flatmates' dinner plans.
Xeo
Xeo
@R.MartinhoFernandes :(
how come when I look at C code I see weird function definitions like..
void f(a) int* a { }
Xeo
Xeo
old-style
18:35
@cyberspace009 what language do i need to learn how to speak polish does not compute
Xeo
Xeo
aka K&R C, IIRC
I must be looking at some ancient C code.
Xeo
Xeo
@BartekBanachewicz Maybe it needs to be in reverse-polish-notation?
except I see it a lot
@Rapptz or just zlib
Xeo
Xeo
18:35
@Rapptz Very ancient
@BartekBanachewicz whoops.
is it still accepted?
@Xeo haha good one
Xeo
Xeo
no
although GTK still has a ton of old style too
18:36
shit man
this post is from 2011 and still uses it
@Mgetz oh man I am using things built on this library
is she his wife / girlfriend / sister / roommate / friend with benefits or daughter?
Xeo
Xeo
daughter would be funny
I am not that old to have a daughter who would cook for me.
@BartekBanachewicz sometimes it's better to just take the binary distribution and not look at the source...
18:37
is it your bottom bitch?
> it
let's objectify women!!
lol
I once saw a woman and she totally was an object.
@Jefffrey yeah but then we have to overload operator new
> The one girl the pimp reserves for himself, or the player's favourite girl.
18:38
I learned that joke from Southpark.
@BartekBanachewicz yup
I'm glad to have increased your slang knowledge.
Xeo
Xeo
Wait a sec, @Stacked fumbled around with Haskell in '09?
obligatory.
18:40
TIL people do code golf in C#
poor people.
that's like driving a Smart car in F1 race
@BartekBanachewicz hahaha. My sides
@Xeo I fumbled around with it mostly in 2006 but didn't get really far.
Xeo
Xeo
@StackedCrooked Oh wow that's long ago
I finished the YAHT tutorial then.
18:41
eh I can't force myself to code that thing anymore
OTOH I don't want to leave it in that state
Xeo
Xeo
22
Q: Can I get a fresh start in C++ without failing again?

Kerrek SBSometimes it's nice to start over. In C++ I can employ this following simple manoeuvre: { T x(31, Blue, false); x.~T(); // enough with the old x ::new (&x) T(22, Brown, true); // in with the new! // ... } At the end of the scope, the destructor will r...

@Xeo btw, why do you ask? did you find an old post of mine or something?
Xeo
Xeo
@StackedCrooked Yeah, I thought the above question was yours (I misremembered) and going through your questions I saw the one about a graphics lib
lol my question got closed because they didn't like the answer. how unfair!
wowowo that thing works
18:45
@StackedCrooked nazis
@StackedCrooked Summon the lounge army
@Xeo lol, I wouldn't have got it without reading the comment
@StackedCrooked link?
it's an old haskell question
I can now negate the image then quantize it
18:46
I don't really care.
prolly has a million bugs but who cares
Xeo
Xeo
hm, guess I need to order something
is it a vector?
hey! stop stealing jokes!
did I steal that one?
18:47
yeah, I was gonna write it myself
@Xeo I don't get how that's valid code.
You can't call the destructor explicitly unless it's a pseudo destructor call right?
consequent quantizations still damage the image
that kinda sucks
@Rapptz What's a pseudo destructor call?
18:49
~T()
for generic code
Xeo
Xeo
pseudo-destructor-call is for built-in types
user3010322
You can call destructors explicitly too. o.0
user3010322
me.~my_class();
@ThePhD I'm pretty sure that's UB
I don't think so
Xeo
Xeo
18:51
^
user1804599
@Rapptz of course not.
I am 100% sure it's only possible with placement new
user3010322
Whether or not your destructor can handle being called twice, well...
You guys were the ones who complained to me about that
:|
there is a difference between wise and undefined behavior
18:52
> Destructors can also be invoked explicitly.
12.4.11 (very bottom)
it's not wise to call the destructor explicitly in most cases
but it is perfectly very legal to do so
the standard library does it often IIRC
Then you guys all lied to me :v
especially MooingDuck
@Jefffrey Those are with placement new
user3010322
Unless you;re making a special class like vector or std::allocator or somrthing.
@Jefffrey You misread
user3010322
18:54
I do it in my uninitialized class. :D
That says implicitly.
Xeo
Xeo
@Rapptz Uhm
Destructors are never called twice.
> 11 Destructors are invoked implicitly
user3010322
18:54
@R.MartinhoFernandes Whistles.
An object's lifetime ends when its destructor is called.
Xeo
Xeo
Are you seperating out ~T() from the surrounding code now?
There's no such thing as a second call.
user3010322
@R.MartinhoFernandes Or is there?
@ThePhD as much as Obj * x = 0; x.foo();
18:56
@Rapptz that's the very tippy top (and then it goes one and lists a bunch of conditions in which the constructor is called implicitly). At the very end it says what I quoted there :)
@ThePhD the standard is quite clear... you call it once you're done, the second call is UB
user3010322
<3
@Jefffrey § 12.4/13 :v
>Once a destructor is invoked for an object, the object no longer exists; the behavior is undeļ¬ned if the
destructor is invoked for an object whose lifetime has ended

« first day (1156 days earlier)      last day (4018 days later) »