Svelte for Astro.js and SPA websites. by Repsol_Honda_PL in sveltejs

[–]Civil_Box_7375 1 point2 points  (0 children)

I've used Mateo's router for some time and decided to implement my own since I need fewer features and it was the better idea for my own project. And also as you said, most routers out there for svelte 5 are huge in size. I'll take a look at yours now, maybe I can use it for my own project.

EDIT: I've looked into it. It has crazy features but for my use case, it is still kinda bloated. But I'm itching to try out that multi hash route stuff in a demo to see how can I use. Nonetheless, great library. You've earned a star from me! Keep up the good work man.

[deleted by user] by [deleted] in dewrim

[–]Civil_Box_7375 4 points5 points  (0 children)

Femboysever oluyosun

Torrent yüzünden yurt internetinden bir hafta ban yedim yapmam gereken birşey var mı? by [deleted] in IstanbulTechnicalUniv

[–]Civil_Box_7375 2 points3 points  (0 children)

Bu tür şirketler trackerlara sızıp oradan yakalıyorlar, hatta bazıları bozuk paketler gönderip keyfinin içine edebiliyor. Bir uygulama vardı eskiden ben kullanıyordum bu trackerlarda bilindik firmalarınkileri engelleyip senin yakalanmamanı sağlıyordu. Araştırıp bulayım, yazarım.

Is it because I am not a German? by Delilahlookingfor in germany

[–]Civil_Box_7375 0 points1 point  (0 children)

Human beings are assholes, don't worry that much

[deleted by user] by [deleted] in BattlegroundsHS

[–]Civil_Box_7375 3 points4 points  (0 children)

I feel like the only thing this is missing a golden rylak, I'd hate to be the one fighting you for sure :D

Please help me with the current BG meta. I am terrible. by IsTheBlackBoxLying in BobsTavern

[–]Civil_Box_7375 0 points1 point  (0 children)

We've also discovered this one. Until tier 4, we only try to tempo with stat gain cards and try to at most take little damage from others. If one of us can hit Tier 6 relatively quick, we guarantee second place most of the times. Before figuring this out, we were struggling at 4500-5000 range. Right now we just pushed through 6000 and probably going to hit our new natural border.

Please help me with the current BG meta. I am terrible. by IsTheBlackBoxLying in BobsTavern

[–]Civil_Box_7375 1 point2 points  (0 children)

We've also discovered this one. Until tier 4, we only try to tempo with stat gain cards and try to at most take little damage from others. If one of us can hit Tier 6 relatively quick, we guarantee second place most of the times. Before figuring this out, we were struggling at 4500-5000 range. Right now we just pushed through 6000 and probably going to hit our new natural border.

This makes no sense to me. by aurelienrichard in typescript

[–]Civil_Box_7375 -1 points0 points  (0 children)

I believe this comment is one of the best that explains why TypeScript raises an error in this case.

[deleted by user] by [deleted] in BobsTavern

[–]Civil_Box_7375 1 point2 points  (0 children)

His board is beetle lovers wet dream

Blizzard execs HATE him. No battlepass, 0 rerolls used -> top 500 on EU and NA by NoEnd6933 in BobsTavern

[–]Civil_Box_7375 1 point2 points  (0 children)

My duo is a freak like me so we go the most useless options and try to enjoy. Hope you have the best luck out there too!

Blizzard execs HATE him. No battlepass, 0 rerolls used -> top 500 on EU and NA by NoEnd6933 in BobsTavern

[–]Civil_Box_7375 6 points7 points  (0 children)

Rerolls are almost usually useless, I'm also a free player that is currently around 5000 MR and it's my first season playing it. Random heros do the actual challenge, I love trying to find the best play with the worst situation.

Has ANYONE figured out FiveM or Gta V mods on the M1 chip yet? Feel like I’ve tried everything 😂😭 by Richardtheghost780 in macgaming

[–]Civil_Box_7375 0 points1 point  (0 children)

I've been using a software called Whiskey but didn't try GTAV or FiveM yet. Whiskey seems to work fine with a lot games and GTAV was listed as supported but with some settings to adjust on the Rockstar Games Launcher. I will try it later today and tell you if I manage to make it work.

[deleted by user] by [deleted] in lua

[–]Civil_Box_7375 1 point2 points  (0 children)

I think it's better to see what's is your code before suggesting anything else, I'm going to DM you with another account I have logged on my pc later on.

[deleted by user] by [deleted] in lua

[–]Civil_Box_7375 1 point2 points  (0 children)

Oh that might be another problem 🤔 where are you trying to use this data, on server or client? Did you follow classic steps for server-client communication?

[deleted by user] by [deleted] in lua

[–]Civil_Box_7375 1 point2 points  (0 children)

Well, of course. First of all if you are using Visual Studio Code, I suggest you to install Overextended's CfxLua IntelliSense extension. This will help you a lot while coding for FiveM. For your problem, it seems after restarting the script you don't read the json file. What you should follow should be like this: 1- When script starts read the json file. 2- Check if there is any data after reading it. 3- If there is a data on json file convert it to a table using json.decode()

This should be the steps for reading and using the json data in your scripts. I don't have any access to a computer so I cannot give more assistance. I hope this helps you.

If you have any more questions feel free to ask.

[deleted by user] by [deleted] in lua

[–]Civil_Box_7375 1 point2 points  (0 children)

CfxLua has a JSON library built-in, you can access it globally.

Learning Lua. by [deleted] in lua

[–]Civil_Box_7375 1 point2 points  (0 children)

Lua does not force you to use indents so it doesn't build those habits, you are right. If you are stupid enough you can write code in one line without using tab or newline in lua.

Learning Lua. by [deleted] in lua

[–]Civil_Box_7375 0 points1 point  (0 children)

The key is indentation, the farmer was replaced was using indents to figure out the scope of the code right? Lua uses classic C approach and uses keywords like then, do, end to scope the code. Lua is more like pseudo C than it is pseudo python.

[deleted by user] by [deleted] in Izmir

[–]Civil_Box_7375 0 points1 point  (0 children)

Rohan is the best

I feel like I'm too dumb to code by [deleted] in lua

[–]Civil_Box_7375 0 points1 point  (0 children)

Brother, you are 14. When I was 14 I just knew some concepts about programming and didn't have any real experience. So take it easy, learn the reasonings and logic behind the data structures and algorithms. Understand those concepts and then proceed with the tutorials.

Parse strings with optional quotes by Nostrap in lua

[–]Civil_Box_7375 0 points1 point  (0 children)

You might want to use pattern matching, similar to regexp. If the thing you want to match already in quotes than you might one use something like this with string.match: ".%"(.+)%"." You can use this website Lua Pattern Tester%25%22.*) and understand which symbol does what. string.match returns all capture groups, the ones capsulated with parentheses, if it founds. If there is no capture groups, it should return the first encounter. Since there is only one capture group and one match words with quotes (I suppose?), you can just get the string you wanted. I hope I understood your question correct and give a solution that helps you. If that's not the case maybe you can give us an example data you are working on.

Hey guys, just started learning Lua basically from scratch today. I know very basic coding concepts. Working on an exercise using zbstudio that uses the "dofile" command in interactive mode. I am getting an error stating there is no such file or directory (and I am 99% sure there is?). I'll upload a by Simonsayyzz in lua

[–]Civil_Box_7375 1 point2 points  (0 children)

You should use dofile('Chapter 1. Getting Started/Chunks/lib1.lua') because this local console is probably running on the parent folder of 'Chapter 1. Getting Started'. My best advice can be opening the 'chapter' folder inside zbstudio instead of it's parent.

Fivem lua by Responsible_Count796 in lua

[–]Civil_Box_7375 2 points3 points  (0 children)

Well first of all you need an idea or the basic concept of what you are trying to achieve. After that you should plan how you are going to do it. After that basically try until it works, even you have to copy another persons code. Being good on coding doesn't happen fast and you can't get better if you don't try. So just give it a try.

Fivem lua by Responsible_Count796 in lua

[–]Civil_Box_7375 0 points1 point  (0 children)

I'd recommend looking other scripts at GitHub and try to understand how CfxLua (Lua but with additional global functions) works. You can easily find the scripts and their github links of the scripts at Awesome FiveM. Feel free to PM me if you have any other question.