« first day (1799 days earlier)      last day (3143 days later) » 

10:00 AM
Pointers should be restrict by default
And you should have a keyword overlap or aliased or whatever when not the case
 
There were proposals to improve all of that, but I don't know what they became and they never really caugth my interest either.
 
@StackedCrooked They're pretty damn useful
 
Yeah.
I'm just kidding.
 
@Morwenn I greatly dislike the idea of having a core language feature for "Stick two strings together".
seems to me like the kind of thing you should be able to do with a function.
 
question: Multidimensional bounds, index and array_view..‌​. I'm fine with the code and syntax but.. how on Earth can they obtain a MxN matrix from multiplying a MxN matrix and a Nx1 vector?
 
10:06 AM
@Puppy I don't dislike it that much, but I can't think of any satisfying syntax/semantic mix to elegantly solve the problem.
Especially in C++.
 
f("shit", number, "more shit", another_var) seems fine to me
 
C++17 will bring a lot of magic I see
 
@MarcoA. TSs bring a lot of magic.
 
@StackedCrooked Yes, but it doesn't help in the slightest because in lots of cases, to generate that member function pointer, you need to explicitly cast it to that signature anyway.
 
C++17 will bring poop, feces, shit, two kilograms of turds, half a liter of piss and some excrement.
 
10:14 AM
DRY violation detected
 
I dont get how you're supposed to code without virtual functions. Are there any references I can check out
 
Not only should you use virtual functions, you should also feel clean using them.
 
@Prismatic you can even code without classes
 
You'll need virtual functions. However, you shouldn't need a lot of them.
 
11
It's like 3D benchmark cheating drivers
How smart
 
10:20 AM
toptierkek
 
Too many virtual methods might be a sign of too many methods to begin with.
 
My mission to Duna is almost ready, only thing is that my starship is huge and looks like the one from Avatar. Not exactly sure the atmospheric vehicles will be able to make a return trip though.
 
The class probably has too many responsibilities.
 
@ElimGarak what
 
I almost never use inheritance :c
 
10:23 AM
@AnastasiyaAsadullayeva Kerbal Space Program, built a starship in orbit of Kerbin, it is missing the last payload only and we're ready to head to Duna.
 
Far less cool though, but the shape in general.
 
@StackedCrooked thanks. So it was cmd.sh. I tried so many things but couldn't remember. Also using ls or find don't show the name
 
Car cheats on tests - A.I. car, I like that!
 
10:43 AM
The whole world is outraged. Kitty likes it.
 
user1804599
hi
 
user1804599
I have GitHub repos in PureScript, Python, C++, LiveScript, Erlang, Scala, D, Shell, Java, VimL, Haskell, JavaScript, Go, Elixir, COBOL, Perl6, TypeScript, C#, Mercury, Perl, Awk, Crystal, Clojure, Eiffel, Ruby, PHP and Rust.
5
 
Want a medal?
 
user1804599
10:45 AM
Yes!
 
no F#
 
Can't have it
 
user1804599
;_;
 
it is a very impressive list
 
@JohanLarsson Wait, are you the C# guy or the F# guy?
 
10:46 AM
How many of those repos have more than 1k loc?
 
@fredoverflow C# guy
Has it been a year since the last language awesomeness poll?
 
>It's hard to benchmark real world situations, but in inserting, finding,
erasing, and iterating over a dictionary it was up to six orders of
magnitude faster than VS2013's unordered_map. This isn't a totally fair
test because the cache efficiency really shines
I'd say it's not fair because MSVC is an awfully low bar
 
filter (\repo -> locCount repo > 1000) rightfoldsRepos
=> []
 
user1804599
lol
 
10:50 AM
:P
Seriously though, would you like to write a game with me and Lalaland in C++ today?
 
user1804599
no
 
user1804599
I don't want to write games and I don't want to write C++ code.
 
Makes sense
 
user1804599
I want to write a COBOL parser.
 
user1804599
CHF 198 wtf ISO
 
10:56 AM
@JohanLarsson There has been a language awesomeness poll??
 
At least two
 
link or didn't fappen
 
not sure I can fin it
google spreadsheets
@fredoverflow link
 
