Preferences

devilsdata
Joined 94 karma

  1. I don't think a regular Raspberry Pi counts as embedded, although from Embassy's documentation, there is a version of embassy for the Rapberry Pi Microcontroller.

    https://docs.embassy.dev/embassy-rp/git/rp2040/index.html https://www.raspberrypi.com/documentation/microcontrollers/

  2. Hear, hear. There should always be steep consequences for taking advantage of the vulnerable.
  3. While I don't have studies on hand, I recommend watching `Viva Longevity!` on YouTube. He makes a case for the Ancel Keys studies, and why saturated fat is bad and why fiber is good.

    It's been nearly a year or two since I've looked into it, but basically there is a lot of money in marketing for the beef and dairy industries, and that includes lobbying and influencing the outcomes of scientific studies. It's worth scrutinising claims against the Ancel Keys studies soley based on the fact, in my opinion.

  4. So that ends up being roughly 20 grams of saturated fat. I still consider that quite high, given that there is a strong correlation between saturated fat consumption and CVD.
  5. You're talking about Samatha-vipassanā which is the cultivation of stable attention and mindfulness as two skills. Your skill can be measured by the nine stages of tranquility:

    https://en.wikipedia.org/wiki/Samatha-vipassan%C4%81#:~:text...

    But this is only one form of meditation. There are others, such as Maitrī/mettā meditation.

  6. Depending on the type of training you're doing, you're likely eating lean meat too, like chicken breasts and fish. Most people are much less picky about the kind of meat they eat, opting for fatty cuts or meat products high in salt and saturated fats.
  7. It recommends eating more saturated fats from dairy and meat, both of which are very bad for CVD.
  8. The big benefit is that you get to use the Apple Notes app. I prefer Apple Notes on my phone, to be honest. I haven't used Obsidian's app on iOS in over a year.

    I personally put all my work-related dev notes in Obsidian, and all my life-related quick notes in Apple Notes.

  9. Nice. Feedback:

    Needs a reset button, possibly with an "Are you sure?" confirmation dialogue.

    Needs optional format. If I'm setting a countdown until 2026-01-01, do I really want to see the number of hours? Or the number of months, weeks, days, etc.

  10. Software companies don't understand consent!
  11. Thanks for your comment, but I'm not a huge fan of Scott Siskind's. I was right into SSC for years before I had a moment of clarity and realised that his views are very dark, and shared by a lot of neo-nazis.

    Since then, I've walked a kinder, more compassionate path. I hope the same for you.

  12. I've been self-medicating ADHD with multiple cups of coffee a day since I was 17. I'm in my early 30s now, and after getting on Vyvanse, have reduced then given up coffee. I realised that coffee was the reason for my anxiety which builds up towards the end of the day.

    I reduced my coffee down to 1 espresso per day two months ago, and quit entirely two weeks ago. I'm still on stimulants, but Vyvanse treats ADHD much better and has fewer side-effects.

  13. Interesting. I wonder if that extends to any stimulant, or if it's something particular with caffeine and coffee.

    With that said, the fact that the other study seemed to find the opposite conclusion concerns me.

  14. True, and it could also be what the person has with the coffee. I have a feeling people that drink instant coffee are more likely to add milk, creamer, or sugar.

    That said, instant coffee is just freeze-dried coffee. There's a possibility its effect is no different.

  15. Is it possible that this phenomenon is specific to people with those mental illnesses? A wider general population study resulted in the inverse effect:

    https://www.mdpi.com/2072-6643/15/6/1354

    I only did a postgraduate degree, so I don't have the practice reading scientific studies to determine which is true. Maybe someone with more knowledge can chime in?

  16. Definitely a head scratcher.
  17. This could finally force the developers of cross-platform GUI and webview libraries, drunk on Moore’s Law, to sober up.
  18. Nobody in this article is whining about a company "building something". But whenever anything this large is built, there are externalities. Externalities are an indirect cost or benefit to others.

    https://en.wikipedia.org/wiki/Externality

    It just seems to me that in Virginia in the United States, the externalities of building a massive data centre in an existing residential zone are either not being considered or not being acted upon.

    I'd hate it if a company built a massive data centre right next to where I sleep. Low noise pollution is vitally important to quality of life.

    I'd like to live in a society that treated me fairly, and at least purchased my property off me before building the data centre.

    By all means, build the infrastructure. But please look after your people. It's not that arduous to purchase a few properties in exchange for a massive amount of profit.

  19. We are on the same page about magic links. Email is also not a super-reliable medium of communication. Email can arrive straight into the junk mail, late, or even never. I think magic links should be strongly discouraged for serious projects, businesses, and government. Passwords and application-based MFA (not SMS or Email MFA) or webauthn/passkeys are much better.

    This whole discussion started when @meindnoch wrote ">Sign in or create an account with your email. Into the trash it goes.".

    I think magic links are acceptable for a small solo developer project. Expecting a solo developer so shoulder the burden of rolling their own auth, paying for an auth service, or self-hosting an containerised auth-service and wiring their application to it is a bit much for a tiny project like this.

    Anything more than a small solo project should graduate to a better solution- I hope we can all agree with that.

  20. Email magic links are inconvenient for the user, but they're not dumb. They're a pretty good option for a small project by a developer doesn't want to implement a whole auth flow, or pay for an OAuth provider.

    It's a tradeoff. If you roll your own password flow, you need to add MFA to be secure. The complexity of what you need to build and maintain goes up.

    A simple magic link flow for an app like this, where you are really only likely to log into it once per project you start.

    Personally though, I also use a password manager. And I am annoyed enough by email magic links, that any of my personal projects will at least have a passkey implementation.

    So I agree they're annoying. But they're definitely not "dumb". They're a tradeoff. This developer has chosen his own time over user convenience; which is a common tradeoff for small developers.

  21. The biggest issue with this is that the developer did not read the documentation on the JavaScript Array prototype from MDN.

    If you internet search "mdn array", you get the following as the first result:

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

    Then `⌘F`/`Ctrl-F` "reverse", the first result will be a link to this page:

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

    The second result will give the non-mutating ES6 version:

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

    Hell, even internet searching "mdn array reverse" will give you `reverse()` as the first result.

    ---

    I genuinely find it concerning that it takes 20 minutes of "Googling" for the "Senior Developer" to work out something that is easily findable in the documentation.

    It's especially worrying that they are then advising junior developers to do the exact same thing.

    I appreciate that the author is trying to be encouraging. That's valuable, and we need more of it in this industry at the moment. But advising people that it's okay to avoid reading the documentation first is bad advice, in my opinion.

  22. As for the enterprise part of OP's comment, Bazzite is a community-contributed OCI container (similar to a Docker container) running on top of a Fedora bootc spin with GNOME or KDE. It is trivial for a company to add their own RUN instructions to the OCI Containerfile.

    Here's a working one that I prepared earlier that installs 1Password on Bazzite GNOME and Bluefin:

    https://github.com/lkdm/Phoenix

  23. > ChatGPT confirmed

    Why are you relying on fancy autocorrect to "confirm" anything? If anything, ask it how to confirm it yourself.

  24. https://en.wikipedia.org/wiki/Space_elevator

    > Above GEO, the centrifugal force is stronger than gravity, causing objects attached to the cable there to pull upward on it. [...] On the cable below geostationary orbit, downward gravity would be greater than the upward centrifugal force, so the apparent gravity would pull objects attached to the cable downward.

    So, without defensive countermeasures, the Space Elevator would indeed whip around the Earth.

    But honestly, if I were designing such a thing, it would have break points, and maybe even a whinch at the base, to pull the line in. I'd also build it over water, and not over a population centre.

    But I'm only a software engineer– it's likely a lot more challenging than this.

  25. I have a pretty good cross-platform dotfiles setup for both Mac OS and Linux that I use Chezmoi to provision. I try not to repeat myself as much as possible.

    Here's my repository: https://github.com/lkdm/dotfiles

    I use Linux at work and for gaming, and Mac OS for personal stuff. They both build from the same dotfiles repository.

    Some things I've learned is:

    - Manually set Mac's XDG paths to be equal to your Linux ones. It's much less hassle than using the default system ones.

      - See my .profile as an example on how I do this: https://github.com/lkdm/dotfiles/blob/main/dot_profile.tmpl
    
    - Use Homebrew on both Linux and Mac OS for your CLI tools

    - Add Mac OS specific $PATH locations /bin, /usr/sbin, /sbin

    - Do NOT use Docker Desktop. It's terrible. Use the CLI version, or use the OrbStack GUI application if you must.

    - If you use iCloud, make a Zsh alias for the iCloud Drive base directory

    - Mac OS ships with outdated bash and git. If you use bash scripts with `#!/usr/bin/env bash`, you should install a newer version of bash with brew, and make sure Homebrew's opt path comes before the system one, so the new bash is prioritised.

    I hope this is helpful to you, so feel free to ask me anything about how I set up my dotfiles.

  26. I like Zed, but my gripes with it are what finally got me to give up GUI IDEs and use NeoVim. Haven't looked back so far.
  27. This is like saying Google isn’t extremely profit-driven because we don’t pay them.
  28. I was diagnosed with ADHD last year, and am curious as to what you've learned in your time. I'm taking 40-50mg methylphenidate hydrochloride (Ritalin) daily and working a hybrid web developer role. I'm trying to increase my reading of literature and begin writing, but I find myself just watching YouTube/browsing Reddit and HN.

    230lbs is wild. Great job :)

  29. Yep Bazzite is great. But the difference between them is mostly just the packages installed. To me it’s easier to install the gaming related packages from Bazzite onto Bluefin.

    I have a problem with Docker sockets while installing onto Bazzite, and didn’t care enough to look further into it.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal