๐Ÿ–‹๏ธ

Posts tagged with :lower_left_fountain_pen:

malte
@malte0
Hello big daddy @scrappy in the sky! Today I wrote an ethics essay and yelled at an amp!
grafik.png
malte
@malte0
grafik.png
malte
@malte0
wrote my heart out again
grafik.png
aaryan
@aaryan1
Wrote my first ever test! I really like this and will give TDD a shot!
image.png
BenjaminSmith
@BenjaminSmith1
Wrote a quick react component to make using a bunch of context providers easier
image.png
JonahUellenberg
@JonahUellenberg0
I wrote a little language for writing regex @ npmjs.com/rexs. Still need to polish it up a bit and add some better testing, but it works. I'd also like to write a decompiler to understand those multi-line regular expressions people like to write.
image.png
caleb
@caleb0
Wrote a React useState snippet for VS Code (and Vim too) :celebratoryrat:
cfanoulis
@cfanoulis0
wrote my first vscode snippet!
image.png
hexxx
@hexxx0
Wrote a quick python script emailing colleges asking for freebies. Have to wait and see if anything will come through now!
img.png
caleb
@caleb0
Wrote a fig definition for fgh!
screen_shot_2021-05-05_at_12.41.29_pm.png
RaleighWise
@RaleighWise0
I wanted to see every hackclub website link, so I wrote a webcrawler! Here it is running.
image.png
sporeball
@sporeball1
wrote an Esolangs page for my OISC
image.png
AlkaYadav
@AlkaYadav0
screenshot_2021-04-07_101436.png
caleb
@caleb0
wrote a tiny li'l MJPEG server library in Python for my robotics team! clb.li/TE1Wo
screen_shot_2021-03-30_at_12.25.43_pm.png
Ishan
@Ishan2
image.png
WilliamLane
@WilliamLane0
screen_shot_2021-03-28_at_00.20.17.png
lachlanjc
@lachlanjc1
Carbon emissions dropped during COVIDโ€”but working from home introduces its own emissions. Iโ€™ve helped build an interactive calculator at Watershed to model these emissions: watershedclimate.com/wfh-calculator (& wrote a Twitter thread with some design details!)
matthewvandyke08
@matthewvandyke087+
Took some notes about what I want to change about my portfolio website and wrote down some other goals today
image.png
Skye
@Skye0
Whew wrote a lot of markdown today. Still not done tho. Pray that I get it done before this Wednesday's club meeting ๐Ÿ™
image.png
neel.redkar
@neel.redkar0
screen_shot_2021-03-21_at_7.50.00_pm.png
msw
@msw0
ezgif.com-gif-maker.2.gif
ezgif.com-gif-maker.1.gif
fayd
@fayd0
Wrote at least a 1000 lines of code today + Completed 1000 kills in hypixel bedwars. Ah. Perfectly Balanced. As all things should be.
image.png
image.png
image.png
sarthak
@sarthak0
๐Ÿšข SHIP INCOMING ๐Ÿšข Iโ€™ve always believed the memories closest to you always had a story. Last night, I wrote Thirteen which I published on Medium today. medium.com/@sarthaktexas/thirteen-436e09dab853 Take a read and let me know what you think!
jonathan-sanchez-shr7qc3ratk-unsplash.jpg
jeswinsunsi
@jeswinsunsi0
Uh so in 2016, I had this bright idea, to make an operating system. Problem was, I only knew Qbasic. I don't give up easily, so what did I do? Did I learn Assembly and C? Yeaaaaaaah, no. Big brain me decided to do it in Powerpoint :picard-facepalm: With 74 slides, all hooked up with animations and transitions and a few dozen lines of Visual Basic (If you thought normal VB was bad, wait until u saw how I wrote it and how I named stuff) I managed to create a very dumb prototype. It has three mini games, a broken browser, a calculator, ability to change wallpaper, and a couple other things. It wasn't total waste tho, a lot of my classmates were in awe and I got into my school's faux computer club two years before others could, aaand it encouraged me to learn Python and that's how I got into coding and stuff. Why am I talking about it now? Well I popped in the USB I saved my project in after two years, and Jesus Christ I can't believe how cringy I used to be.
image.png
BenjaminSmith
@BenjaminSmith1
Added my website to the webring! I wrote a react component with Next.js server side data fetching instead of using the premade JS so there is no JS needed to run the component on the browser
screenshot_20210223-213805.png
caleb
@caleb0
I couldnโ€™t come up with a status, so I wrote a script that randomizes it every 5 seconds ยฏ\(ใƒ„)/ยฏ
screen_shot_2021-02-21_at_11.48.33_pm.png
Khushraj
@Khushraj0
screenshot_2021-02-19_at_4.10.50_pm.png
Khushraj
@Khushraj0
screenshot_2021-02-19_at_3.13.53_pm.png
WilliamLane
@WilliamLane0
Got diesel orm models and migrations set up for rust and postgresql, wrote a server for a link shortener to test it out.
screen_shot_2021-02-09_at_09.52.29.png
caleb
@caleb0
wrote 2 #raycast script commands: one to set my slack status and one to open VS Code to an fgh project!
screen_shot_2021-02-08_at_6.52.49_pm.png
screen_shot_2021-02-08_at_6.53.19_pm.png
rishi
@rishi0
โœจ Yellow hello hack club! Iโ€™m *VERY* excited to be shipping what is almost certainly my biggest project to date (also the fastest implemented: I wrote pretty much the whole thing throughout the day yesterday): Idyllic, the fastest way to build REST APIs! :githubparrot: Github (โญ s always appreciated) z.rishi.cx/g/idyllic & z.rishi.cx/g/idyllic-todo (for an example of what a real-world API might look like) ๐Ÿš€ At its core, Idyllic is a programming language that allows you to define how data flows through a given API & its routes:
define middleware { test, logger } from "./api"
define guards { authed } from "./api"
define handlers { getAllTodos, postTodos } from "./api"

global
  | middleware logger

fragment getTodosFragment(level)
  | guard authed(level)
  | middleware test

route "/todos" {
  | middleware test

  get {
     | expand getTodosFragment("user")
     getAll
  }
  
  post {
     | expand getTodosFragment("admin")
     postTodos
  }
}
๐Ÿ› ๏ธ The Idyllic language reverses the conventional paradigm that surrounds Node REST APIs: usually, you have to write your functions _for a framework_. With Idyllic, you can assemble your API completely independently of your functions themselvesโ€”now, an API is simply a wrapper over regular old Typescript functions! The language itself comes with a pretty big suite of features (you can read more about them at the Github page):
โ€ข Static typing with Typescript & definition types
โ€ข Parameterized, first-class macro support with Fragments
โ€ข Data pipelines with Sequences
โ€ข First-class support for Middleware and Guards
โ€ข Query parameter capturing
โ€ข Request type definitions
๐Ÿ•ธ๏ธ The repository also comes with a minimal HTTP server that takes in a compiled Idyll and starts up a fully-functioning API from it:
import { IdyllicCompiler } from "@idyllic/compiler";
import { IdyllicServer } from "@idyllic/server";

(async () => {
    
    // The fromFile static method reads the file into a string for us
    const compiler = await IdyllicCompiler.fromFile("ast.idl")

    // The compile method executes all 5 stages of compilation automatically.
    const compiled = await compiler.compile()
    
    // The server constructor takes in a compiled Idyllic object.
    const server = new IdyllicServer(compiled)
    
    // The start function takes in a port number (defaults to 3000) and a function to be executed on start.
    server.start(3000, () => {
        console.log("Idyllic server has started!")
    })

})()
๐Ÿ’จ This server implementationโ€™s pretty fast, too: in most cases, it comes close to (and in some cases, beats) Express! Itโ€™s derived directly from nodeโ€™s built-in http module. Idyllicโ€™s been a project that Iโ€™ve dreamt of making for quite a while now, and Iโ€™m super happy with how it turned out! Iโ€™ve included a little walkthrough of an Idyllic project down below :) I canโ€™t wait to see what youโ€™ll build with it! Special thanks to @JackyZhao @matthewgleich @safin.singh for being awesome along the way โœจ
pradyungn
@pradyungn0
New ink/pen day!
pxl_20210206_014959885.jpg
anish
@anish0
Wrote a program to draw fractals recursively. This is a hilbert-curve on its 5th iteration!
ella
@ella0
wrote a contributing.md for the webring repo :githubparrot:
screen_shot_2021-02-01_at_10.40.19_am.png
lachlanjc
@lachlanjc1
image_from_ios.jpg
neel.redkar
@neel.redkar0
I decided to learn rust and wrote a simple tts server :owo: Its cool because I can run it on my computer and people can just randomly say stuff github.com/neelr/speaker (i also have to concede rust with vim is pretty cool)
image.png
lachlanjc
@lachlanjc1
image_from_ios.jpg
lachlanjc
@lachlanjc1
image.png
BenjaminSmith
@BenjaminSmith1
I am using Contentful as my website's headless CMS and its GraphQL API marks all properties as optional even if you have set it to required on the web interface, so to use the TypeScript code generated by graphql-code-generator you need to do a lot of null checks. This is for a good reason but I'd rather have that edge case to deal with than have to write a bunch of checks, so I wrote a CLI tool to get the GraphQL schema, modify it so that the types match the data from the Contentful management API, and write it to a file that the codegen tool can use
image.png
e-lee-za
@e-lee-za0
Havenโ€™t posted in a while, so hereโ€™s two images I just made, based on a song I wrote a while ago. Do remember to sleep tonight.
image_from_ios.png
image_from_ios.png
caleb
@caleb0
Today I wrote a bare-bones interpreter in Rust (to solve one of the 2019 AoC problems)
image.png
everest
@everest0
My dad and I wrote a bot to try to find a ps5
image_from_ios.jpg
image_from_ios.jpg
christina695
@christina6950
Wrote some basic functions in JavaScript. Also, followed up on our AMA by writing a long email to Gwynne Shotwell about Hack Club
screen_shot_2020-11-25_at_8.02.43_am.png
joshThe2nd
@joshThe2nd0
Wrote a DNS Server in python for a rebinding ctf challenge
image.png
kevindai02
@kevindai020
image.png
alexkesin
@alexkesin0
started learning julia! wrote a prime number finder this morning
image.png
hemesh
@hemesh0
Tests finally over! Today I wrote some really bad Express and MongoDB code. I also discovered fruitionsite.com a cool way to make sites with notion.
image.png
neel.redkar
@neel.redkar0
Hi! First ship in a while! I wrote something about the increasingly polarized political climate, and ways we can work towards more civilized debate! notebook.neelr.dev/stories/X6W89xAAACQAE7Ia please leave any suggestions in the thread! (also star if you liked it uwu)
screen-shot-2019-11-07-at-12.42.20-am.png