#programming
1 messages Β· Page 29 of 1
Yeah, when developing ours I noticed that issue as well.
We basically don't check if the job has been delivered, and allow them to "verify" it at all times. Only on the cancellation event do we delete it
interesting. so it's not only me, is a bug actually
Yeah I think so. It doesn't happen often, but at random moments it just doesn't send the job delivered event
It was a pretty rare issue if I remember correctly
I see. No memory of running into that issue
I can vaguely remember it happening sometimes if I alt-tabbed out of my game, and then back in. Don't quote me on that though, since it was quite a while ago
On the subject of creating loggers, would anybody have some advice on where to start? 
Cheers
Good morning, happy day everyone.
apparently I'm too stupid to work with a JSON API.
As of right now, I'm trying to get data from api.openweathermap.org from 4 different cities (with a for-loop) - but I always get an error, that it is not a json object.
API-Lookalike: https://prnt.sc/21vu6lo
My code (with direction on what is erroring): https://prnt.sc/21vub49
The Error: https://prnt.sc/21vuddx
Can anyone help me 
And yes, it's Java
So, I removed the Castings now and did it a bit better, still it errors, with the same message.
Picture with the re-written code; the red arrow directs, where the error is coming from.
Well, the error says what's wrong, you're trying to read an object while the api returns an array
Right - I managed to get it running π
I'm not working often with APIs and thus I were a nub 
I've been doing some coding lately. Any ideas and hints for improving? https://github.com/jasperaelvoet/SpotDownloader/blob/master/main.py
My broadband connection, yet my Visual Studio installer is maxing out at 100-200kbps
My desktop had no issues, this laptop on which I ran speed test is having slow downloads
Visual studio never uses the full connection bandwidth.. I find it uses like 2% of mine tbh
And I'm often maxed out at about 20mbps, on a gigabit line.. So in reality, not even using 2%

