« first day (2046 days earlier)      last day (2903 days later) » 

Ell
7:00 PM
but I mean people make a living out of it gaming
I don't see why not for coding
 
too much passion = ~~ too complex == useless because others can't understand what this shit is about
 
Ell
not that that's what you're trying to do, but I think it will happen at some point
 
@Ell Meh, coding is less riveting than say... an SC2 tournament :P
 
Ell
I think an SC2 is p boring :P I'd rather watch @sehe code
 
<insert your favorite multiplayer game> tournament
 
7:02 PM
I kind of lost appetite a bit. Too darn busy too
 
Ell
@Borgleader my point is, some people's favourite game is sehe coding
 
I think even if you create a weird cryptic frustrating game with no walkthrough, tutorial, or even on screen text. there will be someone who will play through it, and finish it completely.
 
@Ell No insult intended, but it sounds pretty boring to me. Then again, I was never much into spectator sports. I'd much rather do than watch.
 
user3790646
I'm going to study, thanks for trying to help me @sehe, I'll provide a compilable example in a few hours. :)
 
Okay!
 
Ven
7:15 PM
yo
 
watching wwe . to relax..hope it helps a bit :P
 
@BartekBanachewicz: You do Haskell. How does one submit Hackage package update when the declared maintainer is AWOL? I have an update for hs-bibutils.
And on a different note...
I am so hot!
Literally!
It is 26 C here somehow.
 
26 is hot?
 
relatively
 
in what universe? we were 29 yesterday and we're in the middle of winter... -.-
 
7:21 PM
sometimes you get 35 C which is very hot
@betarunex Celsius degrees
 
@milleniumbug yea. I'm also talking in degrees Celsius
 
otherwise I'd guess you're in Australia
 
in my place 25 is winter.. summer average is above 50
 
lol those indians
 
Ell
@JerryCoffin Nor me - I'd rather do than watch
 
7:23 PM
our temp hit 45 at the beginning of the year. That was death...
 
Ell
But I'd find somebody building or making something more interesting than playing a game, generally
 
@betarunex India?
 
@набиячлэвэлиь South Africa
We're in winter now. Southern hemisphere. India is northern hemisphere
 
you haven't seen death.. if you wanna see death, pay my place a visit, in summer peak it can reach 60
 
@betarunex From economist's perspective, same difference
 
@Khaled.K not happening. I got so sick from the 45C. I was probably literally dying from the heat
 
@R.MartinhoFernandes You had your ears checked, because of your tinnitus?
 
Ell
hearing exam?
 
@набиячлэвэлиь There's a huge difference. avg monthly salary here is $1838, india's avg is $295
 
7:27 PM
> >From an economist's perspective
 
Are we allowed to chat anything in general here? Or it is restricted to C++ now?
 
@tom_mai78101 you can also chat about assembly
 
@ProblemSlover I am more looking into asking about Travis CI.
Can't find a single chatroom on EFNet, Freenode, etc. that I can ask about Travis CI.
This chatroom is the closely relevant the most out of all of the options available to me.
Alright, I'm asking:
In Travis CI for Github, how do you specify it not to run any scripts?
 
@Ell yeah. My left ear is clearly worse :(
 
7:36 PM
@tom_mai78101 RTFM
 
Ell
:(
 
@набиячлэвэлиь It doesn't say you can't specify scripts. It never specifies at all or give any indications.
 
my mom can hear only my scream
 
what the fuck are you talking about
 
I want to ask if Travis CI can be used without any scripts
 
7:37 PM
specify what
 
Not running "script: blahblahblah"
In the YML
 
It didn't say, that's the problem.
 
IT DOES
Set phasers to plonk
5
 
If it did, I would've already know about this. Do you have any hints on where it may be hidden in?
 
7:39 PM
look into github opensource projects to see examples of usage travis.
 
So far, they have all specified scripts. :/
I'm still looking around.
@набиячлэвэлиь Can you tell me where? I'm interested in your answer.
 
@tom_mai78101 Anything, pretty much. In fact, C++ is a minority topic in here lately.
 
@wilx That's actually a good thing.
 
7:54 PM
@R.MartinhoFernandes I wonder if I'm the only one who finds it just a bit strange that they put the left ear on the right and the right ear on the left.
@wilx Lately?
 
@JerryCoffin Well, last few years? :)
 
surprisingly after hit of my mouse against the table it works properly. I thought it's the os related issue
 
Confirmed, american elections are super complicated
 
Have any of you had linker issues with clang 3.8 and Catch?
 
I'm using ld. When I compile with g++ everything is fine, when my coworkers (and myself last week, before my virtual machine got messed up) compile with clang++ version 3.7, there are no issues.
But when I compile with clang++ 3.8 I'm getting undefined references errors to stuff that's clearly compiled and included.
But only for some files--some of my other catch files compile and run just fine.
 
> Here we see the CATerpillar Rex in it's natural surroundings. Disembowelling is prey, a young unsuspecting Ptairplane. buttiful
 
it works in my head
 
I'm running out of ideas for what could be wrong, so I'm considering building 3.7 instead, but that's irritating--it would mean I wasted the last day or so of work.
 
8:09 PM
MVCE or GTFO
 
fired. reason: wasted too much time to compile shit
 
@R.MartinhoFernandes Why the heck do the print the results for the left ear on the right side
 
Another work of art: Jimmies: ☑ Rustled ☐ Unrustled /cc @sbi
 
nwp
@sehe ccing that to sbi is speciest, but since you are a regular victim I forgive you
You think all gorillas look the same? Do you?
 
8:18 PM
spelling is wonky
 
@nwp Well, mostly
 
I don't cc him because I think he's a gorilla. I know he's interested in animal ethology, especially in primates
 
So do humans tbh
 
@набиячлэвэлиь including humans.
 
Ven
8:28 PM
best. dog. ever.
 
@Ven Don't call her a dog. Have a pint or two, and you'll start thinking she's pretty hot.
 
Ven
You mean a pint.
Have a star or two, and you'll attrack chicks in your local area.
 
@JerryCoffin I guess it's because the person doing or reading the exam is facing me and so it matches their orientation
 
@Ven because he ATE the person in the purple shirt?
 
Ven
9
Q: How does one "get rekt"?

Alex A.I often see people write "get rekt" to someone when that person makes a mistake or when they beat the person to a goal. It's not immediately obvious what this is intended to mean. I assume "rekt" is Internet speak for "wrecked," but why should someone seek out being wrecked if they've lost at som...

That question's title is so amazing.
 
8:36 PM
@R.MartinhoFernandes I thought of that too--and it may well be correct, but if so, I think it's a poor decision. This is written only once (by a specialist), and read fairly often, so it makes sense to optimize for the latter.
 
Ven
@NaCl have you actually used it, or are you just linking to it after some googling?
 
@Ven Honestly, I just linked to it from duckduckgoing
 
Ven
right ;)
 
Does someone here have experience with benchmarking operation of a third party library that happens in a separate thread? when starting the client program, there are three threads: (1) GUI, (2) my business code, (3) the thread caused by the 3th party program and started automatically. When (2) supplies data, (3) uploads it to a server for me.
i'm only curious how much time the library needs to connect to a server and upload data to it once the (2) has provided the data. I've searched on keyword "benchmark parallel thread"
or "benchmark runtime other thread"
the problem is that this thread is still alive when (2) is terminated. So if i terminate directly after providing data to (3), it still manages to upload to the server
 
user1804599
@Ven get rekt OP
 
8:41 PM
i was like WTF when checking the db on the server
 
user1804599
Tomorrow I'll implement in my game the zombie AI
 
user1804599
And logging with Writer!
 
@JerryCoffin but the people reading it are also facing me
 
@rightfold Be sure to add a prime number test
 
@R.MartinhoFernandes They might be. Then again, they might not be (and presumably you will read it, and not necessarily while having an out of body experience, either).
 
8:48 PM
@KarelG Sounds very much like xy problem to me. In fact it sounds like "how should I track asynchronous completion". And the answer might be that "your 3rd party API might be crappy and you are doomed"
 
