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

Melatonin is effective ~5 hours later. No need to take more than 0.3 mg.

What you should try is L-Theanine just before going to sleep, it's effective against Caffeine, not sure about Psilocybin.


I did some benchmarks on one of our CLI and found that `opt-level = "z"` reduced the size from 2.68M to 2.28M, and shaved 10% on the build time, worth a try.

I'll try with `panic = "abort"` for our next release, thanks for the reminder.


Angluar -> I'm using this from now on


In case I was unclear, I consider Angular dead and obsolete.


> In case I was unclear, I consider Angular dead and obsolete.

maybe you would expand on this? I have no intention to challenge you, just genuinely curios if and why I should consider vue over agnular for new project (I use angular already).


Maybe Angular is still used a lot, in legacy projects. I just mean for starting a new project, imo most people will choose React or Vue in 2024, right? I never used Angular myself, but have used both React and Vue a lot.


If you’ve never used it don’t declare it dead. Angular is updated regularly every 6 months. While react is busy thinking how to create more SSR apis, the angular team keeps improving developer experience.

IMO right now it’s easier to start an angular project with much less foot guns than react.


I call plenty of things dead without ever having used them. FORTRAN for example.

What I mean by dead is it's a VERY unlikely choice for any new app. People will choose React or Vue most of the time. You don't see Angular used hardly ever for a new project.

BTW: Vite is the new best way to manage the build pipeline, and makes React super easy to start using.


I’ve never used a drill press; does that make them dead?

Fortran certainly has its issues with portability and feature development, but it is by no means dead.


As I already pointed out, my use of "dead" doesn't mean "no longer in use". It means no longer being selected by choice for a new project.

And your drill press example is agreeing with me, which is that, as I also already said myself, no one needs to have ever used something to be able to declare it dead, nor did I declare something dead because I don't personally use it. That's absurd.


I don't have strong insights about current agnular popularity. I think at least teams/companies which built strong expertise in angular will continue using it for new projects unless there is some big reason not to.

SO trends show that angular is more popular, while vue is loosing share (not necessary absolute number): https://trends.stackoverflow.co/?tags=angular,vue.js,reactjs


Thanks for sharing that graph. It does show React as the leader, the the others in distant 2nd/3rd place.

However I think the "drop off" in the chart for React is misleading/incorrect, and likely indicates just a slowing down of the economy and/or people moving to LLMs for their searches and abandoning StackOverflow completely, as I have.

For the past year I haven't yet found a question that an LLM couldn't answer better than S.O. could, although ironically most of the LLM learning did come from S.O.

Anyway, yeah shops will stick to their legacy code forever unless something forces change, because retooling is super expensive in money and time, not to mention replacing all your developers with different ones!


Same, anGLuar sounds, for a french speaker, like https://en.wiktionary.org/wiki/engluer

1. to birdlime

2. (reflexive) to get bogged down


In case I was unclear, I consider French dead and obsolete.


The EU will switch to permanent winter time as well: https://www.euronews.com/my-europe/2022/10/28/when-will-the-...


Discussion about that are on a low-point.


Proof of Concept


Excellent user experience using a Logitech MX Master 3S with Mos and ScrollReverser.

https://mos.caldis.me/

https://pilotmoon.com/scrollreverser/


I'm a paying customer since June 2022, and I was wondering if I was the only one using its most powerful feature: domains personalizations. I guess not: https://kagi.com/stats?stat=leaderboard&k=2

When you start searching a lot for professional reasons (e.g. rust the language vs rust the game), Kagi's value is a no-brainer.


This should help:

  defaults write com.apple.security.authorization ignoreArd -bool true


I did find that online, but unfortunately it did not help. :(

I'm not sure if this is because that info is out of date, or due to some other issue specific to my work machine and what the org has installed/configured on it.


Been using it for weeks, makes me feel "productive" when typing a lot.

Some keys (numeric keypad) are silent, which is odd, and makes me look at the keyboard wondering where did I put my fingers...


Flywheel are efficient for high power in short duration: https://en.wikipedia.org/wiki/Flywheel_energy_storage

Usually used during a short period of time before the diesel generator can be fully operational.


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

Search: