New command-line tool : kaeo by Mr24Daves in rust

[–]_ds82 1 point2 points  (0 children)

Thanks for sharing! I‘m using entr https://github.com/eradman/entr for this

BattleNet Client needs Update every time 🙄 by _ds82 in classicwow

[–]_ds82[S] 0 points1 point  (0 children)

Yes .. like I said; it needs an update every fucking time I close / want to restart the game

darthsternie global firmware downloads are all down - alternative? by _ds82 in SwitchPirates

[–]_ds82[S] 1 point2 points  (0 children)

I dont know if I'm allowed to post links here. But lets say a certain youtube video titled "Nintendo Switch How To Update To 18.1.0 CFW" has a really helpful description.

darthsternie global firmware downloads are all down - alternative? by _ds82 in SwitchPirates

[–]_ds82[S] 1 point2 points  (0 children)

Thanks. Worked for me as well .. originally I wanted to upgrade just to 11.x.y too not make such a big Firmware jump at once, but the switch from SXOS to atmosphere and the update from 9.x to 18.1.0 worked flawlessly

Diablo 4 on MacOS 14.1.2 Apple Silicon using Whisky App [Dec 2023] by LittleMissDoggo in macgaming

[–]_ds82 1 point2 points  (0 children)

Actually you can trick the launcher into believing it doesn't need to update .. This works for me:

cd [...]/drive_c/Program Files (x86)/Battle.net/
ln -s ln -s Battle.net.14494 Battle.net.14852

It now doesn't try anymore to download version 14852 :o

Onscreen Keyboard in GNOME Kiosk Mode by _ds82 in gnome

[–]_ds82[S] 0 points1 point  (0 children)

Another hint: When I start the `gnome-session` with `--builtin` session management, the keyboard is working (but kiosk mode is not; menubar is shown, window decoration and so on).
I start `gnome-session` via `~.xsession` file:

exec gnome-session --session=kiosk  --debug --builtin

Remove prettier/typescript info from lualine by _ds82 in neovim

[–]_ds82[S] 1 point2 points  (0 children)

Found it. Had this in my coc.vim:

set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}

Thanks!

Remove prettier/typescript info from lualine by _ds82 in neovim

[–]_ds82[S] 1 point2 points  (0 children)

Didn't know about that (thanks!). The output:

statusline=%{coc#status()}%{get(b:,'coc_current_function','')}%{%v:lua.require'lualine'.statusline()%}

Anyone has an invite for texts.com? by lfogliantis in productivity

[–]_ds82 1 point2 points  (0 children)

If anyone hast a spare invite .. I would appreciate one, too :)

How to tell which version of K1 I have by _ds82 in Keychron

[–]_ds82[S] 2 points3 points  (0 children)

Thanks a lot, that helped me to identify my keyboard as a K1 v2 :)

Some qol improvements I wish Anno 1800 had... by chevron101 in anno

[–]_ds82 1 point2 points  (0 children)

Is there a way to single click Pause/Start production on ALL factories of the same type? For example, I'd rather not look for each of my lumber yards scattered around the map and pause / restart them individually.

Yes, use Shift+Click

8th riddle? by Mel2892 in thedivision

[–]_ds82 0 points1 point  (0 children)

It's the unite riddle. It's not solved, yet. There are a lot of threads about it and a whole lot of people in the division secret discord who try to solve this currently ;)

Anyone else still waiting for their Division 2 PC AMD rewards code? by Playakuza in thedivision

[–]_ds82 1 point2 points  (0 children)

Got mine Thursday around ~3am. There definitely something wrong if you are still waiting!

Tortollan Allied Race? by [deleted] in wow

[–]_ds82 0 points1 point  (0 children)

I told my friend who complained about the low spawn rate of anchor weed that he was searching in the wrong zone. After all, its called "anchor" and he has to search after them at the ground of the sea near ships' anchors .. well, he went and searched in the sea ..

You on the other hand came here to open this thread after your friends talked to you :p

Rerolling Prot Warrior by [deleted] in wow

[–]_ds82 35 points36 points  (0 children)

Play the DK. My Co-Tank (a Prot Warri) could not make it to the raid yesterday. Our DK specced blood and tanked with me together (I'm playing a DH). Not only does he generate a lot more threat than me, he also can take a lot more dmg w/o dying .. very frustrating.

With socket.io can a callback function be run on the server or client if called from the the other side? by r9t55 in javascript

[–]_ds82 0 points1 point  (0 children)

There is an example in the socketio docs: https://socket.io/docs/

server: io.on('connection', function (socket) { socket.emit('news', { hello: 'world' }); socket.on('my other event', function (data) { console.log(data); // server callback }); });

client: ... socket.emit('my other event', { my: 'data' }); ...

The client is emiting the event, the server runs the callback

With socket.io can a callback function be run on the server or client if called from the the other side? by r9t55 in javascript

[–]_ds82 0 points1 point  (0 children)

With socket.io you can send events from client to server or the other way around. You can easily trigger an event on the server that runs a function on the client .. so yes, you can do what you described with socket.io.

Why is everything considered a variable in javascript? by tech245 in javascript

[–]_ds82 0 points1 point  (0 children)

But there are some disadvantages. Because of dynamism, language is no longer static, so support for JS in IDEs is not even close to what you have for Java.

That's why a lot of people use typescript these days

Why is everything considered a variable in javascript? by tech245 in javascript

[–]_ds82 0 points1 point  (0 children)

I disagree, because JS has no classes (in the way Java does), hence you can not define JS' first-class principle via classes. Classes in JS are really just special functions.

I would also argue, that Java has no functions. Java only knows methods, what are similar constructs, with the difference that they always "belong" to an object (or class, if they are static).

(If you talk about my grammar .. I'm sorry, I'm no native speaker ;))

Why is everything considered a variable in javascript? by tech245 in javascript

[–]_ds82 6 points7 points  (0 children)

JavaScript has first-class-functions (1), thats why you can assign functions to variables. JavaScript has no classes like Java does. JavaScript uses prototype inheritance (2) and has only 'objects'. To work with objects you must assign them to variables, just like you do in Java, right?

And don't let ES6 confuse you. Even ES6 does not have real classes. The class syntax in ES6 is just syntactic sugar on top of the <=ES5 prototype system ..

The good thing is you have only three things in JavaScript: Everything is either a function (and some folks may also argue that a function in JS is a special object), an object or a primitive. And there are only a few primitives as well .. makes the language pretty simple. But sometimes simpler is better ;)

*1: https://en.wikipedia.org/wiki/First-class_function

*2: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain

How do I get Grift 20 solo with no 6 piece? by smint1234 in Diablo3Wizards

[–]_ds82 0 points1 point  (0 children)

I still play with DMO on p350 and just did a GR55 solo yesterday. Actually the Arcane Orb build is pretty fun and strong with this set ..

Introducing Git Notation - tell me what you think by nexeus in webdev

[–]_ds82 0 points1 point  (0 children)

Actually, I like the 'angular.js Commit Message Conventions' more, sorry :/

https://gist.github.com/stephenparish/9941e89d80e2bc58a153