« first day (3951 days earlier)      last day (47 days later) » 

12:13 AM
REFRESH! There are 6521 unanswered questions (91.5920 answered)
@Old Dog, that seems to me a close call. The OP is here to improve the algorithm, not the code. Whereas taking the question to Code Review might get suggestions for improving the algorithm, my understanding it that their reason for being is mainly to Review Code. — Cary Swoveland 21 secs ago
 
12:44 AM
Does Code Review have some "vacuum" mechanism that would delete my posts if they don't get any reviews in a certain period?
 
> This post is hidden. It was automatically deleted 9 months ago by CommunityBot.
Yes all sites do
@SᴀᴍOnᴇᴌᴀ I can't see where in the help center the roomba is explained or linked to.
 
Nice
 
formatting those links with the breadcrumbs prepended was more tedious than I expected
 
12:52 AM
I don't know what you mean by "breadcrumbs" are you talking about ">"?
 
@Phroggie yes the text between the >
 
Ahh, ty
 
in the web app I work on that term is used for those links to get back to where the user had been previously
 
Yeah formatting is always a PITA. The meta post I wrote the other day I spent 1/2 my time formatting the block quotes -.-
 
@Peilonrayz oh, don't rub it in. I didn't know back then what I could post on this site. Frankly, I'm still not 100% sure. Should I post really tiny projects? I rarely get reviews lately. I guess it's because my more recent projects are relatively big. However, they are miniscule by any production standards, let's admit it
 
12:54 AM
@Peilonrayz the second link I sent is linked in the last paragraph of the first section
 
@SᴀᴍOnᴇᴌᴀ You are entirely correct. I really didn't expect "Questions can also be automatically deleted based on a number of other criteria" to the roomba. Sorry
 
no worries
 
0
Q: Simple authentication server

SergeyHere's a simple authentication server. It's pretty basic but has the core functionality of sign-up and log-in handling. Your best bet is to simply run the docker-compose file Here's the code Main package com.example.tokenservice; import org.springframework.boot.SpringApplication; import org.spri...

 
@SergeyZolotarev I thought you were asking about the post and wanted to make sure you could see first hand the community user can delete posts.
 
@SᴀᴍOnᴇᴌᴀ should it be 30 days old AND have a negative score AND no answers? Or 30 days old AND (a negative score OR no answers)?
 
1:00 AM
@SergeyZolotarev You should probably ask on Meta Meta or find the Meta Meta post. "AND no answers" isn't correct, but your reading of the page seems correct. So the page seems wrong.
Perhaps "AND no positive answers" is the correct value to use. But the page clearly doesn't say "positive".
Ah, "has no answers with a score > 0"
 
@Peilonrayz yes it appears the third scenario applies
i.e. If the question was closed more than 9 days ago, and ...
it was closed May 26, 2023 at 5:24, then deleted Jun 5, 2023 at 3:00
 
Yeah in case I was unclear, I was wrong. I was thinking of the third scenario
 
 
2 hours later…
3:12 AM
0
Q: Performs interpolation binary search over an array. If value found returns found and index else returns not found and insertion index

PragmaticPerforms interpolation binary search over an array sorted in ascending order. If value found returns found and index else returns not found, the insertion index is returned. Assumptions : data is sorted in ascending order and all the values in data are unique left >=0 and right <= data.size - 1 ...

 
 
3 hours later…
5:53 AM
0
Q: security risks of Function()