Timestamps and all links coming soon (I really need to sleep and see my family I'm sorry)
Detection:
https://twitter.com/thinkstcanary/status/1469439743905697797?s=21
https://twitter.com/an0maious/status/1469350532548632581
https://twitter.com/an0n_r0/status/1469643986403008515
Threats:
https://twitter.com/zom3y3/status/1469508032887414784
Bypa...
Having Linux GUI apps running on Windows via WSL2 is kinda trippy.
Pog
Javascript lads, unite! 

Calculator : #Toughday at work
I'm proud to announce that we've released a new package called Laravel Health. As the name implies, this package can be used to monitor the health of your Laravel application.It offers many checks out of the box, and an easy way to create custom checks. When something is wrong, you can get a notification, or view the status on a dashboard.The pa...
Assuming that you registered for events (SCS_TELEMETRY_EVENT_gameplay), the function mapped for these events will receive into the 2nd parameter the event info structure. The 'id' element of that struct contains the name of event (string, defined in scssdk_telemetry_common_gameplay_events.h). There are 6 gameplay events that could trigger your mapped function (2 for jobs, 4 for player). Identify the event by their name and take the appropriate actions. For debugging I recommend you to log these events into a text file when they're triggered. Never happened to me to miss the job delivered event.
thanks, but i've fixed it, it was on my end π
got a strange error in Laravel: Indirect modification of overloaded property <class>::$property has no effect ($property is a Relation)
that class was inheriting from another one which was declaring the $property, i've removed the inheritance and changed to the classic Model class and also run a dump-autoload but it's not working
any idea?
oof.. turn out the $property was null .. strange error...
I've never seen that exception before
JavaScript - I see no problem.
TypeScript - Hold on a second
For all those VTC job tracker dev's out there... How did you manage to give a job one specific value in a database? (no primary key or auto increment)
Problem: The program gets a job with the all the values. Now the player delivered the job (event got called, program gets values and inserts it into database).
Now what if the player loads an save game where he still has the job and he deliver it again? The job will be inserted again.
So, is there some sort of value I could use?
I was thinking about some sort of timestamp or multiplying some value numbers from the job, but all could change in each savegame.
Could always generate a hash from data in the job that won't ever change for that specific job. Ex: Origin City, Origin Company, Delivery Time, Planned Distance, etc
Thanks! But there can be many different jobs who are using the same values, isn't it?
Yes, but they won't ever have the same exact hash if you add the planned delivery time and planned distance. If someone takes the same job as a other person you can always throw in a user id or steam id to the hash.
yeah, was thinking of just simply adding their id.
Thanks and happy new year then! π
My pleasure and you too!
This is the same problem that I once encountered when developing VTC.World. There is no trust in any player's saves, that's a fact. Each save can be edited and replaced. Controlling each save and its changes is a very difficult task. If you want to do this, I can wish you patience and good luck!
As Andrew mentioned, I can use a hash from the job details aswell as the Players name or id included.
I technically could also use a value from the save in which the user delivered the job. Or simply just a timestamp in Milliseconds when the user first accepted the job. This does not change for that specific job, but differs when he accept the same job again (doing the same job again from beginning)
This is not a bad solution, but you will have to control a lot of parameters.
Unfortunately, we have a lot of tricky players, and not everything is so simple.
For example, you will have to track transport changes during WoTR deliveries.
I've made a system in which the user can not load an old save to deliever the same job again.
Instead he would need to change a lot of parameters within the save and job details
I also created such a system)
so the SCS SDK is bugged because there is no clear event when canceling the WOTR job for teleport or suspending it, right?
If a Player would like to "cheat" on a job tracker he could just do it in many ways.
And if the Player delievered the same Job a few times, an admin could just ban him (Internally) and/or delete the Jobs.
This is not a bug, this is how WoTr cargoes work
well.. is a bug π because the telemetry should notify the job has been discarded in some way. The game knows it because sync with WOTR servers each time you do it. A gameplay event would be better instead of checking if the job has been changed in some of its parameters
If this were a bug, then SCS would have to fix it. But, they don't consider it a mistake.
it's not the only bug they dont want to fix π
Facts
To our regret π¦
(or feature they want to to add)
i've asked if they will ever add some data related to the economy or navigation, the response was: "our partners (read who produce gaming rigs like chairs, gears and wheels) don't need them so if you need them, as community developer, we don't care"
As part of VTCW, I work it out as a rejection of the cargo. If no have cargo in the memory and not in the save.
ye, i know, is something to deal with
Well thats kind of rude. I bet they have some very good devs there who would only take mins to create something like this.
fundamentally, from what i did understand, the Telemetry SDK is not for us
If you treat these loads as SCS, it all depends on the concept of the project. This is important for us, for VTCW. And someone can ignore it. But, yes, there is no cancel event. Fail of SCS.
they made it for hardware partners, not for the community
SCS did it through one place.
But which "partner" of scs needs these kind of values? I dont think logitech needs the amount of driven km (example) for a gaming chair
that's a good question, but, nonetheless, they are not interested in adding economy or navigation information
or for example, events for buy \ sell garage, trucks, trailers
Yeah that would be very usefull
maybe we should do some sort of alliances and ask all together about this π
Technically, just thinking of economy, you could read the game's save every x seconds (example, amount of trucks) and once the application detects a new truck, it could call an Event itself.
Its just an idea and of course it would need to lot more than just going through the save, but...
Since scs does not want to implement it
If you have a connection with them, it would not be bad to ask them about some unique things, including the new functions of the SDK π€
reading the game save suppose you must read the game.log to know about the current profile and the current game save, then decrypt it to read inside of it, then parse it in a organized way, then compare from the previous one
Yeah, but it is possible. Technically
i dont know if what i have could be called a "connection" π but i've asked for it in the developer channel in r/trucksim discord, and that was the reply
I'm not against collaboration, it will help us all!
absolutely possible, is only a resource hog because depending on how big the savegame is. Parsing big game save in a reasonable time (few ms) is not really handy
I support and will be glad to cooperate!
you mean about the "Telemetry Alliance"? π
If all the devs who work with the sdk would ask together for some more sdk functions, I bet they would implement something in it.
If scs really listens to their community.
if π
they do btw, they listen, maybe not always in the way we expect for, but they do
No, I mean interaction with SCS π
I know they do. They absolutely do a great job.
But some decisions are, well, weird.
as Eronax said, probably the union of more telemetry developers would help to reach an objective
you know, every company make decisions users dont understand completely all the time, because they are not a charity... so.. some decisions are revenue wise
Indeed
Stupid question, but
Is there a way of reading the value when the Player needs to make a pause/break even when he disabled it?
As what I've tried, its not?
you mean when he sleeps?
Yeah
afaik there is no gameplay event but you can compare the game time of previous frame and the next frame (and i think you should avoid to update the internal teltemetry data while the game is paused) to check what's the difference. i dont think btw each frame can pass more than 1 in-game minute, no?
You can read the value when he has it activated.
That's an unreliable way of doing it as there are more reasons why the time may change
it's true
ahhh sorry, when have the fatigue disabled? no, the next rest stop time doesnt change
Aight, I was right then. Thanks
what if i have a macro with 33 parameters?
Out of luck then, it is too complicated
Someone was having some fun there 
sadge that there is no courses for html or css 
its mostly complicated languages where i think whats that 
even do there is a phyton course wich i have been searching for ages so thanks 
should be called exsorcism.org
what 
Funny 
I find something different funny actually 
I've a question, is this ModMail instance hosted by TruckersMP itself or is it hosted somewhere else? (Asking this in prior, so I know, how to proceed with oncoming questions)
We are hosting it by ourselves.
Hey devs, just wondering... What is the best way of getting the current steam user's id (steam64id) from the pc? (I know steamworks sdk)
HKEY_CURRENT_USER\Software\Valve\Steam\ActiveProcess\ActiveUser registry DWORD will contain a steamID3, which you can convert to steamID64
Alright thanks! I'll try it
Ah well - Thanks discord for notifying me not...
Well, reason why I ask is - I've installed everything as normal, Python 3.7 and 3.9, pip - and everything what is needed, however when executing the pip install it wont, thus starting the bot wont work as well.
I can execute the install again and send a screenshot, what the console tells me... Not really in the mood to make myself an own modmail bot 
What do you guys think about this, just finished doing it
adjust some padding on the main container, padding left, respect the grid, with always 10-15px padding on sides
I also don't like socials lined up to the center
Yea i need to fix that lol kinda annoying me already π
never have 1 container rounded and the other not side by side pls lmao
On the home page, change the front to something like Robot or something
On the staff team page decrease the intensity of the background glow π @paper hound
Anyone with Nginx experiences here?
yes
May i DM you for a second?
must be an intimate conversation? π
Rather chat about minecraft in private π
btw yes, my dm is always open
Lovely!
https://dontasktoask.com/ π If you have questions we can help but just ask π
I'm slightly surprised that isn't pinned in here 
Channel topic 

hello, i got a quick question. for my school i have to ask some question to 2 people about the job that i want todo after school. For my that is software developer. i was wondering if someone that is a software developer could help me with this. My dms are open if you wanne help or have any question about it. I would greatly appreciate it!
Well, you have to request an approval from our Community Management first.
Send a DM to @opaque oriole
it doesnt even need to be someone from specifice truckersmp just any software developer is ok.
It doesn't matter. Any unsolicited surveys must be approved.
huh?
so i cant just ask this i have to get a whole approval first? i dindt even send any surveys yet im just asking something
but fine
il delete it.
for my school i needed to interview 2 people from the job that i wanted todo after i finished school, for my in this case that is software development. and since this is a channel or developers i thought i could ask it here.
So basically you want to ask 2 devs a couple of questions in regards to their job, correct?
i think is correct, he is asking generally to developers using this space
correct.
i already got 1 just need 1 more.
That's alright then, it isn't a public survey but just couple questions privately, not against the rules
is the same thing asking "someone want to help with my code?"
That's technically an approval 
No, that's an overuling of a decision from someone who doesn't moderate the discord, by someone who actually manages it.
As nobody has shared it yet; Laravel 9.x has been released: https://laravel.com/docs/9.x/releases
the new Attribute finally adds something similar to C# and OOP, needed Laravel where PHP failed
Yeah, a much more convenient way to define attributes
yes, finally
Time to upgrade then 
Some have noticed L9 is no longer listed as "LTS" in our release notes.
Waiting to see the resolution of this: https://t.co/F5YCkJNKjt
It could determine how we approach Laravel 9 long-term support.
Regardless, Laravel 9 will receive security updates for at least 2 years.
What a quick change
whut
Github Links Blacklist 
Hey guys,
Due to the current situation with scams moving to Github, using fake "game testing" to download malicious programs, we've decided to blacklist all github.com links until the situation settles down a bit.
We apologize for any inconvenience caused.
now the question is - what if I have an actual inquiry which is on GitHub to look on? 
bit.ly 

You can send the link in DMs I guess if necessary
ah, alright π
Unfortunately we had to take these serious steps, as the scam attempts only grow in numbers
yeah, better prevent it rather being sorry, I fully support that decision Chris.
thought they were only doing those in DMs
Are you sick of clicking 'back to top' buttons on websites, and being lifted to the top without a real elevator experience? Elevator.js is here to help.
ouch, that music was loud
Glad I wasn't the only one 
how loud do you have your headphones/speakers? 
It was indeed quite loud
On Resuming discord.py Development
https://gist.github.com/Rapptz/c4324f17a80c94776832430007ad40e6
Ah, they have been working on it for two weeks already 
Everytime i see this as developer cat π
Do I am the first here who think about to make a bot who automatically replies to some "categorized" mail?

Maybe by using GPT-3, or Cedille
This week, the developer of theΒ popular npm package 'node-ipc'Β released sabotaged versions of the libraryΒ in protest of the ongoing Russo-Ukrainian War. The 'node-ipc' package, which gets downloadedΒ over a million timesΒ weekly, began deleting files on developer's machines, in addition to creating new text filesΒ with "peace" messages.
Ye, just ridiculous
That's happening, when I code and my BF makes horrible jokes which cracks me up
doubt the DB Server is accepting such kind of.... statements 
I wonder whehrehe the serv er is 
π€£
Cant wait until i make stupid mistakes in RC

As long as you don't overbid me with Bugs, I'm fine with that 
Cant get much worse then what my coding is now
So, that's how SQL 2.0 looks like 
Perhaps 
Hey guys, I need your help a bit. I'm creating a real business. But as I have a real strict budget atm, I'd temporary use a template for my website. Do you know where I could find a good CSS/HTML5 template for a retail/e-commerce website
good thing i use firefox 
same but i use Opera
opera is chromium too and subject to that bug
Google 
Why I didn't think about that before
( sarcastic )
Nub 
No.. yeah.. possible 
There's many example if you google it. But if you want to do e-commerce why don't you use stuff like Shopify?
Because I love making some challenge. And because I love too much Laravel, wanna marry with this framework. I've searched some examples but I don't think they have some good enough who look goods ( imo ) π
It's a lot of work to do everything by hand. It depends what you want your ecom to do.
You have to think about purchasing, refunding, canceling, chargeback and all that crap π
Yeah Ikr, it could be "fun" to make. I'd take that as a lesson π
If you have that much free time on your hand I guess. From personal experience it's a lot work and you should make sure that the amount are save as integer if you don't want to run into any issues.
$1 = 100
$1.50 = 150
....
Alright, will take it in mind. Anyway if I don't have the time for, as I will create my start-up, I'll give my spaghetti codes to employees if needed 
So you love Laravel but you can't do Laravel
:iseewhatyoudidthere:
I mean, I'm a learner. I don't have the same level than you, great master, but I've made/remade some systems such as recruitment system ( with customizable forms ), I've already worked with Stripe package for some tests in localhost and some others thing. I'm devoted to learn more and do my best 
I've never used Stripe. I use Paysafe for the ecom I'm working on.
I've made a customizable forms too if you look at the survey and poll system 

But here I want to use Strip because it let you choose between some payments options. Example, as I want to make my startup limited to Belgium first, it does mean Bancontact or Maestro, even Mastercard for PayPal options etc etc. I don't want to limit them only with Paysafe π
Yeah for sure. I didn't make that decision π
I wonder if Stripe fees are higher tho
Just looked at the fees. It seems to be the same as Paysafe plus they have way better developer support
Good to know 
For sure if I would start from scratch I would use Stripe. But you can see in their example that they are using integer as the amount like the example I gave you above
Yeah so it isn't a problem if I set the column price as int π
I'm just saying since it's a very important thing π
Yeah yeah I know, you right. Anyway that's how I'd start the product table π
Hey downmeister! 
Go back to work GitInnit 

