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

Also oh-my-posh supports transient prompt and AFAIK starship.rs does not.

"Transient prompt, when enabled, replaces the prompt with a simpler one to allow more screen real estate." https://ohmyposh.dev/docs/configuration/transient

Here is my config for oh-my-posh https://github.com/rofrol/dotfiles/blob/master/.config/oh-my...


Also oh-my-posh supports transient prompt and AFAIK starship.rs does not.

"Transient prompt, when enabled, replaces the prompt with a simpler one to allow more screen real estate." https://ohmyposh.dev/docs/configuration/transient

Here is my config for oh-my-posh https://github.com/rofrol/dotfiles/blob/master/.config/oh-my...


Total for Linux when distros combined dominates Windows



I have found this old comment:

* Battery life is a lie, especially since it drains almost as much battery closed as it does open.

...

Overall, I think I am probably going to switch back to a macbook after this, not being able to go a day without charging and your laptop always being on low battery is a bit anxiety inducing.

https://news.ycombinator.com/item?id=38206173


They must have a bug, because my System76 laptops drain way less with the lid closed than my Macbooks.


@cthalupa

> Trump didn't even get half the popular vote. That's not a mandate.

I think you confuse USA with some other country. Read about electoral votes.


I didn't say he wasn't elected. I said he didn't have a mandate.

If he did not secure even half of the popular vote then it is obvious that the median voter does not align with his views.


"Not even half" is being intentionally misleading: He did get more than his main opponent, by over 2 million voters.


No.

We are explicitly talking about a mandate - the will of the median voter. Someone who did not receive even half of the popular vote is not representative of the median voter.

Just winning is not enough to receive a mandate.


Mandates would come from popularity, not from weighted numbers.


I just had to check since I am admittedly sick. Even wikipedia has mandate[1] as

"mandate is a perceived legitimacy to rule through popular support. Mandates are conveyed through elections, in which voters choose political parties and candidates based on their own policy preferences."

Even if we play around with concepts here, in a very, very practical sense, if the mandate is conveyed through elections, at least at the very beginning of the administration, that administration has a mandate to govern. Now.. this perception may change, but you can't honestly tell me this administration has no mandate for one simple reason:

If it does not have a mandate, neither of the previous administrations did.

[1] https://en.wikipedia.org/wiki/Mandate_(politics)


> If it does not have a mandate, neither of the previous administrations did.

I would agree with this. I think the last time an administration had a clear mandate was Obama's first term.

Every election since then the margin has been to small too clearly say that their policies reflect the will of the median voter.


Mine roast:

- Spends so much time talking about Zig that even their keyboard autocorrects 'big' to 'zig' - Has probably spent more time configuring Nix than actually using the software installed with it - Could write a PhD thesis on build systems but still can't build a consistent sleep schedule

:D



kristoff wrote the same about performance

> More generally, RAII is a feature that exists in tension with the approach of operating on items in batches, which is an essential technique when writing performance-oriented software.

> And it doesn’t end here: operating in batches by using memory arenas, for example, is also a way to reduce memory ownership complexity, since you are turning orchestration of N lifetimes into 1.

> In this video Casey Muratori describes how going from thinking about individual allocations to thinking in batches is a natural form of progression for a programmer.

> Extremely popular talk on the advantages of looking at problems as data transformation pipelines, where Mike Acton shows how common approaches in C++ (RAII being one of them) are antithetical to the goal of creating performant code.

https://kristoff.it/blog/raii-rust-linux/


how so?


Sending all the packets in one call is likely to lead to router buffers filing up, causing packet drop. Linux lets you send everything in a single call with the kernel spacing out the actual sends.


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

Search: