#programming

1 messages Β· Page 12 of 1

wicked lava
#

also a cdn serves the files from the server closest to the user

amber oasis
#

make sure to use with SRI

rich flint
#

erm, i found this associated with jquery but it's a css

<link href="css/jquery.dataTables.min.css" rel="stylesheet">
amber oasis
wicked lava
#

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

amber oasis
#

jquery.dataTables.min.css

#

we are talking about jquery, not jquery.dataTables

rich flint
#

ahh alrighty

#

well i did cdn for fa5 and converted the icons and stuff, also done cdn for the jquery too

wicked lava
#

Don't forget to use a cdn for bootstrap πŸ˜‰

rich flint
#

there's one for that too

#

-_-

wicked lava
#

of course πŸ˜›

rich flint
#

bootstrap 4, not what i expected it to do

wicked lava
#

that link was for bs3

rich flint
#

i did 4 to see what it did

#

it turns out it was metro bootstrap in the bootstrap.min.css too and not just normal bootstrap then the metro one on top of it

#

i'll just make it completely different lool

amber oasis
#

pst. @wicked lava when talking about bootstrap cdns, don't use w3schools

#

Use their own documentation

wicked lava
#

still the best thing you can do is using css instead of bootstrap

amber oasis
#

using css instead of bootstrap blobcatthonking

#

Bootstrap is CSS

rich flint
#

🀦

wicked lava
#

I know. I mean selfwritten css πŸ˜‰

amber oasis
#

or more correctly, written in CSS

wicked lava
#

not just a html document with a lot of class tags

amber oasis
#

using css frameworks isn't necessarily bad

rich flint
#

erm, selfwritten css i hate doing

amber oasis
#

But there are better ways of doing it rather than overriding frameworks' CSS

rich flint
#

tbf that is a year old

amber oasis
#

Personally using Sass to bring in defaults from frameworks (and only parts I use) and overriding them as needed

wicked lava
#

I don't like frameworks at all... sure it's much easier to code, but imo they take too much work from you

#

I started my current project with some bootstrap and before it's finished I will have replaced everything with my onw css

amber oasis
#

Unless you're a designer, not writing your own CSS is perfectly fine

#

stop being elitist about writing your own css

rich flint
#

bootstrap is just great to work with

#

until you update it then it likes to be annoying

wicked lava
#

^

rich flint
#

i'm gonna switch it from metro bootstrap to material design bootstrap

#

gonna be hell but meh

wicked lava
#

When I started learning bootstrap I did 3 and 4 parallel for some way, until I decided to continue on bs4 rather than bs3

amber oasis
#

foundation is far better as you still get the basic components, but without all the bloat in styling that screams bootstrap

rich flint
#

the header wont go to the blue

#

i'm just gonna force the styles on it now

wicked lava
#

.bg-primary

#

?

rich flint
#

i did "primary-color" like it said and it didn't do anything so meh

small ermine
#

wha

rich flint
#

where it all goes to multiple lines and go weird before it goes to a full screen look

small ermine
#

oh it becoming one long one?

rich flint
#

with col-lg-4

small ermine
#

tried xl?

rich flint
small ermine
#

yeah isn't it supposed to do that?

rich flint
#

where it goes to seperate lines and then the length goes too high

small ermine
#

that's all you can do i think

#

XD

rich flint
#

well i got it all nice

small ermine
#

woop

rich flint
#

Metro bootstrap (bs3) to Material Design Bootstrap (bs4), all but one css file (which is custom css) is on CDN

#

And gone from fa4 to fa5

small ermine
#

ayyyy

rich flint
#

gone from 131 files to 7 files LOL

#

somehow i had tinymce in there but i think that was something that failed rly badly

#

gone from 1.113MB to 98.4KB LOL

#

well it seems better lool

wicked lava
#

it is better πŸ˜‰

small ermine
#

Oof

#

That's TONS of space freed

#

πŸ˜‚

rich flint
#

lmao

#

looks way better

#

more 2018 than 2012 lmao

#

well that's 2 releases i've done today

#

i bet those who have watched it are annoyed af now

#

that shall be it for a while

#

for now, i'm gonna do something better πŸ˜›

small ermine
#

πŸ‘Œ

#

I've done a lot today too xD

wicked lava
#

I do the most stuff at night

#

don't ask me why

#

I don't know either

small ermine
#

πŸ˜‚

#

I've spent about 30-35 hours on this bit so far

#

Only two thirds done

rich flint
#

on what tho? blobhyperthink

small ermine
#

My driver panel

wicked lava
#

the truckers' database I guess πŸ˜‰

small ermine
#

πŸ˜‰

rich flint
#

gg

#

i wanna go for a drive on ets2 but i know i'll get bored and alt+f4

small ermine
#

XD

#

Go drive a little

rich flint
#

i need to be in a vtc again that's active

small ermine
#

I've got 86 of them πŸ˜‚ πŸ˜‚ πŸ˜‚

rich flint
#

the fact that no good vtc will accept under 16s -_-

small ermine
#

πŸ˜‚

rich flint
#

yet i was in one when i was 13 that told me not to disclose my age to people

#

a.k.a. viva trucking

#

anyway

small ermine
#

XD

rich flint
#

they denied me when i applied so meh

wicked lava
#

vtcs which do not accept players under 16 are no good vtcs 🀷

rich flint
#

gg

#

cos those over 16 usually are always busy

wicked lava
#

but seriously - why don't you want to drive around independently?

rich flint
#

it gets boring when nobody is online to drive with rly

small ermine
#

I could get told off for this, but there's a good active one for 13+

#

Long as you log 10k miles a month

rich flint
#

O_O

small ermine
#

Which isn't hard

rich flint
#

i only managed to do 10k miles in my scania i had since december

#

anyway

#

what is it called?

wicked lava
small ermine
#

XD

rich flint
#

erm

#

i was in there before

#

i didn't like it

small ermine
#

Technically telling you about my Dev project

#

Oh

#

πŸ˜‚

#

Maybe that one?

#

Random IDs ftw

wicked lava
#

just like at a clothing store ... Hey, I'm looking for a new Vtc - Sure, we have a lot of them. What about this one? - Nah... tried that one before, didn't fit me

small ermine
#

πŸ˜‚ πŸ˜‚

rich flint
#

lmao

amber oasis
rich flint
#

@shy swan am i able to get your ETS2 Rich Presense to do MPH instead of KM/H?

shy swan
#

Maybe. You can just edit km/h to mph troll

rich flint
#

lmao

#

Have you thought about making it just a plugin in ETS2 to integrate it?

#

i mean that would be a lot harder but it might be a good idea

amber oasis
#

requires c++ knowledge

#

pretty good C++ knowledge too, because all plugins are running in lockstep with framerate

shy swan
#

And that’s the problem ^

amber oasis
#

If you sleep for 1 second in a plugin, the game would freeze for 1 second blobcatjoy

rich flint
#

rip

amber oasis
#

you would never sleep for 1 second in c++, if you do that, you're not doing it right

#

Pretty happy with my new setup, got virtualbox machines to be registered as virtual dns endpoints, as well as docker containers being available as <name>.docker blobcatheart

shy swan
#

That Rich presence would be a nice suggestion for TruckersMP bloblul

amber oasis
#

I think there's a ticket on it already

rich flint
#

this should all be off when the truck electric is off, today it doesn't want to do as i say

#

right so the background changes now, but the text and icons wont hide

#

ayy

#

fixed it

#

all not in order so it didn't like it

#

idk why tho

#

it might not work tho

#

you'll probs need the DS-Digital font

#

i'll try and add the font in with the css

opal arch
amber oasis
#

out of 1000 troll

opal arch
#

I meant I am really bad πŸ˜„

#

However, I did not know this, 'first day of previous month 00:00:00' in DateTime, will print this: 2018-03-01 00:00:00.000000

#

Really clever πŸ˜„

small ermine
#

not perfect, and missing an image uploader, BUT!

#

It's done πŸ˜› the main functionality is anyway aside from that image thingy

opal arch
#

Great! πŸ˜›

small ermine
#

Available for any drivers πŸ˜‰ πŸ˜‰

amber oasis
small ermine
#

πŸ˜‚

#

That's confusing

amber oasis
#

on it's own, yeah, it's scala's type system

#

"Nothing" is a type in scala

#

"Everything" is also a type in scala

#

so nothing extends everything blobcatjoy

small ermine
#

Oh okay xD

opal arch
small ermine
#

πŸ˜‚

amber oasis
wicked lava
#

πŸ˜†πŸ˜†πŸ˜†

small ermine
#

MailChimp's API is working perfectly with my registration script 😊

#

Took all day πŸ˜‚

opal arch
#

Good job πŸ˜„

small ermine
#

Now to add the info to OSTicket too xD

opal arch
small ermine
#

That'll be fun, adding things to 3 different tables

#

πŸ˜‚

#

Not enough money for links

#

Have you tried <a>? troll

opal arch
#

What is that? kappa

#

Of course it is joke πŸ˜„

small ermine
#

πŸ˜‚

#

I also got event adding done today

#

And registered drivers can apply with one click πŸ˜›

opal arch
small ermine
#

All done today, so time to chill xD

opal arch
#

enough links or? πŸ€”

#

Yep, same

#

Just relax

small ermine
#

Enough links, not enough icons πŸ˜›

opal arch
#

With ETS2 πŸ˜„

#

Oh, shhh

small ermine
#

Or maybe all icons πŸ˜›

opal arch
#

Not downloaded some yet

small ermine
#

πŸ˜‚

opal arch
#

It is beta! πŸ˜„

small ermine
#

I'd put just the icons down the side like that πŸ˜‰ πŸ˜‚

opal arch
small ermine
#

Might look cool

opal arch
#

You see?!

small ermine
#

Ooooh

#

Badges?

opal arch
#

Yes πŸ˜„

small ermine
#

I have awards, but it's difficult to sort out

opal arch
#

It was my dream to have there 😍

small ermine
#

And can't show more than 5 at once πŸ˜‚

opal arch
#

LOL

#

Flexbox ❀

small ermine
#

I need to get that fixed, and have some wonderful icons

#

Give me your code babe πŸ˜› πŸ˜‚ πŸ˜‚ πŸ˜‚ troll

opal arch
#

Beta, secret πŸ˜„

small ermine
#

Aww

opal arch
small ermine
#

;-;

opal arch
#

The badge should be special, I will not give it to everyone

small ermine
#

I need a badge system πŸ˜‚

opal arch
#

And unfortunetly I have not made a button to remove a user

#

πŸ˜„

#

It is only visual, no function for it

small ermine
#

πŸ˜‚

opal arch
small ermine
#

Yes

#

I don't even have those πŸ˜‚

#

I need them

opal arch
#

Yea, I have some ideas from TMP, because it as been well done. But of course everything on my own

#

πŸ˜„

small ermine
#

;-;

#

I think I can figure that bit out

opal arch
small ermine
#

Woop

#

I need those things

#

(+_+)

opal arch
#

This is cool ❀

#

But I showed too much. If someone is interested, after beta I will publish this all stuff

#

Many amazing stuff done there

small ermine
#

πŸ˜›

#

Will you be showing us some of the source? troll

opal arch
#

Of course not! πŸ˜„

small ermine
#

πŸ˜‚

opal arch
#

It is serious because ...

#

I cannot show you my payments πŸ˜„

small ermine
#

At least explain how you did that role thingy πŸ˜›

#

πŸ˜‚

opal arch
#

I have made much better system

old plank
#

But for real now. Awesome work @opal arch ❀ πŸ˜›

opal arch
#

