HNHacker News
TopNewBestAskShowJobs

toomim

3,057 karma · joined May 5, 2012

Independent Scientist in Computer Science and Psychology

https://invisible.college/@toomim

https://braid.org

submissionscomments
toomim··on Peer-to-peer file transfers in the browser
Yeah, it uses webtorrent behind the scenes: https://webtorrent.io

...which is freaking awesome torrent software, by the way.

toomim··on El Salvador's crypto experiment ends in failure
El Salvador makes $330m from a Bitcoin investment and the Financial Times calls it a "failure."
toomim··on El Salvador's crypto experiment ends in failure
I don't believe el salvador spent $375m on those things. I could believe that Chivo spent their VC money on that.
toomim··on El Salvador's crypto experiment ends in failure
It's already about 1000000x higher than it needs to be. Keep in mind that all it does is prevent double-spends.

There are other ways to avoid double-spends, too, like taking the party to court.

Mining does not need to be incentivizes nearly as much as it is right now for bitcoin to still function as p2p cash.

toomim··on El Salvador's crypto experiment ends in failure
Not if the "volatility" is in the upward direction.
toomim··on The DOJ still wants Google to sell off Chrome
Probably more impactful would be to reverse the censoring and shadowbanning of him and his comrades.
toomim··on Introducing command And commandfor In HTML
Horrible. We're going to end up with three separate languages: CSS, HTML, and Javascript, which will each be turing-complete programming languages with completely-overlapping featuresets, and there will be no clear reason to use one over the other.

Browsers will have to implement support for three PL runtimes. Everything will be complicated and confused.

toomim··on Introducing command And commandfor In HTML
> Is this just shifting complexity from JS to HTML?

Very well said. This is the problem.

There's an old adage that every "scripting" language starts out small, but then ultimately needs all the features of a full programming language. If we start putting programming features into HTML, we'll eventually turn it into a full turing-complete programming language, with loops, conditionals, variables, and function calls. We'll have recreated javascript, outside of javascript.

toomim··on Introducing command And commandfor In HTML
comehither
toomim··on Mox – modern, secure, all-in-one email server
Sure, it's not technically "impossible", but like...

> It is a common misconception that it is impossible to run your own email server

... the FAQ then goes on to give all the reasons that argue it's really really hard and probably not worth it for most people.

toomim··on Emacs Tree-sitter custom highlighting
I wrote similar code in emacs for harmonia-mode in the past. Let me find and share the source code. We don't need font-lock. We can just borrow the styles it uses.

*Update:* I found the code. Instead of using font-lock, we simply draw our own overlays over the text and color them, which is what font-lock does. Font-lock IIRC is specifically designed to use regexps to parse the text. We don't need that. So throw font-lock away. Tree-Sitter itself knows how the parse tree maps to text regions. Just use that information to draw the overlays directly. It's way simpler that way.

Lemme know if anyone wants the code.

toomim··on Emacs Tree-sitter custom highlighting
I'd be happy to help as well! I could probably even get the basic framework started.

I'm toomim@gmail.com.

toomim··on Emacs Tree-sitter custom highlighting
The best way forward is similar to how you describe. Instead of making one mode per language -- just make a generic "tree-sitter" mode, and attach that mode to all the filetypes you want it load via regexp patterns in `auto-mode-alist`.

Then when the file goes into tree-sitter-mode, you can check the filetype again, and map that into the language to load into tree-sitter. Keep a buffer-local variable to remember that current language, so that you can use it for any additional language-specific customization that you want as well.

Keep in mind that there's nothing about a major mode in Emacs that has to be specific to a programming language. It's totally cool to have a major mode that works for multiple programming languages!

toomim··on Emacs Tree-sitter custom highlighting
That should be easy to build. In 2002 I built harmonia-mode, which did that for the harmonia research project that inspired tree-sitter. It did that.
toomim··on Penn to reduce graduate admissions, rescind acceptances amid research cuts
Incredible.
toomim··on How Medical Research Cuts Would Hit Colleges and Hospitals in Every State
You aren't clear with what I supposedly "misunderstood."

The entire grant was $650k. 55%, or $357k were used for indirect costs. I don't know how you multiplied 650 * .55 and got 230, or why you're thinking about a $1M grant.

toomim··on How Medical Research Cuts Would Hit Colleges and Hospitals in Every State
You're misunderstanding.

I wasn't the PI, and never said I was. My PhD advisor was the PI. I wrote the grant as a graduate student, and did the research.

It was an NSF grant, with a title on something about Social Computing Systems, in like 2010 or 2011 or so. You can search for it if you want.

toomim··on How Medical Research Cuts Would Hit Colleges and Hospitals in Every State
When I was a PhD student in Computer Science, I wanted to fund my research without depending on other people. So I wrote, and won, a grant for $650,000.

The University of Washington took 55% off the top in "indirect costs." Then of the direct costs, a bunch more taxes went to the department, the lab, etc. I ended up getting about $40,000 total from that grant to fund my actual research.

I was told that this is just how the game works.

The Lesson: There is a huge amount of waste in academic grants.

The university does not need 55% indirect costs to fund my research. They gave me a laptop and an office to work in. But the laptop actually came out of direct costs. And as for the office... well, I tended not to use it. Coffeeshops were nicer places to work.

So that 55% — $357,500 — was not necessary for research. It disappeared in an administrative hierarchy that kept growing. I talked to professors from 20 years before, and they said that the administration had grown 3x in their time being there. They built their reputation as scientists when everything was smaller and cheaper. Now all that reputation is generating more money, which is getting gobbled up by an administration that wasn't needed when they produced their original successes.

toomim··on El Salvador abandons Bitcoin as legal tender
I do.
toomim··on Introducing deep research
John Stewart had something to say about this: https://youtu.be/Byg8VZdKK88?si=pX1WbtRwZCBGpwHS&t=141
toomim··on NSF starts vetting all grants to comply with executive orders
The problem is you trying to "interpret" what he wrote. Let's stick to what he actually said:

https://web.cs.ucdavis.edu/~koehl/Teaching/ECS188/PDF_files/...

His writing is very clear. He is talking about the Ideological Echo Chamber at Google. He is not railing against women.

toomim··on NSF starts vetting all grants to comply with executive orders
This is closer to correct.

Damore said that women tend to choose to work with people rather than things. He said that, therefore, a way to increase women in the workforce is to enhance the peopleness of it, by incorporating more pair programming and collaboration.

He did not say that women were a poor fit for software engineering, nor that they were hired over more fitting men. Those words are from a bogeyman of your own imagination.

toomim··on NSF starts vetting all grants to comply with executive orders
There's also a documentary online: https://x.com/MikeNayna/status/1861213812046864768

...which shows a specific instance of the religion take hold at Evergreen State.

toomim··on NSF starts vetting all grants to comply with executive orders
No, he didn't say that. Don't misquote.
toomim··on Open Heart Protocol
The ultimate exploit is to create fake "likes". Once any system of likes becomes successful, it gets used for (a) filtering news feeds, and (b) establishing consensus & social truth. This is the biggest exploit there is.

A cheap system for "likes", such as this, is only safe when few people use it. Once it becomes popular, and worth something, it gets exploited, and then utterly fails.

toomim··on Decentralized Syndication – The Missing Internet Protocol
I am working on something like this. If you are, too, please contact me! toomim@gmail.com.
toomim··on MessagePack: It's like JSON, but fast and small.
MessagePack saves a little bit of space and CPU ... but not a lot:

https://media.licdn.com/dms/image/v2/D5612AQF-nFt1cYZhKg/art...

Source: https://www.linkedin.com/pulse/json-vs-messagepack-battle-da...

toomim··on Yemeni Coffee Shops in Texas
Woah, I lived 3 blocks from there. I thought it was alright. We called it "fake starbucks."
toomim··on Server-Sent Events (SSE) Are Underrated
Except that browsers add a limit of ~100 connections even with HTTP/2, for no apparently good reason.
toomim··on Twtxt is a decentralised, minimalist microblogging service for hackers
Community notes is really great. It's the best system for fact-checking anyone's ever come up with.
← PreviousPage 4 of 34Next →