« first day (1844 days earlier)      last day (3119 days later) » 

1:00 PM
@Jefffrey in france landlines are long dead (except for v old people like 60+)
 
For one specific reason.
 
We were talking about two different things back then and now
No what
 
the cables are used for xDSL only
 
@Jefffrey You're not obliged to have a phone
 
Dude focus
 
1:00 PM
Radio freq ranges are damn expensive.
 
Now we are talking about Skype being able to call landline phones
Back then we were talking about getting rid of both landline and mobile phones.
 
@Jefffrey how did you count that?
 
And to support every land-based phones by actual remote BTSes would basically murder every network out there.
 
Every phone. Any device that is called and messaged via a number (inb4 everything is called via a number, fuck you).
@sehe Experience
 
Interesting
 
1:01 PM
@Jefffrey Phones won't die anytime soon.
 
@sehe I was going to question the veracity of his statement too.
 
For a variety of reasons in both mobile and landline cases.
 
but then Internet and :effort:
 
On Windows: kbox, tony, andy, robot, nooble, telkitty, alex, mgetz, cat, jerry, rapptz (maybe), mysticial, etienne
 
cosh is on linux
 
1:02 PM
@Jefffrey all the cool guys
 
sehe
 
yeaaaa
 
On Mac: some machine from rightfold, coliru's author, me, bartek
 
user1804599
I'm on Windows at home.
 
Cosh is on Linux.
 
1:03 PM
On Linux: Ell, cosh, some machine from rightfold, griwes
 
Ell is on Gentoo
 
Cosh is on Linux.
 
> coliru's author
 
user1804599
I'm sometimes on OS X at home.
 
@Jefffrey stacked
 
1:03 PM
because he loves recompiling kernels
 
I'm on Linux, silly person.
 
user1804599
I'm on Gentoo at work.
 
@Griwes but you are not cosh
 
I asked him once on Mumble about a Windows feature and he said "What do you take me for?".
 
@AlexM. how does that matter
 
1:04 PM
Still, it's overwhelming Windows
 
@FrozenHeart nobody said Event is less platform specific. David said "to enhance portability" (of the library). The library will want to guarantee similar semantics on all OS-es. This could be a factor. Not I say "could be" because I don't know. So, "enhancing portability" is about the behaviour of boost::mutex, not about whether the code can compile on a platform. — sehe 29 secs ago
 
cmon man windows is cool
 
@Jefffrey ok now I believe you :)
 
Even assuming I got it wrong 20% of the times
 
if you expect linux to be just as easy to use and stable as os x without work then...
just go windows
 
1:04 PM
@Jefffrey you didn't dare plink them
 
@AlexM. ...it is tho
Just choose a distribution that doesn't require recompiling the kernel twice a day.
 
You don't have to go full Ell.
 
@TonyTheLion I'm not sure all these names actually concur.
 
Never go full Ell.
 
Yeah. Many will use Windows in some capacity.
But lets ask about their platform for C++ development
 
user1804599
1:06 PM
I use Windows solely because of video games and dual boot being too disruptive, VirtualBox being too shit, and VMware Workstation being too expensive.
 
@sehe The most hacky thing you can imagine.
 
You really just have to look for "Fuck VS" on the transcript and it will highlight Windows people for you
7
 
@Jefffrey That almost makes sense.
 
> Windows people
is that racist? :P
 
Yes. Also, firmly in the "in some capacity" zone
 
1:07 PM
@Jefffrey VS is something you need to experience
 
@TonyTheLion Osist
 
you cannot do that on linux
 
@AlexM. Haha.
 
But you can comfortably say "Fuck VS" from the comfy zone of Linux. I just did
 
actually
can't you just install linux
and see for yourself
installation takes 1 hour tops
 
this whole discussion is pointless
 
