Email or username:

Password:

Forgot your password?
822 posts total
Niki Tonsky

I still think CSS has its problems, but on one thing I agree with author: Tailwind is not the solution nuejs.org/blog/tailwind-misinf

Show previous comments
Ryan McCuaig

@nikitonsky IMO tailwind had a strong start but completely lost the plot with the DSL for just-in-time class generation.

I really enjoyed the small set of consistent complementary bits of style LEGO to snap together, plus the dumb but highly effective optimization system.

An uncountable number of custom LEGO pieces to mentally translate to the resulting CSS, not so much.

Niki Tonsky

Weekend drop: clj-reload! A replacement for tools.namespace that does a few things differently:

- Can handle namespaces split across multiple files
- Does not try to load files that were not explicitly loaded before
- Can keep vars between reloads (defonce finally works as intended!)
- Lets you specify unload hooks for namespaces
- (arguably) cleaner API

Here’s a blog post with a video demonstration tonsky.me/blog/clj-reload/

Weekend drop: clj-reload! A replacement for tools.namespace that does a few things differently:

- Can handle namespaces split across multiple files
- Does not try to load files that were not explicitly loaded before
- Can keep vars between reloads (defonce finally works as intended!)
- Lets you specify unload hooks for namespaces
- (arguably) cleaner API

Niki Tonsky

Freaking Putin is so good at finding one tiny last bit of hope you didn’t even know you still had and killing it.

Today, they killed Navalny in prison

Alex L 🕊 🇵🇸

@nikitonsky

A xenophobic, racist, nationalist was your last bit of hope?

Niki Tonsky

Apple uses EU regulations as an very unconvincing excuse to get rid of PWA that traditionally make them no money. Got it

Niki Tonsky

We now live in a world where macOS remembers on-screen position of this window from the last time I used it but can’t remember “Trust this device” I set for 100th time, last time yesterday

Григорий Клюшников

the best part is that you can't even disable 2fa once you turn it on 👍

Niki Tonsky

When you use two different min/max functions from two different libraries

Via @nitr0k

Niki Tonsky

Looking for a weather app for iOS. Requirements:

- Temperature for the whole day
- Precipitation for the whole day
- Temperature hi/low and precipitation for the week (+7...10 days)

All on one single screen, no scrolling

Bonus:

- Push notification if raining today
- Easy to look up other cities

Tony Mottaz

@nikitonsky Carrot has lots of customization capabilities for the layout of the UI. I got this after a couple minutes tinkering with the layout config. It has notifications and easy location lookup too! Really a fantastic app

Niki Tonsky

clj-reload can now keep defonce values between reloads! I think it’s perfectly in the spirit of defonce

🇺🇦 Mykhaylo :emacs: :clojure:

@nikitonsky can you add some examples to docs? I’d like to try it out.

Niki Tonsky

Aaaaand we can keep deftypes between reloads now! The way this sausage is made is rather tricky, but it‘s amazing it actually works!

Niki Tonsky

Using Δ as part of the name, yay or nay?

Show previous comments
Einārs

@nikitonsky as a user-defined ligature-ish visual replacement, perhaps.

I thought I like the idea of using unicode until I took part in a project that extensively used words in latvian with the diacritics in db columns and variable names — it didn't feel good at all, the colorators and analyzers broke all over the place and everything felt dirty and unshareable.

Yet then there're apl-like esoterics like uiua.org that manage to make math symbols nice and typable (and some say, even readable).

James Conroy-Finn

@nikitonsky not well-supported enough.

Keyboards and operating systems have mixed support, and copying and pasting isn't always feasible. We end up making life a little bit harder and less simple than it otherwise could be.

I firmly believe code representation is an unsolved problem and hope we can move past everything has to be the same bytes for everyone, but until then, KISS.

Niki Tonsky

Wait these things are called Grandfather clock?

morganist

@nikitonsky yes, in every english dialect, even. I was suprised myself as a learner.

Niki Tonsky

Discovered a case that CSS can’t solve (center child with wrapped content, twitter.com/xbngnx/status/1420) but Humble UI can with ease

What a great way to start the day!

Roma Komarov

@nikitonsky Will be possible in the far future by hacking around with anchor positioning and scroll-driven animations (weird combination, but it will allow for this).

Niki Tonsky

Sad to see all the bad practices from modern macOS/iOS found its way into visionPro 1/3

Niki Tonsky

Sad to see all the bad practices from modern macOS/iOS found its way into visionPro 2/3

Niki Tonsky

iPhone just remembered position in a song a played a week ago but couldn’t remember podcast I was listening to 20 seconds ago

Niki Tonsky

So, if Vision Pro ships with iPadOS and iPad apps, does it mean there’s no calculator?

Martin Kavalar

@nikitonsky Also ran into clojure.atlassian.net/jira/sof and are using this snippet to work around it:

(alter-var-root #'clojure.tools.namespace.repl/refresh-tracker assoc :clojure.tools.namespace.dir/time (System/currentTimeMillis))

Niki Tonsky

Undefined, and undefined, and undefined,
Creeps in this petty pace from null to null,
To the last promise of recorded fetch;
And all our lets have lighted vars
The way to dusty const. Out, out, brief await!

Ivan Reese

@nikitonsky Life is but a loading spinner, a player.js, that pulls down gobs of WASM and then is run no more.

Niki Tonsky

For my wife’s birthday, I did a small stand-up.

To maximize the appeal, it’s about German, English and Russian at the same time! (but you only need to know English)

Anyways, here goes nothing

youtube.com/watch?v=G45crVO2J3

Go Up