« first day (1673 days earlier)      last day (3501 days later) » 

Ell
Ell
21:00
@ThePhD I'd have a token class with a type member
Which is an enum
And also a range referring to the source location of the token
funnily enough, what Wide does (roughly).
Ell
Ell
What I said?
@sehe What would you like me to say? Deutsch Klasse?
yep.
Ell
Ell
Oh awesome :D
21:01
there's nothing awesome about it, it's basic logic.
you don't really need any more information than token type for mechanical interpretation, and you need source information for errors and that's pretty much it.
@Nooble Why would I want you to say anything? I observed something about what you already said o.O :)
Ell
Ell
@Puppy yup
@sehe I don't get how "German" and "Class" contradict...
oh well, you also need token value for some tokens.
like identifiers, strings and such.
@Nooble ...
21:03
but a "configurable set of fields"? complete waste of time.
@sehe Oh nevermind I get it now :)
Hah. That was easy
you mean like your mother in bed?
Be Kind - boz. http://boz.com/articles/be-kind.html
@Puppy One for the lounge. ^
boz means whore in Armenian
21:07
Tell him! (But remember to be kind)
I'm kind to your mother in bed
@Puppy stupid joke
like the ones your mother makes in bed?
lol
user1804599
23
Q: Why does menthol (e.g. peppermint) feel cool to the tongue?

DanielEspecially when drinking water after the fact, mint can give a sharp cold sensation inside one's mouth. What process causes the sensation to occur?

user1804599
21:09
amazing
@Puppy It might be normal for you but not for me. People literally kill each other for that kind of shit in here. So please, don't make that kind of jokes.
I did not realize it was possible for a Lounger to literally murder another Lounger in the Lounge.
what, do they send a shiv through the Intertubes and shank you in the face with it through your screen?
by in here I meant in my country
I don't believe I live there
you don't I do
21:11
@melak47 The only feedback I got on my 3 year project so far is that the syntax sucks. More than once :)
and I don't like that kind of jokes about me
this raises the question of why the fuck you are browsing the open Internet.
whats the absolute fastest container I can use for a string container with elements < ~10? Im thinking vector... can I go faster?
@khajvah it's not about you.
because I hate to break it to you but "your mum in bed" is hardly the worst you can find.
21:11
I would say it's about your mom
:D
@Prismatic std::array<std::string, 10>?
@fredoverflow :(
if you're in a sensitive environment do not browse uncontrolled websites, it's as simple as that.
and the Lounge is no exception.
I am not expected to hear idiotic jokes everywhere
much like your mother, who is decidedly not exceptional in bed.
21:12
@fredoverflow isn't that pretty much identical to a vector performance wise for the lookup?
@khajvah I sympathize, though. I don't comfortably make those jokes. I'm used to it now though
@khajvah Welcome to the Internets, can I take your order?
@khajvah Indeed.
fucking hell
^ wut
21:12
Puppy I explained you and asked you kindly to not make those jokes
is that hard to handle?
Yup. He's just unwilling. Remember, he can be a dick about this. It's a sad truth
@Prismatic You save one level of indirection.
yes.
plonk it is then
works for me.
21:13
Good idea
@melak47 Well, what do you expect? All other kind of feedback would involve really diving into the source code.
At least it has been forked once.
In case I ever accidentally delete it, that will come in handy :)
24 mins ago, by sehe
Whitney Phillips
The MIT Press

