Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmdlineluser
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
cmdlineluser
2y ago
There is a Spark API[1] being built using their Relational API[2]. Progress is being tracked on Github Discussions[3]. [1]: https://duckdb.org/docs/api/python/spark_api.html [2]: https://duckdb.org
2.
▲
by
cmdlineluser
2y ago
> cross product and filter `.join_where()`[1] was also added recently. [1]: https://docs.pola.rs/api/python/stable/reference/dataframe/a...
3.
▲
by
cmdlineluser
2y ago
With Polars you use `df.select()` or `df.with_columns()` which return "new" DataFrames - so you don't have mutable objects everywhere. There is an SO answer[1] by the Polars author which may have some relevance. [1]: https:&
4.
▲
by
cmdlineluser
2y ago
No vi editing mode :-( > The new REPL will not be implementing inputrc support, and consequently there won't be a vi editing mode. https://github.com/python/cpython/issues/118840#issuecomment...
5.
▲
by
cmdlineluser
2y ago
Their "keep ruby weird" quine is my favourite: https://www.youtube.com/watch?v=IgF75PjxHHA %q!.!;eval$s=%q{eval(%w{$s=("%q!.!;eval$s=%q{#$s}"+'.gsub(/#{27.chr<<92<<91}[0-9]+m&#x
6.
▲
by
cmdlineluser
2y ago
The last I read, the Spark API was to become the focus point. https://duckdb.org/docs/api/python/spark_api Not sure what the current status is. ref: https://github.com/duckdb/duckdb/
7.
▲
by
cmdlineluser
3y ago
Does it fail on nightly? There were some recent fixes: https://github.com/duckdb/duckdb/issues/10737
8.
▲
by
cmdlineluser
3y ago
Are you talking about the 2nd table in the Benchmark section? It seems they are not running against the full dataset: > Moving on to the 100 million file to see if size makes a difference. ggplot2::autoplot(reorderMicrobenchmarkResul
9.
▲
by
cmdlineluser
3y ago
Nice article. In Python, I have been finding Polars nicer to use: (purchases .filter(pl.col("amount") <= pl.col("amount").median().over("country") * 10) .group_by("country") .agg
10.
▲
by
cmdlineluser
3y ago
I'm sorry but BeautifulSoup is not just a wrapper over lxml. lxml even has a module for using beautifulsoup's parser. > lxml can make use of BeautifulSoup as a parser backend https://lxml.de/elementsoup.html &g
11.
▲
DuckDB 0.10.0
(duckdb.org)
35 points
by
cmdlineluser
3y ago
|
1 comments
12.
▲
by
cmdlineluser
3y ago
DuckDB does this. https://duckdb.org/2023/08/23/even-friendlier-sql.html#from-...
13.
▲
by
cmdlineluser
3y ago
The main repo page data is still there, but it's now embedded inside some JSON: <react-partial partial-name="repos-overview" data-ssr="false" > <script type="application&#
14.
▲
by
cmdlineluser
3y ago
Do you mean something like `.agg(pl.col("foo").diff())`? Or is diff aggregation its own thing? (I tried searching for the term, but didn't find much.)
15.
▲
by
cmdlineluser
3y ago
There seem to be a few articles about it now: https://www.washingtonpost.com/nation/2023/12/06/x-files-son... An update from one of the songwriters: https://www.joneshouseband.com/about-2
16.
▲
by
cmdlineluser
3y ago
You can add `/embed` to the end of the URL (although it doesn't show replies/etc)
17.
▲
by
cmdlineluser
3y ago
There's also `atlas` that was released with Nim 2.0. http://nim-lang.github.io/Nim/atlas.html
18.
▲
by
cmdlineluser
3y ago
Nice :-D Do you happen to know what happened to this thread? (I recall reading a previous post of yours about tracking HN positions?) I also asked as a top-level comment: https://news.ycombinator.com/item?id=38304938
19.
▲
by
cmdlineluser
3y ago
Does anybody know why this thread appears to have just vanished? It was on page 2 a moment ago, and now it's not listed anywhere (pages 1-14)
20.
▲
by
cmdlineluser
3y ago
It's "interesting". https://news.ycombinator.com/item?id=34772367
21.
▲
by
cmdlineluser
3y ago
Looks like somebody requested it after reading your TIL. https://github.com/pola-rs/polars/issues/12493#issuecomment-... It will be in the next release. (later today?)
22.
▲
by
cmdlineluser
3y ago
Not sure if it would be considered simpler but lookaheads can be used to express it in a single pattern. ^(?=.{8}k.$)(?=[^a]*a[^a]*$)(?=[^b]*b[^b]*$)(?=[^c]*c[^c]*$)
23.
▲
by
cmdlineluser
3y ago
Looks similar to Solarized Dark. https://github.com/altercation/solarized
24.
▲
by
cmdlineluser
3y ago
httpbeast[1] reached #6 at one point, but I think the author is busy with other things nowadays. https://www.techempower.com/benchmarks/#section=data-r18&hw=... [1] https://github.com/dom96/htt
25.
▲
by
cmdlineluser
3y ago
Add `/embed` to the end of the URL.
26.
▲
by
cmdlineluser
4y ago
Perhaps a `DictWriter` would simplify things: import csv import sys filename = "example.csv" sort_by = "index" reverse = True with open(filename, newline="") as f: re
27.
▲
DuckDB: Querying JSON files as if they were tables
(duckdb.org)
294 points
by
cmdlineluser
4y ago
|
80 comments
28.
▲
by
cmdlineluser
4y ago
Many of the previous duckdb threads have comments advertising Clickhouse features. This was #1 before disappearing and now the current #1 is a blog post about Clickhouse.
29.
▲
What is new in Perl v5.36?
(perldoc.perl.org)
3 points
by
cmdlineluser
4y ago
|
0 comments
30.
▲
Show HN: An (attempted) TUI Wordle clone for bash
(github.com)
3 points
by
cmdlineluser
5y ago
|
0 comments
More ›