Better HN
topnewbestaskshowjobs
Log inSign up

coder543

6,677 karma · joined Jul 18, 2012 (14y ago) · 1,965 submissions

My email is at gmail using my username.

Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.

Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view

Submissions

comment 2y ago · link · parent

From the HN Guidelines:

“Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity.”

That user almost exclusively links to what appears to be their own product, which is self promotion. They also do it without clarifying their involvement, which could come across as astroturfing.

Self promotion sometimes (not all the time) is fine, but it should also be clearly stated as such. Doing it in a thread about a competing product is not ideal. If it came up naturally, that would be different from just interjecting a sales pitch.

I haven’t downvoted them, but I came close.

comment 2y ago · link · parent

> comes with a heavy runtime (node or python)

Ollama does not come with (or require) node or python. It is written in Go. If you are writing a node or python app, then the official clients being announced here could be useful, but they are not runtimes, and they are not required to use ollama. This very fundamental mistake in your message indicates to me that you haven’t researched ollama enough. If you’re going to criticize something, it is good to research it more.

> does not expose the full capability of llama.cpp

As far as I’ve been able to tell, Ollama also exposes effectively everything llama.cpp offers. Maybe my use cases with llama.cpp weren’t advanced enough? Please feel free to list what is actually missing. Ollama allows you to deeply customize the parameters of models being served.

I already acknowledged that ollama was not a solution for every situation. For running on your own desktop, it is great. If you’re trying to deploy a multiuser LLM server, you probably want something else. If you’re trying to build a downloadable application, you probably want something else.

comment 2y ago · link · parent

Ollama is built around llama.cpp, but it automatically handles templating the chat requests to the format each model expects, and it automatically loads and unloads models on demand based on which model an API client is requesting. Ollama also handles downloading and caching models (including quantized models), so you just request them by name.

Recently, it got better (though maybe not perfect yet) at calculating how many layers of any model will fit onto the GPU, letting you get the best performance without a bunch of tedious trial and error.

Similar to Dockerfiles, ollama offers Modelfiles that you can use to tweak the existing library of models (the parameters and such), or import gguf files directly if you find a model that isn’t in the library.

Ollama is the best way I’ve found to use LLMs locally. I’m not sure how well it would fare for multiuser scenarios, but there are probably better model servers for that anyways.

Running “make” on llama.cpp is really only the first step. It’s not comparable.

comment 2y ago · link · parent

Yes, I need the best quality that is available if I'm going to watch something. It's non-negotiable to me. That is a personal choice, like buying 4K Blu-rays of most things that I like. If Netflix would sell 4K blu-rays of all of their Originals, I would just buy those instead of (not) subscribing, but they do that for very little of their content. I always pay for the ad-free plans on these services for a similar reason: I don't find watching ads to be an acceptable use of time.

comment 2y ago · link · parent

I literally paid for a month of Netflix in December, as I mentioned in the comment you replied to.

I subscribed to Netflix for many years continuously before they massively inflated their prices. Yes, I would pay for it if their prices weren’t so offensive. Netflix thinks they deserve to charge far more than anyone else, while offering content that is on average less valuable to me than the competitors that I am subscribed to.

My comment was a clear statement of what I want and what I would be willing to pay for. Netflix doesn't have to offer me what I want, and I don't have to pay them money.

Your comment did not contribute anything helpful to this discussion. A dismissive generalization about an entire population segment (without any actual data) is not a good basis for anything.

comment 2y ago · link · parent

I just want a 4K Originals Plan with 1 screen.

Features:

    - Only Netflix Original content (in 4K)
    - 1 screen, since password sharing isn’t allowed anyways
    - No ads
    - No WWE
    - No smartphone games
    - No licensed content (which seems to be mostly 1080p anyways), since I can watch that elsewhere
I will offer $14/mo, at most.

Why should I be forced to pay for a bunch of stuff I don’t want or can’t use?

This is why I don’t have a Netflix subscription.

I subscribed for one month back in December to see how good/bad it was, and I was not impressed at all for $23/mo. The licensed content almost exclusively being 1080p just added insult to injury.

comment 2y ago · link · parent

I don’t see clear licensing on any of this, including the synthetic dataset.

comment 2y ago · link · parent

M1 was 68GB/s (and the article says this too).

M2 was 100GB/s.

comment 2y ago · link · parent

gotcha, it’s cool that you’re able to get such good performance out of a WiFi 5 AP! And yep, OpenSpeedTest is nice!

comment 2y ago · link · parent

I agree your comment was relevant. The person I was responding to said they weren’t using WiFi 6 at all, which I interpreted to mean that all of their client devices were also still WiFi 5, but my interpretation could have been wrong.

If you can run docker somewhere in your network, you could consider running an OpenSpeedTest server and browse to that from your iPhone. This would let you remove your ISP from the equation and see just how fast your WiFi 5 connection can go.

I’m also mildly skeptical that your access point is WiFi 5, but instead might actually support WiFi 6, since you’re already close to the maximum speeds I was seeing out of a WiFi 6 access point and WiFi 6 client device before I upgraded my network. Maybe WiFi 6 clients can do some serious magic with WiFi 5 access points, but it just seems… unlikely. But if you’re sure, then the numbers are what the numbers are. It just doesn’t make much sense to me.

comment 2y ago · link · parent

