Better HN
topnewbestaskshowjobs
Log inSign up

kfrane

55 karma · joined Sep 28, 2014 (12y ago) · 18 submissions

Submissions

comment 5mo ago · link · parent

When I see that, my first thought is that there are a bunch of features missing from the original.

comment 10mo ago · link · parent

That's a beautiful writing style. Feels like there's some Anthony Bourdain in it :)

comment 1y ago · link · parent

From my experience with billing systems it is usually not possible to refund a transaction after 6 or 12 months.

comment 1y ago · link · parent

Typing speed might not seem that important if you're looking at the speed of typing and the overall amount of code that an engineer produces that ends up in a PR. But it might take 10x more code that are ephemeral versions that lead up to the full solution. If you're very comfortable with typing and editor commands to manipulate code efficiently then you can iterate faster, creating more intermediate versions of the code that then lead to better overall solutions just because you've tried out more stuff.

comment 1y ago · link · parent

If I understand that correctly, it would mean that running a function like this on two threads f(1) and f(2) would produce a list of 1 and 2 without interleaving.

  def f(x):
      for _ in range(N):
          l.append(x)
I've tried it out and they start interleaving when N is set to 1000000.

comment 1y ago · link · parent

I migrated from gmail to proton then to fastmail and I can now really appreciate how much more polished gmail was. My biggest pain is fastmail's ios app, e.g. clicking on an email notification will in 50% of cases result in fastmail's app to open in an unresponsive state where I have to forcefully quit the app and start again. It's been like that for close to two years now.

comment 2y ago · link · parent

It's a bootstrapped business, no investors/board.

comment 2y ago · link · parent

I was a bit confused when looking at the English example for Chain-Of-Thought. It seems that the prompt is a bit messed up because the whole statement is bolded but it seems that only "appetite regulation is a field of staggering complexity" part should be bolded. Also that's how it shows up in the o1-preview response when you open the Chain of thought section.

comment 2y ago · link · parent

Thank you! I almost gave up because there was a lot of formatting issues when sending epub3 or kindle versions to my Kindle using Calibre. What saved me was using epub3 format and sending it through Send-To-Kindle. Now it looks terrific.

comment 2y ago · link · parent

The only other person I remember doing that is https://en.m.wikipedia.org/wiki/John_Walker_(programmer)

Btw. he published a great read on how they started Autodesk https://www.fourmilab.ch/autofile/e5/

comment 2y ago · link · parent

That's why I always write a BEGIN statement before executing updates and deletes. If they are not instant or don't return the expected number of modified rows I can just rollback the transaction.

comment 3y ago · link · parent

One more that I've heard just recently: "If your code is just juggling with pointers/references, it is likely that it isn't doing much useful. It is only when it starts dealing with actual values that it is starting to do something useful."

comment 3y ago · link · parent

Hooks are a step in the right direction, I just have a feeling that having to wrap in useCallback and useMemo and having to add dependencies manually can't be the final step of web app development. I look into the author's suggestions for the next generation of hook api in other libraries. However, I still don't want to rely on those libraries in large long living projects.

comment 3y ago · link · parent

Nobody will, at least if there's any truth in this article

comment 3y ago · link · parent

I'm not sure, it might be. If you're not careful, CPU can become bottleneck when you have a 10Gbit network card.

comment 4y ago · link · parent

It's not a proof but I really enjoyed Zizek's thoughts on how fight against smoking is an ideology :) https://www.youtube.com/watch?v=r238kp3ar_A

comment 5y ago · link · parent

You're right about wasm not being too complicated, I've learned this when watching David Beazley coding a WebAssembly interpreter in under an hour. And it doesn't require any knowledge about it beforehand.

https://www.youtube.com/watch?v=r-A78RgMhZU

comment 5y ago · link · parent

I've found a very interesting result in one of the papers[1] they linked in the article. The group of people with the highest phone dependence have the highest available cognitive capacity score when they leave their phone in another room (see Figure 3. Experiment 2).

Somewhat absurdly, this would suggest that the best strategy would be to get hooked on notifications and then consciously leaving your phone in another room when you need to work/focus.

[1] https://repositories.lib.utexas.edu/bitstream/handle/2152/64...