« first day (4174 days earlier)      last day (65 days later) » 

00:20
REFRESH! There are 5676 unanswered questions (92.6921 answered)
 
6 hours later…
05:57
Monking
 
2 hours later…
07:50
0
Q: C# Creating assembly invariant metadata type name approximations during runtime

Prophet LambThis extensions function aims to render any given RuntimeType, or Type definition into a human-readable and C# conform name that is assembly name invariant. It should produce similar results as the MetadataName available in source generators. That is my known good rendition. My usecase for this J...

08:22
If the code snippet posted doesn't have any actual problem I'd suggest having a looking at codereview.stackexchange.comDarkBee just now
08:57
0
Q: Optimizing domain requests and filtering results with Polars

Lo BellinI need to query a large number of domains stored in a CSV file and save the associated metadata from the responses. My final goal is to generate a CSV file after applying filters to this metadata. The original CSV file can be quite large, and I want to avoid loading everything into memory for per...

0
Q: "Ansible_loop_var attribute error: nonetype object has no attribute items" leading to lxd_container error when installing xroad using ansible playbook

user27623139I was trying to install Xroad with these steps: sudo snap install lxd newgrp lxd sudo lxd init sudo apt update sudo apt install software-properties-common sudo apt-add-repository --yes --update ppa:ansible/ansible sudo apt install ansible ansible-playbook -i hosts/lxd_hosts.txt xroad_init.yml Im ...

0
Q: Creating Dedicated Database for database test cases (Tests that I need to check the data are written or read sucessfully) in phpunit

Dimitrios DesyllasI am making a base test class that bootstraps database Test cases namespace Tests use App\DB\DBFactory; use Phinx\Config\Config; use Phinx\Migration\Manager; use PHPUnit\Framework\TestCase; class DatabaseTestCase extends TestCase { private PDO $pdo; private $migrationManager; pub...

 
3 hours later…
12:00
at the risk of provoking a flame war, to correct the record, I'm toying with the idea of adding an answer to that question.
There are now two answers on that question that have incorrect ideas about secure PRNG combinatorics, and I think there would be value in a competing voice being heard.
Of course I'd stick to the facts, not mention any users or even mention any specific answers; only ideas. If you think this is ill-advised, sing out; otherwise I'll muddle through it later tonight.
while you are correct in that the restriction reduces entropy, it is the state of the world that that used to be a fairly common requirement (just like mandatory password rotations) and it is prudent for a password generator to match such requirements to make generated passwords fit to existing (however bad) password policies
That's some useful nuance. We should do that to match the requirements of a specific authentication system; we should not due that as a generic claim to password strength.
none of that really matters, considering the original requirements of the question, though
AIUI the generated password is just a one-time password
"log in with this password. You will be prompted to input your own, new password"
You're entirely right - and it doesn't matter in a very specific direction, which is - other answers on the site suggesting character restrictions don't apply because this is not a password input by the user.
*on the question, not the site.
12:54
Presumably this old question is no longer pertinent. But my advice?... In GENERAL this is technical debt which should have been avoided by code review. The root problem? The awkward T-SQL statement relied on multiple default behaviors and implicit typecasting, which stopped working when a patch changed default behavior. Main Problems: 1) assumed the table or view name would be the 1st column from both sys.tables and sys.views (col name should have been explicit!); and 2) the 'else' should have been explicitly typecasted, e.g. 'select cast('0' as sysname)'. — Whitzz 40 secs ago
13:25
0
Q: python equivalent of ruby's Hash#dig

dimidI work a lot with nested formats like JSON and YAML, that have dicts and lists so wrote this utility. from typing import Any, Hashable, Iterable, Protocol, TypeVar, runtime_checkable T = TypeVar("T") K = TypeVar("K", bound=Hashable) @runtime_checkable class SupportsGetItem(Protocol[K, T]): ...

13:51
0
Q: Complex review how much context?

Loki AstariI have some code that needs reviewing based on the C++ Co-Routines that were released with C++20. This is a non trivial update to the language (I am not sure I understand it). If I just put the code in for review I don't believe I would get any meaningful comments. So I want to provide a lot of c...

 
2 hours later…
15:39
0
Q: Compile time (and run time) RFC 4648 compliant Base16 conversions as range adaptors in C++23 (improved 2)

niloThis increment This obsoletes a former version, after taking a great review into account: The encoding now preserves sized_range and random_access_range which is one of the most demanding range requirements. This was achieved by replacing a combination of iota, transform and join by cartesian_pr...

Hi Ayush! Let's do a quick code review ... — Ashlan Chidester 20 secs ago
Hi Ayush! Let's do a quick code review ... let mut buf = [0u8; 4]; let mut io_vec = [IoSliceMut::new(&mut buf)]; let mut cmsg = cmsg_space!(RawFd); let msg = recvmsg( srx.as_raw_fd(), &mut io_vec, some(&mut cmsg), msgFlags::empty(), ).unwrap(); for cmsg in msg.cmsgs() { if let ControlMessageOwned::ScmRights(fds) = cmsg { println!("RX: {:?}", fds); } else { println!("fail: {:?}", cmsg); } } — Ashlan Chidester 37 secs ago
16:43
Monking
 
1 hour later…
17:51
This kind is better asked at Code ReviewJens 28 secs ago
18:31
Monking
 
2 hours later…
20:07
0
Q: Convert the number formats (decimal - hexadecimal - octal) to decimal

Tuhamiproblem: Write a program called multi_input.cpp that prompts the user to enter several integers in any combination of octal, decimal, or hexadecimal, using the 0 and 0x base prefixes; interprets the numbers correctly; and converts them to decimal form. Then your program should output the values i...

0
Q: [Spring Boot][REST] Design Pattern Best Practice (Single Entity, multiple business logic implementations)

user287004I have some problems regarding best-practice design between data source layer(Entity), domain layer(Service) and presentation layer (controller): I have one entity with a type field in the database to distinguish between two subtypes(Burger and Pizza), because they share most attributes and act s...

 
2 hours later…
21:38

« first day (4174 days earlier)      last day (65 days later) »