« first day (992 days earlier)      last day (3323 days later) » 

17:00
@Sumurai8 setting fire to the tech ops guy's desk? that might work
"Trying" is the right word.
I love writing my discussions in HTML to make them look right.
@DanPantry Sense I haven't found in that sentence
@Mat'sMug Set fire to everything. The tech ops guy's desk. The guy himself. The mails. The mail server. The water cooler. EVERYTHING WILL BURN IN GLORIOUS FLAMES!
Interesting. New EAP started.
17:08
@Phrancis Looks like hell
@Donald.McLean IntelliJ?
@Sumurai8 Sounds like ISIS.
Yes, IDEA version 16.
I'm wondering something, I upgraded my 14.3 to 15 at some point, it shows 15 when booting, but somewhere in the executable it still shows 143eap along those lines
@Hosch250 You just wrote "love" and "HTML" in the same sentence. That's not allowed.
@Sumurai8 I was in the chat room for that conversation. Several people got kicked.
17:09
@Phrancis Didn't you get the sarcasm?
@skiwi I was looking through my email archives and I still have my IDEA version 2 license.
@Donald.McLean Wow, that's a bit old, I don't know what I'll do though when I'm no longer a student... buy an IDE? :(
@skiwi Yeah, why not?
I'm just a poor student
I guess that no longer applies when I'm no longer a student
@skiwi My office buys them.
17:13
But what about the personal use?
Well, JetBRains has free versions of many of their products
@skiwi Start or join a recognized open source project - IntelliJ gives them free licenses. Or use the "community" edition, which is free.
Rubberduck has an open-source license from JetBrains
@Donald.McLean Ah right, maybe I can get them to recognize something ;)
I don't remember what the Ultimate version gives me anymore though, but it sounds better than Community Edition
your project must be >3 months old, be active, have a website with a "news" section, and I don't remember what the other constraints are
17:16
So that's why you guys have a website now? ;)
I wonder if OGNext (tool for OGame) would qualify, gotta read their policy
I have the domain since 1 January... But there's no actual site yet (or hosting at the moment)
@skiwi Never used the community version, so I wouldn't know.
Their automated crawler will time travel to check if the website existed 3 months ago
17:19
0
Q: Thin ApiController in ASP.NET WebAPI

PrzemenI made an API using ASP.NET WebAPI technology, and I'm trying to make the ApiControllers as thin as possible. In my ApiController I have a _someService object, which serves as a Service Layer - contains methods which interact with my database using DbContext. I would like to know if my solution...