But I did not implement it here

#

Now it is only "power"

#

But updated power, better than TeamSpeak

#

Thanks, @old plank ❀

small ermine
#

Power? I

#

(+_+)

opal arch
#

One of the best beta testers, @old plank ❀

small ermine
#

πŸ˜‚

old plank
#

πŸ˜› xD

opal arch
#

As on TeamSpeak

small ermine
#

Β°-Β°

opal arch
#

I will not share more due to safety πŸ˜„

small ermine
#

Will you tell me a bit on how to make those roles stuff? The cool coloured bars

#

I know how to make the bars

#

But how do I show them or hide themm

opal arch
#

CSS God ❀

#

What do you mean? πŸ˜›

small ermine
#

Well it isn't showing all the possible bars is it?

#

How do you only get it to show that specific users roles?

opal arch
#

Hehe kappa

small ermine
#

XD

opal arch
#

Because the user has saved role

#

Normal user has 1 what is Member

#

I have x because I am owner

small ermine
#

Whaa

opal arch
#

x = R

#

A number

#

πŸ˜„

#

Imagine it

small ermine
#

Oh

opal arch
#

Have you worked with database?

small ermine
#

How did you get owner AND VIP though?

#

Yeah

opal arch
#

So roles have some IDs

#

To every user I add the ID to the role column

#

So normal member has 1, I have x

#

And thanks it I check permissions πŸ˜›

#

So I have page for permissions higher than 4

small ermine
#

And then you only display their bars?

opal arch
#

And everybody with permission 4 or higher can access

#

Yes

#

Based on the role ID

small ermine
#

Ahh okayy

opal arch
#

VIP is added due to VIP time πŸ˜„

small ermine
#

Β°-Β°

opal arch
#

Some roles have auto VIP

small ermine
#

Alrighty

opal arch
#

And if you are user, you have VIP until InsertDate

small ermine
#

Ahh ok

opal arch
#

So if you are in the date, VIP tag will be shown

#

And you will have VIP permissions

small ermine
#

Cool

#

I'll fiddle and see what I can throw together πŸ˜‚

opal arch
#

Yep, try it πŸ˜ƒ

small ermine
#

I take it there's a table with roles in and their id?

opal arch
#

Of, I almost forgot

#

Yes

small ermine
#

πŸ˜‚

opal arch
#

Submits can have tags πŸ˜›

small ermine
#

AdmeeeeEEEEEn

opal arch
#

Custom πŸ˜›

small ermine
#

Sweet

opal arch
#

I will not tell you who sent it kappa

small ermine
#

πŸ˜‚

opal arch
#

And those labels can be also edited

#

With color etc.

#

It is easy to do, but it looks cool

#

And it can be used in future πŸ˜ƒ

small ermine
#

I need to figure that out then πŸ™ƒ πŸ˜„

opal arch
#

Like I will show only posts with Done tag etc.

#

And I should show you, too

#

Because I copied really some stuff from TMP ...

#

Not nice

#

But actually who will use it

#

caugh caugh

small ermine
#

XD

opal arch
#

Ban incoming kappa

small ermine
#

You made it yourself though technically

#

πŸ˜›

opal arch
#

Yes

#

Everything made by me

small ermine
#

πŸ™ƒ

opal arch
#

The best thing is reports

#

But you will see after released beta πŸ˜›

#

That's what no other CS:GO servers have

#

Now I need only players and new fresh staff members and it will be done

#

The most important thing is OOP

#

If I did not make functions for this outputs, I would kill myself

#

Now I print nice column with information about user with one command πŸ˜›

#

Same for the role tags etc. So do not forget on OOP πŸ˜ƒ

#

Last thing - it is not only nice by design, but also by code ❀

north flax
opal arch
#

@north flax was probably waiting when my spam ends ... sorry πŸ˜„

north flax
#

Nope, wasn't waiting

small ermine
#

πŸ˜‚

wicked lava
#

@opal arch I also designed a little chat/comments bar for my blog... nothing special, was only a first try

opal arch
#

Looks great.
I will change the design, too πŸ˜„

opal arch
small ermine
#

πŸ˜„

#

and got it working with the db

north flax
#

Throw some jquery at hte icons until their backgrounds look goodΒ @small ermine

#

Totally solves it πŸ˜›

unkempt hamlet
#

Do not forget to throw Bootstrap

opal arch
#

@unkempt hamlet Nice game πŸ˜„

unkempt hamlet
#

Well

amber oasis
#

You need to add Foundation as well

#

And if you still have issues, just install python

unkempt hamlet
#

Screw it, just install Wordpress and you will gtg from the beginning

small ermine
#

steam api isn't liking me πŸ˜‚

#

stopped working randomly

unkempt hamlet
#

Well, looks like GaBAN has BANned you troll

small ermine
#

πŸ˜‚

#

whaaa

#

🀣

unkempt hamlet
amber oasis
#

"Randomly stopped working"

small ermine
#

Yeah

#

it was fine

#

now it isn't

#

πŸ˜‚

amber oasis
#

If you did manage to get your key banned, dafuq did you do blobcatjoy

small ermine
#

nothing πŸ˜‚

#

i just did a new key anyway

amber oasis
#

"nothing" doesn't make steam api stop working blobcatthonking

small ermine
#

but it isn't working

#

πŸ˜›

north flax
#

If he did nothing, that wouldn't make it work in the first place :P

small ermine
#

πŸ˜‚

amber oasis
#

that too

#

What is your query…

#

Speaking of Steam… I wonder if Steam's new privacy stuff will have an impact on auth Wolfie…

amber oasis
small ermine
#

All i wanna doo

north flax
#

Might do, we still need the same as before on sign up though: a visible profile

amber oasis
#

Works for me Callum, check your key, if it's correct, you've probably been account banned, so open a ticket with steam

small ermine
#

:/

#

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

#

I made a new key and everythin

unkempt hamlet
#

Works for me, returns empty array

amber oasis
#

Also, Wolfie, I think you should be able to use OpenID auth scheme to get that access without public blobcatthonking

#

Works for me; it returns 50 games

north flax
#

We might be, but i lack time to tinker with it atm

small ermine
#

it shoulld do something, it has Krav's id πŸ˜‚

amber oasis
unkempt hamlet
#

Hm...

small ermine
#

it did work, now it doesn't

#

tried removing the appids filteres

amber oasis
#

So CJ and Callum are banned blobcatjoy

small ermine
#

:/

unkempt hamlet
#

Shieeet

small ermine
#

how?!?

north flax
amber oasis
#

idk, I don't even know if you are banned πŸ˜›

north flax
#

Phone issues x3

small ermine
#

xD

amber oasis
#

The key in callum's link is fake πŸ˜‰

unkempt hamlet
#

Humane, change the key

small ermine
#

i have an actual key

amber oasis
#

You need to sub it with your own, cause Callum has brains enough that he didn't share his key πŸ˜›

small ermine
#

πŸ˜‰

opal arch
#

@small ermine What does not work?

#

Login?

north flax
#

I dont have any key on my phone. Iirc my steam key is plugged in somewhere xD

#

@amber oasis good, i wasnt sure in this case x3

amber oasis
#

I wonder if something at TMP breaks if I revoke my API key blobcatthonking

small ermine
#

my steam api thingy

opal arch
#

Because if you use OpenID, there is as pattern http://. However, few days ago the response is from https://

amber oasis
#

don't worry Shawn, it's not OpenID

small ermine
#

i'm always using the https

unkempt hamlet
#

So, worked with my Steam ID...

#

Damn Steam privacy thing

opal arch
#

Oh, okay

#

I saw some pages stopped working

amber oasis
#

Krav's worked for me though

opal arch
#

As mine did πŸ˜„

small ermine
#

😦

unkempt hamlet
#

So, did the new privacy thing actually affects TruckersMP registration flow?

opal arch
#

If they use OpenID and they have in pattern only http://, then yes

amber oasis
#

As it stands, it shouldn't but Support are probably going to see more people asking for assistance

opal arch
#

If you know SourceBans, they had to fix it, too

small ermine
#

hang on

#

i'm getting games for MY id

amber oasis
#

Shawn, don't worry, TMP's OpenID process is solid πŸ˜‰

#

It's more in relation to their privacy settings that CJ was thinking of

#

nothing to do with https

opal arch
#

But you know, random change. It could affect it πŸ˜›

#

Even when it affected SourceBans

amber oasis
#

privacy setting change was announced, not random

opal arch
#

Really?

#

Where?

amber oasis
opal arch
#

Today?

#

It has been changed like 6 days ago

amber oasis
#

Not privacy

#

Let' me get this clear to you: We are not talking about OpenID or HTTPS

small ermine
#

it's working for my id

#

krav mustve done something πŸ˜‚

amber oasis
#

we are talking about inventory privacy

opal arch
#

Oh, yea, okay πŸ˜„

amber oasis
#

well, not just inventory, privacy settings in general

#

TMP relies on inventory being public, otherwise they can't check ownership of the games

small ermine
#

for gods sake

#

how do you change a steam ID???

#

😹

opal arch
#

Yep, true

amber oasis
#

And that doesn't change, but support will probably get more tickets about not being able to register

#

which is why I mentioned OpenID, cause Steam might let TMP impersonate the user and see their inventory that way instead, in which case, privacy settings be damned blobcatthonking

small ermine
#

one way to find out πŸ˜‰

opal arch
#

Yep, thanks for these information

amber oasis
#

Someone to poc it, but it won't be me, nor Wolfie

opal arch
#

Sneaky peaky like πŸ˜„

#

Not done yet, just pre-release. πŸ˜›

#

And I cannot cut screens, sorry ... Linux, hehe πŸ˜„

unkempt hamlet
#

Really like testmonials on the non-existed sites troll

opal arch
#

wut? πŸ˜„

opal arch
small ermine
#

πŸ‘Œ

opal arch
#

White version looks great, too

#

I do not know πŸ˜„

small ermine
#

SoonTM

#

it's all done apart from the PHP to save it, the db is ready and so is the form P

#

:P*

amber oasis
#

Just a pro tip Shawn, dark and light themes are a pita if you model your things after tmp

#

So. Many. Mistakes. Was. Made. Dark/light being the thing giving us second most headaches

small ermine
#

pita

#

πŸ˜‹

opal arch
#

Why, Tuxy?

#

I do not know what you exactly mean

#

Anyway, really nice, @small ermine. Looking really great. But maybe you can add if it was WoT job or not. And then maybe connect to WoT and check it πŸ€”

amber oasis
#

Any things you put on have to be thuroughly tested in both themes πŸ˜‰

unkempt hamlet
#

Sure

#

That's why I have only one theme troll

amber oasis
#

Smart CJ

small ermine
#

I hate themes ;-;

#

I can barely get things working on 1 theme πŸ˜‚ πŸ˜‚

#

WoT.. haven't fiddled with that yet

#

πŸ€”

unkempt hamlet
small ermine
#

πŸ‘Œ

opal arch
#

@amber oasis I know right. Beta is the right place πŸ˜„

amber oasis
#

Nah, save you the tears, pick one look, and be done with it blobcateyes

opal arch
#

But what if 60% like black one and 40% the white one? πŸ€”

north flax
#

Just swap color when you've scrolled halfway down the page πŸ˜›

amber oasis
#

Tough luck on people who don't like the color you didn't pick

#

your service shouldn't be dependant on everyone liking your design

opal arch
#

Yep, that is probably true

amber oasis
#

Many services I use that I don't like the design of, choice are good, but it's painful to build for that

opal arch
#

Yep, you are right

#

So I decided not to make the white design. Thank you for your opinion ❀

amber oasis
#

My top thing not to do unless your boss tells you to; internationalization

#

That's the one thing that is more painful than maintaining 2 designs

opal arch
#

Oh, yea. I wanted to do it, too. Then I changed my mind when I realized how much work I should do πŸ˜„

small ermine
#

That's that done on both ends

#

all connected πŸ˜„

opal arch
#

Check the message above where I tagged you

small ermine
#

yeah about WoT?

opal arch
#

Yes πŸ˜„

small ermine
#

I have no clue where to start and googling WoT api does nothing πŸ˜‚

#

πŸ˜›

opal arch
#

But it is suggestion for future

#

What you can do πŸ˜›

small ermine
#

Yeah

#

Other than that, everything has been completed that I originally planned for TD

#

aside from automatic logging

#

Β―_(ツ)_/Β―

opal arch
#

πŸ˜„

small ermine
#

πŸ˜›

#

I set up the submission form to have like a searchable dropdown menu

#

and it only finds cities for ATS if that company is an ATS or BOTH company

#

πŸ˜‰

opal arch
#

You must do it better πŸ˜›

amber oasis
small ermine
#

ah I thought that was just for plates πŸ˜‚

#

i apologise

amber oasis
#

Nah, plates was tacked on after blobcatjoy

small ermine
#

So is there instructions? Or is this an IKEA situ? πŸ˜‚

amber oasis
#

the plates endpoint actually uses the /api/wot/player/ endpoint as well blobcatjoy

small ermine
#

ahh ok

amber oasis
#

see API Endpoints

#

there's 1

#

it provides Json, that's it

#

with all the info that is available somewhat easily from WoT

small ermine
#

awesome

#

πŸ˜„

amber oasis
#

If you miss something, let me know and I'll check how easy or difficult that would be to get into the API

#

WoT itself doesn't have any APIs

small ermine
#

looking at the example response... Is there a way to get the most recent load taken?

amber oasis
#

no

small ermine
#

ah okay

amber oasis
#

the log book is specific to the logged in account

small ermine
#

oh righty

amber oasis
small ermine
#

ahh I seee

#

JetBrains πŸ˜‰

#

much nicer

#

waste of space dreamweaver πŸ˜‚

wicked lava
#

What about VSC? Or Atom?

small ermine
#

had like 7GB left on my hard drive... I've just freed up like 60GB removing unneeded programs πŸ˜‚

rich flint
small ermine
#

yeah but this is on my laptop

rich flint
#

Btw the D: drive is for all my nvidia share clips and the F: drive is file history backups

#

oh gg

small ermine
#

250gb hard drive ;-;

rich flint
#

My laptop HDD is 1TB

#

lmao

small ermine
#

but only 250 because I gave the old 500gb one out of it to my mum

#

because hers conked out

rich flint
#

rip

small ermine
#

so I'm sacrificing disk space for her 😊

rich flint
#

my old 3TB hard drive killed itself in September tbh

#

i lost 2TB of stuff -_-

#

cos my backups decided to not work

small ermine
#

:/

rich flint
#

i mean, 5-6 months later, i've done well lool

#

that was the main reason my yt and web developing just halted...

#

and my hdd

#

might be able to get my 2TB of stuff back one day

opal arch
#

SSD is still the best thing πŸ˜ƒ πŸ˜„

rich flint
#

but i don't really trust SSDs for when or if they die

#

cos you'd have to have a miracle to recover data off of them tbh

#

unlike HDDs that you can recover data off of them unless the discs are heavily damaged

north flax
#

You never have any guarantee to recover data, hence why you back things up

amber oasis
#

Both can break catastrophically, ssds are to a degree safer as they has error correction

opal arch
#

Or SSD + HDD weSmart

cinder spear
#

or cloud and pay for someone else to worry about it

rich flint
#

lool

#

i'll just put all my contact stuff on facebook servers, oh wait troll

wicked lava
#

clouds are actually a good solution

rich flint
#

so we can make use of the bad weather in the UK then? πŸ˜‚

#

jks

wicked lava
rich flint
#

but cloud servers are good

wicked lava
#

providers pay way more attention on the persistance of your data than you are able to do

rich flint
#

just security is a but annoying now

north flax
wicked lava
#

pw manager ftw

#

even it might be hard to find a password manager which allows 500 character passwords πŸ€”

nova sphinx
left fern
#

notepad++ is the best password manager ever kappa

rich flint
#

Finally someone uses the same thing as me

left fern
#

πŸ˜‚

small ermine
#

πŸ˜‚

wicked lava
#

I'm wondering... how good is it at auto filling? πŸ˜›

left fern
#

Google Chrome does the autofill stuff :p

cinder spear
#

1pass can happily do 500 chars

small ermine
#

Imagine trying to remember it

#

500 chars

wicked lava
#

Remembering is not the problem - that does the pwm
But imagine you have to sign in somewhere but cannot copy the password...

small ermine
#

πŸ˜‚

#

Ouch

wicked lava
#

You might be able to typewrite it from your phone - but if you do any typos...

#

I had this issue often enough. And my passwords are way shorter than 500 chars

small ermine
#

πŸ˜‚

cinder spear
#

that's why you have a pw manager on the phone to copy from too

wicked lava
#

Yeah but say you are at an internet cafΓ© and you use a public pc... how do you get your password to the pc from your phone?

sweet hornet
#

I was working on a webserver when everything suddenly stopped working although I didn't touched at it when it went down. The boss started yelling on me but then I saw on the OVH panel the reason of that issue is really simple : He forgot to renew the service since April 2nd

small ermine
#

πŸ˜‚

amber oasis
#

blobcateyes company using OVH

#

5$ on firewall not being configured, or configured incorrectly

#

bonus points if exposed mongodb without auth

small ermine
#

πŸ˜‚

amber oasis
small ermine
#

πŸ‘€

pearl badger
sweet hornet
#

