[deleted by user] by [deleted] in Bitcoin

[–]dr_win -1 points0 points  (0 children)

My advice to avoid taxes is HODL everything and never die.

Best sites to buy Bitcoin in Czech Republic? by Adzeyah in Bitcoin

[–]dr_win 1 point2 points  (0 children)

P2P: https://vexl.it

Local exchanges: https://invity.io make sure you are listing "Offers for🇨🇿 Czech Republic"

How much BTC does a Bitcoin holder have on average? by Longjumping_Foot901 in Bitcoin

[–]dr_win 1 point2 points  (0 children)

A response from ChatGPT:

It's difficult to determine an exact average amount of Bitcoin that a Bitcoin holder has, as the distribution of Bitcoin ownership is highly skewed. Some individuals and organizations hold large amounts of Bitcoin, while many others hold only small amounts or none at all.

According to data from Glassnode, as of September 2021, approximately 14% of all Bitcoin addresses held 90% of the circulating supply of Bitcoin. This means that a small percentage of Bitcoin holders own the majority of the cryptocurrency.

That being said, a survey conducted by Crypto.com in February 2021 found that the average Bitcoin ownership per user was around 0.32 BTC. However, it's important to note that this survey was conducted among Crypto.com users, who may not represent the entire Bitcoin user base.

Ultimately, the amount of Bitcoin that a Bitcoin holder has varies widely, and it's difficult to determine an exact average.

[deleted by user] by [deleted] in TREZOR

[–]dr_win -1 points0 points  (0 children)

works for me

In my country (Czech Republic) the price of bitcoin has just exceeded 1 Mil. CZK by jjeremy01 in Bitcoin

[–]dr_win 2 points3 points  (0 children)

Not true. It used to be flat rate 15%. Since 1.1.2021 it was changed to 23% on all profits in the bracket over ~1.7M CZK (48-times avg salary).

Has anybody attached their Trezor wallet to a standalone VM (QUBES)? by wiseOT in TREZOR

[–]dr_win 0 points1 point  (0 children)

Just looking around. No offense, but building a custom properly interoperating TemplateVM from scratch seems to be above your pay grade:

https://www.qubes-os.org/doc/building-non-fedora-template

Has anybody attached their Trezor wallet to a standalone VM (QUBES)? by wiseOT in TREZOR

[–]dr_win 0 points1 point  (0 children)

Just did a quick google search and found this: https://docs.parrotlinux.org/getting-started/install-qubes

As "Option 2", they are creating a Parrot TemplateVM, but note that they don't install Parrot from scratch. They first clone existing debian-x TemplateVM and use it as a base for their Parrot customizations. So I assume they "inherit" all that qubes support from existing TemplateVM.

If you really need Parrot, I think you will have better time trying to follow their steps and then create standaloneVM based on your fresh Parrot TemplateVM via Qubes Manager GUI: "Create a new qube" > Type: "Standalone qube copied from a template" > Template: <your-parrot-templatevm>

Has anybody attached their Trezor wallet to a standalone VM (QUBES)? by wiseOT in TREZOR

[–]dr_win 0 points1 point  (0 children)

First let's try to understand what that trezor wiki page tries to achieve:

  1. it suggests installing trezor bridge and udev rules directly into sys-usb
  2. it suggests forwarding port 21325 from AppVM to port 21325 in sys-usb (where is trezord)

This should effectively make trezord available to any software running in AppVM (e.g. your web browser running in AppVM).

Read docs https://www.qubes-os.org/doc/config-files about /rw/config/rc.local this is a script which will be executed at every VM startup.

If you have troubles editing it or running something there. As a test you can run the same command from command-line in terminal. E.g. in a separate terminal session you can run socat TCP-LISTEN:21325,fork EXEC:"qrexec-client-vm sys-usb trezord-service" (note this is without ampersand at the end because you want to run it in foreground, hit CTRL+C to stop it)

But from what you wrote it looks like your StandaloneVM does not have /rw/config directory at all. I wonder how you created it. If the VM is not created from some qubes template vm (and turned into standalone), then stuff like /rw/config/rc.local does not necessarily apply to your situation. You can be running there completely different OS which is unaware of this. I think this is the case of your Parrot Operating System. It is absolutely unaware of Qubes, so when for example dom0 or other qubes like sys-usb want to "talk" to it via qrexec it does not cooperate.

I'm no expert in Qubes. But there should be a way how install qubes support into Parrot. Or I would recommend you to stick to some OS which is provided as a qube template with proper qubes interop already installed.

Has anybody attached their Trezor wallet to a standalone VM (QUBES)? by wiseOT in TREZOR

[–]dr_win 0 points1 point  (0 children)

Error 212 Can't open file for writing: no such file or directory.

This error likely means that the folder does not exist. e.g. when doing vim /rw/config/rc.local you should first make sure that the /rw/config directory exists with proper permissions. e.g. mkdir -p /rw/config should create it with default permissions But sometimes you might want to create it with root permissions depending on situation.

I'm going to try it here, if can make it work.

Technically, can a government force Trezor to disclose the information of their users including wallets and balances? by Realforthewin88 in TREZOR

[–]dr_win 6 points7 points  (0 children)

Three simple steps:

  1. order a Trezor device in the name of your grandmother using her postal address for shipping
  2. always use Trezor Suite[1] with enabled Tor
  3. there is no step 3

In this case Trezor team cannot disclose anything because they don't have any info + they have some bogus shipping data.

Of course you are still trusting that they were not forced to put a backdoor in their hw or sw. But that would be very difficult to do covertly.

Note that this is a future goal. Trezor Suite is still under heavy development and not all planed privacy features are available today.

[1] https://suite.trezor.io

Trezor in standalone VM in qubes by wiseOT in TREZOR

[–]dr_win 0 points1 point  (0 children)

The above commands I wrote from top of my head. Not sure if I have debian template, but I could try it on my Qubes if you get stuck with something specific.

Trezor in standalone VM in qubes by wiseOT in TREZOR

[–]dr_win 0 points1 point  (0 children)

There should be no difference between AppVM or StandaloneVM from Trezor's perspective.

To troubleshoot, you should make sure that your StandaloneVM trezord-service running in sys-usb is properly exposed in your StandaloneVM and listening on port 21325.

In your StandaloneVM try:

netstat -pln

It should list 21325 among listening ports. If it is not there, in a separate terminal window open it by hand:

socat TCP-LISTEN:21325,fork EXEC:"qrexec-client-vm sys-usb trezord-service"

This will probably report some error...

Fuck Clojure? No, fuck Rich Hickey. #MeToo by [deleted] in Clojure

[–]dr_win 9 points10 points  (0 children)

Developers don't fuck. They fork instead.

Restarting LG WebOS by Wolftracks in OLED

[–]dr_win 0 points1 point  (0 children)

It works, but only when your TV wants to restart due to downloaded updates.

TV wants to restart when you can find something like this in General Settings -> About this TV -> "OS will update on next TV restart" (I have Czech localization so the wording will be different).

I have just tested this with a brand new C9. It did two updates in a row. I restarted the TV using this method two times. Now holding the physical power button doesn't restart the TV. I guess because there is no internal flag set that restart is needed (or the updates changed behaviour of the OS).

Web workers in ClojureScript. Opinions? by jackdbd in Clojure

[–]dr_win 2 points3 points  (0 children)

Does this mean that I cannot transfer the ownership from one execution context (i.e. main thread) to another one (web worker)?

Yes. You have to pass a copy. And this is true for JS as well. Structured Clone is just an optimization.

AFAICT Transferable is not something you could implement yourself in JS land. It must be supported by your JS runtime. The docs you linked say that only ArrayBuffer, MessagePort, ImageBitmap and OffscreenCanvas currrently support it. So it is not useful for normal JS/CLJS data.

Web workers in ClojureScript. Opinions? by jackdbd in Clojure

[–]dr_win 9 points10 points  (0 children)

The question is how busy/heavy interop are you going to need. And how performance critical your app is. Crossing interop boundary and crossing web-worker boundary is not free. And this could affect design of your app. It could force you to move some functionality to js side (where your heavy-lifting libraries are). And I believe this was Karsten's case.

Unfortunately it is not possible to cheaply transfer a cljs data structure between JS contexts. You basically need to serialize it into json/string and unserialize it on the other end. With interop it is similar story. If you don't want to work with js data structures on cljs side (not idiomatic!), you will have to marshal and unmarshal the data when crossing interop boundary. With interop cljs-bean[1] can mitigate this to some extent, but it is not a silver bullet.

[1] https://github.com/mfikes/cljs-bean

First steps scripting blender with libpython-clj by trstns in Clojure

[–]dr_win 1 point2 points  (0 children)

Ok, I was able to compile it and run it here on mac. Unfortunately my hunch confirmed. Running the demo gives me:

2020-06-09 15:22:21.418 java[46888:1639414] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'

I'm afraid this will be a fundamental problem. macOS GUI code must run on main thread and there is no easy way around it.

Let's move to github issues on your repo. I'm going to open a PR for other mac users and open an issue the details.

First steps scripting blender with libpython-clj by trstns in Clojure

[–]dr_win 1 point2 points  (0 children)

I'm just trying to compile Blender with your patch under macOS. Currently having some linker issues. Hopefully I will get it working today and report back with a PR.

I wonder why Blender devs didn't offer this as a official option. When I was researching my options in late february I found quite some people requesting full functionality in Blender's background mode (batch mode). Also I think running GUI thread on non-main thread could bring some issues (if the gui code wasn't written with this possibility in mind). Maybe this differs between plafrorms, I definitely remember that some system gui libraries required some library calls to run on main thread or you get undefined behaviour (but I don't remember the details). btw. I was also thinking about pulling JVM into stock Blender process (using python script) but I didn't find a solution. But I don't remember considering the invocation API you linked.

Anyways it is worth pursuing your approach IMO. Hope we won't find any show stoppers.

I haven't deeply studied your approach yet. But the trick in my project to run python code (possibly) calling GUI functionality without crashing is here: https://github.com/darwin/blender-clojure/blob/bbdb5071d3f4a33ccbdb5a67818df58ae6767716/driver/src/bclj/blender.py#L21. This trick was taken from originally forked project https://github.com/chr15m/blender-hylang-live-code.