user1804599
8 joins in a single select query. :(
 
@AlexM. pointles go so well with skitles
 
Jun 30 '13 at 5:48, by ThePhD
Fuck visual perception, yo. I'd rather be blind.
 
user1804599
I wonder how many joins are allowed in a query.
 
1:11 PM
@Elyse yeah if you put them in 8 queries, they wouldn't join
 
user1804599
100? 1000? 10000?
 
I think it's soft-limited depending on the explain plan
 
@sehe, if I want the status of a file is it stage > get status > unstage then?
 
user1804599
10000000000000000000000000000000000000000000000000000000?
 
@JohanLarsson what
 
user1804599
1:12 PM
@sehe Stop met joins roken.
 
The status of a file is RO property. But you can't really get the status of a file, in that sense. You get the status of a work tree or the index. And you can find a given path in that if you wish
Files don't have a status.
Paths exist inside index/tree/worktree
 
<- does that look right?
 
It's an arrow. Are you looking for git diff [--staged] --name-status?
 
history and possibly
 
@Jefffrey 20 minutes into VS and chill and I can confirm.
 
1:16 PM
@JohanLarsson No of course not. It sounded outlandish when you started:
3 mins ago, by sehe
@JohanLarsson what
 
For my backuper I need to implement: public bool CanRestore(FileInfo file)
oh, does not need to be complicated like that
 
Just use git-bup (trigger: backup)
Also, wtf. Your _backup_er needs CanRestore?
If your backuper restores, then you have at least a naming problem.
 
It is for the file based thing, if there is no backup file we can't restore
4 hours ago, by Johan Larsson
I have a sucky design of a thing
But getting rep like crazy, 20 today
 
I have no clue what "file based thing" means. Nor what "backup file" means in this context.
I say if you need backup files while using Git, you're doing it wrong. If you mean something in the Git object database, then there is a better name than "Backup file"
 
I have this mess where I save files to a backup folder with timestamps now
Idea is to write a thing that uses git and commits them instead
For settings files
 
1:22 PM
Seriously, the fuzzy picture that forms in my head now is "I want to use git as an incremental backup tool". In that case, why is everyone so afraid of scripting?
@JohanLarsson etckeeper, git-bup. Just use Git-Bash, PoshGit, vanilla Git in cmd or bash. On all platforms
 
I don't platform
mono-plat
 
@JohanLarsson it's like saying you want to do your own carpentry right, so you start by creating a drill.
Just... rent a drill. And the other tools that you'll also need.
Lease it. Keep it if you like it.
 
@sehe Drills are pretty cheap.
Oh wait that was an analogy.
 
A cheap analogy
 
I'm explaining poorly, not gonna waste your time anymore right now
 
1:26 PM
@JohanLarsson Just realized, you'd probably be very happy with TortoiseGit, abstracts away the staging area by default (unless you meddle with it yourself)
@JohanLarsson Ok
Do look at the list of tools though. Chances are that if you cobble up and test your design with them, you know accurately what you need to implement if at all
 
LibGit2Sharp was sweet, just add a nuget package and ~15 lines of code to do what I need
Has the git binaries included so no need for installing anything
 
Wat. Last time I checked that implemented the git object db itself in C#. Am I misremembering?
 
user1804599
I don't understand joins.
 
@JohanLarsson Also, you're installing the nuget
 
dunno
 
1:30 PM
@Elyse there are many types of joins and even more ways for DB engines to "execute" them
 
user1804599
I have SELECT ... FROM t LEFT JOIN u ON ... LEFT JOIN v ON ... but it doesn't return all records in t.
 
@sehe sure but it is pretty minimal I just make a package referencing it and it autoresolves on build
 
@Elyse depending on flavour, LEFT OUTER JOIN. Also, check the constraints...
 
user1804599
> First, an inner join is performed. Then, for each row in T1 that does not satisfy the join condition with any row in T2, a joined row is added with null values in columns of T2. Thus, the joined table always has at least one row for each row in T1.
 
@JohanLarsson Most people don't build on the deployment plat. But, it might be a build tool, so...
 
user1804599
1:31 PM
I thought LEFT JOIN was an alias for LEFT OUTER JOIN.
 
user1804599
> INNER is the default
 
user1804599
oh :v
 
Quick suggestion. A question on SO might suit well for your case @JohanLarsson
 
user1804599
Still doesn't work with OUTER. :v
 
user1804599
And the query takes 12 seconds lol.
 
user1804599
1:33 PM
fuck SQL
 
> [...] Also, check the constraints...
 
user1804599
I have a WHERE clause but it only restricts u and v, not t.
 
user1804599
@sehe Which constraints?
 
Are you by any chance using a RDBMS capable of (visualizing) explain plans?
 
user1804599
Yes.
 
1:35 PM
Oracle: TOAD, SQLServer: Studio, ...
 
user1804599
EXPLAIN ANALYZE
 
user1804599
No need for ANALYZE.
 
bah analyse
 
user1804599
@sehe They don't restrict t I think.
 
1:38 PM
> I think
I think it does
 
user1804599
           FROM products AS p
LEFT OUTER JOIN customer_order_items AS coi
             ON coi.product_revision_id = p.id
LEFT OUTER JOIN customer_orders AS coo
             ON coo.id = coi.order_id
LEFT OUTER JOIN dealer_order_items AS doi
             ON doi.product_revision_id = p.id
LEFT OUTER JOIN dealer_orders AS doo
             ON doo.id = doi.order_id
 
Be careful with implicit out-ruling of NULLs e.g.
 
user1804599
Oh, wait, I also have to join with product_revisions.
 
@Elyse is it an idea to rewrite into id-set queries (select from dealer_order doo where doo.id in (select id from ...)
@Elyse Ah.
Reading closely that seems likely :)
 
user1804599
fuck this shit
 
user1804599
1:40 PM
I want product_id and product_revision_id types.
 
The joys of untyped keys
You just want your queries generated by an ORM tool
 
user1804599
intly typed APIs suck
 
user1804599
@sehe No, absolutely not.
 
Apparently you do
 
user1804599
No, I do not.
 
1:41 PM
Not all ORM tools need to overreach or be used for everything
 
user1804599
Ok, it works now.
 
user1804599
Added join on product_revisions.
 
user1804599
Now the performance aspect.
 
Don't let your trauma or loss-of-control keep you from using good tools. Especially if it guards you from bugs you might not have spotted
@Elyse indexes, join order (that's what analyze would usually fix since it's all PK joins)
 
user1804599
Because you just know the morons users are gonna continuously F5 the page displaying the results of this query on the moments with the highest load.
 
1:43 PM
@Elyse That's not an explain plan, though. See technet.microsoft.com/en-us/library/ms178071(v=sql.105).aspx
 
user1804599
@sehe ¬(ORMs ∩ good tools)
 
user1804599
@sehe I've interpreted the result of EXPLAIN queries in the past with success.
 
@Elyse ok; good luck then!
 
user1804599
 
user1804599
explain analyze also shows the actual performance, not just the guess
 
1:46 PM
Transferring 3 GiB off of the slowest SD card imaginable.
 
@Elyse is that pgsql?
 
user1804599
Yes.
 
@Nooble That's surprisingly fast if you have good imagination
 
@sehe 18 MiB/s
 
user1804599
It should not be hard to construct a tool that derives a fancy diagram from this output.
 
1:48 PM
18 men in black
 
@Nooble See. I already imagined it a 3.4kb/s
 
@GregorMcGregor And what were you planning on changing it to? :p
 
@sehe :P
 
@Elyse also pretty useless. I prefer greppable stuff with ultra-consistent formatting
 
user1804599
Step 1 of solving performance issues: run VACUUM ANALYZE.
 
1:51 PM
MUMBLE
 
@JonClements "Jon Clements"
:P
 
Xeo
@Mr.kbok *"Jon Clements ♦"
 
@Mr.kbok I have to admit - that's a fantastic choice - but I'm afraid it's taken :p
 
Good job, UWV
 
user1804599
ooh, nice
 
user1804599
1:55 PM
execution time reduced from 59s to 22s :D
 
Fuck them. Their site is unintelligible. And I'm not a moron
@Elyse how? TRUNCATE order_details?
 
user1804599
CREATE INDEX ON customer_orders (extract(year from time))
 
I didn't see that constraint earlier
 
user1804599
WHERE extract(year from coo.time) = ?
  AND extract(year from doo.time) = ?
 
That is crazy readable expression syntax though. I'm not sure I like the "special" cases
 
user1804599
1:57 PM
You can also write extract('year', time).
 
@Elyse So you didn't make it faster. You just made it different
 
user1804599
Apparently. At least, that's how the explainer formats it.
 
user1804599
@sehe No, that was already in the query.
 
user1804599
I added an index and it got faster.
 
@Elyse way to not show relevant infos
16 mins ago, by sehe
@Elyse indexes, join order (that's what analyze would usually fix since it's all PK joins)
 
1:59 PM
Daily dose of VS-induced rage: Update 1 RC reset my settings to use tabs.
 
Anyhoops, carry on
@R.MartinhoFernandes They know you so well
 
Someone tried new mysql57 ? Some visible performance's?
 
Best performance is invisible.
I don't care how slow it is, but if it's visible, it's annoying
So, do I dare download from this .... ftp.adobe.com/pub/adobe/reader/unix/9.x/9.3.3/enu
I mean. Come on Adobe. That's 2015 now
 
Sehe, you search for a job ? :D
 
Yup
More like I'm currently fighting with retarded UWV websites
 
2:03 PM
Heh what about 1.500 Euro/Mont 2/3 hours per day.
 
Pffft. No thank you
 
heh. I can give you 2000 max ... no more.
:))
 
Failing to show even a single relevant detail is an immediate no-no
I don't need to prostitute myself just yet. If you have anything substantial to mention, you could start there :)
 
I must learn myself c++. It's no chance to find a programmer. :(
 
Ell
18/24 on my linear circuits
5 marks were lost due to stupid mistakes -.-
I still don't know how to read questions
 
2:07 PM
Eli, can i ask you something about boost?
 
lel
 
@Ramy what about 6000 euro for 8 hours a day
 
@Ramy What do you need a programmer for?
I mean, I just find it a bit offensive that people start selling you a jobs without ever discussing the work, assuming you're just doing it for the money. I don't get that.
 
@sehe Poor Eli.
 
God have mercy on his soul
 
2:08 PM
@Mr.kbok In time , yes. Would be 6000. I'am My project is started.
 
And let's hope Ramy doesn't check tag stats
Or maybe, let's hope he does.
 
@Ramy That is true.
 
@Ramy commas go after a word without a space in between. Like so, <----
 
MMORPG. Game.
 
Hire me, I'm an expert.
 
2:09 PM
@Ramy Count me out :) Thanks for the infos
 
15 years experience in real world.
 
@Nooble lol
 
@Nooble I endorse you for breathing competencies
@TonyTheLion French is different
 
@sehe Wat
 
