Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Unanswered Questions

Ask Question
255 questions with no upvoted or accepted answers
8votes
0answers
286views

Error handling function (Win32/C)

I have written the following function to be a general "error logging" solution for my Windows API projects. Basically, given a Windows system error code (a la ...
6votes
0answers
134views

Showing a Wikipedia article's changes as Git commits

I created a small-ish NodeJS script which takes as argument the name of a Wikipedia article (and optionally a Wikipedia edition, "en" is default) and creates a Git repository with each ...
5votes
0answers
104views

Correct abstractions/organisation of a NodeJS GraphQL API

I recently did a quick take-home test for a potential job opportunity. It included building a GraphQL API with nodeJS. I am not an expert in node (mostly use Python at work) but I have used it for ...
5votes
0answers
1kviews

Exception handling: using @JsonProperty value to make error message

If the validation inRestController fails, I need to handleMethodArgumentNotValidException and provide an errorMessage, that ...
5votes
0answers
135views

Dealing Synchronous Request in Asynchronous Code

ProblemI am trying to convert my synchronous code to an asynchronous implementation. Usingaiohttp I was able to almost get where I want. My problem is how to ...
5votes
0answers
287views

Asynchronous Stripe API and aiohttp parameters formatting

I'm testing the Stripe payment API. I couldn't find a Python wrapper that provides asynchronous requests so I'm writing one. My first goal was to implement the async equivalent of ...
5votes
0answers
125views

Testing application stability by throwing random diagnostic exceptions

I'd like to be able to better test application stability. Usually when you're doing this, you run the application and keep your fingers crossed that it won't crash when an error occurs (be it a ...
5votes
0answers
1kviews

Downloading images from Reddit using Python 3

I have been working on this small project in order to fetch top-notch images from Reddit. Overall I am pretty confident about the code below but I am not entirely sure about whether my error handling ...
5votes
0answers
418views

Unit Testing Against Exceptions

I am writing a Swift library. I'm writing unit tests for that library.I am afraid that some of the code that I am testing will possibly throw exceptions. In Swift, we can handle errors, but we can ...
5votes
0answers
216views

Error Handling for XML parser

I have the following Ruby code, which parses an XML document sax style (it's a very simplified version):...
5votes
0answers
1kviews

Mocking the file system within a test

I've been using this method to test file-system functions as an alternative tomock-fs due to its lack of symlink support. I'd love to hear what others think and ...
5votes
1answer
143views

Function outcome: consistent approach and easy logging

My goal is to make a consistent and easy way to determine how a function fails/succeeds. I'm looking for code review of myStatus class for any bad practices, code ...
4votes
1answer
360views

Monitoring and re-establishing a PostgreSQL connection

Within a complicated Ruby project, I need to monitor the connection to a PostgreSQL database, as answered here. I use a thread for this purpose. Every few milliseconds, I invoke "consume_input" which ...
4votes
0answers
91views

Simple Markdown Blog

this is my first real website I created after learning about web development.It's amazing to me that anyone would spare their free time to code review strangers' code. So thank you in advance. I'd ...
4votes
0answers
67views

Fetching data from endpoint, retrieving coordinates, then merging into an output

I'm in no way a skilled developer (or even a developer at that!) but I did want to take a go at writing a script that fetched one endpoint's data, extracted some data, sent if off to be geocoded, then ...

153050per page
1
2345
17

Unanswered Tags

javascript × 135
python × 25
express.js × 25
c# × 20
mongodb × 20
async-await × 18
beginner × 15
api × 14
c++ × 13
python-3.x × 13
json × 11
typescript × 11
promise × 11
mongoose × 11
java × 10
performance × 8
unit-testing × 8
rust × 8
http × 8
mysql × 7
rest × 7
websocket × 6
multithreading × 5
functional-programming × 5
go × 5
more related tags

[8]ページ先頭

©2009-2025 Movatter.jp