![doug chang](/img/default-banner.jpg)
- Видео 32
- Просмотров 1 118
doug chang
Добавлен 7 фев 2010
Superset pgadmin and psql connections
Connection to superset docker container with pgadmin GUI tool and psql in docker container. Superset SQLLab is not the same SQL interface as provided by psql or pgadmin. The additional capabilities and better runtime including more meaningful exception messages save time. JOINS not well supported in the superset interface. After many wasted hours I now use native db tools for POCs to show data format and query performance with a flask app before porting to SS.
Просмотров: 6
Видео
React ECharts Typescript adding state to parent. Review stale closure and useEffect fix 3/3
Просмотров 512 часов назад
React ECharts Typescript adding state to parent. Review stale closure and useEffect fix 3/3
JSX Version React Echarts Wrapper 2 of 3
Просмотров 512 часов назад
JSX Version React Echarts Wrapper 2 of 3
Porting typescript react echart component to CRA typescript. 1 of 3
Просмотров 314 часов назад
Copy option from echarts example page and verify different graphs can be produced from React Echart Implementation. Demo to show how easy it is to develop React components around existing echart library.
superset install db not working
Просмотров 14День назад
Temp video, did not wait for docker build to finish and db init didnt download the sample data. Redo video when time. Key point was to kill the db before docker compose up. Always forget and it costs me 20m to redebug the process
reactify ehart part 3
Просмотров 11День назад
Add button to add data to echart hook. Helps sort out useState variables and verify useEffect works in rerender when data is added. Simplest dumbest example to reduce complexity from superset source code.
VSCODE debugger stale closures
Просмотров 12День назад
Difference between counter with console.log and rendered display. Console.log lags one behind display state. Use debugger to show why and where the closure is.
Reactify apache echarts hooks part 1
Просмотров 8День назад
Convert JS Apache echarts into hooks. Not on any webpost
apache superset plugin debug 2/2
Просмотров 1314 дней назад
section undefined error when following apache superset plugin instructions
FEM monorepo
Просмотров 4Месяц назад
Covers 4 checkpoints 1) yarn test in packages/types and packages/utils 2) yarn lint in the test and utils subdirs, 3) lerna and scripty, running yarn test and lint from the parent dir of packages and 4) commitlint
Fork, Clone and Push Origin from github desktop to get upstream branches
Просмотров 3Месяц назад
Fork, Clone and Push Origin from github desktop to get upstream branches
simplest webpack celery task using webpack plugin in FEM contents.
Просмотров 4Месяц назад
simplest webpack celery task using webpack plugin in FEM contents.
Apache Superset Loading Data and testing JOIN syntax from open source
Просмотров 10Месяц назад
Apache Superset Loading Data and testing JOIN syntax from open source
Loading csv files, join syntax in preset.io
Просмотров 2Месяц назад
Loading csv files, join syntax in preset.io
Stop grabbing the shark and trying to swim next to it like your favorite Disney movie
This is the stale value problem mentioned in Josh's class: courses.joshwcomeau.com/joy-of-react/03-hooks/05.08-stale-values. To fix this add. // useEffect(()=>{ // console.log("useEffect count:",count) // },[count]) But the point of the video is to demo a debug tool for finding closures.
These videos use apache@4.2.1 not apache echart 5. The 5 version is completely different.
2 common errors when following the apache superset plugin instructions verbatim 1) import the newly created library with a destructure above the last plugin and make sure the spaces and formatting match exactly to prevent lint errors new SupersetPluginChartEhartLine().configure({ key: 'echart line' }), ...experimentalPlugins, 2) Uncaught runtime errors: ERROR section is undefined This error can be found from the github issue post here: github.com/apache/superset/discussions/27412 Remove from src/plugins/controlPanel.ts the sections.legacyRegularTime, line
[HPM] Error occurred while proxying request localhost:9000/ to localhost:8088/ [ECONNREFUSED] (nodejs.org/api/errors.html#errors_common_system_errors) means the docker service isnt up. they all have to be running except superset init
not worth redoing the db init and sample data install takes many minutes. Let the docker compose -f docker-compose-image-tag.yml up run for 20m until you see DEBUG:superset-stats-logger. Make sure to delete the docker volumes if corrupted or want to start over. The db data is stored on the docker db volumes
Make sure strict mode is off or you will get 2x
Jacob Doug Raja Anchoring OCSC catalina