HNHacker News
TopNewBestAskShowJobs

lucis

876 karma · joined August 21, 2019

submissionscomments
lucis··on Ask HN: What is nowadays (opensource) way of converting HTML to PDF?
jsPDF is a work of art https://parall.ax/products/jspdf
lucis··on Show HN: I built an MCP server using Cloudflare's code mode pattern
MCP is the best SDK
lucis··on OpenAI releases image generation in the API
Yes, I was using the official one.

But just gave a try to Gupshup and it's looking good, thanks for the recommendation!

lucis··on OpenAI releases image generation in the API
Very cool! The Stripe integration is neat

BTW, if you can help me: I've been struggling with WhatsApp Business API for some days to make my app receive webhooks. It receives the GET verification request but when I send a message to the number I never get the POST. Have you had this problem?

lucis··on A modest critique of Htmx
We have been using HTMX to create performant storefronts and the results are satisfactory.

https://farmrio.deco.site/ is one of the largest clothing retailers in Brazil and all the frontend interactions use HTMX, alongside a partial rendering strategy we developed.

More info at https://deco.cx/en/blog/htmx-first-class-support

lucis··on Show HN: Deco.cx – realtime TypeScript web editor
It's a popular trend with e-commerce (our main field), which usually means not using the proprietary frontend framework that e-commerce platforms offer (Shopify, Magento...)

But deco itself it's not headless, it has all the body parts. You can use it as a headless CMS if you want to.

lucis··on Show HN: Deco.cx – realtime TypeScript web editor
Exactly, and we were Dreamweaver users!

Do you remember the Developer Toolbox addon? It has been on my mind for a while and we want to implement something like that, maybe with help from AI.

- https://www.youtube.com/watch?v=S5xnIygDSss (couldn't find one in English)

lucis··on Show HN: Deco.cx – realtime TypeScript web editor
Thanks @haosdoctor, you get what we feel!

deco.cx has a great sweet spot for personal pages and portfolios. Free deployment with a *.deco.site domain and an easy-to-use CMS are a great combo.

Feel free to reach us if you need any help at https://deco.cx/discord

lucis··on Show HN: Deco.cx – realtime TypeScript web editor
thanks @p2hari!

the fact that we're open-source makes it easy to create new integrations as well. you can take a look at https://github.com/deco-cx/apps to see how it works.

it's high priority for us to make this even easier and also to incentivize our community to create apps for most CMSes and APIs

lucis··on Migrating Netflix to GraphQL
Is GraphQL still a thing?
lucis··on MusicGen: Simple and controllable music generation
I wonder if any of those services can generate editable output for a software like Ableton or Logic Pro.

Seems to be more useful as an "assistant" for music producers, similar to how Copilot operates.

lucis··on Pelé has died
Pelé is not seen as a great person in Brazil, from my perspective. People cherish him as the best soccer player in the world, but his personal life is mostly associated with bad stories.

He has two cases of not recognizing biological daughters, with one of those having died of cancer in 2006 [1]

1 - https://www.sportscasting.com/soccer-star-pele-refused-to-ac...

lucis··on Deno 1.26 Release Notes
Deno Deploy[1] is amazing, the deploy time is unbelievably fast.

I'm doing regular HTTP stuff, so haven't been suffering with lack of libraries. Most things work just fine.

https://deno.com/deploy

lucis··on Lexical is now open-source (web text-editor)
Not a question, but a suggestion: it'd be nice to have a Live Demo in the README, like Megadraft's (https://github.com/globocom/megadraft)

Apart from that, well done :)

lucis··on Spotify sees spike in traffic to cancellation page: 196% week-on-week
Not with a $200 million check from the platform, indeed.
lucis··on 1Password for SSH and Git (Beta)
Why?
lucis··on State of JavaScript 2021
Initially I also had the impression that Next.JS/Remix/SvelteKit shouldn't be considered as backend frameworks but, after using it for a little while, noticed that it, indeed, replaces the use of something else even if you just want to create API routes.

Overall, I find the experience similar to something like Ruby-on-Rails/Django, which I usually also consider as "backend frameworks".

For me, these new frameworks are one of the reasons that, for me, React has never been better.

lucis··on Show HN: LiveViewJS – TypeScript back end for LiveView Apps (Phoenix LiveView)
I appreciate projects like this, as LiveView brings some amazing solutions to the game, but I'd guess that even if it was "feature-complete", I would still miss the so many great stuff about the BEAM/Elixir.

Although, the safety of Typescript is the only thing that stops me from building my next hobbie/side-project with Elixir. After you get the benefits from the type system (specially in the TS ecosystem), it's hard to go back.

Looking forward to see where the project goes!

lucis··on Spotify sees spike in traffic to cancellation page: 196% week-on-week
On my social bubble, an impressive amount of people have cancelled their premium accounts.

I had a friend who had always recommended me trying out Youtube Music for their recommendation and I used the opportunity to switch, not looking back.. Somehow, Youtube Premium + Music for family is cheaper than Spotify Premium for family.

lucis··on The New York Times buys Wordle
https://web.archive.org/web/20220131213921/https://www.nytim...
lucis··on The enigmatic Portuguese R (2013)
> I think this is very much standard all over Brazil.

You mean about the "mispronunciation"? Because the j in "bradhjee" I hear mostly in southeastern accents, where people in Northeast says it more closely with how it's spoken in English.

lucis··on The enigmatic Portuguese R (2013)
That's right, this is for Portuguese, not Portuguese (PT) /s

Recently, there was a polemic in social media that Portuguese mothers were worried their kids were only speaking "Brazilian", due to the dominance of Brazilian content creators in Youtube, Instagram, TikTok...

[1]: https://www.correiobraziliense.com.br/mundo/2021/11/4962302-... (Portuguese)

lucis··on Lessons learned from sharding Postgres at Notion
You mean editing documents you're just taking a look?

Notion has a lock feature [1] on a document-level.

[1] - https://www.notion.so/Lock-page-content-d2b995727c0b483f9f35...

lucis··on Web-based editor
Try adding "vim.useSystemClipboard": true to your VSCode's settings. Works mostly fine for me...
lucis··on Web-based editor
I've just tested with Safari on MacOS.

1. Go to any Github repo 2. Press . 3. Wait for the editor to load... 4. Press Ctrl/Command + P 5. It opens VSCode's "Go to File" prompt

lucis··on Web-based editor
Indeed, they have done such an amazing work! I usually find my self using the best of Vim and VSCode at the same time.

I also enjoy the emulated plugins (vim-surround mostly).

lucis··on Web-based editor
I was showing my friends just yesterday how amazed I was for Command + P working as an app shortcut on github.dev. Did you try this recently?
lucis··on I could do that in a weekend (2016)
First thing I did was hitting the shortcut for Safari's Reader. Would love to see that in other browsers.
lucis··on Ask HN: What LinkedIn alternatives don't suck?
My invites as well: https://www.polywork.com/invite/lucis-electabuzz

So far, have been liking the platform. But I don't know, LinkedIn's ide was nice in the first place, and then came people...

lucis··on Is GitHub Copilot a blessing, or a curse?
You might want to take a look in https://www.tabnine.com/
Page 1 of 2Next →