temperature – 2017 MBP has started to degrade in performance – dreaded kernel_task

All –
My normally stable mbp 2017 has started slowing down with kernel_thread dominating the CPU in recent weeks. This condition persists across reboots. My primary concern is that the machine is overheating (please see troubleshooting to date).

Any ideas? The wildest idea I have at the moment is that Firefox had some sort of deep JS hack; Zoom has rolled out crappier code in 5.X series (nothing to do with heat); and the thermal throttling is normal.

Are there any alternative troubleshooting steps I can take short of returning my mac for service? I don’t have a backup and really can’t be without a computer for 5+ days for work. I’ve also thought about buying a new machine but Apple pricing is just spectacular.

Things I’ve tried:

  • Restarting the machine
  • Restarting / running diags (nothing found)
  • Re-installing key apps
  • Air-blowing out the exhaust ports

Symptoms:

  • Until I re-installed Firefox (user profiles preserved) – connecting MBP to the internet would result in immediate spike in kernel_threads
  • Zoom meetings also trigger the

Data I’ve been using:

  • iStats Menu for detailed graphs
  • pmset -g thermal

Observations:

  • No observable memory pressure
  • Temperatures on thunderbolt port, cpu etc seem nominal but pmset is showing thermal throttling

This has triggered a conversation about refreshing to a MBP 2016 or macmini, but its an awfully expensive “fix” if there are other ways to root cause the behaviour.

How to get started? | Web Hosting Talk


Good morning,

I recently decided to start my own hosting company and have already started getting it set up with the main stuff a business requires (registration, financial accounts, etc). I’ve been going based off the advice of a good friend and already have what I’m going to start off with, including pricing. The services I’m planning on offering at start-up are:

  • Shared Hosting (cPanel and DirectAdmin)
  • Virtual Private Servers
  • Cloudflare

I already have the required hosting infrastructure in place, and am now looking at what else I need to get started. Primarily:

  • Advertising (Website, social media, etc.)
  • In-person (tradeshows, word of mouth, etc).

My question to everyone here is how should I proceed with getting my company running, and what way would be the best way to obtain my first client?

tutorials – Where to get started?

I learned a lot since I started sculpting, I use blender because it took me almost 2 months just learning the commands correctly and memorizing everything. The first two months I had to watch the same tutorials over and over again just to remember what does what.

But after 3 years I became decently proficient in everything blender has to offer, almost everything… The game development portion of blender is quite basic.

I wanna know if it’s safe to jump in some of the famous game developing engines and learning them or if first I need to learn how to code… But which coding language and on what software?

I only know about rigging, sculpting, texturing, playing with nodes and animation but when it comes to other softwares or how codes even work I know big fat ZERO.

Consider I’m quite slower than normal people, but if something is harder but more efficient I’m willing to invest some time in if it’s worth it.

What I wanna do? Just entertain myself by making some basic games (mostly about world exploration)

I started blender because I wanted to bring to reality my imagination, and with time it developed into a passion. Just like how people love drawing or making music….I love making things “real”.

None of my games will ever be published, It’s just something I’m doing for myself.

In Classroom in google drive, see quickly who has started the work

When I assign work using create→assignment, or create→reuse, with option “make copy for each student”, a copy is made for each student in a folder within google drive (as expected).

However the file history says that the first edit (file creation) was by the student, at a time just after the class starts, and different for each student. (I can see why the times differ and are delayed (processing time)).

Is there a way to easily tell which files have real edits by the student?

Homebrew started blowing up, no idea why

I probably did some unwise things. After a brew update and a brew doctor kept throwing the same error, I tried to uninstall and reinstall it with the shell scripts for those. They mostly worked, but upon reinstall, I got the same error bookended by the normal homebrew install output. So now in addition to losing homebrew itself, I’ve lost all the brew-installed tools. It’s unclear what I’ve screwed up to cause this. Error output below:

Traceback (most recent call last):
    15: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>'
    14: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
    13: from /usr/local/Homebrew/Library/Homebrew/global.rb:19:in `<top (required)>'
    12: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/simple.rb:50:in `available_locales'
    11: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/simple.rb:80:in `init_translations'
    10: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:18:in `load_translations'
     9: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:18:in `each'
     8: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:18:in `block in load_translations'
     7: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:226:in `load_file'
     6: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:243:in `load_yml'
     5: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_1/lib/ruby/2.6.0/psych.rb:577:in `load_file'
     4: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_1/lib/ruby/2.6.0/psych.rb:577:in `open'
     3: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_1/lib/ruby/2.6.0/psych.rb:578:in `block in load_file'
     2: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_1/lib/ruby/2.6.0/psych.rb:277:in `load'
     1: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_1/lib/ruby/2.6.0/psych.rb:390:in `parse'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_1/lib/ruby/2.6.0/psych.rb:455:in `parse_stream': uninitialized constant Psych::Handlers (NameError)
    10: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>'
     9: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
     8: from /usr/local/Homebrew/Library/Homebrew/global.rb:19:in `<top (required)>'
     7: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/simple.rb:50:in `available_locales'
     6: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/simple.rb:80:in `init_translations'
     5: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:18:in `load_translations'
     4: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:18:in `each'
     3: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:18:in `block in load_translations'
     2: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:226:in `load_file'
     1: from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:241:in `load_yml'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.3/lib/i18n/backend/base.rb:245:in `rescue in load_yml': can not load translations from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.1/lib/active_support/locale/en.yml: #<NameError: uninitialized constant Psych::Handlers> (I18n::InvalidLocaleData)

