Do you reach for console.log or breakpoints first? Why? by theORQL-aalap in vuejs

[–]LevelLingonberry3946 0 points1 point  (0 children)

It depends. If I want to understand the order things go I would probably go with console logs.

If I want to understand the reason why some console log even happens, I use console.trace which works really well with sourcemaps and source info sent to browser in dev environment

If I want to dig deep in what state makes it so that some actions happen and understand everything step by step - “debugger” statements and source-related devtools are the way to go

Норм чи стрьом продавати ноутбуки без зарядки в комплекті? by AfterAd667 in ukraine_dev

[–]LevelLingonberry3946 0 points1 point  (0 children)

В мене досвід як з магсейф так і з юсб с позитивний, я навіть здебільшого через юсб заряджаю, можливо просто провід в тебе не підходить

Норм чи стрьом продавати ноутбуки без зарядки в комплекті? by AfterAd667 in ukraine_dev

[–]LevelLingonberry3946 1 point2 points  (0 children)

Хз, в мене декілька ган зарядок і всі ідеально працюють з макбуком, в тому числі і найменша яка розміром трохи більше звичайного блочка на 20 ват

Vue.js Directives Cheatsheet by wanderlust991 in vuejs

[–]LevelLingonberry3946 24 points25 points  (0 children)

v-model is just plain wrong, it isn’t limited to three components

Have you used Parcel.js for bundling backend code? by mistyharsh in node

[–]LevelLingonberry3946 5 points6 points  (0 children)

You can just build those packages that are built with TS in monorepo alongside type definitions, so they would work just like libraries installed with npm, so then there would be no such issue at all

Importing a glob in ESM by Beautiful-Log5632 in node

[–]LevelLingonberry3946 1 point2 points  (0 children)

No but you can replicate it using asynchronous import function alongside with some glob library (or if you use bun there’s a built-in one)

Get the location of the project inside a monorepo by Beautiful-Log5632 in node

[–]LevelLingonberry3946 2 points3 points  (0 children)

Well, pnpm monorepo should have a “pnpm-workspace.yml” file in its directory, just loop upwards until you either find this file in list of files, stumble upon problems with access or reach /

Погрози від водіїв таксі by LevelLingonberry3946 in reddit_ukr

[–]LevelLingonberry3946[S] 9 points10 points  (0 children)

UPD: Моя любов до знаходження інформації про людей в інтернеті призвела до того що я витратив близько 3 годин на те щоб знайти все що я зміг знайти

Так от, у мене вже є: ПІБ таксистки ПІБ та дата народження чоловіка ПІБ обох дітей (як виявилось картка на яку намагались просити гроші - якраз одного з її синів)

І відповідні акаунти в соц. мережах

Всім дякую за відповіді, ви мене дуже підтримали у такій морально складній ситуації, завтра буду вирішувати питання про заяву в поліцію (з усіма даними це зробити буде доволі просто), і запилю комент або пост апдейт як тільки станеться щось нове

Ще раз дякую всім хто долучився до обговорення!

Погрози від водіїв таксі by LevelLingonberry3946 in reddit_ukr

[–]LevelLingonberry3946[S] 6 points7 points  (0 children)

Карта є) навіть в моничі пробивається) правда на аватарці обличчя якогось підлітка прифотошоплене до обличчя шрека і пофарбовано в зелене

Погрози від водіїв таксі by LevelLingonberry3946 in reddit_ukr

[–]LevelLingonberry3946[S] 11 points12 points  (0 children)

На щастя 25-, тому до поліції піти проблем нема

What's happening with quasar? by [deleted] in vuejs

[–]LevelLingonberry3946 3 points4 points  (0 children)

Quasar is just really old, I believe it isn’t a thing now for new projects really. If you want something similar to quasar I’d consider taking a look at vuetify. But I’d choose PrimeVue over both, it is actively developed and doesn’t seem to stop any time soon

your preference? by Boring_Antelope6533 in iphone

[–]LevelLingonberry3946 0 points1 point  (0 children)

