« first day (877 days earlier)      last day (3156 days later) » 

1:03 PM
@Zak UDC? wot
@Mast I own lambdaexpression.io
I know what the .io domain name is, it's just that his e-mail and the website have different TLDs
Which I found weird
 
Zak
@ARedHerring User-Defined-Class
 
I wouldn't say .io is the new .com, but it's good for start ups because input/output :P
@Zak I can't say I've heard of that acronym before
And yeah, holy crap, .io are expensive, compared to .com. Mine is $40 a year
 
Zak
I just made it up, it sounded idiomatic :)
 
@ARedHerring Not that uncommon. We use one domain here for our web-presence and a different one for emails.
@Heslacher I might have seen the light on that issue.
 
Zak
Wow, just did some random domain searches. I had no idea .io was that expensive
 
1:09 PM
@Zak it's in fashion and geeky
gandi is pretty good for those tlds though
 
Zak
Apparently .college is also quite expensive
though that might just be my test domain name
 
@Zak with all the money that american colleges get I would imagine so :p
bear in mind that .college probably isnt meant to be used by John Smith
the people who are suited for that domain name have some dosh to spend
> Domain names in .io are currently priced higher than many other domains, partly due to high demand. Registering available .io-domains starts from around £30 / $32.88 US per year.
 
@ARedHerring We use .edu for that.
 
@EBrown Yeah, although, .edu has been around for a little longer than .college - One could say it had a bit of a head start (20 years) :P
 
@EBrown Used to, but the TLD floodgates have opened and Harvard probably doesn't want some randomer to get Harvard.college
 
1:12 PM
Even though Harvard is a university and not a college.
 
@SuperBiasedMan I mean, taylor swift bought taylorswift.sucks for the same reason
 
@ARedHerring Or maybe she has bad self esteem
 
@SuperBiasedMan oh ye of innocent mind
 
@nhgrif I'm sure other people would make my mistake. Unless there's a clearer distinction between college and university over there.
 
@ARedHerring I'm surprised she didn't buy taylorswift.xxx.
 
1:13 PM
@EBrown I think she did though I can't find a source.
 
Zak
University is the official term. But everyone calls it college.
 
There is not. The distinction is probably less clear here than in Europe
 
@SuperBiasedMan At least in the UK, the idea of college and university imo is pretty distinct.
College is for A levels. University is for degrees
 
Zak
here in the UK, at least, [a] college, and University are 2 entirely different things
 
In Britain sure, but in Ireland it's quite muddy.
 
1:14 PM
either way, it would do well for harvard to buy harvard.college simply for the brand
even if they aren't a college
I know some people who use college and university interchangably
 
Zak
yep. This is also why a lot of companies / people buy their names on multiple domains, and often common mis-spellings too.
 
To put it another way, the price of them not having that domain and being mistaken for having it is probably higher than just owning the domain in the first place
 
Zak
though there are a number of common google mis-spellings that are under private ownership
 
@Zak patent trolls <3
Though there are honest mistakes too. github.com/node is actually owned by an individual, node has to reside at github.com/nodejs as a result
 
Googling out of curiosity and I forgot we have an institution literally called University College Dublin. We use the terms pretty loosely
 
Zak
1:18 PM
Off the top of my head, there's also University College London
 
Which I assume is a University but also offers the same stuff as a college, or something like that?
 
@SuperBiasedMan Primary Comprehensive University College of Dublin
2
There's a Judean's People's Front joke in there somewhere
 
Zak
@SuperBiasedMan Nope, just a university AFAIK
 
My ReCaptcha .NET setup is now open source.
 
0
Q: Comparing two list, boundaries checks and typecasting

JonBThis is an automation code written in Python, code is initiated with robotscript. This function validates that my input list matches the list that the program provides me with. I need to do typecasting because robotframework only allows my to insert parameters as unicode strings, typecast is need...

 
1:21 PM
> A "university" is a group of schools for studies after secondary school. At least one of these schools is a college where students receive a bachelor's degree.
 
Petition to use this image when someone inappropriately closes-to-vote for migration to CR from SO on an off-topic question on CR
 
Basically, Uni's grant Master's and Ph.D. degrees.
Whereas a College grants Associates/Bachelor degrees.
A school can be both, or it can be either.
 
Makes sense. No wonder I never found out about it properly since all I ever got was a degree.
 
Question coming in (shortly) I hope.
 
0
Q: Google reCAPTCHA Validator: Iteration III

EBrownThis is the third iteration of my reCAPTCHA validator. Iteration II can be found at: Google reCAPTCHA Validator: Iteration II It does almost everything required to do reCAPTCHA validation on anything .NET. I removed all the XML docs to shorten it up a bit. GitHub commit of the version in this ...

 
1:30 PM
Wow, @CaptainObvious was on the ball for that one.
Also, as usual that particular question is open-source, if anyone wishes to use it they are free to.
 
1:43 PM
@EBrown I'm not using C# 6. What's => in the context of private Type foo => value?
 
@ARedHerring An expression bodied member.
Basically it's the same as private Type foo { get { return value; } }
But in a more sexy format.
 
Hmm, any other Pythoners here? I'm curious if I'm overlooking something obvious
 
oh, right. Is that why it can't be readonly?
 
I have no idea if it can be readonly or not, but that method by definition is readonly.
Expression-bodied methods are readonly always.
 
ah ye I see it references a static thing. Okay, so why not just make ar eference to the static variable instead of making an expression bodied member?
 
1:47 PM
@ARedHerring No idea, you should bring that point up.
 
@SuperBiasedMan Shoot
 
@EBrown it's not a criticism, I just don't know if there are legit benefits to doing it that way. as I said, I've never used them before :p
 
@Mast I have a list sorted by the sum of their values, and I want to find how many items in the loop have the maximum sum, ie. sum(line) == sum(lines[0]). So in order to short circuit it I have:
for line in data:
     if sum(line) != max_value:
         break
     count += 1
That feels slightly verbose, but I'm not aware of a built in way to short circuit something like this. Am I missing anything?
 
@ARedHerring Well it would be somewhat faster, methinks.
 
@SuperBiasedMan It's not obvious, so there's probably a better way.
 
1:56 PM
This is more for code review, please move your question over there: codereview.stackexchange.commguijarr 58 secs ago
 
But I don't do very well with stub code, so I'm not sure.
 
@Mast Actually I realised in this case all I need are the sums anyway, so I can just make a list of sums and then use list.count instead. This is why stub code sucks.
 
@SuperBiasedMan And why Rubberducking does not.
 
@Mast Indeed! Thanks for letting me quack it out.
 
No problem :)
 
2:05 PM
quack!
3
 
Moo!
 
This should be moved to Code Review. Add the HTML markup. — Tushar 45 secs ago
 
Though, I should post a selfie-answer with some of the changes I made.
 
Zak
I feel so professional right now :) lucidchart.com/invitations/accept/…
 
2:14 PM
@Zak Behind a membership wall
 
Zak
really? Interesting
 
1
Q: Group lines from the csv file

Ilia AptsiauriI have a CSV file which looks like the snippet bellow ID | Name | Date "1","Foo1","2013-08-03 21:00:08" "1","Foo2","2013-08-03 21:00:08" "2","Foo3","2013-08-03 21:00:08" ... I need to write a method which returns a list of the lines with same ID and date, for reading the CSV file I am using Op...

 
Zak
fixed.
 
AAAAAAAH!!! UML!!! hides
 
Oh, wow, that gif takes a while to load (or is it just me?)
 
Zak
2:18 PM
seemed fine to me
 
Just had to refresh
 
 
Zak
Well, it's a whole lot better than making it up as I go along
 
lol @Mat'sMug
 
Zak
2:21 PM
@Mat'sMug now you're exaggerating :p
 
This is exaggeration:
(supernovae)
 
lol
 
