HNHacker News
TopNewBestAskShowJobs

henry_viii

109 karma · joined November 17, 2022

submissionscomments
henry_viii··on Run LLaMA and Alpaca on your computer
Previous discussion:

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

henry_viii··on Asahi Linux M1 GPU drivers can now run Windows games via Steam Proton
This also works on desktop Safari. However it won't work on desktop Chrome.
henry_viii··on Legacy auto faces unsellable car disaster in China as pollution crunch looms
> Unless they really ramp up nuclear

China is ramping up nuclear:

https://www.bloomberg.com/news/features/2021-11-02/china-cli...

> The first 100.000 kilometers of energy are already spent driving of the lot, building a new car

China is the leader of electric 2-seater cars (Wuling Mini, Geely Panda Mini).

Comparison between a Wuling Mini and a Tesla Model 3:

- battery weight: ~100 kg vs. 500+ kg

- total weight: ~600 kg vs. 1,600+ kg

- retail price: ~5,000 EUR vs. ~50,000 EUR

I doubt it takes as much energy to break even on a Wuling Mini than it does on a Model 3.

A better question would be - why should Europeans be excluded from affordable electric Chinese cars because of the political chess between the US and China?

henry_viii··on Zig and Rust
I think we should take into consideration AI assistants like ChatGPT when discussing Zig vs. Rust. Differences between Zig and Rust:

1) Zig is memory-unsafe and thread-unsafe whereas Rust isn't.

2) Zig is easier to learn whereas Rust isn't.

3) Zig isn't stable yet whereas Rust is.

ChatGPT can help with Rust:

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

However ChatGPT can't help with Zig since Zig hasn't stabilized yet. Features like for-loops (introduced in 2022) aren't familiar to ChatGPT since ChatGPT's cut-off date is 2021.

henry_viii··on Freedom Clock
Feature request - make the time go faster when moving the mouse cursor.
henry_viii··on OpenAI tech gives Microsoft's Bing a boost in search battle with Google
Currently in Bing Chat:

- when scrolling down the page goes to Bing Search

- when typing predictive suggestions show up

I would use Bing even more if I knew how to disable these things. Does anyone know if this is possible?

henry_viii··on Twitter was down
I'm also getting the same error for the homepage.
henry_viii··on CMU CS Academy: a free online computer science curriculum by Carnegie Mellon
You can access the curriculum if you sign up as a Mentor/Volunteer.
henry_viii··on Show HN: Self-host Whisper As a Service with GUI and queueing
By the way there is also another project called Whisper.cpp:

https://github.com/ggerganov/whisper.cpp

Which uses x8 less memory than the Python implementation for the tiny model. It would be a good idea to keep an eye on it since there are Python bindings planned on the roadmap:

https://github.com/ggerganov/whisper.cpp#bindings

henry_viii··on Zoom lays off 15% of employees
TL;DR:

https://labs.kagi.com/ai/sum?url=https://blog.zoom.us/a-mess...

henry_viii··on Ask HN: Will you be paying for ChatGPT+?
Wouldn't it be better if this question is asked as a poll?
henry_viii··on ChatGPT and the Enshittening of Knowledge
https://archive.is/m7fm7
henry_viii··on Stop Building on Corporate-Controlled Languages
Another alternative to Go is V. Differences between Go and V:

Syntax

https://github.com/vlang/v/wiki/V-for-Go-developers

Features

https://vlang.io/compare#go

henry_viii··on Bun v0.5
> benchmarks done by an independent party

From another comment:

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

henry_viii··on Bun v0.5
A couple of reasons that contribute to Bun's performance are:

1) using JavaScriptCore instead of V8

2) porting esbuild from Go to Zig

I have a couple of questions about (2):

1. How long did it take you to port esbuild?

2. Why did you choose to port esbuild to Zig instead of another language e.g. V?

henry_viii··on The ThinkPad TrackPoint tried to build a better mouse (2020)
> [Acceleration is] configurable in software

I learned about this today. Looking forward to turning it on on my ThinkPad. The default behavior on Windows 10 with the Synaptics drivers for my ThinkPad X1 Carbon gen 3 (2015) is not to have any acceleration, only inertia.

My personal opinion is that 3-finger drag-and-drop > double-tap-and-hold for 2 reasons:

- there is no delay

- you don't risk running out of space when dragging things. You can leave 2 fingers on the trackpad and keep dragging with your 3rd finger.

henry_viii··on The ThinkPad TrackPoint tried to build a better mouse (2020)
I have a ThinkPad X1 Carbon gen 3 (2015) running Windows 10 with the Synaptics drivers. Thank you for the info on Linux and Windows. Will make sure to enable the acceleration on the laptop.

About the 3-finger drag-and-drop - it used to be on by default. Now you have to enable it manually since 3-finger swipes are bound to Mission Control and Expose. Once you enable it, Mission Control and Expose will be bound to 4-finger swipes. To enable it:

- Go to Settings > Accessibility > Pointer Control > Trackpad Options...