i'm familiar with the XY problem. You let me realize that i'm sitting with that problem. Yes. I'm doomed. :| Gotcha slap my face for that
Meh, i'm going to wrap that library and use a facade with timers at each method call.
 
user3790646
@sehe Wow, I love you so much.
 
user3790646
@sehe I was able to fix that error after reading your answer xD
 
:) Cheers
 
@wilx you have to contact hackage authorities
 
9:01 PM
@BartekBanachewicz Who would that be?
 
XY question is fine as long as you disclose that you are actually solving problem X and maybe Y can work and isn't
Y becomes "what I tried"
 
@BartekBanachewicz OK, thanks.
 
@LucDanton I went and looked at that rust parking_lot. I wanted to see if they had stress tests that try to crash it. it has no tests whatsoever?
 
@KarelG I'm not convinced the API/thirdparty thing forces that mode of operation, so you could present the dilemma (with more detail) on Stack Overflow and ask on advice how to change the approach so that you can have the control you need
 
user1804599
9:09 PM
Also in my game, I can do audio with Writer. A game loop cycle simply reports which sounds must be played
 
@doug65536 that's rare for Rust packages
 
yeah I wouldn't dream of a writing a concurrency lib that didn't unit test every corner case
 
I'd suggest that's one of the area's where formal proof/analysis is worth more
You might just be waiting for a new CPU series to break your tests
 
Xeo
You know what we need? Formal floof analysis.
 
yeah, unit tests in that case are not that helpful really
 
9:11 PM
@rightfold won't be enough
 
hi Xeo
 
there are so many corner cases
 
unit tests that deliberately cause the corner cases are amazing
 
sometimes you want to stop some sounds that are already playing
 
Xeo
bye Xeo (sleep timu)
 
9:11 PM
or don't play if something is already playing
 
just make your own Sound monad
 
@doug65536 They are. But we were talking enough. Also, how feasible is it to reliably cause corner cases in multi-processing concurrency
@Xeo night
 
user1804599
@BartekBanachewicz ok, writer of start/stop commands
 
lots of repetition, lots of little variations, strenuous tests, patience
and if you can afford to analyze it and guarantee theoretical possibilities, that's great to have too
the guys that made the shuttle booster cone would swear that it would never come off and hit tiles, if asked
because they checked with total honesty and they believed it was right
reality adds a nice dose of noise to the operation
 
9:16 PM
no, that's totally not correct.
NASA observed foam strikes on virtually every Shuttle launch
the problem is that they observed foam strikes on virtually every Shuttle launch, so they believed it was not a problem.
 
yeah I meant, they believe it wwould never cause damage
analysis can get you so far, after that you always want to try in reality
with today's libraries and thread sanitizer and address sanitizer and reasonably correct concurrent code, the bugs are pretty obvious
if you have some super hot shared data that threads are atomically pingponging around between caches, then you deserve bugs, because you told it to do something crazy
that doesn't always work
if two threads have to mesh and fight over everything, why even bother? Just do it in one cpu. The whole optimization is making it do separate things that won't fight over data structures
i.e., lockfree tries to fix the bug of excessive synchronization by trying to make excessive synchronization faster
so leave it excessively synchronized and fighting over cache lines, but make the lock calls fast. not optimal
what is sorely missing in libraries is a good way to add continuations to tasks. If you can say "and when all these have output, do this" then you can make async pipelines
 
f = [c, f] { f(); c(); };
:p
 
ok, but suddenly add that on in such a way that if f ran to completion, make a new c task, but if f didn't finish, pass f's return value to c when it does finish and return that, which I can append a task onto, which receives c's return
 
grrrrrr
fucking password validator that won't validate my password
and won't tell me why
 
@StackedCrooked I have implemented a When/Then lib for a task parallel lib
I keep expecting a standard to come out
 
9:30 PM
Intel TBB's task scheduler has continuation support.
 
nwp
@Puppy try Pa$$w0rd!
 
that... actually worked.
 
nwp
lol
 