morning
my neck hurts :(
 
user1804599
take revenge by punching it
 
11:01 AM
hahah
 
@JohanLarsson lol I even participated
 
I can only fill in one column.
 
do you think a book would help there?
 
@TonyTheLion Bahahah!
 
> An Exception On The Homepage
Force Refreshed Broken Cache
I Scrum Crud
Entities Ripped From A Visitor's Comment
Blown Free Of Dust
Hacker Smashed Page
The Buzzwordening
Merged, Committed, And Mangled
Deployed By A Junior
Post Mortem Evaluation
Frantically Debugging It
Segfaultication
Versions From The DOS Side
Blame it on the User
 
Where is "The segmentation fault"?
or "404 not found"
buffer overflowing ... very music like
 
11:28 AM
Crap Overflow
 
@JohanLarsson Note that I was already there at the time.
 
Why is it important?
 
@fredoverflow Sounds like a good list of songs for the next The Algorithm album.
 
@JohanLarsson He didn't participate because he's a rebel?
 
@JohanLarsson Because many people wondered I was Cicada when I entered the Lounge again a month ago :p
 
11:31 AM
NSFW but very pretty
 
@Morwenn Ah :)
 
@chmod711telkitty Note the "regrub gnik" sign in the background :)
 
hungry jacks/burger king?
 
@chmod711telkitty Yeah, but it's flipped horizontally.
 
I recognized it by the colour pattern of the logo :')
 
11:37 AM
yeah me too
@TonyTheLion "Blame it on the user" cracks me up.
 
I want to eat a fat onion & cheese burger today, with home-made fries.
 
9
A: Timing in Scheme

Rafe KettlerJust enclose the whole part you want to time in the time expression (this works in most implementations, including Racket): (time (rest-of-program)) You can also use the Unix command time if you're on Linux/OSX/BSD/etc., e.g. time ./my_program

this is the most straightforward way to time execution that I've ever seen
 
11:58 AM
what a shitfest
-4
Q: Input of next line seprated numbers in list

Athul RajI'm taking input from a standard input stream as follows: 1 2 3 4 5 6 I want to take the whole line separated input in a list and to print it as ['1','2','3','4','5','6'].

 
Ell
12:10 PM
Boy I'm having a rotten time trying to get lightdm to work on gentoo
with openrc I mean
 
12:20 PM
Buy a Mac then
@fredoverflow You mean "gnik regrub"?
Fuck, I just realized I could have wrote filter ((> 1000) . locCount) rightfoldRepos instead
 
I found chickens in the vege patch every Saturday. The vege patch was fenced off so the chicken could not access to the area. But there is a place where the fence could be moved a little for the chickens to sneak in. For the first 2 weeks I thought 'woah, my chooks on a schedule or something, they sneak into the vege patch every Saturday'. Then it just hit me, that the chooks might be going into the vege patch everyday.
They know they are not allowed into the patch. So they wait for everyone to leave the house. Then they sneak into the vege patch. It's just usually no one returns home before the day gets dark, so the chooks would sneak in and get out by the time I return to find them resting in/near the coop.
But on Saturdays, I usually get home 2 hours earlier, thus caught them in the vege patch every single time.
 
@ʎǝɹɟɟɟǝſ But then nobody except Bartek would have understood the joke.
@chmod711telkitty What is a "vege patch"?
 
vegetable patch
 
Oh, patch = land?
 
@fredoverflow Why?
 
12:30 PM
@набиячлевэлиь Because function composition is wizardry ;)
 
@fredoverflow It's more clear than the starred version
 
Fine, go ahead and correct your joke.
 
Your userid is great, fred
How much did you buy it for?
 
252k
 
12:33 PM
@fredoverflow usually the backyard here is between 300 - 800 square metres, some people use a small patch, say 20-50 square metres for vegetables, so they could still have a lawn or plant other things such as flowers and trees
 
user406009
@Potatoswatter Probably not worth adding me to the proposal just for mentioning Rust. My full name is Ethan Steinberg anyways.
 
user406009
@Potatoswatter AFAIK lifetimes were an important feature of Rust from the very beginning. It's the main motivation for the language.
 
user1804599
I'm implementing COBOL.
 
user1804599
@fredoverflow nice
 
user406009
12:39 PM
@fredoverflow Nice. My only comment is that I think it would be easier to understand if you didn't show nesting. Like for a you just had a line of blocks labelled a[0][0], a[0][1], etc.
 
@Lalaland On the other, if the visual gets messy, it clearly highlights that deep nesting should be avoided :p
 
@Lalaland But then p, q and r would point to the same block!
 
user406009
@fredoverflow Well, they sorta do.
 
I really want to be able to distinguish different pointer types.
Because a pointer to an array and a pointer to its first element are not the same thing at all.
 
is it not?
 
12:42 PM
No, because if you add 1, you get different results.
 
user406009
The main difference is how much memory you read from the pointed to location and how much the pointer advances when you do arithmetic.
 
user1804599
export class ProgramDefinition {
    constructor(public programID: ProgramID,
                public sections: ProcedureSection[]) { }
}
 
