#programming
1 messages Β· Page 12 of 1
make sure to use with SRI
erm, i found this associated with jquery but it's a css
<link href="css/jquery.dataTables.min.css" rel="stylesheet">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
jquery.dataTables.min.css
we are talking about jquery, not jquery.dataTables
That said, it's available from cdnjs as well: https://cdnjs.com/libraries/datatables
ahh alrighty
well i did cdn for fa5 and converted the icons and stuff, also done cdn for the jquery too
Don't forget to use a cdn for bootstrap π
of course π
https://www.w3schools.com/bootstrap/bootstrap_get_started.asp
Scroll down to Bootstrap CDN
that link was for bs3
this one is for bs4 https://www.w3schools.com/bootstrap4/bootstrap_get_started.asp
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
pst. @wicked lava when talking about bootstrap cdns, don't use w3schools
Use their own documentation
still the best thing you can do is using css instead of bootstrap
π€¦
I know. I mean selfwritten css π
or more correctly, written in CSS
not just a html document with a lot of class tags
using css frameworks isn't necessarily bad
erm, selfwritten css i hate doing
me + selfwritten css = https://sgtbreadstick.tk/popup-tool.php
But there are better ways of doing it rather than overriding frameworks' CSS
tbf that is a year old
Personally using Sass to bring in defaults from frameworks (and only parts I use) and overriding them as needed
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
Unless you're a designer, not writing your own CSS is perfectly fine
stop being elitist about writing your own css
bootstrap is just great to work with
until you update it then it likes to be annoying
^
i'm gonna switch it from metro bootstrap to material design bootstrap
gonna be hell but meh
When I started learning bootstrap I did 3 and 4 parallel for some way, until I decided to continue on bs4 rather than bs3
foundation is far better as you still get the basic components, but without all the bloat in styling that screams bootstrap
trying to get my panel to look like this https://i.sgtbreadstick.tk/hXY4g6wZ.png
but keeps looking like this https://i.sgtbreadstick.tk/oF6HSWUK.png
the header wont go to the blue
i'm just gonna force the styles on it now
i did "primary-color" like it said and it didn't do anything so meh
im just trying to stop this from happening
wha
where it all goes to multiple lines and go weird before it goes to a full screen look
oh it becoming one long one?
with col-lg-4
tried xl?
where it does this https://i.sgtbreadstick.tk/xSERYJnL.png
yeah isn't it supposed to do that?
where it goes to seperate lines and then the length goes too high
https://i.sgtbreadstick.tk/76WbTj3i.png it now does this which is better than before tbf
well i got it all nice
woop
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
ayyyy
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
it is better π
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 π
on what tho? 
My driver panel
the truckers' database I guess π
π
i need to be in a vtc again that's active
the fact that no good vtc will accept under 16s -_-
π
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
XD
they denied me when i applied so meh
vtcs which do not accept players under 16 are no good vtcs π€·
but seriously - why don't you want to drive around independently?
it gets boring when nobody is online to drive with rly
I could get told off for this, but there's a good active one for 13+
Long as you log 10k miles a month
O_O
Which isn't hard
i only managed to do 10k miles in my scania i had since december
anyway
what is it called?
welcome to #vtc-advertisement
Technically telling you about my Dev project
Oh
π
Maybe that one?
Random IDs ftw
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
π π
lmao