yJXm%5%H8N#e"1:x9t$p ? not good enough
Pa$$word! ? totally legit.
 
ee67457f-8f59-4bd3-9c02-4b19d796a55a <-- uuidgen ftw
 
nwp
9:32 PM
maybe they have a cross-site-scripting sql-sanitizer thing that doesn't like %
 
I thought about that so I tried one without any special characters in it
still didn't work
 
a password field should accept binary input - completely and totally arbitrary. no such thing as "bad" character
 
Best password of the year: _9j3Df$fFjunv,"3
Everyone should use it!
 
security by "checking" lol
 
best check would be to use something like have I been pwned to see if the password has already been used there
if so reject
 
nwp
9:35 PM
I wonder if people use Pa$$w0rd! as unit test input to test the login mechanism
 
try no password. That can hilariously work, if written by copy/paste coder
 
fuckers need some more serious tests for their login page
 
yeah, a login page that isn't tested is insane. at least test that, come on
 
hah
 
insanely underqualified and overconfident devs
 
9:37 PM
we had a bug at our company where you couldn't log in as an administrator
but if you were logged in you could not load the login page, so you couldn't log out either.
so you were stuck not being able to log out;.
 
lol. so you had to go into browser debugger and delete cookies?
 
nah I just cast Summon Colleague and got him to fix the bug ;p
 
authentication needs to face the full onslaught of facing public unauthenticated requests. it needs to be utterly bulletproof.
every other endpoint can drop the request if it doesn't have correct auth token
 
nwp
I'm getting used to std::experimental::string_view, it is particularly useful with memory-mapped files
 
It's awesome!
 
9:41 PM
I farted
 
nwp
@NaCl I've been waiting to make a joke about you being salty, but I'll just get it out of my system by ruining it
 
9:53 PM
fuck
I'm £3.07 short of not having to pay for delivery
 
Haskell is hard. I basically do not know what I am doing. sigh
2
 
Bartek will show you the way.
 
@nwp I once hashed passwords, but I forgot salt
 
@NaCl You are the salt!
 
nwp
@NaCl You were right there man!
 
9:56 PM
@wilx No no no, he changed his name after the incident because he was so salty about it
 
@Borgleader :D
 
user1804599
@wilx git gud
 
nwp
10:17 PM
> file /usr/lib/x86_64-linux-gnu/libpthread.so
> /usr/lib/x86_64-linux-gnu/libpthread.so: ASCII text
what?
 
less it, it might be text
libraries and linkers have tricks, you can put a linker script in there
but it probably is a binary if I had to guess, strange
 
nwp
it is an ld-script...
 
@nwp I wish I could estimate the carbon footprint of not having string_view all these years. How many string copies have been done when they could have been views?
 
everything's ASCII text if you try hard enough
 
nwp
everything is ASCII text when your bytes have 7 bits
 
10:28 PM
@nwp hopefully unsigned though, with 7 bits
signed 7 bit and you have a bit of a problem, no pun intended
 
That sure gets salty!
 
nwp
omg I made a meme
I'm a monster
 
I want to know how long the original guy thought about which two letters to use to finish off base64, the first time anyone thought of using (26*2+10+2 symbols for 6 bits per character). More than 10 seconds?
 
@nwp Don't worry, you're not the creator. Those salt-jokes first appeared at gamedev-chat :P
 
the funny part is, you need an enormous amount of knowledge to pick the perfect two letters to finish it off, knowledge about all the asinine parsing code that exists
 
nwp
10:33 PM
I should visit gamedev some time
 
lol
 
@doug65536 and then some. It's not that complicated. There's just no standard, and people don't know about it. Very similar to character encodings
 
yeah, characters seem so simple, and a lot of code doesn't treat text with any respect, it is a byte array at best in most code
 
nwp
set<string> s; s.count(string_view); should totally work, but it seems like I'm gonna make the unnecessary deep copies and memory allocations string_view was meant to prevent
 
count?
 
nwp
10:38 PM
to check if the element exists
more concise than set.find
 
um, you just constructed it right? guaranteed 0?
is that oversimplified test case?
 
