HNHacker News
TopNewBestAskShowJobs

felixr

1,549 karma · joined April 14, 2012

submissionscomments
felixr··on Poor Man's Polaroid
You can buy a camera with an integrated thermal printer for 20$ or even less.
felixr··on AlphaGenome: AI for Better Understanding the Genome
Dupe of https://news.ycombinator.com/item?id=44387659
felixr··on Show HN: Goboscript, text-based programming language, compiles to Scratch
For a textual teaching language check out https://hedy.org It is multilingual (not just English) and introduces syntax gradually
felixr··on Show HN: Chat with 19 years of HN
I asked how much money people say they need to retire early.

In the answer:

> Median “target number” is about $401 k

So it thinks 401(k) means $401k :-)

felixr··on Tk9.0: CGo-free, cross platform GUI toolkit for Go
These are Go bindings for Tk, a cross-platform widget toolkit initially developed as extension for Tcl. Nowadays a lot of languages have bindings for Tcl/Tk. Python for example has been including tkinter [0] for a long time.

[0]: https://docs.python.org/3/library/tkinter.html

felixr··on Designing my own watch (2020)
If you look at https://www.watchrecon.com/ good get an idea what people spend on watches if they are into (collecting) watches
felixr··on Treescope: Interactive HTML visualization library for Python neural networks
"Treescope was originally developed as the pretty-printer for the Penzai"

Penzai: JAX research toolkit for building, editing, and visualizing neural nets https://news.ycombinator.com/item?id=40107007

felixr··on Eza: A modern, maintained replacement for ls
I find it strange that the README does not mention at that `eza` is a fork of `exa`.
felixr··on Ian's Shoelace Site
Same here. I always had problems with laces getting undone. Not with this knot.
felixr··on Ask HN: Vision Models to Parse UI
Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding https://arxiv.org/abs/2210.03347

https://github.com/google-research/pix2struct

felixr··on Programming with Unicon [pdf]
Also https://btiffin.users.sourceforge.net/up/unicon.html#the-uni...
felixr··on MIT Fast Code Seminar
Looks like only some of the talks have a link to slides. The links visually blend into the other link in the title column.

[edit: some of the talks also can be found elsewhere when searching for the title]

felixr··on Tldrawe – Draw on any webpage with tldraw
I think this is a great idea and is super useful if you want to add annotations for a screenshot or overlay annotations in a screen sharing session

Source code: https://github.com/nimeshnayaju/tldrawe

felixr··on Ask HN: Is there a site that is just a text scratchpad?
Using one of the many JS editors in something like codepen.io works well:

eg https://codepen.io/quill/full/KzZqZx or https://codepen.io/JessieWooten/full/wYObEX

Or one of the many online markdown editors (https://markdownlivepreview.com/, https://dillinger.io/)

felixr··on Moving Away from UUIDs (2018)
> The dash-separated hexadecimal format takes 36 characters to represent 16 bytes of data.

You can use a different formatting. I would suggest looking at https://github.com/oculus42/short-uuid Of course if you just want a random ID, then you might not need a UUID. But UUIDs have the advantage that there are different versions and you can distinguish them; e.g. you might want a unique ID that gives you some debugging information (where/when was it created), so you use v1 and later you can decide to switch to v4 if decide you want the IDs to carry no information.

Indepedent of how you generate the ID, I think the base-57 encoding that shortUUIDs use is quite good when the IDs are user facing. Not using O,0,l,1,I in the alphabet makes IDs more readable.

felixr··on How not to end up in jail with a felony
> When my job gives me a task that's hard and complicated and has lots of paperwork, I don't get to say "naw don't want to".

I would probably see it more like low priority bugs in an issue tracker. They only get done when there's nothing with higher priority or someone takes a person personal interest.

felixr··on Gaming CS Interviews
Yes. Simplest in-place example would be bubble sort. You might need a temp element for swaps, but that's it. Heap sort can also be done with constant space. You need of course O(n) space to store the original data; but that is not part of the sort algorithm.
felixr··on Gaming CS Interviews
Sorry, wasn't clear. Was talking about the space complexity. If you sort in-place you don't need O(n) space, you can do with O(1 ). Not talking about time complexity
felixr··on Gaming CS Interviews
> a sorting algorithm may take O(n log(n)) runtime which is pretty common but be able to operate on an array in-place, only requiring O(n) storage.

If it's in-place the sorting might only require constant space and it can be O(1 ) [edit: in terms of space complexity]

felixr··on Ask HN: What are some cool but obscure data structures you know about?
The SO question "What are the lesser known but useful data structures?" has a good list

https://stackoverflow.com/questions/500607/what-are-the-less...

[edit: the link above has been discussed on HN multiple times https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...]

felixr··on Software Engineering at Google (2020) [pdf]
> Software engineering within Google is painless in many of the usual sense of pains seen outside Google, but it has its own pains some quite painful pains.

https://youtu.be/3t6L-FlfeaI

felixr··on Kaitai Struct: A new way to develop parsers for binary structures
This is "made by a Googler"; that is not the same as "Made by Google".

  This is not an official Google product, it is just code that happens to be owned by Google
felixr··on PlanetScale increases plans to include billions of reads
Worth noting "rows read" is not "rows returned". If you do 1000 full table scans on table with a million rows, you got a billion reads

https://docs.planetscale.com/concepts/billing#understanding-...

felixr··on 25 Gbit/s internet as a normal customer
On how to build a router that can make use of the 25GBps: https://michael.stapelberg.ch/posts/2021-07-10-linux-25gbit-...
felixr··on NATSpeech: High Quality Text-to-Speech Implementation with HuggingFace Demo
Linda Johnson from LibriVox (https://librivox.org/reader/11049) See also https://keithito.com/LJ-Speech-Dataset/
felixr··on Can I monetize my own version of Wordle
https://arstechnica.com/gaming/2022/01/wordle-and-ip-law-wha...
felixr··on Dura is a background process that watches your Git repositories
vim had an undo tree for 10 years (or longer?) [0] and there are plugins (eg [1]) that make it very easy to go back in history and also to explore different branches of your undo/edit history. Dura will not track changes that are not saved to disk IIUC

[0]: https://vimhelp.org/undo.txt.html#undo-tree [1]: https://github.com/mbbill/undotree

felixr··on The Clean Language
Answering my own question...

From looking at https://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/co...

  - Clean used to be dual licensed: commercial license + LGPL
  - 3 years ago LGPL was replaced by Simplified BSD
  - 7 months ago the commercial license was removed
felixr··on The Clean Language
IIRC I looked at Clean 10+ years ago and it was not BSD licensed; either closed source or some restrictive license. And that made me not invest any time into trying it out.

Do I remember this correctly? Does anyone know/remember?

felixr··on Missing Girl Is Rescued After Using Hand Signal from TikTok
You are missing a '0' at the end of your first link.

It should be: https://news.ycombinator.com/item?id=29153740

Page 1 of 5Next →