HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bed147373429

no profile record

Submissions

Building NTFS-3g on macOS to write to NTFS devices

downioads.github.io
2 points·by bed147373429·2 ปีที่แล้ว·0 comments

Ash HN: Why does Windows not let you rename bookmarks / pins?

1 points·by bed147373429·3 ปีที่แล้ว·3 comments

Show HN: Diablo 2 runeword calculator in C++ using wxWidgets

github.com
5 points·by bed147373429·3 ปีที่แล้ว·3 comments

Playing around with NFC using Python

downioads.github.io
2 points·by bed147373429·3 ปีที่แล้ว·1 comments

Ask HN: How to NDEF-format Mifare Classic 1k tags (not manufactured by NXP)?

1 points·by bed147373429·3 ปีที่แล้ว·0 comments

How to calculate the weekday of any date in your head

downioads.github.io
13 points·by bed147373429·3 ปีที่แล้ว·8 comments

[untitled]

1 points·by bed147373429·3 ปีที่แล้ว·0 comments

comments

bed147373429
·3 ปีที่แล้ว·discuss
> What happens if the original folder is renamed? Then, intuitively, the pinned one get the new name. So you always know what folder is pinned.

I disagree. I would expect MY bookmark to automatically have its target destination updated (renaming a folder should trigger not invalidate pointers that point to it) while preserving the name I gave to it.

Think of the following: You program in three different languages, and they all have a project directory called "src". You want to have direct access to these directories so you pin them in the explorer. Now you have three pins that are all called "src" and I am not allowed to renamed them "C src", "C++ src" and "Rust src". I do not want to use shortcuts because these would only be available in one folder, while sth that is pinned in the explorer is always right there.
bed147373429
·3 ปีที่แล้ว·discuss
I just thought the average diablo gamer will not know how to do that or which of these hundred files will be required. I also tried statically linking but I VisualStudio kept throwing errors at me so the easiest way to make the tool accessible for non-tech people was just uploading the dlls too
bed147373429
·3 ปีที่แล้ว·discuss
I also wrote a small Python script that you can also use if you do not want to use Powershell to talk to your Llama model: https://downioads.github.io/posts/llama-python/
bed147373429
·3 ปีที่แล้ว·discuss
It's ok, I just followed your instructions and with that model is works well. But are you sure that this uses CUDA? My CPU utilization is at 50% while my GPU utilization is at 1% while the output is being generated..
bed147373429
·3 ปีที่แล้ว·discuss
I have a question: Last week I downloaded llama-7b-chat from meta's github directly (https://github.com/facebookresearch/llama) using the URL they sent via e-mail. As a result, I now have the model as consolidated.00.pth.

Your commands assume the model is a .bin file (so I guess there must be a way to convert the pytorch model .pth to the .bin file). How can I do this and what is the difference between the two models?

The facebook repo provides commands for using the models, these commands don't work on my windows machine: "NOTE: Redirects are currently not supported in Windows or MacOs. [W ..\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The client socket has failed to connect to ...."

The facebook repo does not describe which OS you are supposed to use, so I assumed it would work on Windows too. But then if this can work why would anyone need the ggerganov llama code? I am new to all of this and easily confused, so any help is appreciated
bed147373429
·3 ปีที่แล้ว·discuss
Also features a brief introduction into which different NFC tags exist and which ones you should use. Feel free to correct errors in the comments or share cool NFC project ideas you had or implemented!
bed147373429
·3 ปีที่แล้ว·discuss
Thanks, fixed
bed147373429
·3 ปีที่แล้ว·discuss
Hi, thanks for this question! On leap years the code for January and February is decreased by 1. Everything else stays the same! I updated the blog and the Go code to take care of this.
bed147373429
·3 ปีที่แล้ว·discuss
Hi, thanks for the feedback. If you know the code for year x, you can quickly calculate the code for year x-1 or x+1. If you want to be able to quickly do this for any given year you would have to know the code for every year by heart. I just updated my blog post: Now it contains the year codes from 1800 to 2039. It also contains a small Go script that generates all these year codes and all you need to do if you want more year codes is to adjust the for-loop interval.
bed147373429
·3 ปีที่แล้ว·discuss
All it takes it to remember 12 single-digit numbers and reading through a blog post for 5 minutes! :)