Categories
Ask Chemistry

Why do you count both bonding electrons towards an atom’s octet, but you only count one of them towards the atom’s formal charge?

For example, oxygen is neutral when it has just 6 electrons. But the pink O in the molecule pictured has 3 bonds giving it 8 electrons, a full-octet. It’s more electronegative than all the atoms it’s bonded to also. It would make sense if an O with a full-octet had a -2 charge since it […]

Categories
Ask Chemistry

Why does the lacto-fermentation of honey take much longer than other lacto-fermented fruits

I work in a restaurant in which fermentation is a key part of our menu, with lacto-fermentation being a common technique we perform. Recently we’ve experimented with lacto-fermenting honey. As lacto-fermentation is the conversion of sugars to lactic acid, we expected the honey to lacto-ferment much quicker than any of our other usual lacto-fermented fruits, […]

Categories
Bitcoin Cryptocurrency Mastering Development

How to show Btc and etc crypto price in my website

I have crypto web But I dont like to use plugin or any complex sources … Is possible to show BTC and other cryptocurrency price & charts in my wp site ? By simple code … (No tradingveiw , coinchego & ….) Thank you 🙏

Categories
Linux Mastering Development

How to filter-out certain notification types from a Slack channel?

I’m running the Slack RPM on Linux. I subscribe to a company-wide Slack channel, where most messages are important and relevant. However, there’s a type of messages in this channel which are irrelevant for me. Is there a way to not be notified of these types of messages? It’s quite easy to create a filter […]

Categories
Linux Mastering Development

What does cause such high CPU fan speeds?

So, everything worked fine yesterday. Today, my CPU fan seems upset. It alternatively goes up to a high speed of around 5000 rpm, then back down to a low speed of around 2300 rpm, and up again, in cycles. The screenshot below is a graph of CPU fan speed over time. See, it follows a […]

Categories
Linux Mastering Development

How to setup SSH user just to access postgres and do nothing else

I need to grant somebody read only access to a postgres sitting inside a ubuntu 18.04 server For the postgres I did the following CREATE ROLE read_only_user WITH LOGIN PASSWORD ‘FAKEPASSWORD123’ NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION VALID UNTIL ‘infinity’; GRANT CONNECT ON DATABASE "somedb" TO read_only_user; GRANT USAGE ON SCHEMA public TO read_only_user; On SSH […]

Categories
Linux Mastering Development

Which profiler to use for scientific Fortran codes?

I have a rather big Fortran code that I am trying to optimize. I have tried using gprof, but after many looking many criticisms of gprof, I am trying to learn an alternative method of profiling my code. Could you please suggest any tools that I can try out or other alternative strategies?

Categories
Mastering Development

I need countdown timer to countdown slowly

I want to build a countdown timer from 10 to 0. However, the code I have now goes too fast. Goal: I want to show the countdown visually. For example, 10,9,8,7,6,etc. Currently, the timer goes from 10 to 1. I’m new to Javascript so I’d appreciate it if simple solutions were given. I’ve tried setTimeInterval() […]

Categories
Mastering Development

Process any array without using For Loop

I want to achieve Output dynamically without using FOR Loop. Input is array of multiple objects. var input = [ { “name”: “Siner1”, “RTime”: 40, “FTime”: 30 }, { “name”: “Siner2”, “RTime”: 50, “FTime”: 60 } ] var output = [ { “RTime”: { “Siner1”: 40, “Siner2”: 50 }, “FTime”: { “Siner1”: 30, “Siner2”: 60 […]

Categories
Mastering Development

polynomial String s into a doubly linked list? parsing has to be done we have to find coeeficient and

Hello guys so I have to figure out how in the polynomial contructor how to take (String s) and place into a doubly linked list? create a Term. Then break down the expression into its parts and create Terms for each part. These need to be combined and reordered to turn them into canonical form […]