@Phrancis When I said "set fire to it", I didn't mean for you to melt the cables to your printer.
@skiwi Cardshifter would definitely qualify, I'd say
We just need to pick up the activity on it a bit
@EricStein Seems like mine standard is not the same as your standard coding, witch is fine. There are many standards, your way, mine way and even other ways. It's not wrong to know how you can improve code and certainly not wrong to code it like that. — chillworld 15 secs ago
pffft SO user who think his way is the only best way :(
@Phrancis What you should do is send an auto-reply.
17:26
I could set up an auto-forward to the dev who wrote that shi#t code
http://www.commitstrip.com/en/2016/01/21/anything-goes/
CommitStrip
Anything Goes
CommitStrip
1453397232
6
@CommitStrip "1998 called, they want their code back"
@Phrancis:
in SQL Helpline, 4 mins ago, by puzzlepiece87
The only real comments in there is a guy saying bump over and over because no one answers his question :P
17:43
@Akhil Tiwari use a closure as inline script something like this or use AtomicLong like this in a closure. — user1207289 8 secs ago
anyone with Oracle knowledge and a few minutes, feel free to head into SQL Helpline
I am the god of fire!
20 minutes ago it was freezing in here, now it's nice and warm
17:58
0
Q: Lua best practices and style

Cássio Renan Disclaimer: While the code in this question looks extremely long, I'm really only interested in review in some small parts of it. While I would sure appreciate someone going crazy and reviewing it entirely, this is certainly not needed. I included the full code so it can be run and tested. I...

@Vogel612 I remember years ago when my team would fire up the Intel burn test on our machines when it got cold. It would raise the temperature of the room by 5-10 degrees.
6
@DanLyons That's awesome
0
Q: How can I clean up this python code?

joshlsullivanI'm working on a Django Twilio app, and I believe it's coming along well. I just want to improve my code writing skills. How can I improve the below code? def save_number(request): from_number = request.POST.get('From', '') try: obj = SaveNumber.objects.get(phone_number=from_number) if o...

Sorry, your question is too broad for Stack Overflow; I've migrated your post to Code Review, where they specialise in providing feedback on working code. — Martijn Pieters ♦ 25 secs ago
can you give an example why it seems "messed up" for code reviews? background: I'm quite satisfied of the way IJ does optimize imports. — MWiesner 58 secs ago
Ask the person who banned it in your code review? — jpa 35 secs ago
18:17
that's the kind of bizarre story that could only happen in a large corporation
Zak
Zak
18:30
> We looked at each other, took a deep breath, and launched the application. The monitor burst into flames.
2
Alright, you've got my attention ^^
Good times, good times.
> We wanted to release a Windows version as part of Windows 98, but sadly, Microsoft has effective building security.
Hi Felipe, welcome to Stack Overflow! Since you're basically asking for a code review of working code, I suggest you move this to the codereview.stackexchange.com site instead. Stack Overflow is more geared to finding answers to very specific problems or errors. — Dan Bowling 55 secs ago
Zak
Zak
Truth is, indeed, stranger than fiction.
Zak
Zak
> I explained that I had been sneaking into the building and that the project didn't exist. They laughed, until they realized I was serious.
Wow. I've used that, and it is the best software on the Mac.
@Phrancis LOL
Thank you!
Thinking back, it is the only software that doesn't come as part of Office or Windows that MS doesn't blow Apple's system out of the water - because MS doesn't have it at all.
18:46
Vendor had to call me to read me a GUID over the phone... lol.
> It's hard to enforce that kind of thing with people who can't be fired.
That is the position I'd love to be in. Self-sufficient, and making great software just for myself.
Hi, @Avitzur. I don't remember meeting you before.
Just dropped in.
That is a pretty incredible story of yours.
18:48
22 years ago now. Still the most fun I've had in Silicon Valley.
Still working on it. Send me an email to avitzur@PacificT if you'd like the latest version.
I run Windows. I don't think I could run it.
We've had it on Windows since '98. (Just couldn't get it snuck into Redmond.)
My mom has a Mac, which I used to use until I needed my own system.
Oh cool. Sure, I'll take it!
Should I email you, or is there a place to get it on the web?
Email me.
19:00
0
Q: Unarchive spreadsheets

BamI've created a program that will pull spreadsheets out of a large tarball. How it does this is, first it specifies the file name through the "folio" number which is given as an argument when the program is called. From there it runs a bash command that will list a text file containing the inform...

0
Q: Speed up structured NumPy array

magu_NumPy arrays are great for both performance and easy use (easier slicing, indexing than lists). I try to construct a data container out of a NumPy structured array instead of dict of NumPy arrays. The problem is the performance is much worse. About 2.5 times as bad using homogeneous data and abo...

@CaptainObvious Looks like a Stack Overflow question?
19:19
0
Q: Looking up ingredients and creating a shopping list

RaystafarianThis is my first attempt at refactoring - FindIngredients and I'm wondering where I can improve. The github link in the code directs to the project that still has the old code. The user has data validated selections to make in cells B2 through H12 on Sheets("Plan"). Each type of meal has certain...

19:39
@200_success Why?
@200_success Does that make it off-topic for Code Review? :)
very specific question with conterintuitive performance results and a shortened example...
I think it's off-topic for Code Review. But if I were sure, I would have migrated it already.
I don't think it's off-topic, but I'll let the community decide the fate of it.
@DanLyons Holy carp...
19:53
@200_success OP flagged it to be migrated
Since this question asks about a specific performance issue with NumPy rather than for a general critique, it has been migrated from Code Review to Stack Overflow. — 200_success 28 secs ago
20:09
0
Q: Path finding algorithm using recursion in Python

RockybillyHere is a code I developed some time ago. I wonder if there is anything I can do to improve it. It works for non-loopy mazes which was already my goal. In the maze defined, True are the open ways and False are the walls. The main subjects that I gladly accept suggestions can be listed like this...

0
Q: I think my Bridge's foundation is too fragile

syb0rgI've just started a new class learning Java, and since it's been a long time since I've programmed in it I thought I'd put up my first project to get back in the swing of things. Here is my first assignment: Welcome to the Bridge Crossing Problem. Person Pn can cross the bridge in n minute...

20:26
you can try posting your code here: codereview.stackexchange.comDxAlpha 46 secs ago
What is the code supposed to be doing? Feel free to ask on Code Review, but be sure to include as much code and context as possible, and tell us more about what your code is doing, how it's doing it, and why it's doing it that way. — Mat's Mug 47 secs ago
20:38
-1
Q: How to create proper implementation - template arguments

angelikaquestion from last exam : //fill in struct box{ //fill in T a; }; int main(){ box<> b1 = 3.14;//its all about this line box<unsigned> b2 = 13; double d = b1; unsigned u = b2; } How to fill this code ?? I've got poroblem only with this first line of main function . Because somone don't se...

0
Q: Better way to code this Ruby class

deepakI have coded this mess of JavaScript and a bit of jQuery. Everything here works perfect as intended, however it is a real mess. What would be the best way to clean this up with best practices and such? class new_class attr_reader :shop_id SECRET_API_KEY = "asdasdasQWRESFSDFVSDFASDFSADFASDF...

20:51
@CaptainObvious Who upvoted that?
I did. I thought it looked OK.
It doesn't look like stub code to me, but I don't know Ruby.
The title alone is problematic.
OK. I removed my vote.
OK, I guess it is stub code. The defs all have the same code, even disregarding the names.
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Improving Custom Comparator.compare() method
How do you pronounce "*nix"? Star-nix?
0
Q: Rendering HTML for a navigation menu using a class

MikeyBelow I have implemented a class that will generate HTML to build the structure for a navigation menu. define('BASE_URL', 'http://localhost/site'); class Navigation { private $doc; private $xpath; private $rootNode; /** * Initialize navigation. */ public function...

If this code is working, it's not well suited for this site. Try codereview.stackexchange.commiken32 59 secs ago
@CaptainObvious Someone should create a paradigm called "OOPS". That would look funny:
return newArr.concat(arr1.filter(function(i) {return arr2.indexOf(i) < 0;}), arr2.filter(function(i) {return arr1.indexOf(i) < 0;}));
Or isn't that how you do a symmetric diff on 2 arrays? ^^
@Hosch250 Just nix.
@Hosch250 This seems to agree with me.
21:30
BMills, for more info, check on the Help Center on "What topics can I ask about here?" stackoverflow.com/help/on-topic and codereview.stackexchange.com/help/on-topicKyleMit 7 secs ago
0
Q: Laravel 5 is this code good OOP practice?

Ron BrouwersI am starting to get into OOP, I think. Just want to know if the below code is good practice. Is this how I should be using my controller and model, in it's simplest form? Controller: public function index() { $appointmentsByLabel = Appointment::findAppointmentsByLabel('2'); $app...

0
Q: Better way to code this Ruby class with similar functions

DeepakI have coded this Ruby code. Everything here works perfect as intended, however it is a real mess. What would be the best way to clean this up with best practices and such? class new_class attr_reader :shop_id SECRET_API_KEY = "asdasdasQWRESFSDFVSDFASDFSADFASDF123123ASDASD$%$%" ...

@CaptainObvious Could be me, but that code appears to lack any OOP.
Just got [badge:proofreader] :-)
4
21:52
@CaptainObvious What?!
Hi! Welcome to Code Review. Good Job on your first post! — TheCoffeeCup 19 mins ago
First post… for that account.
0
Q: Java static variables in XML

PuggyLongLegsI've been working on a small Java project by myself for a department that does not do a lot of software development but mostly database stuff. I showed my boss the code I've been writing and he saw that in some classes there were some static variables. He then told me to put the static variables...

22:10
0
Q: Using different language tags code embedded in another program

BamLet's say I have a program that uses another language/shell commands, to do the most important aspects of said program. Would it be bad to use the tag for the language that's doing the important aspects? For example, I have this Ruby code: puts "Hello world!" `echo "Hello World!"` This examp...

monking
@Mast @Quill's userscript surprises me everytime
;-)
@Mat'sMug Does it look good?
I don't have it.
22:13
Shiny.
@Mast If you're working with arrays and objects, it's better to use hasOwnProperty. It returns a boolean and is a little less messy
that works on the keys of the arrays & objects
@Quill Why? I'd say this is the clearest.
Sure, it looks like crap, but it's self-documented.
how have I never looked at the 'Slide Show' tab in ppt before
States exactly what it's doing.
23y old and I've never used 'Presenter View'
22:15
@Mast indexOf?
possible answer invalidation by Adam Hodgson on question by Adam Hodgson: codereview.stackexchange.com/posts/117497/revisions
that's an evil function that many people mess up. ES6 has a .contains proposal anyway
@Duga lol
That's a tag edit.
which, is syntatic sugar for indexOf, but that's another story
Could it have triggered on the previous edits?
22:16
This is a Question for Code Review not SO. — Oisin 47 secs ago
@Mast No, I don't think so
@Quill What's against using it?
well, people use it differently, some people use it like you did, and some people use it like !== -1, some people don't understand it well.
Perhaps my approach isn't OO enought, could be. I'm used to languages where Array isn't an object but a data-type.
@Quill But it's perfectly readable like I wrote it, isn't it?
Oh yeah, definitely
22:18
@Mast An array is an object in C#
@JeroenVannevel I'm talking C.
An array is usually sugar for an object with integers keys
Yes, I tend to forget that.
Oh. Nevermind then
22:19
But that doesn't answer my question.
1 min ago, by Mast
@Quill But it's perfectly readable like I wrote it, isn't it?
1 min ago, by Quill
Oh yeah, definitely
Next question: Is it idiomatic?
for a one liner, yeah
I like how this is an article.
Hello. I heard JavaScript.
(That's the call of my people)
Finally starting to see emails from this morning...
22:22
@DanPantry Haskell for dummies, nice.
@Phrancis How many did you get this time, 200k?
> How to read Haskell
kek
@DanPantry Ugly one-liners et al.
Trying to understand what is and what isn't good JS.
Not getting it, as usual.
return newArray.concat(array1.filter(i => array2.includes(i)), array2.filter(i => array1.includes(i)));
@Mast 90% of JavaScript is bad JavaScript. /s
@Mast I have deleted more emails in the last two days than I could ever count. Probably in the neighborhood of 500K so far
22:23
Mother of god, use arrow functions.
You're using .includes, which means you must be operating in a browser that supports arrow functions.
also while that will work the complexity is pretty nasty
that was just me using .includes. and yeah
You don't need return in arrow expressions
a => b // arrow expression
a => { return {} } // arrow function
The original:
1 hour ago, by Mast
return newArr.concat(arr1.filter(function(i) {return arr2.indexOf(i) < 0;}), arr2.filter(function(i) {return arr1.indexOf(i) < 0;}));
Ya, I saw the original
22:25
You're trying to get the elements in which are not present in the other set?
I've never heard of .includes, is that even more arcane?
It's new
@DanPantry Symmetric diff, yes.
But it is basically equiv to indexOf(item) != -1
that's what I meant when I said .contains above
@DanPantry That is the polyfill exactly
22:25
Basically combining 2 asymmetric diffs because I had no clue how to do it right in one pass ^^
0
Q: Ruby on Rails - many table associations, trying to use as small amounts of queries as possible?

lewlsauceI have a table containing about 30k rows of data and there's several table associations. The problem is that there's like 18 columns, and each column requires 1 db query. Here's an example of what I'm doing if col_num == 0 tmp_string_text = finding_phase elsif col_num == 1 tmp_string_te...

0
Q: Hi, how do I make HTML run my javascript for as long as I please?

user95418been messing 'bout with JS when I stumbled upon a wall. Basically I want my HTML code to run my Js code forever or well, for a very long time at least. How can I accomplish this? HTML and Js file down below, I appreaciate any answers that can help me deepen my understanding in JS and HTML in g...

@CaptainObvious ...wat
if you want to see some arrow function abuse: codegolf.stackexchange.com/a/69741/41519
@CaptainObvious Hi, please use a better title next time?
I'm not sure that's OP's code.
He doesn't "understand" it
22:28
Unfortunately, asking advice about code not yet written is Off-Topic on Code Review, you may consider taking this to Stack Overflow, but if you decide to, please read their on-topic guide and help center before posting. — Quill 15 secs ago
Thank you
Wop wop.
DELETE FROM [dbo].[Listing] WHERE 1=1
X)
Don't scare us like that!
Perks of working with web scrapers, you get to play god over your dataset
22:39
Deleting data is fun. Sometimes a create fake data just so I can delete it.
@Quill Basically DROP [dbo].[Listing]?
(not really)
I'm not dropping the table, only deleting the data
DROP [dbo].[Listing]
CREATE [dbo].[Listing]
Just wondering, does the [badge:] script work on the starwall as well?
Why not TRUNCATE?
22:41
^^ I was about to say exactly that
facepalm
@Mast no, it only has mutation observers for the chat region
That's way better.
TRUNCATE TABLE is cleaner and faster than DELETE, although it requires elevated (ALTER TABLE) permissions on the table
Why does one need elevated permissions for one form of deletion and not for the other? Can TRUNCATE be used for malicious purposes other than throwing data out the window?
22:45
0
Q: List of structs iterator error C++