Your 5$ tux (I don't think they configured any firewall) πŸ’° .
We are not on mongodb but mysql

amber oasis
#

Anonymous logon as well? blobcateyes

sweet hornet
#

I'd say no

amber oasis
#

awe, no bonus point at all then blobcatsad

small ermine
#

πŸ˜‚

#

Those cat emoji are awesome

spice blaze
#

namePiar (yes i notice it is spelled wrong) is a member of Names and a pointer to an array of 10 objects. getName() returns a string and getOrdinal() returns a int

spice blaze
#

Fixed my problem by adding the keyword "return" before each recursive function call picardfacepalm

cinder spear
#

that's why you have a linter warn you about ignored return values

amber oasis
#

most compilers warn like that too

#

-Wall iirc. to get it to warn about most things

#

-o pedantic maybe too

lilac patio
#

:/ idk what i should do, like for me i love gaming on my YT channela nd i starting make bassics music RN too. so not sure what i pick on YT rn

#

thats only channel verifyed on my phone and i cant do anymore verify

amber oasis
#

That's nothing to do with development blobcatthonking

small ermine
#

πŸ€”

wicked lava
#

Best argument πŸ‘Œ

small ermine
#

πŸ˜‚ πŸ˜‚

#

Fair enough πŸ˜‚

opal arch
#

πŸ˜„

opal arch
small ermine
#

πŸ‘€

#

Woop

sweet hornet
#

A friend dev is making a CS:GO gambling website for a "client" (A rich univ boy) but he was telling me that he is sure that he (the "client") will try to f--- him with the payment. I may have gave him a little script "Made in math" : Database emptying + storage full clearing

autumn pagoda
#

@sweet hornet backdoor entrances are good for devs who think they will be screwed over or hiding a script that can be triggered in a way the dev can do it

sweet hornet
#

The guy want to pay him via Paypal, I was quite "meh" when he told me that

autumn pagoda
#

im sure there is a site which allows paypal payment which then unlocks the files for the client to download... completely safe for both ends and makes sure the dev gets paid

small ermine
#

I think Promods uses the same kind of system there @autumn pagoda

#

If I recall

amber oasis
#

That's more aimed at mass distribution, not as much as a locker

#

they take quite a substantial cut as well iirc.

small ermine
#

Ah okay

#

Make your own locker πŸ˜‰

opal arch
small ermine
#

πŸ˜„

#

I still think it'd be cool with just the icons kappa

opal arch
#

If you did not type there " kappa ", I would blame you so hardly troll

small ermine
#

πŸ˜‚ πŸ˜‚

opal arch
#

@small ermine Do you remember when I was talking about flexbox?

small ermine
#

Aye

#

πŸ‘€

opal arch
#

I will do "a conversation"

#

And thanks flexbox I will do order: -1 and I will have the conversation where your profile is on the right side and profiles with messages by others are on the left side

small ermine
#

Ooh

opal arch
#

One line and it makes so much

small ermine
#

Woop πŸ˜„

opal arch
#

More code I write, shorter commit messages are on Git

small ermine
#

πŸ˜„

opal arch
#

I am just wondering and I have not used Google. It is rather a discussion ... πŸ˜„
Do you think it is possible to get all notices from the announcement bar?

small ermine
#

πŸ€”

sweet hornet
#

Wich one (On wich platform I mean)?

opal arch
#

Android

#

And I would like to get it in my app and then send it to a server πŸ˜„

small ermine
#

Your notifications? You want to send them to a server?

#

Ask the Android people troll

opal arch
#

I want to do it for personal stuff

#

I will not share my app

#

But I want to make my life easier

small ermine
#

Yeah

opal arch
#

I believe there is permission for it

small ermine
#

Yeah

#

Should be

small ermine
#

Does anyone here actually know how to use the SCS SDK????

#

πŸ‘€

opal arch
#

Devs? πŸ€”

small ermine
#

πŸ˜‚

#

I need assistance with it

#

And I don't understand any of the readme

wicked lava
#

I guess it requires some basic knowledge on building plugins

#

the readme only contains some api instructions...

small ermine
#

Well what I'd like to do with it is grab the job info when it's completed and send that to my database somehow.

#

I haven't had much experience with this kind of thing xD

quick glen
#

It isnt a particularily difficult SDK, but you need to have knowledge of atleast the basics of C++

rugged copper
#

As a way of getting data from the game

unkempt hamlet
#

Hmmm interesting

rugged copper
#

He's currently working on webhooks so the data would get sent to his server and then sent forwarded onto the users site of choice

#

It's pretty neat

unkempt hamlet
#

Webhooks would be very nice

ember canyon
#

very intarstineg

rugged copper
#

There are a couple of SDK's I believe or in progress, C# and Node

crystal fable
#

Hiiiiiiiii

#

@rugged copper I has arrived

#

And yes, there are 2 sdks available

#

1 in c# and 1 for npm/node.js/javascript

#

they can be found on the third party documentation listing for ETCARS's docs:

small ermine
#

πŸ˜„

#

I'll have to fiddle with it then πŸ˜›

crystal fable
#

Webhooks are a work in progress. Not ETA as of yet.

small ermine
#

Yeah I remember

#

But it at least gets sent to port 30001 or whatever?

crystal fable
#

Yh

small ermine
#

That's fine, I can still fiddle with it πŸ˜›

#

So the SDKs for JS/C# I can use to get the data, then I can program it myself to send directly to my db?

#

πŸ˜‚ I'm not the best at this kind of thing but it's worth a try πŸ˜‚

rugged copper
#

Yeah you can use one of the SDKs if you wish to get the data and then when an event is triggered you can can do something with that data. For example, when a job is completed the JOB COMPLETED event is triggered which you can detect and then send the data to your API

small ermine
#

That's exactly what I need

#

πŸ˜›

#

I need to get the completed job info from the game through whatever into my API so it can go in my database

rugged copper
#

Yep

#

It's fairly simple with one of the SDKs, or you can write the whole thing yourself i.e. connecting to the server etc

small ermine
#

Yeah, however, I haven't used either C# or much JS πŸ˜‚

#

That's why I'm seeking help from some people, for a bit of help with it πŸ˜…

opal arch
#

So write πŸ˜›

#

I am doing in JS so I will try to help you as much as possible πŸ˜‰

small ermine
#

Yay!

#

I need to start learning some js

#

Then I can do a bit more than just websites πŸ˜›

wicked lava
#

tbh I've never learned php, I'm using node.js only πŸ˜„

small ermine
#

Oh, I started with PHP πŸ˜‚

#

It's pretty helpful though

opal arch
#

I am not doing in PHP

#

caugh caugh the "game" what I am playing caugh caugh

small ermine
#

πŸ˜‚

#

PHPStorm is a good editor

#

Righty, let's start looking at this JS stuff 😬

wicked lava
small ermine
#

Yeah, I just need the info for when it's done (profit, fuel consumption, load info, etc.) for putting it into my database

crystal fable
#

Just don't forget webhooks are gonna be a thing soon

small ermine
#

πŸ˜„

#

SoonTM

opal arch
#

CarsDB kappa

small ermine
#

πŸ˜‚

#

DefinitelyNotSoonβ„’

wicked lava
#

@crystal fable I've just tested the node sdk ... and for some reason the 'job finished' event doesn't fire always... you know what the issue could be?

rugged copper
#

I don't believe jammer built the SDKs

small ermine
#

πŸ€”

crystal fable
#

Is there a job cancelled that's firing instead?

#

And yes I don't manage the SD k

wicked lava
#

nope... the event type seems to be in the status property. I logged all data I received, and all the time the status was TELEMETRY - only in some cases, it was JOB FINISHED

amber oasis
#

tsk tsk. @rich flint committing node_modules

crystal fable
#

Lol I told him about that in my contribution

#

He still readded

small ermine
#

πŸ˜‚

crystal fable
#

Right the job finished doesn't fire until the delivery is completed and the continue button has been pressed on the job results screen

wicked lava
#

I found out that the problem is somewhere else

#

it's not the sdk

#

it's the data received from the socket... it's not a valid json

small ermine
#

Oh

#

Is it that bit beforehand m

#

?*

#

The numbers or whatever

wicked lava
small ermine
#

Hm.

wicked lava
small ermine
#

Oof

#

no problems there πŸ˜‚

crystal fable
#

It's cause of the way putty handles the \r

#

Every json broadcast is valid from the first { to a \r character

#

The \r signals eot

#

Any chars after that and before the first { are for lower level languages

small ermine
#

So it's actually okay? πŸ˜‚

crystal fable
#

Yh

wicked lava
#

omg

#

I believe I made it

#

now my code works even better than the sdk πŸ˜‚

crystal fable
#

You know the beauty of the open source wirld

#

World*

#

You can help improve the existing code!

#

😎

crystal fable
#

Or @wicked lava if you publish it I can add it to the 3rd party list

small ermine
#

πŸ˜„

opal arch
#

Real overkill is when you add flexbox to an item in an ordered list ... πŸ˜„

    display: flex;
}```
lilac patio
#

who made virtual trucker ritch presence

shy swan
lilac patio
#

get that for crashes

shy swan
#

Erm.

lilac patio
#

like if hit walls and stuff

shy swan
#

Welp

lilac patio
#

plus spam of json request too

shy swan
#

Does it crash or just continue working.

lilac patio
#

works

#

but if crash at wall and stuff

shy swan
lilac patio
#

that 1st 1 gives that

#

and 2nd i send ya now what spams consertly

shy swan
#

I get the same. The others do not want to fix it... it’s a problem of ETCars itself....

lilac patio
#

hmm

shy swan
#

We are currently working on a very simple auto start thingy which doesn’t even have a log window.

lilac patio
#

well i want keep note to you thow

#

because meh bugs man

#

πŸ˜›

#

lucky works

#

thats good thing

shy swan
#

Just join the Discord server. Then you may test it in future

lilac patio
#

what i can try is patch of spam of request aka json

#

make as cooldown

#

if want me to?

lilac patio
#

for example

#

what im gonna do is make a switch so have diffrent games as in ritch pres

opal arch
lilac patio
#

what is dat

opal arch
#

My page for servers for CS:GO

#

Connected servers with website

#

etc.

#

Now adding content

small ermine
#

πŸ˜„

opal arch
#

Rules are long as Monday πŸ‘€

small ermine
#

πŸ˜‚

crystal fable
#

Lol so they also don't check the status in the telemetry

#

The other key is that some people have the data spilt up over multiple transmissions, and others don't

crystal fable
#

@wicked lava I seem to be having issues with the pull request you made, the data itself is not updating with the game

#

I've tested it standalone with another sample app and it updates fine, something's up with the buffers

wicked lava
#

Hmm... will look into it as soon as I got time
Iβ€˜ve also tested my base code on a sample app before implementing it. Afterwards I just tested if data is received, and since that was the case I assumed that everything worked well

crystal fable
#

That's from my test program

#

That's from the most recent commit from you

crystal fable
#

@wicked lava I've made a pull request with a few changes I think may work better for you, if you could try it and see if it works at somepoint, that'd be great

wicked lava
#

What’s the value you tested it on?

crystal fable
#

It was just while I was driving in gane

#

I know my speed shouldn't be the exact same value down to the last decimal point every time while driving, I went on highways, side roads, city roads, etc... And my speed varied across the whole time where it should never have been the same

#

(even when fully stopped the speed can fluctuate in the last 2 to 3 decimal places)

#

(especially considering the native unit is meters per second)

small ermine
#

I'm going to use it for something for CarsDB troll

crystal fable
#

Is it self hosted?

#

and kind of a rip off the name...pplz might get cornfuzzled 🌽

unkempt hamlet
#

So, that happened... Russian government just blocked 1/3 of the Internet (Amazon, Google, Digital Ocean, etc.), so my Helper is partly working (status page and WoT isn't accessible). Can you recommend any shared hosting in Europe? Requirements: SSH console, composer, cron, cPanel (preferably).

amber oasis
#

no cpanel

#

it uses varnish for caching as well

unkempt hamlet
#

I'll check it, thanks

amber oasis
#

they also have free certs alΓ‘ letsencrypt built-in

wicked lava
unkempt hamlet
#

Gandi isn't what I want...

small ermine
#

πŸ˜‚

#

Don't worry kirito just a design it'll change πŸ˜›

wicked lava
#

@crystal fable You wanna know why my version did not work?

#

I feel so dumb 🀦

opal arch
#

That happens, bra πŸ˜„

small ermine
#

πŸ˜‚

opal arch
#

@forest hedge @unkempt grotto I think this is the right channel ... πŸ€”

forest hedge
#

I'll post it here so everyone can see logic picardfacepalm

opal arch
#

It cannot work with odd numbers troll

amber oasis
#

Have you looked at the documentation for round and how floats are represented in python?

wicked lava
amber oasis
#

Awe, it was an exercise for @forest hedge blobcateyes

#

Teach him to check documentation when things don't make sense

wicked lava
#

Β―_(ツ)_/Β―

forest hedge
#

Sorry. Did I say I didn't check it?

#

I know what it does, it's just silly its like that.

wicked lava
#

Why? I mean - it's logic at some point

amber oasis
#

The note explicitly says why, and you come here asking why. Then yes, I'll assume you didn't read the docs blobcateyes

wicked lava
#

I meant: Why do you consider it silly as it's logic at some point.

opal arch
#

Because for example round() in PHP does exactly for what it is supposed

amber oasis
#

PHP's round doesn't do exactly what it's supposed to either

forest hedge
#

Can you please show me where I asked why?

amber oasis
#

both are subject to representation of floating points in memory

#

stop being on the war path all the time @forest hedge

forest hedge
#

What.. xD

amber oasis
#

you are being antagonistic

forest hedge
#

Not really given I never asked why..

#

Just saying I think it's silly. If you disagree, whatever.

#

Β―_(ツ)_/Β―

wicked lava
#

@forest hedge You did not ask why, I did, but it was meant in another context and due to my vague expression I might have caused a little misunderstanding. Iβ€˜m sorry - ok? No need to start a fight because of that @.youtwo

forest hedge
#

I'm not starting a fight. I literally asked where I asked why.

#

It's not me that's misunderstanding the situation.

wicked lava
#

Itβ€˜s ok now

forest hedge
#

Very well.

small ermine
#

πŸ˜‚

crystal fable
#

Lol glad you got it figured out @wicked lava

small ermine
#

I'll be taking a look tomorrow (maybe) πŸ˜‰

small ermine
#

so

#

i think it's working for me

#

now how do I use it with that js thingy πŸ˜‚

#

ooo

#

i got it to tell me when data is received

#

now i can see if it has a job

lilac patio
crystal fable
#

woa

lilac patio
#

whaaaat

#

πŸ˜›

#

this Bass Bossted brillent on VirtualDJ man

#

so much BASS

#

what if my speakers just blow RN πŸ˜›

#

so powerfull rn

small ermine
#

πŸ˜‰

lilac patio
#

?

small ermine
#

I just need a way to take this and put it into an API so it'll go into my db πŸ€”

lilac patio
#

lel

#

well GL

#

❀

small ermine
#

πŸ˜› ta

lilac patio
#

got 30GB of songs like jeez my friend been giving so much songs

small ermine
#

πŸ˜‚

lilac patio
#

even still sending me like wow

#

i be at like 100GB soon ish

#

be no space left πŸ˜›

small ermine
#

xD

lilac patio
#

i told him say put music darn radio not my pc and all i get is sorry im too lazy so you do it Sends files

#

im like 🀦

small ermine
#

xD

#

So I only neeed a way to send this data when the job is DONE

lilac patio
#

not sure doing rn

#

are trying getting data from ETS2 to SQL

small ermine
#

I've got the data

#

I need to send that to my API

#

then use the API (somehow) to send it to my MySQL db

lilac patio
#

so you need funtion to post to API

#

and btw i still have no clue how get data of my SQL from PHP to find users

#

so i like giveup my api rn

#

fang pose help me do that but been too buzy setup intergration discord fuctions calls to twitch api

crystal fable
#

@lilac patio @small ermine If it'll be easier ETCARS will be getting webhooks

lilac patio
#

mysql data only pick up loacal hosting i cant connect to it only i can do is call in php

crystal fable
#

then all you do is have a php api setup to receive data

#

then insert directly to the db

small ermine
#

that is helpful

crystal fable
#

but it won't be out for a few weeks yet due to my vacation

small ermine
lilac patio
#

@crystal fable issue for me i cant post or recive data form SQL to PHP so my point view i cant even use my sql pahe from my hostign even thow SQL setup localy hosted no remote connections

#

so i cant find way

small ermine
#

but wait

#

that says i cancelled it

crystal fable
#

you can't run SQL locally

small ermine
#

😿

crystal fable
#

your SQL server has to run on the same server that does the PHP

#

otherwise it's a security risk

lilac patio
#

well can on hosting just i need php call it out

#

and hosting fine use PHP call it

crystal fable
#

(remote connection)

lilac patio
#

just thy dont have remote hosting

crystal fable
#

exactly

#

there are plenty of providers out there that bundle it

lilac patio
#

well for me using free hosting because <-- not ritch buy dedi or vps do all this

#

info thy say can do

crystal fable
#

You should be able to have a provider have web and sql

lilac patio
#

well does have web and sql