#programming

1 messages Β· Page 28 of 1

unkempt hamlet
#

Yeah

mossy cloud
#

And DMd me about it lol

slim pendant
#

lol

rigid zenith
#

who desined the vtc systemπŸ€”

unkempt hamlet
#

Mostly J-M with many internal contributions

rigid zenith
#

is there a system to blacklist people from applying as there is a certian person who wont stop when we deny his app

#

starting to get enoying

unkempt hamlet
rigid zenith
#

πŸ‘

next crane
#

If you use relational databases and the "action" field is text, then I recommend adding a integer and indexed "action_crc32" field. Calculate it based on the "action" when inserting a record into the database. Before making a selection for an event, calculate its crc32 and select this by "action_crc32". This will speed up your application. Generally, MySQL and PostgreSQL index integer fields better than text, and it works faster (I think it is also relevant for MSSQL). Also, don't forget about the indexes for your tables in DB.

royal quiver
#

For the 600ms average ping, over what time period is that ping checked?

cinder spear
#

What do you folks use as affordable logging solutions? Looking for some alternatives I could use for a personal project that writes a lot of logs that aren't queried very often, but do occasionally need to be filtered by arbitrary fields like a request ID for example. As text it's doing about 3.5GB a day and the disk on the system itself isn't too fond of it.

Cloudwatch would seem to be about 60€ a month, which isn't unreasonable and surprisingly close to the "run my own elasticsearch on a high performance disk" solution I used to have, but I'm wondering if people know possibly cheaper alternatives.

mossy cloud
#

How on earth are you managing to write 3.5GB of logs per day for a personal project? :O

cinder spear
#

by processing about 200k lines of text per minute

#

it's just writing to journald right now, but netdata on the same server is complaining it's having trouble flushing metrics to disk

timber stag
#

what do you need that much logs for

cinder spear
#

seems significantly more expensive than cloudwatch

raw notch
#

datadog?

cinder spear
#

pricing seems reasonable, might try it

#

actually nvm, it'd be about 150 a month with 7-day retention KEKW

strong quail
#

I've exam from AI rn and I'm just waiting 'till it'll finish hmPepoo

#

Also hai all devs blobwavepeek

royal quiver
#

Discord Py noice

strong quail
#

Nah - for Discord bots I use discord.js kappapeek

timber stag
#

js supremacyyy

#

dont kill me for liking js pls

strong quail
#

Jesus... Tried to configure today a web server for my Node.js app that I build for my employer...
But nope - the latest available and supported version of Node.js by this server is Erbium... which will EOL on 30th of April next year...
Meh... sadpepe

#

My app will work on version 12, but still that isn't really good,.

cinder spear
#

I just upgraded one of our apps at work from node 10 KEKW

strong quail
#

Well - I always upgrade Node.js to latest LTS

cinder spear
#

yeah same

#

except it usually happens like 6 years apart

unkempt hamlet
cinder spear
#

re: SSH password vs. public key auth

It's much more important for servers connected to central account systems like ldap, where the same password could be used to access multiple systems. With keys the client credentials can't be used to replay a valid login on a separate system to achieve lateral movement in the network; one compromised server doesn't immediately become many compromised servers. 2FA can help here too though.

re: direct root login

Accountability and auditing is important. If an administrator's SSH credentials are compromised, or an administrator is actively doing malicious things, generally need to know about that. There are other solutions that allow direct root login while still having that amount of visibility into who's doing what.

re: firewalls

The entire point is that when you start applications that listen on ports they are not automatically exposed to the world. For example, many game servers listen on a separate rcon port that you wouldn't want to expose to the world unless actually using it. Sure, the proper solution would be to configure the service not to listen for that at all, but in reality that's just not always possible.

re: auto updates

If you're just running a personal thing where it doesn't matter that much if it's down for a bit it's perfectly fine to use auto updates to take work off your hands, better if you have the monitoring in place to notify you if things don't come back up. If it's an important thing it's probably better to just subscribe to security update mailing lists for your OS and keep an eye on them. It's not a useless tool, but one that has to be evaluated before use.

Overall a great video and the point of digging deeper and understanding the reasoning behind things is important, and I wish more tutorials explained the reasoning and trade-offs with their recommendations.

shadow marsh
#

Today, I gave my bot a small but eventual nice update.

You can set now suggestionchannels or remove them and the bot will react to upvote neutralvote and downvote in the set channel(s) (you can have more than one, but who needs more than one suggestion channel though)

What do you think about that? (and yes, I know, the color is missing in the help-embed)

unkempt hamlet
#

Just like our @glass rampart ultranice

shadow marsh
#

Yep, but you use different emotes BlobFearSweat - but I may add a value, where you can decide between the three or just two ones either with the up/down-vote or +/-

unkempt hamlet
#

We use a separate config entries for +/- reactions

shadow marsh
#

Yeah, I wouldn't do it different πŸ˜„

#

hmmm, imma add it

shadow marsh
#

JDA πŸ˜„

#

Java

royal quiver
shadow marsh
#

I finished it now and also killed a small but not noticeable bug thisisfine I'm kinda proud of myself :3

mossy cloud
#

Is https://github.com/TruckersMP/API-Client compatible with Guzzle 7?

