Better HN
topnewbestaskshowjobs
Log inSign up

coder543

6,699 karma · joined Jul 18, 2012 (14y ago) · 1,967 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 3y ago · link · parent

It sounds like you've identified the actual problem you need to fix. Why shouldn't the browser know how long a couple of short video files are?

Also, if the video files don't have an audio track, you shouldn't get a PIP control. Why do these GIF-replacement videos have an audio track? I believe (but have not tested) that adding the `muted` attribute to the `<video>` element will have the same effect as removing the audio track from the video files themselves.

comment 3y ago · link · parent

Official numbers are provided here: https://www.starlink.com/legal/documents/DOC-1400-28829-70

YMMV, as I'm sure people are preparing to reply to me.

If you have the option to choose another high speed internet provider (>50Mbps) that isn't Starlink, then Starlink probably isn't the right choice. For people who have no other choice, Starlink is a big improvement over traditional satellite internet.

comment 3y ago · link · parent

I use MLC Chat to run Llama 7b. Not incredibly useful, but it is fun to experiment with.

https://apps.apple.com/us/app/mlc-chat/id6448482937

comment 3y ago · link · parent

Many of the use cases you’re describing can be done offline, such as when the phone is charging overnight, although not all of them. An email autoresponder could still work in real time at these token rates, and it would still be faster than most humans at responding to an email.

7 hours * 3600sec/hr * 21token/sec = 530,000 tokens per night on this hardware, assuming no thermal throttling. (I don’t have data to say what the sustained rate would be, throttling could happen.)

comment 3y ago · link · parent

Depends on your definition of edge or smart device.

My phone can run a 7B parameter model at 12 tokens per second, which is probably faster than most humans are comfortable reading, and definitely faster than a virtual assistant would speak.

Out of curiosity, I tested a 3B parameter model, and it runs at about 21 tokens per second on my phone.

comment 3y ago · link · parent

https://wiki.documentfoundation.org/Development/LibreOffice_...

There have been various efforts to bring LibreOffice to the web, but I haven’t tested anything in a long time, so I can’t say if it works well.

comment 3y ago · link · parent

> I don't know why you're bringing ChatGPT to the table here

I think that is pretty self-explanatory. OpenAI makes both the "AI product on this page" that you were referring to, as well as ChatGPT. If your comment wants the readers to draw a connection between the quality of "AI products" that are involved on a particular webpage, it is reasonable to assume they would be made by the same company. Why would products made by different companies share the same lack of quality?

Regardless, you haven't supported your assertion, you've merely repeated it:

>> Given that is probably has been AI-translated

> as opposed to human internationalization, which would likely never give such a bad result in 2023 for a language as common as French

You haven't demonstrated any common ML translator doing such a poor job translating the specific phrase on the page, but it should be easy to do if it were the case. I don't understand the purpose of that reply you made? That reply didn't move the conversation forward. The mistranslation honestly feels like human error that didn't involve "AI". ML translation tools are than that these days. I've already demonstrated one.

comment 3y ago · link · parent

Why would you blame AI translation?

Look at how ChatGPT-4 handles a direct translation request:

https://chat.openai.com/share/8211a1f6-552b-4bf6-8f9c-bcbeb8...

Or how it talks about a set of existing translations:

https://chat.openai.com/share/299e40ce-806b-4f0e-a889-cb2ee2...

French isn't a language I know very well, but my experience using "AI" to translate Spanish (which I actually do know somewhat) and other languages is more positive than Google Translate. A few months ago, I did side by side tests translating into English using ChatGPT-4 and Google Translate, and it's not even a contest.

It's not clear where Microsoft is getting these bad translations, but it seems like they would be less terrible if they were translated by ChatGPT-4.

comment 3y ago · link · parent

"Lead" in what way? Is a single-core 160MHz C3 (RISC-V) actually faster than the dual core 240MHz ESP-S3 (Xtensa)?

I like the idea of using a more standard architecture, which should have better toolchain support. The C3 “leads” in that aspect. So, I would probably choose the C3 in most cases... but depending on the specific application, the Xtensa cores still seem to have advantages for now.

comment 3y ago · link · parent

In esp-hal, they offer both sync and async I2C implementations, depending on what works best for an application. Since the async implementation is gated by a feature, it may not show up in the docs you linked.

Async implementation: https://github.com/esp-rs/esp-hal/blob/main/esp-hal-common/s...

You can also see the async feature mentioned here: https://docs.rs/crate/esp32s2-hal/latest/features

There is a very brief example of using async i2c here: https://github.com/esp-rs/esp-hal/blob/main/esp32s3-hal/exam... (you can see that it is using `lis3dh_async`, which requires async i2c)

Not specific to the ESP platforms, but Embassy offers a more useful example of async i2c here: https://github.com/embassy-rs/embassy/blob/main/examples/rp/... (and it would work the same on ESP)

comment 3y ago · link · parent

> Spoken like someone who’s never actually ordered from them.

Spoken like someone who didn’t read the comment they’re replying to?

The person you’re replying to said PCBWay was good. Quoting that comment: “they seem to legitimately do a good job” “Quality is as good as you'd want and the price is reasonable.”

comment 3y ago · link · parent

Those did not fit two full size ports, just one. The newer ones have two mini HDMI ports. Yes, it’s a trade off.

comment 3y ago · link · parent