@shy swan am i able to get your ETS2 Rich Presense to do MPH instead of KM/H?
Maybe. You can just edit km/h to mph 
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
requires c++ knowledge
pretty good C++ knowledge too, because all plugins are running in lockstep with framerate
And thatβs the problem ^
If you sleep for 1 second in a plugin, the game would freeze for 1 second 
rip
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 
That Rich presence would be a nice suggestion for TruckersMP 
I think there's a ticket on it already
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
if you wanna try it out π
it might not work tho
you'll probs need the DS-Digital font
i'll try and add the font in with the css
Designer lvl 100
out of 1000 
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 π
not perfect, and missing an image uploader, BUT!
It's done π the main functionality is anyway aside from that image thingy
Great! π
Available for any drivers π π

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 
Oh okay xD
A bit inspirated ... caugh
π
turnoff.us is a geek comic site. Comics about Programming Languages, Web, Cloud, Linux, etc.
πππ
MailChimp's API is working perfectly with my registration script π
Took all day π
Good job π
Now to add the info to OSTicket too xD
Meanwhile my situation ... π€
That'll be fun, adding things to 3 different tables
π
Not enough money for links
Have you tried <a>? 
π
I also got event adding done today
And registered drivers can apply with one click π
Normal profile
All done today, so time to chill xD
Enough links, not enough icons π
Or maybe all icons π
Not downloaded some yet
π
It is beta! π
I'd put just the icons down the side like that π π
Might look cool
You see?!
Yes π
I have awards, but it's difficult to sort out
It was my dream to have there π
And can't show more than 5 at once π
I need to get that fixed, and have some wonderful icons
Give me your code babe π π π π 
Beta, secret π
But someone got there ... π¦
;-;
The badge should be special, I will not give it to everyone
I need a badge system π
And unfortunetly I have not made a button to remove a user
π
It is only visual, no function for it
π
This is the important thing π
Yea, I have some ideas from TMP, because it as been well done. But of course everything on my own
π
Yea ... all web roles π
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
Of course not! π
π
I have made much better system
But for real now. Awesome work @opal arch β€ π
But I did not implement it here
Now it is only "power"
But updated power, better than TeamSpeak
Thanks, @old plank β€
One of the best beta testers, @old plank β€
π
π xD
As on TeamSpeak
Β°-Β°
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
Well it isn't showing all the possible bars is it?
How do you only get it to show that specific users roles?
XD
Because the user has saved role
Normal user has 1 what is Member
I have x because I am owner
Whaa
Oh
Have you worked with database?
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
And then you only display their bars?
Ahh okayy
VIP is added due to VIP time π
Β°-Β°
Some roles have auto VIP
Alrighty
And if you are user, you have VIP until InsertDate
Ahh ok
So if you are in the date, VIP tag will be shown
And you will have VIP permissions
Yea ... I should remove the Muted tag π
Yep, try it π
I take it there's a table with roles in and their id?
π
Submits can have tags π
AdmeeeeEEEEEn
Custom π
Sweet
I will not tell you who sent it 
π
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 π
I need to figure that out then π π
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
XD
Ban incoming 
π
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 was probably waiting when my spam ends ... sorry π
Nope, wasn't waiting
π
@opal arch I also designed a little chat/comments bar for my blog... nothing special, was only a first try
Looks great.
I will change the design, too π
Today I know what I will do right ... π
π
Yeah I need to fix the icon backgrounds, but I made this π
and got it working with the db
Throw some jquery at hte icons until their backgrounds look goodΒ @small ermine
Totally solves it π
Do not forget to throw Bootstrap
@unkempt hamlet Nice game π
You need to add Foundation as well
And if you still have issues, just install python
Screw it, just install Wordpress and you will gtg from the beginning
Well, looks like GaBAN has BANned you 
Patreon: http://www.patreon.com/DasBoSchitt Twitter: http://www.twitter.com/DasBoTwitt --- Music used --- 00:09: Don't Bother None - Cowboy Bebop OST 00:35: ...
If you did manage to get your key banned, dafuq did you do 
"nothing" doesn't make steam api stop working 
If he did nothing, that wouldn't make it work in the first place :P
that too
What is your queryβ¦
Speaking of Steamβ¦ I wonder if Steam's new privacy stuff will have an impact on auth Wolfieβ¦
All i wanna doo
Might do, we still need the same as before on sign up though: a visible profile
Works for me Callum, check your key, if it's correct, you've probably been account banned, so open a ticket with steam
Works for me, returns empty array
Also, Wolfie, I think you should be able to use OpenID auth scheme to get that access without public 
Works for me; it returns 50 games
We might be, but i lack time to tinker with it atm
it shoulld do something, it has Krav's id π
Hm...
So CJ and Callum are banned 
:/
Shieeet
how?!?
idk, I don't even know if you are banned π
Phone issues x3
xD
The key in callum's link is fake π
Humane, change the key
i have an actual key
You need to sub it with your own, cause Callum has brains enough that he didn't share his key π
π
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
I wonder if something at TMP breaks if I revoke my API key 
my steam api thingy
Because if you use OpenID, there is as pattern http://. However, few days ago the response is from https://
don't worry Shawn, it's not OpenID
i'm always using the https
Krav's worked for me though
As mine did π
π¦
So, did the new privacy thing actually affects TruckersMP registration flow?
If they use OpenID and they have in pattern only http://, then yes
As it stands, it shouldn't but Support are probably going to see more people asking for assistance
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
privacy setting change was announced, not random
we are talking about inventory privacy
Oh, yea, okay π
well, not just inventory, privacy settings in general
TMP relies on inventory being public, otherwise they can't check ownership of the games
Yep, true
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 
one way to find out π
Yep, thanks for these information
Someone to poc it, but it won't be me, nor Wolfie
Sneaky peaky like π
Not done yet, just pre-release. π
And I cannot cut screens, sorry ... Linux, hehe π
Really like testmonials on the non-existed sites 
wut? π
Really better now π
π
π
SoonTM
it's all done apart from the PHP to save it, the db is ready and so is the form P
:P*
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
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 π€
Any things you put on have to be thuroughly tested in both themes π
Smart CJ
I hate themes ;-;
I can barely get things working on 1 theme π π
WoT.. haven't fiddled with that yet
π€
π
@amber oasis I know right. Beta is the right place π
Nah, save you the tears, pick one look, and be done with it 
But what if 60% like black one and 40% the white one? π€
Just swap color when you've scrolled halfway down the page π
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
Yep, that is probably true
Many services I use that I don't like the design of, choice are good, but it's painful to build for that
Yep, you are right
So I decided not to make the white design. Thank you for your opinion β€
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
Oh, yea. I wanted to do it, too. Then I changed my mind when I realized how much work I should do π
Check the message above where I tagged you
yeah about WoT?
Yes π
Yeah
Other than that, everything has been completed that I originally planned for TD
aside from automatic logging
Β―_(γ)_/Β―
π
π
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
π
You must do it better π
World of Trucks API
Disclaimer
This API is not associated with World of Trucks, SCS Software, or TruckersMP.
The API is provided at a best effort...
Nah, plates was tacked on after 
So is there instructions? Or is this an IKEA situ? π
the plates endpoint actually uses the /api/wot/player/ endpoint as well 
ahh ok
see API Endpoints
there's 1
it provides Json, that's it
with all the info that is available somewhat easily from WoT
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
looking at the example response... Is there a way to get the most recent load taken?
no
ah okay
the log book is specific to the logged in account
oh righty
https://worldoftrucks.com/en/online_profile.php?id=1 as you can see
Who needs Dreamweaver? π
ahh I seee
JetBrains π
much nicer
waste of space dreamweaver π
What about VSC? Or Atom?
had like 7GB left on my hard drive... I've just freed up like 60GB removing unneeded programs π
yeah but this is on my laptop
Btw the D: drive is for all my nvidia share clips and the F: drive is file history backups
oh gg
250gb hard drive ;-;
but only 250 because I gave the old 500gb one out of it to my mum
because hers conked out
rip
so I'm sacrificing disk space for her π
my old 3TB hard drive killed itself in September tbh
i lost 2TB of stuff -_-
cos my backups decided to not work
:/
i mean, 5-6 months later, i've done well lool
that was the main reason my yt and web developing just halted...
The needles of the drive have gone down onto the disk making a weird noise as heard on video but I donβt know if that can be fixed...
and my hdd
might be able to get my 2TB of stuff back one day
SSD is still the best thing π π
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
You never have any guarantee to recover data, hence why you back things up
Both can break catastrophically, ssds are to a degree safer as they has error correction
Or SSD + HDD weSmart
or cloud and pay for someone else to worry about it
clouds are actually a good solution

but cloud servers are good
providers pay way more attention on the persistance of your data than you are able to do
just security is a but annoying now
Real secure passwords: https://twitter.com/paradoxengine/status/984006402858455040 π
pw manager ftw
even it might be hard to find a password manager which allows 500 character passwords π€
@wicked lava Keepass does.
notepad++ is the best password manager ever 
Finally someone uses the same thing as me
I'm wondering... how good is it at auto filling? π
Google Chrome does the autofill stuff :p
1pass can happily do 500 chars
Remembering is not the problem - that does the pwm
But imagine you have to sign in somewhere but cannot copy the password...
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
π
that's why you have a pw manager on the phone to copy from too
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?
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
π
company using OVH
5$ on firewall not being configured, or configured incorrectly
bonus points if exposed mongodb without auth
π


Your 5$ tux (I don't think they configured any firewall) π° .
We are not on mongodb but mysql
Anonymous logon as well? 
I'd say no
awe, no bonus point at all then 
Having some trouble with implementing this recursive binary search. https://pastebin.com/Sht6B0G5
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
Fixed my problem by adding the keyword "return" before each recursive function call 
that's why you have a linter warn you about ignored return values
most compilers warn like that too
-Wall iirc. to get it to warn about most things
-o pedantic maybe too
:/ 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
That's nothing to do with development 
π
Looks much better now π
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
@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
The guy want to pay him via Paypal, I was quite "meh" when he told me that
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
That's more aimed at mass distribution, not as much as a locker
they take quite a substantial cut as well iirc.
Icons can do so much! β€
If you did not type there "
", I would blame you so hardly 
π π
@small ermine Do you remember when I was talking about flexbox?
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
Ooh
One line and it makes so much
Woop π
More code I write, shorter commit messages are on Git
π
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?
π€
Wich one (On wich platform I mean)?
I want to do it for personal stuff
I will not share my app
But I want to make my life easier
Yeah
I believe there is permission for it
Devs? π€
I guess it requires some basic knowledge on building plugins
the readme only contains some api instructions...
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
It isnt a particularily difficult SDK, but you need to have knowledge of atleast the basics of C++
@small ermine you could also have a look into ETCARS https://etcars.menzelstudios.com/
As a way of getting data from the game
Hmmm interesting
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
Webhooks would be very nice
very intarstineg
There are a couple of SDK's I believe or in progress, C# and Node
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:
Webhooks are a work in progress. Not ETA as of yet.
Yh
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 π
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
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
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
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 π
Yay!
I need to start learning some js
Then I can do a bit more than just websites π
tbh I've never learned php, I'm using node.js only π
A nice example of how it can be used...
https://github.com/LasseNiermann/Virtual-Trucker-Rich-Presence
Requires some basic knowledge of node and websocket
Yeah, I just need the info for when it's done (profit, fuel consumption, load info, etc.) for putting it into my database
Just don't forget webhooks are gonna be a thing soon
CarsDB 
@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?
I don't believe jammer built the SDKs
π€
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
tsk tsk. @rich flint committing node_modules
π
Right the job finished doesn't fire until the delivery is completed and the continue button has been pressed on the job results screen
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
Sometimes there's a break in the middle of nowhere
And some unknown chars at the end...
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
So it's actually okay? π
Yh
You know the beauty of the open source wirld
World*
You can help improve the existing code!
π
Or @wicked lava if you publish it I can add it to the 3rd party list
π
Real overkill is when you add flexbox to an item in an ordered list ... π
display: flex;
}```

get that for crashes
Erm.
like if hit walls and stuff
Welp
plus spam of json request too
Does it crash or just continue working.

I get the same. The others do not want to fix it... itβs a problem of ETCars itself....
hmm
We are currently working on a very simple auto start thingy which doesnβt even have a log window.
well i want keep note to you thow
because meh bugs man
π
lucky works
thats good thing
Just join the Discord server. Then you may test it in future
what i can try is patch of spam of request aka json
make as cooldown
if want me to?
idk i did this right for my own RPC https://hastebin.com/jaditoboju.js
this all i get rn
for example
what im gonna do is make a switch so have diffrent games as in ritch pres
Main part done π
what is dat
My page for servers for CS:GO
Connected servers with website
etc.
Now adding content
π
Rules are long as Monday π
π
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
@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
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
@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
Whatβs the value you tested it on?
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)
Don't think you guys have seen this, I've half finished a "staff" area, and I can just use a bit of code to put the posted posts anywhere π
I'm going to use it for something for CarsDB 
Is it self hosted?
and kind of a rip off the name...pplz might get cornfuzzled π½
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).
gandi.net has a paas service that isn't bad
no cpanel
it uses varnish for caching as well
I'll check it, thanks
they also have free certs alΓ‘ letsencrypt built-in
https://hetzner.com
They have a pretty good and cheap offers for v-Servers... and other stuff
As a leading webhosting provider and experienced datacenter operator in Germany, Hetzner Online offers professional hosting solutions for a fair price.
Gandi isn't what I want...
That happens, bra π
π
@forest hedge @unkempt grotto I think this is the right channel ... π€
It cannot work with odd numbers 
Have you looked at the documentation for round and how floats are represented in python?
Awe, it was an exercise for @forest hedge 
Teach him to check documentation when things don't make sense
Β―_(γ)_/Β―
Sorry. Did I say I didn't check it?
I know what it does, it's just silly its like that.
Why? I mean - it's logic at some point
The note explicitly says why, and you come here asking why. Then yes, I'll assume you didn't read the docs 
I meant: Why do you consider it silly as it's logic at some point.
Because for example round() in PHP does exactly for what it is supposed
PHP's round doesn't do exactly what it's supposed to either
Can you please show me where I asked why?
both are subject to representation of floating points in memory
stop being on the war path all the time @forest hedge
What.. xD
you are being antagonistic
Not really given I never asked why..
Just saying I think it's silly. If you disagree, whatever.
Β―_(γ)_/Β―
@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
I'm not starting a fight. I literally asked where I asked why.
It's not me that's misunderstanding the situation.
Itβs ok now
Very well.
π
Lol glad you got it figured out @wicked lava
I'll be taking a look tomorrow (maybe) π
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
woa
whaaaat
π
this Bass Bossted brillent on VirtualDJ man
so much BASS
what if my speakers just blow RN π
so powerfull rn
?
I just need a way to take this and put it into an API so it'll go into my db π€
π ta
got 30GB of songs like jeez my friend been giving so much songs
π
xD
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 π€¦
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
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
@lilac patio @small ermine If it'll be easier ETCARS will be getting webhooks
mysql data only pick up loacal hosting i cant connect to it only i can do is call in php
then all you do is have a php api setup to receive data
then insert directly to the db
that is helpful
but it won't be out for a few weeks yet due to my vacation
btw i found it when i complete a job
@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
you can't run SQL locally
πΏ
your SQL server has to run on the same server that does the PHP
otherwise it's a security risk
(remote connection)
just thy dont have remote hosting
well for me using free hosting because <-- not ritch buy dedi or vps do all this
info thy say can do
You should be able to have a provider have web and sql
well does have web and sql

