Better HN
topnewbestaskshowjobs
Log inSign up

tmdh

63 karma · joined Apr 23, 2021 (5y ago) · 40 submissions

Submissions

comment 1y ago · link · parent

Their collab feature looks promising. But I can't move to Zed yet, because it's laggy on both my Linux laptop and workstation. They need to fix these issues first.

comment 1y ago · link · parent

I feel like the UI is not as smooth as VSCode. There is a slight lag when scrolling.

comment 1y ago · link · parent

It's the "—".

comment 1y ago · link · parent

After Gemini gave an answer, i asked, "convert to latex". Then it asked, "To convert what to LaTeX?". Every other LLM would know what I wanted.

comment 2y ago · link · parent

So, I should abandon my laptop that I bought in 2017 and buy a new one???

comment 2y ago · link · parent

I have been using Typst[1] for taking notes on machine learning. The web based editor is fast (updates are instantaneous). The syntax is almost like Markdown. I tried to learn LaTeX but Typst seems to have an easier learning curve.

[1]: https://typst.app/

comment 2y ago · link · parent

> A macro declaration is a user-defined Dart class that implements one or more new built-in macro interfaces. Macros in Dart are written in normal imperative Dart code. There is not a separate "macro language".

comment 3y ago · link · parent

Well, everybody seems to recommend "Crafting Interpreters". And that's what I'm following now.

comment 3y ago · link · parent

I've been following this excellent book: https://craftinginterpreters.com/

Also read this:

https://belkadan.com/blog/2016/05/So-You-Want-To-Be-A-Compil...

comment 3y ago · link · parent

Amazing work.

comment 3y ago · link · parent

Is it worth watching this series if I want to develop operating systems and write drivers for USB, GPU and other stuffs? I just love interfacing with hardware devices.

comment 3y ago · link · parent

I know Kotlin and Java. Can you point me to any resources on this?

comment 3y ago · link · parent

http://next.copyleft.org/pages/current-release.html

comment 3y ago · link · parent

I use nvim mostly when I want to edit some conf file in the terminal. Recently I wanted to change that. So I tried AstroNvim, but it was so slow, like I was getting input lags. Now I am using mainly vscode and helix. I want to use vim so badly, but I can't.

comment 3y ago · link · parent

This may be unrelated. Is it legal to ship a Firefox fork as a distribution with a Chrome user agent by default?

16.

Linux Kernel Management Style(kernel.org ↗)

2 points · by tmdh · 3y ago · discuss

comment 3y ago · link · parent

I really want to use vim, but I can't because it's laggy whenever I try to use a premade setup like AstroNvim. I don't want to learn how to setup my vim enviroment. I want a VSCode-like experience in vim, out-of-the-box. I have used Helix for some time, but it has it's annoyances.

comment 3y ago · link · parent

Is Nix like Gentoo, where I have to compile after each update? Or does it download the new updated binary packages?

comment 3y ago · link · parent

Understood. Thanks.

comment 3y ago · link · parent

Wait? it doesn't make any sense. So any userspace program can call `setuid(0)` and `execv()`? Why is there sudo in the first place? I am not getting it.

comment 3y ago · link · parent

Did the patch get merged? Are they thinking of other ways to trap the syscalls?

comment 3y ago · link · parent

Thanks, that fixed it.

comment 3y ago · link · parent

I am using Firefox in Android, these are some of the issues i am facing:

- Scrolling is slow on multiple sites like raycast.com

- The UI doesn't feel home for me, at least it has dark mode on Android 9 (my phone doesnt get updates)

- Tapping new tab doesn't actually create a new tab, instead asks for a URL

- Searching for World cup matches in google only shows the goal score, I guess it's a google search issue, but in chrome I get detailed scorecards

- Tab list view feels janky, why does it automatically switch to another tab, even though I am not closing the current tab? (this happens sometimes)

I will keep using Firefox because Chrome bad.

comment 3y ago · link · parent

But using the title bar is what most of us are used to.

comment 4y ago · link · parent

What? I used to wear western clothes. Occasionally I would wear Saudi dresses, e.g. at a funeral.

comment 4y ago · link · parent

Here is what I will say about Saudi Arabia as I lived there for 18 years from my birth as a non-Saudi:

Most non-Saudis have a job at a company. Most of my friends' fathers had large businesses of various types. And almost all the people who have jobs have fair wages.

I felt so safe living there, going out to the beach with my family at 2 am is no worry at all.

Most of the people in Saudi Arabia are very friendly.

I know I'll get downvoted, but as a Muslim, this is the best place to live. Muslims want the Sharia law and all the other Islamic stuffs including hijab, prayers and what not.

27.

Ask HN: Should I open source my next project?

2 points · by tmdh · 4y ago · 2 comments

comment 4y ago · link · parent

Well, this could be done this way,

1. A Linux VM which has steam installed on it. 2. A project like virglrenderer[1] for macOS and which processes Vulkan commands from the VM with virtio-gpu and sends data back. (I don't exactly know how it's done.)

This would allow games on the Linux VM's steam run at near-native GPU performance. On the CPU side, there still a need for instruction emulation like QEMU. Or, Apple posted somewhere that you can run x86_64 Linux binaries inside the VM with the help of Rosetta. or an ARM64 Linux VM with Steam running via FEX-Emu.

[1]: https://gitlab.freedesktop.org/virgl/virglrenderer

comment 4y ago · link · parent

Unsafe code is not bad code.

comment 4y ago · link · parent

Also, WinUI in GitHub is not totally open source I think. I could not find how Button was implemented.
12