InsBillai am still kind of new to C++, i have been trying to make a basic Blackjack game using a struct for the cards and a list for each players hand. After a lot of reasearch on std::list and it's functions i have come to this result of my base functions (Value system and main is still not finished, ju...

Account merge has been requested.
The second proposed an edit on the first's post.
DateTime AddedDate = DateTime.UtcNow.Date
somehow it won't accept this is a valid DateTime object o_O
@Quill weird
23:02
0
Q: Tabster / jQuery based plugin

GlupiJasI am PHP programmer whom only recently started to play with a bit of JS/jQuery. Because of that my code is probably something that most of You hardocding JS programmers would see as disgrace (again I am far from being one of you). I wanted to create simple but quite customizable "tab > content" ...

> hardocding
Mods can say please and extend a hand too... we just happen to have a hammer in the other hand ;-) — Mat's Mug ♦ 8 hours ago
lol
23:19
(Use Code Review when you have working code - and issues with it.) — greybeard 28 secs ago
@Duga NOOOO
@greybeard and NayukiMinase, actually no... This question is not on-topic for Code Review as the question is asking about how to write code yet unwritten, inserting the values in the back rather than front. This type of question is against the on-topic rules of Code Review. — Quill 56 secs ago
23:32
this bug ;-;
I don't even know where it is ;-;
0
Q: Responsive css implementation in LESS

