« first day (1119 days earlier)      last day (4054 days later) » 

user1804599
19:00
I misspell ocassion on occasion.
@rightfold Why not? That's how users of all things act. Ignoring it is just placing your fingers in your ears and going "LA LA LA, I make languages for humans but completely ignore human behaviour".
@DeadMG I can never remember which one of "could you pass the salt please" or "give me the salt you stupid fuck" is correct
user1804599
@DeadMG No, you don’t.
user1804599
They do.
@DeadMG It's the 'c' ;)
19:01
the fact is, it's amazing but if you design things to be used by humans, then more humans use it.
as opposed to if you have an arcane cargo cult thing only designed to be used by existing members of the cult.
accessibility is important.
at least, if you ever want more people to join the cult.
user1804599
But I don’t, because most people are idiots. :D
maybe you just never tried speaking to them in a language they could already understand.
user1804599
“I wonder why I receive mentioned error in my code” because you use calloc instead of std::vector. See tinyurl.com/so-cxxbooks. — rightfold 8 secs ago
user1804599
lol @ code
jesus
user1804599
19:08
I’m going to set up a website full of links to Stack Overflow questions to which the answer is “use std::vector.”
Jesus put bugs in my program
user1804599
jesus_cast<wine>(water)
12
we used to had a guy in my company who changed every std::vector to a bare array, "for efficiency reasons" (he was a former game-dev). That vector was filled with data just read from the database, and was to be sent over a network :S
user1804599
Is it possible to use memcpy to convert between std::array<unsigned char, 4> and std::uint32_t without shittons of UB? Where can I find these rules?
@BartoszKP He should be put to death.
19:13
@StackedCrooked well he's not with us any more so to say ;0
@BartoszKP Game devs are bad programmers example #1081274614391
user1804599
@StackedCrooked “According to the standard objects of different type may not share the same memory location.”
user1804599
19:14
Good luck implementing inheritance then. :v
@rightfold But you are using memcpy.
@rightfold There's an exception for that.
user1804599
Ah. :P
The answers by Luc and David quote the standard.
Ah.. shit.
It's been a year. Time sure flies fast.
user1804599
@StackedCrooked Yeah.
user1804599
19:19
So the objects will obviously have different addresses in memory.
So there's no aliasing issue.
Alignment is also no issue in your case.
user1804599
@StackedCrooked Why not?
If you declare uint32_t then it will have the right alignment on the stack automatically.
user1804599
Oh, right. :P
std::array<char, 4> has byte alignment so this one never has alignment problems.
user1804599
19:22
How about std::uint32_t to std::array<std::uint16_t, 2>?
I don't think this is allowed.
user1804599
No implementation ever. :D
I'm not entirely sure.
user1804599
@HardSciFiMovies
94 tweets, 20k followers, following 200 users
2
user1804599
I just found this.
user1804599
19:28
@rightfold my brain was fried
dat code
user1804599
It would, because you wouldn’t drown in a sea of pointers but instead have readable and understandable code. — rightfold 24 secs ago
I remember my GoL implementation. There are a couple of code structure flaws that I want to address soon :p
Um, he's using C...
user1804599
19:34
@caps He wasn’t until he told me he was unable to tag questions.
user1804599
Look at the revision history.
Oh nevermind, you're talking about the other link
Ah, okay.
hmm.
I wonder what I was doing with Wide.
ah yes, testing.
@rightfold While the question is crap, your answer made me learn something. So upboats to you.
user1804599
19:39
@ScottW Worst Deathbulge comic ever.
I love you guys
I love myself too
object Quote {
  def apply(s: String) = """"""" + s + """""""
}
lol Scala raw string literals...
user1804599
Looks like Python.
@ScottW How are you?
I'm alive.
19:46
@TonyTheLion "alive" as in "not decomposing" or as in "OMG I could hug the world"?
@FredOverflow as in, "I'm not dead yet"
meaning I survived another week at work
I think that's true
@ScottW Can I steal that?
@TonyTheLion Maybe you should choose a less risky profession, serving in Afghanistan, or writing C programs with more than two '**' :)
Ugh
I hate software
@ScottW I love you baby <3
Oh baby, what you doing over the weekend?
are going to dream about me?
I need to have a laugh
Scott, you should come over and play some smash bros
user1804599
19:54
I wonder how fast this list will grow.
@rightfold lol @ org domain
make a page of bad questions, oh no wait, that's Stack Overflow
3
@rightfold change dammit to fool
yes you should baby
wait, I just encouraged to write software.
scrap that
:effort:
as Cat would state it
oh right
DO EET
20:00
@ScottW TIMER START
@ScottW no no, it's not you. I just turned on, that's all
@ScottW I will accidentally look at it when you'll said that you're done ; D
WTF VAX just randomly decided that my license wasnt valid for the version I had, even though it is >.>
user1804599
@BartoszKP Scott turned you on?
@rightfold you're not turned on by him?
20:08
Eww.. I thought the edit was going to 'Scott turned you down'
user1804599
No.
user1804599
Only by HIM.
oh baby, you're too good for this world <3
> A scientist hides a terrible secret. He clears his browser history.
lol
These are all amazing.
20:10
lol^n, n>0
user1804599
I wanna write software and I wanna write it in C++.
> Humans learn that they are trapped in virtual reality, while the real world is a wasteland. Everyone chooses to stay in the virtual world.
@rightfold Great, now do it!
user1804599
NO.
user1804599
I have zero inspiration.
Well then get inspired!
user1804599
20:13
@StackedCrooked How?
I started watching Big Windup!
It's yet another great baseball anime.
I said this before and I'm going to say it again
user1804599
@StackedCrooked I want to watch these first.
Write a girlfriend!
user1804599
lol, girlfriend AI.
20:15
@ScottW Yes ;_;
@ScottW Major is awesome. Cross Game is great as well.
user1804599
The way of communicating would be SMS, so I’d make shitloads of money.
Finding girlfriends is hard
esp if you don't look
user1804599
NP-hard.
20:16
Lots of holes in that design.
And write untested code to run once a month for a week
@rightfold lol there's a hentai on your list
user1804599
:D
user1804599
And a harem!
user1804599
I have a friend who watches harem almost exclusively.
20:17
Attack on Titan is awesome. Code Geass is great.
One Piece is my #1.
(duh)
Plenty of eunuchs available in the java room.
Robotics;Notes is average.
user1804599
in Java, 4 secs ago, by rightfold
in Lounge<C++>, 25 secs ago, by Martin James
Plenty of eunuchs available in the java room.
I haven't seen Shuffle.
I also haven't seen Hoshizora e Kakaru Hashi.
argh
missing WCS grand finals because sickness.
fuck you gallbladder.
20:19
'How to implement a Stock Exchange?'
http://stackoverflow.com/questions/19867808/best-scalable-db-solution-with-100-consistency-how-to-implement-a-stock-exchan
@rightfold harem is very common
@rightfold Oh thanks... LOL!
many harems run a eunuchs operating system
Did we always have a pony guy called Mike?
:D
user1804599
20:23
Lol.
user1804599
My former teacher has the Teacher badge on Stack Overflow.
user1804599
@StackedCrooked He comes from the C# room.
user1804599
He is here on occasion.
Yeah, I usually hang out in C#, decided to have more tabs open today, and saw a pun opportunity
20:28
user1804599
> my boss
Everybody's boss
user1804599
And Scott wouldn’t make that punctuational mistake in panel two.
(except mine)
user1804599
It’s fake.
20:29
They're all fake. Dilbert is a lie.
iOS 7 is butt ugly
you know
user1804599
@AlexM. hello
20:35
when reading some of my code generation code, it really goes to a lot of effort to deal with cases where Clang generates insane IR.
if only I had seen fit to create some test cases to reproduce these insanities.
-1
Q: Why is Eclipse written in C

CHEBURASHKAI know that most cool games are written in C. But why such specific applications as Eclipse that is supposed to be for Java is also written in C. As far as I know many plugins are also in C. It looks like Java is a second priority language. Do serious apps prefer C to Java?

lolwut
I can attest that all of my apps are serious, they do prefer C over Java.
20:53
> This question was voluntarily removed by its author.
what if we told him the Java platform itself has parts written in C?
well it's gotta be partly written in some native language.
user1804599
BCPL.
user1804599
68
A: How can users be prevented from pouring water into the bean compartment of a coffee machine?

SimonAs you observe, connecting the machine to a water pipe removes the need to add water, but the need to add coffee leaves the user with one place to put water. So what we're looking for is a way to remove the need to add coffee; the user will then have nowhere to put the water. The solution: Main...

user1804599
lol
21:05
I implemented a minimal prototype of second-order functions in Karel :) The static checks aren't implemented yet, so you'll get strange runtime errors if you do something stupid...
nice
is this a language you created yourself?
this just in: Wide superior to yet another language :P
damn it's november already
next month is christmas
five days till deadmg's consult
I hope they cut you open and fix that shit.
21:20
me toof
for the last month or two it's been basically continuous
even not eating isn't effective anymore
so it's getting worse?
much
user1804599
@FredOverflow cool HOFs.
@StackedCrooked It is a language I implemented myself. The idea isn't exactly new.
@rightfold Not arbitrarily high, though :( Only second order yet.
@DeadMG lol, Wide would be superior if it was actually usable by users other than you.
Xeo
Xeo
21:23
@FredOverflow What would be third-order?
void a(void b(void())){}?
@Xeo A function that takes a function that takes a function.
user1804599
@FredOverflow A function that takes a function and returns a function that takes a function. :)
I have no use cases for those yet, so I don't want to go through the trouble of implementing higher orders than two :)
@rightfold Wide range implementations are like that.
21:24
@rightfold I cannot return functions yet, either :(
user1804599
@DeadMG I know.
Lambdas are also missing as of yet.
user1804599
How about custom data types?
I'll probably spend all weekend trying to decide on lambda syntax :)
@TonyTheLion No reason why you couldn't use it.
it's not precisely the most usable thing in the world, but that's to be expected.
21:25
There is a reason, I can't be arsed
@rightfold The language does not even have int, why would I want custom data types? :)
there are more unusable things out there.
user1804599
@FredOverflow To implement int.
inb4 PHP
@rightfold I don't even have variables (except parameters, which can only be parameter-less functions).
21:26
inb4 YOUR MOM
@StackedCrooked What about her?
user1804599
@FredOverflow lolnice
It's amazing how much you can already do with the language, though :)
@DeadMG pretty much everything
user1804599
@FredOverflow pretty much everything
21:27
lol
I watched Gravity today.
I think second-order functions will dramatically reduce the number of lines required to solve the Towers of Hanoi. Refactoring now...
@MohammadAliBaydoun I saw the trailer, it looked pretty good.
What I loved the most about it is the connection it invoked between the main character and I ;_;
0
Q: expected 'char**' but argument is of type 'char***'