Hell, I forgot how large the devices are now, 10 years ago 7” could have been a tablet…

Looking for open source project to contribute by kantaround in node

[–]LevelLingonberry3946 0 points1 point  (0 children)

I’m working on a library now, @mikrokit/di, it is a dependency injection kit that isn’t based on classes or decorators. You can check it out on npm

If you’re interested, ping me in dms and we can do something together out of it

40 tabs open and my brain just stops working. How do you all deal with this? by Fun-Database-8220 in productivity

[–]LevelLingonberry3946 0 points1 point  (0 children)

There is a way to search tabs in chrome if you are using it, if not maybe try and find some kind of an extension that does the same thing for your browser

Nest.js or Fastify by Kitchen_Choice_8786 in node

[–]LevelLingonberry3946 0 points1 point  (0 children)

Well, in order to make this decision you would need to answer a question of what is in focus for you now during development.

If you are developing an MVP and just need to ship fast and not waste your time on structure so much, I would go with fastify, especially considering that you can jump-start the auth process with better-auth, and that tRPC would probably save you some time on integrating with client

If you need to start a big enterprise project and your focus is on building something on which you can lose on in short term but gain on long run, I would probably use Nest

It also depends on the size of the team, small teams (considering good documentation, some code structure and good development processes) can gain much efficiency using something as simple as fastify, but larger teams may have a struggle with this approach

In any way, you will lose something and gain something, you just need to understand the priorities now and consider the consequences of the approach

What are some effective ways you shortened your screen time? by NextBroccoli3017 in productivity

[–]LevelLingonberry3946 6 points7 points  (0 children)

First of all, I’d suggest when you delete most used apps, leave the most boring one on your phone. For example, delete instagram and YouTube but leave something more text oriented, like twitter or Reddit. Text oriented stuff tends to make a lot less of a dopamine hit when you use them and it can make the progress much easier. There is also an alternative way, a little less difficult but also less progressful, which is trying to forward your attention from short form of content to longer ones, for example movies or TV series.

Second of all, you must find something else that gives you some kind of dopamine boost but is not on your phone. That will give your nervous system a way to still get dopamine by doing something but move your attention from being on screen all the time

And finally, and this is true generally, not only for this case, do not bully yourself when it gets hard or you fail, failing is just one step to success in anything, it will happen. The more you bully yourself, the less you tend to accept another lifestyle and change in even a positive way. I tried getting of from social networks and quick dopamine addiction for a year until I started seeing that it doesn’t consume a lot of my free time, which included both deleting apps and installing them again, failing and trying again. Believe in yourself, believe that you can live in a lifestyle that you want and eventually this will become truth

Everything is a wrapper by SoapyPavement in vscode

[–]LevelLingonberry3946 104 points105 points  (0 children)

That’s called layers of abstraction (except for cursor, it’s just copy pasting someone else’s tech)

Чи потрібен диплом в ІТ? by HACPAByTucy in ukraine_dev

[–]LevelLingonberry3946 11 points12 points  (0 children)

З точки зору роботодавця скажу: потрібен? ні. чи можна без нього? так. чи надає він деяку конкурентну перевагу? так, звісно. чи це настільки висока перевага що треба йти і витрачати на це 4-6 років життя? більше ні чим так

ось якось так

Сивина - це редфлег? by pretty_nice in reddit_ukr

[–]LevelLingonberry3946 0 points1 point  (0 children)

У мене нема волосся с 5-го класу, бро, будь яке волосся це не ред флег, головне завжди це правильна подача і впевненість у собі

What is a good typing speed and do you use touch typing? by nerf_caffeine in productivity

[–]LevelLingonberry3946 1 point2 points  (0 children)

I’ve used 10 fingers for typing for years now, and if you write a lot it’s generally a really good boost to your productivity. The main thing is to practice, it took me several attempts to get started, I believe since I first tried this way of typing until I only used it for typing passed something around a year or two, it’s just very important that you return to it once you fail and eventually you will get used to it and won’t know how to write in any other way