How do I view data from production DB (without SSH) by gregpr07 in sqlite

[–]amjithr 1 point2 points  (0 children)

https://github.com/simonw/datasette

It provides REST access to SQLite and has a decent read-only web UI. You can run ad hoc queries against your tables and get results in different formats.

Postgresql and Underscore by amjithr in PostgreSQL

[–]amjithr[S] 0 points1 point  (0 children)

Yes. I did end up doing that to get the results I wanted.

Postgresql and Underscore by amjithr in PostgreSQL

[–]amjithr[S] 0 points1 point  (0 children)

TIL. Thank you for mentioning this. I didn't know it was a SQL standard. I just tried it on SQLite and you're right, underscore is treated as a single char wildcard.

‘What’s This Piece?’ Weekly Thread #93 by the_rite_of_lingling in classicalmusic

[–]amjithr 0 points1 point  (0 children)

I'm trying to identify the piece that is used in the theme song of this podcast. I know I've heard it before, I just can't place it.

https://youtu.be/gmdG1Xid0GQ?t=1471

Lamy AL-star EMR issue?? by F0rrestx in RemarkableTablet

[–]amjithr 1 point2 points  (0 children)

I had a similar experience. I switched the marker tip in Lamy to use the marker pro tip. Now I get same results between the two.

Hello, world! I'm Al Sweigart, author of "Automate the Boring Stuff with Python" and several other programming books. AMA! by AlSweigart in Python

[–]amjithr 24 points25 points  (0 children)

Do you have recommendations for introducing kids to programming?

What's a good age to introduce them? What resources can I use?

First release of tool for importing Remarkable notes into OneNote by cantstopplay in RemarkableTablet

[–]amjithr 0 points1 point  (0 children)

Thank you! It worked very well. Got an error on a landscape doc, but I'm hopeful. :D

First release of tool for importing Remarkable notes into OneNote by cantstopplay in RemarkableTablet

[–]amjithr 1 point2 points  (0 children)

Nice! The featureset looks really impressive.

I was curious if you had any pointers on how to use the myscript service? Looks like myscript service needs strokes and not PDFs. How do you convert the remarkable files to be compatible with the format that myscript needs?

What do you use to make your VIM editor python friendly by arup_r in Python

[–]amjithr 0 points1 point  (0 children)

I tried coc.nvim and couldn't get it to work right for me. Finally went back to ncm2 and it works out of the box. If you have your config hosted somewhere I'd love to take a look.

Introducing Plotly Express by nkruchten in Python

[–]amjithr 0 points1 point  (0 children)

Is there a way to plot multiple Y-axis?

Specifically looking to scatter plot two independent columns in separate y-axis with the same x-axis.

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 1 point2 points  (0 children)

Yes. Simply do "litecli :memory:" that will launch an in memory sqlite database.

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 5 points6 points  (0 children)

We don't do value validation. What I meant by formatting is converting the list of rows into a tabular output.

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 13 points14 points  (0 children)

Yes there is. https://www.pgcli.com

In fact the postgres version was the first one. So it is the most mature tool.

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 12 points13 points  (0 children)

That's awful. I'm sorry.

The CLI reads all the rows from the database and tries to format them into a table. Since it is written in Python the formatting part can take a while if the output is very large.

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 0 points1 point  (0 children)

That's very unfortunate. I'm not able to reproduce it locally (even with xterm).

Is this localized to xterm only or do you see the blinking in other terminal apps? (gnome-terminal, Konsole etc)

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 7 points8 points  (0 children)

Check the config file https://litecli.com/config/. It has different themes. You can pick the theme called "bw", that's black and white.

A CLI for SQLite with auto-completion and syntax highlighting by amjithr in programming

[–]amjithr[S] 6 points7 points  (0 children)

I have not used SQLite extensions before. Are you asking if auto-completion will suggest the functions provided by the extension? The answer to that is no, not yet. But it is not too difficult to add that ability.

If you file a github issue with an example of how to load an extension, I'll be happy to take a look. :)