« first day (1048 days earlier)      last day (2974 days later) » 

12:00 PM
JNat's profile has him in Europe
 
@Quill I'm from Portugal, not Brazil
 
My mistake, sorry
 
np ;)
 
They say the human mind can remember 125 people with accuracy. I can barely remember 20 ;-;
 
it's easy, 20 comes after 19
and before 21
there you go, that's how you remember 20
 
12:04 PM
@DanPantry Thanks for your resounding advice
how did you get so wise?
2 hours ago, by Dan Pantry
Water is wet
 
the sheep of knowledge
 
Yay! Language Learning only has 10~ more people before it goes into Private Beta stage :D
 
0
Q: Long running in-process Publish/Subscribe class

Jamie RI have a Pub/Sub class that will call Notify() when published and that Notify() could take around 10 seconds, so I need to make sure that this does not block the UI. public static class NotificationService { private static Dictionary<string, INotification> Observers { get; } static Noti...

 
@DanPantry @Quill Another AngularJS Zombie being attacked ►►► Ionic Rest Authentication
 
ooooh. Ionic Framework
 
12:09 PM
lol
I don't know much about the Ionic Framework, who am I kidding, I don't know anything about it. except for that it is an authentication framework?
 
I like Ionic. I follow the questions on SO and everything
Design Framework
 
noodles
 
they are all really design frameworks when it comes to JS frameworks though, right?
 
@JNat the feed was faster than you...
 
12:11 PM
@JNat thought that these results were already realeased?
 
but I kinda miss the whole write-up thing
 
@Malachi that was the 2015 survey, IIRC
 
@Vogel612 I obviously missed that :P
 
@JNat ramen
no wait... no WAGing in here ...
 
@Vogel612 katsudon
 
12:12 PM
cous cous?
 
oden masterrace
 
that anime was hilarious
 
right?
 
I have a poster of it on my wall even :D
 
12:18 PM
Who called my name?
@DanPantry
 
@Malachi It's a good framework, but it looks kinda weird on Desktop
it's designed for mobile environments, so it looks like an oversized iPad app on desktop
it's still really cool and comes with a bunch of pretty features
@BernardMeurer @Malachi had a brazilian referrer to his blog and was curious
DanPantry thought you might be the one
 
I might have clicked on his blog, don't recall tho. (But I also don't recall what I did yesterday)
 
oh, I haven't gotten into much mobile design yet. other than using mobile ready templates in Visual Studio that use the nice Razor Syntax, the templates resize nicely
 
I'm most likely the culprit when it comes to weird things from Brazil
 
in case anyone wants to read it again (or for the first time, again)
 
12:20 PM
@BernardMeurer sounds like a fun evening ;)
 
that was weird, I didn't have a star wall until I starred something
 
what's codestock?
 
there is a link. it's a Developr gathering where people talk about code
 
oh. ;-;
all the developer events and conventions are all overseas
 
12:22 PM
@Malachi ionic is angular for phones
 
and all the australian ones are so crap I could probably present a talk
 
my passport arrived, btw
 
@DanPantry it works with angular
@DanPantry nice
 
@DanPantry oh, well then I could probably get into that pretty easily then
 
it's pretty cool
It seems you forgot to actually ask for a review ;-) — janos ♦ 34 secs ago
meh, "I don't know what I can improve, what should I improve on?" just feels like noise to me
 
12:26 PM
i think it was a joke
 
Kaz
Oh frack
What kind of respectable government agency allows "xyz corp Ltd" and "xyz corp Limited" to be 2, entirely different, companies.
 
respectable government ltd
 
@Kaz let me guess... you relied on that meaning the same and removed some companies that shouldn't have been?
@DanPantry the pains of manual data mining ....
couldn't you compare something like ... the "Handelsregisternummer"??
 
45
Q: How can I discourage camping while still supporting a "sniper" style of play?

FrontEndI am trying to add features into a third person shooter that suit a sniper style of play, in addition to the current rush/deathmatch style it was designed for. The current gameplay is similar in style to Gears of War and Battlefield, perhaps similar to Call of Duty in terms of combat ranges but a...

 
12:41 PM
@Vogel612 Sounds Dutch.
@DanPantry Moderators make jokes?
 
