« first day (2249 days earlier)      last day (2692 days later) » 
00:00 - 19:0019:00 - 00:00

12:01 AM
maybe they are looking for a Xmas tree who can code, you never know what potential employer is looking for
 
hi
i am working on an audio communication project
 
Ell
Hi
 
I am looking for a local audio protocol for realtime data
so I can deliver audio in my LAN
 
good luck with that
 
peer-to-peer, peer-server and viceversa
I tried webrtc but it was slow
 
12:06 AM
You can't just use Skype?
 
also websockets
there is also teamspeak and others but I need to build my one
to implement on mobile as well
I wonder if c++ can help me
in some way
never mind................
have a good week :)
 
12:28 AM
C++ audio communication protocol for LAN ... sounds wonderful ... NOT
 
https://t.co/re3BQWoxEq
/cc @jaggedSpire me again :P
 
1:04 AM
Google data takeout is an awesome feature. And they don't skimp on bandwidth much
 
a Xmas tree that flashes morse code, in a scale of half eaten apple to a limping donkey, how terrible is the idea?
 
1:25 AM
@Borgleader always happy for floofs <3
 
@jaggedSpire <3
 
I think I will go out for dinner
talk to you peeps later
@Telkitty pretty cute
 
:D
 
2:26 AM
@Telkitty About 1 telkitty
 
would 0.5 telkitty be better or worse?
 
no difference. It's a unity scale
 
2:53 AM
Shit https://t.co/9FoSj3aRVf
/cc @Xeo @Mysticial @StackedCrooked
 
shit
 
3:22 AM
@Telkitty One specific to LANs seems kinda silly. RTP works fine on a LAN though.
 
I solved my Qt OGL context problem by giving up, and just using a QWindow instead of a QWidget
 
lol
 
3:41 AM
Looks like not everybody loved Phil Katz:
 
so apparently some people don't set a baked alaska on fire
I thought that was the whole point of a baked alaska
dessert, but on fire
@Mikhail wow
that's feud level
 
3:56 AM
@sehe 1 telkitty = 0.5 telkitty, solving the equation gives telkitty = 0 or telkitty = infinity
 
4:56 AM
bedtime, methinks
I haven't gotten great rest the last two days
night, lovelies
 
Good night. Sleep well.
 
thanks
 
 
 
1 hour later…
6:10 AM
Looking To Hire a Spammer
ok ...
 
 
1 hour later…
7:21 AM
@Telkitty spam.com
 
Hello?
 
Oh look! The domain name spamtastic.com is available for purchase.
 
do it
 
It's a shame I don't have $1,850.00.
 
Consider starting a SaaS business
 
7:43 AM
Well, I suppose I should go to sleep now if I plan to wake up 5.5 hours from now
 
7:58 AM
Fuck, I can't figure out if its a rendering bug or my monitor has a bad viewing angle
 
@Mikhail the human face probably symbolizes website, the big cat body represents assembly
the tiny brain probably thinks "how to type with those fat fingers on those f*cking paws"
 
8:34 AM
could be both
 
Ell
Hmm
I recall a language wherein no variables are present
And you use combinators instead
 
u w0t m8
 
@Ell every pure language?
 
Ell
@MooingDuck well, even in pure languages you can refer to argument names
 
cows have been blamed for greenhouse gas spike ... seriously, if cows fart a lot and the whole atmosphere stink a lot, we just wouldn't know ...
 
user1804599
8:48 AM
tried to get a shipment of kool-aid from amazon.de. posti failed to deliver to the office and sent the notification… https://twitter.com/i/web/status/808229682776854528
 
user1804599
LOL
 
@Mikhail not the same thing
 
