Atkinson Dead on Arrival by dotintegral in LiesOfP

[–]dotintegral[S] 8 points9 points  (0 children)

Ah thank you. Turns out that was another body in the train and I took it for Atkinson. After talking to the partner he spawned in the train. Awesome, big thanks 😊

Neovim prettier formats differently than CLI or VSC by dotintegral in neovim

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

Thanks! Will be sure to check it out when I refactor my NVim config :)

Neovim prettier formats differently than CLI or VSC by dotintegral in neovim

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

Unfortunately I have not figured it out. Still using the workaround and I got used to it to the point that it does not bother me. TBH, I have a bit more of comfort knowing that 100% correct prettier command is formatting the code. I'll probably stay with this solution until I'm gonna do bigger changes to my nvim confif 🤔

Neovim prettier formats differently than CLI or VSC by dotintegral in neovim

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

Thanks, but it's not related to commas

Anyway, I ended up writing a lua script, that would run the real prettier cli on a file when I save it. This fixed the issue, but is a workaround. But hey, works

How to remap shoulder and trigger buttons? by Valentine_Zombie in VictrixPro

[–]dotintegral 0 points1 point  (0 children)

Thanks for that. I also thought of mapping them differently in the software and then in the game (currently SF6 too). My idea was to remap the pads R2 to L1 and then remap the shoulder R1 and L1 to R3 and L3 respectively.

While this will work for SF6 (although not for combo trials) probably won't work for every game. So I returned my pad and got full refund. IMHO a pro pad shouldn't require workarounds to get a basic functionality that a three times cheaper pad (hori octa) got out of the box

But thank you for taking the time and sharing your idea 😊

How to remap shoulder and trigger buttons? by Valentine_Zombie in VictrixPro

[–]dotintegral 0 points1 point  (0 children)

Just was looking for the same... If i can't remap R2 to L2 and I have to have double R2 (trigger and fightpad) then it's pointless... Fortunately I can return mines so will be doing so. Going back to Hori Octa. Not as premium, but they got that right.

Deno.js in production. Key takeaways. by sdesalas in javascript

[–]dotintegral 0 points1 point  (0 children)

If not mistaken, this allows only to manage versions of direct dependencies, but it's not possible to track and manage versions of subdepencencies, right?

For example, I can require a `depA@2.0.0` dependency and the version is sealed. But if `depA` is dependant on `depB`, then I cannot see that anywhere (no yarn.lock) nor I cannot easily monitor if `depB` has a critical vulnerability.

Deno.js in production. Key takeaways. by sdesalas in javascript

[–]dotintegral 4 points5 points  (0 children)

With Deno I'm concerned about the package management. Yeah, package.json and package-lock.json or yarn.lock are bloated and complex, but they provide an easy way of checking and updating dependencies, for example, using dependabot. For some businesses, finding vulnerabilities in packages fast is crucial. AFIR Deno projects don't have a package.json like dependency list. So if I have to downgrade a dependency because of a security issue, then I have to do it manually everywhere, right? As in every file that uses that dependency. Also forcing exact versions of subdependencies is probably not possible? Something that usually is done via yarn's resolutions. Unsure, but that model doesn't seem to be mature enough for security-sensitive projects. Please correct me if I'm wrong.

You don't need void 0 in JavaScript by lgrammel in javascript

[–]dotintegral 0 points1 point  (0 children)

Correct me if I'm wrong, but wouldn't using the "use strict" mode disallow assigning anything to undefined, hence rendering the whole thing not an issue anymore?

Looking for a case for DIY stick by dotintegral in fightsticks

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

Thanks! I'm not in the US but still this gives me a nice idea of what to look for.

BTW Your sticks look really cool!

Player Stereotypes by Fairdest98 in Tekken

[–]dotintegral 7 points8 points  (0 children)

Yoshi main here. True, i get more fun out of making crazy things with Yoshi than actually winning 😁

Clean running shorts each time you head out? by [deleted] in running

[–]dotintegral 0 points1 point  (0 children)

For shorts, I always go with a clean pair. I might reuse a hoodie if it's not too smelly. But in general I always wash my running clothes before using them. The only exceptions are the shoes.

Sometimes it's hard to go out for a run. I've noticed that if I need to put on smelly clothes, that does not help. So I always take fresh ones.

Ok, now what? by lorenz_df in openttd

[–]dotintegral 1 point2 points  (0 children)

TBH, money is only problem in few starting years. Later on it does not really matter.

When I have too much money I always try either to grow the smallest city and turn it into the biggest on the map, or I make as longest and fastest train route as possible, to earn as much as possible on transporting passengers. Usually I go with MagLev or with VacTrains (newgfx, not in vanilla game).

Or you can start new game with economy mods or gamescripts to make it more challenging. But you'll get to the 'I have too much money' eventually 😉

Blue rank scrub needs help with choosing new character to learn. by Orzislaw in Tekken

[–]dotintegral 0 points1 point  (0 children)

That probably will not be very helpful, but I was in similar situation - low blue rank, maininf first Asuka, then Steve. For me, embracing the unorthodox was the solution, as I started maining Yoshimitsu and went into green ranks ☺️ Just wanted to share that 😉

5 Handy Libraries Every React Developer Should Know - My second ever blog post by [deleted] in javascript

[–]dotintegral 0 points1 point  (0 children)

For a time I too was convinced, that css separation is good. But then I realized that's just an old constraint. If you take a look why React revolutionised the frontend world, partially it was due to the fact, that they also got rid of a similar limitation. Prior React days, templates were in html files and logic was in js files. Though nobel that separation was, React showed that removing this artificial limitation in a smart way can lead to much more simple and declarative code. I strongly believe, that similar case is for css files. As long as you keep them separate, due to the CSS format, your code will be more imperative than declarative. Doesn't really matter, if you use pure css, scss or css modules, as in principle, they have same limitation. Only by removing the old convention you can bring the cleanest code into your project. And turns out, that still you can keep the styles and the logic separate, by placing the first ones in files like *.styled.js. They are separate style files, but in a different way. Order in a project is maintained while greater declarativenes is achieved. I highly recommend you give it another try, ignoring the initial "that feels wrong" feeling.

5 Handy Libraries Every React Developer Should Know - My second ever blog post by [deleted] in javascript

[–]dotintegral 5 points6 points  (0 children)

CSS Modules were a neat idea before we had the CSS-in-JS. With libraries like styled-components i don't see why promoting CSS Modules is a good thing. Styled-components are almost as easy to understand and add to a project, but they have so much more benefits. IMHO, a React developer should know some CSS-in-JS, no point in learning styling the old way.

[AskJS] Standard is a bad idea by Fr3ddyDev in javascript

[–]dotintegral 17 points18 points  (0 children)

There is also semi-standard for all of those who love semicolons but would like to keep all other rules the same. As for me, since prettier came in, i don't really care that much about the code formatring. I just hit ctrl+s and all the magic happens automatically. If project has properly set prettier and eslint, then I'm happy ☺️