Better HN
topnewbestaskshowjobs
Log inSign up

waldfee

225 karma · joined Jun 6, 2016 (10y ago) · 63 submissions

Submissions

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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...

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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/

comment 5y ago · link · parent

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...

comment 6y ago · link · parent

it does not solve the same problem, correct. it's still a great tool if your threat model warrants it.

comment 6y ago · link · parent

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/

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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/

comment 6y ago · link · parent

thank you, i'll need to give this a go

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

if anyone is looking for self hosting, https://thelounge.chat/ is a pretty good client (have used it for a few years)

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

Which means you have no backup...

comment 7y ago · link · parent

> Can snoop on cpu host memory via DMA

That's why we have IOMMU

comment 7y ago · link · parent

> 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

comment 7y ago · link · parent

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)

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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/

comment 7y ago · link · parent

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_...

comment 8y ago · link · parent

nice, thank you

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

123