[HN Gopher] Sorting 400 tabs in 60 seconds with JavaScript, Rust...
___________________________________________________________________
Sorting 400 tabs in 60 seconds with JavaScript, Rust and GPT-3
Author : thecupisblue
Score : 16 points
Date : 2023-02-16 21:48 UTC (1 hours ago)
(HTM) web link (blog.entropy.observer)
(TXT) w3m dump (blog.entropy.observer)
| andy_ppp wrote:
| I wish we could authenticate API access we pay ChatGPT for with
| peoples projects to avoid them just immediately running out of
| API tokens when used constantly. I don't think you can expect
| every product that's useful to make rolling the API costs onto
| the consumer practical...
| mtlmtlmtlmtl wrote:
| No idea what this is since the URL is dead but it sounds like a
| joke based on the title...
| pininja wrote:
| As someone with thousands of unsorted and duplicate tabs saved
| those "tab saver" chrome extensions, I was hoping for something
| I could use.
| lairv wrote:
| Couldn't read the article either but do people actually want
| to sort their tabs ? My tabs are approximately in a
| chronological order and I can find a specific tab based on
| that, sorting them would be a disaster
|
| Edit: oh ok it uses gpt-3 to sort by content, but even then I
| don't want my tabs to be shuffled in any ways..
| layer8 wrote:
| Maybe sorting on relevance using GPT-3 based assessment of page
| contents.
| thecupisblue wrote:
| It is, it's using it to sort tabs into categories based on
| the topic.
| zelphirkalt wrote:
| Hm. Reading the heading, I am thinking: "What? Only 400 elements
| sorted? In a whole minute? What criteria did they look for to
| sort them?"
|
| It seems like a really low number of things to sort. If they
| added two zeros to that, maybe it would be impressive. In my
| browser 400 per 60s would mean, that I have to wait almost 10
| minutes, until they are all sorted.
| idsout wrote:
| I thought the same thing, except adding 4 or 5 zeroes
| iLoveOncall wrote:
| > In my browser 400 per 60s would mean, that I have to wait
| almost 10 minutes, until they are all sorted.
|
| There's always gotta be that guy that will come up with the
| most unreasonable and unbelievable usage of any tool, just to
| show how special they are.
|
| No, you don't have 4,000 browser tabs open, nobody believes
| that.
|
| More on the topic, since the title mentions GPT, I imagine it
| sorts them based on the content, like categories.
| rolandog wrote:
| I filed a year ago a couple of bugs because Firefox was
| crashing when I tried sorting 2000 tabs with two different
| extensions [1].
|
| [1] https://github.com/mozilla/multi-account-
| containers/issues/2...
| brokenmachine wrote:
| I have 156 windows in firefox (it tells you the number when
| you shut down), with (my estimate) 20-30 tabs in each.
|
| So 3900 tabs.
| idsout wrote:
| Honestly I do on a regular basis. Also that doesn't sound
| like a lot for a browser to maintain. Imagine opening most
| links in a new tab. That's how it happens and that's me.
| iLoveOncall wrote:
| No you don't.
|
| As you can see from
| https://www.youtube.com/watch?v=7iwgyzX-76g the browser
| becomes completely unusable with a few thousand tabs, and
| the experience is massively degraded way before that.
|
| You also would run out of RAM way before opening 4,000
| tabs, with most consumer boards supporting only a maximum
| of 128GB of RAM.
| brokenmachine wrote:
| I don't know a way to check the exact number, but I'm
| 100% sure I'm over 2,000 tabs.
|
| At work now so can't check but my PC at home has 64Gb RAM
| and up to half of that is used by Firefox.
|
| I've noticed it gets unresponsive over 160 windows. I
| currently have 156 open (it tells you the number when you
| exit Firefox.
| alpaca128 wrote:
| Before you continue digging this hole you should consider
| web browsers don't load all old tabs on startup. I have
| definitely had 2000+ tabs open and that didn't even slow
| down the browser as usually less than 100 or so are
| loaded at a time. I basically use tabs as bookmarks. Note
| that I use Firefox and not Chrome, and my tab usage is
| one of the reasons.
| smaudet wrote:
| I don't know, it takes real effort to curate your tabs below
| 100. Its very, very easy to not close tabs you don't use,
| these days, and at least one major browser just doesn't
| bother to load the tab if you haven't touched it in a while.
|
| I know it seems hard to believe, but for a single topic its
| not unusual to have 10+ tabs open, when I do research on a
| topic I'm often hitting 20-30 tabs, and the more work you do
| the more you have open.
|
| 100 tabs per topic, lets say, and someone interested in 40
| topics, I could see 4k tabs as reasonable. I would bet they
| only have 10 tabs actually activated/loaded, but.
| Panzer04 wrote:
| What is the point of 4K tabs though? If everything is open,
| nothing might as well be open because it serves no utility
| in tracking what you're working on, right?
|
| I often get into the 30-50 tab range, and the majority of
| those are unused and I have to do a purge because I've long
| forgotten the context where I need them. I can believe
| someone might do similarly with more tabs, but no that many
| more XD.
| brokenmachine wrote:
| In Firefox you type "%" into the url bar, and then you
| can search the tabs.
|
| I try to keep all tabs for a certain topic in the same
| window.
| iLoveOncall wrote:
| This is just misusing your browser. That's what bookmarks
| or reading lists are for.
| brokenmachine wrote:
| Bookmarks don't keep the history.
|
| I use tabs to keep the history, so when I come back to
| that tab, I can right-click the back button and see how I
| got to that page.
| smaudet wrote:
| I'm pretty sure a non-GPT thing could do this in < 1 second.
| sublinear wrote:
| I don't know what this is, but I'm pretty sure I don't want it.
| idsout wrote:
| Upvoted. Honest question. How did this make the front page of
| HN with 4 upvotes at the time?
| metadat wrote:
| Site is hugged to death / dead for now.
|
| Too bad there isn't a service which automatically queues all of
| hn/new to archive.org and archive.today for snapshotting.
| brokenmachine wrote:
| The site is probably still busy sorting the incoming clients,
| lol.
|
| 400 in 60 seconds??
___________________________________________________________________
(page generated 2023-02-16 23:00 UTC)