« first day (1698 days earlier)      last day (3265 days later) » 

1:01 PM
It encourages unclear questions, doesn't benefit future askers looking for the same.
 
@TheArtist lol
 
It encourages "giving a man a fish" over "teaching how to fish". And it suits help vampires
@TheArtist Anyhoops, I improved the question and upvoted this comment:
You might want to read up on loops. — axiom 21 mins ago
 
@sehe Thank you for the edit :) the question looks cleaner now.
 
3
A: How do I assign cumbersome repetitive values to an array?

LundinThe only way possible to initialize an array like this, is (unfortunately) by using a flood of macros: #define ONE_DOT `.`, #define TWO_DOTS ONE_DOT ONE_DOT #define FIVE_DOTS TWO_DOTS TWO_DOTS ONE_DOT #define TEN_DOTS { FIVE_DOTS FIVE_DOTS }, #define TWENTY_DOTS TEN_DOTS TEN_DOTS #define FIFTY_D...

 
It doesn't work with my example. (In my test, this string 'xin chào' become 'xin chóo' instead of 'xin chao'). I mean I want to cut their head :) (á -> a , ô -> o , แบบ -> E) — tandat 3 hours ago
 
1:03 PM
Like it
 
"cut their head"
 
is largely equivalent to "cut the crap" in some cases
 
That's exactly what all these people sound like: like a snake whose head has been cut off. The way they throw around nonsensical, misapplied, or made-up terminology really sounds like a headless snake twisting around.
 
@MarcoA. ?
 
@TheArtist I like the placeholder answer
 
1:05 PM
> In the first week of code pruning, more than 90,000 lines of C code were removed.
 
-4
Q: Why can unicode character set represent all char in the world?

David Hangzhouas you know ,unicode is code string of 4 byte only , Why can unicode character set represent all char in the world ?

2
 
oh man
this is the best kind of refactor
 
delete delete delete delete delete delete delete delete delete delete delete delete
 
user1804599
no it's funny
 
user1804599
needs more downvotes so OP feels more bad
 
1:07 PM
@rightfold more bad == worse
 
@MarcoA. at the time he snapshotted that, the boost example was already there :)
 
in a normal English sentence
 
user1804599
I have this wonderful idea.
 
user1804599
New command composition language.
 
user1804599
Z shell is terrible.
 
1:08 PM
Z Mill
for the friends: MillZ
 
Why did I even look into the unicode tag again :( I should know better by now.
 
> Similarly, 64-bit and 128-bit systems also will
fail, although somewhat later (after December 31, 922,337,203,685,477
and December 31, 17,014,118,346,046,923,173,168,730,371,588,410
respectively).
3
lol
 
> Valid characters are the control characters tab (0009), carriage return (000D), and line feed (000A), and the legal characters of Unicode and ISO/IEC 10646.
Valid countries are France, Germany, Italy, and all the countries in Europe.
 
@R.MartinhoFernandes lol
 
That's Amazon API docs.
 
1:19 PM
mmm
I need a format for specifying pipeline wishes/blueprints
 
It probably means that all the characters in U+0000..001F that are not explicitly called out are invalid but with that last bit, who the fuck knows.
 
this will be an eDSL
then I can compile it into real pipelines and cache them
BartekLang.
i think I understand now why lambdacube chose this approach
I could even write a compiler from text for it I suppose
 
wow. Bitbucket is extremely slow
The site ~ok, but actually updating a remote takes minutes
 
I want to join threads in batch
Is this insane
 
thread_group
 
1:25 PM
No I mean batch the programming language
 
user1804599
Yes, it's insane.
 
user1804599
Use Z shell instead.
 
sehe@desktop:~/WORK/SvnJavaClient/install-XXXX$ time git remote update
Fetching bb
remote: Counting objects: 121, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 121 (delta 53), reused 121 (delta 53)
Receiving objects: 100% (121/121), 1.07 MiB | 320.00 KiB/s, done.
Resolving deltas: 100% (53/53), completed with 23 local objects.
From bitbucket.org:sehe/javaclient
   30e6de0..eee2c15  XXXX-install-roma -> bb/XXXX-install-roma

real	1m43.809s
user	0m0.068s
sys	0m0.072s
@Mr.kbok That is insane
 
@rightfold I'm on a windows machine
@sehe Ok, thanks :) just checking
 
