The Official Status Thread
-
@Arantor said in The Official Status Thread:
@RaceProUK I though that was
\B
... so this would be not a word boundary, but it seems like my memory is playing tricks on me...You've got that backward.
@Tsaukpaetra said in The Official Status Thread:
Status: Fucking RegEx.
Apparently
\bass\b
doesn't matchass
in C# world. Because why would it.You're sure that
\b
isn't actually being interpreted as the escape sequence for backspace? You might need to use\\b
...
-
@cartman82 said in The Official Status Thread:
Solution: Write a twitter app to search through my tweet history and extract all the links I posted.
There you have a task for the candidates, though crawling such a hostile site is a challenge :)
You could give your task some intermediate goals, and let them know you are also interested in partial solutions.
Given a complete problem with web requests, data processing and output, your candidates seem to get lost.
So something like:- get this file from this URL and print it to the terminal
- extract the data from the file into a reasonable format
- perform some filtering/sorting/processing
- display in this form
I am aware your tasks are very simple already (apart from the JS parts, but I understand thats what your company needs too), but maybe if you provide the design, someone will be finally able to implement something?
Also in the interest of saving your time:
Before each step of the task, ask them what is their idea / how are they going to do it.
If they say they need time to check the documentation, ask again after 5 mins.
You will be able to get familiar with their thinking, dissuade the obviously wrong time-wasting approaches, or weed out hopeless candidates.
It should also help them organize their thinking.
-
just promised his superior that we would deliver a port of wtfstuff to a platform we have zero knowledge of in a single month.
-
@dcon said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Status: Fucking RegEx.
Apparently
\bass\b
doesn't matchass
in C# world. Because why would it.According to https://regex101.com/, it matches all 4 flavors of regex they offer...
Yes, it should.
But, apparently I forgot that
\
is a special character in C strings, so instead it should have been\\bass\\b
.Because fuck.
@anotherusername said in The Official Status Thread:
You're sure that
\b
isn't actually being interpreted as the escape sequence for backspace? You might need to use\\b
...Yep, it's been so long since I needed to escape strings I forgot about that little rule.
-
Status: In other news, I converted the ranking system of this from php to C#:
public class NameFilter { public int ScoreText(string input) { //add word boundaries input = " " + input + " "; return Rubrik.AsParallel().Sum(x=>x.FilterCode.Matches(input).Count * x.MatchScore); } static List<RubrikEntry> Rubrik = new List<RubrikEntry>{ //This section sourced from https://en.wikipedia.org/wiki/User:ClueBot/Source#Score_list new RubrikEntry("suck" , -5), new RubrikEntry("stupid" , -3), new RubrikEntry("haha" , -5), new RubrikEntry("\\bomg" , -3), new RubrikEntry("\\bpimp\\b" , -7), new RubrikEntry("1337" , -5), new RubrikEntry("leet" , -5), new RubrikEntry("dumb" , -5), new RubrikEntry("\\bputa\\b" , -7), new RubrikEntry("\\bhomo\\b" , -7), new RubrikEntry("\\bGAY\\b" , -10), new RubrikEntry("\\bslut" , -5), new RubrikEntry("damn" , -5), new RubrikEntry("\\bass\\b" , -10), new RubrikEntry("\\brape\\b" , -7), new RubrikEntry("\\bpoop\\b" , -10), new RubrikEntry("\\bcock\\b" , -10), new RubrikEntry("\\blol\\b" , -7), new RubrikEntry("\\bcrap\\b" , -5), new RubrikEntry("\\bsex\\b" , -5), new RubrikEntry("noob" , -5), new RubrikEntry("\\bnazi\\b" , -3), new RubrikEntry("\\bneo-nazi\\b" , +3), /* False-positive */ new RubrikEntry("fuck" , -20), /* Stronger bad words */ new RubrikEntry("bitch" , -20), new RubrikEntry("\\bpussy\\b" , -20), new RubrikEntry("penis" , -20), new RubrikEntry("Penisula" , +20), /* False Positive */ new RubrikEntry("vagina" , -20), new RubrikEntry("whore" , -15), new RubrikEntry("\\bshit\\b" , -20), new RubrikEntry("nigger" , -20), new RubrikEntry("\\bnigga\\b" , -20), new RubrikEntry("cocksucker" , -20), new RubrikEntry("assrape" , -15), new RubrikEntry("motherfucker" , -20), new RubrikEntry("wanker" , -20), new RubrikEntry("\\bcunt\\b" , -20), new RubrikEntry("faggot" , -20), new RubrikEntry("fags" , -20), new RubrikEntry("asshole" , -15), new RubrikEntry("fuck ((yo)?u|h(er|im)|them|it)" , -100), /* This looks like a personal attack */ new RubrikEntry("((yo)?u|s?he|we|they|it) sucks?" , -100), /* This looks like a personal attack */ new RubrikEntry("666+\\b" , -50), /* Though this has uses), it is commonly used by vandals */ //Contrib from http://www.bannedwordlist.com/lists/swearWords.txt new RubrikEntry("\\banal\\b" , -7), new RubrikEntry("\\banus\\b" , -7), new RubrikEntry("\\barse\\b" , -7), //new RubrikEntry("\\bass\\b" , -7), new RubrikEntry("\\bballsack\\b" , -7), new RubrikEntry("\\bballs\\b" , -7), new RubrikEntry("\\bbastard\\b" , -7), //new RubrikEntry("\\bbitch\\b" , -7), new RubrikEntry("\\bbiatch\\b" , -7), new RubrikEntry("\\bbloody\\b" , -7), new RubrikEntry("\\bblowjob\\b" , -7), new RubrikEntry("\\bblow job\\b" , -7), new RubrikEntry("\\bbollock\\b" , -7), new RubrikEntry("\\bbollok\\b" , -7), new RubrikEntry("\\bboner\\b" , -7), new RubrikEntry("\\bboob\\b" , -7), new RubrikEntry("\\bbugger\\b" , -7), new RubrikEntry("\\bbum\\b" , -7), new RubrikEntry("\\bbutt\\b" , -7), new RubrikEntry("\\bbuttplug\\b" , -7), new RubrikEntry("\\bclitoris\\b" , -7), //new RubrikEntry("\\bcock\\b" , -7), new RubrikEntry("\\bcoon\\b" , -7), new RubrikEntry("\\bcrap\\b" , -7), //new RubrikEntry("\\bcunt\\b" , -7), new RubrikEntry("\\bdamn\\b" , -7), new RubrikEntry("\\bdick\\b" , -7), new RubrikEntry("\\bdildo\\b" , -7), new RubrikEntry("\\bdyke\\b" , -7), new RubrikEntry("\\bfag\\b" , -7), new RubrikEntry("\\bfeck\\b" , -7), new RubrikEntry("\\bfellate\\b" , -7), new RubrikEntry("\\bfellatio\\b" , -7), new RubrikEntry("\\bfelching\\b" , -7), //new RubrikEntry("\\bfuck\\b" , -7), new RubrikEntry("\\bf u c k\\b" , -7), new RubrikEntry("\\bfudgepacker\\b" , -7), new RubrikEntry("\\bfudge packer\\b" , -7), new RubrikEntry("\\bflange\\b" , -7), new RubrikEntry("\\bGoddamn\\b" , -7), new RubrikEntry("\\bGod damn\\b" , -7), new RubrikEntry("\\bhell\\b" , -7), new RubrikEntry("\\bhomo\\b" , -7), new RubrikEntry("\\bjerk\\b" , -7), new RubrikEntry("\\bjizz\\b" , -7), new RubrikEntry("\\bknobend\\b" , -7), new RubrikEntry("\\bknob end\\b" , -7), new RubrikEntry("\\blabia\\b" , -7), new RubrikEntry("\\blmao\\b" , -7), new RubrikEntry("\\blmfao\\b" , -7), new RubrikEntry("\\bmuff\\b" , -7), new RubrikEntry("\\bnigger\\b" , -7), new RubrikEntry("\\bnigga\\b" , -7), //new RubrikEntry("\\bomg\\b" , -7), //new RubrikEntry("\\bpenis\\b" , -7), new RubrikEntry("\\bpiss\\b" , -7), new RubrikEntry("\\bpoop\\b" , -7), new RubrikEntry("\\bprick\\b" , -7), new RubrikEntry("\\bpube\\b" , -7), new RubrikEntry("\\bpussy\\b" , -7), new RubrikEntry("\\bqueer\\b" , -7), new RubrikEntry("\\bscrotum\\b" , -7), //new RubrikEntry("\\bsex\\b" , -7), //new RubrikEntry("\\bshit\\b" , -7), new RubrikEntry("\\bs hit\\b" , -7), new RubrikEntry("\\bsh1t\\b" , -7), new RubrikEntry("\\bslut\\b" , -7), new RubrikEntry("\\bsmegma\\b" , -7), new RubrikEntry("\\bspunk\\b" , -7), new RubrikEntry("\\btit\\b" , -7), new RubrikEntry("\\btosser\\b" , -7), new RubrikEntry("\\bturd\\b" , -7), new RubrikEntry("\\btwat\\b" , -7), //new RubrikEntry("\\bvagina\\b" , -7), new RubrikEntry("\\bwank\\b" , -7), //new RubrikEntry("\\bwhore\\b" , -7), //new RubrikEntry("\\bwtf\\b" , -7), }; private class RubrikEntry { public Regex FilterCode { get; set; } public int MatchScore { get; set; } public RubrikEntry(string pattern, int score) { FilterCode = new Regex(pattern, RegexOptions.CultureInvariant | RegexOptions.Compiled | RegexOptions.IgnoreCase, new TimeSpan(700)); MatchScore = score; } } }
Edit: And I just noticed I used the wrong spelling of rubric... I think. Oh well...
-
@Tsaukpaetra said in The Official Status Thread:
But, apparently I forgot that \ is a special character in C strings, so instead it should have been \bass\b.
Pretty sure (I do C++ not C#) you can do
@"\bass\b"
-
-
Status: Why does it take seven minutes for
Visual StudioSQL Server Management Studio to generate a change script basically consisting of "add column blah"?
-
@Tsaukpaetra said in The Official Status Thread:
@dcon said in The Official Status Thread:
@
.... What is this magic?
Python has
r'this\is\ngood
(except when\
is at the end of the string. argh.)
-
@dcon said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@dcon said in The Official Status Thread:
@
.... What is this magic?
Python has
r'this\is\ngood
(except when\
is at the end of the string. argh.):anime_girl_eyes:
Oh wait, I can probably google search that...
-
@dcon ! in front of a string lets you to string interpolation with inline statements. It's super schmexy.
!@ does the needful as well.
-
@Weng said in The Official Status Thread:
@dcon ! in front of a string lets you to string interpolation with inline statements. It's super schmexy.
!@ does the needful as well.
I think you mean
$
-
@ben_lubar said in The Official Status Thread:
@Weng said in The Official Status Thread:
@dcon ! in front of a string lets you to string interpolation with inline statements. It's super schmexy.
!@ does the needful as well.
I think you mean
$
Yeah probably. It's all muscle memory now anyway because IT'S THE MOST USEFUL OPERATOR IN THE UNIVERSE.
-
@Weng said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Weng said in The Official Status Thread:
@dcon ! in front of a string lets you to string interpolation with inline statements. It's super schmexy.
!@ does the needful as well.
I think you mean
$
Yeah probably. It's all muscle memory now anyway because IT'S THE MOST USEFUL OPERATOR IN THE UNIVERSE.
What about
?.
-
@ben_lubar said in The Official Status Thread:
@Weng said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@Weng said in The Official Status Thread:
@dcon ! in front of a string lets you to string interpolation with inline statements. It's super schmexy.
!@ does the needful as well.
I think you mean
$
Yeah probably. It's all muscle memory now anyway because IT'S THE MOST USEFUL OPERATOR IN THE UNIVERSE.
What about
?.
I string interpolate more than I ==
-
@Tsaukpaetra for dog's sake. Put the data somewhere separated from the code
-
@Jarry said in The Official Status Thread:
@Tsaukpaetra for dog's sake. Put the data somewhere separated from the code
Ah, but then I'd have yet another superfluous file to maintain!
Seriously though, this is just an appeasement. If it doesn't get buried in bureaucracy I'll shove it into a table.
-
-
@wharrgarbl said in The Official Status Thread:
just promised his superior that we would deliver a port of wtfstuff to a platform we have zero knowledge of in a single month.
<?php exec('/path/to/perl/version/launcher.sh'); ?>
Why is this so hard, Wharrgarbl?!?!
-
Status: At the end of this week off, I notice a steam sale, and decide to buy my friend a game that is normally overpriced so I have someone to play it with.
Apparently it has a different price in his region, so I can't do that. No option to see the regional price and pay it. Just can't do it.
-
Status: Buying wardrobe for the Youtube car show thing.
Included a kilt. Because it gets fucking hot in that garage and I'm sick of almost dying in pants.
-
Status: The Microsoft Azure Storage Explorer is apparently an Electron app. Because why would you want to do things with the web browser you already have?
Also, renaming in Azure requires you to copy and delete. Because Web Scale!
-
@tsaukpaetra said in The Official Status Thread:
The Microsoft Azure Storage Explorer is apparently an Electron app
Status: Wondering if this trend of making apps that are basically websites will eventually yield a web browser built that- oh, wait, Vivaldi is a thing already…
-
@raceprouk said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
The Microsoft Azure Storage Explorer is apparently an Electron app
Status: Wondering if this trend of making apps that are basically websites will eventually yield a web browser built that- oh, wait, Vivaldi is a thing already…
Wait. Vivaldi is built that way? I'm on my way to a Vivaldi Enthusiast's house and if so, he just be ridiculed.
-
@weng Just checked, and it seems I'm mistaken: Vivaldi is written in C++.
Not sure what I was thinking of then…
-
Slightly intoxicated but way more sober then the Germans in the room
-
Status: Was in varying states between sopping wet and bone dry for a few hours. The water park was fun.
-
Status: Stormblood cleared. Now to the really important part: levelling my crafters...
-
-
Status: Apparently Perforce does not appreciate having 37k files in a changelist.
-
@ben_lubar said in The Official Status Thread:
Status:
https://twitter.com/BenLubar/status/878818055119409159Hi @Lorne-Kates and @SomeIndonesianGuysBlogWith90PercentAdsThatApparentlyHasItsOwnTwitterAccountThatFollowedMeForNoReason! (3 minutes ago)
Hi @SomeIndonesianGuysBlogWith90PercentAdsThatApparentlyHasItsOwnTwitterAccountThatFollowedMeForNoReason! (3 hours agpo)
-
@adynathos The point is to come up with some new task I can give as a round 1, to be solved offline. Too much wasted time on these worthless candidates, need some way to pre-filter them.
-
@cartman82 base64 encrypt your skype-id.
-
@Tsaukpaetra said in The Official Status Thread:
Status: Apparently Perforce does not appreciate having 37k files in a changelist.
Well, that's not Boost... (54937 files in 4825 folders)
-
@cartman82 or, better yet. Give them the full fruit-task but with a simpler set of data. No red apples, only weights in SI units, etc. Let them code against that, and then watch them fix their code to cope with your "full monty".
-
status at the airport again. Thanks EU for the data roaming!
-
@dcon said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Status: Apparently Perforce does not appreciate having 37k files in a changelist.
Well, that's not Boost... (54937 files in 4825 folders)
Do you have them all checked out? That's the current problem. The dude is trying to upgrade our copy of Unreal Engine 4.13.3 to 4.16.1, and about two-thirds of the repo changed since then.
-
status: listening to my bitches' intestine movements...
-
@Tsaukpaetra
Aka farts
-
@luhmann said in The Official Status Thread:
@Tsaukpaetra
Aka fartsMy face is right next to her chest. They haven't come out yet, so farts they've not become.
-
Status: Little brother just asked me: "Which one's better, Applejack, Rainbow Dash, or Princess Sparkle?"
-
Status - I have downvote dirt on my monitor that makes upvotes look like downvotes.
-
Status: Because can't seem to find the post that said YouTube doesn't have problems loading if it's in the background, I present to you this representative screenshot of a video I Ctrl-Clicked:
Never finished loading, though navigating did seem to fix it.
-
Status: Vindictus added conversation skipping and automatic story progression, and increased movement speeds and performance.
It may finally be a good game with a combat system no other MMO comes close to, instead of a kind of annoying game with said combat system.
-
Status: Rewriting mid-level networking libraries for fun. I'm definitely not normal…
-
@tsaukpaetra said in The Official Status Thread:
Status: Little brother just asked me: "Which one's better, Applejack, Rainbow Dash, or Princess Sparkle?"
Applejack - breakfast is the most important meal of the day, after all.
-
@tsaukpaetra said in The Official Status Thread:
Status: Little brother just asked me: "Which one's better, Applejack, Rainbow Dash, or Princess Sparkle?"
Book pony.
I will also accept speed pony.
-
@dcon said in The Official Status Thread:
@cartman82 said in The Official Status Thread:
STATUS
Task: Figure out some easier test I can send off to job candidates, so these loser candidates are no longer wasting 2-3 hours of my time.
Thought process: Hmm, I remember finding some cool task about refactoring a tightly coupled code file... But where did I put it.... maybe twitter? But how do I search twitter? Ugh, I am so bored.
Solution: Write a twitter app to search through my tweet history and extract all the links I posted.
Sounds like a perfectly good use of my time!
(and yeah, that was 2-3 hours ago. I just committed that shit half-complete and am now going back to real work, like a good boy)
Sounds like that xkcd task about the payback of automating tasks...
Eh. It kinda misses out on something important: Sure, you may have expended more time solving the task than it would have taken to do the task, but
A. It may be far more enjoyable, which could be a worthwhile tradeoff, and
B. The result may (may) be less likely to make mistakes, thus saving you other sorts of trouble down the line.
-
@dreikin said in The Official Status Thread:
Applejack - breakfast is the most important meal of the day, after all.
And Applejack is the alcoholic one, yes?
-
@dkf said in The Official Status Thread:
@dreikin said in The Official Status Thread:
Applejack - breakfast is the most important meal of the day, after all.
And Applejack is the alcoholic one, yes?
Pretty sure it was Berry Punch that was the alcoholic, though we can't get true confirmation due to ratings.