Dana Woodman  Profile Banner
Dana Woodman  Profile
Dana Woodman 

@DanaWoodman

1,087
Followers
832
Following
1,086
Media
13,411
Statuses

pronounced: Day-Nuh. señor software dev. just over here writing bugs for future me to fix.

localhost
Joined April 2011
Don't wanna be here? Send us removal request.
@DanaWoodman
Dana Woodman 
1 year
I wish as a convention in the software world we would have agreed to just have a .config directory in a project to put all these damn files.
Tweet media one
108
162
2K
@DanaWoodman
Dana Woodman 
3 months
just submitted a PR to a @Mapbox repo that moves from ljharb's traverse to @puruvjdev neotraverse final bundle size went from 129kb to 19k look at this dependency graph change lol
Tweet media one
Tweet media two
23
19
628
@DanaWoodman
Dana Woodman 
1 year
@jdan Please download my package "list". You can download it via npm. It is slower, more characters to type, requires node to run, has half the features, has a peer dependency on React and only has 4 commits but it has Typescript types!
6
7
404
@DanaWoodman
Dana Woodman 
3 months
real talk, if you jump to conclusions like this, you need to step away from the internet for a bit also stop following libs of tiktok
Tweet media one
16
3
247
@DanaWoodman
Dana Woodman 
8 months
bro tells someone their little tech demo is trash then justifies all the problems with his this is why i have no interest in being part of the remix community
Tweet media one
Tweet media two
Tweet media three
24
4
248
@DanaWoodman
Dana Woodman 
7 months
y'all need to learn the platform just a little...
Tweet media one
48
9
239
@DanaWoodman
Dana Woodman 
1 year
This is what happens when your founder embezzles money 😅
@rometools
Rome Tools
1 year
The Rome project is officially discontinued, the repository is archived. Follow @biomejs , the official community project.
0
54
283
18
8
211
@DanaWoodman
Dana Woodman 
2 years
SvelteKit is now officially in a v1.0 release candidate phase (no planned breaking changes)! 🎉 Congrats @SvelteSociety @Rich_Harris @dummdidumm_ @antony @BrittneyPostma and all the other awesome Svelte maintainers and contributors! We're close!
6
29
200
@DanaWoodman
Dana Woodman 
1 year
@housecor he got what he wanted; attention
3
1
181
@DanaWoodman
Dana Woodman 
2 years
@oven_sh Wow, this is such a disappointing and shortsighted approach to hiring from a project and a person I respect. You're limiting yourself to a very small pool of likely young and inexperienced devs who will burn themselves out before they even hit their equity cliff. 🤦‍♂️
3
1
176
@DanaWoodman
Dana Woodman 
2 years
Want to do page transitions with SvelteKit (w/ the new routing changes)? It's fairly simple: use the "key" tag to listen to a variable that asserts if a page change has occurred in your +layout.svelte See next tweet for a preview... @SvelteSociety #svelte #sveltekit
Tweet media one
5
26
156
@DanaWoodman
Dana Woodman 
1 year
Hot take of the day: Styled components and CSS-in-JS (in almost all situations) was a mistake.
28
4
154
@DanaWoodman
Dana Woodman 
8 months
digging the hole deeper todays drama doesn't disappoint at least real talk tho; let's all just grab some beers and chill, we're writing fucking javascript after all, we all suck
Tweet media one
5
2
146
@DanaWoodman
Dana Woodman 
2 years
The fact React is considering building a compiler makes me happy, even if I never use React again. Compilers enable amazing things and are likely the future of most, if not all, future (and some current) web frameworks. It's a big reason I fell in love with Svelte.
11
15
142
@DanaWoodman
Dana Woodman 
11 months
real talk, do y'all use "any" in your TypeScript app code (not libraries)? I haven't had to use "any" in recent memory and am confused when I see people mention using it all the time
102
2
127
@DanaWoodman
Dana Woodman 
1 year
Don't know how y'all in React land aren't driven crazy by the damn <></> tag nonsense 🤦‍♂️
Tweet media one
50
3
129
@DanaWoodman
Dana Woodman 
1 month
real talk, most designers should just learn css and html and prototype in the dom so much energy wasted translating stuff from tools like figma (bloat ware) to the web it's crazy like, figma is absolutely more complicated than picking up basic web skills, am i crazy?
39
10
114
@DanaWoodman
Dana Woodman 
4 years
Want to know how to use environment variables in SvelteKit? • Create a ".env" file in your root repo with the variables you want • Access your variables in your routes/components with "import.meta.env.VAR_NAME" That's it! 🎉
Tweet media one
6
19
109
@DanaWoodman
Dana Woodman 
2 years
Want to extend a built-in HTML element (like Button, Link, Input, etc) in Svelte but want to have access to all the built-in's type-hinting while defining your own types as well? You can define a $$Props type that extends the built-in type: @SvelteSociety #svelte
Tweet media one
7
12
107
@DanaWoodman
Dana Woodman 
4 years
Put together a quick tutorial on syncing a Svelte store with localstorage; give it a look-see! 🤓
Tweet media one
6
21
106
@DanaWoodman
Dana Woodman 
1 year
@ziggyfro @SethAbramson Quite a lot of professional software developers (myself included) feel the same way
7
1
97
@DanaWoodman
Dana Woodman 
3 months
this makes me real sad
Tweet media one
10
1
95
@DanaWoodman
Dana Woodman 
1 year
Using Docker and VSCode at the same time is a great way to make your $3000 laptop perform like a $30 RaspberryPi
13
3
94
@DanaWoodman
Dana Woodman 
2 years
Dear @github , Please fix @sveltejs syntax highlighting. Love, Dana
4
3
86
@DanaWoodman
Dana Woodman 
3 years
@TechEmails Woah. I'd refuse to do business with someone that was that childish and unprofessional. Funny to see the tantrum public record.
10
1
78
@DanaWoodman
Dana Woodman 
2 years
All I want to do is build apps in Svelte and Rust now. I fully acknowledge that this makes me an insufferable hipster trend-following developer d-bag, but I'm ok with that. Just let me compile all the things and be happy, mmkay?
14
4
81
@DanaWoodman
Dana Woodman 
4 years
@yongfook @Spotify is a single bash script. The entire search engine is using a single regex 🤯 Just verified with @AdamRackis so I know it's legit
1
1
81
@DanaWoodman
Dana Woodman 
1 year
So I just built a chat app using @htmx_org and a small bit of vanilla JS and damn, is it not super simple... It's true, we often don't need frontend frameworks to build rich client apps.
8
2
79
@DanaWoodman
Dana Woodman 
11 months
Wait is it f@$king Christmas already??
Tweet media one
3
0
79
@DanaWoodman
Dana Woodman 
2 years
Ever wanted to secure a page behind HTTP Basic Auth in SvelteKit? It's as simple as using the handle hook to intercept requests and then prompt the browser to trigger a login prompt. This example will secure any page under /admin. @SvelteSociety #svelte #sveltekit
Tweet media one
8
7
78
@DanaWoodman
Dana Woodman 
2 years
So I'm working on a SvelteKit example app that demonstrates basic authentication. Right now it handles authenticated pages and API endpoints (simple), login, signup, and logout. Any wish lists for it?
22
4
76
@DanaWoodman
Dana Woodman 
3 years
@tannerlinsley Svelte version for the curious 🧐 (Done on my phone so excuse the weird formatting)
Tweet media one
8
2
75
@DanaWoodman
Dana Woodman 
4 years
🛰 Want to deploy SvelteKit on @Netlify ? You're in luck, cause it is as easy as 1️⃣2️⃣3️⃣4️⃣ 1. Create a SvelteKit app 2. Add a netlify.toml 3. Use the Netlify adapter 4. Deploy! Check the post 👇 #DEVCommunity @SvelteSociety @sveltejs #sveltekit #sveltejs
2
12
72
@DanaWoodman
Dana Woodman 
4 years
Want to handle a form submission in one of your SvelteKit endpoints? • body.get() - Get a single value • body.getAll() - Get an array of values • body.has() - Check if a value exists • keys(), values(), and entries() iterators for even more advanced behavior!
Tweet media one
1
14
72
@DanaWoodman
Dana Woodman 
2 years
What to work with form values in SvelteKit? In your "+page.server.ts" or "+server.ts" file, first extract the form data, then use the various methods that are part of the FormData class. Keep reading for some more details 👇 @SvelteSociety #svelte #sveltekit
Tweet media one
2
8
65
@DanaWoodman
Dana Woodman 
1 year
@levelsio @elonmusk You pay to get your posts boosted, doesn't seem a huge surprise?
3
0
66
@DanaWoodman
Dana Woodman 
1 year
TIL that Postman (the API client) raised $225mm at a $5.6bn valuation in 2021!? This has to be one of the most amazing examples of investors having ABSOLUTE NO IDEA WHAT THEY'RE DOING!
5
1
68
@DanaWoodman
Dana Woodman 
4 months
@Jordy_vD_ @jessebeach they don't call him Backdoor Ljharb for nothing
1
1
64
@DanaWoodman
Dana Woodman 
1 year
I'm not one to dox people, but this man obviously deserves it His name says everything you need to know about him: Carson GROSS aka @htmx_org I mean just look at him! You obviously can't trust a man with that look in his eyes! Down with the HTML Industrial Complex!
Tweet media one
Tweet media two
13
0
65
@DanaWoodman
Dana Woodman 
7 months
omg i fixed the bug finally fuck monorepos. fuck javascript. fuck azure. goodnight!
8
1
65
@DanaWoodman
Dana Woodman 
2 years
Tweet media one
2
2
63
@DanaWoodman
Dana Woodman 
2 years
This is why #Svelte is so compelling. Less code to express the same intent and drastically less boilerplate. Besides not shipping a big runtime, the DX is really the winning feature of Svelte. Via @joshnuss
1
18
62
@DanaWoodman
Dana Woodman 
3 years
@shashiwhocodes Focus on one thing at a time, prevent jumping around too much. Write about/document my learning publicly. Ask for help. Find mentors. Find peers. Don't worry about being the best. Don't worry about learning "all the things". Find an area you enjoy and double down on it. Have fun.
2
3
62
@DanaWoodman
Dana Woodman 
1 year
I'm becoming more and more convinced HTMX is popular with devs who just don't like JavaScript. The syntax is kinda awful (opinion), it's very limited in what you can do, hypermedia is 🤮, and it doesn't really seem to promote progressive enhancement.
17
3
62
@DanaWoodman
Dana Woodman 
9 months
please for the love of all that is holy, stop posting on Medium!!!
10
6
60
@DanaWoodman
Dana Woodman 
2 years
If you're building SvelteKit apps with auth, you should really checkout sveltekit-lucia It has auth adapters for @supabase , @prisma , Mongoose (MongoDB), @CouchDB and @appwrite and you can add your own (I might for @pocketbase ) @SvelteSociety #svelte
5
7
58
@DanaWoodman
Dana Woodman 
2 years
@Shaeroden @jdan @TheQuartering *whispers* he doesn't actually work at Twitter
0
0
53
@DanaWoodman
Dana Woodman 
4 years
Want to do redirects in your SvelteKit endpoints? It's as easy as returning a "Location" header and the proper status code! 🪄 #DEVCommunity @SvelteSociety @sveltejs
Tweet media one
3
7
57
@DanaWoodman
Dana Woodman 
8 months
@ryanflorence honestly, i'm all here for some lighthearted drama and shit talking, but for real your stuff often comes off a bit too angry and aggressive and i'm obviously not the only one thinking this that said i'm sure you're a cool dude in the real world and remix seems great
1
0
57
@DanaWoodman
Dana Woodman 
8 months
prediction; file system based routing will fall out of trend in the next few years as we remember how convenient and simple it is to manage routing with actual code
14
1
56
@DanaWoodman
Dana Woodman 
2 years
I've been helping out with a cool project created by @kevinrwhitley called itty-fetcher It's a lightweight (550b) wrapper around native fetch that does things like auto parsing JSON, throwing on 400/500 responses, and more Think of it as a baby Axios 😅
Tweet media one
3
2
54
@DanaWoodman
Dana Woodman 
2 years
Using TypeScript with Svelte and want to type your custom event dispatchers? createEventDispatcher can be passed a generic event type which is in the structure { eventName: eventData }. Then use CustomEvent<T> for your handler. @SvelteSociety #svelte #sveltekit #typescript
Tweet media one
1
8
52
@DanaWoodman
Dana Woodman 
3 years
@Architect9991 @CecilParsley @Paycottage @KnowNothingTV His wealth isn't from sales, it's from the value of Tesla's stock which is propped up on hype and speculation that the company will grow drastically. It may still grow a lot, but at the current multiple it seems unlikely, esp as they're seeing major competition.
1
3
47
@DanaWoodman
Dana Woodman 
7 months
little tip for you nerds using Docker: multi-stage builds build your app in one image, then copy your binary to a "scratch" image (basically a super paired down linux kernel) to drastically reduce the size of your final docker images.
Tweet media one
8
5
50
@DanaWoodman
Dana Woodman 
2 years
Did you know you can make anything you want secret to only the server side (not leaked to client side) in SvelteKit by just placing them in "lib/server" or naming them "something.server.TS"? This prevents them being imported in any client code! (Hat tip to Nyx on discord)
Tweet media one
4
8
46
@DanaWoodman
Dana Woodman 
1 year
just in case you didn't know, unlimited PTO is just there so companies don't have to pay you for unused PTO and unlimited almost always means "2-4 weeks" unlimited PTO is not real
10
1
48
@DanaWoodman
Dana Woodman 
8 months
@jamonholmgren if your goal is only ios then swift probably is actually the right choice that said, it seems rare these days to just target one os
3
0
46
@DanaWoodman
Dana Woodman 
3 years
📀 Reactivity and stores 📚 Arguably the simplest web framework to adopt 🏎 Compiler outputs tinnnny runtimes 🔥 SvelteKit (SSR, file routes, etc) 💅 Built in CSS scoping ⚛️ No JSX 📃 Direct DOM access + actions + no refs 💻 Elegant API and DX 👫 Helpful community
@SvelteSociety
Svelte Society 🧡
3 years
🧡 Happy Svalentine's Day! 🧡 Quote tweet this with reasons you love @sveltejs !
6
6
83
1
6
47
@DanaWoodman
Dana Woodman 
1 year
Thanks to a few peeps in the replies, I learned about "File Nesting" in VSCode which you can set a pattern for to nest files under another file. Just need to enable and tweak the file patter, I set mine to catch all the most common file types under package.json, def helps!
@DanaWoodman
Dana Woodman 
1 year
I wish as a convention in the software world we would have agreed to just have a .config directory in a project to put all these damn files.
Tweet media one
108
162
2K
2
4
44
@DanaWoodman
Dana Woodman 
7 months
@paulgb writing yaml is worse
0
3
45
@DanaWoodman
Dana Woodman 
4 months
when was the last time you used a tree data structure in your job?
82
1
46
@DanaWoodman
Dana Woodman 
10 months
holy crap i'm building a golang + templ + @htmx_org app at work, the programming gods have answered my prayers! all those goat sacrifices have paid off handsomely!
8
1
44
@DanaWoodman
Dana Woodman 
2 years
I enjoy Prime's content as much as the next nerd, but the constant editor shaming is getting a bit played out. Use whatever editor you want. Vim is great, try it, but if you don't that's also ok.
@ThePrimeagen
ThePrimeagen
2 years
if trashing vscode is wrong, i don't want to be right
23
14
347
8
0
44
@DanaWoodman
Dana Woodman 
12 years
Introducing Sauce for Mac: The Easiest Way to Launch Any Browser Right From Your Mac http://t.co/5ZOxiFBX
1
17
44
@DanaWoodman
Dana Woodman 
8 months
@AdamRackis i really don't get why he's so aggressive all the time. i've been punched down by him at least once myself. fastest way to turn people off from your (likely good) framework. also rich wrecked his demo in 45 minutes while skiing in vail lolz
1
0
43
@DanaWoodman
Dana Woodman 
11 months
Starting to make some @SvelteSociety swag on my laser cutter 😍
Tweet media one
7
0
43
@DanaWoodman
Dana Woodman 
2 years
@durkeetowner Ooh he's pissed at me now
7
0
39
@DanaWoodman
Dana Woodman 
1 year
Wishing that Svelte Native was even 50% as robust as React Native 😔
9
0
41
@DanaWoodman
Dana Woodman 
8 months
status update: buddy is loving @htmx_org . he said it's helped him organize his python rendered UI better without having to move fully to a client rendered app, saving him a lot of time. he's stoked
@DanaWoodman
Dana Woodman 
9 months
i just convinced a buddy to use @htmx_org in his app (Python/Flask) perfect use case; lots of existing templates, mostly crud with some tables, non-frontend heavy team wouldn't pick htmx for everything, but this is the ideal type of app to use it on
0
0
12
0
2
42
@DanaWoodman
Dana Woodman 
2 years
Can we all just agree to call it "frontend" and not front-end or front end and just move on?
19
1
42
@DanaWoodman
Dana Woodman 
1 year
@housecor Solved: <form action="/signup" method="post" >
4
0
41
@DanaWoodman
Dana Woodman 
11 months
Ok seriously fix this already you amateurs
Tweet media one
5
0
42
@DanaWoodman
Dana Woodman 
2 years
TIL companies are actually starting to hire for #svelte developers 🤩
2
3
41
@DanaWoodman
Dana Woodman 
1 year
@GeorgeMayer I guess the convention is to use dot files for config on UNIX so that's why it's that way 🤷‍♂️
3
0
39
@DanaWoodman
Dana Woodman 
7 months
@jamonholmgren people should just see it as really smart autocomplete, not a magic code writing tool. it's excellent at inferring the boilerplate i need. huge time saver, don't know how people get no value out of it...
4
0
40
@DanaWoodman
Dana Woodman 
8 months
i'm one of the cool kids now motherfuckers
Tweet media one
6
0
41
@DanaWoodman
Dana Woodman 
1 year
@adamdotdev I'll put my backend in your frontend
6
0
40
@DanaWoodman
Dana Woodman 
1 year
@levi_nz @sc_codeUM @tipiirai This has nothing to do with engineering. Being a good *person* means making (small in this case) changes to make a large group of people feel a little bit safer. If you can't even change a few letters of a git branch then you should step back and ask yourself why
3
0
39
@DanaWoodman
Dana Woodman 
2 years
@gchahal @BNNBreaking So if they are journalists, who wrote the article and where is the link to it? There is a basic standard of journalism your many "news" orgs are not following
0
0
35
@DanaWoodman
Dana Woodman 
2 years
🤩Meet "qrcontact", a SvelteKit powered QR code vCard contact generator app (that's a mouth full!) Built to try out a few features of SvelteKit, TailwindCSS and more, I figured it might be a useful example for others. @SvelteSociety #svelte #sveltekit
Tweet media one
2
5
37
@DanaWoodman
Dana Woodman 
10 months
day 8,323,948,192 of @github not supporting syntax highlight for @sveltejs files 🤦‍♂️
Tweet media one
5
0
38
@DanaWoodman
Dana Woodman 
11 months
Slate Svelte coasters 🤩
Tweet media one
6
1
36
@DanaWoodman
Dana Woodman 
1 year
For VSCode peeps out there this might help you:
@DanaWoodman
Dana Woodman 
1 year
Thanks to a few peeps in the replies, I learned about "File Nesting" in VSCode which you can set a pattern for to nest files under another file. Just need to enable and tweak the file patter, I set mine to catch all the most common file types under package.json, def helps!
2
4
44
1
0
36
@DanaWoodman
Dana Woodman 
2 years
Electron will be a thing of the past, mark my words, and I'm betting @TauriApps will end up the winner.
4
3
34
@DanaWoodman
Dana Woodman 
2 years
@AdamRackis @steveklabnik This is what peak journalism looks like y'all
Tweet media one
1
0
35
@DanaWoodman
Dana Woodman 
4 years
I'm pretty darn stoked on #svelte actions 😻. They let you interface with non-Svelte #javascript libraries in a way that is clean and intuitive, something I've never felt #React did well. Read how to make a tooltip action! 👇 @sveltejs @SvelteSociety
2
12
36
@DanaWoodman
Dana Woodman 
9 months
how do you suck this bad at building a product?
Tweet media one
11
0
36
@DanaWoodman
Dana Woodman 
1 year
@ziggyfro @SethAbramson Oh you literally have SpaceX in your bio, why did I even bother
1
0
34
@DanaWoodman
Dana Woodman 
3 years
@GergelyOrosz So 1,500/day / 24h = 62.5/hour / 600 vms = 0.1 trans/hour. Yup, could do all that on a RaspberryPI in my garage.
2
0
32
@DanaWoodman
Dana Woodman 
1 year
Svelte has a larger ecosystem than React Change my mind
@joyofcodedev
matia 🇭🇷
1 year
The Svelte ecosystem covers the entire JavaScript ecosystem because using JavaScript libraries with Svelte is easy since Svelte gives you control over the DOM without requiring any glue code. 🔥 📺 ✍️
Tweet media one
3
18
131
3
1
35
@DanaWoodman
Dana Woodman 
2 years
@GergelyOrosz An interesting question now is; who is still hiring? And how did all these huge companies with incredible amounts of data, insights and resources not see the large macro economic trends that have been obvious to so many of us?
5
1
34
@DanaWoodman
Dana Woodman 
2 years
This is your daily reminder that NFTs are a glorified JSON file with a URL pointing to an image. This can't have intrinsic value. Please don't spend your hard earned money on them, there is a 99% chance you're going to lose it all.
1
8
34
@DanaWoodman
Dana Woodman 
1 year
@ScriptedAlchemy Doubles dev time? Not talking shit but smells like a skill issue
5
0
33
@DanaWoodman
Dana Woodman 
2 years
So I thought the rumor was that Next.js was going to adopt the "+page" syntax for files? Now it's just us SvelteKit weirdos that use this syntax? 😿
2
1
35
@DanaWoodman
Dana Woodman 
8 months
i bet most of you are weirdos in real life
27
1
34
@DanaWoodman
Dana Woodman 
1 year
Those asking for source, it's rumors so take it how you will, but here is some chatter about it on YC:
1
0
34
@DanaWoodman
Dana Woodman 
3 years
@_AshConnolly @HunterHodnett @SvelteSociety @reactjs @sveltejs @vercel Counter argument; there is an even bigger ecosystem of vanilla JS libraries that often integrate nicely with Svelte more than React, since Svelte has regular events/bindings. Using actions to integrate to vanilla JS can be effective. Doesn't work with all of them of course.
3
6
34
@DanaWoodman
Dana Woodman 
4 years
🤪 Ever wondered how to decide if you should use Svelte, SvelteKit or Sapper? I wrote a short guide explaining why you should choose one or the other 👨‍🔬 #DEVCommunity @SvelteSociety
3
6
32