Christoffer Bjelke Profile
Christoffer Bjelke

@chribjel

545
Followers
343
Following
342
Media
2,362
Statuses

Co-founder and Developer @DecidableAS | MSc, Networks and Distributed Systems @ UiO.

Oslo, Norway
Joined September 2016
Don't wanna be here? Send us removal request.
Pinned Tweet
@chribjel
Christoffer Bjelke
22 days
Production is just localhost on another computer
0
0
5
@chribjel
Christoffer Bjelke
8 months
@BillyM2k If he drove even faster, he would have arrived at the intersection before the car, and he would be fine
20
13
2K
@chribjel
Christoffer Bjelke
11 months
I created a very nice module to deal with localStorage for an upcoming app we are making. Had to be creative with Typescript and Zod. Features: * Typesafe getter * Typesafe setter * Autocompletion for getting and setting. * Zod parsing. (Also complex objects) If you dont want
Tweet media one
16
45
789
@chribjel
Christoffer Bjelke
11 months
@iammemeloper i think this is because an array is just an object like this: { 0: 1, 1: 2, 2: 3, 3: 4 } And the "in" operator check for the keys of the object AKA the indices.
8
6
496
@chribjel
Christoffer Bjelke
1 year
Currently building an app with my current favorite stack. Never been easier to spin up a new product! - Vercel NextJS - Vercel hosting - Vercel Postgres - Vercel KV - Vercel Edge config - Vercel Blob - Vercel AI - Stripe Recurring - Prisma - Clerk auth - Shadcn UI - TailwindCSS
22
21
389
@chribjel
Christoffer Bjelke
6 months
@t3dotgg It is all the pre-loaded DMs from recruiters and sales people
1
2
304
@chribjel
Christoffer Bjelke
8 months
@t3dotgg now they'll keep me hostage as well😅
3
6
254
@chribjel
Christoffer Bjelke
5 months
How many times has this little shit snuck into your dependencies?
Tweet media one
36
3
253
@chribjel
Christoffer Bjelke
7 months
Tweet media one
0
5
236
@chribjel
Christoffer Bjelke
10 months
@jarredsumner money printer probably `const money = $.brrrrr()`
3
1
214
@chribjel
Christoffer Bjelke
11 months
@passle_ ACTUALLY CAPITAL LETTERS HAVE LOWER ASCII VALUE SO IT IS SMALLER
Tweet media one
10
0
190
@chribjel
Christoffer Bjelke
6 months
i made a thing Is Bun Windows Yet? Made with: - @nextjs (overkill i know) - react-charts by @tannerlinsley - react-tweet by @vercel - of course @bunjavascript
Tweet media one
13
13
176
@chribjel
Christoffer Bjelke
7 months
@t3dotgg Usually i can understand these quirks, but i actually don't understand this one.
4
1
173
@chribjel
Christoffer Bjelke
6 months
Dub ( @dubdotco ), Cal ( @calcom ) and Resend ( @resend ) really are the perfect examples of how you don't need a new idea to succeed. If you find a yourself annoyed with the current solutions, there is room for one more. Just make it better!
7
14
159
@chribjel
Christoffer Bjelke
8 months
@RhysSullivan Always keep your MRR graph and RAM graph in sync
2
0
144
@chribjel
Christoffer Bjelke
7 months
@schmatzarella @t3dotgg Ah, of course! I always wanted a quick way to write octal numbers. Especially by intuitively prefixing with a 0. \s
1
0
116
@chribjel
Christoffer Bjelke
10 months
@jullerino For those still trying to understand what it means: (version !== 0 && sdkVersion)
3
0
115
@chribjel
Christoffer Bjelke
5 months
@bunjavascript Maybe a prompt to confirm if that is what you meant?
2
0
114
@chribjel
Christoffer Bjelke
4 months
@github @JosephJacks_ Theres a day for this??
Tweet media one
2
6
107
@chribjel
Christoffer Bjelke
3 months
@Smoothedan @Sykkelmafiaen Dette er en kortere forbikjøring enn om de ligger etter hverandre. Ergo trafikkmessig tryggere.
1
0
107
@chribjel
Christoffer Bjelke
9 months
@fireship_dev 2000: XHTML invented to fix HTML
7
0
104
@chribjel
Christoffer Bjelke
6 months
@emergetools @LinkedIn This is phenomenal marketing👏
0
0
103
@chribjel
Christoffer Bjelke
2 months
@bunjavascript That this should compile to anything is a tragedy
0
1
99
@chribjel
Christoffer Bjelke
8 months
@bunjavascript So if you delete 58.02% of the tests you are done? Seems easy
0
0
88
@chribjel
Christoffer Bjelke
5 months
@endermanch It is not that bad though. The requirements are there to ensure that a local LLM performs well. The key is local LLM. Not every PC has to be an "AI PC"
4
1
86
@chribjel
Christoffer Bjelke
2 months
@bunjavascript Because we already know
Tweet media one
1
1
85
@chribjel
Christoffer Bjelke
1 year
@CommunityNotes Thanks for letting me contribute from Norway! 🇳🇴
5
3
70
@chribjel
Christoffer Bjelke
9 months
@mattpocockuk should be an eslint rule to require 3 or more "!"
2
1
73
@chribjel
Christoffer Bjelke
11 months
@iconists The clipboard is paste IMO
1
0
70
@chribjel
Christoffer Bjelke
1 year
I can't believe the speed of development here. I asked for help with this not more than a week ago, and @Baconbrix responds with a "PoC" after about an hour. Now, a week later, this is an official plugin by @expo . Also the reach you get on @x is
@Baconbrix
Evan Bacon 🥓
1 year
🚀 Just released a new @Expo Config Plugin for customizing the System Settings page for  Apple apps! ◆ Full TypeScript support ◆ Synchronize native settings ◆ Multi-page support ◆ Full API coverage ◆ Localizable metadata ◆ Idempotent Prebuilds
9
69
599
0
4
72
@chribjel
Christoffer Bjelke
7 months
@resend I made `fallback-email` because of this. It lets you fall back to multiple providers in case some of them fail
@chribjel
Christoffer Bjelke
7 months
Introducing `fallback-email`!✉️ An NPM package that automates using fallback email providers if one of them fails. It goes through the list of providers one by one until one of them works. Still in very early alpha, and would love if people would contribute!
Tweet media one
4
3
39
1
2
66
@chribjel
Christoffer Bjelke
1 year
Getting ready to merge this once 1.0 launches. @oven_sh @jarredsumner
Tweet media one
3
1
62
@chribjel
Christoffer Bjelke
5 months
@levelsio @elonmusk not to be that guy, but it is a bit different though. i bet a visitor who reads multiple articles counts as one visitor. but if a person scrolls past 3 of your posts, it counts as 3 impressions still IMPRESSIVE though!
6
0
56
@chribjel
Christoffer Bjelke
7 months
@mynameis_davis "To cancel your subscription, upgrade to the Business-plan"
1
0
57
@chribjel
Christoffer Bjelke
11 months
@Calendly If you want to be the first to access ai-powered scheduling you should try @calcom :)
1
0
57
@chribjel
Christoffer Bjelke
8 months
@t3dotgg So now they'll start forcing me to use my face to disable this setting i guess
3
0
55
@chribjel
Christoffer Bjelke
8 months
@bunjavascript It seems like you are convincing yourself more than you are informing us
2
0
55
@chribjel
Christoffer Bjelke
7 months
@nilansaha I think it is better to build redundancy than relying solely on a different one. I just created an NPM package "fallback-email" that automatically fallbacks to another email-provider if the first one fails.
4
1
53
@chribjel
Christoffer Bjelke
7 months
"use client means this portion needs to be hydrated" This means that the server HAS to ship the necessary data and JS to render the same component on the client, even though it is pre-rendered on the server. Always insert "use client" as far down in the component tree as
0
4
49
@chribjel
Christoffer Bjelke
8 months
@tomwarren Still remember the Office key
Tweet media one
1
0
45
@chribjel
Christoffer Bjelke
1 year
@destroytoday What?? There is a native progress element?
1
0
45
@chribjel
Christoffer Bjelke
5 months
Added a countdown based on this tweet. The pressure is on!
@bunjavascript
Bun
5 months
29 hours until Bun v1.1 is released (Bundows)
17
31
609
1
4
45
@chribjel
Christoffer Bjelke
11 months
@soren_iverson jokes aside, I wish there was a native cookie prompt in the browser as a web API, so I don't have to deal with the website ones
2
0
40
@chribjel
Christoffer Bjelke
11 months
@htaidirt @iammemeloper I'm guessing "in" uses double equals (==) under the hood. Just a guess though. "0" == 0 is true. "0" === 0 is false.
1
0
43
@chribjel
Christoffer Bjelke
5 months
@davidm_ml Nice one! (Fake news though)
Tweet media one
5
1
44
@chribjel
Christoffer Bjelke
5 months
@pettersmoen @DrizzleORM lol, the ambiguity of this post made it even better
1
0
42
@chribjel
Christoffer Bjelke
11 months
@passle_ lol "unironically"
1
0
41
@chribjel
Christoffer Bjelke
1 year
With the new and improved @vercel integration, @supabase looks pretty unbeatable for data and auth services. Easy connection with @resendlabs for auth emails as well!
1
10
38
@chribjel
Christoffer Bjelke
8 months
Tweet media one
1
0
39
@chribjel
Christoffer Bjelke
7 months
Introducing `fallback-email`!✉️ An NPM package that automates using fallback email providers if one of them fails. It goes through the list of providers one by one until one of them works. Still in very early alpha, and would love if people would contribute!
Tweet media one
4
3
39
@chribjel
Christoffer Bjelke
6 months
@mattpocockuk Also weird that you can mix them and the individual values compile differently
Tweet media one
Tweet media two
2
1
37
@chribjel
Christoffer Bjelke
2 years
@tomwarren This implicitly means "as long as Playstation allows us to have a Game Pass subscription on their platform". Or something in that direction.
24
0
31
@chribjel
Christoffer Bjelke
4 months
@housecor Sometimes let is what’s better, but defaulting to const and then changing it to let when you need it is the way for me
2
0
31
@chribjel
Christoffer Bjelke
6 months
When the HTML body is empty, @resend should default to showing the plain text. I though something was wrong until i clicked on the "Plain text" tab.
Tweet media one
6
1
32
@chribjel
Christoffer Bjelke
7 months
@zacbowden I like to believe that the social media guy mixed UWP and PWA
2
0
30
@chribjel
Christoffer Bjelke
8 months
@yeti_0x @t3dotgg yes, no-one wants to steal it
1
0
31
@chribjel
Christoffer Bjelke
8 months
@bunjavascript at this rate you'll be at 516.18% in 100 days
1
0
31
@chribjel
Christoffer Bjelke
7 months
When you can’t afford Github Copilot, because you’re paying for Adobe Creative Cloud
2
2
26
@chribjel
Christoffer Bjelke
10 months
@thdxr Don't know anything about Go, but it seemed like Bing had an idea:
Tweet media one
Tweet media two
0
0
29
@chribjel
Christoffer Bjelke
1 year
@t3dotgg Flutter is like the fake transparent background PNGs you find on Google images
1
1
28
@chribjel
Christoffer Bjelke
10 months
@bunjavascript So you're just lying when you call yourself Bun Javascript? You're really Bun ZigC++???
2
0
27
@chribjel
Christoffer Bjelke
5 months
@jarredsumner Time to make money with `bun deploy`
0
0
28
@chribjel
Christoffer Bjelke
8 months
@nathanbenaich @0xgaut Nope! All over scandinavian and nordic countries as well
0
0
26
@chribjel
Christoffer Bjelke
10 months
1
0
26
@chribjel
Christoffer Bjelke
10 months
@t3dotgg Can't live without vertical tabs
0
0
26
@chribjel
Christoffer Bjelke
6 months
Cool that Typescript basically built support for @bunjavascript module resolution. Bun allows using both ‘import’ syntax and ‘require’ syntax in the same file.
Tweet media one
@typescript
TypeScript
6 months
Announcing TypeScript 5.4! 📢 Now with: ✅ Smarter control-flow analysis in closures ✅ The `NoInfer` utility type ✅ Broader support for bundlers and runtimes ✅ Quick fixes for missing parameters ✅ Improved auto-imports and more! Try it today!
18
284
1K
0
2
26
@chribjel
Christoffer Bjelke
1 year
@jarredsumner @t3dotgg NestJS is like the SpringBoot of JS. Loved it when I worked with it last year
0
0
25
@chribjel
Christoffer Bjelke
4 months
We run @bunjavascript in production for a background worker fetching data and writing to a file. We encountered this massive memory leak that made us have to use node instead. Hope it is fixable soon so we can run bun again asap. Forgot how pain it is to use node compared to bun
4
0
24
@chribjel
Christoffer Bjelke
11 months
1
0
23
@chribjel
Christoffer Bjelke
10 months
@jarredsumner Felt like Oven would be a cool name for the cloud solution you guys are building. How's that going btw?
0
1
22
@chribjel
Christoffer Bjelke
6 months
@zacbowden This is only for Surface Duo, right?
1
0
21
@chribjel
Christoffer Bjelke
11 months
You can also add this function to use arrays and not just objects.
Tweet media one
0
0
20
@chribjel
Christoffer Bjelke
9 months
@jarredsumner It should hang, but with configurable options for "terminationCharacter" with default EOF.
0
0
20
@chribjel
Christoffer Bjelke
5 months
One day i’ll post a PR to @calcom so my PR can get Peer reviewed
3
2
21
@chribjel
Christoffer Bjelke
1 year
@oven_sh Insta merge🔀
Tweet media one
0
0
21
@chribjel
Christoffer Bjelke
2 months
@bunjavascript can't believe this is getting fixed because someone actually needs this
Tweet media one
1
0
21
@chribjel
Christoffer Bjelke
5 months
@levelsio So naturally good on camera as well!
1
0
20
@chribjel
Christoffer Bjelke
2 years
@levelsio Interesting how in Norway this kind of pricing discrimination would probably be illegal.
1
0
20
@chribjel
Christoffer Bjelke
10 months
@PR0GRAMMERHUM0R And then you have Js: opsidopsi you forgot the semicolon so now we will just do something weird instead
1
0
19
@chribjel
Christoffer Bjelke
6 months
@bunjavascript Why do you always post this in the middle of the night for me?! Makes it difficult to keep up to date!
0
1
20
@chribjel
Christoffer Bjelke
10 months
0
0
19
@chribjel
Christoffer Bjelke
5 months
@jarredsumner Would you consider adding a warning instead? I like the idea that it shouldn't error, but it should not be encouraged. "WARN: You are using comments or trailing commas in your package.json. This might break other tooling."
1
0
18
@chribjel
Christoffer Bjelke
5 months
I have been using shitty online downloaders for youtube, instagram etc forever. I finally found out that many of them are using @justusecobalt under the hood. They have the best UI, ad-free, track-free, Open Source. It is a no-brainer!
Tweet media one
2
1
17
@chribjel
Christoffer Bjelke
11 months
@iammemeloper Solving actual problems. A great product that doesn't solve a problem, isn't really a great product.
1
1
17
@chribjel
Christoffer Bjelke
10 months
@mscccc Once web browsers become even more capable on the client side, we will return to client side rendering once again. Just like Native apps.
0
0
18
@chribjel
Christoffer Bjelke
8 months
@bunjavascript Fast progress! I like it
@bunjavascript
Bun
8 months
Bun for Windows currently passes 33% of Bun’s test suite ████░░░░░░░░░ 33%
17
29
872
0
0
17
@chribjel
Christoffer Bjelke
11 months
@iammemeloper I don't know, and i will never know. Still standing where that guy is standing.
0
0
17
@chribjel
Christoffer Bjelke
7 months
@jayair @jetpackjoe_ Hide the minus-sign as a list: Benefits with this update: -10x faster -500ms faster initial load
0
1
16
@chribjel
Christoffer Bjelke
10 months
@AlaaZorkane @jarredsumner That's a cool idea! 👀
1
0
15
@chribjel
Christoffer Bjelke
10 months
@jarredsumner --env-file for file, and --env for passing env-variables directly in the terminal
1
1
16
@chribjel
Christoffer Bjelke
1 year
@t3dotgg Even though this is a joke, I can relate in some sense. Code is a necessary "evil" to produce value for others. The faster you can ship value to people the better; with or without code. PS: I love to code, but I love problem-solving more.
2
0
15
@chribjel
Christoffer Bjelke
4 months
i fucking love @payloadcms 3.0 + @nextjs DX is unbeatable. Flexibility is unbeatable Self-hosting is unbeatable
2
2
15
@chribjel
Christoffer Bjelke
5 months
Love this! Now they have started competing on price in addition to DX and convenience Looks like it is going to become a lot cheaper for a lot of people on the Pro plan
@vercel
Vercel
5 months
We're improving the pricing of our infrastructure products: ◆ Pay exactly for what you use, in granular increments ◆ Lower prices for essentials (bandwidth & functions) ◆ New primitives for easier spend optimization ◆ Our hobby tier remains free
58
76
685
0
0
15
@chribjel
Christoffer Bjelke
11 months
@housecor export function MyComponent(){} This is the way. I also use this ESLint rule: "import/no-default-export": "error",
2
1
15
@chribjel
Christoffer Bjelke
5 months
looks like package.json with comments and trailing commas didn't make it into the next version of bun after all
@bunjavascript
Bun
5 months
Bun v1.1.4 - Fixes 40 bugs, addressing 84 👍 reactions - `bun --filter` runs workspace scripts - Dependencies reinstall faster - Node.js compatibility improvements - Bugfixes to Bundows, bun install, bun:sqlite & fetch Thanks to 11 contributors!
3
29
309
1
1
14
@chribjel
Christoffer Bjelke
7 months
@housecor The exception: function not(bool: boolean) { return !bool; }
2
0
15
@chribjel
Christoffer Bjelke
7 months
An important aspect of Developer Experience (DX) is API Discovery. What i mean with API Discovery The ability to discover the API by using it. Developers should not be required to guess or read separate docs to know which endpoints/functions are available. How to achieve API
Tweet media one
Tweet media two
Tweet media three
2
0
15
@chribjel
Christoffer Bjelke
8 months
@benarroch_joe @Bloomberg How could they change the password via email after the hacker added 2FA? Seems like a huge security flaw no?
2
0
13
@chribjel
Christoffer Bjelke
1 year
@mattpocockuk The only mistake IMO was the enum. As far as i know the only functionality that mixes build-time with runtime.
2
0
13