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

I decided to start learning Zig this past week, and typing in "zig book" to a search engine led me to that project. After a handful of pages, I had no clue what was going on and couldn't follow it (that said, I am new).

I quickly found https://ziglang.org/learn/, and the guide is great. For ziglings, make sure you're on the latest dev build (as it says in the README)! (Edit: or get the tagged release for the version you have!)


I went down the same path last week, and found Zigbook to be a very poor resource for learning. +1 for ziglings, that's been my favorite so far

For what it's worth, I recently played the 25yr release of Half-Life on Macbook Pro M1 using Parallels with Windows on Steam. I re-played the entire game over a few months, and it was a really great experience.

It's disheartening to hear that such an excellent game was kept from entire platforms because of what happened in that story.


RailsCasts was an incredible help in my early web career, and I was so so grateful for the time and effort that went in to each episode. I've wondered about this story for years, and it's wonderful to see this story start to get told. I hope Ryan is doing okay and in a good place!


Wow, I'm horrified that the post was received this way. How did it make you feel bullied? Was this because of it using imperatives with "do" and "don't"?

edit: the real-talk takeaways at the end are worth reading, I think (I'm biased, though)


That's an interesting point. When I taught, I took this same approach — thanks for reminding me of it.


This originated as a fun talk at the Auckland Functional Programming meetup. Given there is so much "here's how to get your team into FP" content out there already, this felt like an engaging approach and was a nice talk to share with folx.

I disagree that it's annoying and click baity — else I wouldn't have went to all the effort — but if it's not for you, it's not for you.


Obviously my original comment was meant to be read as the opposite of what I said, given the tone. Since there’s so many other comments out there heaping praise this felt like a more engaging approach. Though I guess if you’re not paying close attention you’d dismiss it as negative intent.


Ah, I missed it — probably because I haven't seen any of these "heaping praise" comments yet


I'm with you


TS and Elm were included in a "Don't have static type checking" section, alongside Flow, ReasonML, and a blank space for all the others. The point I was going for was that there are numerous options for static type checking for the web out there.


Sure, but I still don’t think they’re equivalent. Not all type systems are created equal, and TS has to work under a wildly different set of constraints (like escape hatches) than Elm does.


It's hard for me to tell if your account is a joke or not because of the "yakshaving" part, so I'll respond as if it isn't.

I totally agree with you! I can't say that conversation belongs alongside this post, though.


I appreciate that you assumed good faith. For what it’s worth, “yak shaving” is an analogy to what programmers often find themselves spending their time doing.

https://seths.blog/2005/03/dont_shave_that/


That's really weird, and I'm sorry that happened. I'm on Firefox Developer Edition on macOS, and it displays inline for me, but that could be my settings.

I'll take a look at using an embed tonight. Thanks for the feedback!


> I'm on Firefox Developer Edition on macOS, and it displays inline for me, but that could be my settings.

I looked into it and it indeed is the settings!

To reproduce the behavior, you'd go to General > Applications, then find PDF and if it's set to "Open in Firefox" then it will render inline, whereas if it's set to any of the other options, then it won't:

  - Open in Firefox: will show the PDF inline, which is probably your setting
  - Always ask: opening the webpage will result in a prompt for what to do with the PDF
  - Save file: will always download it
  - Use OS default application: will download it and then open it
This doesn't seem to be the case with the alternative approach, which just renders it inline always (when the browser in question supports the functionality), though this is definitely a bit of interesting behavior otherwise!


The fix for this is going out right now, and I gave you and your original comment credit in the article. You rock!


I'm doing it wrong! Thanks for looking into this. I will 100% fix this.


well, embedded pdf on iOS looks like a single image of the first page with no ability to scroll or interact in any way, not even select text.

so a text-link outstide of noembed would be a nice alternative anyways, i bet it will be better for screenreaders too


Since this was originally posted, the inline PDF is hidden an replaced with a link on smaller screen sizes.


Should be fixed now. Sorry about that


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

Search: