Better HN
topnewbestaskshowjobs
Log inSign up

dxxvi

159 karma · joined Jul 22, 2016 (10y ago) · 232 submissions

Submissions

comment 14h ago · link · parent

Its github page says: 33% Rust and 27% C++. I wonder what C++ does here. Does Ladybird use Zed's GPUI or something completely different?

comment 6d ago · link · parent

Does the phone run Android apps or iOS apps? If not, that phone is for fun only as I need to install an authenticator (only available in Google/Apple store) for work.

comment 1w ago · link · parent

Is x = !x faster than x.toggle() because from my naked eyes no function is called? Or does the compiler know that the function toggle should be replace with `!=`? If the compiler does know that, how is that knowledge implemented? Is there a table of special functions that should be replaced with something else? Or some more clever way?

comment 1mo ago · link · parent

I don't know how these things work, so my question might sound stupid: if this app can connect to spotify to play songs, that means it has the sound data of a song in a byte array, then it can write the byte array to a file and use a bunch of available tools to convert that file to mp3?

comment 1mo ago · link · parent

Could you tell us more about it? I'd love to hear about the use cases of cloudflare and AWS service combinations.

comment 2mo ago · link · parent

I don't have any concrete examples at this moment to show the advantages of using stored procedures. So, suppose that we have to update 2 tables A, B if data in table C satisfies some conditions. Then stored procedures allow us to send only 1 request to the db while with the update commands we have to send at least 2 requests.

comment 2mo ago · link · parent

    > I'm not addicted to the internet or my smartphone. I'm addicted to information
You're not the only one. Everybody is like that, I guess.

comment 2mo ago · link · parent

I saw GLM-5.2 on build.nvidia.com/models before, but it's not there now. Hopefully nvidia will host GLM-5.3 soon.

comment 3mo ago · link · parent

Is Chris Titus's tool able to remove the built-in Weather app (I haven't had a Windows machine with admin right for too long to remember that)? If yes, do we see 1 more GB of RAM free after running that tool?

comment 3mo ago · link · parent

Ah, got it. Those devices are like computer virus which don't need a computer to live on.They can make DDOS attacks if they want to. So, buying these devices at a cheap price is like renting out your IP address and your Internet connection.

comment 4mo ago · link · parent

Now I hope that nvidia will host it for free :-)

comment 4mo ago · link · parent

The last loco.rs release was 1 year ago. I wonder what happens with it.

comment 4mo ago · link · parent

When Firefox has an internal adblock like Brave, I will come back.

comment 5mo ago · link · parent

There are projects like this: urlx, curlio.

comment 5mo ago · link · parent

Today is Jun 15. So, I wonder if somebody + AI can rewrite curl in Rust in 1.5 months. I think it's possible if that person knows all curl features. However, does that person even exist?

comment 5mo ago · link · parent

What are they used for? Its CPU's PassMark scores an average of 4,246. A quick check on AMZN: https://www.amazon.com/KAMRUI-Mini-PC-i3-10110U-Bluetooth/dp... uses AMD Ryzen 4300U (scores 7364), 16GB RAM, 256GB SSD, supports 3 4k (maybe 30HZ) monitors at the same time. That mini pc cost $289.

comment 5mo ago · link · parent

That $350 price tag is good for that configuration. Not sure how fast the USB-c ports are. It should have an HDMI 2.0/2.1 port. Mini PC's with the N150 CPU support 2 4k@60Hz monitors.

comment 6mo ago · link · parent

> I asked the business owner a question about a business task. He sent me a ChatGPT screenshot with the answer. I replied that it had nothing to do with my question and everything there was wrong. A minute later he sent me another ChatGPT screenshot.

If this happens to me, it's a sign that they don't want to talk to me and I'm going to be let go.

comment 6mo ago · link · parent

> Nobody cracks open a programming book anymore Not true for me. I still read the "Learning Rust in a month of lunches" although I ask AI to write Rust code all the times.

comment 6mo ago · link · parent

> It's not surprising that an LLM would produce different specs for the same work on different runs This is what I don't understand: AI is a computer program with its own data. If we give the same input to that computer program every time, why does it produce different outputs every time? Or does the input include LLM data + our prompt + some random data that computer program picks from its Internet search?

comment 6mo ago · link · parent

The thing that impresses me most is that the author knows everything (from the high level architecture to the small details) of "multi-Paxos consensus engine" (I have no idea what it is, but it must be very complicated) and can write everything out for AI to read (or did he/she use an app to convert speech to text)?

comment 6mo ago · link · parent

So, the complaint is that Linux (Fedora + KDE Plasma) is unstable after a week of usage and daily update? I'm not sure about Fedora as I'm using Arch (also with KDE Plasma on wayland). Everything is very stable for me. I `paru -Syu` whenever I remember or when VS Code shows at the lower corner that there's a new version.

comment 6mo ago · link · parent

I'm using wezterm in KDE Plamas in Wayland.

comment 6mo ago · link · parent

Has anybody done like this with Rust (e.g. https://github.com/LiveGray/100-Days-Of-Rust)?

comment 7mo ago · link · parent

Before reading that post, I would use sqlite/duckdb for everything related to data. After reading that post, I will use sqlite/duckdb + Rust for everything related to data :-)

comment 7mo ago · link · parent

But the energy prices (electricity and gas) don't go down :-( Then "renewables generate more power than natural gas" is not very meaningful.

comment 7mo ago · link · parent

But ... when you use the WAL mode, you have 3 files :-)

comment 8mo ago · link · parent

> the free tier will initially provide 50GB of monthly data Is it per machine or profile or ip address or something else? I switch from Firefox to Brave a few months ago because the markdown in aistudio.google.com is not displayed correctly in Firefox. I wonder if anybody has the same issue or that issue can be fixed.

comment 8mo ago · link · parent

No need of colored functions because that Java green thread returns a Future<Value> not Value like colored functions
12345
8