« first day (1796 days earlier)      last day (3145 days later) » 

11:00 PM
oh, not C#
that would be trivial, I think it is C
or some nasty stuff like that
 
Oh. Then, unless the scope is expected to be tiny, all bets are off.
 
20 years since it was last touched
Yeah, maybe a no-starter
 
Mac
test
 
There's PIDA and OllyDbg (free), but in likelyhood you will not recover anything usable unless by reverse engineering the logic and re-implementing that from scratch.
 
@Mac test
 
11:04 PM
in The 2nd Monitor on The Stack Exchange Network Chat, 6 hours ago, by Mat's Mug
In Mother Russia you don't test software. Software tests you.
 
Now this is a sight to behold
 
@JohanLarsson The high chances are that it's saner to implement from scratch to begin with in such a case. Regardless, spend ample amounts of time searching for the thing or their former vendor/developer(s) so you can avoid the insane
 
@sehe yeah, maybe just a waste of time way to create a huge mess.
 
@набиячлевэлиь nothing too difficult to read, no?
 
Programawonie.
 
11:06 PM
@sehe Not difficult
@Nooble git gud
 
I'll harass Jerry some when he comes online :)
 
He wrote it?
(hint: of course not, so he'll say basically the same)
 
No but he knows things I think.
 
Worst of all, you might need reverse engineering tools from ~10+ years ago to match the toolchains of the time :S
 
could be worth a temporary penis pause in this room?
Then we go right back to genitals :)
 
11:08 PM
@JohanLarsson @Jerry would need a few virgins in exchange.
 
Nothing is worth that. Also, since when do you think to lowly of us?
 
how do you mean?
 
As if we never "pause the crap"
 
I'm guilty of some kokk
 
That's not related to your claim, of course :)
 
11:09 PM
And I don't think I ever brought anything helpful to balance it with
 
Certainly untrue. Well. I'm not gonna find it :)
DI demonstrations come to mind
 
you never cloned it right?
 
0
Q: I've had it. Bye Bye

A. DondaStackExchange is such a deeply unfriendly place, I've had it. I put a lot of effort into this place, allegedly helping an estimated > 100k people, and still the main thing I get out of this place is unfriendliness, rudeness, sarcasm, ungratefulness. Fuck you. I don't need this. You guys have a se...

 
@Mysticial thanks for the free flag
 
Fuck all those rude people!
 
11:13 PM
who?
 
@JohanLarsson locally. Seems I deleted it (or, at least I didn't save it outside tmpfs). I remember spending quite a bit of time getting the project to work on Linux (which it did: it compiled without GUI & tests, or something)
 
yeah it was dumb to write a wpf app
wrote a test only thing later, don't remember where it is
ping if you need a fresh demo
 
@Mysticial Has he made "a lot of effort". His activities across all SE sites, including revisions and comments etc. span... 5 pages stackexchange.com/users/1933309/a-donda?tab=activity
@JohanLarsson I think by now I got it :)
 
:)
It is not very hard, a convenient way to create a huge mess.
 
Oh yeah. Like everything, it can be done well, and completely wrong
 
My horrific brilliant thing for storing preprocessing directives complies compiles! So proud of meself
 
directive store - blank stares
 
@sehe true of course but containers are tools designed to take the pain away from what should maybe be painful
 
@набиячлевэлиь I see gratuitous implicit user defined conversions. I see regex implementation details? (must be a library internal header, hopefully)
 
11:21 PM
@sehe It doesn't even trigger implicit conversions :(
 
Are you trying to say it's over used?
Well, I have never...
 
And no implementation details accessed
 
@набиячлевэлиь Wut. You mean, that's dead?
@набиячлевэлиь Then why is it there?
 
@sehe I use it and I like it but I know the mess it hides in my code.
 
@sehe To define operator < for a regexy type
 
11:23 PM
Ah. You needed a strong typedef. But... why :)
 
To store it in a map
 
std::map<std::string, std::regex> seems a lot more on point
 
Well, for that I'd need to double all regex strings (WET design principlel)
And they are useless to me, except for them being different from each other
So I can store them in a container
 
@набиячлевэлиь wut?
what's different? i.imgur.com/S5JUE52.png
 
@sehe Well, map<string, regex> asdf({{"(a[ab]*)+", {"(a[ab]*)+", regex_constants::optimize}}};
@sehe They are both initialized in the ctor
 
11:27 PM
Surely you haven't heard of functions
 
@sehe std::function<int(const std::smatch &, std::ostream & to, const std::string & root_directory, const settings_t &)>
 
whoosh
 
Never heard of 'em
@sehe Your point is going over my head
 
@набиячлевэлиь Here. This should help
@набиячлевэлиь simplistic, or slightly fancy
 
Thing is, I don't actually need the regex's "value"
And map<string, regex> is almost the exact opposite of what I want to achieve
 
11:41 PM
What do you mean? What is the "value"
 
that’s even more simpler
 
Yep, I overcomplicated this way too much
@sehe "(a[ab]*)+"
 
The pattern or the expression.
 
Test.
Test again.
Test another time.
 
@Nooble inb4 flag
 
11:42 PM
@Nooble Saaaaaandbox
 
@sehe the pattern
 
... sigh; you'd call it that yes. "pattern" or "expression" (some would argue it's a regular one ...)
 
@sehe I'll never leave you guys.
<3
 
Yes, very deep sigh indeed
@sehe The std::string stored alongside the std::regex
 
So you just want them... deduplicated? Indexed? What do you need this map for?
Can't you just map from object identity to this mapped_type you had there?
 
11:44 PM
I realized I don't actually need it
I'm just super bad
 
You just abused it as identity. But my question is ... what you /do/ need.
 
I didn't follow the eternally best C++ advice:
> Use std::vector
 
> When in doubt, don't do it
@набиячлевэлиь Likely, vector<tuple<regex, associated_data> >
 
@sehe You ain’t gonna need a new idiom for that!
 
@sehe yep, I used vector<pair<regex, funciton>>
 
11:46 PM
@LucDanton Hmm?
> fungiiton
 
I doubt I could convince myself to view the history of that dotty message
 
@sehe The advice sounds a lot like YAGNI.
 
ah
I meant more like "Remember kids, don't do C++! Just say no!"
 
@sehe looked better in my head
 
11:49 PM
@sehe That better?
 
when I read it it was ew
 
very sound advice
 
@набиячлевэлиь modulo formatting; And I'd try not to tightly couple datastructures into hardcoded globals. (Try a functional interface instead, removing the implementation types from the interface?)
@набиячлевэлиь But in good news, I wasn't so DDoS-ed that I actually spotted the gist contains a cpp as well!
Seems to me you're trying to cram a perl job into c++. Badly?
 
Regices are a kind of a big part of this, yeah
But not enough compared to what I use of C++ to force me to use perl
 
Erm. No. Patterns are (and they're TU local). And the handlers (seemingly also local), but they could use a "pattern" + "match" instead of the smatch directly
 
11:56 PM
"use a" = "take as an argument"?
 
e.g.
> school administrators were generally not the kid who built his or her own clock at 14. (Cops were generally the kid who beat up the kid who built the clock.)
Is popehat calling out the Ahmed story as ... ingrained bullying? Caste power war?
 
dunno, cliquing is weird
 
@sehe "Cops were generally the kid who beat up the kid" hm, what?
 

« first day (1796 days earlier)      last day (3145 days later) »