@Telkitty spot on (though s/∞/�/ because it's not well defined)
 
9:41 AM
@orlp Was there any obvious problem with this piece of code, or can I use it to at least partially solve the speed problem of pdqsort with deques in its current form? I have benchmarks to change again, so it would help if that problem was solved too :p
I don't remember the whole conclusions of that time, but none of the modifications were applied to your repository in the end.
 
user1804599
10:02 AM
@Mikhail Web Assembly, like x86-64 assembly and JavaScript, is not meant to be hand-written, so its unintelligibility is a non-issue.
 
user1804599
@Ell Concatenative languages, e.g. Factor.
 
user1804599
@MooingDuck Variable doesn't mean mutable, it means it may have different values at different times. For example x in a function function(x) { return x; } is a variable because if you call the function with different values the variable will have different values.
 
user1804599
10:15 AM
#PHP 7.1: “when overriding, you can’t remove the nullable type from arguments, but you’re allowed to add it” 🌚 🙃 https://www.sitepoint.com/whats-new-and-exciting-in-php-7-1/
 
user1804599
Someone doesn't understand covariance.
 
isn't that contravariance
 
user1804599
Yes, ugh.
 
user1804599
Someone doesn't understand covariance. 😂😂😂
 
@Ell you could start from here
 
user1804599
10:21 AM
And it's a supertype not a subtype lol
 
user1804599
@Puppy RIP
 
@rightfold that makes sense...
 
user1804599
Indeed!
 
user1804599
handleCreateVertex :: FileID -> Request -> VertexDSL Response
handleCreateVertex fileID _ =
    createVertex fileID <#> \vertexID ->
        { status: {code: 200, message: "OK"}
        , headers: Map.empty :: Map CaseInsensitiveString String
        , body: ByteString.fromString (Sexp.toString $ Sexp.toSexp vertexID) UTF8
        }
 
user1804599
Look how amazing, no authorization logic in the request handler!
 
Ell
10:42 AM
@LucDanton thanks!
that is the kind of thing I was looking for
 
@sehe Is that replacement character intended?
 
Ell
@rightfold cheers, I'll check that out too
 
10:57 AM
Anyone here use CLion, or R# C++?
 
I've been using R# C++ on VS
Haven't done much coding lately though so I might have missed updates
 
I'm curious if it can do "inline variable" properly with something like this: auto thisIsToBeInlined = std::make_unique<int>(0); T foo(std::move(thisIsToBeInlined));.
 
Clion is too heavy for my taste.
Indexing is very annoying.
 
It should become T foo(std::make_unique<int>(0));, but the naive algorithm would leave std::move even though it becomes redundant after inlining.
(Curious because I just did this transformation by hand).
 
@R.MartinhoFernandes Never tried that, but Extract Method with unique pointers fails in every possible way
 
11:07 AM
@AndyProwl Ugh.
 
from taking by lvalue reference without moving to adding enable_if stuff
 
And people wonder why C++ tooling sucks.
 
yeah
 
@R.MartinhoFernandes something this small and simple and local already requires extra smarts.
 
My parser has broken at the last minute.
I am scared.
 
11:22 AM
> In amdgcn target, null pointers in global, constant, and generic address space take value 0 but null pointers in private and local address space take value -1.
 
Ven
rip
 
Sob. It won't work.
I'm ruined.
 
Ven
ruined.
 
Ell
@ThePhD you using vcs?
 
11:35 AM
@Ell Yeah... but my repo is hidden.
I forked it between myself and my team
I don't want those people to see it. ~_~
 
I'd fork that guy's repo
 
Ell
go back through each commit until it works :V
 
Neeveeee- yeah okay.
 
man y'all just talk about code here eh
boring
@TonyTheLion hi
 
Ven
hi sexy
 
11:38 AM
hi
 
Ell
12:00 PM
Hmmm for some reason idris needs an implementation to use <*> o.O
 
Eugh.
Prolog.
 
Ell
I'm learning Prolog next year :D
 
Ven
@Ell an implementation?
 
Ell
@Ven oops, I a word
an implementation of Alternative
I'll show some code
 
Ven
12:17 PM
lol
 
Ell
formatting sucks :P
I need to look at applicatives again anyway
I don't 100% understand them vOv
 
Ven
if you understand Free you'll understand App.
 
Ell
well, I understand them on a shallow level
I just need to stare for a little longer
 
> Functor (FreeA f)
Is it really free as fuck, though?
hides
 
Ell
lol
 
Ven
12:21 PM
@Griwes no.
Free is very costly at runtime.
 
12:40 PM
Found the parser problem.
 
Was it that you don't have tests?
 
there is no portable air conditioner is there?
 
@Griwes I do, that's how I found this problem...
 
Ven
@Griwes ohgod
 
@Ven More importantly, fucks are not free in any way.
 
12:54 PM
@ThePhD Damn tests ruining everything that's good!
 
Ell
@Griwes it was that tests only show the presence of bugs
 
user1804599
hahaha hilarious
 
@Ell Good tests also already mostly pinpoint the issue though (especially when you're working with a VCS sensibly).
 
Ven
@rightfold ?
 
user1804599
I had a function for computing stocks after unpack a box.
 
user1804599
1:00 PM
And it computed the opposite.
 
user1804599
So stock went from unpacked to packed instead of from packed to unpacked.
 
Ven
hilarious
 
user1804599
XD yes I know!!1
 
Ven
:)
 
user1804599
the diff though
 
user1804599
1:02 PM
-                amount_unpacked = s.amount_unpacked - ? * p.articles_per_box,
-                amount_packed   = s.amount_packed   + ? * p.articles_per_box
+                amount_unpacked = s.amount_unpacked + ? * p.articles_per_box,
+                amount_packed   = s.amount_packed   - ? * p.articles_per_box
 
Ven
?
 
user1804599
Yeah CodeIgniter can't $ because it's crap.
 
Ven
wait
you're using codeigniter?
 
user1804599
yes :(
 
@Morwenn it was slower in the normal case
I went with a different solution instead but didn't upload it
 
Ven
1:04 PM
@rightfold holy RIP
@rightfold is there an abstraction for requestAnimationFrame with time delta in PS?
 
user1804599
@Ven I don't know.
 
Ven
mmh.
 
user1804599
@Ven CodeIgniter 2.1.4 XD
 
user1804599
On PHP 7.
 
Ven
I've never had the pleasure to use it
 
user1804599
1:07 PM
We can't upgrade it
 
user1804599
because we made changes to the framework itself to work around some of its bugs.
 
Ven
Okay, I guess I'm looking for some way to new Date() in PS.
 
user1804599
For example, an INSERT statement with a RETURNING clause doesn't work in stock CI.
 
user1804599
Nor do queries with CTEs.
 
Ven
you patched CI?
 
Ell
1:08 PM
Man
C++ having an undecidable grammar is the stupidest thing
 
user1804599
Because CI greps your query for ^\s*SELECT to see if it "can return any results."
 
user1804599
@Ven Yes. :D
 
Ven
:|
well that's utterly retarded.
 
user1804599
@Ven hahaha RIP, everybody is looking for that XD
 
Ven
oh cmon.
really?!
 
user1804599
1:09 PM
@Ven CI does the ? replacement itself, it doesn't use PDO or something
 
user1804599
XD
 
Ven
@rightfold W A T
 
user1804599
@Ven pursuit.purescript.org/search?q=Eff+e+Instant <- ha it exists in its own package
 
Ven
oh nice.
 
user1804599
1:10 PM
Core (gh.com/purescript/) package even.
 
user1804599
And it uses the good date library, instead of shitty purescript-jsdate.
 
Ven
so my request animation frame function would need that and DOM
 
user1804599
Yeah.
 
Ven
so I have an forall e. Eff (now :: NOW, dom :: DOM | e)
I gather DOM is also enough to interact with the dom and "draw" stuff :)
 
user1804599
data Status = Continue | Stop
loop :: ∀ eff. (Duration -> Eff (dom :: DOM, now :: NOW | eff) Status) -> Eff (dom :: DOM, now :: NOW | eff) Unit
 
user1804599
1:13 PM
@Ven Yes
 
Ven
I do need some state as well though
 
user1804599
Then you need to use refs or ST refs I'm afraid.
 
Ven
guess I'll sprinkle some RWS
 
user1804599
Or use State, but you need to do plumbing with requestAnimationFrame.
 
Ven
I can't have a RWS effect?
 
user1804599
1:14 PM
@Ven Why RW
 
Ven
huh.
well, I guess I don't need R since that's my NOW, and W since that's my DOM.
 
user1804599
State monad isn't an Eff effect.
 
user1804599
But refs and ST refs are.
 
Ven
heh
 
user1804599
You can use those pretty easily. For example: github.com/rightfold/thorium/blob/master/src/Thorium/…
 
user1804599
1:17 PM
REF is like ST r but with a global region. loop :: ∀ eff. (Duration -> Eff (dom :: DOM, now :: NOW, ref :: REF | eff) Status) -> Eff (dom :: DOM, now :: NOW, ref :: REF | eff) Unit
 
user1804599
Which is what you probably want for this.
 
2 shift/reduce conflicts
I can't get this to work properly
Gawddamnit
 
user1804599
loop :: ∀ eff. (Duration -> Eff (dom :: DOM, now :: NOW, ref :: REF | eff) Unit) -> Eff (dom :: DOM, now :: NOW, ref :: REF | eff) Unit
loop k = do
  tRef <- newRef =<< now
  let go = do
    t <- readRef tRef
    t' <- now
    writeRef tRef t'
    k $ t' - t
    requestAnimationFrame go
  requestAnimationFrame go
 
user1804599
@Ven something like that I think
 
@orlp Do you plan to upload it at some point?
 
1:27 PM
0
Q: Web Server in C++

NATSThe browser requests for a package(http request package) from the web server app which is more of a gateway app then it talks to the lims app then converts the html into text for the user. And I've literally no idea how to even start this. Any guide will be highly appreciated.

7
/cc @Mysticial
Props for pictures?
 
Ven
@rightfold that doesn't look very good. but it sounds about correct. thanks
fwiw why do you newRef =<< now? I don't need it outside of go
 
> let go
 
> let go = do
 
1:54 PM
> let go = go
 
Hello buddies
 
Ven
yo
 
Bionic Body at my gym this morning. He even asked me to take pictures for his social networks /cc @CheukKinSing
 
@Borgleader that's precious
 
2:10 PM
The only useful thing in the pics is the happy plug in the bottom one. You need to provide a concise question with some context. — Alex K. 36 mins ago
rekt
 
@jaggedSpire I know, pure gold
 
user1804599
@Ven You do.
 
user1804599
You need to keep the old time (tRef) outside the loop body (go).
 
user1804599
@Ven An easier thing you could to is use requestAnimationFrame with Aff, e.g. makeAff \_ -> requestAnimationFrame.
 
user1804599
Then requestAnimationFrame will block the Aff thread.
 
user1804599
2:23 PM
So you can use forever.
 
@AlexK. Obviously, the socket is not happy. It's turnt. Lit, even. (Educated guess: it many not actually be asynchronous) — sehe 11 secs ago
 
user1804599
makeAff :: forall e a. ((Error -> Eff e Unit) -> (a -> Eff e Unit) -> Eff e Unit) -> Aff e a
 
(Gosh those typos; edited)
 
@R.MartinhoFernandes yesh. Couldn't think of a better placeholder to denote indeterminate expression
 
2:37 PM
@AlexK. Obviously, the socket is not happy. It's turnt. Lit, even. (Educated guess: it may not actually be asynchronous) — sehe 14 mins ago
@sehe oh, you
work time now, toodle-oo
 
3:09 PM
hey where can I find the source code of this library "http://libcxx.llvm.org/" It' the c++ standard library used by xcode on mac osx, I feel a bit dumb but I cant find it
or is it available only in binary form due to being written in assebly
 
svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
 
itt room helps
 
efi
Hi , i'm making a simple roll playing game for my cpp course assigment. i'm made header file named 'Hero.h' and there i decleared function: void use(Item item)
 
well then... I'm sure your course leader is expecting a bit more than that, better get back to work
 
efi
and in the Item header i'm decleared function: Hero usedByHero
lol
isnt it a problem because i need to include each other
 
user1804599
3:20 PM
Are there regex implementation that parallelise?
 
@efi just wait until C++ gets modules and you won't need that include stuff
@rightfold yes
 
efi
so what is the alternative?
i must using cpp
 
I don't know how to fix this proper.
I need to have expression DOT qualified_id
 
@R.MartinhoFernandes thank you!
 
But I also need to have qualified_id by itself.
But it becomes ambiguous
Goooddddamnit.
This is horse shit.
 
3:25 PM
...expression DOT qualified_id?
That... makes no sense.
 
f(1, 2, 3).some_struct_var.mem_var
 
...that's expression DOT unqualified_id if your names aren't insane.
Now, how's that ambiguous?
 
I want to group together the .some_struct_var.mem_var.
Without doing it one by one
 
...I don't see an ambiguity.
 
Maybe I could mash together subsequent Access( l, name ) calls together
It's ambiguous when you have qualified_id as another part of it
| qualified_id
| expression DOT qualified_id
 
3:28 PM
Which is why it shouldn't be grouped really.
 
Buh.
But then I have to flatten it in my SemAST.
 
Also it's not actually expression DOT, it's postfix-expression DOT (because for example binary-expression doesn't work there.)
Hmm, that kinda reminds me I also don't handle that (though it'd come to light soon). I have id_expression for a.b.c, and a.b.c(1, 2, 3) would be a postfix_expression, but I can't handle a.b(1, 2).c yet.
But that's easy to solve.
 
derpstorm you suck
 
First parse as much of an id_expression as you can, then follow up with postfix_expression (in Vapor to avoid an ambiguity between the two, id_expression is only ever parsed as a part of postfix_expression), and then make a decision based on whether the next token is a dot or not.
Pure LL(1).
Next!
 
@efi do you know what a forward declaration is?
if Item has to use Hero and Hero has to use Item, you can forward-declare one of them in the other's header
 
user1804599
3:44 PM
@ThePhD DOT qualified_id is a postfix operator, DOT is not an infix operator.
 
user1804599
So just do it like your other postfix operators.
 
@Rapptz What did I do. :<
@rightfold I don't really have them separated.
They're all just expression.
I guess I'd better get to it.
 
user1804599
Group things by precedence.
 
I have precedence rules.
It's just the parse itself is ambiguous from all being smooshed together...
 
user1804599
Don't use parser generator provided precedence crap.
 
user1804599
3:46 PM
It works only for the most simple grammars.
 
Well, shit.
Now I have my work cut out for me.
 
@Morwenn yes, will do tomorrow or today
 
@orlp Thanks :3
 
user1804599
0
Q: Program malfunctioning when stop using useless sizeof() for no reason

Thanos TsounakisIn a month or so takes place in Greece the National Competition of Programming (Panellinios Diagonismos Pliroforikis // Πανελλήνιος Διαγωνισμός Πληροφορικής), so I took a look and saw the problem the competitors need to create to pass the first Phase. So, we have to create a program that reads ...

 
user1804599
3:56 PM
wtf that question
 
@ThePhD ya left the discord server and when asked to come back you made repo private
 
@Rerito Did you get on your knees and suck his dick
inb4 flag & ban
 
lol
 
4:13 PM
@Rapptz Furrovine is dead anyway, it just reminded me that I might as well get rid of the thing.
 
ye but lad
join discord server again
you can't just ignore love letters mate
that's against the stars and the stripes of the good ol USA
 
Such bromance.
 
@CheukKinSing Nope
 
@ThePhD Why did you leave discord?
 
@rightfold the heck is pegjs?
 
user1804599
4:26 PM
@Griwes Parser generator.
 
Parser Generator JS
 
@Borgleader wow. That's a good one!
 
Ven
Half-Life 1 is so awful.
 
4:45 PM
:| kinda want to make a small tool that can be used for quickly hosting the current folder. Mostly because I thought a good backonym for it
 
@Rapptz is my hero
 
hi
 
Ven
@thecoshman minio
 
nope, even better
if I actually do bother to make it, it would be called "Host These Things Please" :D
and it would be sensible defaults for everything, so you can just install the program, and the run http in a given folder, and boom it'll be hosting cwd over http on the first port it can
 
nwp
4:55 PM
@thecoshman including subdirectories? Following symbolic links?
 
whoaaaa really? i will subscribe to your newsletter!!!
toast is a nice complement to bacon
 
@Borgleader There's an even better one on meta.SE today. But the comments are so long that I can't screenie at work. Remind me when I get home.
 
nwp
@thecoshman just rename hfs
 
@nwp sub dirs yes, sym links, probably not... too likely to not be what people want
also, linux cli is target
 
Ell
Hi
 
5:12 PM
fuck it, I'll make the repo :P
I'll do a rightfold
 
packin crowds, jampacked venues, needles collapse while atmospheres continues
 
¬_¬ who let the kiddies at the acid again?
 
@thecoshman python -m http.server 8080?
 
5:23 PM
@R.MartinhoFernandes yeah... I might be lazy and just wrap that :P
but also, fuck python
 
wrap that shit like a CHRISTMAS GIFT JIGGA
 
5:38 PM
All schools should offer free cookies during finals.
It's hard to pass up free cookies
Just ask your web browser
 
user1804599
@thecoshman nginx
 
5:56 PM
@JonahSloan Free cookies are evil. Just ask any OOP expert. Only member cookies should be allowed.
3
 
Ell
okay I get applicatives now :V
 
@thecoshman throw transaction_incomplete("You did not abandon the repo within 3 minutes.");
 
user1804599
Yay
 
6:37 PM
^ lol
 
00:00 - 19:0019:00 - 00:00

« first day (2249 days earlier)      last day (2692 days later) »