« first day (3945 days earlier)      last day (59 days later) » 

12:13 AM
REFRESH! There are 6533 unanswered questions (91.5739 answered)
 
 
2 hours later…
2:38 AM
0
Q: Is it possible to make this Minecraft Bedrock addon script less resource intensive, so that it no longer triggers performance warnings?

Quack E. DuckFollowing the notice that block events will be removed in a future update, I have been implementing custom block mechanics (such as crop growth and groundcover spreading) using server-side scripts instead. This particular script accompanies a custom block called 'rhizome' which randomly spreads t...

 
 
4 hours later…
6:26 AM
This question is also probably a better fit on Code Review since that's really what seems to be being asked for. — Damien_The_Unbeliever 22 secs ago
 
6:41 AM
This question was asked for my own curiosity @Damien_The_Unbelieve but it will fit perfectly on Code Reviews — Amirmahdi Ghodsi 38 secs ago
 
 
2 hours later…
8:54 AM
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
 
9:44 AM
0
Q: Color diffusion effect

user280293Color diffusion effect developed around opacity and transition css properties of two overlapped div elements. <html> <head> <style type="text/css"> .loading .alternative-text { bottom: 0; color: #888; font-size: 48px; height: 10%; left: 0; margin: auto; opacity: 1; position: absolute; right: 0; t...

 
 
1 hour later…
10:44 AM
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
possible answer invalidation by Aycon on question by Aycon: codereview.stackexchange.com/posts/289399/revisions
 
11:23 AM
@Duga Handled
@Duga ^
 
 
1 hour later…
12:45 PM
0
Q: recursive_find and recursive_find_if_not Template Functions Implementation in C++

JimmyHuThis is a follow-up question for A recursive_find_if Template Function with Unwrap Level Implementation in C++ and recursive_invocable and recursive_project_invocable Concept Implementation in C++. I am trying to implement recursive_find and recursive_find_if_not template functions in this post. ...

 
1:17 PM
What is funny, I used exactly the same solution in my code before I asked this question, I just somehow failed to see the place to implement the necessary function (to "merge" TextBaseSingleThreaded::tokenize and TextBaseMultiThreaded::tokenize_chunk in that case. Thank you, it helped. — Damir Tenishev 48 secs ago
 
 
1 hour later…
2:39 PM
0
Q: How can I make this code cleaner and stop having to keep checking the same values for each switch

BenDev21Context- CRM system, front end form. Requirement- Within a form users have to give a rating to a section based on user inputs, each rating has different weighting. The rating is stored in an option set field. I have used JavaScript to calculate the average score of these rating fields. The reason...

0
Q: Solving the n Queens Puzzle in AEC using recursion

FlatAssemblerYou can see it live here: https://flatassembler.github.io/nQueensPuzzle.html /* * My solution to the n-queens puzzle, one of the classical problems of the * structural programming. It asks in how many ways you can arrange n chess * queens on an n-times-n chessboard without breaking the rules t...

 
3:25 PM
0
Q: Multithreaded natural language text parser (Rev.3)

Damir TenishevThis is the third iteration of the Multithreaded natural language text parser code review. Special thanks goes to G. Sliepen who conducted the first two reviews. Before reading this post, please read the previous iteration, since without it most of the text below doesn’t make sense. Functional sp...

 
3:56 PM
0
Q: Solving the N Queens Puzzle in AEC using stack

FlatAssemblerN Queens Puzzle is a puzzle which asks you to place N chess queens on an NxN chess board so that no two queens are attacking each other. Two queens are attacking each other if they are on the same row, diagonal or column. I solved it using recursion in the dialect of AEC that's targeting WebAssem...

 
4:19 PM
0
Q: Could this logging in PHP be improved upon

JoSSteI have a lot of logging statements like these in a legacy application: error_log("[" . __METHOD__ . "] Something went seriously wrong while <etc etc> "); error_log(__METHOD__ . " Something went wrong in the select sentence... [$intID] " . $mysqlConn->error); Besides going all in on structured l...

 
4:30 PM
@RMunroe Papal starships?
 
5:16 PM
Monking
 
 
1 hour later…
6:38 PM
I doubt that "pointers on improvement" will be considered on-topic for SO. You may get downvotes and votes to close. See information under stackoverflow.com/help for what is or is not on-topic for SO. This might be a better fit for codereview.stackexchange.comlit 42 secs ago
 
 
2 hours later…
8:52 PM
0
Q: Efficiency in `summarize()` for the Power Set of Grouping Variables

GregBackground On a whim, I wrote a function called summarize_pow(). It performs dplyr::summarize() on .data for every subset (ie. the power set) of its group_vars(), to yield a list of tibbles. It optionally consolidates these into a single tibble via bind_rows(), with (optional) identifying colum...

 
9:14 PM
0
Q: Why is this test suite not failing?

0004I have the code below and a set of tests that fail? It looks fine thought, any idea on why test is failing and what additional test cases could be appropriate? import pandas as pd import numpy as np import pendulum from datetime import datetime from timezonefinder import TimezoneFinder as tzf fr...

 
9:37 PM
0
Q: Proving that a Window Messages is being sent by async/await

Thomas WellerI asked a question on Stack Overflow and there's a discussion beween @Serg, who posted an answer and @Jimi, who's comments suggest that the answer might be wrong. So I implemented the following code for demonstration purposes. It is a WinForms application written in C#. I'm running old fashioned ...

 
 
1 hour later…
10:58 PM
This seems more like a Code Review answer. In SO it should just be comments. — Barmar just now
@Barmar Code Review has one rule for answers -- one Insightful Observation and no style guide. My assumption would be SO is similar -- having only a handful of rules, but no style guide. Do you have a link to a meta post saying SO answers shouldn't look anything like an answer which you can see on CR? — Peilonrayz 49 secs ago
 
0
Q: ffmpeg crashes on my new i9-14900K with Segmentation fault error message

Keerffmpeg crashes on my new i9-14900K / Ubuntu 22.04.4 with Segmentation fault error message. Even after recompiling it specifically for my platform, it still crashes. Here is the whole output: /usr/bin/ffmpeg -i 'input.mkv' -vcodec libx265 -crf 28 output.mkv ffmpeg version 4.4.2-0ubuntu0.22.04.1 Co...

 
11:31 PM
1
Q: Merging objects recursively

user280307I would like to ask if my function to merge two objects recursively is correct. It should take into account objects and array function deepMerge(target, source) { const output = Object.assign({}, target); if (isObject(target) && isObject(source)) { Object.keys(source).forEach(...

 

« first day (3945 days earlier)      last day (59 days later) »