C:\laragon\www\plasmagaming>composer require truckersmp/api-client
Using version ^1.2 for truckersmp/api-client
./composer.json has been updated
Running composer update truckersmp/api-client
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- php-http/guzzle6-adapter[dev-master, v1.0.0, ..., v1.1.1, v2.0.0, ..., v2.0.2] require guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but the package is fixed to 7.3.0 (lock file version) by a partial
update and that version does not match. Make sure you list it as an argument for the update command.
- truckersmp/api-client v1.2.0 requires php-http/guzzle6-adapter ^1.0 || ^2.0 -> satisfiable by php-http/guzzle6-adapter[v1.0.0, v1.1.0, v1.1.1, v2.0.0, v2.0.1, v2.0.2, 2.x-dev (alias of dev-master)].
- php-http/guzzle6-adapter 2.x-dev is an alias of php-http/guzzle6-adapter dev-master and thus requires it to be installed too.
- Root composer.json requires truckersmp/api-client ^1.2 -> satisfiable by truckersmp/api-client[v1.2.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

unkempt hamlet
#

We use guzzle6-adapter package

mossy cloud
#

Any particular reason?

unkempt hamlet
#

I don't recall any from the top of my head

mossy cloud
#

Hmm, is there any reason it can't use guzzlehttp/guzzle?

#

I'm trying to link the two together

User signs in with Steam > checks TMP if an account is there and saves it

unkempt hamlet
#

I don't know, honestly. You can create a pull request (if you have time) or an issue in the repo.

mossy cloud
#

Alright thanks

timber stag
shadow marsh
#

What do you mean?

cursive orchid
#

Hello there, little question for devs.

Did you use your own encryption software for your archive in the TMP Data directory?

Thanks! πŸ™‚

unkempt hamlet
#

I don't think we can answer this question πŸ˜‰

cursive orchid
#

No prob, I can understand haha, thanks btw πŸ˜‰

floral mist
#

i hate microsoft/windows and virtualbox as well
Why tf can't you connect in c# uwp with mysql connector to a database running on a VM that uses the host only adapter which is neither public nor private nor domain network category... but using the exact same code in wpf or forms works ...
Fixed it by using a bridged adapter to an adapter in the private network group category

strong quail
#

I would write that I don't understand what are u talking about, but I realised that I'll have to create a project in C# with use of MySQL DB (on the end of this term)
So... PES_Yeah
At least I'll know what to do when nothing works kappapeek

floral mist
strong quail
urban lantern
cinder spear
#

ooh... it's not on k8s yet, but it is containerized already so not a big leap to it

urban lantern
#

3.5GB a day should be fine in elk depending on how you set it up

#

It's pretty nifty (the k8s stuff) it basically hooks in at the host level and can read std err/out and throws it in. If I recall if you print out json it'll just parse it too (citation needed)

cinder spear
#

sounds like a replacement to fluentd/fluentbit

urban lantern
#

Yep!

#

Weirdest part about elk stacks is just the tuning if you're running on a single node. If memory serves it will still 'partition’ in 3 or 5 sets by default

cinder spear
#

will definitely have a look at that. K8s is awesome and I love it at work

urban lantern
#

Yah!!

#

For local development I cannot recommend http://tilt.dev enough

#

It's game changing man

cinder spear
#

runs the pod in a remote cluster with hot reload and all that

urban lantern
#

Ah same dealio basically!

#

Skaffold is cool but I kept running into issues with the quick reloads I was doing

#

I'd get like 2 versions running atop eachother

cinder spear
#

haven't had that issue, but the pod template we deploy is named after the service+person so when it applies the new yaml k8s just replaces the old pod with the new spec

#

can't get a duplicate

urban lantern
#

Oou

cinder spear
#

but I have noticed it sometimes fails to hot reload if you save while it's uploading the previous container

cinder spear
unkempt hamlet
cinder spear
#

it's the first blog post on the front page, which leads to the same link katieShrug

marsh oriole
#

Anyone able to help me in my server? I have 2 basic bots but need help with the music one. Need 24/hr hosting and spotify link recognition. I use JavaScript for it all so anyone fancies helping drop me an @ (my main one is 24/7 hosted thru github and fully functional with few bits on it)

royal quiver
#

So you want someone to host a bot for you for free?

unkempt hamlet
#

Firebase has a free tier, Cloudflare Worker has a free tier (requires some code change), etc.

cinder spear
#

AWS has a free tier, GCP and Azure have trial credits for a year

marsh oriole
#

Yeh, i used heroku for my main 24/7 hosting and yes its free but only for 1 im pretty sure

#

Ill look into other ones but need a bit of help with the spotify code

raw notch
#

bots shouldnt heavy for a little vps, you can get it from a lot of providers: netcup, ovh, hetzner, scaleway

#

with less then 10-15 eur you can get a 2core 4gb ram easily

unkempt hamlet
#

Hetzner CX21 - 4.90 eur for 2 vCPU, 4 GB RAM, 40 GB disc space and 20 TB traffic

livid shoal
#

Hello blobwave

#

I have a problem and I need your suggestions.

#

So, I have a developer at my work that's developing a web app in PHP. The problem is, XAMPP and WAMP are not allowed in the company, which productions servers you recommend for a network server?

unkempt hamlet
#

Production server is not what you meant, I believe

#

You wanted to say Development server

#

He can use Vagrant box, something like laravel/homestead, which comes with everything OOTB, including PHP, MySQL, Nginx, Redis, etc.

mossy cloud
#

I would recommend Laragon

unkempt hamlet
#

Laradock is a good choice as well

livid shoal
unkempt hamlet
#

Then you'd be better to build the server by yourself. I don't recall any OOTB solutions for that.

livid shoal
#

Build a server?

#

Never done that before, how would I do that?

unkempt hamlet
#

Install Ubuntu Server, install PHP/MySQL (PostgreSQL)/Nginx, set up a firewall, etc.

#

There are plenty of tutorials out there, DigitalOcean has some great examples

raw notch
#

i love DO tutorials, they are perfect

livid shoal
#

Oh, you mean that, I tough you were talking like assembling a server πŸ˜‚

unkempt hamlet
#

That's also an option troll

livid shoal
#

Thank you both for the suggestions.

#

Would it be fine if I assembled super computer and tested it by pinging you CJ? blobpeek

#

You would have an excuse for your boss (if you work from home)

unkempt hamlet
#

You must have a much SUPER supercomputer to be able to ping me trolldance

#

Sorry, but I don't have time for 3rd party tasks for now, I have my own servers to feed

livid shoal
#

A quantum processor is enough?

unkempt hamlet
#

Two.

#

And a paycheck from Google HQ.

livid shoal
#

xD

#

Can it be from Google Maps Team? I have some connects

unkempt hamlet
#

They pay well anyway, so aPES_MoneyRain

livid shoal
#

Imagine hosting TMP on a quantum server

unkempt hamlet
#

I mean, it would be a hilarious achievement to run it there.

livid shoal
#

Would OVH have power and space for it?

#

I mean, they have a big empty space now troll

unkempt hamlet
#

We will have some network troubles anyway, so shrug1

livid shoal
#

We put it on your garage

shadow marsh
#

Does TMP have 1GBit or 10GBit uplink?

unkempt hamlet
#

1 Gbit on new servers, cannot recall the other ones, might be 500 Mbps

shadow marsh
#

That's not much tbh - not for a server blobcateyes

livid shoal
#

If I connect a fiber from OVH to my home, how much ping would I probably have?

#

France to Portugal maybe 5ms?

mossy cloud
livid shoal
#

I still think that CJ's garage would be a good option

unkempt hamlet
livid shoal
#

I mean, it's cold there, so it's a plus

livid shoal
unkempt hamlet
#

Only when DDoSed troll

#

I'd say we have a 50% headroom

livid shoal
#

That's amazing

cinder spear
#

a thousand players in the same area should be about 200MB/s at sim1's rates

#

or 1600Mbps

livid shoal
#

I don't know how much it is for my government app as it's a private fiber network connecting the sites so maybe 100Gbit/s? blobpeek

static cypress
#

Does anyone else have the problem of assets not saving on the Discord Developer Portal?

#

I upload them and if I reload the page, poof, they are gone, never to be found again

royal quiver
#

I have experienced something similar...

foggy osprey
#

They save & show up, just not instantly

#

Upload a file and wait 15-ish minutes

static cypress
#

alr, thx

dapper echo
ember canyon
#

which website is good for learning Python coding? mainly for people who has the brain of a 5 year old... 😦

unkempt hamlet
#

5yo learn Scratch athink

ember canyon
#

oh noes, not the PTSD from scratch

gritty grotto
#

Developed 2 bots and websites kinda like truckers FM i think im tired lol at least i get good pay tho

timber stag
raw notch
ember canyon
raw notch
#

sorry.. you what? .. you shouldnt be on Discord πŸ™‚

timber stag
past shuttle
#

Would Firebase be recommendable?

unkempt hamlet
#

Depends

cinder spear
#

good for some things, bad for others

gritty grotto
unkempt hamlet
#
Bootstrap Blog

Bootstrap 5 has officially landed! After three alphas, three betas, and several months of hard work, we’re shipping the first stable release of our new major version. It’s been a wild ride made possible by our maintainers and the amazing community that uses and contributes to Bootstrap. Thanks to all who have helped us get here!

cinder spear
#

no more jquery pog

mossy cloud
#

Niceeee

ember canyon
#

what bootstrap does

past shuttle
ember canyon
#

oh ok

#

thanks

#

so it's a library that helps you to develope a website

shadow marsh
#

That's how I understood it, yes

past shuttle
#

Pretty much

past shuttle
#

Quick question, the reactstraps button block isnt exactly working, would anyone have any ideas to why?

#

Nvm figured it ut

past shuttle
#

Am I correct in guessing you have to pay for MySQL?

shadow marsh
#

I don't pay anything - maybe because I host it by myself

past shuttle
#

Apparently i cant downlad it, I need to sign in, assuming I need t pay for it

shadow marsh
#

well, I just install it with apt install mysql-server mysql-client

past shuttle
#

Ill just rent a host, too much work lmao

shadow marsh
#

that's a 5 - 10 min work - depends on what you want to do shrug_animated

past shuttle
#

Well, I know pretty much nothing about SQL so 4Shrug

#

Mainly need it for a dashboard tbh

#

storage

quick glen
#

You do not have to pay for mysql

#

Oracle has all their downloads behind a sign in, you just need an account nothing to pay

past shuttle
#

Yeah I figured that out

quick glen
#

There's also mariadb you can use

#

Its "mysql, just better"

trail vector
#

Or you can just click here

shadow marsh
#

I use MariaDB actually - under the recommendation from ShawnCZek πŸ˜„

quick glen
#

MariaDB is generally the better choice, its faster at most things you need

shadow marsh
#

Yeah, I recognised that πŸ˜„

amber oasis
#

Might as well just use Postgres, save yourself from the horrible mess that is MySQL/MariaDB lul

past shuttle
#

I was considering Postgre tbh

amber oasis
#

highly recommended

shadow marsh
#

Well, I don't have any mess with SQL

past shuttle
#

Im surprised you dont have retired staff tbh

#

Ngl I have very little, if not, no knowledge abut SQL

amber oasis
#

left and rejoined ages ago

past shuttle
#

Ah

amber oasis
#

MySQL/Maria/Percona are ok but the moment you get any sort of scale, it'll hurt

#

when the site was rewritten, if the existing data wasn't in MySQL, tmp would've been on postgres

shadow marsh
#

What do you mean with scale?

amber oasis
#

number of records, availability, backup

shadow marsh
#

I just need it to put/get data to/from it

amber oasis
#

mysql and derivatives are terrible, they are better now, but still not good

#

and why settle for the worse option when there's a better option? lul

past shuttle
shadow marsh
#

Yes, it's on the same VPS where the applications are running

past shuttle
#

Thinking abut building my own server tbh

shadow marsh
#

Well, it's a VPS hosted by some1 - if I had the money πŸ˜‚ I'd do my own thing πŸ˜‚

past shuttle
#

lol

amber oasis
#

cheap way to do it πŸ˜›

shadow marsh
#

Yeah, I barely can survive but still do - I can't afford server pieces - even not a used server

#

I saved barely enough for a damn coffee machine for 50€ - and that in 3 month

amber oasis
#

Watch your local used market, I've picked up free boxes plenty of times lul

#

usually prep them and flip them for a small chunk of cash

shadow marsh
#

local used market? Any sites I could check where Austria is in it?

#

Doubt it will be sites I know already though

amber oasis
#

facebook marketplace

shadow marsh
#

lol

#

it's exactly the same site I thought it wont be that one πŸ˜‚

past shuttle
#

Would vultr be any good?

north flax
#

Whatever used stuff market exists can have server and computer stuff on it too :p

urban lantern
#

Keep in mind the server will cost electricity money to run too

amber oasis
#

vultr is fine, it's low-cost

north flax
#

Hey there, Kat and Thor, btw :>

urban lantern
#

:3 it's the old crew!

urban lantern
#

Omg that price

amber oasis
#

Itanium isn't produced anymore, so no wonder lul

urban lantern
#

Tempted to suggest a raspberry pi buuut

#

Arm and all the fun you'd have

amber oasis
#

I have 2 stacks of pis lul

past shuttle
#

I forgot those existed lmao

raw notch
#

with 24 eur monthly you can have a KVM 6 cores 32gb ram πŸ˜„

amber oasis
#

a pi3 that runs my local CA

north flax
#

I have one pi laying around, with a touch screen

#

Might get another one for a pihole later, after moving

royal quiver
#

Depending on the pi, it can probably handle pihole and whatever else you're doing...

shadow marsh
amber oasis
#

for that price, you can't expect more

#

Xeon is Intel's server line of x86 CPUs, so you can run regular old Linux on it

shadow marsh
#

Well, my VPS is running on a Ryzen with 64gb of ram and 320gb ssd

royal quiver
amber oasis
#

machines with that, which are given away or at low cost, gets picked up by people like me who know what they are looking for and has alerts on

shadow marsh
#

If I had the money, I'd do a massive ryzen system - but yeah, the VPS is affordable and it runs fine so far

royal quiver
#

Isn't self hosting a bit of a liability anyway?

amber oasis
#

wouldn't recommend it to the faint of heart

royal quiver
#

I've heard opening ports is a bit of a no no nowadays...

shadow marsh
#

Well, my internet is stable enough but not fast enough for it ^^ and also I do not have a UPS for power backup and and and

amber oasis
#

nah, opening 80/443 is usually fine, but you have to be careful with what you've got exposed

#

ie. keep your applications up to date

shadow marsh
#

Well, 25565 is the port I'd have to open actually aPES_Giggle

foggy osprey
unkempt hamlet
shadow marsh
#

πŸ˜‚

foggy osprey
#

Just open steam-api-2020-no-virus-free.exe

#

It's easy

amber oasis
#

that's outdated, you should get steam-api-2022-totally-virus-free.exe

foggy osprey
#

Ahhh of course

#

My bad

fervent axle
#

For sure that when you launch it, you have to enter your steam credentials and of course you will "unlock" the API key kappa it's safe like a bank

strong quail
#

Nah - if I were this guy, I would download steam-dev-tools-for-vs-2019-virus-free-veryfried-by-volvo.exe, install it, attach to the project, run it... and wait 'till it will crash. kappapeek

timber stag
#

very fried :D

ember canyon
ember canyon
# ember canyon https://youtu.be/j-4BrANTeCA

This isn't an ADVERTISEMENT, it's someone else's project. I got some inspiration by seeing this, and decided to create a Truck Sim for Android, using Unity. Anybody interested?

unkempt hamlet
#

First of all, what is your experience on Unity game engine? What is your experience in physics engines or game development in general? Do you have anything that moderately looking like a game design document?

#

Or you have funds to properly finance your project?

ember canyon
#

About 1 year of Experience with Unity, physics engines and game development. No official documentation is prepared as of now, working on concepts to visualise the project [Project is in progress]. Maybe not enough funds to support the project but, why not try it out at a small individual scale?

unkempt hamlet
#

Many tried, nobody succeed (I don't deem the half-baked Android port as a success).

ember canyon
#

Desktop > Android [In terms of Large scale Performance] always but, looking at the current click-bait stuff on playstore is what made me do this.

#

Obviously I'm not gonna make it exactly like SCS. Maybe something good might come out of this project?

unkempt hamlet
#

Maybe. Who knows.

#

I mean, just the junky physics alone will make your project useless..

ember canyon
#

Β―_(ツ)_/Β― atleast I'll try to make it better than the Playstore one's who post PC gameplay's screenshots and attract users.

unkempt hamlet
#

Well, begin with yourself - create an MVP with the basic idea and a draft for game design document with that basic idea outlined.

raw notch
#

consider native MP

unkempt hamlet
quartz moth
#

πŸ˜‚

shy swan
royal quiver
opal arch
#
ember canyon
#

Hello, Discord rich presence is on and my game status say's "playing ets" this is an technical problem I think

floral mist
ember canyon
#

I playing ETS2 MP, I wanna do a truckersmp game status and my discord status say's "playing ets2"

floral mist
#

did you start truckers mp through the launcher?

royal quiver
#

You might also have to enable the rich Prescence in the tab menu

strong quail
ember canyon
gritty grotto
#

Can someone help me my Node . is not working so i can not turn on my bot

unkempt hamlet
#

First of all, just node without ". Second of all, there should be a main script, like node index.js

gritty grotto
quick glen
#

Its usually called index.js or main.js

gritty grotto
#

@quick glen I changed it to main.js

#

so yes it's main.js

quick glen
#

so when you type node main.js into the console, what happens?

gritty grotto
#

ill ss it

#

hold upo

#

@quick glen

quick glen
#

Ok. So as you can see by the error, discord is not defined.
Have you done a require on the discord library you are using to import it?

gritty grotto
#

Like const Discord = require('discord.js');?

#

Thats what i havce in my code

quick glen
#

Yes

gritty grotto
#

have

quick glen
#

Ah, so notice how you have called it Discord with a capital D in the require, but in the line where you get the client, you are using lowercase d

#

Capitals matter so its unable to find what you imported.

gritty grotto
#

So do i change const Discord = require('discord.js'); to const Discord = require('Discord.js');??

quick glen
#

No

gritty grotto
#

what do i change

quick glen
#

Look at the screenshot of the error you are having

#

You now know that you are importing the discord js library to the variable Discord, so when you want to use it in your code you have to refer to it by Discord

gritty grotto
#

O h i seee i change new discord.client to new Discord.client

quick glen
#

Yep! πŸ˜„

gritty grotto
#

Okay thank you!

#

@quick glen Oh murphy! now its saying TypeError: Discord.client is not a constructor

quick glen
#

Well, thats because client is actually Client with a capital C

gritty grotto
#

Oh boy i need to just start over lmao

quick glen
#

Not really

#

its only for the new Discord.Client()

#

as you can see from the discord.js documentation

#

So you only need to change the new Discord.client() to new Discord.Client() and thats it

gritty grotto
#

Okay thanks

quick glen
#

You can then use client to access the discordjs client

gritty grotto
#

Oh i see

#

i got it to work thank you so muchhh

quick glen
#

Awesome! πŸ™‚

timber stag
#

i have a small problem

#

If i wanted to make the dropdown be limited by the window size... how on earth would i do that

(also the gravatar image shouldnt be under it it should be next to it. odd)

#

i can achieve it with position relative but that causes the navbar to increase in size and the element to move

cinder spear
#

right: 0

timber stag
#

thank you

raw notch
#

a question for the Laravel experts out there, what's the best Laravel Admin panel? I've tried Voyager in the past, is good but not really a big fan. Alternatives?

pulsar jungle
#

Tho Nova is paid

raw notch
pulsar jungle
#

Yes, you just need to setup lists forms, search, dashboards etc

#
  • on sharp
#

I use it as an admin panel

raw notch
#

interesting

pulsar jungle
#

Tho it doesn't seem to have a dark mode. At least in the version I use

raw notch
#

mmm ok.. but need to design the forms from code

pulsar jungle
#

Yes, you do

#

I can't use voyager sadly as it's not compatible with other packages that I use

#

Form validation is in a separate file

  • in sharp
raw notch
#

i see, voyager has the ability to start directly from models

#

and is purely from UI

mossy cloud
raw notch
#

but is nice this Sharp.. gives more control

mossy cloud
#

You can easily use @can('permission') in views or if(Gate::allows('')) in controllers

raw notch
mossy cloud
#

I'd say it doesn't always need to be separated unless there's a need or a business case for it. Otherwise just make it easier for people to find things in the same place a user would etc.

#

But yeah, comes down to personal choice sometimes :)

rugged copper
raw notch
#

and I've started from the "central" model i have

rugged copper
#

No worries, it’s always nice to have options πŸ˜„

foggy osprey
#

Filament is 100% the way to go imo

#

(if Nova isn't an option at least)

raw notch
#

how much is nova?

mossy cloud
#

$99 per project

#

Or $199 per project for teams

raw notch
#

if worth it, 99 is not so much

#

btw, the longest thing is not use Sharp or Filament but install things via composer

raw notch
#

and we have a winner, filament

unkempt hamlet
brave galleon
#

ups

royal quiver
#

That font

brave galleon
#

why is it bad?

unkempt hamlet
#

It is indeed bad and hard to read

timber stag
foggy osprey
#

blobwaitwhat what does this have to do with development?

shadow marsh
#

And what's the development issue? blobcatwaitwhat

normal veldt
#

idk maybe they can ban him

night rootBOT
foggy osprey
past shuttle
#

Well, to me it looks like he is asking for help, although idk what he is taking about πŸ™‚

unkempt hamlet
#

You already late to the party shrug1

past shuttle
mossy cloud
#

What's going on with the TMP API as of late?

#

Our status monitor is going up/down regarding the TMP API

unkempt hamlet
#

Our server is doing heavy lifting PU_PepeLift

tardy smelt
#

Hey,

Have anyone tried the new Macbook with the M1 chip to do PHP / Laravel development on it? I'm debating if it's worth it for me to buy or if I should get something like a Dell XPS or something similar.

mossy cloud
#

I've recently just got a laptop for Uni facing this problem, I decided to settle on a Dell Inspiron :)

unkempt hamlet
mossy cloud
#

Powerful enough to be quick at installing things, but not as expensive as a Mac or an XPS

quick glen
#

With rosetta, you can run intel stuff to so it does not really matter.

#

Hell the thing runs ETS2 at all low at around 16+ fps, impressive considering its emulating intel at the same time

#

Apart from that, all the usuals. Go for the extra ram and storage

tardy smelt
# mossy cloud Thing is, are you just wanting it for development? If so then it doesn't need to...

I had a job once that they gave me a shit laptop and it couldn't handle me. The computer was running it's fan to 100% all the time and I had to stop working so give the laptop some time to breath troll I left the job the next day since it was shit.

The laptop is for IRL work and TMP so it needs some power but it's mainly for Web Dev. I have my main PC for gaming and all. The laptop is just when ever I'm not home :p

quick glen
tardy smelt
#

But Penguin do you use PHPStorm or you use something lightweight for development?

mossy cloud
#

PHPStorm :D

#

I use Laragon for the web server :)

quick glen
#

Honestly, I've more or less not had to care about it being an arm processor. There's only been a couple instances where I have had to do some workarounds because of it, and thats only because the project I was trying to use did not yet have any support for M1's and assumed intel. (Cocoapods when building react native apps)

Apart from that I've not done anything differently. I'm impressed with the amount of power you get out of the thing, and holy hell its silent. I cant say I remember the fans having spun yet. Battery life is also great, even when running a game.

The M1 graphics only support two monitors at a time natively (includes the one on the mac itself). Theres dongles that like have their own chip in them so you can get more than two monitors if thats a need.

#

Most software out there that I've been using atleast has quickly gotten or are in beta/working on native M1 support

shadow marsh
#

What's wrong with Contabo?

cinder spear
mossy cloud
#

Unless I misunderstand though if that's on a server it won't affect your local development?

cinder spear
#

it provides language parsing for IDEs so they don't have to do it to provide things like auto-complete and documentation

mossy cloud
#

Oh nice

cinder spear
#

PHP implementations, for example

tardy smelt
royal quiver
brave galleon
#

the pterodactyl panel shows the RAM that is allocated to all servers at the current moment, it does not matter whether it is used or not.

raw notch
#

guys how is called the protocol used from discord to get sharing info? oembed?

tardy smelt
#

Buy me a new desk than kappapeek

#

You mean shipping address :peek:

#

I don't have room for a bigger desk in my new place sad

#

That's going to be an expensive shipping blobpeek Keep in mind that my desk can go up and down too blobpeek

mossy cloud
raw notch
#

yeah thanks

royal quiver
foggy osprey
normal veldt
#

oops sorry

foggy osprey
#

Under the ticket category "Bug Reports"

normal veldt
#

i have an API problem

unkempt hamlet
hard mulch
#

Haii

dapper echo
#

No

boreal coyote
#

Add vr support please

foggy osprey
unkempt hamlet
hard mulch
unkempt hamlet
#

Stop chit-chatting here, this is not #guests. There is a certain discussion theme here, please follow it.

unkempt hamlet
#

Meanwhile, CDN provider Fastly is down BoiGif

unkempt hamlet
royal quiver
#

That broke a surprisingly large number of websites SadCat

cinder spear
#

there aren't many companies that offer edge computing at scale

ember canyon
#

Hello

past shuttle
#

Im actually losing my mind over python

#

Anyone willing to help me out with my homework? lmao

cinder spear
#

maybe if you share the problem here someone can point you in the right direction

#

not really in the business of doing other people's homework, but if there's a specific problem or concept you're having trouble understanding then that's something to help with

past shuttle
#

Im currently getting this error

TypeError: unsupported operand type(s) for -: 'float' and 'str'

although whenever i try to add a float or string I just get another error,

"ValueError: could not convert string to float: 'y'

not sure what else I can do without changing the script completely

#

If needed I can send in the file, although I may as well wait until asked just in case πŸ™‚

#

Fyi, I did try t add a float to my both variables affected and vice versa although I get that second error

worldly tulip
#

Yeah it would be better to send the file

past shuttle
ebon garden
#

yay im going to be doing computer science next year βœ… βœ… βœ…

worldly tulip
#

I do not get any error running this program πŸ€”

past shuttle
#

You dont?

worldly tulip
past shuttle
#

go for y, 60, y

#

The issue is the voucher sending the error

#

Everything else works apart form the non numerical else statement that idk how to do

quick glen
worldly tulip
#

Yep just got the error, you're using publicationVoucher in two different things

quick glen
#

You already knew what part of your code the error was in so all that was needed was to look for the part where you are trying to do what the error says isnt possible.. which is using a string in a numerical operation πŸ˜‰

past shuttle
#

Yeah true, I just cant figure out how to fix it tbh, maybe a break is needed lmao

#

I've redone this 3 times now because of the similarities to other scripts by other students that I dont even know lmao

worldly tulip
#

Look closely where you used that variable

past shuttle
#

oh

#

Thank you, python is actually going to make me go insane lmao

tame moss
#

I'm coding a new website for my VTC xD

foggy osprey
#

good luck catthumbsup

mossy cloud
#

Nice πŸ™‚

unkempt hamlet
#

Apache Kafka for kids, very interesting approach

raw notch
#

my daughter would comment: "awwwwwww so cute" instead of "i know how to deal with a balancer, yay!"

ember canyon
#

Hello

loud shuttle
#

Hello

sour eagle
raw notch
#

afaik yes

pine hedge
#

Hey, does the truckersmp api have any docs for it?

#

couldnt seem to find anyting

unkempt hamlet
#

ooo one of the nice features I've never knew I need in PhpStorm

foggy osprey
#

woot

#

nice

mossy cloud
#

Nice

brave galleon
#

πŸ˜‚ "Your microphone is muted."

lilac aurora
#

How is that even close to being related to any development?

shadow marsh
#

Good question SCPEEK

normal veldt
#

can i here meld a game bugg

shadow marsh
#

You can report a game bug of TMP in https://truckersmp.com/support tho blobcateyes

If it's in SP too, report it appropiate in the SCS Forums (dunno the link in the head)

normal veldt
#

what is the server ip from DC

#

sombody want in the DC

foggy osprey
#

What's a DC? blobcateyes

#

datacenter?

azure fox
# normal veldt what is the server ip from DC

You can not fix bugs yourself on truckersmp. This has to be done by the developers.

Asking for the server ip's is very PepeSus
If you want to see the stats of the game servers:
+stats in #bot-commands

normal veldt
#

Yea I know I was shearing for the link of the Discord server

azure fox
normal veldt
#

I was looking for an invite link for the Discord server

azure fox
#

for who? @normal veldt

normal veldt
#

For somebody in the game he asked how I get a triple trailer and I had to go offline and I asked or he was in the Discord and he sat now I want to so I sended him the link

foggy osprey
#

The invite link to this Discord is in #info, if that's what you mean

cinder spear
unkempt hamlet
#

ooo

tardy smelt
trim needle
#

Uhh guys, Is it hard to make a VTC Tracker? And where can i get the SDK?

#

I'm still wondering alot about it

unkempt hamlet
#

It is hard.

cinder spear
trim needle
#

Ok thank guys πŸ₯°

royal quiver
trim needle
#

I already have Truckbook, i have used it for a long time.

unkempt hamlet
#

My dev environment is borked sadge

visual walrus
#

Rip

cinder spear
#

another reason why containers are so awesome

unkempt hamlet
#

ikr

#

Well, technically speaking, reproducible environment is fine too

cinder spear
#

yeah, containers just make that easy

mossy cloud
#

Your filesystem is fscked πŸ˜‚

#

Good luck πŸ˜‚

unkempt hamlet
#

Had to start over, good lord I'm using Vagrant

mossy cloud
#

Have you considered Laragon? Worth checking out imo

unkempt hamlet
#

I'd like to have the most barebone solution as possible. With Vagrant, I just vagrant up and voila.

mossy cloud
#

πŸ‘

unkempt hamlet
#

I am actually a Laradock contributor KungurHehek

unkempt hamlet
#

Oh no...

#

RIP cheap cloud on Hetzner bruhlmao

cinder spear
#

just get IPv6 only instances Kapp

#

I fully expect the price of ipv4 being the biggest driving factor for ipv6 adoption

toxic arrow
unkempt hamlet
#

Happy Sysadmin Day, everyone ablobcatheartsqueeze

ember canyon
#

Echo "Happy Sysadmin Day";

shadow marsh
#
System.out.println("Happy Sysadmin Day");```

![SCPEEK](https://cdn.discordapp.com/emojis/745176742460653588.webp?size=128 "SCPEEK")
ember canyon
#

Run ❌
Run as Admin ❌
Sudo βœ…

shadow marsh
ember canyon
swift geode
#

Who knows the R programming language?

ember canyon
#

Today we're going over the latest "virus" on Discord. Chances, are if you've been affected by this, you'll catch a notification about a "TrojanDownloader:HTML/Adodb.gen!A" in your Discord's cache.

According a knowledgeable user on reddit, this is nothing more than a false positive. The threat is just code in an image that's been going around di...

β–Ά Play video
#

This is very interesting to see this

foggy osprey
#

The thumbnail YikesWeird

ember canyon
foggy osprey
ember canyon
amber oasis
#

@opal arch If you guys use emojis from the traffic signs emoji server in @glass rampart still, suggest you either port those you use over, or that we arrange that one of you lot take over those guilds

opal arch
#

Yep, just checked. Botdottir is using emojis only from this guild

amber oasis
#

πŸ‘

fervent axle
#

Hello guys, sorry for disturbing but I'm wondering one thing. I'm creating a project for ( my own business ) with Laravel and it need a payment system. Which one is really good? Stripe or Mollie or something else?

rugged copper
raw notch
#

Stripe yes

ember canyon
#

how can i code discord bott that plays trucksimfm and shows song names whit /song command please help im on Android dont know how to add logic into the bot

foggy osprey
#

Well, you can't really code bots on Android to begin with

unkempt hamlet
#

That's not technically correct though.

foggy osprey
#

"can't really", didn't mean "can't" πŸ˜„

I don't see why someone would want to code bots on an Android device though

unkempt hamlet
#

You can have vim or nano in terminal, or just open a Github Codespaces or any other web-based development tool.

#

Possibilities are endless

#

To be honest, I'd rather use my S10 for development than my 5yo laptop.

foggy osprey
#

Still though, the small screen, the small keyboard

#

But yeah, if someone really would want to, they of course can get it working :)

cinder spear
#

You can connect a proper keyboard to android

#

and it works just fine

plucky shuttle
#

hello guys, can someone help me test my api? it works for me but it doesnt for my friend and i'd like to find out if its an issue on his end or globally

plucky shuttle
#

can you pm me?

#

i cant message you

unkempt hamlet
#

@eager linden refrain from posting useless stuff

eager linden
#

What

#

@unkempt hamlet what have I done?

cinder spear
unkempt hamlet
cinder spear
#

kek I can work on the mobile usability..

boreal coral
#

Work fine to me tho

cinder spear
#

yeah I just fixed it

boreal coral
#

Also, great feature 3v!

cinder spear
#

Google's PageSpeed results Kapp ez

mossy cloud
#

Hey, anyone here good with regex? Really scratching my head here as to why this isn't matching anything

unkempt hamlet
#

You're matching against one single continuous set.

mossy cloud
#

What's the way not to do that? In my very limited knowledge of regex, I thought the global flag would've prevented that?

unkempt hamlet
#

Hold on, you are checking for CR and LF symbols, but \r and \n from your example are literal symbols.

cinder spear
#

channel keeps getting marked unread HmmBoy

foggy osprey
#

Scam messages ThisIsFine

unkempt hamlet
opal arch
#

While I do not agree with all the points there, sadly, the ignorance and no communication from Discord can also be seen in their other projects, not only the Discord API

#

The point with the need to rewrite bots is indeed valid, @glass rampart needs a complete overhaul... again
For some reasons, bots are being so heavily targeted while the main issue is "user bots". One must invite a bot to their guild, a user account can join any guild

cinder spear
#

Bot accounts becoming more controlled doesn't mean they're doing nothing about user bots.

#

When you know what applications have access to what data, and that they have a legitimate reason to access that data, it becomes easier to control where that data ends up. Data protection laws like GDPR also heavily play into these things when user data (like open programmatic access to chat messages in the case of Discord) is a part of it.

#

It's never pleasant, especially when limitations are added to a previously open API. But I understand Discord's side of it too.

raw notch
#

anyone has issues with $this->request->getScheme() in laravel behind Cloudflare doesnt returning https but http? even with URL::forceScheme('https') and secure_urls = true in config/app.php?

opal arch
#

On the other hand, taking the message intent (for bots that must be invited) without a proper replacement is indeed harming the community of bots

cinder spear
#

User bots are not supposed to even exist so any restrictions they make to them wouldn't be shared with the 3p developer community

#

You can still get the message intent, if you have a use-case for it, no?

opal arch
cinder spear
#

Right, commands are better done with slash commands.

#

I can understand the hesitation with the ID card

#

But it should also be treated as a proper business partnership, not a "give me toys to play with" request.

opal arch
cinder spear
#

How is that different from the old !commands?

opal arch
#

With your own commands, you can easily define who can see and use the commands

#

With slash commands, you would have to make them visible for everybody to then run your own authorization on the backend

cinder spear
#

It's just a difference in visibility

#

The permission checking itself is the same. You get the user, you inspect their properties, you make the decision to proceed or drop the request

opal arch
#

But well, that might be an issue in certain cases. Besides, they are currently not supporting multi-line input or attachments afaik

opal arch
#

The idea of slash commands is great but it is not a full replacement for "custom commands" parsed from messages yet

cinder spear
#

looking at the documentation they do have permissions for slash commands where you can limit commands by roles

opal arch
#

By roles, indeed. But that must be specified by the bot, not the guild managers. On top of it, you cannot use the traditional permissions in Discord for that

cinder spear
#

It would be convenient to be able to configure those via Discord's own UI, but there's no reason why a bot couldn't offer that configuration (other than time to implement it)

novel niche
#

Hello! In Python, how do I take a distance (miles) and time (seconds) and turn it into speed? I'm not getting the same answer as in the example shown below. Is there something wrong with my code for it to show a different answer? Thank you!

brisk badger
#

Are u serious? 1 hr = 3600 sec. So the code should be miles / seconds * 3600

ebon garden
unkempt hamlet
#

what what?

royal quiver
#

Discord Py has been great, so it's sad to hear it's retiring notwesh

ebon garden
unkempt hamlet
shadow marsh
#

Currently I'm using SinusBot as "app" to stream a radio to Discord - however, it got unreliable and I always have to restart the app so the bot's working.
And that's what I not want.

Which bot is able to stream a radio to Discord 24/7?

Thanks in Advance πŸ™‚

raw notch
#

TruckyBot? πŸ˜„

unkempt hamlet
#

Even TruckersFM bot needs to be restarted from time to time.

shadow marsh
#

a custom radio, not a hardcoded one

#

Yeah, but not every 24 - 48 hours, CJ

#

I don't mind rebooting it all 2 weeks or something like that, however, not literally 1 - 2 days

raw notch
#

TruckyBot? πŸ˜„

shadow marsh
#

It's a custom radio, dow - I don't find my own Radio in your bot

raw notch
#

πŸ˜„

#

but you asked for a bot that plays 24 / 7

#

so your question was incomplete

#

❀️

shadow marsh
#

yeah, my bad πŸ˜›

#

However, I want to stream my radio to Discord all the time - must not be in many guilds, but at least one (main guild) - if it's a bot like TFM, it's okay

raw notch
#

discordjs?

#

maybe is only a problem in ffmpeg configuration

#

too much ram consumed?

shadow marsh
#

I don't have a problem with Ram, I got plenty of it. (64 has the machine, but is mostly used for mc-servers xD, however, 4 - 8gb is okay)

raw notch
#

and why it stops to working?

shadow marsh
#

the logs doesn't show anything

raw notch
#

simply hang?

shadow marsh
#

yeah, it just hang and then the bot leaves the voice and goes offline

#

then I have to log in to ssh and need to restart the service

trim needle
#

How does you guys connect webhook to Twitter?

unkempt hamlet
#

What do you mean?

trim needle
#

I meant something like this (I have to use ConSec example)

#

It's like automatically posting a new tweet in the discord server

unkempt hamlet
#

It is done via self-written bot or 3rd party service

shadow marsh
#

IFTTT iirc - but I'm not sure

unkempt hamlet
#

One of many, ye

gritty sail
trim needle
#

Thank Christian

gritty sail
#

nw πŸ‘

unkempt hamlet
foggy osprey
#

Gonna bookmark & give that a try soon, very interesting

raw notch
#

there is an online service permitting to final customers to pay (una tantum or subscription like), holds the funds like a wallet and then payouts monthly?
Like Patreon, but without the perks system or tiers.
in this way the final billing customer is only one (the payment system), not many end customers (to bill singularly)

mossy cloud
#

I would use PayPal? (its own account) Then at the end of each month you can move the earned money over to your own account

raw notch
eager panther
#

Hello there!
Well, I'm very new on the coding (I'm beginning) but I'm very interesting about how is it possible to create a job tracker (how he can see your games, account, etc..)
If someone have a video, or something like this to share me about how works a job tracker and also wich language I can use to create it, I'll be very glad. awesome
Thanks you!

unkempt hamlet
#

Hi. I don't think there is a video for job tracker, but you can find videos on different aspects of it: SCS telemetry API, frontend/backend solution, etc.

eager panther
#

Okay thanks you πŸ™‚

plucky shuttle
#

By the way, does anyone know here how I might be able to fetch the 17 digit steam id from a profile url? I know that for some users it's just there but what if the user has a custom id?

So for example https://steamcommunity.com/id/jokerdes/ returns 12345678901234567

viscid needle
#

Manually or automatically?

plucky shuttle
#

Automatically

#

I'm developing in Python

viscid needle
#

http://api.steampowered.com/ISteamUser/ResolveVanityURL/v1/?key=STEAM_API_KEY_HERE&vanityurl=jokerdes

#

It will return the steamid64

plucky shuttle
#

Yeah, that's what I meant, I just didn't know that this was the steamid64. Thank you very much!

#

Can you tell me where I can read more about this API call?

eager panther
plucky shuttle
#

Yeah, one second.

plucky shuttle
viscid needle
#

Yeah, no problem!

eager panther
plucky shuttle
#

Also, I saw on this projects's Discord server that jammerxd is working on a similar project

#

So that will be another way to look in to the hows :D

viscid needle
plucky shuttle
#

This looks promising, I think I'll add support for it in my project

#

It's basically a drivers hub but a lot better

amber oasis
unkempt hamlet
#

WorldQL is free for your first $50k in gross revenue.
PU_PepeYikes

shadow marsh
unkempt hamlet
#

Elixir GenServers (Erlang processes) might be harder, but free

wild holly
# plucky shuttle https://github.com/Lihis/ets2-job-logger

@eager panther I would suggest a better job tracker, as the one you sent in has a few problems, although it has a good documentation. There is an another application which is called Truckler, and its being developped activly and the other isn't. I'm telling you this info with almost 1 year constant experience with the job logger in a VTC you have sent in.

#

If you guys have any questions regarding how it works feel free to DM me.

foggy osprey
#

Do you have a GitHub link? Haven't heard about that one before πŸ‘€

ember canyon
#

πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚ dogggoooo

foggy osprey
plucky shuttle
wild holly
visual walrus
trim needle
plucky shuttle
#

Does anyone here know whether TMP does any optimizations to it's user images? E.g. profile pictures

#

Or do they just store them unchanged, because well, 1MB isn't that much and storage is cheap?

unkempt hamlet
#

User images (avatars) are fit to 260*260 px and saved using 70% quality

#

We always drop the quality just to be sure. Storage isn't that cheap as you might imagine, backups and outcoming traffic might be a huge deal for bigger projects.

plucky shuttle
#

Ah okay. Thank you,

unkempt hamlet
#

Happy 256th day, dear programmers!

ebon garden
#

Day 1 of GCSE Computer Science lol

#

and learnt some other stuff

#

mostly theory

violet copper
#

How dare it not be Hello World!

ebon garden
#

quite interesting

ebon garden
hot shell
unkempt hamlet
hot shell
#

πŸ˜†

#

well yeah, there's "string.printable" or "string.ascii_letters", but it was project i used only once to prove vulnerability, so there's was no need to make super-puper cool code

unkempt hamlet
#

You pay $5/month for every 100,000 stored images and $1 per 100,000 delivered images. There are no additional resizing, compute or egress costs.

foggy osprey
#

Sounds interesting

visual walrus
hot shell
#

looks like discord is dead a bit

pulsar jungle
royal quiver
trim needle
full forge
#

hello developers

violet copper
#

Hello Retired Manager

full forge
#

im not mr important anymore sadge

violet copper
#

😦

hot shell
#

how im angry on this "hackers" that have hacked mskhost vps. because of them, my discord bot didnt work for two days 😑. they copied almost all my data, i hope they won't share it anywhere (btw they started to share admin & creator IDs, imo thats inapropriate). they had another way to remove scam sites/servers from this hosting provider. 😑😑 theyre such a bad guys πŸ‘Ž

unkempt hamlet
#

Well, that's what you get whet you want to cheap out. No offence.

#

they had another way to remove scam sites/servers from this hosting provider
Well, it is complicated

hot shell
#

Yeah but why those hackers didn't think about "white" people, who didnt scam? Dont forget that hacking is illegal as sharing such a confidential information

past shuttle
#

what?

hot shell
# past shuttle what?

oh i see u dont know about this situation with mskhost. suggest you to read smth about it

violet copper
#

Its all in russian, but from what I can see MskHost Deserved the attack.

They weren't responding to abuse emails and their servers appear to be a huge host for malware and other stuff, which is why the hackers attacked it.

#

and now they say they are shutting down so Β―_(ツ)_/Β―

#

thats just reading the one english article though, so idk

hot shell
#

They weren't responding to abuse emails and their servers appear to be a huge host for malware and other stuff, which is why the hackers attacked it.
i fully agree with hackers' opinion, there shoudnt be any malware/scam stuff, but its not the way to clean hosting provider like that

unkempt hamlet
#

100% free online platform to learn programming languages: https://exercism.org/

Exercism

Learn, practice and get world-class mentoring in over 50 languages. 100% free.

#

for free winkwonk

visual walrus
#

That’s good

#

Should be pinned smile_1

unkempt hamlet
#

I am taking an Elixir course, it is quite good paced, actually

visual walrus
#

Gg

foggy osprey
#

First pin in this channel poggies

unkempt hamlet
#

I am blown away by Exercism btw. At least from Elixir course. It is so greatly paced.

foggy osprey
#

Interesting sounds like I need to give it a try

#

Still wanna learn Dart

unkempt hamlet
#

You must give it a try

foggy osprey
#

What are concepts? ShibaThink

unkempt hamlet
#

Those are big things, covered by separate exercises

foggy osprey
#

Ahh okay

#

Maybe I'll give Go a shot then, seems to have more exercises & concepts

unkempt hamlet
foggy osprey
#

ngl, I don't know anyone that knows Elixir awkward

unkempt hamlet
#

I know (myself) SCGsus

#

Twitch Plays ETS2 runs on Elixir backend

foggy osprey
#

Ah nice!

#

Maybe if I learn Go though, my DevOps colleagues will finally love me PepeLol

unkempt hamlet
graceful belfry
#

ghost_wave Hiya so I think I may have the answer to my own question here but just going to throw it here just in case I am incorrect.

Currently I am trying to use mysql in node for my discord bot. When I try and run my bot locally on my pc I get no errors at all. However when I go to run it on my server I get the following error

    at Protocol._validateEnqueue (/root/Filezilla/mgrp-bot/node_modules/mysql/lib/protocol/Protocol.js:212:16)
    at Protocol._enqueue (/root/Filezilla/mgrp-bot/node_modules/mysql/lib/protocol/Protocol.js:138:13)
    at Connection.query (/root/Filezilla/mgrp-bot/node_modules/mysql/lib/Connection.js:198:25)
    at Query.<anonymous> (/root/Filezilla/mgrp-bot/index.js:116:26)
    at Query.<anonymous> (/root/Filezilla/mgrp-bot/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/root/Filezilla/mgrp-bot/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/root/Filezilla/mgrp-bot/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at /root/Filezilla/mgrp-bot/node_modules/mysql/lib/protocol/Protocol.js:404:18
    at Array.forEach (<anonymous>)
    at /root/Filezilla/mgrp-bot/node_modules/mysql/lib/protocol/Protocol.js:403:13 {
  code: 'PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR',```

I suspect this is due to connecting to my database once and querying off of that same connection with out ever ending it. After doing some research I found out that I should be using mysql pools and creating a new connection and releasing it for each query. If this is not the case or you have an easier solution that I could implement that would be much appreciated. I do apologise if this makes no sense at all. Cheers ![feelswowman](https://cdn.discordapp.com/emojis/604929380598415363.webp?size=128 "feelswowman")
hot shell
trim needle
#

My steam just got hacker 2 week ago

#

By a Russian

hot shell
trim needle
#

Dang it

#

What kind of bot do you develop?

hot shell
trim needle
#

Oh

hot shell
#

Bot was checking are our servers down or not.

graceful belfry
toxic arrow
#

You are welcome. PES_Cute

unkempt hamlet
toxic arrow
unkempt hamlet
foggy osprey
pulsar jungle
#

Pog

foggy osprey
unkempt hamlet
hot shell
#

Damn sad

hot shell
#

Some guy on 4chan posted a pic that predicts mass hell happening right now 15 minutes before it has happened.

#

And due to Facebooks DNS lookups were erased, this interesting stuff shows

unkempt hamlet
raw notch
foggy osprey
unkempt hamlet
#

Yes, apparently. I think we might find some code or comments from @cinder spear there SCGsus

raw notch
#

oh don't think 3v will comment this πŸ˜„

unkempt hamlet
#

Yeah

raw notch
#

also because we can read his code now πŸ˜„

#

searching for 3v commits

foggy osprey
#

Maybe it includes the git history borisawesome

#

I just checked, apparently it includes the .git

unkempt hamlet
#

Please do not share the content from Twitch leak here.

foggy osprey
#

Of course I won't thisisfine

ember canyon
cold pilot
#

Hi

hot shell
shadow marsh
#

Sooo, as y'all know, I'm a Java Developer due to Minecraft. However, I want to try me with something different than Plugins.

I know Java now long enough, but I never saw a Java-Wrapper for the SCS Telemetry to get data from the game or am I something missing?
As there is just CPP & C#, which doesn't help me really much.

unkempt hamlet
modest sage
#

why is facebook not shutdown yet

visual walrus
visual walrus
cinder spear
shadow marsh
#

Well, I'm not in a hurry, means if I need now 2 weeks or 1 month is not bad, I just want to mess around and see what I can do.

#

So, I just need a C-Library for Java and then I have to implement everything right?

unkempt hamlet
#

DLL import is a thing

shadow marsh
#

Yeah, I know blobcatsalute

#

Guess, I will have fun for sure as soon as I begin that aPES_Giggle

unkempt hamlet
#

I heard something about JNA, maybe that's what you're looking for.

shadow marsh
#

Yeah, my second developer also said that hmmge I'm gonna look on that

unkempt hamlet
quartz moth
unkempt hamlet
#

Technically yes SCGsus

quartz moth
quartz moth
unkempt hamlet
foggy osprey
shadow marsh
#

Why do I just feel that one too good? πŸ˜‚

foggy osprey
unkempt hamlet
foggy osprey
#

It looks super awesome, definitely going to try it out soon

#

Opened up a Laravel project & it seems to work super smooth

winter tulip
#

Would you guys recommend vsc or eclipse for working with java?

shadow marsh
#

I go with Eclipse IDE

#

but that's personal preference

#

my second developer goes with Jetbrains IDE, but that's way too complicated for me

winter tulip
#

Is there any major difference between eclipse and vsc? I know vsc has/needs a lot of extensions but that's pretty much all i know (i'm pretty new to this)

shadow marsh
#

I never tried Java in VSC actually, so I cannot confirm nor deny it - but I know, it is able to compile it with the correct add-ons

unkempt hamlet
#

JetBrains for me is a must-have, it is full-fledged. It has quite a learning curve, but it is worth the hassle. For smaller things I use VSC, it has a benefit of being faster and smoother when you need it the most.

winter tulip
#

Out of curiosity. Are you guys self taught? Because I started visiting a school for it (2 years), and i'm currently learning ABAP and Java there (as for the programming languages) aswell as operating systems (unix/windows), data processing and network related things and i wondered how much i actually need afterwards + how hard it is to learn these things on my own

shadow marsh
#

Yes, I thought it by myself by experimenting and many hours of googl'ing around, watching thousands of Tutorials and yeah - but I also began a course, but never finished it, cuz no time (and mood) lol

winter tulip
#

Do you only know/use java?

shadow marsh
#

Yes, I just know Java - cuz of Minecraft (and yes, I learned it over Minecraft, but mid 2020 I began to code simple console-applications)

winter tulip
#

I'm far away from actually doing work with it. I know about basic stuff like variables, datatypes, if/else/switch(case), (logical) operators,
the scanner class and syntax ofc. Still a lot to learn πŸ˜›

shadow marsh
#

Yeah, good πŸ˜„ Java is in my opinion pretty easy, however it can be complex as well πŸ™ˆ

winter tulip
#

I only really have problems with creating too many variables, forgetting ";" and } <--- this so far. Often it happens that i want
to print out a freshly filled variable but it doesn't work bc i messed up either the {} or put the command at the wrong place πŸ˜†

