#tutorial js
Explore tagged Tumblr posts
Text
Lace divider stuff whatever
F2U with like & reblog , I edited pngs from Pinterest to make these. credit is greatly appreciated since this took me a solid 40 minutes
feel free to add to resource rentries, but it has to link back to this post or account.
tagging @smilepilled noticed you enjoy being tagged in things 🤍 unless i mistaked you for someone else
#꒰৯ ̇ ۪ dividers ۪ ྀི#lace dividers#rentry dividers#dividers#rentry icon#rentry tutorial#rentry template#rentry inspo#rentry resources#rentry stuff#rentry pixels#rentry gif#rentry decor#rentry graphics#rentry frame#rentry#carrd resources#f2u with credit#saeriji#template coming soon i promise i js want to post some resources.#postponing the template to be posted next week because i’m busy this week w church.#idk what else to tag#rentry carrd#carrd graphics#carrd inspo#carrd stuff#carrd#carrd decor#carrd dividers#carrd layouts
282 notes
·
View notes
Text
some ultrakill fans flaming people for playing on lenient/harmless is so funny to me because here i am in my little corner playing on harmless with Also 100% damage reduction (in major assist settings) because my severe anxiety cannot handle the idea of me taking any damage at all . i am wearing my propeller hat and eating my lollipop and i am having fun :3 (and maybe one day i can ease that anxiety and play without major assists)
#me when my crippling anxiety is crippling fr#listen . its not as if i Want to get fucking heart palpitations whenever a few goddamn filth spawn in a room#its just how it is . and the only way to ease my irrational ass anxiety is by becoming fucking invincible#I KNOW ULTRAKILL IS SUPPOSED TO BE A (at least somewhat) STRESSFUL AND FAST PACED GAME !!! do not get me wrong#but holy shit man . do not underestimate my anxiety#fucking minecraft survival stresses me out when i encounter a fuckin skeleton (unless its multiplayer . then Suddenly all is ok . stupid#ass anxiety bruh fml)#prelude was stressing me out . PRELUDE . THE FUCKING TUTORIAL#im hoping i can ease up and slowly raise the damage taken to at least like 50% . eventually#im on 1% damage rn because even raising from 0 to 5 was scary LMAOO#like its not as if i want to play it the fuckin baby way . i WANT to be able to actually play ultrakill with damage n shit#but i just have to ease into it ig . because i cant even play video games without my anxiety screaming at me smh . fym my anxiety is a#permanent fixture in my life ? bullshit#im just hoping i can play Normally someday . eventually . because while playing with like 0 damage is more fun than being stressed out 24/7#it Is ofc . a little boring (bc No Shit) .#i want to challenge myself and i will . eventually#surely if ive done all a b and c sides in celeste i can do ultrakill on harmless haha right#ignore the fact that theyre two completely different games and that ive never played an fps in my life#and also that i have 15k deaths in celeste LOL (at least the idea of dying in that game isnt terrifying . shrug)#intense games like ultrakill just aint for everyone . thats why the assist options are there and why there r easier modes#theyre there for losers (/lh) like Me !!!! and i appreciate that theyre in the game bc i Do rlly like ultrakill#and i Do rlly want to play it (‘properly’ someday) . its js that ppl have issues like motion sickness or anxiety#and if they need assistance or an easier difficulty to enjoy the game then thats fuckin fine#literally who cares . ive watched so many videos on ultrakill now and ive seen all the tech n shit and know all the lore#its not as if i dont know the game enough to play it properly lmao#but sigh . at least i can do fun movement tech (except boosting . havent tried yet idk) like slam storage#movement is ez . combat is Hard (but not in the usual way like aim . just Anxiety™)#im ranting so much im such a yapper . anyway#ultrakill#kristiliyaps
20 notes
·
View notes
Text
LINK!
¡Aprende programación a tu ritmo y de forma interactiva!
Scrimba tiene CURSOS GRATIS para que aprendas: - HTML & CSS - JavaScript & TypeScript - Python - Crear tu primer portfolio
1 note
·
View note
Text
This is the exact reason why I hate when people ask to go through my phone. Its always Tsukasa’s fault just remember that.
#tenma facts come first because theyre js real like that#who would tsukasa tenma be without his siblings#uhh i may need to change or add onto some of these btw#if you have any cool little facts you can hand over… ahaha.. id love that 😊 (<- shaking)#IM COLLECTING EMUNENERUI FACTS TOO i swear. Unfortunately this blonde freak won’t let me go… Please.. Dude…#every time ive had a friend ask for my phone ive had to make up some sort of excuse or Hover. I mean hover over them#Like honestly i hate people going throuugh my phone js because of personal info that people choose to open up to me ab thats on there but#Some of them are probably suspicious. It really just is stuff related to my special interests#you open the notes and theres 30 word vomits in the wxs folder and god only knows how many other ones + ouran ideas in another#and 90% of them are unfinished#you check youtube and then theres over 40+ video essays in one playlist idek how many theatre related videos and “soap tutorials” and then#Over 100 videos in the wxs/leoni playlist#Mainly wxs videos too… I have a problem..#You open the photos. 1.2k tsukasa photos in one album says it all. And then the 600 wxs videos#I have at least 3k prsk related photos on my phone How did we get here after 2 years#wxs#wonderlands x showtime#tsukasa tenma#tenma tsukasa#he gives me a headache#wxs tsukasa#facts#ideas
11 notes
·
View notes
Text
everyday I get closer to realizing my dream of creating a semi-interactive story for my ocs
#I say this after taking the first steps of learning html and css#which has been a lotta fun#idk why coding and js computers in general js kinda stump me#but the tutorial I’m currently following is pretty clear so I’m following along alright 💪💪#after learning html and css I will be learning blender (read I will be doing both at the same time and taking way longer learning both)#bullshitting
7 notes
·
View notes
Text
my stupid tiny expermient with my test experiemnt here and guess who it is!
#alight motion#truffula flu#theyouthfultycoon#this is js a filler post i guess#whatever that means#😭#havent used that artstyle in a while (or even shared it out to the public)#its kinda shitty i followed a tutorial i asked for from my firned#but yeah!
14 notes
·
View notes
Text
okay so im back in navbar hell (when i thought i escaped...!!!) but ive managed to get this set up today :D
#my issue is that im trying to make the navbar properly responsive and have a toggle option once the screen gets too small#if u look on my blog i had it on my last attempt at this because i was using bootstrap but i was like okay i gotta make a new project!#cause i wanted to use nextjs#and not have to worry about backend stuff as much#okay so like..... i know im being kinda stubborn here lol#i could just slap bootstrap on and copy my old code but i dont wanna#i already have tailwind on here and i dont want to confuse myself anymore#so ive been looking for navbar tutorials using tailwind to help and omg#i thought i found a good one and then i realized it used a specific js package which i cant use cause im using typescript...#and i cant find a ts version#so now im just set on doing it without any outside stuff#like just show me how to make the thing with just html and javascript#at least that way i can just translate the the js to ts on my own!!!#anyways lol i found a video that should help...pls#ill watch it later....#but today im tired#webdev#codeblr#wip#this site will happen i swear I SWEAR#AHHH#there so many things to help but after a certain point its like...i dont even know whats happening and now im confused#and god forbid things start conflicting with each other#so i just want something that will spell it out clearly#but yea if u see this and think im confused (which i might be)#im always open to links to videos
5 notes
·
View notes
Text
Sugarcube, flat stats and setter links
As I spent an unspecified time trying to figure it out, maybe it will spare someone the trouble or build towards intuition for how stats work. Or maybe this is bait to see if anyone knows a better solution 😏
First of all, flat stats vs fairmath stats. Fairmath stat accumulation is designed to represent stat gain as inversely relative: the higher your stat value, the smaller your absolute gain would be expressed by the same relative number. E.g. 10% gain at 90 is different from 10% at 15. A bonus (and very important) effect of this is that the stat value increased or decreased via fairmath will never fall below 0 or rise above 100, doing all the stat clamping for you.
Fairmath is easy to test and observe in ChoiceScript, where you can run thousands of tests automatically. You cannot do that in Twine. This is my primary motivation for going with flatmath for my SugarCube project. Which means that someone has to handle clamping, as a gain of 10 at stat value 95 will set the value above 100.
The frequent code for handling that is during change:
<<set $stat to Math.clamp($stat + 5, 0, 100)>>
which, in this example, increases variable $stat by 5 and makes sure the result is not smaller than 0 and not greater than 100: clamping.
My problem with it is how much code repetition is there and how incredibly copy paste error prone this is. You will no doubt be copy pasting this code all over your game files and will need to make sure you are replacing the variable name twice each time, lest one variable will end up with the value of another in an oversight that is way too easy to miss. Ideally we want to specify not only the name of the variable, but also our bounds (0 and 100 respectively) only once.
There are two answers to this problem: widgets and JavaScript. A widget for this is one and done, but it is more fuss to integrate it into code, I found. In the JS solution you would need to figure out a function that works for your variable storage schema.
Let's cover the widget solution first:
<<widget "modify">> <<print '<<set ' + $args[0] + ' to Math.clamp(' + $args[0] + ' + ' + $args[1] + ', 0, 100)>>'>> <</widget>>
Not only will the above check that each resulting value is within the [0; 100] range, it accepts the variable name as a parameter, meaning it will work for any stat (though you would need to pass the variable name as a String) and for subtraction too:
<<modify "$stat" -18>>
Now to problems. For my links between passages in the format for Twine I use, SugarCube, I strongly prefer the structure of setters:
[[Link text|NextPassageName][stat modifications]]
Calling a widget is not possible inside a setter link though. You would either need to do that in the next passage, which is inconvenient if you do not need that passage for anything else, or to marry two syntaxes in this unholy matrimony:
<<link [[Link text|NextPassageName]]>> <<set $otherstat to "wowza">> <<modify "$stat" -18>> <</link>>
And this is just one link/option.
Now, for the price of extra JS code you can avoid all this. Depending on how you store your game variables, flat or in objects, you can employ tricks to save you time and code lines.
window.modifyStatA = function(value) { State.variables.StatA = Math.clamp(State.variables.StatA + value, 0, 100); }
This anywhere in your custom JS file for the game will allow to do the following:
[[Link text|NextPassageName][modifyStatA(-18), $otherstat to "wowza"]]
and will change the value of $StatA by subtracting 18 upon clicking that link/option.
You can also do the following:
window.modifyStat = function(statName, value) { State.variables[statName] = Math.clamp(State.variables[statName] + value, 0, 100); }
which creates a more generic function:
[[Link text|NextPassageName][modifyStat("StatA", -18), $otherstat to "wowza"]]
As you can see, this is suitable for flat stat storage (which I personally do not do). I suppose for the nested stats you could specify the object names as inputs in their order of hierarchy and access them so for a generic function, but I am not sure yet how to do that for a variable number of levels, e.g. Parent.StatGroup.statA vs Parent.statB
I believe this is geared to the very specific way I personally structure my passages and links, so I am ready to be proven wrong 😅
Cheers!
#twine#sugarcube#twine tutorial#I realized the generic JS function solution as I was typing this so for this alone it was a very useful exercise lmao#I feel like there should be a way to modify the prototype of the JS object but everything I tried led to an error
22 notes
·
View notes
Text
i feel weird and self conscious about my art again. sigh
the entire post ended up in thw tags ohb my god
#imptxt#ill talk about it more here#i do actually really like my art overall#i love my artstyle a lot it's so fun! lineless art awesome yay ^_^#i also really like the fact that i can very easily make super experimental art without feeling. bad or something.#BUT#i started drawing later than a lot of other people i guess. i haven't drawn since i was born i started drawing on aj when i was 9/10#and i didn't ever use references when i was younger which has made me incredibly. anxious about using them now :(. doesn't help that i am-#genuinely scared of using human refs because. i feel like they're staring at me#ive been seeing a lot art by people who are the same age as me or younger recently which is. technically a lot better than me currently#like. skills wise or whatever#and the ideas ive been having in my head have also become a lot more. out of my comfort zone/abilities#which is making me feel like i have to improve but. i don't really feel like it at the same time. i just want to have fun#but. i also want my art to be more interesting and dynamic anf just. Cool i want to have cooler art.#i haven't really used any tutorials but. None of them are really just. suitable for me from what i can tell??? idk man. different artstyles#to the one i have.#it's. it sucks.#i hate it.#sigh#ive also been feeling more guilty about yhe art i post recently???#idk. it feels repetitive and i don't want that. sigh.#i also wanna draw backgrounds man i love backgrounds but they're difficult#nothing is stopping me from doing that tbh. i just. have been very focused on drawing characters and ive been lazy with them#thankfully background refs aren't difficult for me to use.#ouuuhggvgg art js a Fuck why do i do it#(it's so fun hats why)#helllk wajt i just realised the reason why this is happening is because the thing im reading has fucking banger art#You Fucker. whatever you're forgiven god your art is so goals hs.#maybe i can. hm#AART YAY!!!!
2 notes
·
View notes
Note
some form of the triple affirmative has been found:
i have escaped my can and i am capable of travel to the void sea but i am unsure about the working conditions of other iterators and are currently attempting to help collapsed iterators off their rails to ascend -udg
OOC: Hi! You seem to have mistaken this blog for a roleplay blog. Innocence Won't Save You is interactive fiction, which is a different thing! The basic gist is that the players read the current story, then suggest things for Innocence to do. They're currently holed up in an old distillation building with a scavenger they're chatting with :)
While I appreciate the attempt to interact with this blog, I can't use this as an action, so I'll be discarding this ask. I will take the time to tell you a bit more about IWSY though, because why not? We're currently in status update 13, with scene 14 on the horizon. Innocence left their can, killed a Miros bird with an explosive spear they made, then made a lance with its beak. They're now on their way to Pebbles' can, and are roughly at Pebbles' edge of their shared farm sector. All players are realized in the game as Innocence's overseers, who suggest things for them to do that they may or may not actually do depending on how they feel about the suggestion. Most of the time, people have been submitting actions by sending in asks, but comments and reblogs also work!
I will also note that IWSY will be moving off of Tumblr with the advent of scene 14. To the anon that sent in another ask earlier: Very sorry, but you can't play on the site yet :') I'm still learning Javascript and figuring out how to set up commenting functionality, but you can continue to send in asks on this blog for the time being. The story just won't be updated concurrently on the blog. You can always read the latest updates on the official IWSY website, and I highly recommend that you get used to reading on the website for when I (finally) figure out how to let people comment on scenes there.
If you have any questions, feel free to ask! Thank you for interacting :)
#sniffles. i'm working through the JS tutorial as fast as i can manage#and once i understand what i'm looking at i'll revisit the commenting code i stole from somewhere i promise#i know jquery will probably have something useful but auahuhahghhghahgfh#there's other JS things i want to do anyways so i might as well learn it properly yknow
5 notes
·
View notes
Text
why are the blood moons SCARIER
#i asdume the first one is scripted to happen like on the first full night after u get out of the tutorial#if it isn't. it was timely.#happened in the central square how cinematic#also smth abt zelda being the one to narrate the blood moon js interesting. it happened last game too but#outgoing transmission#totk post#ahout oit to the one time irl i looked up at the moon and was like wonder when the next blood moon is#fully referring to monsters not the irl phenomenon
6 notes
·
View notes
Text
How to Build a Solana Trading Bot: A Complete Guide
Introduction
In today’s rapidly evolving crypto landscape, algorithmic trading is no longer just for hedge funds—it’s becoming the norm for savvy traders and developers. Trading bots are revolutionizing how people interact with decentralized exchanges (DEXs), allowing for 24/7 trading, instant decision-making, and optimized strategies.
If you're planning to build a crypto trading bot, Solana blockchain is a compelling platform. With blazing-fast transaction speeds, negligible fees, and a thriving DeFi ecosystem, Solana provides the ideal environment for high-frequency, scalable trading bots.
In this blog, we'll walk you through the complete guide to building a Solana trading bot, including tools, strategies, architecture, and integration with Solana DEXs like Serum and Raydium.
Why Choose Solana for Building a Trading Bot?
Solana has quickly emerged as one of the top platforms for DeFi and trading applications. Here’s why:
🚀 Speed: Handles over 65,000 transactions per second (TPS)
💸 Low Fees: Average transaction cost is less than $0.001
⚡ Fast Finality: Block confirmation in just 400 milliseconds
🌐 DeFi Ecosystem: Includes DEXs like Serum, Orca, and Raydium
🔧 Developer Support: Toolkits like Anchor, Web3.js, and robust SDKs
These characteristics make Solana ideal for real-time, high-frequency trading bots that require low latency and cost-efficiency.
Prerequisites Before You Start
To build a Solana trading bot, you’ll need:
🔧 Technical Knowledge
Blockchain basics
JavaScript or Rust programming
Understanding of smart contracts and crypto wallets
🛠️ Tools & Tech Stack
Solana CLI – For local blockchain setup
Anchor Framework – If using Rust
Solana Web3.js – For JS-based interactions
Phantom/Sollet Wallet – To sign transactions
DeFi Protocols – Serum, Raydium, Orca
APIs – RPC providers, Pyth Network for price feeds
Set up a wallet on Solana Devnet or Testnet before moving to mainnet.
Step-by-Step: How to Build a Solana Trading Bot
Step 1: Define Your Strategy
Choose a trading strategy:
Market Making: Providing liquidity by placing buy/sell orders
Arbitrage: Exploiting price differences across DEXs
Scalping: Taking advantage of small price changes
Momentum/Trend Trading: Based on technical indicators
You can backtest your strategy using historical price data to refine its effectiveness.
Step 2: Set Up Development Environment
Install the essentials:
Solana CLI & Rust (or Node.js)
Anchor framework (for smart contract development)
Connect your wallet to Solana devnet
Install Serum/Orca SDKs for DEX interaction
Step 3: Integrate with Solana DeFi Protocols
Serum DEX: For order-book-based trading
Raydium & Orca: For AMM (Automated Market Maker) trading
Connect your bot to fetch token pair information, price feeds, and liquidity data.
Step 4: Build the Trading Logic
Fetch real-time price data using Pyth Network
Apply your chosen trading algorithm (e.g., RSI, MACD, moving averages)
Trigger buy/sell actions based on signals
Handle different order types (limit, market)
Step 5: Wallet and Token Management
Use SPL token standards
Manage balances, sign and send transactions
Secure private keys using wallet software or hardware wallets
Step 6: Testing Phase
Test everything on Solana Devnet
Simulate market conditions
Debug issues like slippage, front-running, or network latency
Step 7: Deploy to Mainnet
Move to mainnet after successful tests
Monitor performance using tools like Solana Explorer or Solscan
Add dashboards or alerts for better visibility
Key Features to Add
For a production-ready Solana trading bot, include:
✅ Stop-loss and take-profit functionality
📈 Real-time logging and analytics dashboard
🔄 Auto-reconnect and restart scripts
🔐 Secure environment variables for keys and APIs
🛠️ Configurable trading parameters
Security & Risk Management
Security is critical, especially when handling real assets:
Limit API calls to prevent bans
Secure private keys with hardware or encrypted vaults
Add kill-switches for extreme volatility
Use rate limits and retries to handle API downtime
Consider smart contract audits for critical logic
Tools & Frameworks to Consider
Anchor – Solana smart contract framework (Rust)
Solana Web3.js – JS-based blockchain interaction
Serum JS SDK – Interface with Serum’s order books
Pyth Network – Live, accurate on-chain price feeds
Solscan/Solana Explorer – Track transactions and wallet activity
Real-World Use Cases
Here are examples of Solana trading bots in action:
Arbitrage Bots: Profiting from price differences between Raydium and Orca
Liquidity Bots: Maintaining order books on Serum
Oracle-Driven Bots: Reacting to real-time data via Pyth or Chainlink
These bots are typically used by trading firms, DAOs, or DeFi protocols.
Challenges to Be Aware Of
❗ Network congestion during high demand
🧩 Rapid updates in SDKs and APIs
📉 Slippage and liquidity issues
🔄 DeFi protocol changes requiring frequent bot updates
Conclusion
Building a trading bot on Solana blockchain is a rewarding venture—especially for developers and crypto traders looking for speed, cost-efficiency, and innovation. While there are challenges, Solana's robust ecosystem, coupled with developer support and toolkits, makes it one of the best choices for automated DeFi solutions.
If you're looking to take it a step further, consider working with a Solana blockchain development company to ensure your bot is scalable, secure, and production-ready.
#solana trading bot#solana blockchain#solana development company#solana blockchain development#how to build a solana trading bot#solana defi#serum dex#solana web3.js#anchor framework#solana crypto bot#solana trading automation#solana blockchain development company#solana smart contracts#build trading bot solana#solana bot tutorial#solana development services#defi trading bot
0 notes
Text
ahahahhhaaaaaaa

