HNHacker News
TopNewBestAskShowJobs

waldfee

225 karma · joined June 6, 2016

submissionscomments
waldfee··on GPU Embedding with GGML
i am only dabbling in this space myself, so can't answer everything. all the formats i mentioned are for a quantized version of the original model. basically a lower resolution version, with the associated precision loss. e.g. original model weights are in f16, the gptq version is in int4. a big difference in size but often an acceptable loss of quality. using quants is basically a tradeoff between quality and "can i run it?".

examples of original models are llama(2), mistral, xwin. they are not directly related to any quantized versions. quants are mostly done by third parties (e.g. thebloke[1]).

using a full model for inference requires pretty beefy hardware. most inference on consumer hardware is done with quantized versions for that reason.

[1] https://huggingface.co/TheBloke

waldfee··on GPU Embedding with GGML
i don't think such a guide exists. this space is moving pretty fast. a short rundown

quantized model formats:

- GGML: used with llama.cpp, outdated, support is dropped or will be soon. cpu+gpu inference

- GGUF: "new version" of the GGML file format, used with llama.cpp. cpu+gpu inference. offers 2-8bit quantization

- GPTQ: pure gpu inference, used with AutoGPTQ, exllama, exllamav2, offers only 4 bit quantization

- EXL2: pure gpu inference, used with exllamav2, offers 2-8bit quantization

here[1] is a nice overview of VRAM usage vs perplexity of different quant levels (with the example of a 70b model in exl2 format)

[1] https://old.reddit.com/r/LocalLLaMA/comments/178tzps/updated...

waldfee··on A 1982 chess computer plays itself by mechanically moving the pieces [video]
there are modern products in this niche, and there is huge interest. the market certainly seems to be there (regium tried to defraud people for almost a million dollars i believe was the kickstarter sum before they got shut down).

there is squareoff [0], with new products currently in development (swap / neo)

then there was regium, an elaborate scam on kickstarter [1]

now there is phantom [2], which hopefully is not a scam. they at least posted some engineering details on hackaday [3]

squareoff has chess.com support, hopefully with lichess support coming (they are promising it, but has not yet happend). phantom claims working lichess support and to work on chess.com support

[0] https://squareoffnow.com

[1] https://www.chess.com/news/view/update-on-regium-chess

[2] https://www.kickstarter.com/projects/wondersubstance/phantom...

[3] https://hackaday.io/project/179268

waldfee··on Zenreader: A 4.7" E-Ink RSS Reader
check out KoReader [0] from the F-Droid Store, imho it's way better than the built-in onyx reader app.

[0] https://koreader.rocks

waldfee··on LineageOS with F-Droid and no Google Apps
Sorry, can't help there as I don't need it, therefore never tried to get it to work. I think the microg subreddit [0] is your best bet for pointers

[0] https://old.reddit.com/r/MicroG/

waldfee··on LineageOS with F-Droid and no Google Apps
I have used these images for more than a year now, runs perfectly fine. Use Aurora Store (from F-Droid) if you need any Google Play apps installed.

Be careful if you rely on SafetyNet, seems to be a pain to get working correctly.

If you use the GCM registration, but push notifications just dont work, try this [0], worked for me

[0] https://github.com/microg/GmsCore/issues/226#issuecomment-26...

