Categories
Ask Engineering Network Engineering

‘dotnet restore’ from a VM breaks my internet connection

I have a Windows 10 as a host and a Pop! OS 20.04 installed using Hyper-V. I have a .NET Core project inside of the Pop! OS VM. I’m trying to restore the dependencies using dotnet restore. As soon as I invoke that command, my internet connection breaks (both in the VM and the host). […]

Categories
Apple User Help

Remove osascript starting after boot and get to know what it does

I am new to Mac and I have the following problem. After I log in after boot/restart, there is always a tab saying osascript wants to make changes which wants my password. I do not want to run this and clicking Cancel or killing this process in Activity monitor helps for the session. I am […]

Categories
Raspberry Pi User Help

Why don’t I get any gateway address (dhcp)?

I have trouble getting my gateway address to reach internet on my Raspberry Pi. I tried on 2 distinct company networks. On first network there is no problem, every device can get his network configuration through dhcp. On second network, Raspberries can not get their gateway address. However they get their IP addresses. On other […]

Categories
Database Development

Get distinct count of a table joined via two different bridge tables

I have a situation where I need the count of unique/distinct communities any tool is part of. Tool can be part of communitiy via two different bridge tables. Below is my query SELECT community_tool_kits.community_id, ct.community_id FROM tools LEFT JOIN community_tools ct ON tools.id = ct.tool_id LEFT JOIN tool_kit_tools ON tools.id = tool_kit_tools.tool_id LEFT JOIN tool_kits […]

Categories
Ask Games Video Games

Villagers sometimes kill the wrong sheep

Context: During the Feudal start, I’ve lined up my sheep under my TC, and shift-clicked through them to kill and collect them in order. Sometimes one or two of my villagers will ignore the command queue and just kill one of the other sheep instead (leading to lost food 🙁 ) Why is that, and […]

Categories
CMS Mastering Development

Alternative overview for structures

Most of our websites use a main structure for the page tree. In some cases, those structures can become quite large and entries further down are not shown initially without scrolling down/autoloading. This is annoying, especially it has to be done again and again when you reopen the structure overview. For me some changes / […]

Categories
Ask Electrical Engineering Engineering

How to store the last counting value in EEPROM in ATmega8 after power failure

I written a program to store the last counting value according to ATmega8 datasheet. but it didn’t save the last value. The counter variable went to zero after power failure. Please check the following code. #define address1 0x00 #define address2 0x02 //***********************************************************************// void EEPROM_write(unsigned int uiAddress, unsigned char ucData) { /* Wait for completion of […]

Categories
Ask Electrical Engineering Engineering

How to have a seperate power supply of same value to power microcontroller and motor?

I was creating a project which include the micro controller(ATmega328) and the 5VDC motor pump. so i made the circuit shown. motor is actuated by relay. the moment motor is ‘ON’ the micro controller gets reset(brownout). How do i modify the circuit to have a better performance. and is there any way that i can […]

Categories
Ask Electrical Engineering Engineering

help identify part schottky diode

I have an electronic part with a marking mbr10100, i know it is a schotty diode for 10A 100V. The thing is it looks like it has two diodes inside. At least it shows so when i test it with a multimeter. My question is – does it have tolerance of 10A for each in […]

Categories
Arduino Ask Engineering

Flowchart to code

If I have the flowchart shown below: Below is the code that represents the flowchart: Can someone verify if the flowchart matches the code?