Live data from Hacker News

Ask HN: What are you learning?

news.ycombinator.com

881–890 of 906 posts

Re: Ask HN: What are you learning?

#881
I am learning how to build a modern computer from parts. I last built one in 2001.

I have been working on a course to teach kids how to learn programming with Scratch. I want to learn more of the Adobe CC suit to add more effects to my videos.

I want to learn how I can improve my remote skills to better work with my team.

Re: Ask HN: What are you learning?

#882
post #647
post #639

Earlier quoted context omitted.

Haskell. To do io you need monads. There's come from category theory. Haskell is great fun to learn, very different, focus on abstractions and abstractions of abstractions. One the one hand i highly recommend it. On the other the vast majority of people learning it never do any useful work at all in haskell. (This last statement will probably excite the haskell zealots whom I would encourage to reply with evidence.)…

As a great fan of Haskell myself, I would clarify that Haskell needs monads because of the (pure functional) restrictions it sets for itself, not because I/O itself fundamentally requires explicit monads. (Haskell itself supposedly used a lazy-list approach to input and output before monads caught on -- something like `main :: [Response] -> [Command]`, I think.) That being said, when you explicitly model side effects…

This statement that you made—about side effects requiring monads—do you know a proof for that?

I come from the other side, Milewski's book is to me "Functional Programming for Category Theorists".

Re: Ask HN: What are you learning?

#883
I've always had an interest in computer graphics, but never studied it in school. I found Jamis Buck's _The Ray Tracer Challenge_[1] and got totally hooked on creating a ray tracer. The book walks you through creating everything from scratch, starting with matrix multiplication all the way up through reflection/refraction and rendering (a useful subset of) OBJ files. The book gives you test cases in cucumber one at a time, and when the tests pass you have a new feature! It's super addicting. I've been learning Rust while going through it, too (repo: [2]). There's a forum associated with the book where people share images they've created and ask for help, and it's fun to see what other people have tried or what languages they're trying to learn while going through the book.

I've enjoyed learning a programming language at the same time as learning an interesting subject so much that I plan on repeating it!

[1] http://raytracerchallenge.com/ [2] https://github.com/garfieldnate/ray_tracer_challenge

Re: Ask HN: What are you learning?

#884
post #647

Earlier quoted context omitted.

As a great fan of Haskell myself, I would clarify that Haskell needs monads because of the (pure functional) restrictions it sets for itself, not because I/O itself fundamentally requires explicit monads. (Haskell itself supposedly used a lazy-list approach to input and output before monads caught on -- something like `main :: [Response] -> [Command]`, I think.) That being said, when you explicitly model side effects…

This statement that you made—about side effects requiring monads—do you know a proof for that? I come from the other side, Milewski's book is to me "Functional Programming for Category Theorists".

Nope, no proofs :) Formalizing questions like this is one reason why I'm interested in category theory, so I don't think I have the tools to dig into this right now. But... "side effect" literally maens it doesn't show up in a normal input/output function signature, and in a pure functional language like Haskell, there are no side effects. Monads are a particular way of explicitly capturing side effects as a "separate" kind of thing from the function output using a particular species of functor.

I suppose my statement was a bit strong in that regard. Monads tend to arise very often in the way we build systems, but that doesn't mean they're the only way to cope with side-effects. It does seem likely that any way to capture "alternate outputs" from a function will end up looking like A -> T(B) in some category, though.

(Incidentally, if "A -> T(B)" looks funky, think about polynomials `f(x)` -- the function symbol `f` is just a placeholder for some expression involving the free variable `x`. Could be `A -> (B, String)`. The monad laws only make sure you have some foundation for reasoning about the extra type structure being added in by `T`.)

Re: Ask HN: What are you learning?

#885
post #65

Earlier quoted context omitted.

