Better HN
topnewbestaskshowjobs
Log inSign up

hexomancer

2,360 karma · joined Jul 25, 2016 (10y ago) · 294 submissions

a.hr.mostafavi@gmail.com
Submissions

31.

Voil: Supercharged file editing in VS Code [video](youtube.com ↗)

2 points · by hexomancer · 1y ago · 1 comment

comment 1y ago · link · parent

Yeah, I can’t believe this is a serious website made by a multi million dollar company. It looks like something I would have designed when I was 10.

33.

Show HN: Drop-in replacement for QLineEdit and QTextEdit with Vim keybindings(github.com ↗)

3 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

Something never thought I would say: google AI previews. They actually helped me a lot during Iran's internet shutdown last week. I wrote a blog post about it: https://ahrm.github.io/jekyll/update/2025/06/20/iran-interne... .

35.

Google AI previews helped me in Iran's internet shutdown of 2025(ahrm.github.io ↗)

3 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

What’s the alternative? Live under the delusional islamic theocratic dictatorship forever? If you think the islamic republic can be replaced through peaceful protests you have another thing coming, they have already killed thousands of protestors and they have no problem killing because they actually believe they are doing god’s work and the protestors are infidels that deserve to die.

I take my chances for a probable dysfunctional government rather than a definitely dysfunctional one.

comment 1y ago · link · parent

I have no idea but I sure hope so.

comment 1y ago · link · parent

Iranian here. Most Iranians use Telegram or Whatsapp, both of which are blocked right now and can only be used using VPNs (they have been blocked for years, though whatsapp was unblocked a few months ago, but it is blocked again after the Israel attack). I don't think many Iranians believe, or care about what the regime says, though there is a small minority of regime supporters that might, but they probably were not using whatsapp to begin with.

Though I must say, the regime itself seems to really believe this, for example there was some news that high-ranking officials are now banned from using electronic devices that connect to the internet like mobile phones.

39.

Show HN: Visualize nested list properties in the CodeLLDB debugger(github.com ↗)

2 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

Yes, every token is expanded into a vector that can be many thousand of dimensions. The vectors are stored for every token and every layer.

You absolutely can not fill even a single research paper in 2 GB much less an entire book.

comment 1y ago · link · parent

Here are some objective issues with this page that I don't think is really up to taste (honestly these are so obvious that I assume you viewed the website on mobile which is fair, I never used the mobile version. Because I don't think anyone in good conscience would argue with the terribleness of the desktop version of the website). Note that I will not include many taste-based issues with the website (like the god-awful mouse cursor) because they could be attributed to taste. The following issues are objective issues though:

- Low performance. Because the website steals cursor rendering, moving the cursor feels bad and laggy. - The icon for the "menu" looks exactly like the mouse cursor. I don't think this constitutes good design.

- Also the icon for the menu doesn't look like the extremely established menu icon (even though it changes to that when you hover over it). Initially I th ought maybe it is a dark/light mode toggle.

- Speaking of the dark mode, the page flashbangs you halfway through scrolling the page for absolutely no reason.

- The link texts are borderline unreadable in the "light" section of the page when you hover over them.

comment 1y ago · link · parent

It's funny that the people who designed this monstrosity of a web page feel qualified enough to advice other people about design.

comment 1y ago · link · parent

This is false. The const of producing a single token is linear but the cost of producing an entire sequence of length N is O(N^2) still (which is always what we meant when we talked about quadratic cost not the cost of a single token).

44.

Bigscreen Beyond 2 [video](youtube.com ↗)

3 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

When I read the title I thought maybe they implemented a typescript to binary (instead of javascript) code compiler that speeds up the program by 10x, it would also have the added benefit of speeding up the compiler by 10x!

I don't think that is too far fetched either since typescript already has most of the type information.

comment 1y ago · link · parent

Do you not see how your argument could be applied to steam engines putting human laborers out of work? Or computers putting (human) calculators out of work? Do you think inventing the steam machine or computers was a mistake too?

47.

30 Weird Chess Algorithms: Elo World [video](youtube.com ↗)

4 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

Isn't the fact the P40 has horrible fp16 performance a deal breaker for local setups?

comment 1y ago · link · parent

Here is how I make sense of it (I have no expertise in this subject, please feel free to correct me if I am wrong): I think when the model is pretrained on the internet, it does gain most of the skills required to do mathematical reasoning, however, since its task is to predict the next word distribution on the entire internet, it does not normally use this ability, since most of the text on the internet is not this type of reasoning text (think of generative image models a few years ago, where appending "unreal engine" to a prompt would significantly improve the quality of the output, the reason was that the model was trained to generate the distribution of the images on the internet, most of them are not particularly impressive, however, since images containing "unreal engine" were usually high-quality screenshots of images, it would also move the distribution of generated images towards higher quality generations). So I think the model already has most of the ability, it just needs to adjust a few connections to actually utilize this latent skill, so it makes sense that a few training examples are enough to adjust the connections to increase mathematical reasoning skills.

comment 1y ago · link · parent

That's beside the point but you are probably referring to harry potter and the chamber of secrets not the half-blood prince.

51.

Show HN: Voil – Oil.nvim for VSCode(marketplace.visualstudio.com ↗)

5 points · by hexomancer · 1y ago · 1 comment

comment 1y ago · link · parent

Page 31 is interesting, where apparently in the task of creating PRs for an internal repository the o3-mini models by far have the lowest performance (even worse than gpt-4o). What is up with that?

53.

Show HN: Edit the filesystem like a text buffer in VSCode(github.com ↗)

2 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

If I publish some c++ code that has some hard-coded magic values in it, can the code not be considered open source until I also publish how I came up with those magic values?

comment 1y ago · link · parent

A- Who cares?

B- The latex source of the book is available on the ArXiv page.

56.

Deepseek R1 Zero(huggingface.co ↗)

4 points · by hexomancer · 1y ago · discuss

comment 1y ago · link · parent

I wouldn't call the case with two sequence "some narrow version". It is by far the most common instance of the problem and honestly the first thing that pops into my mind when I hear LCS, that's why I was very surprised to hear it was NP-hard but it does make sense for an arbitrary number of sequences.

58.

Ask HN: How much performance can be gained by etching LLM weights into hardware?

3 points · by hexomancer · 1y ago · 2 comments

comment 1y ago · link · parent

This works the same in vscode as it does in vim as far as I am aware. e.g. `:vs` to split the window and moving between windows uses the same shortcuts as it does in vim.
12345
10