How did you get a link that is not on the Phoronix home page, and has not shown up on my RSS reader yet?

If it were time to be announced, I would expect to see other articles and videos, but googling restricted to the last 24 hours turns up nothing.

comment 3y ago · link · parent

Google raised prices by 10x or 20x a few years ago, if I remember correctly.

https://news.ycombinator.com/item?id=17570029

comment 3y ago · link · parent

Specialized skills can have a fairly small job market sometimes. I think a lot of CUDA code ends up being foundational as part of popular libraries, supporting tons of applications that never need to write a single line of CUDA themselves.

comment 3y ago · link · parent

But it actually can be correct to remove redundancy. In Spanish, a double negative is the correct thing to do in many cases, but it would translate poorly to English, even though it can be literally translated as such.

These decisions naturally crop up all over the place during translation. It feels pointless to make blanket statements like you did about the removal of “watered down”. Without knowing that specific language intimately, I can’t say that it is wrong, and this is a very simple case.

Good quality translation will always be somewhat subjective.

comment 3y ago · link · parent

Beyond the simplest cases, all translations have “subjective copy editing”. If two languages were 1:1 with each other, they would be the same language. For an extreme example of how not 1:1 translation can be, go read up on Toki Pona, but this is a fundamental property of translation.

Just think about all the idioms that we use in English that would be totally baffling if translated literally.

comment 3y ago · link · parent

Following the links, it might be using the Marian NMT framework under the hood? I'm wondering where specifically the model weights are coming from, and it would be interesting to read more about the training process[0].

I'm excited to see a more open translation system that seems to perform pretty well and runs locally.

It definitely needs to add support for more languages, and based on other models I've seen recently... I have to wonder if building dedicated models for each pair of languages is still the best choice. I believe SeamlessM4T just uses a single model (available in different sizes), and I have definitely seen that Whisper only uses a single model for multiple language pairs as well (although it was only specifically trained to translate into English). Similarly, virtually all of the LLMs are multilingual. It seems like a single model is able to learn shared insights that apply across languages, reducing the amount of training data needed for each additional language (or increasing the accuracy with the same amount of data), but I admit that I could be wrong. This has just been my perception of how things are developing.

[0]: Some training info here, it looks like: https://github.com/browsermt/students/tree/master/train-stud...

comment 3y ago · link · parent

Redis doesn't do key eviction by default. Everything lives forever, unless you tell it otherwise. Of course, it is recommended to turn on some form of persistence (and configure backups) so that things don't disappear if the server restarts.

comment 3y ago · link · parent

Apple's market cap is currently 20x Intel's market cap. Is Apple supposed to be the "little" company?

comment 3y ago · link · parent

The size of the drone is not some secret... you can search for the Mini 4 Pro on YouTube and find a bunch of hands-on reviews.

The DJI Mini drones are very compact. The DJI Air 3 is arguably the next level up in the lineup, and it weighs 3x as much and is noticeably larger. The "teeny-tiny drone" you're describing just doesn't sound comparable or particularly useful.

comment 3y ago · link · parent

The Pocket 3 has been rumored to be coming out any day for like a year now... the camera tech in the Pocket 2 is just not that great anymore, even if the gimbal is fine. I want to see what kind of improvements DJI has made over the last 3 years.

comment 3y ago · link · parent

I can’t speak to other platforms, but iOS natively integrates with third party password managers for passkey support, including inside Safari.

comment 3y ago · link · parent

Their Android client has been maintained for over a decade, from what I can see. It’s not something even remotely recent as you’re implying. I’ve used the Android client and it works great.

Passkeys aren’t supported in 1Password on Android because Google has not released APIs to allow that. Not because Android support is an afterthought. Which you would know if you had researched this: https://blog.1password.com/save-use-passkeys-web-ios/

Your comments on this topic are woefully out of date and wrong.

comment 3y ago · link · parent

https://play.google.com/store/apps/details?id=com.onepasswor...

What are you talking about?

comment 3y ago · link · parent

As of today, they announced a plan for open sourcing a version of v3, but they make it clear in the article that it won't be a great fit for every existing use case.

https://www.influxdata.com/blog/the-plan-for-influxdb-3-0-op...

comment 3y ago · link · parent

The original comment mentioned Influx v3, which doesn't support Flux at all but uses standard SQL instead. Influx v2 still supported InfluxQL from v1, so Flux wasn't essential there either. Flux doesn't seem worth focusing on here.

I've personally found InfluxDB more user-friendly than Prometheus for metrics work, since I've used both at scale and compared my own experiences. The industry leans towards Prometheus nowadays, so I'm used to dealing with Prometheus, but I've found PromQL particularly unpleasant for any kind of complex aggregations. You may disagree, and that's okay. Regular SQL seems far nicer to me in comparison, so it's nice to see Influx v3 focusing on that. I wish Prometheus and VM would develop a standard SQL interface.

VictoriaMetrics doesn't fully support PromQL either; its MetricsQL is only about 73% compatible according to this article[0] that the VM docs link to. I certainly hope that VM took this incompatibility and used it as an opportunity to make MetricsQL more enjoyable to use than PromQL.

[0]: https://medium.com/@romanhavronenko/victoriametrics-promql-c...

comment 3y ago · link · parent

Are they that hard to find now? https://rpilocator.com/?cat=PI4
1
222324
66