Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

Generating either a 0 or 1 in response to something? Maybe useful in some testing scenarios? Honestly don't know either. New lorem ipsum?

comment 3y ago · link · parent

> - 3B to 65B released or in progress

Seems they want to do 3B to 175B, although 175B is not in progress yet.

comment 3y ago · link · parent

https://arc.net/ ? If I didn't already knew about it, looks like vaporware. No download, only a link that brings you to a form asking bunch of random personal questions, no screenshots (the ones that exists are censored? What).

comment 3y ago · link · parent

No one. Until a better one comes along to capture the entire market for a while. See Internet Explorer, Firefox and Chrome for various examples of "no one needing a browser until a better one comes along".

comment 3y ago · link · parent

> I'm 99% sure nobody does that, that would be insane :D.

I agree, hence the surprise!

Although parent explicitly calls out "cloud applications" so I'm guessing online has something to do with it.

And in the context of online/offline, it wouldn't matter if it's internet connected or not, using controlled input components with state changes going through a deep hierarchy would introduce that sort of delay no matter if you're online or offline.

comment 3y ago · link · parent

Have you used GPT-4 via the API or via ChatGPT only? The difference is huge, as with the API you can control the parameter + you can set your own system prompt (basically steer the AI better).

With the API, you can basically customize the session ranging from providing batshit bananas replies (by setting high temperature) or almost deterministic replies (by setting low temperature) with personality controlled by the system prompt, so you can make it "friendlier", "less formal" or anything else.

It is still as slow via the API as via ChatGPT though, which kind of sucks when you're using it for longer passages. I do wish it was just about 100% faster.

comment 3y ago · link · parent

> Since the rise of cloud applications and electron based applications I'm back at writing faster than the application can process my input. And I'm not a fast typist.

If the application you're using (the one(s) you're referring to when you say "cloud applications") is sending the key input to the backend and waits to render it client-side until it received a response, it's doing something horribly wrong and if that's how they write things, you probably want to avoid that for a multitude of reasons. Please name and shame though, so others can avoid it too :)

Same goes for Electron-based applications, there is no reason they'd block showing the text you inputted, and if they just use <input/> without doing anything egregious, you really shouldn't be able to type faster than characters appearing on the screen, something is really, really wrong then, and I don't think it's because of Electron.

comment 3y ago · link · parent

> Is it? It performs slower than e.g. Fastify. Don't see how that's doing well.

It's such a marginal difference when you consider real-life applications built with either express or Fastify though. Seldom is the actual bottleneck which HTTP library you use (unless you're at a really, really, really big scale), and more about how you structure your code, database and general architecture. I can count on one hand the number of times I've had to care deeply about the HTTP stack in order to optimize something, while I've probably had to optimize 100s of web products over the years, all done without touching the HTTP parts at all.

> It doesn't. That's the whole point. Software is always evolving and I doubt it's even close to complete. There hasn't been meaningful updates to Express in a long time. Why do people use it and/or promote it as a standard?

How to handle HTTP requests kind of doesn't. HTTP 1.1 continues to work, and will continue to be sufficient for at least 90% of all the use cases on the web for a long time.

I know that the JS community generally suffers from "If it hasn't been updated in the last year, it's probably broken and not modern enough" syndrome, but some software actually end up being "finished" and good enough for the task at hand. What improvements could you actually add to express without breaking the API interface that millions of applications depend on? Sometimes stability is wanted and needed, and that's how you get mature software. Who wants to rewrite their application and architecture every time some library you happen to use decides to "improve" it?

comment 3y ago · link · parent

I'm not exactly what I said about NodeJS that could apply to Deno.

> NodeJS is a FOSS project under the Linux foundation

Deno is not maintained by a non-profit organization, and Deno Land Inc are unlikely to want to let someone else control their project, that'd be kind of suicidal.

> is not driven by profit

The organization who maintain Deno is explicitly for-profit, meaning it has to be driven by profit. If they give the project to the Linux Foundation, I guess that could change, but again, unlikely they'd do something like that.

> NodeJS learned from the whole Npm Inc history and tries to remain more independent from for-profit companies

Deno arguably did learn from that story and did package management differently. They didn't avoid the whole for-profit angle, as again, the maintainers are working for a incorporation.

> Contributors tired of slow pace of NodeJS

As far as I can tell as an outsider, Deno seems to be moving forward at a decent speed and I haven't seen any noise in their community about a possible fork because of slow development pace.

comment 3y ago · link · parent

Emotional reaction doesnt just mean crying or laughing, the feeling of "that looks unreal" is a emotional reaction too and that's what's being referred to here.

comment 3y ago · link · parent

That's a hugely biased source, of course.

Assuming you're in the US (as HN is biased in that way, and you're using HN as a source), the unemployment rate seems to hover around ~3.5% for the last year, and it was ~6% two years ago. https://www.bls.gov/news.release/pdf/empsit.pdf

comment 3y ago · link · parent

I sure hope not. NodeJS is a FOSS project under the Linux foundation (via OpenJS) and is not driven by profit, while Deno is developed by a for-profit company (Deno Land Inc) which has bunch of closed sourced projects to fund the company.

Hopefully, NodeJS learned from the whole Npm Inc history and tries to remain more independent from for-profit companies.

The whole io.js thing was a very different thing than Deno. Contributors tired of slow pace of NodeJS forked NodeJS into another FOSS version, with no for-profit motives, which meant it could eventually be merged back once the people behind the two projects reconciled.

comment 3y ago · link · parent

Who cares how old something is, if it works well, why not use it? You can easily avoid callback-hell by making the callback you pass in to expressjs async and use await inside of it, without much drawbacks. Just because the first closure into express is a callback doesn't mean you need to use callbacks everywhere, just use await/generators/whatever you want in your application code.

expressjs at this point is battle-tested, minimal, easy to understand (both in usage and internals) and have a huge community still. It's very mature and does what it does well.

comment 3y ago · link · parent

> It would be great if such a mechanism was part of the http standard, so you could easily connect compliant tools.

Not sure HTTP is the best approach to the suggested method. Since you control both ends, there are surely better protocols to use, like QUIC or something similar (or just straight up UDP).

comment 3y ago · link · parent

> It does seem that even though anime is more popular than ever, there is not so many modern anime classics.

Isn't "modern anime classics" a bit of a oxymoron? Things generally don't become classics until a while after. Lots of examples of things not really being in the mind of the mainstream until it long died.

comment 3y ago · link · parent

> but he preferred his way so it would always have syntax highlighting

On that topic, probably one of the top-3 features from Clojure I miss in other languages, is having the option of making comments being a part of the language itself so everything that works on the code (linters, evaluation, syntax highlighting, etc) works in the comment as well. The `comment` macro really is a godsend in disguise as it's awfully simple implementation-wise. Its cousin `#_` is also a great tool. See https://clojuredocs.org/clojure.core/comment for more examples

1607.

Ask HN: Did GitHub remove instructions on how to checkout PRs locally?

1 points · by capableweb · 3y ago · 1 comment

comment 3y ago · link · parent

Light in general is a huge asset when wanting to change the aesthetics of anything really, people really underestimate the impact of light.

Game looking a bit boring? Improve the lightning, instantly better

Boring photos of people? Consider how the light traverses the scene you're capturing, and they become much better

Bathroom looking dull? One well placed lamp can change it entirely.

Want to make cool professional videos? Purchase one nice production lamp and you're like 90% there already.

comment 3y ago · link · parent

The difference is that at least light pollution from the ground/cities you can at least get away from by going to remote places. The satellites you can't really do anything about, they'll appear no matter where you go, even in the middle of nowhere.

comment 3y ago · link · parent

I was similarly confused when officially sanctioned GitHub project chose to use a non-github.com domain for their things. But then, we're talking about Microsoft in the end here, who are famous for changing domains every N months at least, particularly when it comes to authentication services.

Remind me, how many domains do you go through again when authenticating with online version of Outlook? Last time I looked, they send you through something like 4 different domains. And emails from Microsoft seemingly are on purpose sent from as many different domains as possible.

comment 3y ago · link · parent

The website domain is still gpt4all.io, the project is still named "GPT4All Chat" and the GitHub project's title is "gpt4all-chat". Not sure how that is responding to the criticism that the project name is misleading. It's not that I don't like the name, is that it seems you're trying to make people believe the project is something it's not.

comment 3y ago · link · parent

Yes, OpenAI's name is also misleading. When they moved from doing Open Source, Open research and being non-profit, they should have changed the name as it's no longer accurate.

comment 3y ago · link · parent

As long as the project is actively trying to mislead people with a incorrect project name, I don't see it as them doing the right thing.

comment 3y ago · link · parent

This doesn't absolutely answer your question (as it doesn't look at the size of the actual firmware), but I did a quick run to see how the amount of code changes in OpenWRT between releases, this is the results:

https://pastebin.com/04s1TL49

Here is the latest ones:

                                  files          blank        comment           code
    refs/tags/v21.02.4|Sun Oct 9 19:13:29 2022 +0200
    SUM:                           6152         105231         202581        1095273
    refs/tags/v22.03.1|Sun Oct 9 19:32:19 2022 +0200
    SUM:                           4942          92892         159322         758218
    refs/tags/v22.03.2|Sat Oct 15 14:45:57 2022 +0200
    SUM:                           4989          94174         160996         761805
    refs/tags/v21.02.5|Sat Oct 15 15:02:44 2022 +0200
    SUM:                           6154         105246         202621        1095314
    refs/tags/v22.03.3|Tue Jan 3 22:03:37 2023 +0100
    SUM:                           5030          94497         161559         768700
    refs/tags/v22.03.4|Sun Apr 9 23:35:19 2023 +0100
    SUM:                           5054          94718         162335         769994
    refs/tags/v21.02.6|Sun Apr 9 23:38:36 2023 +0100
    SUM:                           6283         106307         206300        1107999
Command used:

    $ git for-each-ref --sort=creatordate --format '%(refname)|%(creatordate)' refs/tags | while read line ; do echo $line; cloc --git $(echo $line | cut -d '|' -f 1) --processes 32 --quiet | grep SUM ; done

comment 3y ago · link · parent

I don't disagree with any of that, but if a project is started in response to something, and then you use their very name for a thing they launched, while not having anything to do with that thing, then that's a bit misleading for the users.

For example, if I don't like what Microsoft is doing with Windows and I name my own OS WindowsPro while it being a Linux distribution, I'm clearly trying to mislead people into believing it's something it's not.

comment 3y ago · link · parent

GPT4All is obviously capitalizing on the hype of GPT4, it's very unlikely to just be a coincident that it's has GPT4 in the name while GPT4 is receiving a lot of attention. They could have named it GPTForAll, but chose a 4 instead of "for" for obvious reasons.

comment 3y ago · link · parent

> So it would be interesting to see what price he chooses.

https://orbixhotglass.com/product-category/prince-ruperts-dr...

Least expensive: 500 USD

Most expensive: 100,000 USD

Most of them are below 3,500 USD, but damn, pretty high prices for something like that, although I guess it makes sense considering how long time they probably spent on making them and coming up with the process.

comment 3y ago · link · parent

If a person demonstrates the ability to spend $43 billion for what could essentially be boiled down to a long running gag, is 3 day pause really that much more?
1
535455
307