« first day (1940 days earlier)      last day (3005 days later) » 

4:01 AM
Like seriously, wtf do they do. Install git on a LAMPs server and profit?
 
well their front end is really nice apparently
For a few of the software project mailing lists I'm on that don't use github, people often try to get the projects to switch
And the reason is always that Github is just nicer to work with in terms of their UI and issue tracker and all that. I don't really do much collaborative git so I dunno if thats true
 
More like a reliability issue
For example, the server my undergrads setup has ~87% availbility
There are 450 full time employees at GitHub, what do they do?
 
Write code of conducts
 
Manage enterprise contracts.
Like 99% of all non-consumer-facing tech companies.
 
old man skin care . old man skin care . old man skin care
 
4:06 AM
also goood morning
 
@Mikhail they watch pron obviously
 
sry, thinking out aloud
 
For example, when I worked at Cray we had ~800 employees, except we put out a hardware product
 
i wonder what hackernews has to say about the github kerfuffle
always such insightful comments on that site :)
 
cancernews
 
4:11 AM
I think taking by const ref is raping my performance.
 
Depends what you're taking by const ref.
 
I see 30 copy constructors being invoked here
 
the butt
 
it's copying the same array 3 times lol
 
4:12 AM
But it was a ref!
 
I'm not following my own rule of thumb here.
 
Is there like a slight difference between the two types
 
I take it by ref and blocking its chances of moving because I copy it inside anyway.
 
that's causing it to copy?
 
4:12 AM
Should have used a pointer
 
Oh, you copy inside.
Take a value.
 
yeah I know
gonna see the impact of that
publish it in a pdf and call it "fuckherb.pdf"
taking it by value reduced the copies from 30 to 0
god bless
a gr8 lesson in not following Herb's advice
 
woopwoop
 
how do other languages like rust and swift handle parameter passing
do you have to decide between const ref and value
 
anyway I've reduced the time it takes to parse this JSON file from 480ms to 110ms
 
4:19 AM
@Rapptz IIRC Chandler mentioned this in his optimization talk, something about undervaluing the cost of taking something by reference
 
idk how else to improve the performance of this thing
 
@Rapptz use boost.spirit! :v
 
the parser itself is fast
 
@Rapptz Do you compare your lib against other json libs
 
the bottleneck was the memory allocations
due to how I store data
 
4:21 AM
so fix that :v
 
what do you think I'm doing yo
memory no longer a bottleneck though
so that's nice
@Prismatic no
my goal was conformance and ease of use
 
Does that mean your parser flips out if I add comments in my json
 
I'm just improving performance because I was curious and noticed my thing was slower than json in python and I felt insulted.
but now I'm 2x faster than python >:O
not great but better than being slower
@Prismatic no
 
nice
 
I have extensions to support non-standard behaviour.
@ThePhD provided the comment extension
you enable them at compile-time though
 
4:27 AM
COMPILE TIME!?
 
@Rapptz really
 
@Prismatic e.g. auto&& v= json::parse<json::extension::comments>(...) or whatever
 
I thought you meant you had to compile your lib with certain flags
 
@Rapptz You do new a lot of stuff: you could probably allocate numbers and even bits of strings in-place, no?
Also, if you can guarantee that the string you get stays in memory, you could make it so strings in the json::value are simply just string_views.
after that, though, I've got nothing.
 
4:29 AM
"I think people often undervalue the cost of keeping data in memory" - Chandler (1:36:43 in Understanding Compiler Optimization talk, i.e. the one @Xeo was at IIRC)
 
is how it is now
 
wfopen damn, that's one beefy file opening function.
 
yeah I don't get how that ended up happening
@LucDanton hm?
 
did you change how you model the JSON at all, or was it more like improving the allocation patterns etc.
 
ughh tired, ill continue with this opengl thing tomorrow
 
4:31 AM
@LucDanton latter
I reduced copy constructs by a loooot
which I think were my bottleneck
the unnecessary copies, it was like it was C++03 lol
 
I wouldn't change the internal structure of how I model value
cause that structure is why I wrote the library in the first place
I hated how every library had their own weird pseudo-container type lol
 
> 5 Hottest Functions to get your program beach body ready!
sorry
 
@AndyProwl Could I convince you to fund my research if the main objective is to "stick it" to Tescan?
 
Ugh.
I am not looking forward
to making Overloading work.
Fuck me.
 
4:37 AM
@Rapptz lol 5 Hottest functions is that a pageant for functions or what
 
@ThePhD overloading for what
 
does anyone else get booty bothered when people namespace things after themselves
like if all my libs were namespace rapptz
 
@Rapptz o.O
 
not really
coming up with namespaces is hard
 
namespace prismatic
 
4:40 AM
Not a problem for me either
I mean you need a unique top ns anyway so
 
In that case I'd just put everything in namespace awesome :p
 
Might as well be shit
 
I prefer using my project name abbreviated
 
forcing namespace aliasing sucks
you guys are lame
 
no, I'm awesome.
 
4:40 AM
whats namespace aliasing
 
namespace foo = bar;
 
that
 
why would you do that
 
e.g. namespace fs = boost::filesystem;
so you can shorten your typing
 
that
 
4:41 AM
a game put temporary files in my documents :|
 
nooble uses bugfree amusingly enough
@LucDanton execute it
 
lol
 
@LucDanton they are temporary why do you care
 
real men fully qualify all their names
::real::men::fully::qualify::all::their::names
 
@HubertApplebaum my precious ssd real estate
 
4:41 AM
@HubertApplebaum because "my documents" is for my documents! :p
 
@Prismatic Thats Java talk
 
@Prismatic you forgot to qualify the global namespace
@Rapptz no you weirdo
 
> Github has become the number one place to show of your portfolio. Half of job postings these days encourage you to include a link to your GitHub profile.
 
k
 
"guess from which country I am"
> Agreed about Bitbucket. I've used it for a long time and haven't found it to be substantively different from GitHub in either functionality or reliability. The major downside, as I see it, is that it's just not as popular.
wow wow wow wow wow
 
4:43 AM
@LucDanton I did something like return::foo; by accident once. looks weird :D
 
well
 
@HubertApplebaum thats true tho
 
I still think my other number parsing routine is faster
but it made my code go from like 400ms to 16.8s last time I tried
not even sure how
 
... wut
 
it worked standalone
yeah that's why I was trying to get it to work with nonius
 
4:48 AM
@Prismatic well I have no idea where you live? :)
 
but instead I got greeted with 0ns out the ass
but clearly it was doing something
 
@HubertApplebaum Whatever you're talking about is going completely over my head... I don't see what the country you're living in has to do with it
 
btw faster to compile and run than github.com/nlohmann/json and idc about the rest.
 
@Prismatic that may explain your confusion
@Rapptz yess benchmark war
 
Prius-matic made me curious
 
4:50 AM
@Rapptz test that single header json lib
 
@Rapptz Your primary competitor would be RapidJSON and that one C JSON Library...
 
I use it for a project lemme find it
 
@Prismatic plenty of places where those who recruit don’t give a toss about candidates and GH
 
oh whoa
picojson
it's been so long
 
4:51 AM
 
rapidjson is definitely faster than mine
they store data differently and don't care about conformance
 
vOv
 
or is that a different lib that doesn't care about the latter
no it is a different lib
rapidjson is the good one
 
Howdy
 
hi
 
4:53 AM
@LucDanton clearly you must live under a rock
 
here recruiters care about your Dailymotion account
 
délimocheun
 
and interviews take place in Quick restaurants
 
@Rapptz how do you store data?
 
I believe I need an is_c_str trait.
 
4:55 AM
verbols
and disk
 
... Which I have.
 
@Rapptz uses pointars to the document
 
But is it sufficient...? Maybe.
 
@ThePhD that says yes to char*, const char*, char(&)[N]? or what
 
