« first day (1173 days earlier)      last day (3140 days later) » 

22:04
react is complaining again ;-;
tell it to stop
@syb0rg yea he self answered and the answer itself doesn't specifically talk about needing to see the node or etc. - a comment on question even requests the code
> Uncaught TypeError: Cannot read property '__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' of undefined
5
welp time for a new job
@Quill so someone is getting fired, then
22:14
slither.io is a good way to learn JavaScript ... right? right...?
0
Q: Rubyist Way of Nesting Loops on Same Array but Skipping Same Element

MichaelI'm having a bit of trouble trying to find a more Rubyist way to achieve the following. Essentially, I want to try and iterate over every element e and apply e.method(n) for every n ∈ array, n ≠ e. In order to determine whether or not n = e I'll have to use an index comparison (really just test f...

0
Q: How can I interpret the time with less code?

dreamiI really don't like sticking many if's together, I think it looks like a child stacking...but if anyone knows how to do the same thing I'm doing with this code but with less lines, it would be great. var time = data[i].data4; var summary = '<td>' + time + ' minutes since last...

possible answer invalidation by Jamal on question by cresjoy: codereview.stackexchange.com/posts/135391/revisions
@rolfl you need to learn JavaScript?
Uh-huh
Node.js specifically, and a bunch of ReST work, and so on.
The language is really only a small part of the problem - the libraries, frameworks, and bloody documentation are the real problems.
Oh, and the crazy amount of alternatives there are to do a simple task - I spend more time evaluating alternatives than I do actually coding.
I want to process commandline options .... do I use the raw process.argv and "manually" decode, or do I choose one of the 1,000,000 libraries out there to do it...?
22:30
There's so many libraries for everything... yeah
I use express for rest stuff but there's a billion of them
More than half the examples out there are also horribly out of date....... I have ES6 and ... well.... good luck finding current examples for that....
Express is an option..... but really I need to do things dynamically at runtime - including loading/changing/replacing the actual handlers for endpoints.
Bottom line is express takes away some of the flexibility I need (but, if I had more static implementations of things, it would be great).
fair enough. ES6 is usually covered pretty well by the Mozilla docs, but ES7/ES2015 on the other hand....
@DanPantry might be able to help you find a good rest framework
Actually, I will use express for the "management" interface of the system.... so it's in place already.
22:51
0
Q: ATM machine, done the semi right way

YoYoYo I'm AwesomeI have created a gorgeous ATM machine program. It makes all other ATMs look like crap, if I do say so myself. What I would like is some sort of critique on what I've done: Is there better syntax I could use for the if/else's such as ternarys? Can I improve this in any way? Can I move more of th...

I don't know I'd call that gorgeous
    """Shouldn't have to explain this.."""

    return '-' * 50
I dunno python
but that just gives 2250, right
@Pimgd Returns a string of 50 '-' characters.
At least, I hope so.
Yup, I'm right: ideone.com/zbp3kW
yeah python has pretty string repeating
Would you like to write the assembler in machine code instead of C? Your professor is being nice to you. — Winston Ewert Jul 12 at 0:57
2
23:15
this is off-topic, StackOverflow is not your personal code factory, if you have some code that you want to fix you are at the right place, if you have some code you want to improve or reviewed then you want codereview.stackexchange.com. — Jarrod Roberson 13 secs ago
23:35
0
Q: Minimum acceptable POM

Maximilien MellenI've been learning how to use Maven, and in order to understand it better, I want to try and write the smallest possible pom.xml file, while being as modern as possible, i.e. using java 1.8, utf-8, having the latest possible version of plugins and dependencies without breaking compatibility. And...

0
Q: C++ - Cross-Platform Maze Generator

jadenPeteI have made a random maze generator that allows for custom sizes via command arguments. It uses depth-first search and is written is C++. Could you look over my code and suggest any improvements possible? /* * Maze Generator: * Made by Jaden Peterson in 2016 */ /* * This program is free s...

Perhaps this question would be better suited to Code Review? — Benjamin Hodgson ♦ 8 secs ago

« first day (1173 days earlier)      last day (3140 days later) »