Ok I’m going to post this and then leave forever because I know I will hate it and tear it to shreds (aka delete it) once I see it on the blog 😭😭😭😭
anyways have hk (or don’t bc I drew him terribly and it’s perfectly understandable why u wouldn’t want him 😔)
lol anyways have a great day everyone! cyu in the next oneeeee <333333
-topo
edit: (slightly better vers. under cut)

took away the weird shading I did and it looks a bit better?
honestly I think I’ll stick to rough sketches on digital for now lol
ANOTHER EDIT; HAHAHHA NOPE IM TRYING AGAIN JS YALL WAIT
my mentor the goat @ssavaart taught me to never give up and that’s just what imma do 💪💪💪
#i love him he doesn’t deserve this#no but actually he’s so pretty ToT#my type frfr#js not when I draw him sadly#aph hetalia#hetalia#aph hong kong#hws hong kong#ik art improvement takes time but I hate the fact that I’m at the bottom#guess I’ll go watch some tutorials lol#I’m drawing a Iil thing on paper that I’ll probably post soon tho#hopefully it’ll make up for this abomination#low quality background#ok I’ll stop yapping 😔
1 note
·
View note
Text
youtube
Simple beginners guide how to build create WebHID API Electron JS Desktop App for windows 10 & windows 11. Electron webhid api Desktop App html js Script: https://bit.ly/4egIyAw or https://drive.google.com/file/d/1euT1JxtpOgdZwVpA5C1nXOZRZ7bnbsoa/ Electron JS Desktop App Project Tutorial for Beginners: WebHID API Example w/ Source Code
#tutorials#how to#programming#arduino#esp32-s2#esp32#WebHID API#Desktop App#Electron#Electron JS#Source Code#Project Tutorial for Beginners#windows 10#windows 11#Youtube
0 notes
Text
Learn to parse JSON like a pro!
https://skillivo.in/json-tutorial/