Testing with a WiFi 5 client device (iPhone SE 1st gen), I'm seeing only 240Mbps down and 122Mbps up, which is far closer to what I would expect from WiFi 5.

I don't know how a WiFi 6 client (like your phone) might work around the limitations of a WiFi 5 access point, but I'm not seeing anywhere near 500Mbps out of WiFi 5 from a normal client device.

comment 2y ago · link · parent

I checked Amazon, and the cheapest one I saw was ~$140, not <$100. I saw WiFi 6 (not 6E) options for <$100.

Spending $200 now means that I don't have to spend $140 now and $140 again in two to three years.

comment 2y ago · link · parent

The UniFi U7 Pro that I bought was ~$200. For that money, it upgraded my network from WiFi 6 to WiFi 7, so now the 6E devices that I have are noticeably faster (since I didn't have 6E before), and my network is future-proofed for WiFi 7. It seemed like an easy win for me, so I disagree with your assessment.

You also don't need multi-gigabit internet to have a NAS that you want to connect to over the local network.

comment 2y ago · link · parent

I have never seen a WiFi 5 device benchmark anywhere close to 866Mbps in real world scenarios.

Most of the time, you're lucky to reach half of the "theoretical" numbers for WiFi due to the way that they're calculated. I would almost be amazed if you could consistently max out your 300Mbps internet connection over WiFi 5, but that's probably just within reach of WiFi 5, assuming there isn't much interference for WiFi 5 to handle.

EDIT: I checked on my old iPhone SE (1st gen), which is a WiFi 5 client device, and it was only able to achieve ~240Mbps down on the best run. Are you sure you're not bottlenecked by WiFi 5?

comment 2y ago · link · parent

What do you like about it? Compared to GPT-3.5, Claude Instant seems to be the same or worse in quality according to both human and automated benchmarks, but also more expensive. It seems undifferentiated. And I would rather use Mixtral than either of those in most cases, since Mixtral often outperforms GPT-3.5 and can be run on my own hardware.

comment 2y ago · link · parent

I'm not the person you're replying to, but that sentence comes from this research: https://arxiv.org/abs/2307.11760

comment 2y ago · link · parent

https://ollama.ai/library?sort=newest

comment 2y ago · link · parent

ChatGPT-3.5 isn’t even worth touching as an end-user application. Bard is better (due to having some integrations), but it’s still barely useful.

ChatGPT-4 is on an another level entirely compared to either 3.5 or Bard. It is actually useful for a lot.

ChatGPT-3.5 can still serve a purpose when you’re talking about API automations where you provide all the data in the prompt and have ChatGPT-3.5 help with parsing or transforming it, but not as a complete chat application on its own.

Given the bad experiences ChatGPT-3.5 gives out on a regular basis as a chat application, I don’t even know why OpenAI offers it for free. It seems like a net-negative for ChatGPT/OpenAI’s reputation.

I think it is worth paying for a month of ChatGPT-4. Some people get more use out of it than others, so it may not be worth it to you to continue, but it’s hard for anyone to know just how big of a difference ChatGPT-4 represents when they haven’t used it.

I provided a sample of ChatGPT-4’s output in my previous response, so you can compare that to your experiences with ChatGPT-3.5.

comment 2y ago · link · parent

ChatGPT-3.5 or ChatGPT-4? There is a big difference.

For fun, I just asked ChatGPT-4 to generate a normalized database representation of vcard information: https://chat.openai.com/share/1c88813c-0a50-4ec6-ba92-4d6ff8...

It seems like a reasonable start to me.

comment 2y ago · link · parent

LibreOffice, MariaDB, Nextcloud, and OpenZFS might be a few prominent examples.

comment 2y ago · link · parent

With a proper grammar, you can require the "subject" field to be one of several valid entity names. In the prompt, you would tell the LLM what the valid entity names are, which room each entity is in, and a brief description of each entity. Then it would be able to infer which entity you meant if there is one that reasonably matches your request.

If you're speaking through the kitchen microphone (which should be provided as context in the LLM prompt as well) and there are no controllable lights in that room, you could leave room in the grammar for the LLM to respond with a clarifying question or an error, so it isn't forced to choose an entity at random.

comment 2y ago · link · parent

No. LLMs do not have memory like that (yet).

Your 'scary' examples are very hypothetical and would require intentional design to achieve today; they would not happen by accident.

comment 2y ago · link · parent

The Celestia project was dormant for nearly a decade. It becomes hard to package unmaintained software. I haven’t kept up with who the new owner is or what they’re doing, so there could be reasons it hasn’t been picked up again by the distros.

Back in the late 2000s, Celestia was certainly an amazing experience for me. I see there’s a mobile version now, which makes me happy. It works pretty well on my iPhone, although the UX is not perfect.

comment 2y ago · link · parent

Did you try Dolphin Phi-2? The Dolphin fine-tune seems better to me in this case.

comment 2y ago · link · parent

Just to report back on this in case anyone finds this comment in the future... standalone mode almost worked.

On the UniFi U7 Pro, standalone mode was limited to 40MHz channel width on 5GHz and 160MHz channel width on 6GHz, which was a dealbreaker for me. The hardware is capable of 240MHz on 5GHz and 320MHz on 6GHz. So, I installed the controller on a local server and used that to configure the hardware to its fullest potential.

comment 2y ago · link · parent

Appears to be 18 months old, give or take: https://youtu.be/hS-NiaGeeVA
1
161718
66