DylanIm trying to create an object of functions, but im concerned about the security risk of Function(), im planning to stringify the object_formulas and store it in a database so it can be updated const object_formulas = { "formulas_1": { "addition": { "name": "addition", "parameters"...

 
 
3 hours later…
9:18 AM
0
Q: Compose Grid With Lists

xxxVxxxlinuxI have created a Grid out of using the new concept of List in Kotlin. I'm open to any feed back to how this code could be improved. It functions as expected and I'm happy with the results. import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setCon...

 
 
3 hours later…
12:17 PM
Stack Overflow is focused on finding solutions to problems, for general advice on code that is already working (somewhat), you'll want to head to codereview.stackexchange.com. — Matthieu M. 25 secs ago
Please post this question in Code Review instead. Thanks — Ken Lee 8 secs ago
 
0
Q: A small header-only input output library

HarithThe library (inspired by stb libraries) attempts to provide some commonly used functions (reading a file into memory, determining the size of a file) that are missing from the C standard library portably. Code: #ifndef IO_H #define IO_H #include <stdio.h> #include <stdbool.h> #include <stdint.h>...

 
When you do post your code on Code Review, don't forget to mention these things: 1. How long the text is. 2. How slow the script is. 3. Why you want to render text as an image. 4. It would help a lot if your code was executable, see: How to create Minimal, Reproducible Code. — KIKO Software 26 secs ago
One more thing: Code Review only accepts code that you've written yourself. There's a good reason for this: There's no point in discussing code if you don't understand it fully. So keep that in mind. If you fully understand why the code was written the way it is, you can probably get away with it, but if you don't then Code Review is not the place to be. — KIKO Software 36 secs ago
 
 
2 hours later…
2:25 PM
"I would like to ask, maybe there is some more optimal approach?..." codereview.stackexchange.comuser12002570 47 secs ago
 
3:09 PM
possible answer invalidation by Sergey on question by Sergey: codereview.stackexchange.com/posts/290759/revisions
possible answer invalidation by Sergey on question by Sergey: codereview.stackexchange.com/posts/290759/revisions
possible answer invalidation by Sergey on question by Sergey: codereview.stackexchange.com/posts/290759/revisions
possible answer invalidation by Sergey on question by Sergey: codereview.stackexchange.com/posts/290759/revisions
 
 
1 hour later…
4:29 PM
0
Q: org-table - managing my badge times

my_display_nameI have the following org-table datum werk start pauze start pauze stop werk stop 12/02/2024 09:48 12:45 13:14 17:22 13/02/2024 08:01 12:06 12:31 16:38 14/02/2024 07:38 12:12 12:38 16:48 15/02/2024 08:11 13:11 13:28 17:08 Now I want to calculate how many hours I did per day and see...

 
4:59 PM
0
Q: Justify Text on Image GD PHP

cargarm3we are trying to justify a long text into a image and we need to justify it. We have solved the problem with this function, but it's too heavy and takes a long time to process the text justification. Any faster solution in order to justify a text? function imagettftextjustified(&$image, $size, $...

 
Monking
 
6:09 PM
0
Q: Rust - idiomatic file search

valentin.mileaI'm learning Rust. Could you share some tips for improving this code so it's more idiomatic and functional? I would prefer to stick to the standary library, and avoid unnecessary sorting or memory allocations. fn first_file_in_dir(dir_path: &Path, extension: &str) -> Result<PathBuf, io::Error> { ...

 
6:26 PM
This situation is usually avoided altogether by structuring the code such that you can get a connection and defer the Close() call together. This makes it easier to see a missing Close immediately in code review. — JimB 26 secs ago
 
6:53 PM
This is likely on-topic for codereview.stackexchange.comlit 21 secs ago
 
Or it could be because we all live in a simulation and the elections were already held? — Laf 1 min ago
🤔
 
@SᴀᴍOnᴇᴌᴀ I wonder who won.
 
¯\_(ツ)_/¯
 
I’m voting to close this question because it would be more suited to Code Review, if not considered seeking opinion. — Compo 52 secs ago
I am confused by that statement @Mast being I am more than happy to have the code changed by any experienced programmers in those languages. I am either way moving this question to codereview.stackexchange.com — James Davis 24 secs ago
 
7:10 PM
Aug 16, 2018 at 23:36, by Sam Onela
> 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, whahaha, more than happy". - George Carlin
 
Maybe they got socks and they're with many.
 
7:43 PM
-1
Q: How might I check all files in two folders with patrial match in name and update one of the folders with the newest from both

James DavisHere is the code I am using it works fine; however, it obviously takes forever when there are a lot of files to check. I am really just looking to make it more efficient. setlocal enableDelayedExpansion setlocal enableextensions :: date variable set theDate=%date%-%time% set theDate=%theDate:/=...

0
Q: PHP Parser and converter - SOLID and DRY

dev-chiccoI am working on a PHP application that transforms data from the input CSV (JSON, TXT, or XML) into an output CSV (JSON, or database for example). The output format is different from the input: some columns can be skipped, and some values can be converted (e.g. blue => 1, or 1.85 => 185). Also, th...

 
 
2 hours later…
10:01 PM
0
Q: Extending callable signature with std::optional in context of function composition (make_skippable)

mahushThis is about decorating callables by making their argument and return value to be a std::optional. Therefore I created the template function make_skippable that takes a callable and returns a wrapping lambda having an optional argument and an optional return value. Here a simple example of how t...

 
Questions about improving otherwise working code may be better suited for Code Review, but be sure to follow their content guidelines and How to Ask to ensure an on-topic question. — jmoerdyk 17 secs ago
 

« first day (3951 days earlier)      last day (47 days later) »