Learn to parse JSON like a pro! 🚀 This tutorial covers both JavaScript and Python, helping you master JSON parsing with easy-to-follow examples. Check out the detailed guide below: Table of Contents: ✅ Parsing JSON in JavaScript: JSON.parse() - Syntax, Example with Reviver Function; JSON.stringify() - Syntax, Example with Replacer Function, Example with Space Parameter; Combining JSON.parse() and JSON.stringify(); Simple Examples - Sending Data to a Server, Configuring Application Settings, Storing Shopping Cart Items and Displaying in HTML Table Format. ✅ Parsing JSON in Python: json.loads(); json.dumps() - Basic Conversion, Nested JSON Object, JSON Array.
LinkedIn - https://www.linkedin.com/company/skillivo/
Master JSON parsing in both JavaScript and Python with practical examples!
#JSON#JavaScript#Python#Coding#Programming#DataParsing#TechTutorial#SoftwareDevelopment#LearnToCode#skillivo#developer#webdesigner#tutorial#jsontutorial#js#HTML#CSS#technology#ajax#jquery#api#php hashtag#java hashtag#software#programmer#webdevelopment#bootstrap#machinelearning#code#webdeveloper
1 note
·
View note
Text
Master Google Cloud: Deploying Node JS APIs on VM
Full Video Link - https://youtu.be/gxZ-iJNCbAM Check out this new video on the CodeOneDigest YouTube channel! Learn how to create Virtual Machine in Google Cloud Platform, Setup Google Compute Engine VM & Deploy run JS APIs in VM. #codeonedigest
In this tutorial, we will create & setup Google Compute Engine Virtual Machine in Google Cloud Platform. We will be deploying & running javascript APIs in google compute engine virtual machine. We will be opening firewall port for incoming API request in VM. We will also learn how to deploy API code and run API service in google compute engine virtual machine. I will provide step by step guide to…
View On WordPress
#compute engine#deploy api for free#deploy api in google cloud#deploy node js api#deploy node js api for free#deploy node js application#deploy node js project on server#gcp compute engine interview questions#gcp google cloud platform#google cloud creating a virtual machine#google cloud platform#google cloud platform tutorial#google compute engine#virtual machine setup
0 notes