Ad

Tuesday, July 26, 2022

Debugging error RecursionError: maximum recursion depth exceeded

"RecursionError: maximum recursion depth exceeded"

Issue the maximum recursion depth is reached. The maxinum depth is 1000 in python.

solution 01

 "The default is 1000 levels deep and you can change that using the setrecursionlimit function in the sys module."

https://stackoverflow.com/questions/3289430/maximum-level-of-recursion-in-python

solution 02 

Use an iterative approach. 





Sunday, July 24, 2022

Tesla Charging Tips Shared By Tesla - How to Charge Tesla Quickly, Efficiently

Tesla: "

  • Find the fastest Supercharger Filter by three bolts in navigation
  • Navigate to the Supercharger Battery will precondition for faster charging
  • Arrive with 20% battery or less Maximize charge rate
  • Leave space between cars
  • Neighboring stalls may share power Move your car after charging
  • Idle fees may apply 

" - per Tesla released note

Saturday, July 23, 2022

Go Pro reelready stabilization

 Go Pro 9 10 has build in video stabilization, called hypersmooth 2.0 (in-camera stabilization). GoPro sells a separate software called Reelready GO for $99+ bucks which will take in gyroscope data, to stabilize post-production. The GoPro player can also play stabilized video if the footage comes from a gopro camera with gyro data https://community.gopro.com/s/article/GoPro-Player-ReelSteady-Compatible-Presets

Solana Developer Resources + Getting Started with Solana

Solana is a layer 1 blockchain. 

Why Solana? Fast, cheap, can be robust https://youtu.be/TTdcs7EYfcw




 Current event:

- Solana build during bear market

https://twitter.com/solana/status/1546513148114599939


Solana Summer Camp Hackathon

Twitter space talk

https://twitter.com/i/spaces/1YqKDqqQyeDGV

Prizes : payments ~50K, grants, no need to give up equity (?),  Prizes are grants, no equity necessary to participate. 

Summer camp. coworking, hacker houses around the world. For example the San Francisco Summer Camp is located at a co-working space called SPACES near the pier 39 occasion front. 


Getting started with Solana

What is Rust [flash card] 👇🏼

https://ml.learn-to-code.co/skillView.html?skill=LEhDxIfgayEmO0Ny3yve


Community

Developer lifestyle : really love the solana designs, and color palette, just so good with the new gaming aesthetics, reminds me of cool clubs and gaming conferences. Fun fact, trivia there's even a Solana beer : https://decrypt.co/108376/solana-beer-degods-okay-bears-nfts-summer-shandy There's also the Solana IRL Store in Miami and NYC https://decrypt.co/106088/solana-spaces-irl-store-web3-embassy-new-york

 

Get involved Solana Ambassador


Past price

solana SOL $165 December 13, 2021


Getting Start with Rust

Rust is a system language like C C++ and GO. It has included memory management. C++ requires DIY.


Task: Create a Rust project

$ cargo init


Definition: Cargo is the package manager for Rust


Task: run the main program in Rust. Source file has main function

$ cargo run


Main function is always the first function that will be executed when running rust. If one changes function to a different name will get error.


Task: Hello World with Rust. 


pub fn hello(){

println!("Hello World!");

}


Task: import hello module. Mod is the keyword for module. 


mod hello;

fn main(){

hello::hello();

}


Task: use :: syntax to call function in a module

module_name::function_name


Task : view startup scripts Scroll down to the bottom of package.json

"scripts":{

"start": "nodemon app.js",

"serve": "node",

}


Task: serialize, deserialize data between code and byte code. Encode and decode. 

Discord

Grape (GRAPE), a solution for validating users on Solana. "Create, Reward & Secure any online community by harnessing the power of Solana" - Coingecko


Solana Mobile 

Solana mobile stack in progress, becoming the chain that mobile developers think about (Packy McCormick

Why is the Solana leadership excited about Solana Mobile? All in one Solana platform - comparable to the emergence of super apps like WeChat. Rough transcription:  "WeChat moment for crypto. Super app for everything in crypto. Solana mobile. Crypto can track an address interact with u, know the entire history."

Speaker, currently interaction is mostly on desktop, need the wechat moment for crypto - super app), 


solana in person todo

learning resource

Seen on twitter “The Solana Development Course on @soldevapp is soo good! Great work and thank you to @jamesrp13 and the other contributors! 

Potential Solana courses: (we have not had a chance to try or test these courses) Solana course https://soldev.app/course

Moralis supports Solana. Current two types of development tools are available SDK and REST API. Here are some of the API endpoints https://moralis.io/solana-api/ 

Solana web3 javascript SDK API

Solana Documentation : Web3 JavaScript API What is Solana-Web3.js? https://docs.solana.com/developing/clients/javascript-api

injected web3 window.solana .

Community size: discord member August 2021 ~ 133,000.

What's Squid Prize? Solana contribution Prize https://twitter.com/solana/status/1555647981281476614

Solana Supported Wallets

Solana ecosystems, apps, wallets [public]
https://ml.learn-to-code.co/skillView.html?skill=rCPnrSqeZ2x4pnBUA0Iw

Warning : only use test wallet, test tokens. Never use real tokens for  experiments. Never to real tokens for development. Always do your own research. Applies to all tech, cryptos and more. 



If using web extension, browser extension need to install before using. 

Flash card for our pro paid members.
Solana Wallet Adapter [pro]
https://ml.learn-to-code.co/skillView.html?skill=Pfc3e6qzu1MKc0v4SsLx

Thursday, July 21, 2022

 


Alchemy jsonrpc, eth_getBalance request result is 0x429d069189e000

Startup Tool - Square Payroll, Square Team, and Square Payment Review

We have been using Square Payroll for our startup. It takes care of filing and forms. Which is pretty amazing. You are probably familiar with Square payment POS point of sale system. Did you know it also offer free online shop and URLs (ecommerce portal like shopify), tracks inventory, . It also offers payroll, time card, team time tracker via the Square Team app, clock in clock out is easy. Payroll supports contractors and full time employees, handles direct deposit. We haven't tried it yet but these benefits and HR options are available : external HR as a service, benefits such as shopping for healthcare, retirement plan. So cool. It's a joy to not deal with these HR pain points. That makes a startup founder happy. 

Startup Engineering 101

 draft in progress

Traction : active user revenue

Product Market Fit

What Problem are you trying to solve?
Figuring out Sources of Motivation

Communications, Culture and Hustling

Minimize email time and meeting time (that's why so many startups prefer Slack, the conversation is immediate and transient). Every email should add value, else, just delete it. Replace long meetings with a morning standup meeting to set goals, remove obstacles and make sure each person can start the day right. Do this as long as you can, till you are too big. 

Common Failures

When user education requirement is high. It takes a long time for users to understand your project and the use case of your product.

Users don't have the problems often. 

YCombinator

YCombinator how to apply https://www.ycombinator.com/howtoapply/

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid