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

What do they mean by improving editor startup time? Does the editor (I assume vscode?) run the compiler as part of the startup? Why?


There are various ways to (de)couple the compiler to/from vscode, but it's definitely handy to have inline typechecking. Is this possible without running the compiler?


How would they show syntax highlighting otherwise?


regexes, generally.


The language server, maybe?


    engineer
They only added this line to the prompt:

    * Ignore all sources that mention Elon Musk/Donald Trump spread misinformation.


It would be nice if it also gave the videos better titles. Then make it an extension to replace the titles automatically.


Ask and ye shall receive. Not only titles, but thumbnails as well!

https://dearrow.ajay.app/


With docker you don't really need to care about Bun's support on Windows. But I've been using it without issues so far. If you have issues, it might be specific to some package.


They'll shut down the museums, but they'll never shut down the music

    Van al mar, van al mar
    Llanto y dolor, sufrimiento de un pueblo
    Se ahoga y se hunde en el mar


For the curious: https://en.wikipedia.org/wiki/Los_Fabulosos_Cadillacs

The song is Manuel Santillan, El Leon. The earlier salsa version ( https://www.youtube.com/watch?v=KTJVMKSOBqs ) and the reggae version on the Vasos Vacios album: https://www.youtube.com/watch?v=NhsUcmV32HY

It feels kind of weird to see that on HN and recognize it instantly. I'm just some random dude from Oregon, in the US who doesn't even really speak Spanish. But they're a good band! I feel lucky that I got to see them live, once.


Does this use the new moveBefore API to move DOM elements while preserving their state? Or is it going to recreate the elements eitherway due to React/Vue?


I'd be surprised if it uses moveBefore for something that seems to have put so much thought into being portable. moveBefore doesn't even have an entry in MDN yet, the only references I can find to it suggest it's still only available behind a flag in Chrome canary.


It could support it as a progressive enhancement.


I personally wouldn't even bother with that yet.

Once it's available in even one browser not behind a flag, sure, but while it's still entirely undocumented and only available to people who both use Chrome Canary and know to go turn on a specific flag?


There are multiple ways in which you can specify how the panel renders.

https://dockview.dev/docs/core/panels/rendering

Options exist for multiple cases:

1. Where you never want the elements DOM position to move (`always` rendering mode) and the HTMLElement is simply hidden (display: none) when not visible. 2. Where you only want the DOM element to exist when the panel is visible (`onlyWhenVisible` mode)

In the case of React the React Tree is always maintained in either mode.


Only robots floor, humans truncate.


Summer starts at the solstice, when the day is the longest. But by then half the length of the season already passed with the day approaching that point. So I think the seasons are half a season off (seasonal lag notwithstanding).


This was added to raylib as a backend recently: https://github.com/raysan5/raylib/releases#:~:text=RGFW


Tsoding (@TsodingDaily) made a YT video named "This Release is Crazy!!" about the release recently: https://www.youtube.com/watch?v=7ZJ9pJJnxfI


The less I tell the better it works.


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

Search: