@gar@gerardbentley.com

@GarsBar35Plus

As Bill & Ted say: "Be excellent to each other!" ; Somewhere between Gen Z, Millennial, and Very Confused 🚀💻🥏 @[email protected]

Washington Katılım Mart 2020
175 Takip Edilen102 Takipçiler
@[email protected] retweetledi
Steven Tey
Steven Tey@steventey·
TIL you can turn any website into an editable canvas with just a simple command in the console: document.designMode = 'on'
English
27
231
2.2K
289.1K
boris
boris@boristane·
wait, am I reading this right? and the comments agree? I'm truly confused so to delete an item you make a POST to /resource/id/delete ? or do you make a POST to /resource/id with body { action: 'delete' } what is this?
Matthew Phillips@matthewcp

Unpopular opinion: Don't use http verbs PUT, PATCH, DELETE. Just use POST for everything. Reasons: - <form> doesn't support the others. Frameworks that allow it do so through hacks. - URLs are free, you don't gain anything by overloading them. - Purity < practicality

English
128
8
288
158.8K
@gar@gerardbentley.com
@[email protected]@GarsBar35Plus·
Great updates and additional content in 2nd edition. Project based learning on a variety of fun topics (🐧!). Deploy your apps and adapt them to your own interests! Stoked to be a part of it, great work @tylerjrichards !
Tyler Richards@tylerjrichards

Today is the day!! The 2nd edition of Streamlit for Data Science is officially launched. I've used @streamlit basically every day since the 1st edition came out, and i'm so pumped to put all the lessons on paper.

English
0
2
4
349
@[email protected] retweetledi
Tyler Richards
Tyler Richards@tylerjrichards·
Today i'm releasing 🥟 st-paywall, a @streamlit component that lets you build subscription Streamlit apps. Just run pip install st-paywall, add your Google+Stripe keys, add add_auth() to your app, and you've got a subscription Streamlit! github.com/tylerjrichards…
English
4
13
57
7K
@gar@gerardbentley.com
@[email protected]@GarsBar35Plus·
@minimaxir I like the simpleaichat cli so far. Very little friction having a random terminal open with a running chat
English
0
0
1
89
Max Woolf
Max Woolf@minimaxir·
The Problem With LangChain
Max Woolf tweet media
English
135
224
1.9K
1.1M
@[email protected] retweetledi
Alex Monahan
Alex Monahan@__AlexMonahan__·
Larger than RAM group bys have landed in @DuckDB's master branch! This means that now every operator in DuckDB can handle larger than memory intermediates. So the max data a single node can handle is the size of your SSD, not RAM! #issuecomment-1620424908" target="_blank" rel="nofollow noopener">github.com/duckdb/duckdb/…
English
5
37
225
24.1K
@gar@gerardbentley.com
@[email protected]@GarsBar35Plus·
@FranckPachot @duckdb @PostgreSQL Great examples of other ways to write this query! I’m getting worse performance with the window function on Postgres even with indices on the 100k example. (DuckDB scan stayed constant) Fair nit-pick on the “CTE” definition
English
1
0
1
87
Franck Pachot
Franck Pachot@FranckPachot·
@GarsBar35Plus @duckdb @PostgreSQL -- Real life tables have primary keys. Try: alter table students add primary key (id); alter table exams add primary key (sid,id); vacuum analyze; -- I see no CTE but correlated vs non-correlated subquery -- Analytics in SQL should use window functions 👉dbfiddle.uk/wLZ4H496
English
1
0
2
326
@gar@gerardbentley.com
@[email protected]@GarsBar35Plus·
@ghalimi Are you looking for historical climatology at each location / date or historical observations? Looks like a fun exploration!
English
1
0
1
40
Ismael Ghalimi
Ismael Ghalimi@ghalimi·
After a bit of work, we managed to get time series for weekly average temperatures in 2012, but only for 1,286 stores out of 5,182 stores. Bottomline: we need a better dataset of historical temperatures.
Ismael Ghalimi tweet media
English
1
0
0
110
Ismael Ghalimi
Ismael Ghalimi@ghalimi·
We are now ready to match stores using temperatures. For that, we need a dataset of daily temperatures, and the Global Historical Climatology will be perfect for that. ncei.noaa.gov/products/land-…
English
1
0
0
452
@gar@gerardbentley.com
@[email protected]@GarsBar35Plus·
@__AlexMonahan__ @TheRockstarDBA This is spicy! I’m trying out the first query from the paper with 100k students. Preliminary results: duck db scanning pg: 1.4 s duck db cached: 0.26 s Pg: still running
English
0
0
1
22
Alex Monahan
Alex Monahan@__AlexMonahan__·
@TheRockstarDBA Yes! Everything except the reading of the original data is processed in DuckDB, so this algorithm would be used!
English
1
0
1
132
Alex Monahan
Alex Monahan@__AlexMonahan__·
With DuckDB, even correlated subqueries are lightning fast! One benchmark runs in 0.06 seconds with DuckDB vs. over 48 *hours* in Postgres! Think of correlated subqueries as parameterized subqueries! Use aggregates for filtering, ex: show me all orders from my top 10 customers.
DuckDB@duckdb

New blog post by @mraasveldt: Correlated Subqueries in SQL duckdb.org/2023/05/26/cor…

English
4
5
39
6.4K
Fanilo Andrianasolo
Fanilo Andrianasolo@andfanilo·
Ok, I admit, building a @streamlit app to query and summarize multiple 100 pages (public) PDF documents with @langchain in less than 5mn is a great feeling🤩 Now into the devilish details, like what if those documents are in multiple languages, tables in PDF, images in pages
Fanilo Andrianasolo tweet media
English
11
26
253
57.3K
@gar@gerardbentley.com
@[email protected]@GarsBar35Plus·
@zahnster we've got backends for frontends and now frontends for frontends! what a time to be alive!
English
0
0
1
71