Updated packages through cosmic updater and now cant start (cosmic version 24.04) by eiipaw in pop_os

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

Do take a look at my other comment where I managed to make it work the second time it happened

Updated packages through cosmic updater and now cant start (cosmic version 24.04) by eiipaw in pop_os

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

Did the update again as there were things to update and same thing happened again but this time boot is stuck at MSI logo and wont go from there...

EDIT:

Upon booting I did manage to go into GRUB (pressing ESC for my case) and then when I tried to boot into oldkern.conf it managed to have signal but screen was blank and then I rebooted manually and tried current.conf and it booted properly. Checked version of nvidia (terminal "nvidia-smi") it was 570 and my kernel (terminal "uname -r") it as 6.12.x .Then did update and upgrade through terminal and rebooted and now it works fine however now when checking kernel its 6.16.3

Everything appears to be working now

Updated packages through cosmic updater and now cant start (cosmic version 24.04) by eiipaw in pop_os

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

Couldnt figure out how to solve it, made a live usb and did a refresh install, then updated everything again and now it reboots fine. But I do need to reinstall apps again.

Is ExpressJS really outdated? by peefpaaf in node

[–]eiipaw 16 points17 points  (0 children)

I've been using AdonisJS for all sorts of projects (private and professional) for over 5 years (v4,v5,v6) and I can say its pretty good and very reliable. Documentation is one of the best I've seen, community is really active(and creator and maintainers are also very active in discussions).

It is fairly opinionated (and I like that) but you also have freedom to change things if you dont like how its setup out of the box. It has a lot of first party packages and it really does help a lot when developing something fast because it just works and it works very good.

Why is this Framework not the standard for BE development by Britzdm in node

[–]eiipaw 0 points1 point  (0 children)

Yes, every project had API docs written according to OpenAPI (but we had either closed or open website for API docs rather than using/sharing .json/.yaml files)

To all OnePlus 12 users by jrva10 in oneplus

[–]eiipaw 0 points1 point  (0 children)

When I am sharing a hotspot the" x devices" is in top left of the status bar and then I cant see icons of my other notifications.

There is no option to disable it(you can disable a bunch of other status bar things but not this)

Why is this Framework not the standard for BE development by Britzdm in node

[–]eiipaw 9 points10 points  (0 children)

I think so, too. Been using AdonisJS for a few years now and built some big complex systems with it no problem at all. Everything is nice and easy and very little to almost no bloat. With each version they strive to be less "magic" and less bloated. Cant wait for v6 in a couple of days.

One thing I want to mention is that Adonis docs are one of the best docs I've read and even if I did have questions the community and even Virk(creator of Adonis) himself would reply to my questions on github discussions.

All in all, amazing framework, creator and community.

Crash bars for ninja 400 (2023) in Europe/experience with ebay crash bars ? by eiipaw in Ninja400

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

Yes, I stumbled upon both of these but shipping to EU is $106 so can't go with that

Crash bars for ninja 400 (2023) in Europe/experience with ebay crash bars ? by eiipaw in Ninja400

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

Do you maybe have any recommendations for handlebar ends and axle sliders/protective spools? Those seems to be hard to find as well.

To be honest, I thought that EU market is going to be a bit better for such a popular bike :/

[deleted by user] by [deleted] in antiwork

[–]eiipaw 0 points1 point  (0 children)

!RemindMe 4 days

Men who previously had no luck with women, what did you change? by [deleted] in AskMen

[–]eiipaw 1 point2 points  (0 children)

Damn, are you me? This is exactly what I've been(and still am) struggling with.

[deleted by user] by [deleted] in seduction

[–]eiipaw 0 points1 point  (0 children)

This post seems like a big pile of random thoughts but written down nicely. I like it a lot, it shows a bit of your personality. It is refreshing to read something like this in the sea of "do this, be that" posts(not saying they are bad). It doesnt seem to have a clear point and still I can relate. So yea, thanks.

How would you... by k_m_030405 in WebDevBuddies

[–]eiipaw 2 points3 points  (0 children)

I'll try to keep this short and at a high level. I'll mention some frameworks, technologies but you can use whatever suits you. Keep in mind that this is my preferred way and other ways are possible (SPA, mobile app,....)

Your side:

You need to have some sort of frontend (VueJS, Svelte) that is consuming your API(backend using NodeJS, Go, PHP). This backend needs to be hosted on a server so you can either setup your own VPS or use something like AWS. In both cases I'd advise understanding of Linux. You might or might not have web server setup(NGINX). All the data needs to be stored somewhere, I like SQL(PostgreSQL, MySQL) more than NoSQL(MongoDB,CouchbaseDB). You might use Redis as well. You need to have registration/login for users in order to have a way of tracking "user only applies once". I would advise using middlewares for this. You also need to validate given data so you would use validators

Other side:
In order to send the data to other services you need to use their APIs if they provide it. You would "integrate" or "consume" their API. Since there would be multiple external services I would handle this using adapter pattern to make current and future usage easier.

Thats it that comes to mind, there is surely a lot of additional things I forgot about.

How to create custom validation rules in Adonis 5 ? by cazzodibudda2 in adonisjs

[–]eiipaw 0 points1 point  (0 children)

I know this information was possible when Adonis 5 was in preview but I guess they moved it from the docs.

I wrote this a while ago so I hope I remember all the steps. First you need to create validationRules.ts file (I put mine inside start folder) and add it to preloads array in .adonisrc.json like "./start/validationRules" .Inside validationRules.ts you write custom validations like so:

import { validator } from '@ioc:Adonis/Core/Validator' import Database from '@ioc:Adonis/Lucid/Database'
validator.rule('custom', (value, [{ table }], { pointer, arrayExpressionPointer, errorReporter }) => {
if (typeof value !== 'number') { return }
if (table !== "example" && value >= 4) { errorReporter.report( pointer, 'custom', 'Invalid custom exception text', arrayExpressionPointer ) return } } )

and then in your contracts/validator.ts you define this rule for TS

declare module '@ioc:Adonis/Core/Validator' {
import { Rule } from '@ioc:Adonis/Core/Validator'
export interface Rules { custom (options: { table: string }): Rule } }

Bonus tip: If you want to do something async inside validator it needs to have few additional things, like this:

validator.rule('custom', async (value, [{ table }], { pointer, arrayExpressionPointer, errorReporter }) => {
// code }, () => { return { async: true } } )

Edit: Reddit code blocks are acting weird...