Skip to content

u/FrozenCow

In this archive from Mar 2012 to Dec 2026

2
posts
144
comments
2
media
1.1k
score

I've tried doing the same using depthmap generation: https://github.com/thygate/stable-diffusion-webui-depthmap-script The extension can also generate 3d meshes from the depthmap.

What was your method to generate these?

3 points

Made an 512x512 inverse picture of https://gist.github.com/nothub/699a85b808276a406c2c3122a4761b8a and (of course) used qrcode monster:

photograph of nature, sunny, river, stones, trees, lush
Negative prompt: easynegative
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 4025820167, Size: 512x512, Model hash: 463d6a9fe8, Model: absolutereality_v181, Denoising strength: 0.7, Clip skip: 2, ENSD: 31337, NGMS: 2, ControlNet 0: "Module: invert (from white bg & black line), Model: control_v1p_sd15_qrcode_monster_v2 [5e5778cb], Weight: 1, Resize Mode: Crop and Resize, Low Vram: False, Processor Res: 512, Guidance Start: 0, Guidance End: 0.7, Pixel Perfect: False, Control Mode: Balanced", Hires upscale: 2, Hires upscaler: 4x-UltraSharp, TI hashes: "easynegative: c74b4e810b03", Eta: 0.2, Version: v1.6.0-124-g92464233, Hashes: {"embed:easynegative": "c74b4e810b", "model": "463d6a9fe8"}
``
21 points

It's not just different DEs, but also configuration around the DEs. For instance on Arch, switching to Wayland/sway from x11/i3 is kind of a big deal for your system. You need configuration changes in different files. Rolling back is not just uninstalling some package, but also reverting the changes to files in /etc. On NixOS you have more control over that configuration. This control is on top of implicit package installation: your system configuration requires the use of Sway, so NixOS will install Sway. The packages are part of your configuration. The configuration is easier to read (could all be in a single file). Rollbacks are as simple as choosing a previous configuration from grubs boot entries, but can also be done at runtime (apart from kernel upgrades).

2 points

It's hard to check this. The iso could be altered at any time. The kernel itself does the actual hosting, so you could avoid using DriveDroid and use bash to host images manually.

That said, if you're worried about it exploiting the ISO to take over a PC, I would be more worried about rooted applications (or even non rooted applications) tracking data on the phone itself. There is much more incentive for devs to do this (more valuable data) and it is easier to do so.

1 points

Dev of DriveDroid here. You can host images by directly calling the kernel using bash like Badel2 mentions. DriveDroid merely makes it convenient, solves a number of device-specific differences (thank you Google and manufacturers!) and makes obtaining images more streamlined.

I do need to add that because different devices Use different paths in sys for the lun devices, you need to look up those paths for yourself. Use something like find /sys -name 'file' for possible matches.

In addition there are various ways to enable mass storage on different phones. Usually this is done using functions in /sys, but Motorola, Samsung and HTC have their own ways of doing things on some of their phones.

Also, because phones often come with incorrect idProduct and idVendor for the USB configurations, you'll find that for Windows it is sometimes necessary to change those two values into something unique so that windows recognizes a new device and attempts to install it's drivers. These values are also in /sys.

I'm on mobile right now so I can't give a better explanation or more specific paths atm.

To touch on DriveDroid not being open source: I agree that it should be for a rooted application. DriveDroid is closed because I'd like to make some money from the work that is put in, experiment with owning a paid product and invest in servers/devices. Open source doesn't seem to work that well with making money and Google Play: easy to clone, hard to take down.

2 points

I once made a bash script to do this. It's not ideal at all, but I could true it for laptop+desktop. In the end though, stuff like that seems to break if it isn't updated and tested regularly.

A good alternative for this is nixos, where you describe your system configuration in a file. You can update a machine with this as well. Even better, combine your configuration with someone else's by overriding certain attributes of the system. It's very flexible.

3 points

That's exactly how I thought about it initially. I still think this somewhat is true, however one part of Arch that is still lacking in NixOS is the community: wiki and packages. On the flip side, you do get a stable system while still being able to install everything (that is in nixpkgs) with a lot of customizability. In addition I see nix as the next step in package management and system configuration, so it's nice to get a feel for it. Lastly it's much easier to contribute code and packages because everything is on github and builds are easily reproducible.

I would still recommend Arch for a practical desktop for powerusers at this time... I hope this may change in a year or so.

2 points

Yes, it has all that. You can just use the liveusb to see whether you like it. But do know that NixOS is quite different in the way of packages and system configuration. I see it as better than most distros, but it can at times be impractical (harder to do things quick and dirty IMO).

2 points

Ooh, really cool! This could potentially be very interesting for building environments for others systems. Maybe create a mini system for raspberry pi without messing with root? Could be part of a makefile or something.

This might also be really interesting for mkarchiso. If only ext4 coud be mounted as a non-root user :(.

3 points

Yes! This would be awesome! Multiple maintainers, easy way to see history, updating without browser, etc. I do hope there will also be some way to easily submit pull requests.

I get where op is coming from: github offers a standard (though proprietary) and easy way to do pull requests. I do hope it'll be easy for nonmaintainers to submit patches that can be easily merged by a maintainer.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.