@melak47 object is std::map<std::string, value>, array is std::vector<value> etc.
 
4:57 AM
mkay.
and what do they do that's so different?
 
@melak47 they use their own representation
 
@melak47 Those three + std::string
 
most JSON libs use their own data types
that I've seen anyway
this picojson api sucks
how do I pass in a file
 
why not just use cereal?
 
4:59 AM
oh operator>>
no exceptions
picosjon::value v;
std::cin >> v;
std::string err = picojson::get_last_error();
 
because exceptions are slow
didn't you know
also some cpopels can't use exceptions in their project because <reasons>
embedded or whatever shit
(am serious on that last one)
 
@Prismatic 2x faster than this one
btw this made me feel better
I thought I was super slow but at least everyone else is slow too
now I don't feel so nub
 
nice
no exceptions allowed in the JSF c++ coding guidelines
 
rip
 
Weee, programming.
 
5:11 AM
@Prismatic so don't parse json in a figher jet :p
 
@ThePhD :3
 
@melak47 yeah, use .ini files
 
A better troll comment would have involved using the Windows Registry
 
5:51 AM
How on earth is MSVC so broken? Apparently names from foreign namespaces hide template parameter names.
 
I don't think I've seen that before.
 
Are template names just all supposed to be obfuscated with some Hungarian naming convention?
It kept complaining about std::allocator in templates with a parameter named typename allocator. So I renamed them to alloc and the problem went away.
But then the testcase with a template named alloc started failing. So I put it in a namespace. No dice. Renamed it to allocz. Problem fixed.
 
@Mikhail I actually was tempted to :) but ya know, airplanes and all that
 
Use m_allocator
 
I'm trying to avoid shitting on my entire library just for MSVC support.
 
5:55 AM
M stands for ... mine probably ...
When MSVC sees m_, it knows it's yours and stops complaining ...
 
Yes, giving a special prefix to suffix to all template parameters is a solution, a la Hungarian naming.
 
Naming convention, unfortunately, is like getting seats on a bus - earlier ones get all the best seats
 
Anyway, template parameters names are special because nothing can ever hide them. You can't declare a type, variable, or another template parameter with the name of an in-scope template parameter. This is ridiculously borked.
 
template parameters are camel case, you badlet :p
kidding. got a sample of this? :D
 
@TelkittytheWebDeveloper That's why we have a type system and scoping rules: to reduce pressure on the naming convention. See a standard library implementation for what happens when only reserved names are allowed.
@melak47 In many styles, so are class names.
 
6:06 AM
#include <allocators>

template<typename allocator>
struct foo {};

int main() {
	foo<int>{};
}
what else do I need to reproduce this?
 
I don't know. Probably there's something like ADL going on. I don't have a copy of MSVC, I don't intend to file a bug report, I'm just porting my function wrapper library on a dedicated branch.
Idea: #define allocator allocator_ instead of search-and-replacing everything. Then there's at least a fighting chance of merging the branch in the future.
 
6:49 AM
> I don't intend to file a bug report
how's that gonna solve anything :D
 
LOL… now I get simply "Error C2338" with no further explanation. MSDN says only this: "'identifier' Atl Attribute Provider
The attribute references an undeclared identified. You may see this error associated with ATL Provider Error ATL2010." … So, it's an ICE?
@melak47 How would a bug report solve anything? I'm not going to file a bug report on a product that I don't have installed. I'll just stop aggravating the bug.
(I'm using the online compiler rextester.com.)
 
are you pasting your header and test code there to port your lib? :D
 
Yes
FML
 
nice workflow
 
7:06 AM
This guy needs a lawyer:
-2
Q: How does the Community Moderator model fit in with the TOS/Privacy/Content License Policies?

mikeservI have been banned for a month from the only SE site I really use. I do contest it, as do most I suppose, but that's not what this question is about. If curious see my profile. Instead, while thinking about the ban, it occurred to me to research a little how a Community Moderator might tie into ...

 
@LucDanton Beats buying Windows, installing and maintaining a virtual machine.
 
Or just use Windows natively like me. :)
I'm probably the only person in the fucking world who does hobby programming on Windows.
 
