HNHacker News
TopNewBestAskShowJobs

amstan

281 karma · joined September 22, 2022

submissionscomments
amstan··on AMD Releases ROCm Version 6.3
Doesn't seem to be released yet. https://github.com/ROCm/llvm-project does not have a 6.3 tag.

Same for https://github.com/ROCm/rocm_smi_lib/releases

amstan··on Matrix Client Tutorial
I tried to do something similar. It's infuriating how the client must be stateful and have local storage, for both the access_token and even last message recieved. That's right you must remember as the client where the last events [1] you've seen (even if you already told the server to mark it as read) was or else the server will happily send you the same messages over and over again.

I kind of miss making IRC bots where things were much simpler and ... quicker honestly (latency wise).

[1] https://uhoreg.gitlab.io/matrix-tutorial/sync.html#:~:text=w...

amstan··on Some of us like "interdiff" code review
Does Graphite have a gerrit instance or something? I'm prepared to say "shut up and take my money" compared to the other 20k/year offer.
amstan··on DOJ may want to break up Google
How do you propose the browser company will make any money?
amstan··on Apple found in breach of EU competition rules
My steamdeck certanly didn't cost that much. It also runs arch btw and I can install anything I want on it.
amstan··on Framework Laptop 13 Deep Dive - Creating a custom high-resolution display
There's little boards you can buy from other places that convert your old displays to type C.
amstan··on Horizontal running inside circular walls of Moon settlements
Why did nobody do this yet? It would totally be a great prototype for stuff in orbit.
amstan··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
I've been through this.

The "Computer Systems Analyst" TN profession is the usual path there (though rather weird). You need letters from your previous employers that you worked for 3 years full time. Some colleges in the US can even give you a degree equivalency on that basis.