Didn't know about Cashier. It look pretty interesting
oh ye, it's really straightforward
I'm using also Stripe Connect with it, it's not out of the box but as there is the Stripe client in Cachier, must only implement the Stripe Connect SDK calls
Cashier is ( imo ) one of the best tool from Laravel π
oh my goodnes who saw the new update from stackoverflow
Filters? Pretty generic, I'd say.
i'm going crazy with this error: General error: 1366 Incorrect integer value: 'false' for column 'rejected'
the column has been created with $table->boolean, the Model have $casts for this property as boolean, the value is a boolean and still firing error..
any clue?
Is it a direct query or via relation?
Do you have mutators in the model for this particular field?
Accessors?
for this prop no
Enable eloquent queries debug to see how the query gets generated
actually all boolean field for this model fire error... also other fields
tried also removing the casts and still error
Is the class extends from other models or just default Model?
Model
Do you have any global scopes?
Have you checked the upgrade manual to see if anything related got changed?
Also check service providers to see if anything fancy there
update table set multiplayer = 0, approved = false, updated_at = 2022-04-01 18:47:22 where id = 184
this is the query created from laravel
executing directly from phpmyadmin, it works...
'strict' => false, in config/database.php did the trick..
That's really weird that it didn't recognize false as a int value π
Maybe it is actually tinyint(1) in the DB, Laravel likes to do that
So possible 
yes, it is. and is quite common in many languages \ database when writing to db, manage true\false as 1\0
same with me - PMA shows it as tinyint for 1 true, 0 false.
but when getting/setting it, the query gets true/false and sets it as true/false correctly.
React 18 is now available on npm! In our last post, we shared step-by-step instructions for upgrading your app to React 18. In this post, weβll give an overview of whatβs new in React 18, and what it means for the future. Our latest major version includes out-of-the-box improvements like automatic batching, new APIs like startTransition, and str...
finally useState update batching
General Question.
.yml or .json ?
To be specific: to save certain data not in the database but to save stuff as a file π
Depends on your stack
what do you mean exactly?
I mean what technologies are you using in the project
Java - and for a discord bot 
I guess, json is a better choice then
alright π guessed so but wanted to make sure
interesting π
Anyone else get rlly worried when something is supposed to work but you get this constantly:
On April 12, GitHub Security began an investigation that uncovered evidence that an attacker abused stolen OAuth user tokens issued to two third-party OAuth integrators, Heroku and Travis-CI, to download data from dozens of organizations, including npm. Read on to learn more about the impact to GitHub, npm, and our users.
haha
We have a new API documentation 
https://truckersmp.com/developers/api
Beautiful π
looks nice
When would there be role events for the vtc like xyz has joined abc trucking
Or promotions or demotions
It has never been suggested
Oh hey, openapi π
Now you just need to dynamically generate it :p
Hello! Am I allowed to share any projects here related to the game, such as a job logger?
I've been working on https://github.com/FC5570/ets2-job-tracker, it currently only notifies the user and keeps a count of the jobs completed by them. This project however needs addition of a lot of features, i plan on making it send notifications to a single channel, so it would be easier for a group of players to keep track of each other's jobs, working on a desktop app with tauri and dockerizing it. Any suggestions/contributions are welcome.
Something I'd like to show off, for Uni I've been creating auto-generating Bingo cards π
This takes its data from our Bingo calling software - accessible via an API, all of which i've made and shows the numbers on each card + which numbers have been called
This allows people to play along via tablet etc. without having to blot anything π
And this directly mirrors paper tickets so if someone claims they have a line etc, it can be easily checked by the host running the bingo rather than having to check each number π
Super hyped to try it out
Host view:
Looks good, always wanted to do a software for a game show
hello. question here you can ask if someone helps me make a web page?
If you have some issues, then ask here. We are not able to make everything for you.
OK thank you
help me
We can't help you with just that 
π
What are you even trying to do
Isn't there an API documentation?
If I'm not wrong, you just have to fetch the result and use it as an array, or?

I want to make a user information command. But I am not getting the data from TruckersMP API.
Debug the API answer on backend
how will i do ?
Just print the content into console and see, what you get
I guess it is Node.js and I guess you've missed some promises
Check if API request code actually returns data, not Promise
Precursive maintenance
What output are you getting at the moment?
last 2 days a lot of errors from TMP Api bye bye Sentry quota
Hopefully input rules might block duplicate errors after a certain amount and reduce the number of errors logged


What project is that for?
My VTC's tracker, I was away from home for 3 weeks and just before leaving I've removed one of the API endpoints but forgot updating the tracker which led to that
ooooh this could be good for uni
hello, does anyone know i can make it like #scs-updates? (RSS)
MonitoRSS
Either that or use Zapier to listen to a feed, but MonitorRSS will be suitable for an exact match
||Maybe some of you know I asked if someone's good at maps before, well I did it myself lol||
Showing off my map site with navio live data :))
You can feel free to use it if you want to add a map to your DriversHub
Very nice!
Sadly I can't show much here but I've been using open bus data from our government to show the current location data of our campus shuttle bus π
That's nice xD
Sooo funny, I'll use it for my project π
Same π
ahahaha π lovely 
Definitely the best API for developers 
i know that. but the dyno says it can works i setted it. but it doesn't work
https://wiki.dyno.gg/en/commands - You can use ?rolepersist to apply a role via command π
They're probably using custom commands (https://wiki.dyno.gg/en/modules/ccs) in order to react + give the role at the same time, but can't be sure.
Reactions are handled by a separate custom bot which checks the message format and VTC in question
thx bro
nano > vim
I call it simple perfection
well, depends on where it is used and what's the intention of that "false" 
It is used right in that case. I just had to smile because it is so "simple".
Instead of making a lot of "why nothing worked", it just says "no"
I dont know whats wrong with my humor though
"Let it break" π
yeah
I like that philosophy in Elixir/Erlang
Well, I do that too sometimes - espicially, if I need it as a persistent value, no matter what the outcome is
however in certain cases it can be helpful as well, like in debugging
Laravel debugging dd("Noot Noot"); π
That's the best way

and then you change code and end up with multiple prints with the same number and all of them are out of place
nah, I edit them then too, if neccessary
and once debugging is done, they get removed, otherwise the console would get spammed

I'm not sure that I can discuss this here but still,
I'm in search of a discord bot which can send my message for everyone in my server privately. for example, If I want to remind people in my server for the convoy, The bot should forward my message for everyone in server using DM.
Is there any bot available which can fullfill this ?
for everyone in server using DM
That's not even a good idea. It should be "everyone who explicitly signed up for that".
Yeah, I mean for specific members having a role (like: Registered truckers )
It is a pretty specific use case, I've never seen such things in bots before.
Wouldn't recommend it really. You're gonna hit rate limits
And end up tagged by anti-spam systems
Why not just tag the role in a channel?
People can, and do, disable DM's in discord guilds unless they are from friends so such a bot might not even be able to send a dm to everyone you want to.
Ye sending mass DMs will quite quickly get your bot rate limited and flagged as spam. Iirc someone I know tried it and it only got to like 40 DMs before it got rate limited, no matter if they added a timeout or not.
we know.. we know...
Just too good, right? 
Yeah I knew it
But all in my VTC are sleeping always
So to wake them up I need some thing
Should try to find something that your drivers want then, I know it isn't easy though.
hi guys, do you have poor performances running Laravel locally with artisan serve and mysql (xampp or laragon)?
i have API calls taking 10-15 seconds when in production run fast...
is the local artisan webserver that sucsks.. or?
For me, it is running really fast, no issues with it whatsoever
mmm i dont understand why is so slow....
You should check what is taking that long. If it is reaching the request, processing the request, database access, ...
Have you tried other ways of running Laravel locally? Like with Laravel Homestead
database queries are ok, maybe a bit slower than production but not so slower. indeed i want to try homestead
why i havent tried Homestead before? π
not so speedy as production but now is really acceptable
I use it all the time on Hyper-V, really makes a lot of difference.
Not that I recommend to, it is a little but quirky to set up (and it requires you to punch in an Administrator account everytime)
Happy to hear that :)
the virtualbox config works fine
Yeah I have this problem. Not super slow but was trying to optimise an image generation script. Local was about 600ms whereas production was 100-200ms
I use Laragon on Win
I don't use artisan serve though, just have it setup as a virtual host when laragon starts
after this experience, suggest to use homestead, simple to configure, almost plug & play
@opal arch thanks for the fix on the Dispatcher and the clear message for the log files name change
Thanks for reporting the issue π
got some time before understanding reports from the users... was hard to explain the difference btw miles and km in the planned distance π
Soooo - I want to implement a feature in my bot, which is kinda like Streamcord, but only via commands.
My bot should do announcements, when a defined user is going live on twitch.
However, I don't seem to find any ideas / solutions for the codebase on how and where I should start.
Well, I did find solutions or somewhere ideas to begin, but in JavaScript. But I code in Java only, so that doesn't really help me much π
Does anyone in here have any ideas or tips?
Thanks in Advance
Kit
Can't you easily use the Twitch-API or something (if there is any)?
didn't found a Java one yet however, they have a JSON API which I could poll every x minutes - already looking onto that and it seems rather complicated
or my brain is just making it up like "Nope, too complicated" 
That's fairly standard stuff for an api, but regardless, you probably want their EventSub service instead of the normal json api
https://dev.twitch.tv/docs/eventsub
indeed - seems more promising to me
ahhh that's why i've got two downtimes today
really i wouldnt be in the shoes of whom applies these changes to the CF network
"ok, go for it"
...
"oh, oh"
"what's oh-oh?"
ROOOOOOOLBAAAAACCK ROOOOOOOLBAAAAACCK
"we can't"
"ah, well ok. bye"
puff
Github Copilot is officially out
https://github.com/github-copilot/tp_signup

π
sorry for the Italian article https://amp24-ilsole24ore-com.cdn.ampproject.org/v/s/amp24.ilsole24ore.com/pagina/AENVdthB?amp_gsa=1&_js_v=a9&usqp=mq331AQIKAGwASCAAgM%3D#amp_tf=Da %251%24s&aoh=16560495342456&csi=0&referrer=https%3A%2F%2Fwww.google.com but the Privacy Controller organism is forbidding to use GA because data is transferred to US...
Homestead dropped support for Hyper-V... 
do they even want developers to use it?

Even funnier, it has been dropped a year ago, and I only found out today 
I guess, no v12/v13 for me.
They say it's faster to pass by value vs reference. But why? Learn in this video.
Alright, this is pretty cool :p
https://docs.microsoft.com/en-us/dotnet/orleans/overview
Seems like a decently well thought out implementation of that model
The end of the video is pretty misleading as it is very simplified
It should be more like "pass trivial types by value" instead of "small objects". String may be considered a small object... but you probably do not want to pass that by value
I mean, I was there for cats 
sup guys
i suggest to make ets2 better
like
to add real hands and more more
like irl
and more roads
This is not a suggestion box for SCS. This is a chat to discuss software development in general
Real hands will be annoying, like in Snowrunner. And yes, what HumaneWolf said.
ok sorry
Someone may know, why the Website doesn't show up anything, when I try to bind the params of my prepared statement?
$statement->bind_param("ii", $new_rank, $get_id);
$statement->execute();```
When I comment out the `$statement->bind_param("ii", $new_rank, $get_id);` line, the website loads fine.
Variables 'new_rank' (value: 6) and 'get_id' (value: 1) are also set.
Enable error logging via mysqli_report to see what is going on
Well, I'm only getting this error: mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank = ? WHERE id = ?' at line 1 - But there is no error with the query 
https://i.imgur.com/iS6GFtK.png - When I try-catch only the bind_param thing there's nothing working anymore 
In $mysqli initialisation, have you actually referenced a table?
Yep...
Ugh... I'm tired 
I cannot see the code above, so I am asking everything.
var_debug the mysqli, maybe you will find something odd
I'll try it later. Thanks CJ :3
@cinder kayak Although shouldn't be required, try putting ` before and after the column names
I found the error, I think 
It couldn't find the coloumn just by the query thing, idk how to explain it. I had to tell them, that they have to set its specific column...
$statement = $mysqli->prepare("UPDATE users SET rank = ? WHERE id = ?");
to
$statement = $mysqli->prepare("UPDATE users SET users.rank = ? WHERE id = ?");
But thanks for the help anyways :3
rank is a reserved keyword since 8.0.2 which might impact that
Makes sense
Oh, didn't know that. Then it makes sense that it didn't work 
good practice to wrap field/table names in backticks to avoid potentially getting things confused with reserved words
or use an ORM
Since the introduction of subscriptions 7 years ago, we have not increased the pricing of our IDEs, .NET Tools, or the All Products Pack. During this time, we have introduced new products that have been included at no extra cost to everyone using the latter. However, we are at the point where we need to increase our subscription prices. The new ...
When you cannot even pay for their products 
π
I am from Russia 
I am not 