The only one who will admit to it on record, maybe :p
 
But you're using Intel's compiler, right?
 
MSVC and ICC.
 
7:19 AM
Also, using Windows as a frontend for GPU computing sidesteps most of its uncoolness.
 
MSVC is the better development compiler since it compiles a lot faster than ICC.
But it's pretty bad generating efficient code.
 
7:34 AM
@JohanLarsson No
 
also ICC doesn't have an IDE...
 
ICC integrates into MSVC.
So Visual Studio is the IDE for ICC.
 
yep
 
That's not to say that it always works that way.
 
Well, you can use Eclipse...
 
7:46 AM
Every time MS does a major release or update of Visual Studio, it breaks the ICC integration until the Intel guys can fix it (usually with a few months lag time).
 
I'm still waiting for CUDA support in MSVC2015
So, this is kinda cool:
 
 
1 hour later…
9:06 AM
morning
 
 
1 hour later…
10:10 AM
thanks for the update snak
 
Xeo
you got khaled plonked?
 
Xeo
so yes
 
at least it's consistent
 
Xeo
 
10:17 AM
#disgusted
Hurdy-gurdy is fucking amazing
 
10:29 AM
@MadaraUchiha I use Duplicati; it's meh and has incredibly shitty UI but kinda works. From important things it has VSS, encryption, S3 upload and incremental/periodic full backups
Oh and selective restore, but it's slow as fuck
 
10:49 AM
One hour in the Lounge without messages? I didn't think it was possible.
 
Blame the horse
 
The horse?
 
The horse
 
k
 
how am I supposed to figure out who plonked me, it gets awkward when chatting
 
Ell
10:54 AM
RIP DJ Khaled Khnifer
 
@KhaledKhnifer You're not.
 
@KhaledKhnifer I'm still here
 
@TonyTheLion <3
 
@TonyTheLion <3
 
Ell
Wtf man. Did Google chrome mobile remove "copy link location"?
 
10:56 AM
@CatPlusPlus which horse, dragonfly or nitwit?
 
user1804599
@melak47 I think expected also takes an error type.
 
user1804599
And the error is always the same ("out of range") so you could just leave it out and use optional instead.
 
user1804599
@Xeo Nice background image. Is it transparent on black, or is it black itself?
 
Xeo
11:11 AM
@MadameElyse prolly the latter. I just picked a random dark theme and modified it for my needs
 
