Readit News logoReadit News
jaitsu commented on High‑dose Vitamin D reduces disease activity in early multiple sclerosis onset   medicalxpress.com/news/20... · Posted by u/pseudolus
evrimoztamur · 9 months ago
Question to HN: To what extent do we understand vitamin D's activity in our body?

A lot of the focus seems to be on the bone, muscle, teeth, etc. components, but I also hear often about headlines like in the OP or its significance in improving mood. I would like to know if there's potential that we know little about its complete set of effects.

jaitsu · 9 months ago
https://examine.com/supplements/vitamin-d/

This is a good place to get that kind of information

jaitsu commented on Enums in Go   dizzy.zone/2024/01/26/Enu... · Posted by u/dizzyVik
bborud · a year ago
Enums in Go are not good. Code generation just makes it worse. Both because code generation has a bad smell and because nobody can agree on how to do enums in Go so we just end up with lots of diverging solutions.

Go 2 needs to have more usable enums. And while I'm not a big fan of "adding more stuff" to languages, it wouldn't hurt Go to learn a couple of things from Rust.

jaitsu · a year ago
I can't see why they wouldn't be in a future 1.x release
jaitsu commented on GitHub incident: ongoing issues with Actions, Issues and other Git operations   githubstatus.com/incident... · Posted by u/jaitsu
indeyets · 3 years ago
"Actions, Issues" are not "Git operations".

would sound better without "other" in title

jaitsu · 3 years ago
good catch
jaitsu commented on GitHub incident: ongoing issues with Actions, Issues and other Git operations   githubstatus.com/incident... · Posted by u/jaitsu
joennlae · 3 years ago
You will probably notice it also when trying to push a new branch:

`error: failed to push some refs to ` when using --set-upstream

jaitsu · 3 years ago
Indeed, I notice it when trying to push also:

  remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
  remote: fatal error in commit_refs
  To github.com:acme/foo.git
   ! [remote rejected] HEAD -> acme/foo (failure)
  error: failed to push some refs to 'github.com:acme/foo.git'

jaitsu commented on Mark Zuckerberg: “Please Resign” (2010)   techemails.com/p/mark-zuc... · Posted by u/georgehill
jaitsu · 3 years ago
These two sentences are at completed odds with each other:

1. "We are a company that promotes openness and transparency"

2. "Let's commit to maintaining complete confidentiality about the company—no exceptions"

jaitsu commented on Ask HN: Why are toggle switches replacing checkboxes? Isn't on/off less obvious?    · Posted by u/RjQoLCOSwiIKfpm
somat · 3 years ago
There are two conflicting schools of thought that I suspect will never reconcile.

the people who think the button should show what state it is in.

and the people who think the button should show what state it will change to when activated.

jaitsu · 3 years ago
"X is currently disabled" resolves it
jaitsu commented on Major standard library changes in Go 1.20   blog.carlmjohnson.net/pos... · Posted by u/todsacerdoti
dgb23 · 3 years ago
It’s extensive, web server focused, ergonomic and has well documented and sensible security defaults.

In Go you can write a production ready, well tested, _concurrent_ web application with routing, auth, sql storage, html templating, image optimization, and so on without fetching third party libraries. And you’re not leaving official docs for it.

jaitsu · 3 years ago
Almost. The sql package is just an abstract layer which requires a 3rd party module to provide the concretions. I guess the API is the same, but you still need a 3rd party lib :)
jaitsu commented on Conc: Better Structured Concurrency for Go   github.com/sourcegraph/co... · Posted by u/aurame420
erik_seaberg · 3 years ago
A lot of very common operations can panic: division, dereferencing a pointer, invoking an interface method, indexing/slicing an array/slice/string, asserting the type of an interface, and converting a slice to pointer to array. It’s possible to check, but I’ve never seen a tool that verifies you never use any of these without checking. You also have to check for nil channels, though they block forever (maybe consuming a goroutine) rather than panicking.

And there are some operations where you cannot check in advance whether a panic will happen: comparing interfaces (underlying values might not be fully comparable), indexing a map (could blow up during any concurrent write), sending to a channel (might be closed), and closing a channel.

jaitsu · 3 years ago
You can recover from a panic though, so if you are implementing something that may panic you should have some sensible defer/recover in there if you can't afford to have your process crash.
jaitsu commented on You can virtually model clothing on your own body using the Walmart app   theverge.com/2022/9/15/23... · Posted by u/jacooper
jaitsu · 3 years ago
Yeah, no thanks.

Call me old fashioned, but if you really want to see what something looks like on you just go to the store. Personally, I think buying clothes is not just about how they look on you but also how you feel in them. You can't replicate this with a digital solution (yet?).

u/jaitsu

KarmaCake day204August 6, 2015View Original