nwp
yeah, I have an if (s.count(string_view)) and usually the thing already exists
 
who owns the chars though? where are they?
when I try to make a map fast I usually store stuff in a vector then refer to it in the map entries
 
cache-miss fun! :)
 
chasing the std::string pointer isn't the same thing?
at least it isn't all fragmented in the heap if you force it contiguous
as best you can given most maps do several allocs
and when you do all-walk, you get full locality and ignore the map tree
 
nwp
10:48 PM
performance is not an issue, I just happen to have a string_view owned elsewhere that needs to be compared to elements in the set, but it doesn't let me
 
@doug65536 Pretty much a B+ tree, modulo minor details about how you keep the tree part balanced (and number of children per node).
 
@JerryCoffin yeah I see the analogy. accurate
 
nwp
oh, it is late
 
yeah, B+ is optimized for range accesses, and the tree above it let you shortcut to find start and end of range. the leaves would be my contiguous vector, the nodes would be the map. almost
that is the eternal problem with a string, where to put the characters without copying them around all the time and without alloc/free spam
another fast solution is interning. you just intern every string and use an integer token everywhere
token is offset of string in vector
then specialize map hasher and comparer to use index into vector, and you're done
 
nwp
there are some weird files in /usr/lib
> C source, ASCII text:/usr/lib/firebird/2.5/UDF/fbudf.sql
> POSIX shell script, ASCII text executable:/usr/lib/pm-utils/power.d/sata_alpm
> C++ source, ASCII text:/usr/lib/tome/help/birth.txt
> HTML document, ASCII text:/usr/lib/tome/help/head.aux
 
10:57 PM
what could birth.txt be?
death.txt, okay, that can make sense, but birth?
 
nwp
lots of *, must be C++
 
@nwp any file that begins with |||||oy is alright with me
oy, what you readin' mate?
I keep expecting to see "lol, why are you looking at a hex dump" in something
 
nwp
@doug65536 was that directed at me?
 
yeah read 1st line of that debian link
I found pleas not to pirate software when dumping games on my commodore. I forget which game though
 
nwp
no, that is an actual file in my /usr/lib from tome 4 and since it is GPL I'm pretty sure it doesn't count as pirating
I have no idea what that first line is about
> MPEG sequence, H.264 video @ L 109:/usr/lib/R/library/tools/R/tools.rdb
> MS Windows icon resource - 1 icon, 16x16, 16 colors:/usr/lib/llvm-3.8/share/scan-view/bugcatcher.ico
my view that there are libs in /usr/lib was so wrong
svg, latex, pdf, fortran, they have it all
 
11:09 PM
I've wished that file had a verbose mode that followed results with "because ... at offset ..."
it would explain weird results
 
so who's playing overwatch?
 
nwp
> very short file (no magic):/usr/lib/python2.7/dist-packages/astroid-1.4.5.egg-info/dependency_links.‌​txt
aww
@orlp are you saying the servers are not down? would be a first for blizzard
 
@nwp sorry we're unable to log you into battle.net
 
nwp
my world view is not complete wrong all the time :D
 
@nwp You're seriously exaggerating. Why, they were up for almost 8 minutes just last November!
 
nwp
11:14 PM
@JerryCoffin at launch you dummy, I'm sure they'll get it together in a day or so
I wonder if they actually fix things or it is just that not everyone tries to log in at the same time anymore
 
@nwp I was so tempted to kick you for a personal attack, but this guy pulling the strings on my back wouldn't let me!
 
nwp
that would have been seriously disappointing. do you have a particular reason to not like me?
 
@nwp I'm in
 
@nwp Whoosh!
 
nwp
@orlp in what? being disappointed? being on the list of reasons?
 
11:19 PM
your mom
I mean overwatch
 
nwp
oh, cool
@JerryCoffin give that guy a cookie for me
 
@JerryCoffin haha xD
took me a second
 
nwp
@JerryCoffin way over my head? in my defense it is way past midnight here
 
11:56 PM
@nwp jerry was just joking around like he always does
 

« first day (2046 days earlier)      last day (2903 days later) »