Ah, crap
I bought 10kg dumbbells on monday, thinking they would disassemble into (2k 2k 1k) x2
Nope, they're 20kg dumbbells.. oh
 
Zak
Also, I just built my first class, yay :)
2
 
woot-woot!!
 
2:23 PM
class as in C#/Java/OOPS class?
 
Zak
I think so. VBA
 
Let's go back to the "burn it with fire" images
 
lol
 
Nah, I joke. Well done :-)
 
I wrote a game of life without a class and it worked
 
2:24 PM
Hypernova trumps Supernova
 
Than I wrote Langtons's ant with a class and it did not work (no highway)
 
@Mast aren't they theoretical?
 
nonetheless, classes are classy
 
@ARedHerring Everything is theoretical.
 
@Mast in theory
 
2:25 PM
Classes take some time to get used to.
 
My class is 1 init, 1 method, 1 static_method, 1 to string
 
@ARedHerring It's what happens if a fast-rotating star collapses. I've never seen a fast-rotating star before, but if they exist this is how they end.
 
Maybe I should defactor it into separate functions
before hunting the bug some more
 
@Caridorc That's always a good idea.
Makes finding the bug easier.
 
2:28 PM
Here is a similar post from code review for reference codereview.stackexchange.com/questions/35626/…LanguidSquid 28 secs ago
 
@Mast defactoring right now
@Mast I now have pure functions instead of a mutable class!
 
Next : Wallet-finder. Because we've all been there.
3
 
2:46 PM
next-next : Wallet-finder finder. because Murphy's Law.
 
@Mat'sMug So people build SEDE queries?
 
{next} * x [community-challange] Wallet-{finder} * (x- 1) + finder because InfiniteRecursionError on Murphis law
(How do I nicely format the tag?)
 
@SuperBiasedMan some more than others, yeah
 
Zak
Nope, I've forgotten how to format tags
 
@Caridorc Use [tag:community-challenge].
 
Zak
2:50 PM
and it's back :)
 
@EBrown thanks but it is too late for editing
And I should stop trying to fix the ant and do some homework now
See you soon
 
@Caridorc Ah, bummer.
 
Zak
I've spent all of today designing code, I should probably start writing it at some point :)
 
@EBrown no, homework is just a little and nice
 
I love having an HRA.
 
2:57 PM
1
Q: Haskell's intersperse in D

Jeremy WrightI am learning D. I'm trying to implement Haskell's intersperse in D. I want to use ranges. I feel that the intermediate "interspersed" value is wrong. Additionally, I suspect the concatenation character by character is inefficient. What is a more idiomatic way to implement this function, please?...

0
Q: Euler problem 5

MAGI am starting to learn Rust and it seems pretty awesome but it's way different than any C based language. I want to know how can I make this code more idiomatic and also how can I improve my solution itself. Euler problem 5. 2520 is the smallest number that can be divided by each of the num...

 
3:40 PM
I dedicate my 10k plus third daily cap to all the wonderful people here (at CR), and also to the person who gave the 15th upvote here! :D codereview.stackexchange.com/a/105868/27975
7
 
@h.j.k. Congratulations!
 
thanks @Mast!
 
Congrats!
 
An empty catch block would never pass a code review in our team, specially when the try block is gigantic. It's lazy coding, you should understand where your code could error out and actually do something about problems, not ignore them. Ignoring errors is they way to get your application in an unstable state and cause all kinds of hard to find bugs. — Juan Mendes just now
 
thanks @SuperBiasedMan!
 
3:46 PM
I really should've read the "Choosing a subject" page before I sent an email with my chosen subject
Ah yes. "Suggesting a subject for approval", another one of those important pages.
 
@JeroenVannevel Did you mess up?
 
I don't mess up. I make happy mistakes.
 
@JeroenVannevel Ok Bob Ross.
Do you make Happy Little Trees? In a Happy Little Forest? With Happy Little Clouds? And a Happy Little Mountain?
 
So this is fun. We have 4 IT people and I am the only one here right now.
And, better yet, it's password change day.
So, I get to field calls all day about users forgetting their password, etc.
 
3:52 PM
@EBrown Sounds like a special holiday
 
@skiwi It's garbage, is what it is.
 
@EBrown They make all users change their passwords on the same day?!
That's a major social engineering security risk.
 
@Mast No, but most of them have to because we had a DC crash three years ago, and all the accounts got reset the same day.
 
lol
 
What's worse is some of them call me, and I tell them what they have to do, and they say "alright" and start reading off their new password over the phone.
Some of these people have been with the company over ten years.
We've had the same process for almost five years.
 
3:54 PM
They trust you :)
 
@EBrown uh lol
 
And since none of the users ever change their password until it expires, many of them have it expire the same day each time.
Though there are a few that are off-pace now, because they forget it and we have to reset it.
Also, ASP.NET precompiled sites > all others.
Those sites are really fast.
Less than 1 second for loading most of the pages on one of them that I own.
 
Zak
4:10 PM
Does anyone know if there's a naming convention for codenames in VBA?
 
"Codenames?"
 
Zak
worksheets have a "name" which is what the user sees, and can easily edit. They also have a "codename", which you can only see/change in the VBE
 
Ah, no idea on that.
 
Zak
so you can specify a sheet by its codename, and let the user rename it to whatever they like
@Mat'sMug @RubberDuck if you're around, would love some input on this.
 
4:25 PM
there's no convention per se - as long as you're consistent with naming, you'll do great! :)
 
from topic in masterDbContext.Topics where topic.ForumId == forum.Id orderby topic.LastUpdate descending select topic
All the LINQ.
 
0
Q: Small game written in F#

TwelveI'm trying to wrap my head around F#. I'd like your honest opinion about this simple game source code that I wrote. Rules are simple: Every player has soldiers and territory Player can recruit soldiers, gain territory or attack another player Player loses when he has no territory, wins when eve...

 
Zak
Something which made me laugh. Talking to a friend who's studying at Cambridge. Turns out, due to (probably long-forgotten) reasons, cambridge starts its weeks on a thursday, instead of on a Monday
 
so they hate Thursdays instead? lol, how unfortunate..
 
This question ought to be on codereview.stackexchange.com instead of here. — StillLearnin 54 secs ago
 