shadow marsh
#

πŸ™ˆ

#

Still happens to me too (after coding way too long without pause xD)

sacred wing
#
Access to XMLHttpRequest at 'https://api.truckersmp.com/v2/vtc/VTCID/news/ID' from origin 'https://nexustransport.dev' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.```

Can't seem to get the API to work via my website, any idea how to fix this?
foggy osprey
#

Getting paid for doing what you love is such a great feeling, couldn't wish for any better job tbh pepeUwU

unkempt hamlet
left fern
winter tulip
winter tulip
left fern
#

and btw, since you said you're going to school for it, are you doing a Ausbildung?

#

My dad used to be an ABAP dev/consultant and this here is the first time I've heard about ABAP from someone else πŸ˜…

unkempt hamlet
winter tulip
left fern
#

Interesting, what kind of school is that? And what do you actually end up with when you say it's equal to a bachelor degree?

winter tulip
#

DQR-Stufe 6 or in other words "Bachelor Professional in Wirtschaft". It's an IT/EDV school

#

We learn about windows, unix/linux, networking, bwl, java, abap, software, physics (and english/german)

#

and data processing

left fern
#

Cool, I've never even heard that this is possible. Nice to know

#

But it's only school or do you have to do Praktika or something like that?

winter tulip
#

This year it's only school but i think next year is with praktika

ebon garden
#

we i already can but i have to install it every single time lol

#

since i cant access %localappdata%

#

and you cant change anything on the desktop

unkempt hamlet
#

Oh great, Microsoft strikes again

violet copper
#

Yeah...

unkempt hamlet
#

Well, they have reverted their decision minutes ago.

violet copper
unkempt hamlet
#

Come on, you have the whole industry as an example, why just to the most ridiculous thing you can do?

visual walrus
pulsar jungle
dusky girder
#

Why cant I use the full orange lightbar on my car in ATS like I can in ETS2?

unkempt hamlet
unkempt hamlet
past shuttle
#

lmao

#

Im surprised that got accepted with Lhana Rhoades and RaelilBlack being mentioned OMEGALUL

merry marten
#

Listen, hear me out. Yes mr CJ already said we arent getting mods online. But here is my suggestion, atleast make it so we can stretch out our wheelbase, just that alone would be sick. And tbh thats the only reason why i want mods lmao]

unkempt hamlet
#

The same answer as earlier. Btw this is not a place to suggest anything about TruckersMP.

raw notch
#

i'm not getting what's happening with the steering wheel. someone can explain please?

unkempt hamlet
#

What do you mean?

raw notch
#

https://forum.truckersmp.com/index.php?/topic/106460-02354-released

your comment about the security and patch to executable

TruckersMP Forum

Hey there! We are proud to announce that a new version 0.2.3.5.4 has been released! Features A complete rearrange of the TruckersMP settings Grouped settings more by their purpose (e.g. Interface containing all settings related to the user interface) Removed old and obsolete settings Made the gra...

unkempt hamlet
#

Everything I can say about it is in my comments on that topic.

raw notch
#

well, I've asked something different, not about the comment itself but why you need to write that comment.
I've seen a post from a user about a steering wheel.. and that's a security concern? in which way?

unkempt hamlet
#

...I've covered it in the comment. TL;DR: people found the way to add 3rd party content in the game by making some binary changes to the game executable.

raw notch
#

i wanted the TL;DR indeed to be sure i was getting it correctly because it looked a bit absurd πŸ˜„ but the reality supersede the fantasy sometime

unkempt hamlet
#

The situation overall is a bit absurd, to be completely honest

raw notch
#

people complaining about cannot using a steering wheel?

unkempt hamlet
#

Pretty much it.

raw notch
#

everyone has their own priorities :D

sage arch
#

How can I make a Tracker?

unkempt hamlet
#

What kind of tracker?

sage arch
#

I want it to look special for me in playing a game

unkempt hamlet
#

Look special?

#

Can you elaborate?

sage arch
#

Can you DM me here I can't post someone else's tracker picture

unkempt hamlet
#

We don't have any limitations on image uploading here.

sage arch
#

I want to make a tracker like this

unkempt hamlet
foggy osprey
sage arch
#

Thanks

winter tulip
#

Can someone look over some basic coding with java and maybe give me advice? It's really short code (just a basic calculator)

shadow marsh
#

Sure, shoot me a DM, will check that out tomorrow, when I got to my PC (will be approx at about 10am cet)

unborn prairie
#

I'm big dev with 50million earnings a year.

shadow marsh
#

Suuure, and I'm the actual head dev of Microsoft shrug_animated KappaJail both is false, so eh thisisfine

boreal coral
shadow marsh
#

Glad you like my newest creation Kappa

boreal coral
#

even tmp ||devs|| doesnt seem to recommend it πŸ˜‚

foggy osprey
flint stratus
#

like local games from steam or uplay / gog or so

#

someone on ms support said you have to re- install local installed programms

boreal coral
flint stratus
#

thought you have windows 11 because of the answer :/

boreal coral
#

I was just joking bout w11 requirements like tpm or a new cpu

#

I cant install itπŸ˜‚

#

Imo doing a fresh install will solve almost every problem you might have on Windows rather than upgrading from w10

flint stratus
foggy osprey
flint stratus
foggy osprey
#

I've been using it since the official release with an AMD CPU, it works perfectly fine for me. Haven't had any issues

flint stratus
hot shell
granite arrow
#

guys do you have any discord where people talk mainly about map editor?

royal quiver
unkempt hamlet
visual walrus
foggy osprey
unkempt hamlet
#

I like how they adopt community tools and invest in them

foggy osprey
#

SSR support is meowjustright

unkempt hamlet
#

Finally

foggy osprey
#

Interesting that they didn't go for something like Angular though, an in-house framework for them

unkempt hamlet
#

Angular is an opposite of Flutter though.

#

Also, Angular is very heavy and monstrous

foggy osprey
#

I know Angular is way heavier compared to something simple like Alpine indeed, but it's cool to see Google using it

unkempt hamlet
scarlet zinc
shadow marsh
#

Well, it kinda fits in here πŸ™ˆ kekw

visual walrus
foggy osprey
unkempt hamlet
#

So, Cloud VS Code competitor

foggy osprey
#

Yeah basically

#

Looking forward to testing a fully new jetbrains IDE tho

unkempt hamlet
#

Ye, might be interested. "Built from scratch" is a good one, although no plugins on release is not.

foggy osprey
#

Yupp true