Hacker News new | past | comments | ask | show | jobs | submit | more taskylizard's favorites login

Some really weird product decisions this year. E.g. they are also hellbent on showing me "shorts" in my search results. I can't think of a single occasion lately when I didn't want to see the full description and comments and they make it hard to get directly to the video. Worse still they are applying this "shorts" concept retrospectively to any video that happens to be short in length, meaning I get videos that were never intended for that format by the creator.

Fortunately this bookmarklet (which i've named "eat my shorts" in my bookmarks) does the job:

  javascript:(function()%7Bwindow.location.href %3D window.location.href.replace(%2Fshorts%5C%2F(.*)%2F%2C "watch%3Fv%3D%241")%7D)()
raw:

  window.location.href = window.location.href.replace(/shorts\/(.*)/, "watch?v=$1")

If we're going minimal, then why not Finger as a Twitter replacement?

https://en.wikipedia.org/wiki/Finger_(protocol)

Finger communities/hosting:

https://finger.farm/

https://happynetbox.com/

https://plan.cat/ (thank you gbrown for reminding me of this)

browsers that support finger (in addition to other protocols such as Gopher and Gemini):

https://kristall.random-projects.net/

https://gmi.skyjake.fi/lagrange/


Python can be fast if you don't intentionally cripple it. Doing the following will be most likely a lot faster than postgresml:

- replace json (storing data as strings? really?) with a binary format like protobuf, or better yet parquet

- replace redis with duckdb for zero-copy reads

- replace pandas with polars for faster transformations

- use asynchronous, modern web framework for microservices like fastAPI

- Tune xgboost CPU resource usage with semaphores


Very nice! For something quick and dirty (and `apt-get install`able), I usually use jq+fzf like this: https://gist.github.com/reegnz/b9e40993d410b75c2d866441add2c...

If 1kb websites interst you, check out the https://js1k.com that has awesome Javascript demos within 1kb!

If you want to generate a Crystal SDK for REST APIs, please give OpenAPI Generator [1] a try. Here are 3 simple steps to do so: https://forum.crystal-lang.org/t/crystal-api-client-generato....

Hopefully this will save you some time in manually creating the API clients in Crystal.

[1] https://openapi-generator.tech/


Just migrated in bulk from Authy to Aegis Authenticator (open-source with encryption and automatic backups/exports).

Instructions:

https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d...

Aegis-specific export:

https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d...


XKPasswd is the best tool to generate a strong memorable password imo.

https://xkpasswd.net/s/


> With Yarn Workspaces, installing packages across workspaces becomes faster and lighter. Additionally, it prevents package duplication across workspaces and also makes it possible to create links between directories that depend on each other, ensuring that all directories are consistent in the monorepo.

Nice that they included a footnote about pnpm. Makes me want to write a counter article about using pnpm instead. pnpm is faster than yarn 1 (variable with yarn 2, depending on use) and workspaces are just easier. Lest we forget hoisting and dependency dedupe, which is far and away superior with pnpm.

My pnpm + TS setup is as follows:

- /shared/ directory at root that contains tsconfig.base.json, tsconfig.eslint.json, tsconfig.json (which is only symlinked to, has relative settings for the directories it's linked into)

- tsconfig.json at the root, extending shared/tsconfig.base.json, including all things that an editor might care about

- /packages/ (or /services/) at the root

- /packages/{package}/tsconfig.json -> symlinked to -> /shared/tsconfig.json

This setup allows various editors to validate code in any directory that might have TS (and JS!), editor plugins that use ESLint to have a TS config reference, and allows deployment and/or build processes to operate on individual entities in packages|services without having to build the world. Note that this isn't ideal in monorepos where you want to build the world. In monorepos where I have packages and services, for example, and the services are dependent on the packages build built, I leverage pnpm's recursive script ability with filtering to build some of the world, but not all.

(Happy to answer questions on pnpm monorepos)


It is just two clicks away: https://s-macke.github.io/FSHistory/

This stuff has got SO MUCH better over the past few years.

The hardest thing about it these days is mainly that there are so many historical artifacts, so if you're trying to figure out how to use packaging there are a lot of outdated resources.

Modern Python packages are really pleasant to work with. Here's the best current tutorial that I've seen: https://packaging.python.org/en/latest/tutorials/packaging-p...


I collect these novelty CSS things for fun! here https://github.com/sw-yx/spark-joy/blob/master/README.md#fun...

- [NES.css](https://github.com/nostalgic-css/NES.css): NES.css is a NES-style(8bit-like) CSS Framework.

- [PSone.css](https://github.com/micah5/PSone.css): PS1 style CSS Framework, inspired by NES.css.

- [LaTeX.css](https://latex.now.sh/)

- Operating System CSS

  - [98.css](https://github.com/jdan/98.css): A Windows 98 inspired framework for building faithful recreations of old UIs.

    - [Office 97 clipart in svg format](https://archive.org/details/mso97clipart)

  - [XP.css](https://github.com/botoxparty/XP.css): A Windows XP inspired framework for building faithful recreations of operating system GUIs. An extension of 98.css.

  - [7.css](https://khang-nd.github.io/7.css/)

  - [System.css](https://sakofchit.github.io/system.css/) Retro Apple-inspired UI

  - [Commodore 64 CSS](http://pixelambacht.nl/2013/css3-c64/)

  - DOS: [BOOTSTRA.386](https://github.com/kristopolous/BOOTSTRA.386): A vintage 1980s DOS inspired Twitter Bootstrap theme
- [Text UI CSS](https://github.com/vinibiavatti1/TuiCss): bios like UI's

- [New Dawn](https://github.com/npjg/new-dawn): A mac classic After Dark inspired stylesheet.

- [Geocities Bootstrap theme](https://code.divshot.com/geo-bootstrap/)

- more https://dev.to/iainfreestone/10-resources-for-recreating-old...



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: