HackerTrans
TopNewTrendsCommentsPastAskShowJobs

xtreak29

no profile record

Submissions

AI usage in popular open source projects

tirkarthi.github.io
1 points·by xtreak29·قبل 5 أشهر·0 comments

Generative AI and Healthy Skepticism

tirkarthi.github.io
1 points·by xtreak29·قبل 11 شهرًا·2 comments

Apache Airflow 3.0 Release

airflow.apache.org
19 points·by xtreak29·السنة الماضية·2 comments

Apache Airflow 2.10.0 is here

airflow.apache.org
1 points·by xtreak29·قبل سنتين·0 comments

Apache Airflow 2.9.0 Release

airflow.apache.org
2 points·by xtreak29·قبل سنتين·0 comments

Show HN: An open source dictionary app to show meanings as notifications

play.google.com
2 points·by xtreak29·قبل 3 سنوات·0 comments

New JSON query operators in SQLite 3.38.0

tirkarthi.github.io
397 points·by xtreak29·قبل 4 سنوات·33 comments

comments

xtreak29
·قبل شهرين·discuss
Bun is moving towards rust but does this also help bun's compilation times?

https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...
xtreak29
·قبل 5 أشهر·discuss
Reviewing code was also a big bottleneck. With lot more untested code where authors don't care about reviewing their own code it will take even more toll on open source maintainers. Code quality between side projects and open source projects are different. Ensuring good code quality enables long term maintenance for open source projects that have to support the feature through the years as a compatibility promise.
xtreak29
·قبل 4 سنوات·discuss
https://stackoverflow.com/q/3177338
xtreak29
·قبل 4 سنوات·discuss
There seems to be an issue open for this https://github.com/simsong/tcpflow/issues/58
xtreak29
·قبل 4 سنوات·discuss
Does aioboto3 help here?

https://aioboto3.readthedocs.io/en/latest/usage.html#upload
xtreak29
·قبل 4 سنوات·discuss
Some breakdown and comparison over the years https://meta.m.wikimedia.org/wiki/Wikimedia_Foundation_salar...
xtreak29
·قبل 4 سنوات·discuss
https://streamlit.io/ is good for quick interfaces with components.
xtreak29
·قبل 4 سنوات·discuss
You can get top PyPI package source using https://github.com/hugovk/pypi-tools/blob/main/repo_checker....

https://github.com/hugovk/pypi-tools

https://github.com/hugovk/pypistats
xtreak29
·قبل 4 سنوات·discuss
Probably a reference to https://news.ycombinator.com/item?id=32531141
xtreak29
·قبل 4 سنوات·discuss
Some discussion on this in PostgREST repo

https://github.com/PostgREST/postgrest/issues/1214
xtreak29
·قبل 4 سنوات·discuss
I used rewriting as a learning experience. I found flutter to be simpler with respect to UI and state management compared to using XML by default for UI. Since mine was a crud app flutter was okay. I later found jetpack compose which has flutter like UI composition and I liked it better since I can access the existing Android library ecosystem too.
xtreak29
·قبل 4 سنوات·discuss
I too wrote a similar app for my personal problem and also served to be a good way to learn about kotlin and Android ecosystem. I also tried a rewrite in flutter and compose. The idea was to use select the word and then click meaning from context menu so that meaning occurs as notification and disappears in 15 seconds. I used Wiktionary as dataset source and app works offline.

https://play.google.com/store/apps/details?id=com.xtreak.not...

https://github.com/tirkarthi/NotificationDictionary
xtreak29
·قبل 4 سنوات·discuss
GitHub repo : https://github.com/readysettech/readyset
xtreak29
·قبل 4 سنوات·discuss
There was a similar PEP https://peps.python.org/pep-0505/
xtreak29
·قبل 4 سنوات·discuss
If you have the openapi spec then tools like below might help

https://dev.to/danielgtaylor/a-cli-for-rest-apis-part-1-104b https://github.com/danielgtaylor/restish https://github.com/danielgtaylor/openapi-cli-generator https://github.com/OpenAPITools/openapi-generator
xtreak29
·قبل 4 سنوات·discuss
Thanks, your sqlite-utils and other libraries have been very helpful.
xtreak29
·قبل 4 سنوات·discuss
Discussion: https://sqlite.org/forum/forumpost/d61880668db1a8f4
xtreak29
·قبل 4 سنوات·discuss
Thanks
xtreak29
·قبل 4 سنوات·discuss
In case of PostgreSQL there is json and jsonb. For SQLite, hexdump of the database shows text representation and seems to be stored like json than jsonb. I am not aware of the full design and source code but it seems some functions parse and cache the JSON representation.

https://github.com/sqlite/sqlite/blob/a0318fd7b4fbedbce74f13...

https://www.postgresql.org/docs/current/datatype-json.html

> The json and jsonb data types accept almost identical sets of values as input. The major practical difference is one of efficiency. The json data type stores an exact copy of the input text, which processing functions must reparse on each execution; while jsonb data is stored in a decomposed binary format that makes it slightly slower to input due to added conversion overhead, but significantly faster to process, since no reparsing is needed. jsonb also supports indexing, which can be a significant advantage.
xtreak29
·قبل 4 سنوات·discuss
It seems readfile is from an extension but present in cli. json_each is present in standard sqlite core from 3.38.0 as json1 extension is also now part of core.

json_each : https://www.sqlite.org/json1.html#jeach

readfile : https://sqlite.org/cli.html#file_i_o_functions

> Note that the readfile(X) and writefile(X,Y) functions are extension functions and are not built into the core SQLite library. These routines are available as a loadable extension in the ext/misc/fileio.c source file in the SQLite source code repositories.