Well. Some think so. Cue guillemets
 
2:10 PM
:(
 
@sehe not is this regard. It's for question marks that it's different.
 
I took from public sources wow, Metin2.And combined them, I've rewritten to remove copyright and license.
6
 
Nooble once said "Periods go inside the quotes."
 
french ? english?
 
@Mr.kbok ewww
@Nooble also quotes being used where they shouldn't be
 
2:12 PM
@TonyTheLion ewww your food overall. don't criticize our punctuation :P
 
@Nooble "periods" be weird
@TonyTheLion Cool
 
http://www.radgametools.com/granny.html How it's ? Geanny + directx12?
It has a good graphics?
 
 
@Ramy You should check Cinch's tutorials for C++.
 
2:14 PM
^
 
@sehe oh man
 
> Blog not found
 
@Nooble Link please, with tutorials. :))
 
Haha did he delete it or do I not remember the url.
 
2:15 PM
@TonyTheLion compactcpp.wordpress.com /cc @Nooble @Ramy
 
^
 
@sehe So what is the main objection to Cinch's tutorials?
 
There is none. It's a useful resource. It doesn't replace a book, but other than that
 
@TonyTheLion Nothing.
 
2:17 PM
Best C++ tutorials.
 
@sehe Ah yes that is a fair point.
 