4:57 PM
@Zak I don't really use a convention there. I name them more or less like I'd name any other class (because that's all they really are, just glorified classes).
Kudos for using CodeName btw. Stops bugs in their tracks.
 
@Zak They probably have some form of introduction on Monday - Wednesday
 
possible answer invalidation by Chris Jester-Young on question by Chris Jester-Young: codereview.stackexchange.com/posts/105874/revisions
 
lol
false alarm
Scheme looks like LISP for beginners
 
you need to post it at Code ReviewGuruprasad Rao 30 secs ago
 
@Duga That's almost rude.
 
5:15 PM
IMO the question is more appropriate for Code Review. — omegastripes 32 secs ago
 
5:25 PM
http://www.commitstrip.com/en/2015/09/28/scumbag-chrome/
CommitStrip - Blog relating the daily life of web agencies developers
Scumbag Chrome
CommitStrip
1443460601
6
 
LOL!
2
 
@Mast I prefer to grow ideas in the garden of my mind:
 
Zak
TTQW, see you all tomorow
 
Well, boys
Mars has flowing water
What a time to be alive
 
ALIENS?!
 
5:38 PM
kek
 
topkek
Eh, did Google just mess up?
 
@skiwi If they ever existed, they're extinct by now.
Cosmic radiation and all.
 
@Mast except (maybe) extremeophiles
see Tardigrades
 
@ARedHerring Well, there's extreme and freaking unbelievable extreme
We're talking way more harsh than Yellowstone here
 
There are probably some brought up by the rovers.
Looking forward to 10 years from now they find them and announce ETL, and 50 year later, they announce they were mistaken.
@CommitStrip I'm out of stars :(
 
5:42 PM
Yup, that's science.
 
@Mast TL.
 
Zak
6:26 PM
@Hosch250 I was going to say that mars conditions would probably kill them, but I guess if they already survived the intensive sterilisation process and the rocket trip, maybe not.
 
Kill who/what?
 
Zak
Earth microorganisms
NASA can't guarantee that the rover didn't bring some with it.
 
They should have taken cockroaches. Those things can survive just about anything.
 
0
Q: Python code to run a C program that calculates whether points are in the mandelbrot set

QuadmasterXLIIThis is part of a project to explore the Mandelbrot set. The code to graphically navigate the complex plane and allow the user to adjust the colormap and number of iterations is all written in Python, because that sort of user interface work is easiest in a scripting language. However, Python is ...

 
Zak
Anyway, I should catch up on the new Dr Who before I encounter any spoilers.
 
6:39 PM
Holy carp there's actually water on Mars.
 
@EBrown TS.
@RubberDuck Is that surprising? I always figured there was...
IIRC, Jupiter has water vapor too.
 
Zak
@RubberDuck You know, when Elon Musk finally builds his Mars-Transporter, we should make sure there's a family of Rubber Ducks on board :)
 
I think the surprise is that it's flowing water
 
Oh.
Are we sure there aren't canals up there now?
 
@Zak We use them exclusively for bath-toys.
 
6:42 PM
Where is this flowing water? Is it near Olympus Mons?
Could be the result of geothermal heat instead of solar heat.
Interestingly enough, it is flowing at -10 degrees F: msn.com/en-us/news/technology/…
That must be some salt solution.
 
@DanLyons that
@Hosch250 yeah, but we know how to desalinate. A colony is officially plausible.
 
And the salts are the kind to break down organic matter very quickly, so don't get your ET hopes up too high.
@RubberDuck I'm not going. Earth is boring enough for me.
:)
 
I don't care about ET. I care about a ticket off this doomed rock for my grandkids.
 
@RubberDuck We know how to thaw as well: en.wikipedia.org/wiki/Martian_polar_ice_caps
I don't think it really makes a difference either way. </rainstorm> <parade>
 
Working code may go here codereview.stackexchange.comJarod42 31 secs ago
 
6:59 PM
0
Q: Type-safe denominations

user85575I was interesting in having a way to convert between dollars and cents without getting into floating point numbers and losing type safety. It's very easy to get confused when you're mixing numbers with concepts. Right now what I've built allows the following: dollars d{1}; cents c{100}; dollar...

 
Is Facebook going crazy or is it just me?
 
Zak
@JeroenVannevel crazy how?
 
Slow as a turtle and suddenly it gave me a bunch of notifications of people that friendrequested me but I never accepted
 
@JeroenVannevel hasn't Facebook always been crazy?
 
> Service Unavailable
U wot facebook
U. Wot.
How am I going to share my thoughts with the world now
 
7:03 PM
@JeroenVannevel and I thought you had The 2nd Monitor for that
 
The awesomeness I spew here is nothing compared to what my facebook buddies have to endure
5
Though it seems more appreciated there. I guess some people don't appreciate quality humour.
 
@JeroenVannevel and we endure quite a bit... lol
 
group hug!
2
 
> Sorry, we could not display the entire diff because too many files (914) changed.
Wut.
 
7:05 PM
No wonder he's so hesitant about outside contributors.
@EBrown all those dlls are checked into the repo...
 
wut
 
Oh.. and the obj folders too.
 
Somebody call the gitignore police
7
 
open up an issue: "todo: learn how source control should work"
2
 
@JeroenVannevel Facebook is down
 
7:06 PM
@ARedHerring There's no need to insult Facebook
 
@RubberDuck Wut
Why?
 
@JeroenVannevel Facebook is imitating @Duga? :^)
 
Y U DO THIS TO US
 
@JeroenVannevel there's always Twitter
 
7:07 PM
Of course Facebook goes down 30 seconds after someone told me their room is still available for me to rent
 
