HN user

flaviocopes

620 karma

flaviocopes.com

Posts56
Comments58
View on HN
thevalleyofcode.com 2y ago

Show HN: The Valley of Code

flaviocopes
9pts2
flaviocopes.com 6y ago

Software Is a Superpower

flaviocopes
28pts13
zeit.co 6y ago

New pricing plans for Zeit Now

flaviocopes
2pts0
flaviocopes.com 6y ago

The Developer’s Dilemma

flaviocopes
3pts0
flaviocopes.com 6y ago

On Being a Generalist

flaviocopes
209pts132
www.freecodecamp.org 6y ago

The JavaScript Beginner's Handbook (2020 Edition)

flaviocopes
3pts1
flaviocopes.com 6y ago

SEO lessons learned by writing a blog post every day for two years

flaviocopes
214pts66
flaviocopes.com 6y ago

Write what you don't know

flaviocopes
2pts0
www.tiobe.com 6y ago

Programming Language C Awarded Programming Language of the Year 2019

flaviocopes
2pts0
flaviocopes.com 6y ago

How to start a blog using Hugo

flaviocopes
182pts107
flaviocopes.com 6y ago

How to make a page editable in the browser

flaviocopes
2pts0
flaviocopes.com 6y ago

How to work from home without going crazy

flaviocopes
2pts0
flaviocopes.com 6y ago

How to Write Unmaintainable Code

flaviocopes
1pts0
flaviocopes.com 6y ago

Is JavaScript still worth learning?

flaviocopes
2pts1
flaviocopes.com 6y ago

Having a Business Mindset for Developers

flaviocopes
1pts0
flaviocopes.com 7y ago

How to get the real number of pageviews of a static site

flaviocopes
2pts0
medium.freecodecamp.org 7y ago

The CSS Handbook: A Handy Guide to CSS for Developers

flaviocopes
2pts0
tones.wolfram.com 7y ago

WolframTones: An Experiment in a New Kind of Music (2005)

flaviocopes
2pts0
medium.freecodecamp.org 7y ago

ES5 to ESNext – here’s every feature added to JavaScript since 2015

flaviocopes
1pts0
flaviocopes.com 7y ago

Configuring the MacOS command line

flaviocopes
4pts1
flaviocopes.com 7y ago

The node_modules folder size is not a problem. It's a privilege

flaviocopes
2pts0
flaviocopes.com 7y ago

Should I write comments?

flaviocopes
1pts0
flaviocopes.com 7y ago

How to learn how to learn

flaviocopes
3pts0
flaviocopes.com 7y ago

How to estimate programming time

flaviocopes
1pts1
flaviocopes.com 7y ago

How to discover a bug using Git bisect

flaviocopes
1pts0
reacthandbook.com 7y ago

Show HN: The React Handbook

flaviocopes
21pts5
flaviocopes.com 7y ago

Netlify lambda functions

flaviocopes
16pts5
flaviocopes.com 7y ago

Server Side Rendering with React

flaviocopes
1pts0
flaviocopes.com 7y ago

How I added dark mode to my website

flaviocopes
3pts5
flaviocopes.com 7y ago

Introduction to React Hooks

flaviocopes
2pts0

htmx = client-server networking Alpine = JS sprinkles

Alpine is for example, I want to show/hide a menu on mobile. I want to upload files via drag and drop. I want to have a bin icon over an image when I hover with mouse to delete it. I want to double click an input field to edit it. I want to close an overlay when I click outside of it, or when I press “esc”.

Also modals, although you can do them in htmx very nicely too, so that’s borderline.

Anything that involves network, htmx. Things that are just frontend, Alpine suits better.

_hyperscript is basically the Alpine equivalent.

It's like the difference between Turbo and Stimulus in the Rails world

JupyterLab 3.0 6 years ago

Not sure about the Jupyter-specific issues but macOS comes with Python 2 installed, so you have to install Python separately and use the `python3` binary, or alias `python` to the `python3` binary.

Then remember to run pip using `python3 -m pip <command>` and use virtual environments (venv)

I stumbled on this a couple weeks ago and documented the process here https://flaviocopes.com/python-installation-macos/

I found the same problem with Ruby (old version preinstalled on macOS)

Great to hear! I'd say the biggest difference with WP is that you don't worry about plugins, updates, server, etc. Maybe 50% of the posts I write are included in an ebook, I try to write them as a series, so they have a double purpose. One to help if you're searching specific information, the other more organized in an ebook where I explain something from the beginning with a clear structure. Making a series that ends up in an ebook also helps with ideas of what to write about, because I define all the topics beforehand. The other 50% of the posts are individual pieces, maybe an explanation of a problem or task solved while coding, or just a description of something new I'm learning :)

I use Hugo for my blog but also for other non-blog sites. Generating static HTML gives me peace of mind and Go is super fast at regenerating the site. Deploying is a joyful process using GitHub and Netlify. I’d go static just to use Netlify. And the best part for me is the tech is “boring” so I just focus on the content, rather than on the blog platform.

Bye, Bye, Google 7 years ago

[...] they have access to most of our web browsing via Google Chrome (62.5% market share – although given the amount of broken websites (some explicitly Chrome-only!) I’ve found since switching to Firefox, I believe this number may actually be higher)

Anecdotal, but I got in touch with a pretty popular newsletter hosting tool to tell them the charts on Firefox didn't render correctly, only to be told to use Chrome.

I will keep this in mind for my next "design", I'm not a designer and it shows! I can guarantee the ebook is left aligned though :)

If it was backend-powered I could check a cookie, but the site is static. Since I made it dark-mode-first, I think it's a good compromise. Looking for other ideas too

I use Netlify (specialized in JAMstack / static sites). It has a generous free plan.

They can also register your domain, and the integrated interface makes it very easy to sping up a new site from a GitHub repo, assign it a new domain name, get SSL and be up and running in ~2 minutes.

That's interesting! In my case I'm an independent publisher and this "product" lets me step into a possible group of people that might never know about me otherwise. Someone that might appreciate other work I do, in the same topic, which I distribute through my newsletter (I try to create a useful set of resources every week, as a full-time effort). I'm more interested on providing value on the long term rather than making a quick buck with "pay as you want". Of course all the usual throwaway domains are then filtered out :)

Thank you! People underestimate how difficult it is to emerge as an independent content producer. It's not the first time I share something in this way and every time someone pops up with this generous offer to the other readers. I don't mind as I might get less throwaway accounts in the list :) but if the topic is of any interest to you, my email newsletter is nothing but more similar content.

2001: A Space Odyssey is probably my favorite film ever. Our IT teacher made us watch it as part of the computer science classes (awesome teacher).

Very recently Seth Godin talked about it in his podcast, pointing out the poor reviews it got from the press. The argument was "don't worry about criticism, people even criticized that amazing movie, how can you escape criticism"