#programming

1 messages Β· Page 20 of 1

strong quail
#

Now time for translating 280 loads notlikethis

unkempt hamlet
strong quail
#

My system is divided into 2 things - database with "codenames"

#

And files with translated names for it.

unkempt hamlet
#

Hm

strong quail
#

Would have pushed all to db (only those English), but it would create a huge mess XD

unkempt hamlet
#

Well, this isn't very hard πŸ™‚

strong quail
#

BTW - Someone uses Chromium Edge? πŸ€”

north flax
#

I mean, I've used it, since I have the test VM with it to have a sandbox for some malware x3

#

But just to download a few reverse engineering tools

strong quail
#

Idk - maybe I'll switch to it, because I really like Edge itself in the past.

#

But then came Chrome xD

north flax
#

Edge is far younger than Chrome, thinking of IE? πŸ˜›

#

Also, using Firefox here :>

unkempt hamlet
#

Well, Chrome is in my Google ecosystem and I can't get rid of it, but I didn't even think about the replacement.

strong quail
#

I mean...

#

The Edge, not Internet Explorer, I used when it was really useful - the only 2 browsers which I had in 2015 were Edge and Firefox.
Then when I switched to new PC I started to using again Chrome, because my mother also uses in the work.

north flax
#

Alright, chrome came along in that sense :p

strong quail
#

But when I see that Edge is coming back in the form of Chromium-based web browser, then shrug1

#

(plus Edge has Internet Explorer compatibility mode kappa_MLG )

unkempt hamlet
#

Someone plz kill IE for sure

strong quail
#

It actually received some updates last time, afair

strong quail
#

Time for another presentation cataww
Today some pics from List of users

#

By clicking on πŸ”‘ , you can reset the password of the user.
The password will be sent to him/her via email.

#

Removal of user also after removal from DB sents email to user.

cinder spear
#

The password will be sent to him/her via email.
cohhWut

strong quail
#

Well yeah... It is isn't the best idea, however I didn't yet implemented that. trolldance

#

Will think of solution that will be safer (reset link e.g., something like this).

cinder spear
#

should send a temporary link to a page where they can reset it

north flax
#

Also, you should not store the password in a way where you can recover it

#

Use Argon2 or bcrypt for password storage

strong quail
#

I use function password_hash with setting PASSWORD_DEFAULT (so by php.net - bcrypt)

north flax
#

Then you wouldn't be able to send their password to them by email in the first place, so do what 3v suggested

strong quail
#

Firstly I made a custom password generator, that selects random character from the pool, then it returns it to value.
Then I proceed with hashing, so people get "plain texted", meanwhile in base it is in hash.
But perhaps I'll change it, because I'll kill myself when pushing out such a generator

north flax
#

I'd generate a token and let them enter it instead

#

Rather, an url with a token in it

#

That token could last i.e. a few hours.

#

If you set a password for them, then they might not ever go in and change it themselves

#

IF you do generate it, make it really strong and combine it with good password advice at least

#

Like, don't have it on a post it note on your laptop. Writing it down is alright, just have it in a more subtle place, i.e. a password book hidden in your house or something

#

Also, regardless, if it was me I'd encourage them to have a unique password per website πŸ˜›

strong quail
#

Atm my script in zip weights 500KB

opal arch
rugged copper
opal arch
#

I wonder who told me about that again kappa

rugged copper
#

Lol kappa

unkempt hamlet
unkempt hamlet
unkempt hamlet
#

There are many interesting links today

strong quail
#

Okay - system with resetting password βœ…

#

User gets link which he uses to set up a new password.

#

And the link is "living" 8hours, after that period it can't be used to reset password.
And after usage, the link can't be activated again.

north flax
#

:+1:

unkempt hamlet
#
mossy cloud
#

Just like the Volkswagen emissions scandal xD

old helm
#

k

clever flicker
#

VTC update is Very Good

unkempt hamlet
#

Thanks πŸ™‚

strong quail
#

Yay. System of notifications works. blobaww
Same goes to settings of user.
The only things left to do are:

  • report generator (from defined period of time),
  • add load for ATS (because I didn't add yet),
  • implement installer,
  • introduce dark theme.
    Then release to public and afterwards I'll start working on next version. blobblush
#

Release is planned on 22th of September, not sure at what hour.

strong quail
raw notch
#

thanks πŸ™‚ i prefer Trucky tho πŸ˜„

strong quail
#

Will change ok

raw notch
#

thanks, appreciate

strong quail
#

You're welcome. blobblush

ember canyon
strong quail
#

Hm... I'm stuck right now, because mPDF doesn't handle Polish letters (even though everything I right is in UTF-8 without BOM).
Instead of "Ε‚" I got ❓
Any ideas?

north flax
#

What font?

#

Made sure it actually is set to use UTF-8, and didn't default to ascii or something?

opal arch
#

Has anybody used ReSharper C++ for VS2017? Like if you feel it is necessary or not. I am quite wondering if I should keep using it as I am trying it right now

cinder spear
#

never tried it because of the cost, but it seemed to have very useful features

unkempt hamlet
#

Student Licence, everybody πŸ™‚

cinder spear
#

my uni account was deactivated 😦

#

then again, now I could afford to pay for it...

opal arch
#

The price is quite high, yep

cinder spear
#

let me know if you find it useful. Got a large C# project I'm still working on every now and then

opal arch
#

I use ReSharper C++ Kap
The only extension for C++...

cinder spear
#

ah

#

C++ tooling on Windows as a whole Kap

opal arch
#

It is seriously annoying to see so many features and extensions for C# and C++ is like nah

cinder spear
#

C# is the first-class citizen in visual studio

opal arch
#

Yeah, sadly

#

I better use CLion lel

cinder spear
#

C# being my favorite language I'm ok with it OpieOP

#
> cloc .                                                                                        20:24:49
     128 text files.
     128 unique files.                                          
       5 files ignored.

github.com/AlDanial/cloc v 1.74  T=0.53 s (234.8 files/s, 23512.7 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C#                             116           1109            942          10285
MSBuild script                   1              0              6             38
YAML                             2              3              0             18
Bourne Shell                     3              0              0              7
Dockerfile                       1              2              0              7
Markdown                         1              0              0              1
-------------------------------------------------------------------------------
SUM:                           124           1114            948          10356
-------------------------------------------------------------------------------
opal arch
#

Docker blobcateyes

cinder spear
#

running on ec2 on ubuntu

#

.net core has made C# a great choice for most things that don't need native UI

opal arch
#

no doubt

cinder spear
#

k8s is the end goal

raw notch
#

15 years of .net, never used resharper :D

opal arch
#

As I said, C# has quite a good support

ember canyon
#

Is somone here good at doing Truck & Trailer skins?

opal arch
#

Anyway, it may be due to my poor laptop but it makes VS so laggy and caused a crash while creating a new file

north flax
#

Lol :p

graceful belfry
#

Would a job logger in C# be easier (and potentially more stable) than in node js

unkempt hamlet
#

Well, C# version will require less computing resources for sure

#

If done properly

strong quail
#

@north flax Regarding your question, I used chelvetica.
I want to have a font that is like Arial-alike.

unkempt hamlet
#

That font is from 2007

strong quail
unkempt hamlet
#

Can you use something modern like Roboto?

strong quail
#

I use OpenSans

#

mainly

unkempt hamlet
#

Me likes Roboto (or Mono)

tidal zodiac
#

Roboto pandalovea

strong quail
#

Gonna use Open Sans, Roboto is also good - don't want to say that I don't like it, but I used a lot Open Sans in my projects.

#

Seems like change of the font happened quickly wondering

raw notch
opal arch
#

Where is some privacy policy?

covert terrace
#

error 404 not found

unkempt hamlet
#

well, 409 is Conflicting Request

covert terrace
#

Don't know what you mean Kappa

unkempt hamlet
#

Well, I know kung-fu. Namely, message logs athink

covert terrace
worldly tulip
#

Privacy Policy isn't avaiable without logging-in somewhere kappa

opal arch
#

well, he still should make the user know what he will do with the email address, how you can un-sign etc. in order to follow GDPR

worldly tulip
#

@raw notch

raw notch
#

true, it's correct. tho, gdpr applies (in a legal way) only to entities that gain money from privacy data

cinder spear
#

it applies to entities processing personal data as part of its activities within the EU or activities outside EU but targeting individuals in the EU

#

regardless of money

raw notch
#

i meant fines

cinder spear
#

it's very unlikely to get fined for it right now as a small entity anyway

raw notch
#

in Italy they are issueing some fines, actually, since some months. but, for admission of finance police, they are doing it only on denounce

raw notch
#

privacy added πŸ™‚

shadow marsh
strong quail
#

Awkward... It does work. MonkaThink

shadow marsh
#

πŸ˜‚

#

my code works always kappahmm

strong quail
#

Let me find Windows98 disc trollrun

#

I've done the most stupid thing which a web developer can do...

#

Guess what I've done... blobthinking

shadow marsh
#

do i want to know that atrollrun

tepid knoll
#

that reminds me of debugging my codes for CS classπŸ˜‚

shadow marsh
#

Thats me too, if i debug my code, if i code, when im tired dragonlaugh

unkempt hamlet
#

English here only @shadow marsh

shadow marsh
#

ups

#

wrong channel πŸ˜‚ thought i was in german picardfacepalm my mistake

unkempt hamlet
#

tl;dr: JSON.parse is quicker than creating object

cinder spear
#

...because parsing the code to create the object is slower than parsing json

#

curious about use-cases where you'd have a hardcoded object larger than 10kB though

unkempt hamlet
strong quail
#

Well... The publication of my script will be delayed, because I still need to deal with some stuff.

strong quail
#

Didn't want to put header and footer into their place, wanted to generate the report in such a way.

#

As admin, you are able to select the user which you want to check.
As non-admin you can only generate report for yourselves.

pulsar jungle
#

I know this is a month old.
GitHub supports WebAuthn which means you can use Windows Hello for 2FA with GitHub. And if you got an Android phone with a fingerprint scanner you may be able to use it as well for 2FA.
https://github.blog/2019-08-21-github-supports-webauthn-for-security-keys/

The WebAuthn standard for security keys is making authentication as easy as possible. Now you can use security keys for second-factor authentication on GitHub with many more browsers and devices.

unkempt hamlet
#

Ooooooh it works

#

Coool

pulsar jungle
#

I use that both on my Windows laptop and on my S7. It's really good

unkempt hamlet
#

This is not a place for bug reports

clever flicker
#

OK

unkempt hamlet
opal arch
#

That's the best portfolio I've ever seen lol

unkempt hamlet
#

Yeah, that's kinda interesting

cinder spear
#

doesn't even have a noscript tag telling to enable js

#

0/10

mystic ridge
cinder spear
#

another one without a noscript tag LUL

unkempt hamlet
#

Hey @raw notch, thank you for Trucky Online Map, very useful for the stream!

#

Two notes:

  1. Can you add a coordinates interpolation like ETS2Map did so dots will not jump around suddenly?
  2. There seems to be an issue when map lost a focus on me after a ferry.
raw notch
#

@unkempt hamlet thanks :) you was following you? I think when jump the ferry on the other side it loses the focus, right?

unkempt hamlet
#

Yep

#

It was out of canvas, I think

raw notch
#

yep, out of current bounds

unkempt hamlet
#

And what about interpolation? Can you do this?

raw notch
#

sure :D with some time available :D

unkempt hamlet
#

It would be so cool

raw notch
#

i would add also directions and convert cicles in rectangles

worldly tulip
#

circles are nice

unkempt hamlet
#

Yeah, circles are fine

raw notch
#

i dont like them really but has been useuful because of svg using in leaflet

#

are good for perfomances

unkempt hamlet
#

I have some thought about Streamer mod for this map though

raw notch
#

oh you embedded the map in an overlay?

unkempt hamlet
#

Yes

raw notch
#

interesting

#

how?

worldly tulip
#

removing the background just like a green screen

unkempt hamlet
#

Yep

raw notch
#

are you using the live map from the app?

#

not from webapp

unkempt hamlet
#

Webpage

raw notch
#

ok

unkempt hamlet
#

And cropping

mossy cloud
worldly tulip
#

We deleted all invites because of raids GWrjkKappaLUL

raw notch
#

@mossy cloud thanks will fix it

mossy cloud
#

np

raw notch
#

@unkempt hamlet well I could add an embed parameter to remove all around the map and let usable as standalone

unkempt hamlet
#

It will be nice too

#

Also, I though about some cool stuff like nearby city names floating in the bounds

#

But it is way more custom

strong quail
#

Time for some learning of Node.js

#

First problem - WSL come with old npm which in my case causes to crash when trying to run a script kappa

#

Maybe that's a problem with the package that comes with Ubuntu 18.04 WSL or idk... blobshrug

unkempt hamlet
#

Well, just pull node and npm from nodesource

strong quail
#

I went with downloading from official site

unkempt hamlet
#

And use Ubuntu package rather that with version

strong quail
#

I got a tar.xz

unkempt hamlet
#

Use a provided instructions on Nodesource with repo

#

It is way more fluent

strong quail
#

Finally blobjoy

#

I'm beginner, so yeah... kappapride

strong quail
#

Idk what I do wrong...

#

Idk if upgrading dependecies will give me much...

#

Nvm...

#

Just VSCode is making problems when opened a WSL folder..

strong quail
#

Do you have any ideas how to render uploaded earlier image?

unkempt hamlet
#

What do you mean "render"?

strong quail
#

I mean to display an image

unkempt hamlet
#

What is your project about?

strong quail
#

My project is to upload an image and display it afterwards.

#

Once the image will be clicked again, it should go to upload a file and so on.

#

For now I have uploading of the file

#

Okay - got it blobjoy

unkempt hamlet
#

app.use('/uploads', express.static(__dirname + '/public'));

strong quail
#

Meh... I'm struggling kappa

unkempt hamlet
#

It's fine

strong quail
#

I got 404 when I want to render this image... The Node app is located in other directory than localhost, so... aBlobSadCloud

#

Wait a second...

#

Nah... still the same. 😏

meager olive
#

Are you linking to it correctly?

strong quail
#

Idk what do you mean. blobjoy

meager olive
#

nvm I am not sure what you are trying to do lmao

#

Are you trying to load an image on a html page?

strong quail
#

I'll show you by giving you a bit of my code, so you can dig in.

#

I display a page

#

On this page there is a form.
I upload the file with use of AJAX + jQuery combo (plus multer).

#

The file must be an image.

#

After uploading, the image should be displayed, but it doesn't

#
server.js - https://pastebin.com/zEbf5Hch```
#

If you need a package.json, tell me.

meager olive
#

Okay let me see, I don't have much experience but I am currently working with NodeJS myself for a chat app so I can take a look PES_ThumbsUp

strong quail
#

Side note - I use LTS version

meager olive
strong quail
#

I can't use DB.

meager olive
#

ahh okay

strong quail
#

That's a catch

#

But... I could store it in the file MonkaThink

#

Idk...

#

It's my first time with this language and I just can't get through it.

meager olive
#

It's difficult to start with for sure

#

I am making an application in Electron right now with nodeJS too

#

It's really confusing lol

strong quail
#

I mean... I know how to render page in Pug

#

It's quite easy, but...

#

This damn displaying is a tough task.

unkempt hamlet
#

This is a pretty established task in Node.js world, so there must be any sort of manuals and tutorials.

strong quail
#

Got it

#

But now I need to make CSS

#

And last file to be shown

#

Sorted out.

strong quail
#

And now I've another problem XD

#

After changing image I want the user to be able upload again, but I don't want to refresh the page

#

But when I click on image after changing it to diff, it's stays static - function doesn't work

strong quail
#

Sorted out again.

unkempt hamlet
strong quail
strong quail
#

I give up xD

#

How to make a device load a new stuff...
On PC works amazingly...
On tablet/smartphone - it doesn't load anything

#

In fact it caches...

#

Tried meta tags it doesn't help kappa

#

jQuery doesn't help here - whatever function I use - the same effect

strong quail
#

I think that day without an issue it's not the day...

#

Now I try to get my cookie with use of cookie-parser.
There is a cookie named "node-id" with a value from 0 to 9.
I use this value to separate devices.
Thanks to that I would display different images etc.
But seems like Node.js doesn't get this...
Even if I'm uploading to the file, res.cookie['node-id'] gives me undefined and uploads a file, but req.cookie['node-id'] gives an error and doesn't continue with upload.
What can be a problem?
blobthinking

strong quail
#

Nvm - sorted out again. blobjoy

meager olive
#

Trial and error baby πŸ˜„

unkempt hamlet
#

It is funny that TDD development is "Error and trial" troll

pulsar jungle
#

Lol

strong quail
#

That situation when code works on the other script and when you change, it doesn't...

#

(β•―Β°β–‘Β°οΌ‰β•―οΈ΅ ┻━┻

raw notch
#

what do you think about this new home screen look?

unkempt hamlet
#

It's fine, I guess

raw notch
#

I'm not so convinced, yet. I think it looks nice but there is something to improve as UI. it's thinned to be a quick dashboard when you open the app, not the informations listing but something more organized and precise.

cinder spear
#

not a fan of the styling of the tiles

raw notch
#

neither me, but honestly is a good way to organize little pieces of informations in small space

#

@cinder spear oh you mean you don't like that style of those times or the tiles themselves?

cinder spear
#

the big grey buttons

#

I like the positioning. I don't like the color or the text alignment or the borders

meager olive
#

Yeah the text alignment seems a bit off

raw notch
#

you are right guys, indeed i dont like it, maybe i'm near to final result but now.. meh

meager olive
#

Perhaps you can do it like this:

#

3 traffic jams
Calais (City)
10 players

#

Everything underneath each other instead of it running out of space and then misaligning

raw notch
#

i'm thinking about 2x1 boxes instead of 1x1 with icon to the left and text after it, to have more space

meager olive
#

The rest of it looks fine imo, you can always go with some flashier colors and/or animations but that's optional

worldly tulip
#

"flashier colors" > ultra pink

meager olive
#

Well flashier can also be the image above

cinder spear
#

the usual red could work well as background color for the tiles instead of the light grey

worldly tulip
raw notch
#

all that red is a bit "heavy" 3v

worldly tulip
#

also that's dark theme one

meager olive
#

That already looks better IMO

#

But I've never liked light gray so it's just personal preference

worldly tulip
#

wanted something dark

#

but not white

meager olive
#

Maybe the white background of the logo can be removed and the logo made white instead

worldly tulip
#

that's what i suggested to dow

raw notch
#

well, it's a banner that

worldly tulip
#

oh wait no

meager olive
raw notch
cinder spear
#

that looks pretty good

raw notch
#

definetly better

#

well traffic could be expanded with like first 3 location, maybe for each server? or on sim1?

#

i mean, what do you expect to see on the home screen?

worldly tulip
#

traffic

#

friends

raw notch
#

friends load will take a while

worldly tulip
#

hotmap of cd on the main page

cinder spear
#

my personal priority would be

  1. friends
  2. events in the next day or two
#

My recommendation? Don't pay too much attention to the order first time around. Add tracking to see how much people use each button and listen to feedback after people have actually had a chance to use it

raw notch
#

ah well, friends and map are most used screens

cinder spear
#

the homepage is great for current events that might be of interest

cinder spear
#

(events in general, including uncommonly busy areas for example)

worldly tulip
#

what about sth in the settings about changing where each box should be

raw notch
#

drag and drop

#

challenging

worldly tulip
#

not necessarily

#

arrows

#

actually people don't pay attention to traffic because everything is already on the home screen

glass rampartBOT
#

TruckersMP Announcement

In the newest version of the website, 2.9.8, released on 24th September 2019, we added a new property to the /v2/servers API end-point - promods. It has boolean as its type and you can read the full description in our API documentation: https://stats.truckersmp.com/api#servers_list
We recommend you to carefully read the description as it can be a bit tricky.

quartz moth
raw notch
#

still some work to do but..

strong quail
#

@raw notch Still great work blobthumbsup

#

This night I'll publish some photos from installer.
Actually I would make...

#

I love this new font RooHappy

#

Font -> Cascadia Code

meager olive
#

Is Cascadia code any useful?

#

It's like windows powershell but more Linux-ish right?

strong quail
#

It looks nice...

#

And it's from Microsoft blobshrug

#

And it's on GitHub WeSmartGif

#

The link to setup password will be sent as test of SMTP.

#

API and db is needed, aswell as other mentioned stuff (logotype, ID, name and slogan of VTC)

strong quail
#

That's only component that I need to develop...
Then I want to implement dark mode, but I'll do it in the meantime.

#

For 90% this sunday the script will be published...
Maybe in the meantime I'll start developing some other application in... nodejs

#

E.g. link shortener

strong quail
#

Idk why, but latest update of VS Code has upscaled the interface to 125%, how do I setup on my laptop... notlikethis

winter badge
#

What are you making arus?

strong quail
#

@winter badge Tachograph for VTCs
It's like TrucksBook, but you need to fill out the form manual.

#

And it's has some cool features (and more will be added after publication)

winter badge
#

Sounds interesting

#

I was once thinking about making a tachograph mod, like the actual device

strong quail
#

I posted here a lot of pictures...

#

You can also check my thread (however it's in Polish, so... blobshrug )

#

But this sunday the script will be published both on English and Polish section

#

On GitHub aswell (GPL v3)

winter badge
#

You got a link?

#

Or is it not public yet?

strong quail
#

Atm repository is private πŸ˜›

winter badge
#

Gotcha

#

Good luck on the development!

strong quail
#

(Not) Thanks blobjoy

#

That's a list for now...

First version.
Includes:
- trip system (adding, accepting, rejecting with notifications)
- recrutation system (using SteamID API via SteamAuthenticator by SmItH197 and TruckersMP API [Player and VTC])
- support for latest DLCs (not added cities/loads yet - only names)/mods (not built-in)
- roles (built-in 2 roles)
- and more
#

In this list I should add a generation of reports for users to PDF with use of mPDF

unkempt hamlet
strong quail
#

It works!

#

Hurray! RooHappy

#

My... 1400 lines of code has worked perfectly...

unkempt hamlet
#

Did you have any tests? What coverage? troll

strong quail
#

I'll send it to my beta testers today, so if there will be any problems - I'll tweak them.

unkempt hamlet
#

You didn't get me

#

Feature tests? Unit tests? Etc

strong quail
#

Oh... okay

#

Maybe I'm not understanding what I should do atm...

#

But for now everything is tested by my beta testers.

unkempt hamlet
#

You have 1.4k lines of code and no automated tests. It can be really hard to support on the long run.

strong quail
#

Most of stuff is SQL queries with content, I can't import them from file. kappa

#

(i should go Laravel...)

#

During inserting when it is critic step, I ask if everything is okay.
If so, then he continues and that until 5 upload.
Then it checks connection to SMTP.

#

Afterwards if everything is fine, it writes settings to db, db data are stored in the seperate file.

#

And locks installer, so nobody can use it again

#

That's it.

#

Also at beginning it checks if there is connection to db.

#

And fun fact - user gets link to setup password while checking SMTP.

#

So if he received a mail, then there is also working, if not, it will display error.

#

We will see in practice - maybe one day I'll decide to change it to something else...

winter badge
#

Unit test are often tedious to make, they work great, but often cost more time to maintain, then that they actually help

#

Depends on the program, but for websites it's often redundant

#

Arus, if you're using php, use something like migrations

#

They are more secure, and you would not have to make a 1200 lines file

mystic ridge
meager olive
#

F

strong quail
strong quail
#

Scheduled time of publication - this Sunday, 12PM (UTC+2)

quartz moth
#

Hey, I know this is a long way off but if in the future I wanted to become a TMP developer what languages/frameworks would I need and what skills would be required.

Also does anyone have any resources for learning these frameworks and languages.

Regards Coolio85

rugged copper
#

The website is written in Laravel so a strong understanding of that and PHP is essential. Probably a portfolio of work as well. The mod is written in C++, so I’m guessing you would need to be able to write fluently in C++ and understand reverse engineering

#

All though, developer recruitment isn’t something that is public

quartz moth
#

Thank you Ratcho, I am currently learning PHP and when I get good enough with that I'll probably move on to learning Laravel because a lot of people have said that it is really good

unkempt hamlet
winter badge
#

Binary tree looking like a double linked list

strong quail
#

Soon I'll publish the thread in proper subforum πŸ˜‰

unkempt hamlet
#

You should really look at Laravel and similar frameworks though

#

This will make your code more maintainable and readable.

#

Also you will have proper templating engine

opal arch
#

Yeah, it looks like ETS2MP v1 website πŸ˜„

unkempt hamlet
#

I've never seen ETS2MP v1 code πŸ™‚

opal arch
#

You lucky guy

unkempt hamlet
#

Well, I did my Thesis with the same technique over a week, it was a nightmare.

strong quail
#

@unkempt hamlet It can be that I'm not yet developing in proper way. πŸ™ˆ

cinder spear
#

the lack of any sensible sorting in router.php NotLikeThis

unkempt hamlet
#

Btw now I've seen ETS2MP v1 code and I am kinda regretting of it

strong quail
#

Add to that that I target mainly users, who have their VPS servers or hosting, so idk if Laravel would be an option here...

#

I didn't check it yet, because I don't have that much time...
For now I try to guess what's wrong with my Node.js script notlikethis

unkempt hamlet
#

I even had terminal access to non-root user with Composer working back in my days

#

On the shared

#

And it was quite cheap

strong quail
#

Well - I don't have such abilities kappapride

#

I can however check perl library

#

Or pear

#

And I do have auto-installer for other scripts, but the only one that I use is WordPress (waits for lynch)

opal arch
#

Laravel runs very well on a VPS blobcatthumbsup
But it does not have to be only that one framework, it can be anything that is somehow good

strong quail
#

We will see...

#

@cinder spear Don't worry - I'm gonna make fixes to some things, so don't worry.
For now I wrote in the way (everything not in place yuno )

#

Already I'll have to push first commit... notlikethis

#

I'm gonna create a documentation for the project during the week when I'll have a break

strong quail
#

The worst thing is that I don't have any website dedicated to the script and the only page is GitHub repo πŸ˜‚

#

For now then I'll leave here only URL to repo and I'll not publish topic then shrug1

mossy cloud
#

@strong quail Are you actually doing any database validation on your queries? You've got:
$id = $_SESSION['role_id'];
$f3->set('result',$db->exec('DELETE FROM roles WHERE id = '.$id));

but then on you router.php you have:

strong quail
#

Well... There are some things that I'll take a look.

mossy cloud
#

You need to make sure people can't pass values in that shouldn't be πŸ˜›

strong quail
#

Will fix that @mossy cloud.

mossy cloud
#

❀

strong quail
#

Thanks for report RooAww

mossy cloud
#

No problem, but that's pretty major πŸ˜›

strong quail
#

Yeah badpokerface

opal arch
#

That's why you use frameworks as they usually take care of this

unkempt hamlet
#

It is funny coz he pretty sure knows about that and actually uses that in code

rugged copper
#

@strong quail why have you pushed your vendor folder?

rugged copper
#

I would still highly recommend against it. There are other frameworks which don’t use composer like codeigniter which might have been a better option in this case

strong quail
#

We will see... For now I'll stick with. As I said earlier here - next projects will be created on other frameworks.
I don't want to change it right now.
I had the same situation when I wanted to start and use object based PHP against procedural one in my older script.
The change was too big and in that case I gave up.
Now this framework for sure is better than normaln PHP, but I keep in mind that there are better options.

modern solstice
#

What exactly are you making @strong quail ??

modern solstice
#

What is it?

strong quail
#

In short way - VTC system which you can install on your own server.

modern solstice
#

Uhh

#

In need of beta testers?

strong quail
#

@modern solstice For sure I want new beta testers, however atm I need to prepare my Discord server in order to invite you.

shadow marsh
#

if you need help πŸ˜„ DM me arusf ^^

strong quail
#

@mossy cloud All has been fixed.
Now there shouldn't be any possibility to do such a things.
Because I use F3, the most of the things are bindable, so there is sanitization.

mossy cloud
#

Good, well done

strong quail
#

It's weird, but I have in two different folders the script - my dev place and release.

unkempt hamlet
mossy cloud
#

Don't quite think this is necessary now πŸ˜›

unkempt hamlet
quartz moth
#

I think CJ likes the pogger emote xD

unkempt hamlet
#

This is my face when something interesting happend

winter badge
#

Currently working on a laravel/vue app

#

You should consider using laravel arus πŸ˜‰

#

There are almost no better alternatives for php

#

And like racho said, pushing your vendor folder is highly discouraged

#

Same for your npm packages

strong quail
#

Well... If you happen to use a hosting that has ssh and has built-in command for node and npm, then you're lucky.

#

I had a contact with hosting that let me install the app... but if I wouldn't have other modules, perhaps it'll fail everytime...

strong quail
#

Soon I'll publish docs, demo website will be available shortly with the website dedicated.

rugged copper
#

You would just compile JavaScript packages and components. So you wouldn’t need node or npm on a production server

restive canyon
#

I have a question. Is it perhaps possible to remove from the new patron story in multiplayer the emblem after the nickname. To be honest it doesn't look nice if you have left and right two images http://prntscr.com/pducp2

Lightshot

Captured with Lightshot

night rootBOT
cinder spear
raw notch
#

my first laravel app in production :D

strong quail
#

Nice

#

Maybe if I'll have money, I'll buy VPS and once I'll switch to it, I'll start to write application in Node.js RooAww

#

I really like this framework.

opal arch
#

Nice to see that!

raw notch
#

@strong quail try heroku

opal arch
#

How was it to work with Laravel? :p

raw notch
#

laravel Is great, finally a good framework to do things in php without going crazy and write a lot of useless code because everything is nearly already done

#

I did also some advanced task, like implementing middlewares, custom scopes, advanced relations btw objects and where things get too complicated, use some custom query

#

implemented custom email with markdown using laravel templates

strong quail
#

hides somewhere in order not to get pinged

worldly tulip
#

oops

strong quail
opal arch
#

Really nice to hear, downmeister. :)

mossy cloud
#

I really, really wish I did my project in Laravel now, but I'm too far down the track to use it D:

#

Will have to get this coded fully first, then re-write in Laravel to future-proof

raw notch
#

@opal arch I think next advanced level to try is queue system

#

to do more things in asynchronous

opal arch
#

It is never late, Penguin

#

If you like developing websites and you have some free time at the week, it is worth to look into new stuff

mossy cloud
#

I don't have the free time though, I'm working in the day, then night-time is Community Management / wind-down

opal arch
#

And the queue system is indeed an advanced level, I would say. The important thing is you should not use it for everything, otherwise, you will just flood your server :D
It is worth for stuff like mails, notifications, sending stuff to other web API, ...

mossy cloud
#

Plasma's new website πŸ˜›

#

File Structure anyway πŸ˜›

#

So as you can see, might take some time to convert to Laravel πŸ˜‚

unkempt hamlet
#

Yeah...

mossy cloud
#

But yeah, the entire site's written in pure/procedural PHP, but I'm learning a lot from it, so in a way I'm glad I haven't done Laravel, as I need to get the basics down first before converting it

raw notch
#

yes, true

mossy cloud
opal arch
#

well, it would be easier to learn Laravel then, Penguin

mossy cloud
#

I want to get this site out by Nootmas though

#

Then convert to Laravel once I've got a working site

raw notch
#

noot-wot?

mossy cloud
#

Nootmas: Christmas in Penguinese πŸ˜›

raw notch
#

i like Pingu when I was young

mossy cloud
#

Look I just like penguins okay :3

#

Haven't seen a pingu episode since I was really young lel

worldly tulip
#

penguin sliding kappa

winter badge
#

That event planning site looks promising!

#

I heard that the steam API is a pain to implement, is that true?

unkempt hamlet
#

It is not

#

However, it is a pain to receive ACTUAL data

winter badge
#

I should look into it soon

#

Quite curious on how it works

winter badge
#

Alright, it is horrible

#

That openID thing is vague

cinder spear
#

openid is a well documented standard

winter badge
#

But the way the steam API uses it is not

#

OpenID is like the older oAuth right?

cinder spear
#

no

#

OpenID is a way to authenticate
OAuth is a way to authorize
OpenID Connect combines both

#

Steam uses OpenID 2.0 AFAIK

raw notch
#

@winter badge which language? nodejs or php?

winter badge
#

php

raw notch
#

socialite offer a easy implementation

#

https://github.com/overtrue/socialite there is also for laravel and the integration is so easy you wont believe, for nodejs instead use passport and passport-steam

winter badge
#

Ohh thanks a lot!

raw notch
#

steam uses a standard openid implementation

winter badge
#

so you can use that package for steam as well?

#

I feel like i'm asking stupid questions xD

raw notch
#

i think so, I've used socialite for laravel

#

and passport in node

crude pebble
#

How do you make an html5 radio player?

#

using a template

unkempt hamlet
#

Life never prepared me for something like this.

fervent axle
#

someone is using the package named Laratrust? Cuz I need help

rugged copper
#

What do you need help with?

fervent axle
#

I'm getting this error when I wanna return the role name:

Undefined property: Illuminate\Database\Eloquent\Relations\MorphToMany::$display_name (View: C:\....\.....\reboot\resources\views\user\base.blade.php)
    public function index($id)
    {
        $user = User::where('id', $id)->first();
        $roles = $user->roles()->get();
        return view('user.base',[
            'user' => $user,
            'roles' => $roles
        ]);
    }
opal arch
#

There is no issue with this code

#

The issue is located in the view

fervent axle
#

will take a look, thanks

#

I solved this by adding "first()" in the view

opal arch
#

Well, you were probably doing $roles->display_name, I guess?

fervent axle
#

yeah but I was wrong so I've edited/removed the $roles in the controller and I've added this
{{ $user->roles()->first()->display_name }} in the view

#

now it's working fine

opal arch
#

roles()->first() can be tricky as you are not specifying the order so roles are ordered by their ID. In the future you may want to change this behavior so you better make some getter for it :p

unkempt hamlet
#

I am kinda dreaming about TruckersMP frontend written on Vue...

ember canyon
#

Vue.... with Databinding.... soooooo nice πŸ˜„

winter badge
#

Vue is really spicy

#

Works the best in a SPA

north flax
#

Works well for single dynamic components as well, since Vue actually provides decent support for that looks at angular

#

Depends on your need and use case really

winter badge
#

It work for pretty much eveything

#

I like how it is getting more and more recognition

#

It is way more clean and straight forward then React and Angular

#

And i simply do not trust react

cinder spear
#

trust?

raw notch
#

^^^^^^

unkempt hamlet
grizzled kernel
#

what color format is "tag_color" in config.txt?

arctic mica
#

decimal

grizzled kernel
#

Thank you πŸ™‚

arctic mica
#

np

grizzled kernel
#

At first i thought it might be hexadecimal

#

but it was decimal without the hex

#

What's the formula for RGB to decimal?

arctic mica
#

no clue, I just use a converter

grizzled kernel
#

found an answer on stackoverflow it was in reverse tho(B, G, R)

#

I managed to get it working though because i saw that they were flipped in game

drifting wasp
#

@unkempt hamlet dammit, I was deadass about to post that and then saw you already did πŸ˜‚πŸ˜‚

#

Randomly showed up in my YT Recommended

unkempt hamlet
#

inb4 Laravel 986 - dddddddddddddddddddddddddddddddddddddd()

winter badge
#

Interesting πŸ™‚

ember canyon
#

ddd πŸ˜„ lol nice

#

DoubleD for Men... but TrippleD for nerds xD

unkempt hamlet
#

print_r()

ember canyon
#

thats oldschool πŸ˜„

opal arch
#

It is a nice feature but the name is a bit... meh

ember canyon
#

ye looks like "fill in the missing letter" πŸ˜„

#

that's what a trainee with me times thought πŸ˜„ he should enter the missing letter

cinder spear
#

var_dump()

unkempt hamlet
#

Pathetic

cinder spear
#

var_export() is a fun one

ember canyon
#

what i love... when developers push updates lives and forgot a "die()" in their code...

cinder spear
#

what I love is wrapping the whole program in a try catch so it can't crash Kapp

ember canyon
#

wuarghs

shadow marsh
#

i only do try-catch, where its need to be πŸ˜„

#

but i did get the Joke atrollrun

cinder spear
opal arch
#

Huh, what is this hell

cinder spear
#

it's a 5-year-old pet project

unkempt hamlet
opal arch
#

Messages Processed 47 549 933 436

#

GDPR Kap

cinder spear
#

not stored

opal arch
#

Ah, only a number, alright

cinder spear
#

it stores debug logs for 1-2 days

#

and that's around 60GB

unkempt hamlet
cinder spear
mystic ridge
#

OwO what's this

cinder spear
#

it's my twitch bot's stuff

pulsar jungle
#

Stats look pretty good πŸ‘

raw notch
#

i like graphana

cinder spear
#

I like grafana but I'm not a huge fan of graphite

mystic ridge
#

you know what I'm not a huge fan of? Dyno Kapp

opal arch
#

who nowadays is

#

I wish I had some time, it would be neat to have an own moderation bot connected with the website :3

unkempt hamlet
#

True

meager spoke
#

Do it then kill
Kthx K_Kappap

unkempt hamlet
meager spoke
#

I know how to code bots, but I have no clue how to connect them with websites

opal arch
#

just API calls

#

it is not a rocket science

meager spoke
#

The only API I know how to use is getting info like users id, current song on the radio etc. πŸ˜‚

#

I'm not great with it, ngl

arctic mica
#

nonono not Chris xD

#

It really ain't hard

wicked bluff
#

who can help me?

#

i have a big problem :c

cinder spear
wicked bluff
#

3ventic accept my friend request

drifting wasp
#

Admeen Help

wicked bluff
#

how can i install pear XXTea on xampp

#

Checking required modules:
PHP XML-RPC module Not found

drifting wasp
#

Just add a ";", it'll fix it πŸ˜›

cinder spear
#

what OS/distro are you running on?

wicked bluff
cinder spear
#

ah right, xampp is the windows thingy

wicked bluff
#

ye

cinder spear
#

watch the language please

wicked bluff
#

sorry

#

i am stressed

cinder spear
#

you'll probably need to install php outside of xampp

#

with the optional xml-rpc module enabled

wicked bluff
#

btw i need to install it inside because i am using htdocs of xampp.

#

so i can acess to localhost.

unkempt hamlet
#

Finally!

cinder spear
#

awesomeeeeeee

#

Beta program for this app is currently full

north raven
#

twinkle twinkle little star

unkempt hamlet
cinder spear
#

Nice menu

north raven
#

i love those kind of menus

worldly tulip
#

truckersmp on the authy beta looks a bit weird lel kappa

unkempt hamlet
#

Β―_(ツ)_/Β―

raw notch
strong quail
#

In the meantime (when I'll develop a new version of tachograph - BTW If someone can check the issue that was published on my repo if there still is, I would be grateful... 😊 ), I'll start working on new portfolio based on Laravel.

ember canyon
#

url? can't find it rn πŸ˜›

strong quail
#

Meh... I'm now thinking what I might done wrong while copying my Joomla project to another installation

raw notch
#

there is an error in your sentence: joomla

strong quail
#

@raw notch Don't even ask me...

#

I know that creating a project for it is a pain in the ... bucket

raw notch
#

so why use it? :F

strong quail
#

🀷

#

People have used that in the past and I suppose that they don't want to change it.

raw notch
#

it's the right time to change!

unkempt hamlet
#

You have many mistakes in the word Laravel trolldance

strong quail
#

Tell them, not me... πŸ™Œ

ember canyon
#

we decline customers using Joomla πŸ˜„

strong quail
#

For now I don't have enough time to check Laravel, however once I'll sort out with my studies, I'll take a look at this.

ember canyon
#

You are always welcome to join the Discord server.

Link to it is here.```
#

no link...

#

tachograph is kinda "drivershub"?

strong quail
#

@ember canyon Soon I'll publish a link to it, don't worry.
Hm... Maybe?

#

I didn't hear about it

ember canyon
#

i'll check it out πŸ˜‰

#

it's ok for you when i'll do some security checks on it?

strong quail
#

Sure, it would be even better, don't hesitate to do so

pulsar jungle
ember canyon
#

...when u forget to regenerate the models for a form πŸ˜„ and fire it up and all booleans get false arghs xD

meager spoke
#

@ember canyon Please do not ghost ping upper staff team members.

strong quail
#

I'll fix all reported issues once I'll reach to my repos

strong quail
#

I really hate installing MariaDB... Sometimes I got errors... Like right now...
Continuosly...

Access denied

shadow marsh
#

I hate MariaDB in installing too

#

MySQL was easier to install peepocry

unkempt hamlet
#

What about Percona?

shadow marsh
#

Percona is exactly what? πŸ˜…

unkempt hamlet
#

MySQL fork

shadow marsh
#

catthink never heard about it. Are all SQL-Commands the same?

strong quail
#

I'm trying not to rage because I have on my laptop the proper installation of MariaDB server

#

And now on the same distro it can't install

#

wth

#

On my PC ofc

shadow marsh
#

Its vice-versa on me lol

On the main server it did worked. On my localhost server, he is playing crazy LUL

The funny thing, its the same OS and the same version lol

strong quail
#

I've decided to install MySQL server

shadow marsh
#

Okay

prisma robin
#

Why do you guys, TMP DEV's do not make an automatic update system, like a "bootstrap" automatic file update when we start the Launcher, without click on "Update" That maybe an idiot question but... idk

meager spoke
#

I believe it's useful, as you always know you had an update
Plus it doesn't hurt to click one button lul

strong quail
#

arecki@KOMPUTER-AREK:/var/www$ service mysql start

  • Starting MySQL database server mysqld
    Password: (enters)
    su: Authentication failure
#

(β•―Β°β–‘Β°οΌ‰β•―οΈ΅ ┻━┻

shadow marsh
strong quail
#

Neither with sudo, neither without

cinder spear
#

that would be your account password

#

the one you set with passwd

#

and should use sudo

#

it might be asking for root pw without sudo, but I don't remember

strong quail
#

Bruh... Even when I've typed my pass, the same happened

cinder spear
#

it's been like 6 years since I used service and not systemctl

#

is that WSL or a full linux?

strong quail
#

When trying to run with sudo service mysql start it shows me this

  • Starting MySQL database server mysqld
    No directory, logging in with HOME=/
#

WSL, Ubuntu 18.04

cinder spear
#

sounds like you don't have a configuration file

strong quail
#

But now watch this...

#

When typing sudo mysql_secure_installation

Securing the MySQL server deployment.

Enter password for user root: (typing a pass for root)
Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

cinder spear
#

because it's not started, makes sense

strong quail
#

Even if the service is on

cinder spear
#

is there anything important in the databases?

#

(you know what I'm going to suggest Kapp )

strong quail
#

Not rly, just trying to configure this atm

#

Yeag

#

(β•―Β°β–‘Β°οΌ‰β•―οΈ΅ ┻━┻

cinder spear
#

sudo apt purge mariadb-server

strong quail
#

I can try again MariaDB

#

But for real sake

#

My patience is slowly dying...

cinder spear
#

works on my machineβ„’

strong quail
#

SSH to 3ventic's machine

cinder spear
#

I just have the problem that I don't remember what password I set for the database

#

good thing I don't need it

#

WSL is for running ffmpeg

strong quail
#

Hm...

#

unix_socket = auth_socket or not?

cinder spear
#

...where?

strong quail
#

Or should I go with mysql_native_password authentication

#

Since I still got error "Access denied"

#

After installing again MariaDB Server

#

Nvm - auth_socket isn't loaded, need to change to mysql_native_password, I guess

#

Yay

#

It finally works - needed to change to mysql_native_password plugin in order to run it...

#

Why? Idk

cinder spear
#

...plugin?

strong quail
#

Yeah...

#

plugin

ember canyon
unkempt hamlet
#

Huh?

winter badge
#

That's a special snowflake

worn hedge
#

* 0 what a lad.

winter badge
#

/r/programminghorror

quartz moth
#

So that just makes the margin 0?

worn hedge
#

Guy has probably spent hours trying to figure why he has a margin of 0 πŸ˜‚

#

Yeah. @quartz moth

quartz moth
worn hedge
#

Basically say the width is 1920 the calculation would be (1920 - 247) x 0 = 0

#

inline CSS as well.

#

What a guy

winter badge
#

Why does his stylesheet have an id

worn hedge
#

probably using some form of compiler.

winter badge
#

probs

worn hedge
#

No idea which, but he's probably using something component based and that style is within the component directly.

#

I did some questionable things with CSS back in my early days of developing but nothing that bad haha!

quartz moth
#

Is that TMPs code?

worn hedge
#

Doubt it.

quartz moth
#

Hope not xD

winter badge
#

@ember canyon where'd ya get this beauty from?

ember canyon
#

customer website from wix.com πŸ˜„

#

migrating it into a wordpress... they use this shit very often πŸ˜›

#

i would NEVER trust any company using a pic like this πŸ˜›

high sorrel
#

actual website will be on it soonTM!

deft pivot
#

ok, can someone help me? i just bought a new pc and it says it has aerocool fans, but when i try to install the software is says no device detected

strong quail
#

@deft pivot Go to #tech WeSmart Here we can help you the code.

deft pivot
#

oops i thought this is the chat

#

srry

glass rampartBOT
#

TruckersMP Announcement

With a website update today (13th October 2019) which is known as v2.9.11, the API contains a new attribute and one other attribute's backend was a bit changed. Please, read carefully the changelog! List of full changes can be found here: https://forum.truckersmp.com/index.php?/topic/86522-website-v29-release/

Added to the /v2/servers API whether an event is hosting a special event (specialEvent)
Changed the backend behind the ProMods attribute in the /v2/servers API (promods)

raw notch
strong quail
worn hedge
#

@unkempt hamlet Do you guys have a smaller version of your logo?

raw notch
#

hi, Trucky is searching for talented devs to work actively on Trucky Platform. Languages and technologies: NodeJS (Express), React, React Native, MongoDB, Laravel, MySQL. Query me for more informations πŸ™‚

north raven
#

react jodus

ember canyon
#

i would if i can... but im only saying developers what they have to do, im not that much a coder myself πŸ˜›

north raven
#

just wondering why js and php are mixed πŸ€”

raw notch
#

different services

north raven
#

inconvenient imo

raw notch
#

technologies must used when it's convenient to use it, Laravel for portals\complex site is better, Express is not so good for large sites but it's really good and faster for API

north raven
#

hm, cant speak against that

ember canyon
#

MongoDB for Backend and MySQL for Frontend?

#

or just different services?

north raven
#

database? frontend?

raw notch
#

Laravel => MySQL, NodeJS => Mongo, React\React Native => API

worn hedge
#

@raw notch Added you on discord.

raw notch
#

@worn hedge query me on dm when free πŸ™‚

opal arch
cinder spear
#

WP was a mistake

opal arch
#

But well, for business websites it is perfect

#

Everyone knows Wordpress and if you agree on a custom solution, some customers still may ask where are the features that WP offers

mystic ridge
#

I know one person who uses WP for... ecommerce. NotLikeThis

ember canyon
#

woocommerce? oooooof

raw notch
#

well, there are any others ecommerce free platforms out there?

unkempt hamlet
#

Joomla trolldance

strong quail
#

Hm...

#

Moodle

mystic ridge
#

PrestaShop is free

ember canyon
#

Shopware

#

but version 6 is way too dumb...

#

i believe it will fail because not that much customers will switch from 5 to 6

high sorrel
#

Moodle lmaoo

winter badge
#

Worpress is not as bad as people think

#

At the company I used to work for, we created custom "themes" in combination with only 2 plugins to create anything we wanted

opal arch
#

Well, Wordpress has improved a lot

ember canyon
#

the problem in wordpress are often bad realised plugins

#

that create security breaches or bad frontend like doubled otr trippled JS and so on

opal arch
#

That's not a Wordpress' issue :p

cinder spear
#

maybe not their responsibility but it definitely is an issue

#

after all, they fostered that ecosystem

north raven
#

create your own plugins

#

ez life

#

then its your issue

#

and you can fix it

opal arch
#

Well, it is an issue. But one cannot blame Wordpress that somebody cannot make a proper code

ember canyon
#

ye

#

and we earn money with peeps installing wordpress and 342870324045809458 plugins and then come to cry somethings not working or website is slow πŸ˜›

strong quail
#

On Friday/Saturday I'll publish BETA version of my script with new features.
I don't want to spoiler what I'm gonna do, but it'll be helpful for companies. 😊

#

Also - it'll be a long-term function

north raven
#

long term?

#

vtc stock market? Kappa

#

that would be p cool game actually

#

browser game

somber warren
#

Clickable names for reports OoohhhYeeeaahhh

opal arch
#

Wait... what? How is that connected with this channel?

ember canyon
#

wow xD ....ovh blocked one of our servers we use as monitoring machine for some customer servers... they thought we are trying to portscan servers... arghs!

shadow marsh
#

thats shit af xD

ember canyon
#

absolutely... 1st level support didn't understand my reply... we are monitoring servers not at ovh... and they won't believe the servers we are connecting to, are really our own ones...

shadow marsh
#

thats shit.... i hope, it get solved soontm

ember canyon
#

we got 2 extra monitoring systems to be safe becos some critical customers but it sucks.... when things like this happening in the evening when u want to play πŸ˜„

shadow marsh
lucid garden
#

any Fivem devs here?

fallow flume
last spindle
#

Well i used to be

quartz moth
#

Bit late to the convoy earlier but Magento is a good Ecommerce platform, we use it where I work

past shuttle
#

you mean Lua Developers?

drifting wasp
#

Does anyone know the best way to have have a shared documents partition for dual booting Ubuntu and Windows. :/ I’m kind of stuck

unkempt hamlet
#

In Linux create an ntfs-3g storage and use symlinks to link various folders within /home/user/ folder.

#

Then link them from Windows as well

drifting wasp
#

I’ll try that when I get back πŸ‘

#

I tried migrating the ’/home’ to an NTFS partition and found out the hard way that, that won’t work

unkempt hamlet
#

It is hard to do since Linux isn't really work well HTFS partitions imo

drifting wasp
#

Yea, permissions don’t go very well

#

Every time I booted into Linux after being in Windows, I couldn’t login properly

unkempt hamlet
#

Yeah

#

So stick with symlinked folders

drifting wasp
#

Will do πŸ‘

velvet root
ember canyon
#

πŸ˜„ well... it is a solution πŸ˜›

ember canyon
#

dbal QueryBuilder in Symfony with 15 Joins... i think it would be good to create some Indizes πŸ˜›

worn hedge
#

All tables should have indexes πŸ™‚

ember canyon
#

not rly everyone... depends on the content... if its just a relation table u dont rly need an indizes on it πŸ˜›

pulsar jungle
#

Good to know info

high sorrel
#

Just out of interest, do you guys know if there's any APIs for event websites and stuff like ETS2C or Trucky Events? πŸ‘€

trail vector
high sorrel
#

ah I've just found that, thanks a bunch! That'll be useful πŸ‘€ πŸ˜„

raw notch
#

@trail vector Events API on trucky contains also ets2c

#

sorry... @high sorrel :D ^

high sorrel
#

oh that's handy

#

thanks very much! 😁

unkempt hamlet
#

Any C# dudes?

prisma robin
unkempt hamlet
#

Any good parser combinator lib? I have a class-like structure and wanna parse it.

floral mist
#

I know that it is possible, but I forgot which library/function I used a while ago.

Depending on the Object/Class Notation, there is the default Serialization class "System.Runtime.Serialization"
https://docs.microsoft.com/en-us/dotnet/api/system.serializableattribute?view=netframework-4.8

or
LINQ https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/

strong quail
#

Jesus...

#

I don't have notepad at N, but when I type "notepad" it shows up.

#
  • We need to add that Notepad is synced now with MS Store, so... 🀷
unkempt hamlet
#

I do have that on N

high sorrel
#

it's always been under accessories, been there a while

#

don't know why everyone's so bothered by it anyway, this is notepad we're talking about

unkempt hamlet
#

That's why it is funny

high sorrel
#

πŸ˜‚

north flax
#

Also, Notepad is under the Windows Accessories folder in the program list, like it has been since at least XP, from the top of my head

cinder spear
#

it was just accessories before though

north flax
#

May have been a folder name change, but Accessories -> Windows Accessories is not a big change

#

But people decide to be stupid, jesus christ xD

raw notch
#

hey hey hey notepad is the best hobby of my daugther, is a vital program for me

north flax
#

When she's done with notepad, open VIM for her xD

raw notch
#

with vim you can do big damages, notepad is straight, no damages, no fear. Only "sdjkr985iufewijwed98ewqkmew4oiw98fweijq9832juhe"

unkempt hamlet
#

Notepad is straight. No. Just no.

north flax
#

On a serious note, someone did find a code execution exploit in notepad earlier this year πŸ˜›

#

Iirc

raw notch
#

i think my daughter after many random combinations could use it

cinder spear
#

it is just a name change but it does move the folder from the first thing on top to almost the last thing near the bottom of the list

glass rampartBOT
#

@ember canyon: This is primarily an English Discord, but you can head over to #579776826600325130 and react with the emoji flag of the country with the specified language (e.g. :flag_pl: for Polish). You can then access that language's channel.

fallow flume
#

said someone Romanian πŸ‘€

raw notch
#

developing in react native: 90% dealing with deps and compiling time, 10% coding

past shuttle
#

am i better off downloading bootstrap?

unkempt hamlet
#

For what?

past shuttle
#

web development

#

not used bootstrap in like years...

unkempt hamlet
#

It's ok

past shuttle
#

lost my ways FeelsBadMan

strong quail
#

Better download Bootstrap 4 πŸ˜‰

high sorrel
#

^

past shuttle
#

nah

#

probably just going to create my own framework

unkempt hamlet
#

Um, why?

cinder spear
raw notch
#

lol

high sorrel
#

XD

past shuttle
#

get confused over what to edit half the time while using bootstrap

unkempt hamlet
#

It's pretty straightforward.

ember canyon
#

bootstrap, since they use the flex system everywhere is kinda useful

#

and sooooo many themes or ready2use packages for administrations or GUIs

raw notch
#

use sass and won't edit nothing, only variables

past shuttle
#

ok imma confused, how do i install the bootstrap files and import it to html? tried @import but that aint working

#

am i missing something?

high sorrel
#

what do you mean import it to html?

past shuttle
#

install the files, place them into a css folder

#

then connect it

#

if that makes sense?

high sorrel
#

okay, so like this then maybe? ```html
<link rel="stylesheet" href="css/definitelynotbootstrap.min.css" />

???
#

It's been a while for me too but this may make sense in some way

past shuttle
#
<link rel="stylesheet" href="css/definitelynotbootstrap.css" />

i tried this but it didnt work, guessing i should have been trying min.css?

high sorrel
#

it depends what your actual file is called and stuff, so if it's a .min.css file then use that because it's slimmer i guess? hahaha

unkempt hamlet
#

And you thought about writing your own framework...

raw notch
#

oh boi..

lavish panther
#

Hello i have the Problem that there ist can Not inject core. Can some one Help me?

north flax
#

Ask support.

#

This is not a channel to get help with the mod.

lavish panther
#

OK

craggy kindle
#

Could sb of you tell me the command to enable the option for reversing a double/hct?

cinder spear
silk oasis
night rootBOT
opal arch
#

Please, check the topic of this channel, this is certainly not the correct place to report somebody

silk oasis
#

ok thanks

prisma robin
#

TruckersMP Devs? What is that EYES

high sorrel
#

that's a tachograph

#

but it looks interesting πŸ‘€

prisma robin
#

Yeah EYES That look like a mod, I have see files, that a dashboard thing

high sorrel
#

that would be cool

prisma robin
#

Yeah

opal arch
#

It has been there for years. Check mwl4's YouTube channel

prisma robin
#

In Texture files there is some button

#

I never seen it before Shawn EYES

opal arch
#

Well, as I said, it is quite an old thing. And it has never been used in the multiplayer with an exception for testing

prisma robin
#

Owh Alright, I just never seen that file in that DIR EYES Thanks for the information