> if a US company were interested in hiring me, they would handle the visa requirements (I'm unsure if this would be TN or otherwise).

They would (one can even do pre-approval), but some of them need handholding, and there's only so much they can do. But sometimes you might be surprised by the magic they can do (ex: doing the equivalency work).

amstan··on Remote controlling an HP 1670G logic analyzer with a Linux PC X server
My friend wrote a blog post about a similar model: http://www.theresistornetwork.com/2013/12/a-testament-to-x11...
amstan··on Steam Deck OLED
Sorry, where are these schematics? I was not aware.
amstan··on My experience taking Tesla to court about FSD
"Open"AI
amstan··on Matrix 2.0: The Future of Matrix
My Facebook bridge constantly locks up my account. [1]

[1] https://github.com/mautrix/facebook/issues/236

amstan··on Matrix 2.0: The Future of Matrix
So you consider your phone vibrating loudly on your desk for every recieved message while you're actively chatting and reading the same message on your desktop a correct implementation?
amstan··on Matrix 2.0: The Future of Matrix
I offered a simple fix: delay notifications on all except the active client for 30 seconds, if a read reciept gets triggered from the active client then cancel the timer. I couldn't even get anyone in the team to even look at my solution 3 years ago.

Not sure why this feature keeps getting defered for "just about to land and things might be better after" server-side features (see how it has 7 out of 9 "dependencies" resolved) when none are needed.

I've had a couple of friend actually give up on matrix due to this. I also have to keep my phone on silent or else I can't be chatting on matrix without the constant bzzzing.

I'm also amused about the ever growing (currently at $760) bounty on this feature.

amstan··on Matrix 2.0: The Future of Matrix
It's quite disappointing that there's huge ongoing work around reinventing clients from scratch where the basic functionality of not ringing all my devices while I'm using only one of them [1] is still not there (bug open for years), despite it being a pretty simple fix.

[1] https://github.com/vector-im/element-meta/issues/360

amstan··on Storing dead people at -196°C [video]
semiconductive* :D
amstan··on New open-source Arctic images dataset coming
Why is the term open source used here? Sigh
amstan··on Llama2.c: Inference llama 2 in one file of pure C
Pretty much. It's one 500ish line file that's super easy to parse. 50ish lines is declaring the data structs, 100ish lines is some boilerplate for allocating and deallocating those structs. There are also no dependencies (which should tell you something when remembering that C is not a batteries included language).
amstan··on Perl first commit: a “replacement” for Awk and sed
Try xonsh. It's an unholy merging of python in a shelllike syntax. It can work as your system shell and/or you can write scripts in the superset of python.
amstan··on Google and HTTP (2018)
Looks like scripting.com is from the same owner.
amstan··on LED lights are meant to save energy. They’re creating glaring problems
https://www.youtube.com/watch?v=klaJqofCsu4
amstan··on Every Mastodon user has an RSS feed
It's not that profitability is a focus, it's just that it's a style these days to sacrifice user freedoms/utility for it where it was unthinkable before.
amstan··on Linux Namespaces Are a Poor Man's Plan 9 Namespaces
Hear hear. When I use find I only use it for the recursive dir listing with no arguments. I always pipe it into grep because I know grep better.
amstan··on Reddit Admins are forcing protesting subreddits to open to the public again
You literally search for the link in your local instance. It'll figure it out.
amstan··on Reddit Admins are forcing protesting subreddits to open to the public again
"You'll be paid in exposure."
amstan··on I’m an ER doctor. Here’s how I’m already using ChatGPT to help treat patients
https://github.com/lm-sys/FastChat

The hardest part is downloading the 30GB of weights.

amstan··on I’m an ER doctor. Here’s how I’m already using ChatGPT to help treat patients
> Satisfying HIPAA rules around patient privacy alone may take many years, or decades, to resolve themselves before we could even contemplate directly using programs like ChatGPT in a medical theater.

This is easily solved by not using someone else's API.

Here's $500 worth of hardware you can get on ebay running Vicuna-13B, locally:

> IV fluids may not be the best treatment for someone with severe pulmonary edema and respiratory distress because it could make their condition worse. This is because when a person has severe pulmonary edema, their lungs are already filled with fluid, which makes it harder for them to breathe. Adding more fluid to their body could increase the pressure in their lungs and make it even harder for them to breathe. This could be life-threatening.

> Instead, the best course of action would be to focus on treating the underlying cause of the pulmonary edema, such as heart failure or a lung infection. This may involve giving medications to help the heart pump more effectively or to reduce inflammation in the lungs. The patient may also need oxygen therapy to help them breathe more easily.

> It's important to remember that every case is unique, and the best course of treatment will depend on the individual patient's condition. The healthcare team will do their best to provide the most appropriate care for the patient based on their specific needs.

amstan··on A simple hash table in C
I think parent was criticizing the multiple use of mallocs when one would be cleaner and easier. This wouldn't really make a difference to the library users, besides perhaps more heap fragmentation in the old version.
amstan··on Desktop Linux is insecure
Do you trust your OS, compiler it was compiled with, and then trust all the hardware it's running on (which is probably even more insidious and capable of hiding stuff).

Let's not pretend that just because there's a sandbox at a higher level of the stack and some kind of user ability to accept/deny operations that things are secure.

amstan··on Desktop Linux is insecure
Honestly I feel less secure with sandboxes Android apps that I do on desktop Linux.

On Linux I use my distro's curated repository (ex to install cozy, an ebook reader, or yt-dlp), I don't care that it has access to the rest of my system, the bonus point is that I can have access to its source code. On Android, the first app I see has "In-app purchases" and will probably spy on me. Yes... I agree I guess, on Android (therefore ChromeOS) app stores I definitelly want sandboxing because it's a very adversarial relationship between the users and the apps.

Unfortunatelly that means you need to get into sandboxes, throw stuff in VMs and all the other things that will make performance and efficiency suck.

I miss the time where my computer ran only software I controlled and it wasn't a free for all where everyone wants to run random code (Javascript from websites is a big one here). All the Specter/Rowhammer stuff is only because you're sometimes running untrusted code. Why do people need to be running untrusted code all the time? /me goes back in the cave

← PreviousPage 2 of 3Next →