Live data from Hacker News

Show HN: TabNine, an autocompleter for all languages

tabnine.com

151–160 of 193 posts

Re: Show HN: TabNine, an autocompleter for all languages

#151

Earlier quoted context omitted.

That's odd, because it could indeed exist without the Rust ecosystem. The author just opted to write it in Rust.

Think of it like "I couldn't have done it without you" when people accept awards. Sure they could have, it's just an expression of appreciation. He might also not have chased the project if he weren't working in an ecosystem he particularly liked, so who knows, maybe it wouldn't have happened without Rust.

I disagree. I believe most people accepting awards really wouldn't have done it without other people.

Actors do not win Oscars doing great performances in bad movies.

Scientists do not win Nobel prizes working alone or in bad work conditions.

I always take these appreciations at face value.

Re: Show HN: TabNine, an autocompleter for all languages

#152
post #133

Earlier quoted context omitted.

Afaik, Most language communities with a package manager are fine with the network request, since it should really only occur on initial pull, and library updates; not sure what they do with vagrant, but i imagine just keeping the libs locally and copying it in on vagrant build. Eg in pythonland, I’m pretty sure I’ve never seen a repo with packages stored in the repo. So what happened in jsland that makes the differen…

Python installs its packages system-wide with pip, so you'd never be able to commit those. The default for Ruby gems is also system-wide (although it seems like members of the community are starting to shift away from that). Node installs packages locally to the project itself. This was partially a direct response to languages like Ruby and Python; the early community felt like system-wide dependencies were usually b…

>Python installs its packages system-wide with pip

Standard practice atm is to install packages locally to a project by using venv, or rather pipenv. Afaik, lockfiles remain sufficient. I assume ruby is in a similar state, but im not familiar with its ecosystem

>And at the time, there weren't a ton of resources for hashing a dependency

I suppose that’d be a big reason, but isn’t that basically equivalent to version pinning? (Whats the point of versioning, if multiple different sources can be mapped to the same project-version in the npm repo?)

It seems odd to me because it seems like it’d screw with all the tooling around vcs (eg github statistics), conflates your own versioning with other projects, and is the behavior you’d expect when package management doesn’t exist like in a C/++ codebase.

rust/python/ruby/haskell don’t see this behavior commonly, specifically because utilizing the package manager is generally sufficient. 62That njs would commonly only use npm for the initial fetch seems like a huge indictment of npm; its apparently failing half its job? It seems really weird to me that the js community would accept a package manager..that isn’t managing packages.. to the point that adding packages to your vcs becomes the norm, instead of getting fed up with npm

Adding to it is that, afaik, package management is mostly a solved problem for the common case, and there are enough examples to copy fron that I’d expect npm to be in a decent state... but apparently its not trusted at all?

Re: Show HN: TabNine, an autocompleter for all languages

#153
post #77

Earlier quoted context omitted.

*nix shells typically do something very similar, where hitting tab auto-completes up to the first forking character

After recently binge-watching The Good Place, this comment rattled me :)

Lol, I wasn't the only one!

Which is The Good Place of computer languages?

Re: Show HN: TabNine, an autocompleter for all languages

#155

Can't wait to see this for Intellij, looks really cool but I am fully bought in on IDEA and while I have used Atom/VS/Sublime/etc this isn't enough to give up everything else I get in IDEA.

+1 for intellij, I'm usually not into extensions, but this one seems worthy

Re: Show HN: TabNine, an autocompleter for all languages

#156
post #151

Earlier quoted context omitted.

Think of it like "I couldn't have done it without you" when people accept awards. Sure they could have, it's just an expression of appreciation. He might also not have chased the project if he weren't working in an ecosystem he particularly liked, so who knows, maybe it wouldn't have happened without Rust.

I disagree. I believe most people accepting awards really wouldn't have done it without other people. Actors do not win Oscars doing great performances in bad movies. Scientists do not win Nobel prizes working alone or in bad work conditions. I always take these appreciations at face value.

And programmers build on other peoples work. If you take away Rust? Sure he could have done it. If you take away previous work? No way.

Re: Show HN: TabNine, an autocompleter for all languages

#157

I've been using TabNine for a few weeks, and it's really cool how well it works. My first "woah" moment with it was writing a function where the first thing I wanted to do was take the length of the array, and once I started typing def foo(bar): n it suggested the entire completion of "= len(bar)". It has a really cool way of picking up your coding style that makes it stand out to me. Full disclosure that I know the…

I'm trying it out now. If it works well $30 is nothing for this magic. Especially in VSCode, my favorite editor. I have a problem with many languages not having the support I need. And I also don't have the best memory, so autocompletion makes me much faster and costs me less frustration with Googling.

Re: Show HN: TabNine, an autocompleter for all languages

#158
post #122

Earlier quoted context omitted.

MIT only requires source attribution. It's the BSD licenses that require attribution for binary forms of redistribution. Still, it is good manners and good cover-your-arse practice to attribute whatever free software work they used (Google does this with their giant "open source licenses" page).

MIT has no special language regarding source or binary distribution, it simply states: > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. It's up to a court to decide what "copies or substantial portions of the Software" means. Personally, I've always very much interpreted that to mean both binary and source.

Well, you could argue that the notice is "present" (in a very esoteric sense) in a binary distribution of the software because it was present in the source code used to build it. You could also argue that a compiled version of a program isn't a "copy or substantial portion" of the Software (compilation is effectively a form of translation, which is a derivative work under the Copyright Act in the US -- and not just a copy).

Personally I would still include it in both, but I always had the impression that MIT was looser than BSD-2-Clause about this. BSD-2-Clause explicitly states that binary distribution needs to include the notice in "the documentation and/or other materials provided with the distribution", and I have a feeling that the license authors might've had a reason to want to be explicit about it.

Re: Show HN: TabNine, an autocompleter for all languages

#160
post #153

Earlier quoted context omitted.

After recently binge-watching The Good Place, this comment rattled me :)

Lol, I wasn't the only one! Which is The Good Place of computer languages?

Lisp? Up front appears to be written with one thing in mind: Infuriate you with brackets.

Then, once you've worked out how to deal with the brackets, it's pretty forking sweet.

Post reply on HN