« first day (979 days earlier)      last day (3985 days later) » 

JBL
11:01 PM
G'nite folks !
 
http://webcache.googleusercontent.com/search?q=cache:http://nocturnal.insomniacgames.com/index.php/Reflect
Cached page from google
 
It's still taking a lifetime to load.
And nothing's appearing.
 
Ah well, it was a good try.
 
its a little small but the text is still readable (unless youre obscenely old)
its an image it gets pixellated when you do that. doesnt always improve readability
Control + or - does the same thing
:(
 
11:13 PM
Hmmm
 
@TonyTheLion <3 /cc @ScottW
 
<3
What you up to?
 
Me? Oh yknow... reflecting (bad pun is bad)
 
Boost.Filesystem is just one header :|
 
11:20 PM
Hello again.
 
@LucDanton Yeah and it'll be added around C++14.
 
It has a library that goes with it though doesnt it?
 
Don't think so
 
Hmm, I might be mistaking it for something else
 
Xeo
11:21 PM
Boost.Filesystem isn't header-only
 
Yeah it requires building.
But I recall it being just a single header.
 
Looks like it's been one header for a while, too.
 
Thats what I meant by it has a .lib(rary) that goes with it
 
Oh I thought you meant a dependency.
It isn't always .lib, it's .so too
 
No, no I simply meant theres a filesystem lib to go with the header (yeah, i forget that linux exists sometimes :P)
 
11:23 PM
srsly, who uses linux?
 
Xeo
#  include <boost/filesystem/config.hpp>
#  include <boost/filesystem/path.hpp>
#  include <boost/filesystem/operations.hpp>
#  include <boost/filesystem/convenience.hpp>
 
@MooingDuck Linus :P
 
@MooingDuck Lots o' people.
 
Xeo
^ boost/filesystem.hpp
 
@MooingDuck Users.
 
Xeo
11:24 PM
@MooingDuck Is that question serious?
 
He's trolling, I hope
 
@Xeo Oh yeah, I do have #include <boost/filesystem/path.hpp> somewhere.
 
yes that was trolling
 
whee! At one point we have code that loads and parses data out of an xml file. For some ungodly reason it takes like 10 seconds. I just added the localized text to that file. Now it's 54 seconds >.<
 
11:26 PM
I want filesystem in C++14.
 
the guy who wrote teh code is on vacation
 
And.. regex.. in C++11.
 
Fuck, I wanted to have headers with functions that accept fs::path but only have the sources which 'consume' them via the various Boost.FS functions and such. I'm keeping it that way.
 
VS 2012 has a filsystem header but im not sure if its the same interface that boost provides
 
I'm totally counting down until I get 20k rep :D
 
11:27 PM
Also fs::file_status has an explicit constructor taking two arguments :v
 
I havent taken the time to compare them bth
 
@MooingDuck I suppose that might be reasonable -- if the XML is like hundreds of megabytes or something.
 
@JerryCoffin 170KB
 
@MooingDuck 170 KB in 54 seconds. Now that's impressive!
 
@Borgleader It's Boost.FS v2 but Boost.FS v3 is on trial.
 
11:28 PM
'On trial'
 
@LucDanton You saw nothing!
 
@MooingDuck Of course, I'm assuming this is being done on a PC XT, so it's reading that 170 KB from a 5.25" floppy. Right?
 
Well, you're not wrong. A Technical Specification is still quite a document I would think.
 
@JerryCoffin Brand new Intel Xenon @3.60GHz, 16GB ram, and that was the timing for the third try, so everything was hot.
 
Xeo
@MooingDuck Question: Does it use an xml library for the parsing?
 
11:30 PM
wait wtf this computer has a lower windows score than my 5 year old laptop? Oh, video card is useless. Makes sense.
 
stackoverflow is stoopid cos fags dnt wnt 2 solv my hmewrk
 
@Xeo you broke my brain. I certainly hope not. But somebody here really loves their xml...
 
Xeo
@Magtheridon96 cue trigger-happy newbie who flags that.
 
@MooingDuck How in the world did he manage it? Started by sorting all the lines with bogosort, and went downhell from there? (no, that's not a typo)
 
Xeo
> I certainly hope not.
Wait
 
11:31 PM
@Xeo I flagged myself
 
Xeo
@JerryCoffin I was about to call you out, until I caught the pun and the text in parens.
Silly me thinking that Papa Smurf would make a typo by accident.
 
@EtiennedeMartel day9/husky casting redbull training grounds
 
user142019
ВОДКА
 
@rightfold vodka?
 
@Xeo Happens all the time, I'm afraid.
 
11:33 PM
@Xeo uh oh, it's worse :( Each node is going to the database for validation. It almost appears to do several database calls per xml node...
 
Xeo
@MooingDuck Yes, but the original question was: Does the code use an established library for parsing the .xml, or is it hand-parsed?
 
@Xeo it seems to be using a library. Probably an in-house.
 
Xeo
Also, wtf sending things to the db for validation. Wat.
You should immediately request holidays so you can follow that guy and axe him.
 
user142019
Well, some things cannot be validated without the DB, such as uniqueness.
 
@Xeo I recall the logic being "if all validation is in teh database, we only have to write it once" as opposed to in each app that accesses the database.
 
11:36 PM
@Xeo Better: just tell him to stay on (unpaid) vacation forever.
 
Xeo
If you have xml nodes in your DB, you have bigger problems, I guess.
 
@rightfold this isn't one of those cases
 
user142019
An XML database!
 
Xeo
@MooingDuck Have they ever heard of libraries?
 
@Xeo don't think so. They just copy existing projects and cut away bits they don't need.
 
Xeo
11:37 PM
Also
The DB shouldn't validate non-DB data
That's just horrible abuse.
 
user142019
I like the database doing validation on the data you insert; it ensures consistency. Doesn't mean you shouldn't do validation in your app though.
 
@Xeo the data should end up in the DB eventually...
@rightfold right. that.
 
Xeo
@MooingDuck The raw xml data?
 
@Xeo no, it's sending the actual data for validation, not the raw xml
 
Xeo
Oh, ok. Atleast that's something.
 
11:39 PM
I... I assume.
 
Xeo
ahahaha
 
(please please please please)
 
user142019
If you use PL/Perl or PL/Python you can do XML stuff in the database. :)
 
Xeo
Maybe it's validating that the xml is well-formed. :D
 
user142019
I think PostgreSQL even has native XML support.
 
user142019
11:40 PM
It does have a JSON data type.
 
@rightfold for certain cases that's fine. and neat.
 
user142019
I've been using PostGIS lately, pretty neat. We need to filter data based on distance between two Earth coordinates.
 
@rightfold Nearly everything (reasonably) current has at least some direct XML support (Oracle, MS, Postgres, probably even MySQL has at least a little).
 
user142019
Which would be a pain in the ass without special support for that.
 
user142019
Stupid Earth being round instead of flat. :<
 
11:42 PM
@rightfold spheres are hard :(
 
user142019
Are there seriously people who still believe that the Earth is flat? :v
 
@MooingDuck Some are. Others are soft and squishy. I prefer them firm but not exactly hard.
 
user142019
 
@rightfold I bet there's people who claim they do anyway
 
So thephd, did you have a design in mind for reflection?
 
@rightfold Too bad they don't show the part where he finds out his interest rate was lower than the inflation rate, so that's no longer enough to buy a hamburger...
And no, I don't particularly think the episode included that.
 
oh hey, in addition to using the database inside the loop for validation, it's looping over a vector containing 1171049558 elements. I believe I found the reason for the slowdown.
wait, nevermind, uninitialized memory
it's only 21 elements.
 
@MooingDuck Pardon my being blunt, but I think you've already devoted more time to the existing code than it can possibly deserve.
 
Xeo
11:56 PM
Screw trying to stay awake. G'night.
@MooingDuck Good luck on the xml thingy
 
ah, and it silently ignores errors returned from the database. of course
 
Back from work early on a Friday.
 
@JerryCoffin I can't find the error in the input I'm providing it, and it won't tell me. I just have to find my error in the input, and then I can pretend I was never here.
 
@MooingDuck Ah, I see. I guess I can't blame you for trying to stay away from this particular can of worms (but you really should at least let somebody know...)
 

« first day (979 days earlier)      last day (3985 days later) »