Tofubar's Avatar

Tofubar

@tofoobar.bsky.social

93 Followers  |  95 Following  |  766 Posts  |  Joined: 26.10.2024  |  2.0988

Latest posts by tofoobar.bsky.social on Bluesky

Is my deno setup broken, or do you really have to restart your deno-lsp every time you install a new dependency?

06.04.2025 14:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

true

also the fact that I can now share my project and the other person just has to run "nix develop .#", wait for everything to download and afterwards start programming is really nice

04.04.2025 20:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

* upadte process....

the first setup was the worst experience I had in a while lol

04.04.2025 17:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I just love the setup process of NixOS... has something quite magical (in the good way)

04.04.2025 17:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

i have not tried this myself, but I think it should work perfactly fine.
i mean even home-manager often exposes a "package" option, to specify the package to use

04.04.2025 17:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

yeah I think the storage problem with NixOS is quite real...
it is a trade-of and I think I am willing to take it, because:
a) I like writing & tinkering with my config
b) I like the feeling when you setup a machine and all the software is "just there"

04.04.2025 17:32 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

i see it somewhat "as a feature" to update everything at once, so I don't forget to update specific things...

and if I really need a specific version for a package, I can just pull in a second nixpkgs and use that can't I?

31.03.2025 20:24 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

it is http: right? without the // but with the : and I dont know why

30.03.2025 10:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I hope it is both "" or "/" (would go with "/" based on vibes)

30.03.2025 10:32 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Once a changed a DB column in my Backend. Typescript showed me all the places where I now had to use a different key to access said value and the migration went seemless, afterwards everything worked as expected...
So for me, typescript is a win

24.03.2025 06:13 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Concerning the "bothersomenes" of type checking when it works, I think we both are writing different typescript.

In my code bases, most of the time types are inferred everywhere, so I don't actually write any typescript and get the safety for free.

24.03.2025 06:13 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The type conversion is often a problem, I would agree on that point, even dough I think with triple equal signs and typescript in your codebase it becomes less of a problem (typescript will tell you if you try to check equality of variables of different types and so on).

24.03.2025 06:13 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

no problem,
i wanted to take I look but had trouble finding it on github xD

24.03.2025 06:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

could it be, that the clone link is wrong?
(because it points at github but the project is hosted on codeberg)

23.03.2025 21:18 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

thats super cool!

23.03.2025 21:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Is it a bug, that hot module reloading does not work for Header & Title components in expo-router?

23.03.2025 18:41 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

tbh i like both...
I feel like my typescript checks are strong enough so i don't get runtime type errors

and literal string types are so nice to work with in some cases...
e.g. I am using a typesafe router (Tanstack Router) in React, and this is only possible due to string literals

23.03.2025 17:50 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

idk how it happens, but in order to add "debt" to my "money manager app", i feel like i rewrote the whole app... 3 times...

23.03.2025 17:48 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I think you could also. good to feeds > discover > unpin and it would be gone

(but rubix cube is also a nice idea /lh)

23.03.2025 07:07 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

When versioning...
do you make all the changes and afterwards bump the version so it is:

- Version Bump
- add: ...
- feat: ...
- add: ...

or do you make the version bump and afterwards do the changes for said version:
- add: ...
- feat: ...
- add: ...
- Version Bump

("displayed" is commit history

17.03.2025 17:47 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
dc969 - Overview GitHub is where dc969 builds software.

๐ŸšจSomeone's opening @github.com issues that look like a Security Alert when you get an email notification in an attempt to make you "change your password". Please report them, they opened 487 issues:

16.03.2025 12:12 โ€” ๐Ÿ‘ 26    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Rewrote my NixOS config as HomeManager modules today... really proud of what I achieved with that setup

14.03.2025 22:22 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I know it shouldn't be done, but I am kinda thinking about a TS package to generate nix configs...
so you can write your NixOS Config in Typescript...

(the only reason is that I don't quite understand the Nix language tbh)

10.03.2025 13:58 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

restarting the Dev server often helps in such cases

10.03.2025 05:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

additionally I love the update process... because you execute two commands (update flake input and rebuild system) and all your packages are updated at once...

it does not happen, that you accidentally stay on an old version of one package... nor do you have 10 places to update apps

06.03.2025 21:10 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

and it would be super nice if you could just start with TS and skip the JS part (IMO)

06.03.2025 20:23 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Are there any "Typescript without JS knowledge" videos, in a way that they treat TS as the whole language and describe the Syntax of the language without the focus on the type system.

because I think often you only write JS and a Object type here and there...

06.03.2025 20:23 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Our lint rules contest is over! Thank you all for your submissions. Prizes will be sent out to those who participated.

Check out some of the notable rules published ๐Ÿ‘‡

deno.com/blog/lint-ru...

05.03.2025 18:49 โ€” ๐Ÿ‘ 24    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I'm currently planning with some others to start a coding project together...
actually super hyped to 'work on a team' for the first time

04.03.2025 21:38 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Is there a npx equivalent in deno?

e.g. for using shadcn or create-xy

03.03.2025 18:11 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@tofoobar is following 20 prominent accounts