157 karma · joined December 29, 2020
In that sense, rewriting some code in Rust _may_ be cheaper than fixing the existing code. It may also be more welcoming to newer devs, since Rust can be easier to reason about, which is a long-term investment.
The borrow checker also helps with AI (as long as you don't let the AI use `unsafe`, or completely control what primitives in your codebase are allowed to use unsafe and never vibe-code any of it) — at least, the agent can't stop until `cargo build` passes.
I've also had better experience locally building applications in Rust than in C/C++. `cd ripgrep; cargo install --path .` or `cargo install ripgrep` usually just work, while `make` is usually painful.
Will you do a native Linux release, or has it been tested with Proton?
Also, just from watching the video and screenshots in the Steam page, it seems like a crazy amount of work. Are you doing everything by yourself?
Also used the new Navigation API (and some Shadow DOM) to build a cheap, custom client-side rendering (sort of) into my site (https://taro.codes), and some other minor refactors and cleanup (finally migrated away from Sass to just native CSS, improved encapsulation of some things with Shadow roots, etc).
I've been wanting to write a simple AI agent with JS and Ollama just for fun and learning, but haven't started, yet...
Have you tried Luxon?
If your frontend isn't completely critical, you might be ok with the temporal-api polyfill, too. It's a joy to use.
deno repl --v8-flags=--harmony-temporal
I couldn't test it in bun, but it should be the same thing, except that it depends on JavaScriptCore instead of v8. But basically nodejs, deno and bun don't really need to do anything — just wait for v8 and JSCore.
Browsers are waiting for the proposal to signal that it's ready to be unflagged. Right now it states it must be behind a flag.
It's only the second time I dare share a link to an article I wrote. I find it intimidating, honestly.
I put a ton of effort into writing the article (and creating the no-dependencies runnable-script widget). Would love your feedback / constructive criticism :)
Directly associating “protein” with animal products and implicitly assuming protein is something we should be at all worried about when there hasn’t been a report of “protein deficiency” ever are a big part of the problem.
I can’t assume this is your case but I’ve still to meet a person who brings this up and has no access to, for example, beans or lentils. A quick google search will offer many more alternatives, although it’ll also consistently bring up the fact protein is something that should hardly ever be on your mind.
You do have to actively and periodically watch your vitamins though, which we all tend to have less than what we need, and lower-than-healthy vitamins for long periods can do irreparable damage in the long term.
You do have to watch your B12 when switching to a vegetarian diet, not because animals naturally produce it but because they are generally supplemented with it; but low B12 is also pretty common in meat eaters. By the time you feel the symptoms it’s already dangerously low.
I’m not looking to attack you — I just don’t want random people reading unfounded reasons not to go vegetarian and unconsciously believing them.
> Only thing you need is to convince the elites to change to vegetarianism.
Maybe, but what others decide to do or not does not prevent individuals from doing their part. Just by changing your habits and living your life you’ll influence people. You’ll get to patiently answer honest questions, show off amazing recipes that will wipe away preconceived culinary notions, etc. Your friends, after years of seeing you well, will stop thinking “omg they must lack protein” or “they must be rich to be able to afford veggies”
Bottom-up works too, and I’d even think it’s usually the way to go with all society-scale changes. Waiting for someone else to do something generally leads nowhere good. Also, a ton of famous people are already openly vegan or vegetarian.
Today I think I even prefer Windows + WSL rather than Mac.
"Scientific" articles have such click-bait titles. I understand this is an evil necessity in capitalism, but these titles bias everyone...
In both cases, no member of the team know anyone else before joining the team.
Guess which one was more performant? The remote one. By an order of magnitude.
Two examples are anecdotal data, but so are 37 IMO. It almost feels like the title of the article was written before the experiment was done.
> I get a good night’s sleep I erroneously feel like I should be able to sustain my (probably unsustainable) momentum
Try to have patience.
When we see an improvement we get attached to it. This happens when losing weight, sleeping more, etc. Changing habits, even slightly, always takes time.
If, it seems to be evolving in the direction you desire in the long-term, you're good. Extrapolating from one or a few data points won't give good predictions.
> When I try to relax, I feel like I’m wasting time if I do it for too long.
Trust yourself.
Do you feel you're wasting time after a few hours, days, or months? If you relax enough, the need to do stuff usually comes back to you on its own. No need to force it via guilt or worry.
If you objectively can't relax as much as you'd like to, then remind yourself _why_ you're doing the things you do. You'll probably have great reasons to do so —making the most of some opportunity, doing it for your loved ones, whatever.
It could also be you needed to avoid relaxing some time in the past and now you have more space to relax but haven't re-analyzed your current situation properly and are not aware not-relaxing is not adequate strategy now, according to your desires and objectives.
Doing nothing is healthy and is a great way to regain health.
(Feeling guilty about it or worrying about "what I should be doing" will prevent it from restoring us, though. It only works if we accept our health needs.)
Sometimes, after a few consecutive days (or weeks) of hard work (like learning new frameworks while trying to deliver features at "normal" speed) I'm completely unable to play or compose music. My brain just won't work at all.
In these cases, sometimes I cannot even read light fantasy or cook basic meals.
One thing is to be bored of or frustrated with something (which is important too — we don't live to work —, but this is a separate topic), and another completely different thing is repeatedly going over what your bodily and/or mental health can take, for weeks or months on end.
I think rotating is good advice, but it works more on motivation than exhaustion.
I shared details here: https://news.ycombinator.com/item?id=33882074. Unfortunately I didn't realize I had replies until it was too late and could no longer reply there :(
More people shared their experience there, and a lot shared super nice comments which were nice to read.
Since then, 32 recruiters sent me message request at LinkedIn whom I have not yet accepted, 21 more sent me in-mails or I accepted them and have a conversation, and maybe 3 cold-contacted me via email.
Wellfound (angel.co) seems to be a good place to be, too.
I suspect difficulty in finding a job is related to how much quality and money you're looking for. If you're willing to accept anything you'll probably still find a job quickly.
Context: I live in Argentina, and we do get contacted a LOT because we're generally cheaper than first-world-country developers, specially USA. That makes getting offers really easy, but getting an equal-work-equal-pay job that pays good salaries regardless of where I live is super challenging.
Years after, I found out, when taken for years, they do permanent damage to the brain's ability to form long-term memories. Among other things.
Fortunately, I didn't take them that long. But I had many friends in the same situation, taking benzos because their psychiatrist gave them to them just like that, without offering alternatives.
To properly reword my advice: be careful with psychologists and psychiatrists. Not all of them are good, and not all of them have your best interest in mind.
Depression, dysthymia, ADD, ADHD, AED, for example, aren't things you can just will yourself out of.
People who have experienced profound sadness at some point in their lives tend to assume depression is the same. They will then advice (with good intentions) people who are depressed to do what they did, since it worked for them.
Just change this or that habit. But it's not how it works in reality.
Also, there's nothing wrong with being alone, and there's nothing wrong with feeling bad. Society pushes us to be at the top of our productivity at all times, which leads us to feel guilt when we need to rest. Mental health IS health, and it requires time, in the same way you'd need time in bed if you had a surgery or whatever.
Finally, there's no end goal in life. Life is meaningless. No matter what you do, if you're enjoying yourself, it's good. If you watch TV all day everyday for the rest of your life — that's perfectly fine. There's nothing wrong with it. It's YOUR life. Nobody can tell you how to live it.
I now this is incredibly privileged. I'm not humble-bragging, just observing the change in the market.
As things usually turn out, during the last week of the 3-month search I received 3 different offers all at once.
For reference and if it matters: I've got 14 years of experience.
Up until now, every day was an uphill battle, causing me tons of stress and anxiety. I, too, self-medicated.
I never thought anything of it because I was always able to work and finish stuff. It was my normal.
Now I know it shouldn't be that way.
I did try many other options before starting meds. They helped a little bit, but not significantly.
I'm very good with JavaScript and TypeScript (7+ years of experience, full-time, both back and frontend). I absolutely love them. The freedom to mix functional and oop is amazing. And no awkward verbosity like Java.
I don't like requiring the NodeJS runtime in environments I don't control — it's ok for servers I own, not ok to ask users to install it so they can use a lib/app I made. There are tools to "statically-link" NodeJS projects now, but I haven't tried them yet.
I've been working exclusively on Linux for the past 6 years. Wouldn't look back. Did Mac for a few years, didn't like it. The hardware is superb, but the UX is not optimized for software development. Windows is not an option unless doing C#.
I've had to hunt for talent myself, and reviewed dozens of software developers, and finding someone with 10+ years of good experience is close to impossible, so I would never have that as a request in a job posting, but it doesn't mean I wouldn't want someone like that in my team.
I've found more value in newsletters: - https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-d... - https://ethhub.substack.com/ - https://weekinethereum.substack.com/
The signal-to-noise ratio is depressing.