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

I'm surprised Starship is so popular. It's missing really basic powerlevel10k features like empty segments. If you look at some examples:

https://starship.rs/presets/gruvbox-rainbow

You can see that when the segments are empty, they still appear as a 1-width segment, rather than entirely disappearing.

It also makes you configure many things by hand. powerlevel10k has an interactive wizard that lets you design your prompt one option at a time (do you want a nerd font? do you want it one line or two? etc) but Starship makes you manually write escape codes if your preferences don't match one of the presets.

No judgment, but I do wonder what people like about Starship that makes up for these things.


Starship allows empty segments, I in this specific case it's just how the preset/theme works as it uses the Unicode character as separator and it needs to set the background and foreground colors depending on which modules is surrounded by

Every preset with powerlevel10k-style segments don't support hiding empty segments. Look at Pastel Powerline, Tokyo Night, Gruvbox Rainbow, Catppucin Powerline...

https://starship.rs/presets/#pastel-powerline

I tried making my own and the config TOML syntax isn't expressive enough to support hiding empty segments.

You're right that it's the thing with the Unicode character as separator, which all the alternatives handle just fine: powerlevel10k, tide, oh-my-posh... it's just everyone seems to love Starship, and that's what confuses me.


<input type="number"> is famously really flawed and not worth using even if what you want is semantically a number and not just numeric:

https://stackoverflow.blog/2022/12/26/why-the-number-input-i...

Tables have a whole bunch of flaws, like not letting you turn an entire row or cell into a link. (Some things are semantically tabular data!)

<button disabled> doesn't trigger various DOM events, forcing you to use <button aria-disabled="true"> if you need them.

These are the ones that come to mind immediately. I wouldn't be surprised if there are others.


While this is mostly true, there were similar techniques even before XMLHttpRequest. iframes could communicate with parents, and also JSONP. I think JSONP was mostly pioneered as a technique after XMLHttpRequest, but the iframe trick did work (I even used it! just a tiny 16x16 iframe communicating with the parent element by calling functions on window.parent, worked great on IE5).


Heh, I saw this thread just recently:

https://www.reddit.com/r/webdev/comments/1euwht3/webstorm_is...

Most discussions I've seen, including that one, say that VS Code is slower than most lightweight text editors but faster than most IDEs (including WebStorm which is IntelliJ). I don't personally have experience with IntelliJ, but in my experience VS Code is very noticeably faster than Eclipse.

That linked thread also mentions that compared to IntelliJ, VS Code has better remote development, a less cluttered UI, better support for multiple languages in one project. And _many_ people mention the better performance.

Personally, running an open-source project with a lot of contributors who are young or from third-world countries, it also matters a lot that VS Code is free.


> VS Code is very noticeably faster than Eclipse

Even IntelliJ is noticably faster than Eclipse. This is a heavy indictment of Eclipse, not any other editors.


I feel like accusing someone of lying is a bit of a leap. I would just guess the guy you're replying to lives somewhere easier to drive than SF.


My friend's been learning programming with Github Copilot and gets refusals there sometimes, for seemingly no reason; so here's an example for you:

https://d.pr/i/XSiepe


Yes, most microwaves with dials do in fact work like this.

Compare the the distance between 0 and 1 with the distance between 5 and 6 on this microwave:

https://www.amazon.com/Panasonic-NE-1025F-Silver-Commercial-...


That's a bit different, it's got graduations on the knob. I'm thinking of a pure encoder-based system, where the absolute position doesn't matter but the change in position (and rate of change of position) do. Think like a mouse scroll wheel, but with acceleration.


That only goes up to 6 minutes though.

30 minutes involves a much more extreme change in distances... and then of course in the speed of the knob as the timer runs back down.


You're misinterpreting that sentence. This overview of the case was posted:

https://globalfreedomofexpression.columbia.edu/cases/duffy-v...

And in it, it talks about Google's defenses (innocent dissemination, qualified privilege, and justification), so clearly Google did show up.


You don't have to write good UX from scratch to get non-OS scrollbars, there are CSS rules that let you style scrollbars while keeping most system scrollbar features and accessibility.

No comment on whether or not that's a good idea, though.


I suppose "nobody used that product anyway" is way more true of Microsoft's dropped projects than Google's, and that's important.

Everyone here can name Google products they loved which they can't use anymore. For me, the big ones are Google Reader (RSS), Google Inbox (bundles, and the Travel and Shopping email categories), Google Now (flight information), and Google Hangouts (SMS integration).

For other companies, not so much. I can name minor things, like I miss macOS's old 2D virtual desktop grid. And an AirPort router would have been nice. And I'm sad Amazon Go is being shut down. But nothing on the level of those Google shutdowns.


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

Search: