News for hackers. Stuff that matters.

dpayne

It is kind of funny that the top Wordle game on iOS is not owned by the NYT. https://apps.apple.com/us/app/wordle/id1095569891
Re:Show HN: Neovim Plugin for ChatGPT on Wednesday March 08, 2023 @01:39PM (#35072993)
I still use copilot as my main completion tool. I found ChatGPT to be too slow and expensive to use for tab complete level of usage, but it works really well for larger things (e.g. refactor X to do Y, or write unit tests).

You can get your API key here https://platform.openai.com/account/api-keys.

Re:AVX-512, what’s useful for us on Saturday December 23, 2017 @01:23AM (#15993171)
One way I've found to isolate this is to turn off turbo boost and underclock the cpu, while making sure the avx offset is set to 100%. While you would never want to run a production system like this, it does help to eliminate any issues with cpu throttling. If the avx-512 version of the program still runs slower then something else is interfering besides cpu throttling.
Re:Should gifted students go to a separate school? on Wednesday January 25, 2017 @01:37PM (#13484392)
There are many high schools like this in the U.S. that are state funded, both in very liberal and very conservative states.
Re:Surprises in GopherJS Performance on Tuesday September 29, 2015 @05:14PM (#10299676)
Recompiling without fastmath gives the same answer as the article "3.1415926545880506".

  mac >> clang++ -O3 -march=native main.cpp
  mac >> ./a.out
  3.1415926545880506
  total time taken is: 4.3861569999999999s
Twice as slow as the fastmath version but still faster than the go version.
Re:Surprises in GopherJS Performance on Tuesday September 29, 2015 @03:11PM (#10298732)
Great article on the complexities of investigating performance issues! Another very interesting surprise is when I run this locally on my macbook, clang is much faster

  mac >> go run main.go
  approximating pi with 1000000000 iterations.
  3.1415926545880506
  total time taken is: 9.706911232s

  mac >> clang++ -O3 -ffast-math -march=native main.cpp
  mac >> ./a.out
  3.1415926545864963
  total time taken is: 2.14196s
Re:Perfect Hashes and faster than memcmp on Wednesday March 18, 2015 @10:15PM (#9229868)
One caveat of perfect hash functions, including CMPH, is that for a very large amount of keys the data structs they use internally become very large. In the case of CMPH when I tried with around 30 million keys the result was several MBs which caused it to not fit in L3 cache. For large dictionaries, hash functions like xxhash and farmhash are usually a better option than the perfect hash functions.
Re:Quine Relay on Monday July 15, 2013 @08:13PM (#6049328)
Here's another one of his projects where you can write ruby script using just underscores. https://github.com/mame/_
Re:Relative Line Numbers in Vim on Monday June 03, 2013 @04:40AM (#5812072)
spf13 is a great plugin bundle for vim that got me started using relative line numbering. It's great for the lazy person who doesn't want to bother setting up all the fancy vim plugins and settings.

https://github.com/spf13/spf13-vim

Re:Senate passes “online sales tax” by 74-20 vote on Tuesday April 23, 2013 @05:30AM (#5594134)
Meh, I knew the days of tax free internet purchases would end some day.
Re:GitHub Enterprise on Wednesday December 05, 2012 @07:14PM (#4879476)
Looks great, but the price is exorbitantly high for a large number of users :(