js emoji

Posts tagged with :js:

jessicard
@jessicard7+
worked on some ideas for politescript, a very useless but very polite language i would like to make. because sometimes i want javascript to not feel like iโ€™m so demanding, you know?
https://cloud-h3r9lnwjy-hack-club-bot.vercel.app/0screen_shot_2022-04-13_at_11.26.31_am.png
js emoji
spring-of-making emoji
J_cordz
@J_cordz7+
Today was the start of my Spring Break! I worked on questionnaires about all the Biology lab ๐Ÿงช experiments and topics I've seen on school! ๐Ÿฆ  ๐Ÿ”ฌ ๐ŸŒฑ Also today I got an answer about my first GitHub Issue, :merge: but it was that GitHub don't accept pull requests for translated repos on their docs so looks like they won't solve the typo I found! ยฏ\(ใƒ„)/ยฏ Today I also finished a lot better design of my GitHub Readme, I know I get to work on that a lot but it looks way better now, and it got a MIT License :mit: so people can use the design too! It uses many cool open source tools! :quad_parrot: I also gave stars โญ to cool repos and added them to the new lists on beta, it's an awesome feature! Today I also worked again on the Splatter Paint workshop, and understood a lot more JavaScipt functions :javascript: :blobninja: ! Lastly I started reading the John Green book I mentioned yesterday! It's a fun read so far! ๐Ÿ“•
https://cloud-ift2nabcm-hack-club-bot.vercel.app/0captura_de_pantalla_2022-04-11_a_la_s__22.43.32.pnghttps://cloud-76j61e3fi-hack-club-bot.vercel.app/0captura_de_pantalla_2022-04-11_a_la_s__22.43.10.pnghttps://cloud-8zvf5ep8b-hack-club-bot.vercel.app/0captura_de_pantalla_2022-04-11_a_la_s__22.44.44.png
ced
@ced0
imagine you were making a multiplayer web game at regular intervals on the server, you want to tick your simulation. setInterval(() => { your players move forward, โžก๏ธ your enemies decide who to badger next, :threat: some of your projectiles are just barely dodged, :flug: and others smash satisfyingly into their targets :bonk: }, 1000 / 60); at each of these intervals, the server decides which of these occur, and which ... do not. the difference is quite literally life and death for the denizens of your online realm: if a player's input makes it to the server just after this update has occurred, they might just not move out of the way of the oncoming missile in time. after one of these updates when the server has just finished making these vital decisions, it blasts relevant portions of them out to everyone who's connected to your server. (there's no point in updating you about something if it's happening on the other side of the map!) meanwhile, in the player's web browser, these regular updates from the server are gradually applied, so the server's periodic contemplation is rendered as a seamless sequence of fluid movements... unless those updates aren't really so regular at all ... the contract that the server has with the client -- that the server will give the client evenly spaced out updates at regular-enough intervals so that the client can smoothly move between them -- isn't actually the same as the contract that setInterval provides. all setInterval(update, 1000) means is that there will be ABOUT one thousand milliseconds between each of your updates, usually more. so if the actual interval ends up being 1009ms one frame, the next update won't be about 991ms later so that updates happen at regular one second intervals, it will be more like 1007ms later, so that now you're a total of 16 ms away from the contract you had with the client. this is known as drift. at worst, this passes on all of the problems of using setInterval for animation onto your game. but what if you're doing something fancier than just moving between the updates you get from the server as you get them? there's always going to be a random delay between what the server sends and what you get, anyway. it might make more sense to push the updates you get from the server onto a stack, and exactly as often as the server updates, pop the next set of positions off of that stack. ... except that if you're popping using one setInterval on the client, and the server is pushing out those simulation ticks using a setInterval of its own ... and each has a different drift ... they're quickly going to fall out of sync. if the server is drifting a lot, your stack might gradually accumulate thousands of positions that you just can't keep up with ... and if the server is drifting less than you are, you might run out of positions to show the player! suffice it to say, it's super important to have a setInterval that updates without drift. I threw together an implementation of one this morning. I call it a `tick`, since it works well for those simulation ticks I was talking about before. To test it, I went ahead and also made a drift visualizer. Here's a screenshot of it! The grey lines are spaced out at 0.5s intervals, and the first row of blue marks is made by setInterval, while the other row of blue marks are made by my own tick function. as you can see, they stick to the "wall clock time" a lot better than Interval does, even when you leave it running for several minutes! here's a screenshot! I'll post the source in the thread :) fun fact: everything that moves is a CSS animation ๐Ÿ˜‚ I didn't want to pollute the JS event loop, although now that I think about it, it might've been better to so that I can see how well my ticker keeps itself together in the presence of some event loop pressure.
https://cloud-7qivvrkmx-hack-club-bot.vercel.app/0image.png
belle
@belle7+
hey fwens :wave-pikachu: hope your day is going amazing! today i did math past papers and had a really exciting meeting for a project that i'm working on :)) also, i figured out some adulting stuff like rent and making meals and stuff :flushded:. (attached is the design i created for the ama w/ feross โ€“ i'm so excited for the event!!)
https://cloud-h4m812w5f-hack-club-bot.vercel.app/0feross.png
wom emoji
hack-club emoji
js emoji
npm emoji
figma emoji
ian
@ian4
:conflict: Conflict release v0.5.0, almost ready for the full release! Iโ€™ve added plugin support, upgraded to the newest Discord.js rest API, and added a few more custom components. If anyone can help me test it before I release it, let me know!
https://cloud-544pivjhi-hack-club-bot.vercel.app/0image.pnghttps://cloud-hjltq3wzb-hack-club-bot.vercel.app/0image.png
wom emoji
js emoji
conflict emoji
discord emoji
abby
@abby0
This week Iโ€™m going to an FRC competition and going to be leading my old teamโ€™s scouting. I made a link tree for quick links. I know the links donโ€™t fully work as I havenโ€™t finished making the forms. I followed Steph.jsโ€™s tutorial! Hereโ€™s the link: cada2022-link.vercel.app!
https://cloud-augedumiz-hack-club-bot.vercel.app/0screen_shot_2022-03-21_at_7.26.11_pm.png
ced
@ced0
ian
@ian4
:conflict: Working more on the website! conflict-website-v2.vercel.app Today I did some more stuff with eslint and next.js which is cool. I also learned that the alt text of an image gets copied when you select it with other text.
https://cloud-9u5lqvaze-hack-club-bot.vercel.app/0image.png
js emoji
nextjs emoji
chefskiss emoji
wom emoji
vercel emoji
conflict emoji
kaidevrim
@kaidevrim0
https://cloud-8ngqam1b3-hack-club-bot.vercel.app/0image.png
wom emoji
js emoji
nextjs emoji
khalby786
@khalby7867
Making a guestbook because I have nothing else to do (surprise, surprise). I'm just hoping I don't overengineer this into complexity. I'm suppressing (like KAY/O, can't resist a good Valorant reference) all my inner interests in using a framework, but in simple HTML, CSS and JS we trust. And thanks @J_cordz about the info on Artemis, I guess I'll see you on the moon? Flashback to my visit to Mars (in 2020), they had no donuts.
https://cloud-pghkga0xw-hack-club-bot.vercel.app/0image.pnghttps://cloud-16khkjud3-hack-club-bot.vercel.app/0image.pnghttps://cloud-lv1relnzr-hack-club-bot.vercel.app/0boarding-pass.jpg
wom emoji
js emoji
J_cordz
@J_cordz7+
Today I had my first Chemistry Lab of the semester! โš—๏ธ It was a very interesting class, we did experiments on Fermentation, a very interesting metabolic process, also today I started working on a newer version of the particles of my website in development now in Three.js! Previous library wasn't so good and a bit outdated. Here's a picture I took on the lab and other of some gardens! Also later I'm to be trying Generative Art with a very cool workshop :hack-club: !
https://cloud-got35rcms-hack-club-bot.vercel.app/0_d_h6awq_400x400.pnghttps://cloud-m945beguz-hack-club-bot.vercel.app/0img_20220304_224600.jpghttps://cloud-m9k4bosfs-hack-club-bot.vercel.app/0img_20220304_183318.jpg
js emoji
wom emoji
J_cordz
@J_cordz7+
It's been a while since I started having my Biology Lab classes and it's been awesome so far! ๐ŸŒฑ And tomorrow I'll have my first chemistry lab class! Also today I used @clairebookworm music visualizer and it was amazing! I tried it with Imagine Dragons music and a BOTW Lo-fi Playlist and it was great. :triforce: This reminds me I have to learn Three.js! Also I check out Spline! spline.design A very interesting 3D Design tool!!!
https://cloud-1iialk4k5-hack-club-bot.vercel.app/0captura_de_pantalla_2022-03-03_a_la_s__22.39.53.pnghttps://cloud-qljnbayud-hack-club-bot.vercel.app/0captura_de_pantalla_2022-03-03_a_la_s__22.28.35.pnghttps://cloud-nqea2iulc-hack-club-bot.vercel.app/0captura_de_pantalla_2022-03-03_a_la_s__22.33.33.pnghttps://cloud-85fpk2w03-hack-club-bot.vercel.app/0captura_de_pantalla_2022-03-03_a_la_s__22.36.22.png
BenjaminSmith
@BenjaminSmith3
Writing my own JS module system is more difficult than I thought (also wow I've really gotten sidetracked, this started by trying to make Vite build my project faster)
https://cloud-j8o96h6ct-hack-club-bot.vercel.app/0image.png
js emoji
wom emoji
christina695
@christina6950
Still on vacation ๐ŸŒŠ Got a little stuck with JavaScript this morning but kept going. Then went for a walk on the beach at sunset and bumped into Jack Dorsey. Not joking! Said hi. He said hi back.
https://cloud-8iwr14cb8-hack-club-bot.vercel.app/0image_from_ios.jpg
RobertGoll
@RobertGoll0
Got next.js and cloudflare set up for my (first actual) website!
https://cloud-fui8ox18p-hack-club-bot.vercel.app/0image.png
wom emoji
cloudflare emoji
nextjs emoji
js emoji
yay emoji
christina695
@christina6950
Day 2: Built a click function with JavaScript on my vacation website :laptop: that makes fun phrases pop up, and then searched google for functions I could use other than โ€œclickโ€ โ€ฆalso, went ziplining over the jungle! ๐Ÿ™Š
https://cloud-3iv6q0hcx-hack-club-bot.vercel.app/0screen_shot_2022-02-22_at_6.31.44_am.pnghttps://cloud-fb13537oe-hack-club-bot.vercel.app/0screen_shot_2022-02-22_at_6.31.28_am.png
christina695
@christina6950
On vacation this weekย ๐Ÿ„โ€โ™€๏ธ
https://cloud-3lbj2nrh5-hack-club-bot.vercel.app/0screen_shot_2022-02-20_at_9.23.51_am.png
wom emoji
yay emoji
js emoji
ian
@ian4
Today I made tons of progress on my bot framework, Conflict. github.com/YodaLightsabr/conflict I added command responses with JSX views, a command line interface, implemented a rough draft for hooks, and learned more about arrow functions and this scope.
https://cloud-apa9pzuc0-hack-club-bot.vercel.app/0image.png
aaryan
@aaryan0
Data structures in JavaScript!
https://cloud-c1fyhj6n5-hack-club-bot.vercel.app/0image_a88a40a5-1476-4441-b6ae-281dab355b1220220201_185659.jpg
js emoji
wom emoji
ian
@ian4
I finally learned npm link, how to make exports like module/export, and making cli tools with package.jsonโ€™s bin
https://cloud-8516avx78-hack-club-bot.vercel.app/0image.png
beachball emoji
js emoji
npm emoji
wom emoji
ZaynB
@ZaynB0
Workshops Challenge Day 1: Splatter Paint Hey all! I wanted to challenge myself to see if I could do one Hack Club workshop everyday during the month of February to help me learn HTML/CSS/JS. Obviously the fact that today is February 2nd means I've already failed but who cares! Right now my homepage looks pretty bad, something I hope to fix by the end of this challenge. If you want to follow me on my journey, check out #blue-eyes-white-dragon (my channel) and github.com/BaizaOP/hc-workshops where I am putting all of the workshops for this challenge!
https://cloud-f5hn6pfdl-hack-club-bot.vercel.app/0image.pnghttps://cloud-90bcolwrm-hack-club-bot.vercel.app/0image.png
J_cordz
@J_cordz7+
Today I started using the Kaboom Js library for game development!
https://cloud-23878v2wd-hack-club-bot.vercel.app/0screenshot_20220131_171401.jpg
Skye
@Skye0
Coding a bot in discord.js using Autocode!
https://cloud-dml8ckvxf-hack-club-bot.vercel.app/0image_from_ios.jpg
ian
@ian4
I made huge progress on my Discord bot framework today. The basic command handler and JSX view parsers are working!! Edit: Now open source! github.com/yodalightsabr/conflict ๐ŸŽ‰ :githubparrot:
https://cloud-cf63gltoz-hack-club-bot.vercel.app/0image.pnghttps://cloud-khmwzi0gk-hack-club-bot.vercel.app/0image.png
J_cordz
@J_cordz7+
Today I learned more things about Javascript while using MDN Web Docs! It was a very useful resource to get to learn more about this programming language, which will help me in the future with my projects!
https://cloud-ilhwoqbzr-hack-club-bot.vercel.app/0captura_de_pantalla_2022-01-25_a_la_s__23.59.15.png
wom emoji
js emoji
HoreciaWilliams-U02VAP9QQA1
@HoreciaWilliams-U02VAP9QQA11
https://cloud-b7gga9k8x-hack-club-bot.vercel.app/0img-20220123-wa0002.jpg
js emoji
wom emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Tried a different image upload method today:ย 0x0.st/ooQu.pngย but scrappy did not accept. Mostly did the review thing, although will do for some more hours this night but may not remember to take screenshot at that time so did it now. scrappy tags: js, night,ย review
https://cloud-678in2ldz-hack-club-bot.vercel.app/0jsreview.png
wom emoji
js emoji
scrappy emoji
J_cordz
@J_cordz7+
So a very interesting thing happened yesterday on my scrapbook, due to the image type I used, the post didn't load on the website, but it still showed up on my HeatMap, it loaded correctly after a file change but with today's date because of the hour I submitted it! And in addition to this event, today I learned more of game development and Game Engines and tools with JavaScript! :js:
https://cloud-n12970me2-hack-club-bot.vercel.app/0640px-unofficial_javascript_logo_2.svg.pnghttps://cloud-amsdjtuen-hack-club-bot.vercel.app/0captura_de_pantalla_2022-01-20_a_la_s__23.50.57.png
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Not a js update but I started a hack club at my school today! And also applied to hackclub.com! Tips for creating a ~good~ great hack club in my school?
https://cloud-51z7shvac-hack-club-bot.vercel.app/0image.png
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Some buggy code today, but I take that as a step in learning ๐Ÿ™‚!
https://cloud-gd4wr0eh8-hack-club-bot.vercel.app/0image.png
wom emoji
goose-honk-technologist emoji
js emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Followed some freecodecamp js tutorial instead of solving problems today, since I needed a bird's eye view before moving forward.
https://cloud-10ve2s6pu-hack-club-bot.vercel.app/0image.png
js emoji
wom emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
I will reach freaking day 7 of doing this tomorrow!
https://cloud-p01r2lmb8-hack-club-bot.vercel.app/0image.png
wom emoji
js emoji
party-dinosaur emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
I will soon be on day 7 doing of js (with vim ๐Ÿ™‚)!!
https://cloud-9tp3y3jzt-hack-club-bot.vercel.app/0image.png
wom emoji
vim emoji
js emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Javascript: wooohoooo, here we GO!!
https://cloud-4xyp732d6-hack-club-bot.vercel.app/0image.png
js emoji
yay emoji
wom emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Day 3: this one was a tuffy (at least for me), but done at last
https://cloud-lqwp489u9-hack-club-bot.vercel.app/0image.png
wom emoji
js emoji
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
Day 2 of js or rather day[1]
https://cloud-55a29b723-hack-club-bot.vercel.app/0image.png
wom emoji
js emoji
avi
@avi0
wrote more for the D3.js workshop!
https://cloud-ifqdk32o7-hack-club-bot.vercel.app/0image.png
SuryaanshChawla-U02QN9S567M
@SuryaanshChawla-U02QN9S567M1
started to work on javascript
https://cloud-8o197w6js-hack-club-bot.vercel.app/0image.png
js emoji
wom emoji
caleb
@caleb0
lol i made coffeescript work with next.js
https://cloud-2i9cnikl8-hack-club-bot.vercel.app/0screen_shot_2022-01-02_at_3.39.43_pm.png
caleb
@caleb0
Made a little :resolute: demo with Alpine.js!
upvote emoji
resolute emoji
wom emoji
js emoji
J_cordz
@J_cordz7+
Finally my website is looking better! I managed to add moving particles to it using a Javascript Library, I still have to add more content and things which I will work on later another day, but it's nice to be able to recreate my planned design for my website with code.
https://cloud-9ynksk19e-hack-club-bot.vercel.app/0captura_de_pantalla_2021-12-27_a_la_s__11.55.30_p.m..png
J_cordz
@J_cordz7+
Today I worked on creating particles on JavaScript which I will be using for my website, I currently have a lot of projects I need to finish so I won't be adding anything new until I finish all of them.
https://cloud-f2y3te59u-hack-club-bot.vercel.app/0projects.png
wom emoji
js emoji
beachball emoji
J_cordz
@J_cordz7+
Today I continue working on my freeCodeCamp web development course, also study a bit more of CSS and Javascript for my website and start learning how to build a Linux Distro for a Hack Club project!
https://cloud-85i4japx0-hack-club-bot.vercel.app/0icon-square.pnghttps://cloud-du64qc9r4-hack-club-bot.vercel.app/0freecodecamp-banner-thumbnail.png
J_cordz
@J_cordz7+
So today, it looks like Vercel hosted sites are allowed again on my internet, which was very odd on the first place why they got blocked, anyways, today I worked on my projects, my workshop translation an read a few things about Vue and Nuxt.js as alternatives to React and Next.js, so I will be deciding this days on what to focus to learn better next!
https://cloud-9prjgexc4-hack-club-bot.vercel.app/0captura_de_pantalla_2021-12-14_a_la_s__11.55.48_p.m..pnghttps://cloud-bcfe64ldg-hack-club-bot.vercel.app/0captura_de_pantalla_2021-12-14_a_la_s__11.59.24_p.m..png
vercel emoji
nextjs emoji
react emoji
wom emoji
vue emoji
js emoji
caleb
@caleb0
This modal was written in JSX. No big deal, right? I mean, everyone and their cousin uses JSX and React. But what about JSX without React? Yep, I hacked together a tiny React.createElement polyfill that lets elements like this be used as simply as document.body.appendChild(<div>HELLO WORLD!</div>). I didn't even have to use Babel (esbuild ftw) :cooll-thumbs: I didn't publish this as its own package (mostly because I'm sure someone else already has), but the majority of the code is in this file if you want to check it out ๐Ÿ‘€
github emoji
react emoji
aom-21 emoji
js emoji
goose-honk-technologist emoji
ian
@ian4
github.com/YodaLightsabr/2Password Used Node.js to make a password manager with aes-256, a secret key, master password, and hashing. Itโ€™s probably not at all secure in the real world, but it was cool to try cryptography.
https://cloud-fwoq5i2ff-hack-club-bot.vercel.app/0image.png
aom-21 emoji
js emoji
github emoji
caleb
@caleb0
ArcadeWise
@ArcadeWise0
HELLO I AM BACK WITH A ๐Ÿšข ITS COOL YALL WANNA SEE??? Introducing: Dialect! A programming language for people who want to not actually write functional :haskell: code but wanna feel like it. Wanna install the compiler? Run ๐Ÿ’ป npm i -g dialect-lang and you can use dialup, the dialect compiler! OR visit raleighwi.se/dialect and run it in your browser :chrome:! You can write webapps with it, or just write code. It compiles down to :js: and I've built a basic stdlib. Feel free to ask questions on how to use it here :) Oh and also here's the source: github.com/l3gacyb3ta/dialect
https://cloud-fjvqmhzoe-hack-club-bot.vercel.app/0image.png