user1804599
:(
 
Xeo
om nom nom tacos
 
user1804599
I found an impostor!
 
11:18 AM
Todays' C lol: 6 upvotes for an answer that is grossly incorrect:stackoverflow.com/questions/35250487/…
I need moar paracetamol and less headache.
 
Not posting on snack overflow helps with latter
 
@CatPlusPlus I can't understand it. I had only one beer last night, but I feel like I've been on an all-day session:(
 
Internet makes you dumb drunk
 
@CatPlusPlus I'll try another coffee.
 
Xeo
oh boy, those tacos
1500kcal inhaled in 30mins. I'm so stuffed.
 
11:26 AM
you’re supposed to eat them, silly
 
@MartinJames Ooooh, great idea. Totally stealing it :o
 
Coffee is bad
 
@набиячлэвэлиь And so are you.
 
@набиячлэвэлиь indeed; make sure to hand over all your remaining supplies
 
@LucDanton I do not have any of that shit
 
Xeo
11:29 AM
@MartinJames Cosh seems to have had the same issue yesterday or so...
 
@Morwenn At least I'm not a druggie, unlike you v0v
 
Xeo
coffee is a drug?
 
@набиячлэвэлиь Lol, you can't live without water. You're totally addicted.
 
@набиячлэвэлиь go scrounge your neighours’ cupboards then report back
to spare them the evils of coffee of course
 
@Xeo Yah, p much
 
Xeo
11:31 AM
Do you eat sugar? If so, you're a druggie yourself. :P
 
> >high-end deskop motherboards
 
Fun fact: the most expensive coffee beans in the world have been swallowed then shat by small mammals.
 
> >2 PCI(e) slots
@Xeo Not raw, no
Gigabyte r u kiddin'
 
Xeo
@набиячлэвэлиь I'm not talking about eating raw, granulated sugar
 
Nothing my life's dependent on is a drug, let's say
That includes glucose and hydrogen dioxide
 
Xeo
11:33 AM
sugar (in whatever form) pretty much is a drug, tho
 
Same effects on the brain.
 
m8 the ld50 of sucrose in rats is 29.7g/kg vs 7 for ethanol
 
user1804599
You die without sugar.
 
@Xeo And is essential to keep my brain running
 
I’ve never heard of sugar withdrawal or tolerance either
 
Xeo
11:34 AM
@набиячлэвэлиь nah
 
@набиячлэвэлиь Same as coffee.
 
@набиячлэвэлиь That doesn't make it not a drug.
 
so it may be a drug in some merits, but how comparable is it?
 
/me bails out before it's too late
 
as someone whose life is quite dependent on drugs, I say, it's fuckin' great and I'm never going back
 
11:36 AM
Warning: drugs turn you into puppy.
 
WOOF
 
meow meow meow
 
@MadameElyse in a map you could also get bad_alloc, or anything from the map or the value_type constructor etc
 
user1804599
@melak47 Yeah, but bad_alloc is something you almost never want to recover from, so you don't want to return that.
 
user1804599
Also, at doesn't call the value type's constructor.
 
user1804599
11:41 AM
bad_alloc indicates that you failed at simulating a Turing machine. It is thus a bug. :3
 
@MadameElyse oh, map::at. fair enough
 
user1804599
Constructors not being able to signal errors by returning them is the main reason I dislike the way constructors work.
 
user1804599
Or not returning anything but the class type in general.
 
returning errors is usually a terrible practice
 
user1804599
C/Go/Rust master race.
 
11:45 AM
Rust or bust
 
@MadameElyse your new gravatar looks like a poop emoji when its the small version
 
user1804599
I don't think so.
 
user1804599
 
user1804599
> TODO: Add TODO items from Google Tasks
 
user1804599
11:50 AM
dat todo
 
@MadameElyse That can't be particularly meaningful.
 
12:02 PM
15 hours ago, by Morwenn
I thought it was a small pile of poop at first.
 
@MadameElyse Burn him at the stake!
@StackedCrooked Is this Peter Gottschling guy well-known? Never heard of him before...
I'm going to judge his competence by this video.
 
user1804599
Gottschling is the holy variant of Gosling.
 
Gottschling could be translated as "god devour" :)
(ver)schlingen means to devour
schling(e) could also mean noose
god noose
 
12:30 PM
goose
 
> ....... prime(n) blah blah blah By this way you can check prime no very quickly and add those to array, then you will have an array containing only prime no(same as datatype accepting prime no)

COOL NO?
lol
@набиячлэвэлиь myth rusted
 
12:55 PM
sup goats
 
government will tend to disagree because they can get little taxes from homesteads
 
Ell
Ooh battalion 1944
I hope it supports Linux
 
> The killer would have carried out his [...] plot that night but confessed to cops that he wanted to practice using the firearm first since he had never fired one before.
Wow.
Guns don't kill! We don't need anything in the way of laws, surely.
ISTR that there would be a legal minimum wait time after applying for a gun?
 
depends on how you purchase it
there's a minimum wait before buying from a dealer/shop, but a private sale can go through without checks or waits
 
 
1:48 PM
boring
more USA commonalities
 
user1804599
Argh.
 
user1804599
Bitbucket is so bad at rebasing.
 
maybe its rebucketing instead?
 

« first day (1940 days earlier)      last day (3005 days later) »