user1804599
C++ needs this.
 
user1804599
It makes the constructor parameters public fields and assigns them in the constructor.
 
like a record
 
user406009
12:43 PM
You could just use Scala :P
 
@elyse Write a proposal.
 
user406009
@fredoverflow Anyways, if you want to emphasize pointer types you could have the pointers point to a range of blocks.
 
What's a ProcedureSection?
 
user406009
Anything but that nesting would be great.
 
@fredoverflow increment the address or add one to the value
 
12:46 PM
@Lalaland And how would you visualize these ranges if not by nesting?
 
user1804599
@Potatoswatter A section of a procedure division.
 
@chmod711telkitty p = p + 1
 
@fredoverflow It’s fine, I like it that way.
 
user406009
@fredoverflow I don't think there's a clean way. You could have triangles instead of lines. But that's very space expensive, and doesn't work well with overlaps.
 
user406009
I'm just saying that the nesting makes it almost unreadable.
 
user406009
I feel sad for that poor piano. Imagine the damage to the keys.
 
@elyse Is that like a Joy Division?
 
user1804599
no
 
@Lalaland No worry, it looks unusable for a human to start with.
 
user1804599
12:51 PM
11
Q: Why does COBOL have both `SECTION` and `PARAGRAPH`?

NealBWhy does COBOL have both SECTION and PARAGRAPH? Can anybody explain why the designers of COBOL created both SECTIONs and PARAGRAPHs? These have been around since the initial release of COBOL so I suspect the real reason for their existence has long since gone away (similar to things like NEXT SE...

 
@Lalaland I don't know what you're talking about ;)
 
user1804599
@fredoverflow add three more [1]s. What happens?
 
@elyse Is it like a shared library?
 
user1804599
no
 
@elyse What do you think? Scrollbar appears.
 
user1804599
12:52 PM
more like a label or a local function
 
user1804599
@fredoverflow nice!
 
@elyse Just like in the screenshot I posted 20 minutes ago.
 
Ah, so multiple entry points into main.
 
user1804599
Why don't they point to the centre of boxes?
 
user1804599
@Potatoswatter no
 
user1804599
12:53 PM
just things you can jump to
 
@elyse I don't know, it looked weird.
 
You can jump to procedure entry points…
 
Ell
@fredoverflow nice!
Can we see one with different sizes for each dimension?
 
Sure, what dimensions do you want?
 
Ell
[4][3][2][3][5] :D
 
user1804599
12:56 PM
@Potatoswatter no, you can jump within a procedure
 
@Ell youve got 3 twice ;)
 
Ell
Hmm
maybe those will be too large :p
 
@fredoverflow ℵ₀
 
Ell
[4][3][6] try that :P
 
user406009
@elyse That sounds equivalent to there being mini-procedures inside each procedure.
 
Ell
12:57 PM
anything besides just 1s really :D
 
Note the scrollbar ;)
 
Ell
heh yes
that's a very cool way to display the array
 
Thank you sir!
 
Ell
I think the only way I think it could be improved is some smarter layout
ie stack some arrays vertically if it makes it look better
 
@fredoverflow I want full support for 3D arrays with 3D goggles.
 
1:00 PM
@Ell I have thought about switching between horizontal and vertical with each additional dimension.
 
⧈⧈⧈
 
user1804599
@Potatoswatter e.g. ideone.com/2knQvR
 
@Morwenn Should I support 3D printers, so you can touch the 3D arrays? ;)
 
user1804599
where goback is like C++ return.
 
@fredoverflow Welcome to the IDE of the future!
 
1:01 PM
@elyse I've been COBOL'rolled.
 
Ell
@Borgleader oh wow
 
@fredoverflow but ... but ... when you do sizeof on the 3 pointers, they all give out the same value
 
user406009
1:19 PM
@chmod711telkitty But not when you do sizeof(*p)
 
@fredoverflow maybe holograms?
 
because ... stuff those 4D arrays
 
Is there any country other than USA that teaches Americanlish? — Johan Larsson 18 mins ago
no idea why I have a meta account
 
user406009
@JohanLarsson Because you like to get involved in shit-flinging competitions?
 
maybe
 
Ell
1:29 PM
eh maybe I'll have to switch to systemd
this won#t be fun
in fact I will live without for now
 
user406009
I find that systemd works quite well.
 
user406009
Haven't really noticed any negative effects.
 
user406009
But it was quite nice when I had to write a small service of my own.
 
@Lalaland First users of radiation hadn't, either
 
user1804599
hi
 
user1804599
Implementing ALTER statements is easy!
 
Also, could all the people who claimed to be harassed by me, could you please let me know that you feel harassed, so I could put you on my plonk list. I promise you I would never unplonk you so I will never harass you again? Thanks.
4
I need someone to star this
 
user1804599
Since I implement jumps in terms of var labels = {a: 0, b: 1}; var label = 'a'; for (;;) switch (labels[label]) { ... }.
 
user1804599
I can just reassign labels[whatever].
 
after sitting with my shitty macbook pro for 6 years I finally pulled myself together and bought an SSD; I know feel like a whole new man
 
user1804599
1:39 PM
buy a new laptop
 
user406009
@FilipRoséen-refp How much storage on the SSD?
 
@Lalaland just 120, I wanted to buy a 60 GB but they were all out and I didn't feel like waiting a few days
 
user1804599
@JohanLarsson NL teaches British English, but if you use American English in your exams, that's fine too.
 
I mean, I could get by with 30GB I guess
 
user406009
Aren't the differences pretty minor?
 
user406009
1:40 PM
color vs colour, etc, etc
 
user1804599
Well, "sing" vs "zing", and "ou" vs "o" happen all over the place.
 
user406009
@FilipRoséen-refp Yeah I am running off a 30 GB here.
 
user1804599
Some words are entirely different.
 
user1804599
Such as "ass".
 
1:41 PM
Eggplant vs. aubergine.
 
user1804599
I love how in MGS V extracting a donkey shows "Extracted ass" in the log.
 
user406009
@elyse Doesn't that mean the same thing? A donkey or an annoying person or butt?
 
user1804599
ass is American English for arse
 
user1804599
like, an anus
 
1:43 PM
When you go skiing, in British English, you kind of use words randomly picked from French, German and Italian because you ski in the Alps.
Also there are more cooking-related terms that come from French in British English than in American English.
 
user1804599
 
user1804599
dat pun
 
@Potatoswatter It's a hen, potato, IT'S A HEN!!
 
1:50 PM
@chmod711telkitty No idea. Maybe the hen wasn't hungry anymore.
 
so the hen went for a jog?
 
Because she ate too much. It makes sense.
 
@FilipRoséen-refp It's good that you aren't running Windows, otherwise even 60 GB would be too little
 
Oh, I just registered as "Fuck off" with a burner "yomamma" address. Okay, such registrations are cool.
 
I'm almost bored enough to go wash the dishes.
 
user1804599
1:57 PM
ugh
 
user1804599
CALL foo
ON OVERFLOW DISPLAY "stack overflow"
END-CALL
 
user1804599
you can do this in COBOL. luckily you can catch stack overflow exceptions in JavaScript
 
user1804599
oh wait, maybe you cannot
 
Novels ... there are so few good ones
You need to go through 100 to get at most 5 good ones
 
> And, by the way, the "Inheritance," "Encapsulation," and "Polymorphism" patterns are also easily expressible in Haskell. The patterns that are not easily expressible in Haskell are "DataRace," "BufferOverflow," and "NullPointerDereference." But the only people who would miss those patterns are the writes of computer viruses.
 
user1804599
2:02 PM
@fredoverflow nice
 
2:13 PM
I'm seriously too bored today. I'll go wash the dishes.
 
Play music
I just did for ~3 hours. Schubert wrote entirely too many sonatas
 
@fredoverflow dat burn
 
Now it's time for groceries :)
 
user406009
@fredoverflow Null pointer derefence is expressible in Haskell though.
 
I need both motivation, a piece I want to play and the score.
 
2:14 PM
I like the post below that one. :P #controversy
 
And a few months if I want to play it properly.
 
user406009
@Morwenn I really like the Pirates of the Caribbean piano compositions (youtube.com/watch?v=gGdSxEKujDE).
 
@Morwenn So you need motivation.
 
@sehe I'd like to play the piano version of Still More Fighting, but the best score cannot be found anymore.
 
@Morwenn link to a recording?
Ah
@Morwenn that's some control.
 
2:18 PM
@sehe I guess it's too difficult for me, but just trying to play it could be fun. Unfortunately, that guy wrote the score himself.
 
He said we could ask for it but hasn't answered for years.
 
@Morwenn ah that's the unfortunate part then.
 
Yeah. That's why motivation is not always the only factor.
 
That one passage in thirds is fearsome
 
2:19 PM
@sehe That's what looks fun :p
 
ouch. I'm envious if you can play that
 
user406009
@fredoverflow You got to see the "best" version
 
I can't.
 
:)
 
I can more or less massacre this one though.
 
2:21 PM
I'm just starting to get to the phase where those thirds don't always trip me up in Beethoven or Schubert. I'm proud of that
 
I think this is the best shia video :<
it's not as fun if you don't know what the deal with CS bots is tho
 
Well... I'll go wash the dishes.
 
there should be less ambiguity between me and rapptz in half an hour or so
 
we agree
@StackedCrooked what if I have a URL in the shape /view?id=8f594409c5ec1dd1eb98d8c2edf4b71f-b3a39f4e9c268c2df146ea17ecc4d5fd ? Can I easily get main.cpp and cmd.sh?
 
@sehe replace view with archive, see this
 
2:46 PM
Cool. Is it "true" JSON?
 
Is there a false JSON?
A Шпюн?
 
Many. Many. Many.
 
@AlexM. Indeed.
Dishes are washed.
 
@AlexM. Its updated already
 
I wanted to pick another but I only had it at 170x170=>too small
 
2:59 PM
oh lol he said that 28 min ago -.-;
 
@fredoverflow IMHO, entirely dismissing design patterns is just as bad as trying to shoehorn them everywhere.
Being incompetent has nothing to do with design pattern. A bad programmer is not bad because of design patterns.
 
^ nice
 
brb, im gonna go put on my flame suit
 
you suck.
You need to wear it at all times in the lounge
 
user1804599
3:04 PM
awesome
 
@fredoverflow why even post that reply in the first place
 
@sehe the Last Week Tonight show is great
 
it is
 
@AlexM. bored
 
@JohanLarsson ive been watching a lot of them on youtube for the past week
 
3:06 PM
@fredoverflow ah so it's yours
 
What? No.
I wouldn't write multiple paragraphs on reddit.
 
@Borgleader Brilliant mix of comedy & substance. Makes the world a better place.
Exposing bs.
 
user1804599
function discardSequenceNumberArea(text: string): string {
    return text.split("\n").map(l => l.slice(6)).join("\n");
}
 
Sitting by the window, being moody and stuff.
 
@elyse Why'd you wanna do that?
 
user1804599
3:15 PM
> The sequence number area may be used to label a line of source text or library text. The content of the sequence number area is defined by the user and may consist of any character in the computer's coded character set. There is no requirement that the content of the sequence number area appear in any particular sequence or be unique.
 
Oh, Telkitty is back, I thought she left forever yesterday.
 
@ElimGarak Most people who "leave" the lounge, come back rather quickly
 
How's your rendering bonanza? :D
 
I should be doing that right now
but eating
 
3:27 PM
Red Dead Redemption: A donation of a few dollars? Yes. drops in two stacks of paper money. Game registers -4.
 
o.o wat
 
A quest in the game, took a pause from work to play around a little bit more. Such a wonderful game.
 
i see
 
This quest in particular. With what I suppose is "god" or "death" manifest.
 
3:32 PM
@AnastasiyaAsadullayeva I want him to be president. That would be an immense source of amusement for me.
 
user1804599
bleehh context-sensitive lexer
 
@ElimGarak s/an immense source of amusement for me/the end of the world/
 
@ElimGarak and then you will learn to value boredom for the rest of your life
 
If this guy becomes president, I guess that we'll have some American refugees in the EU.
 
And in Canada.
 
3:43 PM
Starting with Muslim Obama.
 
These people get airtime
How scary is that
 
Short your dollars
 
Snort your dollars.
 
@AnastasiyaAsadullayeva SouthPark got accepted
 
It's always depressing to see that mainstream FPS games are often situated in the middle east / central asia
So your average american equates those region to eternal war
And then someone posts a picture of, idk, pakistan, or speaks about their trip through iran and people go like OMG HOW DID YOU NOT GET KILLED
jfc
 
3:46 PM
In case anyone else wants his/her SO Colirus saved from bitrot, drop me a note
 
I want coliru to accept cloning whitelisted repos
 
What for
 
Demoing header libs
 
Well. You wouldn't want to repeat this every compile. So it doesn't fit the current model
Also, it already supports this: you can run Coliru as it's open source
 
I'm thinking about running my instance, yes, but the docs are a bit meager
Also the model doesn't have to be cloning at each compile (it's an impl detail)
Coliru is bitrotting now?
 
A woodlouse in my house. It's been a long time.
 
> Fatal error: can't write CMakeFiles\clangSema.dir\SemaExpr.cpp.obj: File too big
nice
 
/bigobj
 
@slaphappy not yet
 
heyyyy bby u know what else has flag /bigobj
 
3:59 PM
@CatPlusPlus that's an MSVC flag, innit? :/
 

« first day (1799 days earlier)      last day (3143 days later) »