- tick the box 'Enable dragging'

- select 'three finger drag'

Demo:

https://www.youtube.com/watch?v=4LFzxpT8mFk&t=129s

You don't need to worry about running out of space when dragging with 3 fingers - once you start dragging with 3 fingers, you can leave 2 fingers on the trackpad and keep dragging with your 3rd finger.

henry_viii··on The ThinkPad TrackPoint tried to build a better mouse (2020)
For me, what makes MacBook trackpads stand out are 3 things:

1) The acceleration. The faster you move your finger, the farther you can fling out the cursor. For comparison, my ThinkPad's trackpad simulates a trackball i.e. it doesn't have acceleration, only inertia.

2) 3-finger drag-and-dropping. As far I know, the MacBook is the only laptop that supports this. Also you can simulate a left mouse button press-and-hold by resting 3 fingers on the trackpad.

3) The feeling. The glass surface make it feel like you're sliding your fingers on butter.

henry_viii··on The ThinkPad TrackPoint tried to build a better mouse (2020)
By the way, if you have a magic keyboard + trackpad, you can buy a tray for them. Example:

https://purposemade.org/projects/the-tre-apple-bluetooth-mag...

All the ones I've seen are stupid expensive, though.

henry_viii··on Apple TV prompt requires another Apple device
> Requires a device running iOS 16 or later, or iPadOS 16 or later

So even if you have an iPhone SE 1st gen (released 2016) or an iPad mini 4 (released 2015), you still won't be able to accept the new T&Cs.

henry_viii··on How Memory safety approaches speed up and slow down development velocity
Surprised to see no mention of V. I assumed it was using a model similar to Lobster?
henry_viii··on MacBook Pro featuring M2 Pro and M2 Max
Do the new models come with the touch bar? There is no mention of the keyboard (text or photos).
henry_viii··on HoloKit relaunched, $129 AR Headset accessory for iPhone
More info on the VR headset:

https://www.bloomberg.com/news/newsletters/2023-01-08/when-w...

It's expected to be released before WWDC.

According to the article, an AR/VR headset has been an R&D project at Apple since at least 2015.

henry_viii··on Show HN: HyperLogLog in Zig
> Autofree does not work and can lead to double free and use after frees currently

Unless you can give an example, I'm going to have to say you're still spreading lies.

The issues with autofree were fixed in June 2022. From V's homepage (https://vlang.io/):

> (June 9, 2022) As of today, programs built with the V compiler no longer leak memory by default.

Your previous comment was from July 2022:

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

I don't think HN is the place for football tribalism. We're discussing tools. Please don't get so emotionally attached to a tool.

I mentioned a language with a Go-like syntax in a discussion about a port of a Go project. I haven't been critical of Zig anywhere in the thread.

henry_viii··on Ask HN: What sub $200 product improved your 2022
> Air purifier

Bless you. Not only do my neighbors burn wood for heating but I also have to use an AC for heating. Totally forgot air purifiers existed.

henry_viii··on Ask HN: How much will a ChatGPT monthly subscription be?
For me ChatGPT has already proved to be a time saver. A couple of examples:

1) I was dealing with 2 sets of data in an unfamiliar language. There was an overlap of the data. I needed to see the unique data for each set. ChatGPT gave me the solution for this.

2) I needed to interact with an RSS feed of a website. There wasn't an RSS feed for the data I was after. ChatGPT generated a program retrieving the data via the website's API and then generated a second program which converted the data to an RSS feed.

For the increased productivity, I can see how $100/month can be within developers' budgets considering their salaries.

henry_viii··on Show HN: HyperLogLog in Zig
Thank you, Dan.

I meant to ask my question in the spirit of HN (intellectual curiosity). I have found this community insightful when it comes to programming languages. Examples:

Vale

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

Lobster

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

I think this question will also be raised eventually since there have been other examples of Zig ports of Go projects:

https://news.ycombinator.com/item?id=31993429#31994394

I'm looking forward to OP's update. I believe it will be objective and insightful (surprisingly Google returns 0 results of "vlang vs. zig").

henry_viii··on Show HN: HyperLogLog in Zig
You made this account just to insinuate I'm a shill? Not cool.

I work professionally with Go and I follow news about V, yes. Also I'm interested in discussions involving Zig and V because even though there is an overlap of the design goals of the languages (e.g. zero-cost interoperability with C, high performance), there aren't many comparisons between them online.

My advice is listen to the criticism of Zig to improve the language instead of making throwaway accounts to accuse people.

henry_viii··on Show HN: HyperLogLog in Zig
Looking forward to it :).

It seems the V port should be pretty straightforward (the repo is 880 LOC and doesn't have any dependencies).

henry_viii··on Show HN: HyperLogLog in Zig
I'm also very curious to know this. HyperLogLog is written in Go:

https://github.com/axiomhq/hyperloglog

I would expect V to be a more natural choice for a port than Zig.

← PreviousPage 2 of 3Next →