(wait I thought we were being sarcastic)
 
@sehe I read buttiful
 
I didn't think sehe was being sarcastic, but hey my sarcasm detector is terrible.
 
2:18 PM
You can be fair and sarcastic at the same time. To various audience. And the best part is you don't need to spell it out
 
I'am waiting for c++1z in clang. :D 2016
 
@sehe very cool css cc @VermillionAzure
 
march
 
And indeed I'm not. Chinches stuff at least looks nice, and is very brief. Good things
 
@Ramy Have you learned any C++?
 
2:19 PM
Yeah, a little bit.
 
@Ramy How much is that?
 
10%
in procent's
 
What are you up to, I mean?
@Ramy I'm guessing you probably won't need 1z.
 
But i like it. :D It's more easy. Like auto
 
That's in C++11.
Which Clang already supports.
 
2:27 PM
auto is in C++11
even MSVC supports that
 
Oh yeah that ^
 
"even MSVC" mediocrity index
 
and I didn't even mention the version!
 
If you could buy stocks in compilers, you'd have to short in MSVC stocks, cause they're sure to fall
If you do using std::cout at the beginning of your cpp file, so you can do cout << "foo"; is that also considered bad practice?
 
I think it's considered okay-ish, but I personally write std::cout
 
2:34 PM
I prefer operator<<(std::cout, "foo").
 
Nooble++17
 
user1804599
@sehe pgAdmin makes a diagram from EXPLAIN.
 
What is best? Clang or gcc? In clang i don't like flags.
 
Clang for life.
 
2:38 PM
@Elyse nice
 
Lol, MSVC still tries (and fails) to include <unistd.h> even though it is guarded by #ifdef HAVE_UNISTD_H.
What am the do...
 
@Ramy what flags are there
 
-Wall -g3 -ggdb -pipe -march=i686 -std=c++14 -m32
and some optimization flags.
 
@Ramy You do that for GCC too.
 
your command line is outdated. should be -november=i686
also -Wot -mate
 
2:41 PM
I actually using gcc49. I want to switch to clang 34 native
clang34 is native on freebsd 10+
in 2016 when 11.00 will be released. will be avaliable clang37
 
user1804599
It's the aggregation that takes so much time.
 
Oh and don't forget to use -fpermissive.
 
Hehe, in my original makefile from YMIR
 
0
Q: Can pattern-matching be done in constant-time?

ViclibMind the following code: foo :: [Int] -> Int foo (a : b : _) = a + b Although that program is O(1) in number of instructions, it is O(N) in actual time (worst-case). The issue is that a and b could be in completely distant places in memory. Due to our very laws of physics, a signal would take ...

wat
 
i -fpermisive
 
2:42 PM
> Due to our very laws of physics
stops reading
 
you know you've gone nuts when you're considering physics for performance
in haskell
 
oh there's some chemistry too
I'd say the guy smokes good stuff but he's got 10k so maybe that makes sense
to some superior users I mean
 
I'll have what OP had. — Alex M. 4 mins ago
lol
 
@AlexM. so much I don't even
 
2:50 PM
ikr
 
@harold I'm asking if it can be actually done in constant time - if this issue is or will ever be relevant in practice is up to another (very complex) discussion. — Viclib 3 mins ago
lel
 
Haven't seen @AnalPhabet lately.
 
@Griwes O(2^n) discussion?
 
@TonyTheLion Yes.
He rekt his HDD.
He said on Skype he's buying a new one soon.
 
oh noes
> on Skype
from his/her phone I assume
 
2:57 PM
@TonyTheLion Well, no, from his half broken PC.
 
I'm pretty sure it's a guy.
 
Can't tell to be honest
 
> Is beautiful and huge. However, this is a title whose first game is the best, while in the second, even though trying to do something different things, is noticeably dull.
I kinda expected this (Anno 2205).
 
2:58 PM
@TonyTheLion he's at the age when it's hard to tell anyway
 
@TonyTheLion Oh but his browser is broken.
 

« first day (1844 days earlier)      last day (3119 days later) »