Better HN
topnewbestaskshowjobs
Log inSign up

Shoop

872 karma · joined Jan 30, 2015 (11y ago) · 185 submissions

Submissions

comment 5y ago · link · parent

Could you change the title to "The Joel Test: 12 Steps to Better Code (2000)"? The guidelines [0] ask that you use the original title and not editorialize. Usually people append the year in parentheses for older posts.

https://news.ycombinator.com/newsguidelines.html

comment 5y ago · link · parent

Archived version: https://archive.is/9d6iG

comment 5y ago · link · parent

It looks like it has nullable (nilable) types [0]. So a variable cannot be nil unless it is explicitly marked as having a nilable type.

[0] https://crystal-lang.org/reference/syntax_and_semantics/type...

comment 5y ago · link · parent

I do not think your model of threads and processes is correct. Processes have different address spaces whereas threads share an address space. Context switching between threads is much cheaper than context switching between processes because you do not have to swap page tables and do a tlb flush. tlb flushes are extremely expensive. I also think you are misunderstanding how mmap works. mmap is not related to thread spawning.

comment 5y ago · link · parent

dune is quite weird compared to many other build tools, but once you learn how it works it's actually quite simple. opam is a pain in the ass but it's definitely being improved steadily and I've had better experiences with it recently. janestreet core seems more stable now than it has in the past but there are occasionally still some breaking changes. They aren't hard to keep up with if you update with each core release though (only like ~1 for my project in the past year or so). There's also a community movement to work a lot more on the ocaml platform and I'm super excited for this work [1] to get through the pipeline! Especially promising is the work on replacing ocamldoc (which sucks) with odoc (which looks great!). While I think work on the ocaml platform will take some time to come to fruition, the approach they are going for is super empathetic and I wholeheartedly agree with their approach for every facet of the ocaml ecosystem -- build tools, doc generation, lsp, editor integration, opam evolution, and all the stability guarantees they're gradually adding. Really exciting time to invest in ocaml!

[1] https://www.youtube.com/watch?v=E8T_4zqWmq8

comment 5y ago · link · parent

What do you think about this reply on that thread? https://github.com/bitwarden/server/issues/589#issuecomment-...

comment 5y ago · link · parent

Is IgE present in the bloodstream if I have not been exposed to the allergen recently? E.g. will I show as positive for a pet dander allergy if I have not been around pets for many years?

comment 5y ago · link · parent

Based on this video [1] linked in the OP, it seems like one of the big benefits is that anaphylaxis is not a side-effect of the drops.

[1] https://www.youtube.com/watch?v=TpP41WQ6pBc

comment 5y ago · link · parent

I would recommend toning back some of the emotional language in your treatment comparison table -- things like "confusing terminology", "Busy staff with no time to help", and "Unhelpful Google searches". Your value prop of convenience of no shots is super obvious to me but the biased comparison table is a turn-off. It would give me a lot more confidence if the language in the table were more scientific and clinical. Specifically, I want to be able to look at the table and know for what type of person In-office shots would be better than At-home drops instead of being distracted by the language.

comment 5y ago · link · parent

For clarity, is "They" DO or tarsnap?

comment 5y ago · link · parent

Scott has written an intro post about this on the new blog: https://astralcodexten.substack.com/p/youre-probably-wonderi...

The about page also has some links to more popular articles on the old blog: https://astralcodexten.substack.com/about

comment 5y ago · link · parent

It needs to do a check in order to decide to panic. C/C++ just allow undefined behavior which means they don't need to bounds check because the generated code is allowed to have any behavior in this case (either the read just reads some random memory out of the heap or the kernel kills the process since it tried to access unmapped memory). In rust, panicing involves unwinding the stack. The compiler must generate code to do the bounds check and then also generate code to do the stack unwinding for the panic in the case where the bounds check fails.

comment 5y ago · link · parent

Part of this has to do with the fact that it is not possible (without tricks) to have multiple different typeclass implementations for one type in Haskell (I believe Rust also has this restriction). This language restriction has the tendency to seep into people's way of thinking about monads (and other typeclasses). However, it is not fundamental that a typeclass (or other ad-hoc polymorphism) system has this restriction.

That being said, the language design problem of how to support multiple different typeclass implementations for one type is actually trickier than you'd think. For example, it's easy to fall into the diamond problem if you don't have instance canonicity. If you're interested in how this problem can be solved in practice, check out this lovely paper about Modular Implicits in OCaml [1]. The paper is quite accessible if you have some FP background.

[1] https://arxiv.org/pdf/1512.01895.pdf

comment 6y ago · link · parent

I think this partially answers your question: One thing people try to do to "fix" the incompleteness is to just add the Godel sentence as an axiom of the mathematical system. However, each time you do this, you can create yet another new Godel sentence for the new system with the new axiom. Since it's a diagonalization argument, no amount of adding of new axioms can permanently "fix" the system and make it complete -- there will always be new Godel sentence that is true but not provable.

comment 6y ago · link · parent

This git repo is quite out of date. The best place to look for updates is the smlnj website: https://www.smlnj.org/

comment 6y ago · link · parent

Really cool idea! I could definitely see myself using this service when I graduate and have more time.

Out of curiosity, what is player retention like in campaigns? Have you guys considered adding any incentives to keep players coming to the sessions? When I last played DnD, we would always have a ton of fun during the sessions, but it was difficult to keep everyone coming back regularly.

comment 6y ago · link · parent

I vouched for your comment but it looks like you may be shadow banned. Just an FYI -- you might want to email the mods, they're quite nice people.

comment 6y ago · link · parent

Arch Linux Trusted User https://wiki.archlinux.org/index.php/Trusted_Users

49.

What (not so) recently happened in Miri(ralfj.de ↗)

1 points · by Shoop · 6y ago · discuss

comment 6y ago · link · parent

HN copied reddit.

> "[Graham] wanted to make Hacker News a place to recreate the way Reddit felt in the good old days, when most of its community was made up of hackers." [0]

[0] https://techcrunch.com/2013/05/18/the-evolution-of-hacker-ne...

comment 6y ago · link · parent

@dang: Could we get a title change to "How Renormalization Saved Particle Physics"?

comment 6y ago · link · parent

Related fiction: "Universal Love, Said The Cactus Person" [0]

[0] https://slatestarcodex.com/2015/04/21/universal-love-said-th...

53.

Smallest Echo(blog.mandejan.nl ↗)

2 points · by Shoop · 6y ago · 1 comment

comment 6y ago · link · parent

Do you have a link to Linus’s post? Would be much appreciated.

comment 6y ago · link · parent

@dang: Could we get a title change?

Maybe "Carl Bergstrom on data manipulation, fake news, and the importance of using science as a lie detector"

56.

Brief Interviews with Hideous Bots(zerohplovecraft.wordpress.com ↗)

1 points · by Shoop · 6y ago · discuss

comment 6y ago · link · parent

Maybe "Once you deploy, you aren’t testing code anymore, you’re testing systems"? Trying to lift something out of the article instead of writing a new title.

58.

Business Card Neural Network(imois.in ↗)

3 points · by Shoop · 6y ago · discuss

59.

GPT-3 eloquently defends the possibility of Trurl's Electronic bard(mobile.twitter.com ↗)

2 points · by Shoop · 6y ago · discuss

60.

Robpike/Lisp(github.com ↗)

8 points · by Shoop · 6y ago · 2 comments

1234567