How to identify and solve web-scale problems

Some problems are good to have… but they’re still problems. A company that has web-scale problems is probably growing and innovating—but at a pace so rapid that the current infrastructure can’t keep up. Adding to the challenge is that companies don’t always know that they even have a web-scale problem. In this article I will … Read more

Switching from a Mac to a Chromebook: Problems and solutions

Switching from a familiar operating system can cause some anxiety. If you’ve used macOS most of your life, you might be a bit hesitant about making the move to a new Chromebook. More often, users are choosing Chromebooks over Macs due to the lower cost of hardware. In fact, you can buy a high-end Chromebook … Read more

Apple’s Dynamic Island creates more problems than it solves for me

Apple’s classic cocktail of convenience and cover up on the Dynamic Island. Love it or hate it, you probably have strong feelings about Apple’s Dynamic Island. I have to hand it to Apple for embracing a cutout and turning it into something you’re willing to open your wallets for. It’s a very “Apple way” of … Read more

Finding performance problems: profiling or logging?

When your software is too slow in production, how can you figure out the source of the problem? One common starting point to improve production observability is logging, and ideally trace-based logging (tracing for short). For example, the OpenTelemetry standard and the libraries and backend services that work with it can help you collect metrics, … Read more

python – Problems with using ResNet50

I know that reshape problems are a basic thing and that there are a lot of solutions out there, but I can’t find one that works for me. I’m currently trying to use ResNet50 to train with the Iceberg challenge ( import numpy as np, pandas as pd from tensorflow.keras.optimizers import Adam from keras.models import … Read more

Fixing Problems of Jetpack Compose Navigation | by Vitaly Peryatin | Jul, 2022

Common pitfalls of navigation in Jetpack Compose and how we handled them Our team has been using Compose for six months in the Afterglow app. In this article, I would like to share the difficulties we have faced and present the solutions we have found. I found 3 of the most popular navigation solutions: Jetpack … Read more

php – How to deal with mysqli problems? mysqli_fetch_array(): Argument #1 must be of type mysqli_result

TL;DR Always have mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); in your mysqli connection code and always check the PHP errors. Always replace every PHP variable in the SQL query with a question mark, and execute the query using prepared statement. It will help to avoid syntax errors of all sorts. Explanation Sometimes your MySQLi code produces an error … Read more

java – Problems with connecting H2 database for testing in spring boot

[*] I want to connect h2 database to my test for JPA repository testing, but I am getting an error and don’t understand where it comes from. My test: @DataJpaTest class RepositoryTest{ @Autowired lateinit var entityManager: TestEntityManager @Autowired lateinit var dataSource: DataSource @Autowired lateinit var repository: Repository @Test fun `context loads`(){ Assertions.assertNotNull(entityManager) Assertions.assertNotNull(dataSource) } } … Read more

swiftUI Mapkit and Corelocation causing problems

I’m reposting my question of yesterday and now adding a clean code example to demonstrate the problem I have a MyCustomMapView, embedding a MKMApView and it starts at a fixed location. I have a function called gotoCoordinate, which accepts a coordinate and then navigates the mapview’s center to that coordinate. In the sample code that … Read more