« first day (3428 days earlier)      last day (885 days later) » 

00:05
REFRESH! There are 8049 unanswered questions (89.4641 answered)
 
3 hours later…
02:57
Stack Overflow is not meant for this kind of thing - if your code works and you want general feedback on how you could have written it better, ask on Code Review. — kaya3 25 secs ago
 
2 hours later…
04:38
Monking
 
1 hour later…
05:48
0
Q: Number guessing game with difficulties and highscore

Trevn JonesI'm sure you've heard this before, I'm a beginner, however I'm trying to break out of the basics and use more intermediate things like functions and such but I'm having a hard time understanding how to properly integrate them into my code. I've created a number guessing game that uses 2 functions...

06:42
If you would post this solution on codereview.stackexchange.com then I'm more than happy to help you improve this. — Peter Csala 33 secs ago
07:14
Before you post at Code Review, make sure to read A guide to Code Review for Stack Overflow users, as some things are done differently over there - e.g. question titles should simply say what the code does, as the question is always, "How can I improve this?". Be sure that the code works correctly; include your unit tests if possible. You'll likely get some suggestions on making it more efficient, easier to read, and better tested. — Toby Speight just now
 
1 hour later…
08:37
Monking
08:58
This is not codereview.stackexchange.com, you should strive to answer the question and post a solution. Please review how to answer. — AlexK 23 secs ago
09:22
Monking
 
2 hours later…
11:07
code review SE might be a better place for this sort of question if the code works — depperm 26 secs ago
 
1 hour later…
12:40
If you're looking for feedback on working code, the place to go is Code Review. One thing to note is that your code doesn't handle invalid input well. e.g. 1 2 /. — Raymond Chen 42 secs ago
This should be posted on code review stack exchange — Tschallacka 56 secs ago
@Tschallacka Not if it doesn't work. Code review is for working code. — Heretic Monkey 17 secs ago
13:04
0
Q: Followup: Use backtracking to put as many ships on a battleship-board as possible

apocsI created a simple battleship game and wanted to be able to place as many ships on my board as possible. The logic to place the ships uses some kind of backtracking to find a correct placement. Correct placement |1|1|O| |2|2|4| |3|3|4| Wrong placement |0|1|1| |2|2|0| |0|3|3| First I wrote a rec...

13:43
Monking
 
1 hour later…
15:08
Monking
> I bet you say that sometimes, don’t you? Once in a while, you say to somebody, “Oh, I'd be more than happy to do that.” How can you be more then happy? To me this sounds like a dangerous mental condition. “We had to put Dave in the mental home. He was... more than happy” - George Carlin
3
-1
Q: What is the use of ~ symbol in Rust?

Hooman SafizadehI would very much appreciate if someone tell me what does ~ means in Rust. I have not yet came upon it in TRPL book but in std for example in Struct std::boxed::Box we see: pub const fn new_in(x: T, alloc: A) -> Self where A: ~const Allocator + ~const Destruct, { let mut ...

15:30
@SᴀᴍOnᴇᴌᴀ I miss George Carlin.
0
Q: python turning aggregations into weighted aggregations

Smith''' def df_agg(data): data['date'] = data['date'].astype(str) data[["Year", "Month", "Days"]] = data["aqsn_dt"].str.split("-", expand = True) data['Month']=data['Month'].apply(lambda x: month_labels[x]) return data.groupby(['Month','Days']).agg(lambda x : x.mode() if x.dtype=='ob...

16:20
Monking
Monking
 
1 hour later…
17:36
For improving working code, I suggest to post your question at codereview.stackexchange.com rather than here. — πάντα ῥεῖ 34 secs ago
0
Q: Dining Philosophers in golang

Robert LuggI'd appreciate any feedback on this code. The assignment was to have each philosopher eat three times. I introduced time into the problem where eating takes 20 minutes and then the philosopher shouldn't eat again for at least 50 minutes. Particularly, I'm wondering about my use of sync.Mutex in...

0
Q: python pygame snake game

my_stack_exchange_accountI used numpy for the O(n) parts, but I didn't add any ability to change grid size because I still wonder if there's a way to make it better than O(n). main.py import pygame import numpy as np from random import randrange from clickablebox import ClickableBox # values of grid spaces EMPTY = 0 BUG...

18:42
1) code must be included in the question itself, 2) this is too unspecific for Stack Overflow, your question is better suited for codereview.stackexchange.commkrieger1 48 secs ago
19:31
@PanagiotisKanavos I'm aware use of Channel may be desirable, but I'm also think it is just one of the methods. Thanks for your comment, but I'm not requesting code review. — jeiea 16 secs ago

« first day (3428 days earlier)      last day (885 days later) »