Categories
Mastering Development

contact picker causing app crash after i am selecting contact from contact list

I am using Flutter contact picker 0.0.2. But it is giving some weird error. It shows the contact list when i call selectContact Future, however, after selecting a particular contact from the list, the app crashes, and it give below mentioned error on console. I have also tried with adding permission in android, even though […]

Categories
Mastering Development

What exactly is the attribute in marshmallow.fields.Nested() function?

I am trying to nest a Schema inside another Schema like the following: class RecipePaginationSchema(PaginationSchema): data = fields.Nested(RecipeSchema, attribute = “items”, many = True) The result should look something like this: { “links”: { “first”: “http://localhost:5000/users/name/recipes?per_page=2&visibility=all&page=1”, “last”: “http://localhost:5000/users/name/recipes?per_page=2&visibility=all&page=2”, “next”: “http://localhost:5000/users/name/recipes?per_page=2&visibility=all&page=2” }, “page”: 1, “pages”: 2, “per_page”: 2, “total”: 3, “data”: [ { “id”: 11, … […]

Categories
User Help

How to create a list in Power Query from the listed values in Excel sheet, if it has a range

I am trying to modify the Excel’s Power Query with specific rows to keep by using function Table.SelectRows(…). I have the list with numbers of rows to keep and it’s working fine, however, I can’t make that list dynamic. What I want to achieve is having a cell in Excel sheet which has rows listed […]

Categories
Linux Mastering Development

Can you alter usb protocols in Linux?

I have been trying to find a way to have a micro controller communicate directly with a computer through usb without a uart to usb bridge and I thought I could do it by disabling the usb protocols for the USB port and using the port as a regular serial port. I was told, however, […]

Categories
Linux Mastering Development

Docker reporting that my Linux kernel doesn’t support cgroup cpu real-time period

I’ve configured Docker on my Ubuntu 18.04 Server to expose its API so I can create and deploy Docker containers via REST requests, which I need to add certain features to my project. This worked fine for first few endpoints I tried, however, when I attempt to create a new Docker container (the main point […]

Categories
User Help Web Apps

cannot run a video party in a community page

I have two similar pages, I’ve created them as community pages. I’m publishing live videos on both pages, and when I finish the live session I share them in their respective pages. On the first page, I’m able to run a video party in the page: when I create a post I have the video […]

Categories
Mastering Development System & Network

MySQL crashes after upgrade to mysql 8

After we upgraded our database to MySQL 8, one query stopped working and is causing the database to crash. MySQL version 8.0.19, before: 5.7 Error.log output: Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f85d0240968): is an invalid pointer Connection ID (thread ID): 11 Status: NOT_KILLED […]

Categories
Ask Engineering

Random Electrical noise LM386

I tried to make a microphone (condenser microphone) amplifier that powers a 0.5W 8 ohm using the LM386 however I have been having random noise issues. Whenever the power is connected, the speaker will output a random high pitch frequency and turning the potentiometer will cause the pitch to raise or lower. Sometimes when I […]

Categories
Ask Engineering

Random Electrical noise LM386

I tried to make a microphone (condenser microphone) amplifier that powers a 0.5W 8 ohm using the LM386 however I have been having random noise issues. Whenever the power is connected, the speaker will output a random high pitch frequency and turning the potentiometer will cause the pitch to raise or lower. Sometimes when I […]

Categories
Ask Engineering

Random Electrical noise LM386

I tried to make a microphone (condenser microphone) amplifier that powers a 0.5W 8 ohm using the LM386 however I have been having random noise issues. Whenever the power is connected, the speaker will output a random high pitch frequency and turning the potentiometer will cause the pitch to raise or lower. Sometimes when I […]