« first day (3351 days earlier)      last day (41 days later) » 

12:04 AM
REFRESH! There are 8108 unanswered questions (89.3157 answered)
2 hours later…
2:27 AM
2 hours later…
4:42 AM
@RMunroe interesting... it seems it changed to 2642: Meta-Alternating Current though the explainxkcd shows it as 2642: No One was Hurt... perhaps they decided to do something different..
4 hours later…
8:35 AM
Q: What is node package walker?

hrishikesh pathakI've taken up the job from another freelancer who isn't currently engaged on this project. He has done some work which I don't understand. Can anyone help me with that. Every time a user hires a parking spot, I want to notify a merchant.. here is the query to create a booking: exports.createBooki...

9:28 AM
Happy birthday @pacmaninbw
10:09 AM
If this is working code that you think could be improved, see Code Review. If not, please edit to clarify the problem. Also I'd recommend taking the tour and reading How to Ask. — jonrsharpe 43 secs ago
10:34 AM
What are your criteria for "better"? Btw, if the code you have works and you only need to enhance it in some way, you should ask at Code Review, not here. — Wiktor Stribiżew 9 secs ago
10:51 AM
This is typically a question for Code Review Stack ExchangeOlivier Grégoire 49 secs ago
I’m voting to close this question because it belongs to Code Review Stack Exchange. — Olivier Grégoire 59 secs ago
I think this is a better fit for CodeReviewr2evans 19 secs ago
11:08 AM
Q: How to avoid repeating my code (If Statements), Allows building/upgrades purchases

Yamiusing System.Collections.Generic; using UnityEngine; using TMPro; public class Buildings : MonoBehaviour { public List<BuildingsSO> myScriptables = new(); // Allows use of Buildings SO. public CurrenciesScirptableObject currencies; // Allows use of Currencies SO...

2 hours later…
12:59 PM
@Peilonrayz Thank you!
2 hours later…
2:58 PM
Q: find closest object via latitude and longitude and haversine distance

cs0815Given a pandas data frame containing objects with ids and latitudes and longitudes: id latitude longitude 0 a 52.617960 1.717728 1 b 51.773427 -4.455351 2 c 52.206543 -4.345786 I would like to find the closest object with a different id in the same data frame resulting in the foll...

1 hour later…
4:19 PM
4:47 PM
possible answer invalidation by Mast on question by Bork: codereview.stackexchange.com/posts/277899/revisions
@Duga Sue me.
possible answer invalidation by Mast on question by Bork: codereview.stackexchange.com/posts/277899/revisions
2 hours later…
7:13 PM
I updated your code. You really need to ask this at code review since the code works — mplungjan 48 secs ago
@mplungjan done, I posted the question on Code Review: codereview.stackexchange.com/q/277936/245420Digital Farmer 28 secs ago
7:40 PM
Q: Replace/remove all diacritics and converting different letters to Latin alphabet in multiple spreadsheet columns (multidimensional array)

Digital Farmer Attention: if you read the question and are going to use the defaultDiacriticsRemovalMap in the future → I analyzed the name of all professional football athletes and added some letters that do not exist in the original map, so it is modified for my use, test it first and see if that way too it'...

@DonnyFlaw came up in a code review — Mike Scott 11 secs ago
8:08 PM
Welcome to SO! Unfortunately I’m voting to close this question because questions regarding improving working code would be better suited for codereview.stackexchange.com Good luck and happy coding! — Alexander Nied 23 secs ago
8:32 PM
Q: Counting primes less than n in Python

user259498I implemented (a refinement of) the Sieve of Eratosthenes for counting primes less than a given number n. This is a coding exercise from LeetCode. The class Solution is of course not necessary but only for the purpose of submitting the code on LeetCode. The code passes the tests when n is not ver...

9:03 PM
@Duga that seems like quite the review if it mentions "poor hygiene"
10:00 PM
@GianlucaBianco That's what Remy hinted about. Working code that you want to improve is probably better posted at Codereview. — Ted Lyngmo 37 secs ago
10:14 PM
Q: Does loading 10MB from disk take same amount of time as loading 100MB (max RAM capacity) into memory?

Yifan GuoI was taught in my Computer Architecture class that any load from disk is time-consuming. The operation for loading data from disk is the same, regardless of whether you're loading 1 byte of data or a full RAM's worth of data from disk. The reason is that the load time is dominated by the extensi...

@CaptainObvious ?????
@DerKommissar closed
1 hour later…
11:56 PM
Q: Reducer and mutable operation on state

godletconst toImmutableFunction = (key, value) => { if(key === edges) { return OrderedMap(value) } else { return value } } ... case 'MODIFY_SINGLE_NODE': { if (action.payload.nodes) { const index = state.findIndex((item) => item.get('id') === action.payload.node...


« first day (3351 days earlier)      last day (41 days later) »