I do in-house marketing and digital marketing. What challenges are you facing? (I don't have a course to sell you and my services are not available for hire.)

Thx for asking. oo, where do I start ? I guess setting up an overall strategy before any actual tactical execution. We do close to 1M in revenue already and have inbound traffic already but I got to this point somehow without any real planning. We write a few blog posts, content etc, got social profiles where we post, were lucky to get a few great backlinks and have built some relationships with influencers in our in…

Start by choosing a definite objective. Something obvious and unavoidably precise. Do you want to help more people, or the same people more? If the former, set a new users objective. If the latter, set a lifetime customer value objective. How will you measure success? Good objectives include both quantity and quality metrics.

Choosing a meaningful and definite objective is the second hardest part of marketing.

The hardest part is talking to customers.

You'd like to buy some more customers, right? So do some research. What kind of customers do you want? How much are you willing to pay? Where can you get a great deal on them right now?

Many business owners spent more time researching lunch options last year than customers. Why?

What's the most obvious way to get more or better customers? Spend 45 minutes writing down every idea you can think of. Every single idea. You'll get through the fluff after about 25-30 minutes.

Then find the options that use your existing strengths, preferably in a non-obvious to your competitors way, and turn them into a story.

That's your strategy.

Do those things and see if they get you closer to your objective. And move fast.

Try big things, don't tolerate slow learning, and remember that you learn from reflecting on experience, not thinking about tools and techniques.

Let me know how it goes!

Re: Ask HN: What are you learning?

#886

I'm learning how to make tacos starting with the tortilla. I'm originally from San Diego and have always missed Mexican food whenever I moved abroad. On a recent trip back to San Diego, I went to over a dozen Mexican shops to find particular flours to create tortillas from. I also went to Mexico twice just to find a specific brand of soft wheat flour. In total I think I experimented with atleast 5-6 different flours…

Would you mind sharing some (or all) of your findings? I've never been to that part of the world (based in Europe) but been planning to prepare home made tortillas since last week. I'm struggling to find such in-depth insights on how to perfect the meal.

Re: Ask HN: What are you learning?

#887
post #708

Earlier quoted context omitted.

Would you mind sharing your tortilla recipe and/or pointers?

For sure, I mostly watched the Taco Chronicles Carne Asada episode on Netflix about 20x haha but here's a link to a similar recipe https://cooking.nytimes.com/recipes/1019621-sonoran-style-fl... however here's the gist of what's been working well for me so far since I love flour tortillas more so than corn: Current recipe 130g flour 80g hot water (steaming) 35g lard 1g salt Twice as much baking powder as what you see…

Thank you, it's just what I happened to be looking for!

For those of us in Europe can you recommend your choice of flour (and perhaps some other replacement ingredients)

Re: Ask HN: What are you learning?

#888

Earlier quoted context omitted.

For sure, I mostly watched the Taco Chronicles Carne Asada episode on Netflix about 20x haha but here's a link to a similar recipe https://cooking.nytimes.com/recipes/1019621-sonoran-style-fl... however here's the gist of what's been working well for me so far since I love flour tortillas more so than corn: Current recipe 130g flour 80g hot water (steaming) 35g lard 1g salt Twice as much baking powder as what you see…

Thank you, it's just what I happened to be looking for! For those of us in Europe can you recommend your choice of flour (and perhaps some other replacement ingredients)

Maseca. It's the same as they use in Mexico, and happens to be produced in Italy.

Get it at your local delicatessen, or your local Hyper Market.

Re: Ask HN: What are you learning?

#889
post #654

Norwegian! Originally, I was going to do a hiking and photography tour of Fennoscandia in the Fall. I'm not sure if that'll still come to pass with the ever-looming collapse of society, but at least it's pretty refreshing to learn a new (non-programming) language for the first time in over a decade, and for the first time in my adult life.

I am a native Norwegian speaker! How is it going so far?

I'm slowly going through the Duolingo tree :)

Went into it with pretty much zero knowledge of the language, and the thing that caught me most off-guard were some of the non-phonetic spellings, like _jeg_ and _kjøpper_, but else the actual grammar is similar enough to English that it's not causing too many issues!

Re: Ask HN: What are you learning?

#890
post #296

Django. I'm building a side project to help learn it. I've been wanting to spend more time on side projects and now seems like a good opportunity to dive into them.

What are you making? I like django, seems easier initially than something like PHP-Laravel

I'm building a web app that gives suggestions on what activities people can do during quarantine / at home. Getting Django set up and working was pretty straight forward. I think the only difficult part was dealing with the dependencies and the python versions.
Post reply on HN