Hacker Newsnew | past | comments | ask | show | jobs | submit | more magicseth's commentslogin

A combination of vw and vh were ultimately how I decided to tackle the problem. I'm very happy with the amount of control and flexibility I ended up with on my slightly design heavy website.

Https://magicseth.com/


Viewport-relative widths are a poor practice for accessibility, in general (maybe you don't care for your small personal website). The user can't set their own preferred size, font-size becomes illegible at small sizes, and way too large on large viewports (2160px is becoming more common). It breaks zoom on some browsers as well.

The clamp() examples here mitigate that somewhat, but why do we need fluid shifts in text size? Just use media queries.


This doesn't seem to work with Firefox. A blue splash fills the whole screen and stays there until I move my cursor outside the window or right click.


Thanks!! Apparently this: width: calc(100px / 100vw);

Is not valid in Firefox!


Hopefully it's fixed now!


Have you seen Stump the Guesser by Guy Maddin? Your site reminds me of it.


I haven't! What aspect is similar?


Well it's just a little film about a magician, a 'guesser'. To be honest I think I wrote that mostly because I'd watched it the night before! But as a magician I recon you would enjoy it. :)


I feel many of the comments here are akin to saying "laying out in documents latex is hard, if you can't figure it out you're not ready to write" while the author of the article is saying "I think writing documents could be easier." Google docs is proof it's possible.

Sure everyone could learn about $path with a little research but there is SO MUCH to learn to get started with a "simple" react app... It's not necessary.

Great tools hands a "low floor AND a high ceiling" meaning it's easy to get started and possible to go really really far.

Clearly tools like replies show there's a desire for easier to set up environments.

Have you never wished you could save your css tweaks directly from chrome dev tools?

Why should the browser show you the page source when you could just curl it? Well... Let's try to make the unimportant things EASY so we can focus on the useful parts.

Firefox could absolutely come with a standard node server and editor. And it could integrate with providers like GitHub or netlify.

Gatekeeping getting started benefits nobody.


> there is SO MUCH to learn to get started with a "simple" react app... It's not necessary.

One line of HTML: https://reactjs.org/docs/add-react-to-a-website.html#add-rea...

> Have you never wished you could save your css tweaks directly from chrome dev tools?

You can: https://developers.google.com/web/tools/chrome-devtools/work...

> Firefox could absolutely come with a standard node server and editor

A node server runs JavaScript files as do browser engines and the majority of node’s API exists in the browser in a similar form, as well as an editor. GitHub as well comes with an editor built-in, Netlify can be connected to GitHub by clicking one button.

I agree that it’s good to simplify, but are these good examples for that?


> Have you never wished you could save your css tweaks directly from chrome dev tools?

FWIW, you already can. Sources -> Overrides -> Select folder for overrides.


I made a free podcast episode that can read your mind! https://www.patreon.com/posts/take-card-free-45313834


Tried it. Didn’t work for me.


Sorry it can take a while to load the podcast the first time.


I'm open to feedback! Mostly.... did it work? I build a lot of things and it's hard to find people to "practice" on. I'd prefer if you don't share how it's done yet... I'll be posting an explanation on that soon :-)


I would love this in my editor: if I search for

day = 'friday'

I want it to find

day="friday"

also!


If you use VSCode you can get that today, if you use something else it doesn't look too hard to write: https://semgrep.dev/docs/integrations/#editor

I'd expect latency might be juuust in the range where it doesn't feel interactive yet? But honestly any search that isn't ripgrep or --omg-optimized-etags feels like that to me now, and people use symbol rename features in IDEs all the time that take multiple seconds, so maybe I'm just unreasonably picky.


I created a semgrep rule for this: https://semgrep.dev/s/GRD6/?version=develop


This is actually a great idea.


Do you have a solution for ebook dedrm? I've been struggling to automate my flow recently!

edit: fix the autocorrect


Apprentice Elf. Though it appears to be broken on Catalina. I will need to have a look at it, I think, when I get a chance.


I've built a website to help magicians keep track of their tricks, and to give each other notes on performances: https://trick.app

And documenting how I use magic in tech innovation on my podcast at magicseth.com


I'm a magician who invents new technology at a FAANG.

I've started posting podcasts showing how I use the magician's toolset to invent new technology that's focused on doing the impossible in a way that meets users needs and dreams!

http://patreon.com/magicseth

I also launched a webapp for me to keep track of the tricks I know: https://trick.app


You should rebrand it illusion.app. A trick is something a who... oh nevermind


"Illusion, Michael..."


My brother is working on this full time right now. He's currently tying in a database of who has shelter-in-place requirements!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: