« first day (1380 days earlier)      last day (2932 days later) » 
00:00 - 20:0020:00 - 00:00

20:00
Identify a significant moral problem in the Nestle case study. There is more than one potential issue, so you'll need to think about which one you consider most egregious in terms of justice, morality, and Catholic Social Teaching. Clearly identify the issue and defend it.
Weird right?
I don't see why?
I have no idea what you study, to be honest.
If you can back your answer up and explain how it relates to justice/morality/CST then it's fine. If you don't do that, it's not
just because something is subjective doesn't mean any answer goes
I wrote mine on the root problem of the case study, and to support it, I had to give some information about Nestle's market shareholder returns to show when the company was likely making investments and when those investments paid off. I then used this information to explain how they had to have known they were doing something unethical based on the research phase to decide whether a product was viable. It follows, to me, clearly along justice.
She said I was too sidetracked on the market shareholder returns, but without that information, my argument makes no sense
Thanks for the quick accept. But keep in mind: such "code review" for such low quality input is really the exception here. You absolutely should try to go in smaller steps, and get those smaller things working for yourself (or put a very specific question around one failing aspect of your program here). Please understand that this community is for "professionals and enthusiastic amateurs"; it is not targetting newbies who are struggling with the very first basic steps. But as said: glad that I could help; and that you accepted that quick. — GhostCat 56 secs ago
20:23
@Zeta C more sane than C++? Except half of what the average compiler accepts is undefined behaviour, not explicitly forbidden but a bad idea anyway.
@Trojan404 Get a second prof as referee if you have to. Not sure whether a dean would mingle.
Your university probably has protocols for this.
@Mast we'll see how she grades it. Papers due tonight. If she docks me points on that, then I have a feeling the university would let her go because a) she's an adjunct and b) why would you want a professor that docks points for opinions
When asking "is there a better way to ..." for code that works, you should look at Code Review instead of Stack Overflow. — the Tin Man 20 secs ago
@Trojan404 Don't be too sure about that.
@Mast I'm quite certain. It happened last year
20:52
0
Q: Multithreading problem, CountDownLatch not working properly

RunnerdaveI have implemented a simulation of a relay race of 5 teams with 2 runners per team using threads. The code compiles and runs however the very last 5 lines printed at the end of the run of the program should be all positive numbers, given they are the difference between the start time of the seco...

0
Q: In function 'int main()': 44 error: expected primary-expression before '<<' token

EdwardoI am trying to write a code in C++ that integrates a sphere of the following function f(x,y,z)=1. The limits for theta and phi are: 0 The error that it's giving me is the following: "In function 'int main()': 44 error: expected primary-expression before '<<' token." Also, I know the logic behi...

Wat
> LuvvieScript an OTP-ish Erlang compile-to-JS programming language
People think of the oddest names for the oddest things.
0
Q: Recursion problem for multiple dimensional array

SnarfTrying to do this recursion in C++: This is my code: void collision_probabilities(int N, int M){ double** p = new double*[N]; for(int i = 0; i < N; i++){ p[i] = new double[N]; } p[0][0] = 1.0; for(int j = 1; j < N; j++){ // Initial Conditions for(int ...

21:12
@Mast That list is missing JavaScript to JavaScript.
Nevermind, I just found the missing "Babel" entry.
@Mast Wat
If you're going to use a language that compiles to Javascript, why not just write Javascript?
Damn, lots of them compile into JS
@Phrancis Says the one using React/JSX :P
The more I think about C++ headers they are more looking like interfaces, except it's just for a single class
@Phrancis Missing features, compile time checks, support for asynchronous calls (which defeats callback hell), automatic code generation in your host language…
21:18
Since you have working code, this would be more appropriate for code review — Moses Koledoye 7 secs ago
It's almost as if you actually need to know what you're doing
3
1. There are indeed many libraries which allow you to convert arbitrary things (not just SQL) to and from JSON and CSV. 2. This is a code review question without additional detail (off-topic). 3. If you only use the low level bindings, you will almost certainly have to 'roll your own' everything (this library in particular is pretty much just the C bindings). A [higher level library ](hackage.haskell.org/package/postgresql-simple-0.5.2.1/docs‌​/…) will almost certainly provide JSON serialization already. — user2407038 13 secs ago
Clever solution to copying an object … For exactly that reason seeing this in a code review would immediately worry me. It reeks of being too clever and may very well be a symptom of a deeper design problem. I’d insist on a rock solid (and documented!) reason why such acrobatics are unavoidable. — besc 36 secs ago
@Mast Still about?
21:50
Maybe more suited to codereview.stackexchange.com? Also - is your indentation correct? At it stands, your code won't get past the first while loop. — SiHa 51 secs ago
possible answer invalidation by Snarf on question by Snarf: codereview.stackexchange.com/posts/155192/revisions
22:33
0
Q: Benchmark of Perfect Numbers: Go is slow?

Luke ParkI wrote a piece of code to benchmark the detection of perfect numbers up to 10000. The original code is here, in C: #include <stdio.h> int isPerfectNumber(int num) { if (num == 1) { return 0; } int i, c = num - 1; for (i = 2; i <= num / 2; ++i) { if (num % i == 0) { c -= i...

I want to do it better And how are we supposed to help you without seeing what could be improved? Also, if you want working code to be reviewed, you should turn to CodeReview and follow their standards. — Gert Arnold 18 secs ago
23:03
@skiwi Guilty as charged :)
0
Q: Getting comments and replies into a database

Dumb QuestionI created an example (for me) of how I must get the comments and replies into the database. Here is the result for example: //I am ONLY thinking a query like this $q = "SELECT * FROM comments_table WHERE post = 'url_code' ORDER BY date DESC"; //An example result (Not used the query above) $co...

23:44
0
Q: Sort and Search Algorithms

ahmed_imtiazI'm new to programming, but want to build up a good habit of code review so that I can develop best practice. It's been couple of weeks I'm coding in C and my knowledge, so far, is data types, conditions, arrays, loop and, very minimal, pointers. I'm creating multiple search and sorting algorith...

00:00 - 20:0020:00 - 00:00

« first day (1380 days earlier)      last day (2932 days later) »