Live data from Hacker News

Ask HN: What did you learn last week?

news.ycombinator.com

1–10 of 55 posts

Re: Ask HN: What did you learn last week?

#3
For tech things that I learn and want not to "forget" I create a snippet here: https://www.codrut.pro/snippets/

Last week was:

- Git refined diff output: https://www.codrut.pro/snippets/git-refined-diff-output/

- Test for Emacs compiler warnings: https://www.codrut.pro/snippets/test-for-emacs-compiler-warn...

Re: Ask HN: What did you learn last week?

#6
The special software we're using for automation in the print industry switched to TypeScript with the last major release.

I finally found the time to get into that and wrote my first two scripts with TypeScript and the overall new system to do scripting.

Still struggling with the finer bits, but access to npm et al. really helps with getting done what needs to be done without reinventing the wheel.

Re: Ask HN: What did you learn last week?

#8
I've been trying to learn how to properly use Twitter to market my startup, and I found out that hashtags are better than cashtags when tweeting about stocks. That is, #AAPL is better than $AAPL.

This is the reverse of what I had expected because there seems to be vastly more people using cashtags but my theory is that 1) people still search for hashtags and 2) more volume means your tweet is visible for less time.

However, the best is obviously mixing them. I have a thread during premarket trading hours where I discuss stocks that the algorithm has decided is interesting and I'll print out the current score using hashtags, but use cashtags for quick discussion on stocks.

Example here: https://twitter.com/0xsmcn/status/1568155410191851521

Re: Ask HN: What did you learn last week?

#9
I learned that Stable Diffusion can read! It's called a "typographic attack". https://www.theguardian.com/technology/2021/mar/08/typograph...

For example, this site lets you create variations on an image that you upload: https://47725.gradio.app/

Feed it an image of text (type text in a paint program and save as PNG), and it seems to understand some words. https://i.imgur.com/aXELmHo.png

Re: Ask HN: What did you learn last week?

#10
I've been learning a lot, fast, by trying to build out the same (very simple) full-stack web application in using different frameworks. Different backends, different frontends and different databases. Admittedly, I've been doing this for slightly more than one week. It's been a lot of fun, I must admit. It's interesting to see the different quality levels in documentation, availability of help on StackOverflow, and tooling.

I'm not approaching it with any real goal other than to see how some other frameworks work but it feels very worthwhile.

Post reply on HN