Internet trolls live to upset as many people as possible, using all the technical and psychological tools at their disposal. They gleefully whip the media into a frenzy over a fake teen drug crisis; they post offensive messages on Facebook memorial pages, traumatizing grief-stricken friends and family; they use unabashedly racist language and images. They take pleasure in ruining a complete stranger's day and find amusement in their victim's anguish. In short, trolling is the obstacle to a kinder, gentler Internet. To quote a famous Internet meme, trolling is why we can't have nice things online. Or at least that's what we have been led to believe. In this provocative book, Whitney Phillips argues that trolling, widely condemned as obscene and deviant, actually fits comfortably within the contemporary media landscape. Trolling may be obscene, but, Phillips argues, it isn't all that deviant. Trolls' actions are born of and fueled by culturally sanctioned impulses -- which are just as damaging as the trolls' most disruptive behaviors. Phillips describes, for example, the relationship between trolling and sensationalist corporate media -- pointing out that for trolls, exploitation is a leisure activity; for media, it's a business strategy.
@fredoverflow how so?
@sehe Personally I generally find that they serve two purposes, which is some nice juxtaposition and the other one is E_BRAIN_TIMEOUT
Guys.
21:14
@Prismatic Because a std::array lives wherever you declare it directly, whereas a vector always has its data on the heap, outside of the std::vector object.
Bash.org is down.
I have to admit that I used to look on them as particularly juvenile
Is it just me?
@sehe if anybody makes a "nigga" joke, he will be flamed
and considered as a devil
but now I appreciate the value of your mother in bed.
much like your father in bed.
21:15
stop giving everyone such a ruff time
@khajvah prove it
@Prismatic I'm sorry, that's just the raison d' puppy
@Nooble down
@sehe so are you saying it is ok to make nigga jokes?
@rightfold If I implement freducide in Clojure, I don't need a VM, I can just generate Lisp code at runtime!
@sehe Weird.
user1804599
> Of course, if you're lubricating your condoms with hexanes, you're a) an idiot or b) absolutely insane.
Hi @R.MartinhoFernandes :)
user1804599
@fredoverflow You can also generate Java bytecode at runtime in Scala. vOv
It is ok to make jokes, period. It's not ok to be inconsiderate. Those two might or might not be related.
user1804599
21:16
It's no different except that Clojure is higher-level.
Yes but it somehow seems more elegant in Lisp ;)
user1804599
You can also generate Clojure code in Scala.
user1804599
Clojure has a Java API.
I'm somewhat bored of Scala right now.
@R.MartinhoFernandes It is ok to make jokes as long as it is not offensive
Ell
Ell
21:17
Data is code innit
Offensive is a weasel word.
mass-energy equivalence
when I am asking somebody to simply not make some kind of jokes because I find them stupid and offensive, he should just accept it
My blubber is clever code. I code in blubber.
instead of being a dick
21:18
@CaptainGiraffe Whale blubber or seal blubber?
in Discussion between baol and sehe, 1 hour ago, by baol
so you really believe that a file is made of bytes and only bytes? :)
We have a Gestalt computer scientist over here
@khajvah Not at all. You should accept that you made a request and can only decide to avoid the person if he keeps annoying you
@R.MartinhoFernandes well, if the guy tells you that he is offended, you should just stop making those jokes
Is that fact?
i said should
user1804599
@fredoverflow Clojure is fun but I wouldn't use it for anything big.
21:20
@khajvah So? Is it a fact then?
user1804599
It suffers from many of the problems Python suffers from.
No, it is not a fact. There are dicks everywhere
@khajvah You can continue to complain about people who don't share your values, but it's really your choice on how to handle them, not vice versa
user1804599
Even the documentation is as unnavigatable.
21:21
@rightfold Dynamic Typing?
@sehe Not being a dick should be everybody's value
user1804599
Dynamic typing is not a problem.
@khajvah Keep preaching
@rightfold When is a project big? Where is the threshold?
user1804599
21:22
It's things like relying on experimentation instead of specification.
user1804599
Hence they like their REPLs so much.
Half of the room will agree (but it will be annoying that you preach in vain).
The other half will yawn (but will be annoyed that you preach in vain).
And then there's the third fraction that actively enjoys making you miserable about this. (And you will be annoyed, and preach in vain)
user1804599
If not every public API is documented with the exact set of possible inputs, set of possible outputs, which input results in which output and which side-effects are produced, the API is terrible.
user1804599
Take for example the documentation of max: clojure.github.io/clojure/clojure.core-api.html#clojure.core/…
You sound like it is a nonimportant thing but it is pretty important. Everybody who finds "my preaching" annoying can plonk me, but I will never lose the chance to point out how fucked up Puppy was.
21:26
Good luck with that
user1804599
It doesn't tell me what is considered "nums" and how NaN is treated, for example.
user1804599
Of course, meeting the criteria I stated is hard, but one should at least attempt to meet them.
@khajvah Let's agree that Puppy was being a dick.
You were not using too many great arguments though and forgot to ignore/silently reject the behaviour of a clown.
I would say it is primitive if people get offended and kill about this kind of obvious joke. If it only serves to celebrate our freedom I'll refrain from actively rebuking anyone for making distateful jokes.
Now that's my norm.
user3010322
Yech.
user3010322
I can't have enum values called if or else
user3010322
21:28
now I gotta name them something else.
user3010322
q_q
Ell
Ell
tif, telse
user3010322
Maybe just keyword_if
Ell
Ell
iph, elze
user3010322
@Ell Lol
21:29
@ThePhD boost policy: if_, else_
@sehe I object
user3010322
That brings back bad memories of gl::TRUE_
@Puppy You're irrelevant. You just happened to represent an off-colour internet meme
@ThePhD blame whoever made TRUE a macro
user3010322
maybe perchance, otherwise might be good ones.
21:30
@rightfold ...and if you're going to document all that, you might as well do it in the form of specifying the type. It's actually easier to do that way than in external documentation. The people who think dynamic typing makes things easy virtually never have the discipline you're advocating (and therefore produce, as you've said, terrible APIs).
user3010322
Heh. But then I'd need to make while and the like work too.
@sehe woof?
Ell
Ell
whyle
cais
use ye olde english spellings
user3010322
perchance, otherwise, during, stop, happenstance, upon.
user3010322
Huhuhuhu.
Ell
Ell
21:32
what is happenstance?
user3010322
@Ell case
Ell
Ell
how about swytche
user1804599
@sehe C# policy: @if, @else.
Ell
Ell
I like sigils
21:34
that's not sigils though. That's escapes
Ell
Ell
I like both vOv
I do happen to like sigils though
user3010322
Here we go!
user3010322
r_if, r_else,
user3010322
where the r stands for reserved.
user3010322
... Which is not really ideal, but.
user3010322
21:35
It's not the worst.
@rightfold I'm eating vleeskroket.
user1804599
lekker
user1804599
doe er frietjes in
user1804599
en haal ze er dan uit en eet ze op
Ell
Ell
21:37
@ThePhD it's inconsequential really
user3010322
@Ell Yeah, but still...
user1804599
@sehe je geboortestad is lelijk powned.tv/nieuws/politiek/2015/05/…
I need to find a good 3D physics library. Preferably one with soft-body support.
@rightfold dat wisten we al. Tilburg is stukken erger though
user1804599
@Nooble I liked ODE. Although that was eight years ago.
Ell
Ell
21:40
I don't know of one with soft body support
@Nooble PhysX
@Borgleader But that wouldn't work for AMD/Intel GPUs.
@rightfold Jesse maakt een mooie start
@Ell Yeah there aren't many.
@rightfold I'm looking at that one too.
Although it doesn't have soft bodies.
user1804599
21:42
@Nooble Green team best team
@Borgleader We'll see when the R9-3XX series GPUs come out.
I was also looking at Bullet, but it looks like it's extremely taxing on the GPU.
@Nooble djesus can you have more requirements? =/
Hehe.
user3010322
403 Forbidden
Mwahahahahaa! I'm magical.
@Nooble It says image not found on my end
user3010322
Bleh.
@Borgleader Same, I just kept on refreshing.
user3010322
21:48
I wonder if my tokenizer should have conditional generation...
403 Forbidden on my end.
user3010322
For example, unroll is not really a keyword, but if it appears in [unroll] for, then it's an attribute keyword.
youre making a language too?
user3010322
@Borgleader HLSL -> SPIR-V compiler, and then SPIR-V -> HLSL / GLSL
user3010322
21:49
GLSL -> SPIR-V is covered by Khronos AFAICT.
user3010322
Step 1 is lexing HLSL properly.
user3010322
Step 2 is developing the proper AST.
user3010322
Step 3 is semantically analyzing the AST with a Context Free Grammar + Symbol Table, and then generating SPIR-V as I walk the AST.
user3010322
At least, I think that's how it goes...
21:52
dude, you don't semantically analyze anything with a CFG.
a grammar is for parsing only.
lol he knows that
user3010322
I don't. :(
(dunno what I'm talking about)
user3010322
This terminology is confusing.
@sehe Have you read this?
21:53
@ThePhD don't feel bad. you're good.
@Borgleader not yet
user1804599
I sent a ~15kg stone to GreenPeace yesterday, on their costs.
@Puppy actually, a grammar is for unambiguously expressing complex structures in a reversible way (usually as text)
user1804599
It was a delightful experience.
@rightfold what are you doing lately. bashing and harassing greenpeace is hardly a valid approach to (allegedly?) exposing their bad practices
It just exposes your own bad practices
Snotneus
user1804599
21:59
No.
user3010322
@Puppy Do you let certain ASCII be used at values for the token_id enum, or do you explicit specify the ones includable in your language (like token_id::operator_plus vs. if ( id < 256 ) { /* treat as codepoint */ }, etc., etc.)
user1804599
It improves the economy by having money transferred to the delivery company.
user1804599
It also improves my life by not having to care about said stone anymore.
user1804599
It is a double net win.
@ThePhD Why the fuck would I permit ASCII values?
user3010322
22:02
For things like [, ], (, ), +, -, *, /, {, }, etc. etc.
what about them?
there's nothing interesting, special, or useful about using ASCII values.
user1804599
If I had more stones I'd do it again.
@StackedCrooked lololol that's somehow hilarious. I'm surprised the guy wasn't complaining that "even though she was in the playground they couldn't touch the pole-dancer" (exactly like the reasoning with the bunny went)
user1804599
They threw all theirs in the sea, so they probably need more in order to drown more fishermen.
@rightfold How did you achieve this, exactly?
22:05
Hello everyone!
user1804599
@Puppy Freepost.
@rightfold you forget about the part where you expose yourself as a whippersnapper. There's really no end to the benefits.
But I'm disappointed at your gratuitous use of side effects
Does anybody here have any experience with setting up routers?
@rightfold What, you can post them anything and they have to pay for it?
user1804599
@AlexK No. Maybe on Server Fault.
user1804599
22:06
@Puppy Yes, unless they don't accept the package (in which case it's on your cost, or if you don't put your address on it, at the cost of the delivery company).
Jan 30 at 2:30, by Borgleader
"Hi I have a question about my retirement fund"
"Sir this is a convenience store..."
"I know but it's the only thing open at this hour"
user1804599
Problem is, if they don't accept the package they don't know what's inside it.
@sehe Only koalas can pull off what I did.
Haha Borg I'm asking just in case. I know this is a C++ chat :)
user1804599
22:07
No, this isn't a C++ chat.
What do you guys chat about?
user1804599
This is a gay chat disguised as a C++ lounge.
@AlexK Rule number one: Don't Talk About Router Setup Pro Group
@AlexM. We found your clone.
@AlexK Haskell
user1804599
22:08
relevant thread in Dutch: geenstijl.nl/mt/archieven/2015/05/…
Hi.
user1804599
I want to know how to tie the knot in recursive functions.
user1804599
It's probably a bad idea.
22:11
@AlexK Rule number two: Don't. Talk. About. Router. Setup. Pro. Group.
user1804599
I should add more indirection.
I just realized that I can give myself stars ★
user3010322
@Rapptz Yo!
user1804599
I should mislead people on Stack Overflow.
user1804599
Or otherwise sabotage things.
user3010322
22:17
I'm not sure if I should lex these into tokens that say "semantic" or if I should just call it an "identifier" and let semantic analysis of what comes before give it the ability to become a "semantic".
@rightfold Maybe you should get laid. You're getting derailed
user3010322
This is confusing.
user1804599
Derail is a nice map in MW2.
So was Afghan.
user1804599
Rust is terrible.
22:21
So was Afghan.
user1804599
:O
what series are these from?
I want to write software
How do I go about writing software?
user1804599
@Jefffrey You determine a set of requirements.
user1804599
22:35
Then you construct use-cases.
user1804599
Then you implement them.
Can I help you make a game?
user1804599
No.
user1804599
I'm too incompetent for making video games.
22:36
What a coincidence, I am too
You guys can team up.
Together you won't be as incompetent.
user3790646
Ohh making video games sounds fun :o I wish I were competent enough..
Does incompetence add or subtract when put two together?
lol
user3790646
Depends, I'd say
22:38
subtract I think
user3790646
@Jefffrey What kind of software are you willing to write?
Anything in C++
user1804599
@Jefffrey let's write a CI tool in Scala or in Perl.
Maybe I should contribute to existing C++ projects
user1804599
Contribute to Mill.
22:41
> For fun, here is the standard-library-only version of the same. Just to show, that things don't have to be all that bad when you go without the jet propulsion libraries :)
I used to have a slightly more light approach to SO in my earlier days
user3790646
@Jefffrey Are you competent with user experience?
I guess not
I'm competent in hardly anything really
9
user3790646
Well same goes for me
user1804599
You're both bad.
user1804599
I'm competent at everything.
user3790646
22:43
My depression has got worse after that comment
user3790646
lol
good to hear I am not alone
user1804599
I'm the personification of perfection.
user3010322
Okay, I think I've done it.
user1804599
And I'm the human equivalent of the concept "goddess".
22:44
@Jefffrey It seems that "self-deprecation = instant stars"
yeah
I would love to contribute to something like a game engine.
Like ThePhD's one
user1804599
> game engine
user1804599
engine aka framework aka SRP-violating library
user3790646
These were lots of edits, my friend
@rightfold Is mill/ some kind of interpreter and millc/ the compiler?
user1804599
22:46
mill is the VM. millc is the compiler.
user1804599
mill/src/interpret.{h,t}pp contains the interpreter.
user3010322
All the types! /cc @Ell
@rightfold With enough granularity, every thing is SRP-violating.
@rightfold handle sounds a lot like boost::any
@rightfold How do I concatenate two strings in Clojure? Is there a shorter solution than putting the strings in a vector first?
(clojure.string/join ["hello " "world"])
user1804599
22:49
It's not Boost.Any.
I know
user1804599
It doesn't require copying, uses refcounting and allows acquiring the Mill type of the value.
user1804599
@fredoverflow (str "hello " "world").
user1804599
Or (apply str ["hello " "world"]).
user3790646
this is some obscure code.
22:52
@rightfold Do Clojure char literals look like 'X' or \X?
user1804599
\X.
Apr 26 at 20:45, by rightfold
ls> ^^[]{}@@=>->|..=><[]>+~>%"#@".>>.&*$~_?\\`°
{}
user3790646
Oh my.
Okay so this one tutorial I found said 'X' which I found really confusing.
Because ' is used for quoting in Lisp, is it not?
user1804599
22:53
'X' is (quote X').
user1804599
Stop saying "Lisp".
> Rename std::always::isa to std::always::isa?
Hmm, sounds like you can close that one already :P
user1804599
Lisp is an ancient programming language nobody uses anymore.
user1804599
Be specific of which lisp you're talking about.
When I say "Lisp", I mean "Clojure".
user1804599
22:54
All lisps are different and many have different syntaxes.
@rightfold That's LISP
user1804599
@Jefffrey No.
user1804599
The question mark is part of the new name.
@rightfold Is quote a macro or a special form?
Predicates having ? at the end is nice
user1804599
22:55
None of the other issues end their titles with English punctuation, so this one doesn't either. It's Mill punctuation.
user1804599
@fredoverflow It's a special form.
Ell
Ell
@ThePhD now you just gotta write the lexer :P
user1804599
It tells the compiler to treat the argument as-is instead of generating code that evaluates it.
Are :keywords unique to Clojure?
user1804599
So (quote a) evaluates to a instead of to the value in the var named a.
22:56
got it
user1804599
@fredoverflow No, they're used for the same purpose as symbols in Ruby and Scala and atoms in Erlang and Elixir.
@fredoverflow Common Lisp has :keyword function arguments
Scala has symbols? What's the syntax?
user3010322
@Ell I'm on it!
user1804599
scala> 'X
res0: Symbol = 'X
22:57
never seen it before
user1804599
I use it in my logging library for attaching arbitrary metadata to log records.
user1804599
I should release it as FOSS.
user1804599
def debug(message: String, data: (Symbol, Any)*)
         (implicit logger: Logger) = {
  val stackTrace = Thread.currentThread().getStackTrace()
  val dataWithStackTrace = data :+ ('stackTrace -> stackTrace)
  log(DEBUG, message, dataWithStackTrace: _*)
}
How are symbols implemented, is there a Symbol enum or something?
user1804599
Symbol is just String except equality comparison is guaranteed O(1).

« first day (1673 days earlier)      last day (3501 days later) »