@Mast yea I don't know the english word
 
But yea, usually companies have a number. Numbers are unique.
 
i think you mean the company registration number.
like their tax code
 
Commercial registry number?
Something like that.
 
@DanPantry yea exactly
 
12:44 PM
they're literally called business numbers here
 
my god, flights from cardiff are stupidly expensive
flight to dublin from cardiff? £73... same flight from birmingham? £18
 
why are you flying
 
because i would like to visit dublin?
 
But you can connect with everyone online from home
 
T_T
 
12:49 PM
@Pimgd you can't get good Guiness from the barrel though
 
Kaz
@Vogel612 Not removed, but it calls into question the ~20% or so that I've managed to match up so far.
 
I don't drink alcohol anyway shrug
 
BeerOverIP
 
@Pimgd the foam is the best part though
probably there's a better term than foam :/
 
@Vogel612 it arrives with SOAP, so there's your foam
 
Kaz
12:50 PM
@Vogel612 That's what I am comparing it against.
~10% were exact matches.
another ~10% I got by comparing substitutions (&/and, ltd/limited, & co/& company etc.)
And now I'm left wondering if all of those are actualy matching up to the right company.
 
@Vogel612 The "foam" part of a beer is normally called the "head"
 
I found "froth" in an online dictionary, too..
TIL :)
 
froth is what happens when a dog has rabies. :D
not so fun fact
And yes I am really this good at killing conversations.
 
@DanPantry I thought Britain didn't have rabies?
 
@Vogel612 no, but the internet does
i mean, it has information about rabies
 
12:58 PM
Man tries to bend laws of universe with hydraulic press
 
@Pimgd and fails miserably
 
Well, fails interestingly
as in "wow, did not expect that"
It's just "will it blend" style channel, but I like it
the dude has great commentary even although it sounds super-amateurish
 
one of my favourite "amateurish" science channels is that one of a middle asian guy who makes a home-made electric guitar
bah i linked a re-uploaded version.. oh well
 
Kaz
@Pimgd Yeah, definitely not how I expected it to fail.
 
I would have liked to see the hydraulic press break tbh
 
1:09 PM
that would be really WTF
 
Kaz
I often forget that liquefaction is a thing that matter will do if you push it far enough.
 
@Kaz we're still talking about paper here... right?
 
haha yeah that clayman at the end
you can still see the hand
 
cus i just had a flicker of a really childish joke in my head about liquefaction and pushing.
 
@SimonForsberg Yes, it will be good to see what the writers have in store.
 
1:12 PM
@Pimgd no kidding!
 
Kaz
@DanPantry I have no control over what your brain is going to do with the things I say.
 
@Kaz <:
 
bring your concrete hats
 
No onebox, great...
 
Greetings, Programs.
 
1:19 PM
Greetings, Donald.
 
hey there
 
it's webm, isn't supported by onebox - also you gave a link to the gallery
 
s/by onebox//
 
it's supported by me :(
 
Dan Pantry - Official Supporter of webm
 
1:21 PM
I officially don't give a carp as long as chat doesn't support it.
Sorry Dan.
 
lol
 
It's not supported natively on mobile yet besides VLC app
 
@Mast don't be koi
 
Imgur isn't blocked at your work @DanP?
 
@Mast Nope. nor is reddit.
 
1:22 PM
@Quill Mobile should try to keep up...
 
but Twitter is?
 
Twatter is, yes
 
shame on you, onebox
 
computer says no
 
:28314550 Nice try, didn't work.
 
1:23 PM
even onebox-force fails :/
 
@Pimgd Sorry for last night. There were some demonstrations when I left work and by the time I got home it was a full coup d'etat attempt
 
crush the rebellion
 
I'm team coup d'etat :p
 
{{$(document).height()}}
debugging css
I hate frontend days
 
> I hate debugging CSS
> javascript
 
1:33 PM
Any Python ninjas?
How can I make a list containing all the normal chars (0-9; a-z;A-Z)?
 