JohanI just started looking in to LESS. Mixins looked like a nice feature, so I made some simple ones to handle my responsive css: .phone(@style) { @media only screen and (max-width: 420px) { @style(); } } .tablet(@style) { @media only screen and (min-width: 421px) and (max-width...

Zak
Zak
@Quill Starting early I see ^^
just never open codepen links from me
If by issues you mean broken code, then no, Code Review is not for broken code. If by issues you mean spaghetti code, then sure, that's okay — Quill 10 secs ago
23:44
@Quill you're an ass
god damn it
I fell for it too
6 mins ago, by Quill
just never open codepen links from me
I didn't open it.
doit
It could be worse, it could be a rickroll
23:45
I was burned once, and that is enough.
5
@Quill I thought doit was something worms were in.
Or rather, woims.
somehow a datatime field won't accept my datetime value
That reference is to "A Tippy Canoe and Canada Too" by Sam Campbell. Most of you probably haven't read the book, or even heard of him.
two for two
DateTime.Parse(DateTime.Now.ToString(), CultureInfo.InvariantCulture);
String was not recognized as a valid DateTime.
wtf
#DateTime #Fun
I didn't think JS' datetime stuff was too bad, but I've only used them once for a small project
They're not too bad... they're not anti-logic like C# above
23:51
I use moment instead of raw dateimes
in js
What I want to know is why you are trying to parse the datetime when you have the current datetime.
53 mins ago, by Quill
DateTime AddedDate = DateTime.UtcNow.Date
What about var AddedDate = DateTime.Now?
That's what you are trying to use just above ^
same thing as above
show your using statements
might as well show the entire thing then
anyone here use MVC.NET?
maybe I should just read more of the book before I jump into creating something?
depends how far through it you are
not very far....lol
but I know a bit about it... enough to get into trouble I think
I know MVC unfortunately
23:57
RD has 145 stars.
@DanPantry is it that bad?
@Malachi I just dislike it haha
I want to make the Header Graphic so that it changes when the page changes views. is that done in the CSS? well I guess I haven't added a header graphic yet either....
@Malachi You can make headers change in CSS, yes.

« first day (992 days earlier)      last day (3323 days later) »