JackGreenEarth

joined 1 year ago
[–] [email protected] 7 points 1 day ago

I like it with garlic and salt. As with any food, it's unpleasant without flavouring. And you need the right rice for the right job - basmati for curry, glutinous rice for sushi, etc

[–] [email protected] 1 points 2 days ago

Mosquitoes/Malaria

[–] [email protected] 19 points 2 days ago

Mosquitoes, I know this one!

[–] [email protected] 12 points 1 week ago

Of course not, only extramarital sex is bad, not owning people, killing peoples, or married siblings having children together /s

[–] [email protected] 9 points 1 week ago (3 children)

Why do people like being unkind to others in a nonconstructive way?

[–] [email protected] 16 points 1 week ago (3 children)

The light would still presumably take several years to travel.

[–] [email protected] 4 points 1 week ago

what does this have to do with science?

[–] [email protected] 6 points 1 week ago

Are progesterone pills biodegradable?

[–] [email protected] 0 points 1 week ago (1 children)

I was thinking for myself since I was 11. Just because it wouldn't have helped you doesn't mean it shouldn't be available to everyone else

[–] [email protected] 0 points 1 week ago (4 children)

Blocking children from online communities is blocking them from seeing external views outside of the bubbles their parents indoctrinate them into, it's blocking them from seeing information to realise if they're in an abusive situation and seeking help, it's marginalising LGBT+ youth if, through no fault of their own, they happen to be born to ultra religious or LGBT+ phobic parents.

[–] [email protected] 13 points 1 week ago* (last edited 1 week ago) (4 children)

I don't get it

Edit: what does this mean?

1
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Android 14, an update released on 22 June under no more description than 'security update' has stopped syncthing being able to write to folders, even the few it allowed me to previously specifically grant access to. I can't add a folder to sync, as it says 'your android version hasn't granted syncthing write access, this folder is locked to read only' and then doesn't even add it.

My specific model, moto g73 doesn't support root or custom ROMs, which I wasn't aware of when I got it, but I have it now and apart from that it's a really good phone, so I hope there is some way to rescue this.

I should have the option to decline their 'security', even if it is buried under many layers of settings, and grant the apps storage permission anyway. Otherwise it is not security, it is them stealing ownership of my device from me.

It should absolutely be Motorola's onus to fix this, not the hardworking Syncthing team, but if you do know some way to get this working again, I would be grateful.

EDIT: Oh, by the way, this update also stopped every file manager app I had, of which I had three, one being the native Android file manager itself, working properly.

Edit2: This only seems to apply to the micro SD card storage, not internal storage. Unfortunately, I've filled up my internal storage and need to use my micro SD card. I was using Syncthing as a backup, so I had a copy in case the micro SD card corrupted everything.

 

Edit: apparently this is a very common form of Japanese storytelling called an isekai. There are 8 billion people in this world, no idea can be original. And sometimes you miss out on things many other people know. I'm clearly one of today's lucky 10000.

 

cross-posted from: https://reddthat.com/post/18256270

Don’t upvote this

287
What does your desktop look like? (share.jackgreenearth.org)
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Here's mine. No inspiration at all taken from a certain California based company's OS ;p

I use:

  • Manjaro OS
  • GNOME desktop
  • WhiteSur icon theme (with a few icons changed in the desktop file)
  • WhiteSur GTK and shell theme
  • Bing wallpaper
  • net speed simplified
  • Logo Menu
  • Show Desktop
  • Top Bar Organiser (to move the time to the right)
  • Overview background

I apologise if I missed anything.

 

I saw people going on about how great BG3 is on this site, so I thought I'd check out a let's play to see what all the fuss was about. I immediately fell in love with the graphics and the mechanics, such as the classes, races, spells, dice etc, but I disliked the emphasis on gore/horror in the game, and I know I wouldn't enjoy playing a game with that whole brain horror thing going on. Not to mention the price and storage requirements being excessive. (150GB!)

So, bearing in mind that, is there a game that would match my criteria, and if not, what do you think comes closest?

0
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

Intended output: { children: { Display: { children: { ... value: 2 } } } }

Real output: { children: {}, Display: {}, ... value: 2 }


Code:

// Load default settings
let defaultSettings;

load("/assets/json/default-settings.json", 'json', function(defset) {
	defaultSettings = defset;

	// Create custom settings
	if(!Object.keys(localStorage).includes('settings')) {
		setLs('settings', JSON.stringify({}));
	};

	customiseSetting('Display/UI/Distance', 2)
});

function settingURL(url) {
	return('children/' + url.split('/').join('/children/') + '/value');
}

function customiseSetting(url, value) {
	url = settingURL(url);

	// Split the string by '/' and use reduce to access the nested properties
	const newSettings = url.split('/').reduce(function(accumulator, val, index, array) {
		// If the object does not have the current component as a property, create an empty object for it
	  	// If the current component is the last one, assign the value
	  	if (index == array.length - 1) {
			accumulator[val] = value;
	  	} else if (!accumulator.hasOwnProperty(val)) {
			accumulator[val] = {}; // update the accumulator object
		}

		log([accumulator, val, index, array])
		// Return the updated object
	  	return(accumulator);
	}, JSON.parse(ls('settings')));
	log(newSettings);
	setLs('settings', JSON.stringify(newSettings));
}

I've been trying unsuccessfully for several days to fix to what must be a simple error. I've looked over it myself, but I can't find the cause of the bug. I asked Bing, which usually helps, but it was unhelpful. So I'm sorry to be bothering you, but if you could help me solve this problem, I would really appreciate it.

EDIT: I fixed my code by using a recursive function as follows:

function customiseSetting(url, value) {
	url = settingURL(url).split('/');

	let newSettings;

	function recursiveSet(object, list, index, setTo) {
		// If the current component is the last one, assign the value
		if(index == list.length - 1) {
			object[list[index]] = setTo;
			return(object);
		} else {
			// Check if it already contains the value
			if(object.hasOwnProperty(list[index])) {
				object[list[index]] = recursiveSet(object[list[index]], list, index + 1, setTo);
			} else {
				object[list[index]] = recursiveSet({}, list, index + 1, setTo);
			}
			return(object);
		}
	};

	newSettings = recursiveSet(JSON.parse(ls('settings')), url, 0, value);

	log(newSettings);
	setLs('settings', JSON.stringify(newSettings));
}
 

Basically the title. I installed Lemuroid recently and was wondering if you had any suggestions for specific 3d racing games you could recommend.

view more: next ›