AnalogClock






Wednesday, December 13, 2023

Climate Change and NYC Flooding

 Climate Change and NYC Flooding


True story:


The west side highway and FDR drive used to be elevated. The elevated west side highway was an active railway with elevated exits for cars and trains right into buildings several avenues over into the city. Those were the exits and there were ramps down to the street. It was profitable for the city to destroy the elevated highways and railways  and sell the steel for the elevated highway and extension exits. So they did. It's an island why wouldn't you elevate everything including the subway. Which used to be elevated train lines. Separate from the railways and highways. All worked just fine even when the city flooded. Climate change is a catch all excuse for the den of thieves we call our representatives to ask for more money to steal instead of spending our tax dollars on us.


There was also a massive set of independently operated trolley systems that were connected from one sided of the country to the other and they honored each other's transfers coast to coast.  Trolley lines that dropped you off down the street from your house all over all the cities of the US. There is a couple of documentaries about it that you can watch for free. How and Why Big Oil Conquered the World. https://www.corbettreport.com/bigoil/  


Corbett has produced tons of documentaries on his site that explain how the world really works and why things are the way they are. We don't have to waste or lives scratching our heads like idiots wondering why when we know our actual history and all the facts.


As a kid I loved riding in a car through buildings in Manhattan and riding in electric old timey cabs with extra fold up seats because of all the room in the back when a car doesn't waste all is space on an engine and gas tank. The electric trolley on 14th Street was a special treat.

Sunday, January 12, 2020

vscode you should know

search files
ctrl+p
type ? into search bar for help for other types of search

search editor commands
ctrl+shift+p or f1 or ctrl+p >

move line or selection up/down
alt+up/down

duplicate line or selection above/below
alt+shift+up/down

peek definition
alt+f12
you can scroll and edit in the pop-up overlay

goto definition
f12

add cursor at end of line or lines of selection
ctrl+shift+i

add cursor above below
ctrl+alt+shift+up/down

ctrl+`
open and toggle terminal window

ctrl+shit+`
open a new terminal

more here

Saturday, November 2, 2019

pycharm you should know

search everywhere - file names, commands names, and symbol names across project
press shift key twice

search for a pycharm command by name or abbreviation or parts
ctrl+shift+a
use a space to separate parts of a search(f s) file save (fs) should work too

search for a file in the project space
ctrl+shift+n

open a recent file - searchable
ctrl+e

switch an open file or a open a panel
ctrl+tab start from the top of the open files list
ctrl+shift+tab start from the bottom of the panels list

return focus to editor window
esc

return focus to editor window and close last active panel
shif+esc

quick documentation popup for current cursor or selection
ctrl+q

quick popup of source snippet for current cursor or selection
ctrl+shit+i

return focus to last
navigate to previous or next edit location across files
ctrl+alt+left ctrl+alt+right

add a cursor AKA multi-cursor
alt+left mouse click
alt+shift+insert toggle multi-cursor mode for shifted selection

add multiple cursors and  rectangle selection
alt+shift+left mouse click and drag
use same selection method for rectangle pasting

add an import automatically to the top of the file by selecting from a popupalt+enter
use after typing the usage (datetime.datetime or just datetime)

duplicate the current line or selection
ctrl+d

move the current line or selection up or down
alt-shift-up or alt-shift-down or ctrl-shift-up or ctrl-shift-down

navigate to class method or function in current file by selecting from a popup
ctrl+f12

debug the current file
shift+f9

step into
f7

step over
f8

run the current file
shift+f10

run the current line or selection in the console
alt+shift+e