0
Q: custom login method using JavaScript and Protractor

Archis DavdaI have written login method in JavaScript using protractor. When Login method is called, this methods waits for element (txtLogin) to be present in DOM. Once it finds the element, credentials are entered and login button is clicked. And waits for page to be routed to landing page. If element is p...

 
Don't want to use ASCII stuffs
 
8)
(I'm not sure anyone here does python.. where is @SuperBiasedMan..?)
 
Google told me to use an import, I wanted something beautiful :p
 
>
l = range(0, 10)
print l
gets you the numbers
 
1:38 PM
@BernardMeurer Not a ninja, but I manage.
 
Maybe range('a', 'z') or something works? It's Python after all
 
@BernardMeurer Do you prefer importing or creating?
@skiwi Range only takes integers, but you could force them to unicode characters.
 
ascii = [i for j in (range(64, 91), range(97, 123)) for i in j]
that gives you a list of all the ascii
 
import string
string.lowercase[:26]
 
@Mast Yeah that's the solution I ended up going with :)
 
1:44 PM
aww but you didn't want imports! :P
 
It's Pythonic, so it's beautiful.
3
 
@enderland I'm doing this to answer a beginner's email, the dude asked me some questions about counting letters, I throw a list comp at him he'll run :p
 
@BernardMeurer oh, so... yeah
haha
 
the [x:y] syntax is so beautiful
 
yeah
 
1:46 PM
@BernardMeurer Keep in mind that's Python 2, Python 3 is different.
 
good practice for me to figure out with list stuff though
 
for i in range(ord('a'), ord('z')+1):
    print chr(i)
Would also work.
 
Damn, that one's pretty nice
 
that's a lot better than the mess I was trying... :o
 
use a , behind the chr(i) to get them all in one line, but you'll keep spaces.
You can fix that with a join, a splice, or any other crazy method, depending on what you want.
Python, trailing comma's matter,
The ugly fix ^^
 
1:55 PM
This ord based solution is pretty great
 
There's a reason I like Python. Once I learned it I knew for sure I'd keep using it.
Now if only I could make browsers run client-side Python from websites...
 
javasssssssssssssssssscript
4
 
@Mast One day everything will run Python
 
java_script
 
I have faith
 
2:00 PM
Even my MALP runs Pyton.
 
Lab probe?
 
(robot webserver)
Eventually it will look like the real deal.
 
Why on earth do you have that?
 
I don't have that one, but I'm building something based on that. It currently has wheels and lights, but I'm trying to prevent my code turning into one big mess in the process.
I want to turn it into an educational project eventually.
 
> I'm trying to prevent my code turning into one big mess in the process.
Ha
ha ha
 
2:06 PM
Once I figured out how to successfully manage my time...
 
Managing time is a bitch
time itself is a bitch in fact
 
Never been interested in Python.
 
possible answer invalidation by Danny Englander on question by Danny Englander: codereview.stackexchange.com/posts/123051/revisions
 
@Donald.McLean No? Why not?
I've worked at an astronomical development centre where they used it in combination with VHDL. I thought Python was big in academia.
 
2:23 PM
@Mast is that for getting better wifi in space?
 
@Mast @enderland See what you think of my walkthrough here: gist.github.com/bemeurer/704a91b808757294413d
 
@Malachi If I can find a battery big enough, you'll receive it into space.
The WiFi could do it.
 
@BernardMeurer s/Dictionaty/dictionary
 
If you set breakpoints it would help to narrow down to where the problem exist. Can you tell us where the problem is? There are more than a few issue I can see, but this is not code review either... — Codexer 8 secs ago
 
s/It's/its
 
2:27 PM
However, it's intended to cross around the garden.
@BernardMeurer Too much comments, not enough docstring.
 
@Mast Why would docstrings be better than comments for explaining code logic? I always though docstrings were just to state what a function/class/whatever did, what it took in and what it spat out
@Donald.McLean Scala?
 
@BernardMeurer Donald is Mr. Scala.
 
@enderland Corrected both
I wanted to learn Scala, couldn't find good reading material for it, ended up going to C++
 
Yeah, give it a try first, and if you have any specific questions, come back and ask them. If you just need general code review, use codereview.stackexchange.com. — Joseph Thomson 40 secs ago
 
@BernardMeurer docstrings can be as simple as """Strip punctuation and return list containing word and type"""
Use them.
Especially if it's code you intend to share a lot.
 
2:33 PM
^^
Writing docstrings for function-like code is such a simple matter everyone should do it
3
 
^^
 
Docstrings also force you to think SRP.
The moment you can't figure out what the docstring should be, the function is too big.
 
BTW.XML //shootmeplz
 
/me shoots Pin Crash
 
2:40 PM
@Mast or the moment you start writing a novel
 
lol
 
@BernardMeurer clear code > documentation
found = {}
"""
dictionaty to store our found letters. Its format looks like such:
{'A': 1, 'B':6, 'C':0} and so on
"""
 
> dictionaty
 
Just call the thing foundLetters instead (or found_letters whatevs)
 
@DanPantry FIxed
 
2:41 PM
foundLettersDict
 
@PinCrash Fixing
 
documentationReview
 
Updated
 
Hah, the ' broke it.
Don't use those in tags.
 
Doc review indeed
 
2:45 PM
 
in VBA Rubberducking, 2 mins ago, by Blogging Duck
posted on March 17, 2016 by rubberduckvba

At least according to our issues list. I’ve been working on quite a lot of things these past few weeks, things that open up new horizons and help stabilize the foundations – the identifier reference resolver. Precompiler Directives And we’ve had major contributions too, from @autoboosh: Rubberduck’s parser now literally interprets precompiler directives, which leaves onl

monking!
 
def count_each_letter(source):
    """Counts how many instances of each ASCII (a-z A-Z) letter is found in source"""
    letters = list(ascii_letters)
    for line in source:
        found.update(Counter(line))

with open("words.txt", 'r') as text:  # Opening our text file as the var text
    count_each_letter(text)
I think this would look better^^ @BernardMeurer
 
@PinCrash Totally agree. I'll send one with and one without the function, just in case he gets boggled by it. Nice idea :)
 
Functions <3
 
Maybe this question is a candidate for codereview.stackexchange.com? — Simze 44 secs ago
 
2:49 PM
woo, surpassed 14k rep
6
 
@Pimgd I demand cake.
 
It's my birthday next week wednesday so there might be cake then
Sadly, CakeOverIP doesn't exist yet
(so no cake for you?)
 
@Duga Deleted, incoming?
@Pimgd Eindhoven is only 200km from here ^^
 
try somewhere Zuid-Holland
0
Q: Spring, Java : Method too complex, any suggestions for simplification strategies

We are BorgI am working on a Spring-MVC application in which there are around 2-3 methods which are quite big and complex, but only one of them worries me, especially for maintenance or changes. As changes in the method can immediately change some critical functionality in the project. The application is ba...

I think.
 
Seems like it.
 
2:51 PM
Yeah, url matches
> I am pasting the method for reference sake, cannot go into details of what is actually happening.
hmmmmmmh okay
 
@BernardMeurer Nice :) - I'm assuming the big docstring paragraphs in the middle are for the sake of explaining to a beginner how it works?
 
If you are sure your code works as you expect, you could try asking for help in codereview.stackexchange.com (to make it cleaner), or programmers.stackexchange.com (to make sure you apply good practices and paradigms in your code). However, I have serious doubts that any of these sites would allow questions about pseudocode, since pseudocode is almost what you want it to be (provided you respect the algorithm's paradigm). — Luis Masuelli 51 secs ago
 
@PinCrash Yes, they'r e just very throughout explanations of simple stuff
 
> I need help as I am unfamiliar with using pseudo.
.....
 
2:59 PM
@Mast Um I'm going to respond to that and (kindly) rip that guy a new one
 
Psuedocode is a funny thing..
 
Kaz
@Mat'sMug That all sounds frikkin' awesome!
 

« first day (1048 days earlier)      last day (2974 days later) »