user2970540void printboard (char **board, int n) In my main function I created the two dimensional array using char **board; board = malloc(dim); for (i = 0; i < dim; i++) { board[i] = malloc(dim); } After I entered characters into my array, I used printBoard(&board, dim); and while compiling, ...

the title alone made me barf
21:30
@StackedCrooked My friends forced me to go watch it with them (I wanted to program and masturbate instead ;_;)
Thank you for sharing that.
@StackedCrooked It was either that or my cookies, but I really care about your health ;_;
I threw my cookies on the ground.
@ScottW I heard it was pretty bad.
21:40
lol
weird, it didn't one box
@StackedCrooked Fairy Tail, right?
@Rapptz lol
@EtiennedeMartel yep
The series where 99% of all female character have large tits?
Man. You are really obsessed with breasts.
Yes, and all the guys look like Mr Olympia.
Xeo
Xeo
21:42
Mavis > rest
user1804599
user1804599
Was Google written by a bunch of morons or what?
@Rapptz you aren't?
No.
I only notice them when they look unnatural or off
17 mins ago, by FredOverflow
I think second-order functions will dramatically reduce the number of lines required to solve the Towers of Hanoi. Refactoring now...
The number of lines went down from 340 to 100 :)
void hanoi(void src(), void tmp(), void dst())
{
    if (onBeeper())
    {
        pickBeeper();
        hanoi(src, dst, tmp);
        moveTopDisc(src, dst);
        hanoi(tmp, src, dst);
        dropBeeper();
    }
}
^ This was an absolute pain before.
21:48
is karel that thing from stanford?
I remember seeing it in one of the online courses
22:00
//Shoot me
#define protected public
#include <moveit/motion_planning_rviz_plugin/motion_planning_frame.h>
#undef protected
user1804599
Inherit privately and use using to make the members public. vOv
I can not inherit. I just need access to a member on an instance. :/
@AlexM. I think Stanford has been using a Java-based Karel since 2005.
in Java, 2 mins ago, by Ernusc
ok it is not in java, but i will ask. Can someone give a link where can I get a proper GLUT C++ texture loader code? I have tried many of these... Help
22:05
No.
@AaronBlenkush Right.
Best class name context: Considering a SnakeModel and a SnakeView, respectively one to hold the object data and one to hold the resources for drawing it, what is the best class name that you can come up for both?
@Nican Johannes posted some code that allows access to private variables in a legal way.
@StackedCrooked Oh? :D
@AaronBlenkush Eh.
@Jefffrey s/context/contest/?
@Jefffrey Erm... how about Snake?
@FredOverflow Yes.
@FredOverflow And the other class?
user1804599
@StackedCrooked Requires being able to change the type in question.
@Jefffrey What other class?
user1804599
22:10
@Jefffrey Model::Snake and View::Snake.
@FredOverflow There are two classes. The current SnakeModel and SnakeView. They have very different goals.
@Jefffrey Oh, I thought you were combining the two into one class :)
Nope. :)
@rightfold Could be. Thanks.
user1804599
You know.
So fucking true. It took me 2 weeks to figure out that I should call this one class context :V
user1804599
22:12
The only data structures you need are strings, arrays, bytes, numbers and hash tables.
I'm always worried namespaces are supposed to be used only for libraries.
@rightfold And for spatial partitioning?
user1804599
You don’t need that.
@rightfold Have you fallen in love with JavaScript?
@rightfold Prove it.
22:15
@DeadMG Quake is a waste of time, so you don't really need spatial partitioning.
user1804599
@FredOverflow Perl. :D
@FredOverflow lol
user1804599
All shit.
user1804599
Why are all job sites so terrible.
22:23
What would be the point of making them awesome? Most ace programmers already have a job ;)
zch
zch
Why Netherlands?
He probably lives there.
user1804599
Because I live in the Netherlands, duh.
user1804599
I’m not going to look for a job in Hong Kong.
22:30
Hong Kong sounds a little like King Kong. Heheh.
@StackedCrooked I was thinking the same thing, but I thought it wasn't interesting enough to mention :)
fuck
I really need to sleep but I really feel sick.
giuse
user1804599
22:43
I have no idea what to do.
user1804599
Fucking weekend piece of shit.
user1804599
I hate my life.
What's wrong?
You usually don't sound that bitter
user1804599
I’m foreseeing another two days of total boredom.
Too much free time I guess
user1804599
22:46
And then Monday I have to work on this shitty piece of crap again.
boredom's not that bad, trust me.
What are you working on?
user1804599
Some crap with a shitload of duplicate code and inconsistencies and fragile practices.
Sounds like the kind of activity where you're getting paid
user1804599
Otherwise I wouldn’t do it. :v
user1804599
22:48
And I can’t find jobs because the interesting companies are too small to appear on job sites.
You need to contact them directly
Job sites only have big companies and recruiters IME
user1804599
Let me put this differently: they are too small to be able to be found by me.
user1804599
I can’t find anything anywhere.
user1804599
I have no idea where to begin.
Step 1: find someone whose job you'd like to have
user1804599
22:53
Check.
How did he find it?
user1804599
@StackedCrooked How did you find your job?
Let's find out
There was a talk by this guy today, much awesome
user1804599
I also know a guy who knows guys who’re looking for guys.
There's lot of guys who're looking for guys
22:58
My gay friend has a terrible dilemma.
@rightfold You should probably start listening to funeral doom metal or something.
But this method can only yield a higher salary, not an interesting job
Preventing unintentional ADL hijacking... By using constexpr functor instances instead of free functions. #notsure http://t.co/JPdYIPJ7tv
siiiick
@sehe Yeah, I like the detail namespace better
user1804599
@FredOverflow Is PENURIA good?

« first day (1119 days earlier)      last day (4054 days later) »