user1804599
cygwin
 
Ell
1:27 PM
@BartekBanachewicz what will it look like?
 
cygwin sucks donkey balls
 
Ell
what will you be able to specify?
 
Ell
what kinda stuff?
 
user1804599
Imagine cygwin literally sucking donkey balls.
 
1:27 PM
like... things
 
Ell
Ohh I see
 
Ven
@rightfold I don't need to imagine that cygwin sucks donkey balls, I tried to use it
 
oh ffs I don't know I just have texturing and solid colour right now
i am just thinking aloud
 
Ell
I am more interested in your thoughts
 
well it's a shitty deal because you're limiting GLSL right
 
user1804599
1:28 PM
So you have this donkey.
 
Ven
TIL cobol has "preprocessors statements"
 
user1804599
And Cygwin on its knees under it.
 
user1804599
sucking the balls of the donkey
 
I need to think about realistic use cases first
 
user1804599
sucking donkey balls is like kissing an ass
 
1:29 PM
and derive model from them
 
user1804599
use Metal
 
"the only thing worse than generalizing from one example is generalizing from no examples at all"
 
user1804599
[14:46] <rightfold> it appears the latest change was 7 months ago
[15:03] <rightfold>  I guess it's dead. :P
[15:30] <rightfold> (just like this channel)
 
user1804599
death confirmed
 
> You can use the following regular expression to match invalid characters so you can remove them: /[^\u0009\u000a\u000d\u0020-\uD7FF\uE000-\uFFFD]/.
 
user1804599
1:31 PM
This reminds me.
 
Each sentence in that spec makes everything more ambiguous.
 
user1804599
I still haven't banned non-newline control characters in the Mill lexer.
 
@R.MartinhoFernandes :D
Beautiful :D
 
That basically removes all surrogates. Or if not UTF-16, removes all non-BMP characters.
It's a far cry from "and the legal characters of Unicode and ISO/IEC 10646."
 
user1804599
sue amazon for destroying your data
 
1:35 PM
> Valid countries are France, Germany, Italy, and all the countries in Europe. A simple test for valid countries is the question "Is this country in Scandinavia?"
 
@BartekBanachewicz How much did we play last night?
 
@Jefffrey 3 hours? 3.5?
 
http://pastebin.com/ccg6aPn3
How would you best translate this java (more or less the same in C#) into C++?
Just return a non const reference to the car (c) (by doing this the Humans cars type could be changed with the assignment operator though)?
Make the car a public member of Human (same problem as above)?
Make the car a shared ptr and return a copy of the shared ptr in the getCar function?
 
that's hell lot of autosaves :D
 
oh shut up :)
Did you find the way to change that?
 
1:37 PM
@HalfEvil I wouldn't. I like it in java
 
@Jefffrey it's the setting you make when starting up a game
I just CBA to restart it yesterday
hides
 
-.-
 
@MarcoA. It does indeed look more pretty in java at the very least. But I'm afraid that's not an option :/
 
i mean, when starting a new one. I don't know how it works when you load it!
 
1:39 PM
hi first time here
 
there's a rubber duck and a piano. Accepted.
 
x)
 
every human has a subaru
 
user1804599
You could make a getter that returns by-ref but then it's settable anyway through the assignment operator.
 
Bartek is not on the High Council; he has no acceptance powers.
 
1:41 PM
sounds good to me
 
user1804599
Also type sounds like something that should be an enum instead of an integer.
 
user1804599
And speed should be of a type representing a speed.
 
@coincoin hi :)
 
@rightfold No accessors if they aren't directly needed?
 
OH โ€œThey took a bunch of rosettacode snippets, did "analysis" on them,& "found" that #Golangโ€ฆsticks out as the least failure prone languageโ€
/cc @rightfold
 
1:42 PM
@HalfEvil don't use accessors, use accessories.. cool ones like pink hair pins and sun glasses
 
user1804599
source
 
so this is where you wander while working :)
 
user1804599
@HalfEvil Don't know. C++ sucks at all of this cruft anyway.
 
More like my work is where I wander while chatting
 
Ell
okay first exam tomorrow
ahhh
 
1:44 PM
@MarcoA. So the standard java argument ("When you realize you need to do more than just set and get the value, you don't have to change every file in the codebase.") for using them isn't really valid in c++? Or not as universally accepted?
 