graphs – How to get started with multi-level pairwise combinations

Let’s say we have 4 ranks: 1-4

Every rank has a set of unique nodes, each pair of same-rank nodes can be combined to create a node of a rank 1 level higher, in any number of combinations:

1-A + 1-B = 2-C
1-A + 1-A = 2-B
1-A + 1-C = 2-C
1-B + 1-C = 2-A

These combinations are deterministic, we have a lookup table to get any pair-result combination and the result is not unique.

Once combined, they cannot be used again. So in the example above, we can do:

We have (1-A, 1-A, 1-B, 1-C)
We perform 1-A + 1-A = 2-B
Now the only nodes we have left are 1-B and 1-C = 2-A

Rank 4’s cannot combine, they are the final rank.

Let’s say I have a random set of Rank 1, 2, and 3 nodes.

I would like to build a “planner” where the user can see paths to Rank 4 and decide which nodes to use.

I have a simple algorithm where I calculate all combinations of each rank, get the results and pass it up to the next rank to perform the same algorithm:

1. starting set = (1-A, 1-A, 1-B, 1-C, 2-A)
2. split into buckets: (1-A, 1-A, 1-B, 1-C) and (2-A)
3. go through Rank 1, create all combinations: C(4,2) = 6
4. add the resulting 6 to the single node of Rank 2 for a total of n = 7
5. repeat step 3-4 for Rank 2: C(n,r) = 21
6. repeat step 3-4 for Rank 3: C(n,r) = 210

The problem here is that with a small set of 5 starting nodes, the possibilities exponentially grow and with 210 possible Rank 4 paths, will get very noisy.

Since any two nodes can only be used once, with a starting set of length 5, if I choose a random 2 to merge, this will remove pretty much all the later paths.

How do I somehow reduce the noise? I’m not sure if I should be looking at Graph Theory, some other simple algorithm, or do a grouping/counting of unique nodes.

How can I help a junior developer get started on code reviews?

I’ve got a new team member who’s generally smart and motivated but doesn’t (yet) feel comfortable contributing anything to the peer code review process. He just accepts any incoming PR within minutes of the PR being posted because “he doesn’t want to block progress”.

Now, I understand that he doesn’t feel comfortable criticizing a more senior member’s code or design, but are there some things he can start doing to gain some confidence in the code review process? Any resources (books, online courses, videos) I could point him to?

I’m aware of the related question (How to encourage junior developer to participate in code review, How to encourage junior developers to participate in code review? ) which deals with the motivational part. I think I’ve got that part properly conveyed to the team member and now it’s more about the “what are some concrete actions in a code review he could take”.

Just started a new hosting company, tips?


First of all, I asked for tips on another forum and got shunned for being new, yes I know the market is saturated, yes I know clients don’t prefer newer hosts.

Now, I’ve been into web hosting for about 8 years, but it’s all been home hosted. I recently purchased a reseller package from a reputable host and I was needing some tips on how to market my business? I don’t want to spend thousands if preferable as there is a huge risk for reward margin in the business, I’m also not looking to get rich off of this, I just wanted to start something as a small hobby, a max of 50 clients at one time is about as much as I’d do. I just want professional tips and any advice you guys have.

Again, please don’t shun or down me, positive replies only!

oracle – asm filter driver cannot be started

I am trying to install Oracle Grid with ASM filter driver.

I've only installed grid software.

I can't start asm as root. Actually, I have no response from asmcmd filter driver commands:

root@srvdb18c:/u01/app/18.0.0/grid/bin# env|grep ORACLE
ORACLE_BASE=/u01/app/grid
ORACLE_HOME=/u01/app/18.0.0/grid
root@srvdb18c:/u01/app/18.0.0/grid/bin# ./asmcmd afd_configure
root@srvdb18c:/u01/app/18.0.0/grid/bin#
root@srvdb18c:~# $ORACLE_HOME/bin/asmcmd afd_state
root@srvdb18c:~#

What could be the problem?

Important: it is a Solaris 11 System.

Bitcoin core – Bitcoind cannot be started

Does anyone know why I am getting the following error message?

Enter the image description here


Other possible relevant information:

Location of the configuration file

/home/.bitcoin/bitcoin.conf

Contents of the configuration file:

server=1
testnet=0
txindex=1
rpcuser=(username redacted)
rpcpassword=(password redacted)

Bitcoind location:

/home/bitcoin-0.19.1/bin/bitcoind

Operating system:

Ubuntu 18.04 (fully up to date)


Download location for Bitcoin core:

sudo wget https://bitcoincore.org/bin/bitcoin-core-0.19.1/bitcoin-0.19.1-x86_64-linux-gnu.tar.gz

Login username:

bitcoin

Folder / file permissions (recursive) for bitcoind and bitcoin.conf:

777

After a few seconds, bitcoind stops automatically without warning and allows me to restart it just to stop automatically. How do I find out why it doesn't start or why it stops after a second or two? If it stops, no error messages are displayed in the terminal. I only know that something is wrong when I run a Bitcoin Cli command as shown in the screenshot above.