« first day (2734 days earlier)      last day (2220 days later) » 

6:10 AM
So.. I've just have >=500 rep and get access to the review queue. The first review is an audit. stackoverflow.com/review/first-posts/19397047. I left a comment regarding "please explain your answer" etc. (yes, it took me a while to realize that the parameter is removed), and failed the audit. Can anyone explain why?
(besides, this is not very Javascript-specific, is there a better room for that?)
 
@user202729 Meh, perhaps someone felt it was a little too critical for a first-post answer remark.
I think you're right though. It should be explained somewhat
 
6:28 AM
@Neil "Someone"? I think audits are automatic?
 
@user202729 No, someone approves or rejects reviews
there's no review approval bot :P
 
so, I'm going to try to get an impromptu interview with one of the companies in the hackerspace today
they're like netflix, but with a blockchain
ssr react
they recently switched from postgres to mongo :/
 
What is "approve review" then? (Google doesn't help)
 
@towc wow!
That sounds sarcastic, but it's not, I promise!
Sounds promising, man. Good luck!
do you mean "try to get an impromptu interview" as in you're waiting to be contacted by them or you haven't even called them yet?
 
6:40 AM
gonna walk up to their project lead for lunch and show interest in working for them
 
@towc red flag
you're going to interrupt his lunch?
if he's in a good mood that might work out
but otherwise, maybe not so much
 
we went for lunch a couple times already
 
ok, so he knows you
 
kinda
I was always grumpy and upset by life
 
well ask if he minds your company at lunch before you start
if he says no, you dodged a bullet
if you start going into this long talk about how you're interested in his project and want to work with him, and he just wanted a quiet lunch, you'll never get a job there
 
6:45 AM
it's more like "hey! So, I'm looking for a job, and I've been told you're the guy I should speak to if I wanted to work at <company>. Do you have some positions available?"
 
291
Q: What are review tests (audits) and how do they work?

asheeshrI recently received this rather amusing message while reviewing a user's first post: Congratulations! This was only a test, designed to make sure you were paying attention. This post has already been removed, but thanks for taking time to leave feedback for the author. What is t...

 
I genuinely have no clue what he thinks about me. I have 2 really good friends who work in those desks, so I assume they mentioned that I'm a valid programmer, but just going through some stuff
and that I will need training to work in that team
 
did they see some of your coding ideas like we did here?
 
and that they'd be happy to train me
@KarelG blockchain dildos?
the one-liners I was trying to refactor?
the friends know about those :P
 
:P
 
6:50 AM
I get along really well with them, it's really kind of amazing
maybe if I start working with them everything will go south though
I went wall climbing with one of them (and his "date") yesterday :D
it was super fun
 
@towc yeah, do ask if he has 5 mins to spare beforehand though. Just common courtesy
 
@KamilSolecki well, the idea is he'd set a future time to have a possible interview
but yeah
 
:D
generally whenever randomly walking on people, its good to ask
muaha, dis works perfect
now all my configs are auto injected and resolved into their respective models instances
container.Register(
                Component.For<ISettingsReader>()
                    .ImplementedBy<SettingsReader>()
                    .LifestyleSingleton()
                    .OnCreate((kernel, instance) => {
                        var settings = Assembly.GetExecutingAssembly()
                            .GetTypes()
                            .Where(t => t.Name.EndsWith(suffix, StringComparison.InvariantCulture))
                            .ToList();

                    settings.ForEach(type => {
I missed castle windsor
 
Every Time I See The Horrible CapitalCase Convetion In C# I Cringe.
 
@towc Yeah, but it's still a favor to ask someone to arrange a future time to have a possible interview
 
7:02 AM
@MadaraUchiha you're better than that
it's PascalCase
 
even if it takes 5 minutes to ask, the guy is technically on break eating lunch
 
could be worse
could be snake_case
or I don't even know what this convention is.. everything starting with _ as they used to do once upon a time
_p_buf was actually a perfectly valid variable name for old C++ MFC code
Or maybe it wasn't and the legacy project I inherited was just written like shit
 
I saw once a module from a developer (they said it was an internship student) where private and protected attributes were starting with respectively _private_ and _protected_. Like _private_ID. Or protected methods: _protected_doThis().
literally everywhere in that module.
it is then hard if you want to get eg the ID. You cannot generate it because the IDE will generate - usually - get_private_ID(). He probably wrote it manually: getID
 
post on the history of programming of why modern imperative languages use = for assigning things (while it should be checking for equality): hillelwayne.com/post/equals-as-assignment
learnt stuff :D
 
7:12 AM
@KarelG ugh
I've seen _TRUE and _FALSE declared replacing true and false respectively
like why would you ever want to declare a new version of true and false anyway if not to change it.. and if you wanted to change it.. why!?
I've seen so many wtf things like this in my time
I mean it was 10 years ago, so it's not like I'm talking about the 1980s or something
 
@Neil maybe they were considering adding a "maybe" state
and then they could do [_TRUE, _MAYBE, _FALSE] = [2, 1, 0]
 
projectile vomiting
 
#define perhaps = Math.round(Math.random())
 
you mean Math.random()+.5|0?
 
it's virtually the same
As a boolean
 
7:22 AM
what I'm trying to say is that your code wasn't dirty enough
 
user7538827
Hi guys
 
Gah, I can't login to jsfiddle.net anymore. My username is 4 characters long and they've put a 5-character minimum limit on the login..
2
 
user7538827
I have this error on mssql with node.js: Global connection already exists. Call sql.close() first! this is mycode: gist.github.com/riccardopirani/2e175c10cbea49098dd99fbffdf9c4d5 !
 
@Amsvartner XD
oh my god that's wonderful!
 
7:27 AM
@Amsvartner email?
 
My colleagues think I'm crazy laughing to myself
maybe they added some characters to your username to make it reach 5
 
you can sign in with email too though
 
Anyone up for a code review
 
Hmm, good and obvious point. dumb. Just gotta figure out what email I used to sign up then!
 
Its a calculator, just the bare bones
would like input on JS
ways to refactor code, etc
 
7:34 AM
  if( validate_entry() ){
    let op_index_1 = op_arr.findIndex( ( op ) => op == '/' || op == '*'  );

    //check for mult or div
    while (op_index_1 != -1){
      eval_operation( op_index_1 );
      op_index_1 = op_arr.findIndex( ( op ) => op == '/' || op == '*'  );
    }

    //check for add or sub
    op_index_1 = op_arr.findIndex( ( op ) => op == '+' || op == '-'  );
     while (op_index_1 != -1){
      eval_operation( op_index_1 );
      op_index_1 = op_arr.findIndex( ( op ) => op == '+' || op == '-'  );
Maybe this could use a touchup
only thing changing here is the operator you're searching for
try to make it work using an array ['*','/','+','-'] instead
 
right .. thumbsup
 
ohai o/
 
@HelloWorldPeace Also, consider saving the current (and valid) input, and then just using a single regex to check the validity after keypress
if it isn't, just revert to the previous value
you can switch from 4 regexes to just one that describes exactly what is accepted input
 
@Neil are you saying I should consolidate all the Regex's into 1?
 
I made changes in the javascript(added a new jquery function)
and ran the application
but when I run it developer tools
i can't find my function in the network
what could be wrong?
in google chrome
 
7:45 AM
TIL that running any code in the firefox dev console blocks the main process
 
under sources
 
which kinda makes the code process faster, but a frozen app is not at all a good UX
 
it works fine on firefox
 
@Neil dat_naming_style
 
8:01 AM
I found that kinda interesting
 
@HelloWorldPeace Yeah, if you think you can, sure
I mean, no point using a regex to check that the key pressed is correct if you perform a second regex verifying that the format is valid afterwards
just use the one
 
@rlemon @KendallFrey @Loktar @FlorianMargaine
 
@KarelG Finally! We're in the future!
 
8:17 AM
@KarelG Pretty easy also if your laptop has a webcam
 
it is rare to have a laptop without that
I toggle my dark theme to light manually if there is too much incoming light from the sun
 
@Neil Consolidating the regex's in the validate_entry() function makes sense and would cut time and code but it will probably be harder to read. Will see what works better.
 
@HelloWorldPeace You were asking for a code review. I'm just giving you one. :)
If you prefer the way you did it, more power to you.
@KarelG It probably shouldn't bother me that it checks every 100 ms, but it does
I'd think about all the CPU it'd have to dedicate to have to perform checks every 100ms
 
you can adapt the code though
 
8:25 AM
yeah, of course
 
@ShrekOverflow lol nice
 
I don't think I'd personally have mine at 100ms though
once every 10 seconds is fine
 
@Neil No prob. Appreciate the feedback
later
 
8:50 AM
morn
@ShrekOverflow explain pls
it's a pun?
all right?
 
Random trivia: 15,140 fake monopoly dollars are present in a typical monopoly box
 
only 15k?
how are you suposed to build hotels with 15k
 
Well, they're really small
 
@Neoares try google, "alt right"
sfw
unless... your personal search history is so bad that it affected your search results in such a way that it is nsfw
 
@Wietlol but at that point, I don't suppose you'd mind so much
 
8:57 AM
@Wietlol it's a US joke lol
!!urban alt-right
 
@Neoares [alt-right](http://alt-right.urbanup.com/10151333) Hilary Clinton's low energy attempt at defining a word trying to link Donald Trump to being a racist.

Alt-right does not mean anything. Does not describe anyone or a group of people that are tangible.

It's an empty word, just like she is.

Sad!
 
lol
 
so triggering
 
fake news
 
why is positioning things with JS so annoying? :'(
 
9:02 AM
Nice, that urban description of alt-right is written in Trump's formatting style.
 
@Ikari cause that's what css is for :P
 
I have been trying to position this context menu for the past hour. either I'm really retarded or the js / css lords are really angry with me
 
sadly, these day it has become somewhat watered down - on twitter you will get accused of being alt-right, if you are anyway to the right of karl marx
 
they're angry with everyone, believe me
 
@tereško should that not be "left of karl marx" ?
 
9:05 AM
@tereško and you get called a "leftist antifa scum" if you dare to not completely agree with right view points as well
both sides aren't really doing the discussion any favors nowadays
@KarelG why?
 
@KarelG no
 
karl marx is a leftie
 
that's the point
 
left handed
...
 
9:07 AM
What do you think about my "what does my software do" section? I think it's a little awkward the way that everything jumps up and down whenever you click on a new tab. Do you have any ideas to a better alternative library that I could use instead?
Site: http://www.voebot.tk/#portfolio
 
@KarelG I don't thing you understand how .. emm ... hands work
 
I am aware of those politics, being left- or right winged. Got the original joke
but my dry remark does not work out very well it seems :|
 
I hope I am not disturbing your conversation about hands :p
 
@SebastianNielsen hmm, the page isn't loading for me
 
what do you mean?
It works perfectly fine
 
9:14 AM
@BenjaminGruenbaum is there a trivial way to find out which node version a PR was included in?
 
This one likely wasn't even released yet - it was merged 2 weeks ago and was semver minor - why?
You can check the changelog
 
@towc git branch --contains <commit>
 
@BenFortune that's so untrivial
 
just search the PR id in the repo you pleb
 
9:16 AM
maybe the bot should add a message to each PR saying which version it was included in, for easy reference
 
Ah, appears like it was released already
4-4
API changes are documented in the docs
 
@BenjaminGruenbaum well, I'm asking because I made a PR to add that to the docs
but I probably got the version wrong
and I'm not sure about the format
 
Put <REPLACEME> instead of the version
But I guess what you did is also fine
 
and then someone will commit the proper version?
 
Yeah, someone from the releaser team
but what you did is also fine, thanks for the PR
 
9:19 AM
@BenjaminGruenbaum aah, ok
thanks
 
How many Marxists does it take to screw in a light bulb?
None – the light bulb contains the seeds of its own revolution.
 
9:35 AM
wow
 
talk about data duplication....
 
9:55 AM
anyone familiar with json schemas?
 
Everyone at home kept watching Netflix using my profile. Messed up all my lists and history... so I renamed “Dad” to “Install Windows Updates Now.” Problem solved.
 
10:11 AM
I have a "Karel" profile on my netflix. But my mom and little brother uses it too. So they have their own profiles. To ensure that my stuff is not being touched by them, I added a profile named "broken profile".
I thought that I was really brilliant back then
 
Just call it "Create new profile"
 
ha, with a matching icon? :P
 
@towc smart
 
10:37 AM
 
old as fuck
 
is there "PadLeftAsAService" as well?
 
 
10:46 AM
@BenFortune perfect
 
>
`left-pad.io` is 100% REST-compliant as defined by some guy on Hacker News with
maximal opinions and minimal evidence
lovely
 
MM/DD makes more sense when speaking
 
@Mosho I digress
 
@Mosho depends on where you're from
 
@towc are you sure you know what digress means
 
10:48 AM
@towc yeah, or YYYY/MM/DD to store things you want to see ordered by date
 
@Mosho I thought I did
!!define digress
 
@Mosho you know english is not the only language in the world?
 
what does english have to do with it
 
most of the languages say day and month
you said MM/DD has more sense when speaking
that has to do with the language
 
10:49 AM
@Mosho I mean, I branch away from your school of thought
 
and I don't know much languages that says the month and then the day
 
@rlemon haha
 
@towc that's not how the word works
@Neoares I mean it makes more sense in general
 
why?
 
@Mosho I thought I heard it used like this in a couple british films, in court rooms
 
10:50 AM
@towc if you digress, you are steering away from the topic you actually wanted to talk about
 
if it's in another month, then it's the more important bit of information
 
then use YYYY/MM//DD ??
 
it's not to be used to show that you disagree or something
 
@GNi33 meh, maybe not in modern english
 
fine, whatever
 
10:51 AM
year is less important than month in most conversations about date
 
if you're conversating you don't say MM/DD
 
@Mosho month is less important than day in most conversations about date
 
you say something in your language
 
it's context specific
 
so the format only makes sense if you're reading, I guess
 
10:51 AM
yeah, you don't pronounce slash
 
if month is more important, say the month first
 
and in spanish you say the day and then the month
for example
 
if the year is more important, say the year first
 
because that's how it's written
 
yes
 
10:52 AM
so muricans had it backwards
 
12th June yould me "doce de junio"
 
they wrote it like they said it
 
hey hottie, are you free on two zero slash zero four? ;)
 
we do the same
 
@Mosho for me, DD/MM is more useful simply because I'm so used to it. You'll very rarely see MM/DD in german
 
10:52 AM
uhm, I thought in english it was common to have both
 
we write DD/MM cause it's the order we say it :P
 
I come from a place where they use DD/MM too
 
"12th of March" and "March 12th"
 
and MM/DD seemed weird
 
YYYY-MM-DD is love, YYYY-MM-DD is life.
 
10:53 AM
but then it made sense
after I used it for a while
so I have the only opinion that matters
 
@Mosho and I guess they say day first when speaking
 
so it does throw me off a bit when used, but I would agree with you that it would make more sense in some cases
 
@MadaraUchiha YYYY-MM-CC-AA
 
du du du dudududu
 
lul
 
10:55 AM
BTW, 10 points to the person who can tell why the standard for time annotation is YYYY-MM-DDTHH:mm:ss despite formats like DD/MM/YYYY being more commonplace.
 
Can I spend these points?
 
cause logs
9 mins ago, by Neoares
@towc yeah, or YYYY/MM/DD to store things you want to see ordered by date
 
Timezones obviously
 
@Neoares 10 points to you
YYYY-MM-DDTHH:mm:ss can be used as a filename (no slashes/backslashes) and is lexically sortable.
 
wohoooo
 
10:58 AM
@MadaraUchiha tell that to the people who give filenames to the csv files I use
 
We use Y-m-d
 
@KamilSolecki No, you tell them
 
its some weird data format + a magic string at the beggining
for filenames
 
> weird data format
 
To this day I have not the slightest idea what the magic string is about
 
10:59 AM
"internationalunicornday_prices_for_next_quarter.csv"
 
noone I asked knew
 

« first day (2734 days earlier)      last day (2220 days later) »