0
Q: Jacobi and Gauss Sediel Method

Morgan WeissI am trying to do the Jacobi method but my professor said that my code is actually the gauss-seidel method. Although I am using the same formula suggested in the wiki page on the Jacobi method but for some reason I am getting the Gauss-Seidel values. If anyone can suggest what I need to change in...

 
I use my Twitter professionally. Only professional tweeters
 
@Mat'sMug lol
 
lol
 
@JeroenVannevel is filling up the starwall...
 
7:09 PM
@JeroenVannevel blue eyes?
 
Wtf is wrong with this algorithm.
 
@ARedHerring WOULDN'T BE THE FIRST TIME
 
@JeroenVannevel I like how you screenshotted that..
and saved it..
and remembered you did both just to link it here
 
You don't want to know the dark secrets that lie in my D:\Images folder
 
7:12 PM
it seems I'm not the only one with an Images\CR Chat Uploads folder!
 
7:24 PM
Entire FB login server is down
SSO services I'm using are now "down" too because of it
 
Tinder is down too.. not that I use Tinder
 
Yeah. That's definitely not how I noticed it.
2
 
> Epic Powerful Dramatic
Nah, not really ^^^
 
0
Q: Fetching of JSON data through an api with AngularJS

Smári AlfreðssonI have been trying out AngularJS and developing a mobile application to test out its features and I wanted to see if I could somehow refactor to make my JSON response hopefully quicker in fetching the data. At the moment I have a search functionality that can display from 10 to 30.000 results and...

 
0
Q: Ruby command line Mastermind game with AI

scoboI've created a small command-line 'Mastermind' game using Ruby. The intent of the project (aside from having fun in the build!) was to learn and emphasize OOP concepts and principles. The game has some simple AI in place. If the computer is the player making guesses, when they get the correct c...

0
Q: Project Euler problem 2

kafkaThis is a question about Project Euler number 2, a relatively easy one. The question is: Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms ...

 
The answer you got here: codereview.stackexchange.com/questions/105623/… looks like it would make it a less redundant. Is there a problem with it? — Joel 5 secs ago
 
0
Q: Java Delay to Avoid Cocurrent Modification

ndm13So I was attempting to remove items from an ArrayList while iterating through it, only to find out that Java doesn't like that. So I quickly wrote up a Delay that I could pass operations to so I could run them later. import java.util.HashSet; import java.util.Set; public class Delay { priv...

0
Q: Implementation of a lock-free fixed-sized allocator [follow-up 1]

cr_oagThe following implementation of a lock-free fixed-size allocator is a follow-up of:Implementation of a lock-free fixed-sized allocator The purpose is self-learning of atomic types and synchronization. I would appreciate a review that does any of the following (from most important to least): Ve...

 
8:15 PM
By the way, this question is actually better suited to codereview.stackexchange.com as this really is a code review question and not trying to fix some programming problem. — Mike Brant 15 secs ago
I'm voting to close this question as off-topic because this is a code review and should be on codereview.stackexchange.com — Mike Brant 31 secs ago
 
8:31 PM
Greetings
 
You start out asking how to make your code look more Pythonic, but you haven't shown that code, so what answer could you expect for that question? Besides, for review of existing, working code, please take your question to Code Review. If you're asking how to write a lexer, then that's really too broad. Ask a question about one specific difficulty you're having with this homework. Also, if you're following C's comment rules, then the second input line isn't just a single comment; it's two comments with an identifier and lots of asterisks in between. — Rob Kennedy just now
Is this a question or a code review? What's the problem? — craftworkgames 15 secs ago
 
8:51 PM
0
Q: An advanced c++ ResourceManager class (singleton)

MattMattRecently, I added this class to my Spiky engine: It's basic purpose is to allocate opengl based objects (such as Textures, Shader, Fonts, ...) and then to manage them by sorting them by an ID so the user can pull in and out objects. Any remarks, suggestions or other comments are welcome :) . Here...

 

« first day (877 days earlier)      last day (3156 days later) »