user1804599
First define your invariants, then design the rest of your API.
 
user1804599
No need to add getter and setter boilerplate if they aren't needed to guarantee the invariants.
 
Ven
It's all but saying #Golang is the new #PHP. @ReinH
cc @rightfold :)
 
@HalfEvil I was joking : |
 
Ven
> At least in PHP I can write a polymorphic sum function
 
user1804599
1:45 PM
@Ven in terms of the Stack Overflow questions about it generally being written by complete morons, I agree.
 
user1804599
@Ven You also can in Go.
 
@MarcoA. Yeah sure but don't think rightfold was joking when she didn't implement them. And I do not see it as obvious to use them if the only thing they do is "get" and "set" the object.
 
user1804599
type Summer interface {
    Sum(Summer) Summer
}

func Sum(s, t Summer) Summer {
    return s.Sum(t)
}
 
Ven
please die in a fire
 
wtf
 
user1804599
1:46 PM
@HalfEvil she
 
Ven
When I met you in the Summer.
 
user1804599
"-er" prefix is idiomatic.
 
aren't go generics absolutely retarded or something
 
Ven
@BartekBanachewicz there's none
(except for code generation)
 
user1804599
There's also Reader, Writer and Stringer. The season is merely a coincidence.
 
1:47 PM
doesn't it like have totally unsafe bullshit that breaks the type system
 
user1804599
@BartekBanachewicz Go only has some built-in generic functions and types.
 
user1804599
You cannot define your own generics.
 
Ven
@BartekBanachewicz you have to use void*, basically, yeah
 
user1804599
@HalfEvil you want to have to change every line in the code base if you change the contract.
 
1:48 PM
It has structural interfaces, but that's at worst inconvenient
 
interesting suffix, so a generic bug implementation in a test suite becomes a bugger
 
Ven
you mean a Buggah
 
user1804599
I agree that getters and setters allow for changing the storage mechanism, and that's why I like them, but if I need so much boilerplate for them as in Java I'm still not going to make them.
 
user1804599
Also setters suck; fuck mutable objects.
 
I like Swift's setters
 
1:49 PM
@rightfold Here we go again
 
user1804599
s/prefix/suffix/
 
yeah right, I'm dropping stateful programs for good. All my programs will be stateless. And I'm also dropping my hard drive and books. Damn states, this time I'll dump you for good
 
user1804599
@BartekBanachewicz Why?
 
@rightfold more semantic information than just "does something with setting" BS
and less boilerplate
 
user1804599
Where can I find more about this?
 
1:50 PM
@MarcoA. lol
 
Ven
@MarcoA. dumping something is a stateful computation. consider using a monad
 
So what's the more semantic information here
 
@MarcoA. there's a difference between "a completely stateless program" and "a program where stateful computations are appropriately managed"
 
user1804599
I like what Scala does.
 
1:53 PM
"does"/"doesn't do" is curious.
Help, I'll be strange-looping again soon.
 
user1804599
You can define any number of parameter lists on a method, and zero naturally makes it act like an immutable variable that evaluates its initialiser each time it's read.
 
@rightfold Anyway, so you do not consider this a too dangerous problem with your code? pastebin.com/05837n9Q
 
did someone else see the flag request?
lol
 
user1804599
@HalfEvil Oh. Perhaps.
 
@HalfEvil What problem
"Doctor it hurts when I do this"
 
user1804599
1:55 PM
There'sn't really a nice workaround for that that I can think of.
 
@HalfEvil If your head hurts when you bang it against the wall, you can just... not bang it against the wall.
 
@HalfEvil "the Humans car type has to be fixed!" what
 
12 mins ago, by rightfold
First define your invariants, then design the rest of your API.
You failed to follow this.
You designed the API first, and considered the invariants later.
 
Ell
I don't like setters and getters
 
@rightfold Disable the assignment-operator maybe, not sure if I like having to do that though
 
Ven
1:57 PM
I don't get and set the principle
 
user1804599
You can do that.
 
user1804599
May 19 '14 at 8:29, by Cat Plus Plus
(haha getit pickle)
 
user1804599
haha setit pickle
 
@R.MartinhoFernandes Haha yeah maybe it's to much to consider that a problem :S
 
user1804599
Also consider whether you really need mutability.
 

« first day (1698 days earlier)      last day (3265 days later) »