waldfee··on Usbkill – anti-forensic tool to halt computer when new USB device is connected
it does not solve the same problem, correct. it's still a great tool if your threat model warrants it.
waldfee··on Usbkill – anti-forensic tool to halt computer when new USB device is connected
generally it is advised to use ps2 input (like most laptop's integrated keyboard and touchpad).

details on using usb keyboard and mouse here: https://www.qubes-os.org/doc/usb-qubes/

waldfee··on Usbkill – anti-forensic tool to halt computer when new USB device is connected
If you are paranoid about something like this happening, just use https://www.qubes-os.org/. all usb devices are jailed in a non-networked vm by default.

In general, if what you do warrants that level of paranoia, qubes will help you massively.

Micah Lee held a great overview talk at HOPE 2018: https://www.youtube.com/watch?v=f4U8YbXKwog

waldfee··on Gitlab Support is no longer processing MFA resets for free users
since the qr code is just the totp seed, i simply print the seed in huge font on a sheet of paper. chance of enough degredation to inlegibility is pretty slim if stored correctly
waldfee··on Go generics may use square brackets [] not parenthesis ()
at least for windows you can change the keyboard layout to directly output the deadkeys, example for german: https://github.com/RAnders00/Deutsch-ohne-Tottasten

if none is available for your language you can build it yourself: https://zauner.nllk.net/post/0014-windows-no-dead-keys/

waldfee··on OpenDiablo2
thank you, i'll need to give this a go
waldfee··on OpenDiablo2
OpenRA states in the about section

> This means that OpenRA is not restricted by the technical limitations of the original closed-source games: it includes native support for modern operating systems and screen resolutions...

I think this is the most compelling reason - it opens up features that would be way harder to realize in the original engine.

noteworthy

- OpenXcom https://openxcom.org/about/

- OpenRA https://www.openra.net/about/

- OpenTTD https://www.openttd.org/about.html

waldfee··on The Pitchforks Are Coming For Us Plutocrats (2014)
that's pretty much my train of thought as well.

trickle down economics don't work like the theories would want it to, just look at quantitative easing and the ECB equivalent. all those cheap loans to banks never ended up in the real economy

waldfee··on The Pitchforks Are Coming For Us Plutocrats (2014)
if you look at the graph, it all begins after 1971. that was the year the gold standard was finally abandoned for real.

i am not an expert and don't know all the important puzzle pieces, or even understand them. but looking at our financial systems, i think a big part of the reasons for the problems of our current form of capitalism is the unlinking of fiat currency from any form of backing.

waldfee··on Ask HN: Curious to know if people still use IRC?
if anyone is looking for self hosting, https://thelounge.chat/ is a pretty good client (have used it for a few years)
waldfee··on Talent May Be Shifting Away from Superstar Cities: Study
I second this. Never tell an interviewer what you are currently making, only what you want them to pay you. There is no need for them to know and it only gives them leverage.
waldfee··on Show HN: GPG on macOS and YubiKey
Which means you have no backup...
waldfee··on Jellyfish GPU Rootkit
> Can snoop on cpu host memory via DMA

That's why we have IOMMU

waldfee··on Hornet: High-Speed Onion Routing at the Network Layer
> They do not recommend using Tor as a tunnel/proxy

afaik this is because of leakage problems - which can happen silently (eg tor connection goes down, suddenly all your traffic goes through clearnet)

using whonix (https://www.whonix.org/) mitigates this problem

whonix in qubes is also an option https://www.whonix.org/wiki/Qubes

waldfee··on Hornet: High-Speed Onion Routing at the Network Layer
the Tor network steadily had an increase in bandwith available / consumed ratio. it is way faster than it was a few years ago

https://metrics.torproject.org/bandwidth.png?start=2012-08-0... (from https://metrics.torproject.org/bandwidth.html)

waldfee··on Tips for reviewing code you don’t like
In my experience, this is not the case when both the reviewer and the reviewee are working together and want to find a good solution.

Rephrasing criticism is a pretty common technique not exclusive to code reviews and imho helps avoid a defensive stance which makes it easier to be productive.

waldfee··on Tokyo mechanical keyboard meetup photos
to further clarify the power of qmk: you literally program (parts of the) firmware in c. so you can put modifiers everywhere you want, make layers until you are going crazy, make keys behave differently on press/hold, absolutely everything. and it's firmware you flash, so no matter where you plug it in, it' all there.

qmk is just awesome, check it out https://github.com/qmk/qmk_firmware/

waldfee··on Writing User Space Network Drivers
ccc talks by one of the authors:

- https://media.ccc.de/v/34c3-9159-demystifying_network_cards

- https://media.ccc.de/v/35c3-9670-safe_and_secure_drivers_in_...

waldfee··on Securing your users' authentication
nice, thank you
waldfee··on Securing your users' authentication
Blizzard also has their own stuff. OATH for everything would make things so much easier. I cannot understand why they wont simply do that.

What i hava a problem with in regards to account recovery options is that some services require you to also have enabled sms based 2FA in addition to TOTP or similiar as a fallback. That defeats the whole purpose of non-gsm based 2FA. The whole construct is as insecure as sms based alone, the TOTP part is entirely useless. at least make it optional if you think some users need it.

waldfee··on The lost art of concentration: being distracted in a digital world
I do that too. I don't need to be up to date on everything, for what? I don't need all this useless stuff screaming at me all day
waldfee··on YubiKey 5 Series with New NFC and FIDO2 Passwordless Features
I've had my yubikey 4 nano for a year now. I have it on my keychain and it has weathered much abuse. it has a few scratches but that's about it. it's a very durable thing
waldfee··on Every Weekend Should Be a 3-Day Weekend (2015)
I switched to a four day work week (cutting weekly hours, so not working more on those four days) a few months ago. It's glorious. I just use it as an additional weekend day, meaning time with family, hobbies and household chores.

But i am also not a youngster anymore, so side projects and work in general is not my prio #1 anymore

waldfee··on The Workman Keyboard Layout Philosophy (2010)
check out QMK keyboard firmware at https://github.com/qmk/qmk_firmware

do whatever you want with layouts, macros and layers without any need for software or driver on the host machine

Page 1 of 3Next →