Here's a sketch: https://chatgpt.com/share/68640b97-9a48-8007-a27c-fdf85ff412... -- selenium drives your actual browser under the hood.
HN user
098799
You could also use headless selenium under the hood and pipe to the model the entire Dom of the document after the JavaScript was loaded. Of course it would make it much slower but also would amend the main worry people have which is many websites will flat out not show anything in the initial GET request.
Because if we're unlucky, Scott will think in the final seconds of his life as he watches the world burn "I could have tried harder and worried less about my reputation".
Despite many years of development, I find lsp and eglot to me mostly unusably slow. I need my emacs to be fast and the only way to achieve that is something oldschool like Jedi/Elpy for python.
Thanks for the info. In general, being compliant with established conventions (even if you don't personally like them) can lower the barrier of entry for some people who may superficially reject your library based on esthetic concerns.
If you'd like to dig deeper, the reference is:
F811 redefinition of unused 'get' from line xx
from flake8 and error: Name "get" already defined on line xx [no-redef]
from mypy.Yikes. I'm going to follow this one cause it's right up my alley, but I'm worried I will absolutely hate the process if some standards don't change, e.g. having to have multiple functions called "get()" for them to be a GET request is going to drive mypy/flake8 mad.
One might suggest adding:
try:
from wat import wat
except ImportError:
pass
to your $PYTHONSTARTUP file to avoid the cumbersome import.You do have to give them the company name though (however inconsequential that is)
Thank you for working on gptel, it's an excellent package. I'm still using the copilot more because of the pure speed (competing with company mode/LSP), but I never use it if it suggests more than one line. The quality is just not there. But having access to gpt4 from gptel has been very useful. Can't wait to play around with Claude 3.
Switzerland is not in the EU. Didn't use VPN.
Actually, I also noticed 400 to consumer_pricing with response "Invalid country" even though I'm in Switzerland, which should be supported?
Emacs implementation when? ;)
Trying to subscribe to pro but website keeps loading (404 to stripe's /invoices is the only non 2xx I see)
Probably more coming soon given he just left openai to pursue other things.
I see! yes, the magic is you can cancel the noise by repeating it twice:
``` In [1]: math.exp(1e-15)-1 Out[1]: 1.1102230246251565e-15
In [2]: math.log(math.exp(1e-15)) Out[2]: 1.110223024625156e-15 ```
risky business though, I imagine it's implementation dependent
Nothing weird about it. It should be obvious that subtracting two floats that are very close to each other results in a loss of numerical precision:
1.000000003456e0 - 1.000000002345e0 = 0.000000001111e0 = 1.111numericalnoise e-9
It's exactly the same issue here. `math.exp(1e-15)` is `1.000000000000001`. If you subtract 1, you get 1 significant digit and numerical noise.
Did they call it Zed just so they have a movie to quote when they announce it's demise?
I think it's important to notice that free software is free to use and extend by people who don't necessarily share philosophical or political convictions of the software's author.
While I understand the general sentiment, I don't understand the specific point. After all, company-mode and it's numerous lsp-based backends are often used as an _unprompted_ completion (after typing 2 or 3 characters) which the user has the option to select or move on. It's the first time I hear of this being somehow against the spirit of GNU. Would you argue this is somehow relinquishing control? I like it, since it's very quick and cheap, I don't mind it running more often than I use it, because it saves me the keyboard clicks to explicitly ask for completion.
FYI I'm not trying to diminish your project, and I'm glad you've made something which scratches your exact itch. I'm also hopeful others will like it.
Thanks, this showcases the product very well.
Looks like I won't use it though, cause I like how Microsoft's copilot and it's implementations in emacs work: suggest completions with greyed out text after cursor, in one go, without the need to ask for it and discard it if it doesn't fit. Just accept the completion if you like it. For reference: https://github.com/zerolfx/copilot.el
That, coupled with speed, makes it usable for slightly extended code completion (up to one line of code), especially in a highly dynamic programming languages that have worse completion support.
This is quite intriguing, mostly because of the author.
I don't understand very well how llamafiles work, so it looks a little suspicious to just call it every time you want completion (model loading etc), but I'm sure this is somehow covered withing the llamafile's system. I wonder about the latency and whether it would be much impacted if a network call has been introduced such that you can use a model hosted elsewhere. Say a team uses a bunch of models for development, shares them in a private cluster and uses them for code completion without the necessity of leaking any code to openai etc.
Why would you need it? All you need is one machine capable enough that it will run it's own alphafold-3 to correctly predict the sequence of an appropriately deadly virus, pay some lab to synthesize it and release it to the atmosphere. Or create a dead man switch to do so, at which point you have to start treating it as north korea, sooner or later it will build the capabilities it needs and release it anyway.
Why would you test it?
Probability of two heads: p*p
Probability of two tails: (1-p)*(1-p)
Probability of head followed by tails: p*(1-p)
Probability of tails followed by heads: (1-p)*p
It's not difficult to notice that if you remove the first two, the last two form a 50/50 distribution
Is it just me or is it mildly annoying that I need to press enter twice if I Ctrl-R with fzf, as opposed to once with the regular search?
Surprise, surprise, emacs was there before you: run one daemon, open as many windows as you'd like.
elpy+jedi has been my main environment. LSP was really slow every time I tried it.
I mostly agree. But:
- image cropping in an image viewer is useful if you'd like to quickly crop screenshots before posting,
- you can already view images in emacs.
So the irksome bloat is likely already there, and stems from emacs not only being a text editor, but an operating system onto itself.
When someone says "that works out of the box" what I hear is "I don't want to spend time customizing things to work better for me", which is fine, but surprising coming from someone who claims to have used tiling window managers.
I wonder how do people come to a decision that it's a good idea to start their own text editor when vim and emacs exist. For this one my guess is the author is a c/c++ developer and wanted to have their editor cusomizable in their desired language. Would that be enough?
It's also not a common thing for projects like that not to start as FOSS.
Does it have a command line client?