Readit News logoReadit News
jessym commented on Node.js adds experimental support for TypeScript   github.com/nodejs/node/pu... · Posted by u/magnio
yamumsahoe · 2 years ago
btw if anyone is looking to run ts on node, there is tsx. there is also ts-node but i prefer tsx.

https://github.com/privatenumber/tsx

jessym · 2 years ago
I second this. The tsx library is zero config and always "just works" in my experience, which puts it miles ahead of ts-node, imo.
jessym commented on 37signals Introduces "Once" - Buy software one time   once.com/... · Posted by u/pgm8705
agloe_dreams · 3 years ago
This is great until a company starts making file formats completely incompatible with back versions, making it impossible to use with friends or anyone else. Oh or when they just change the plan to subscription only anyways.

I'm looking at you, Sketch.

jessym · 3 years ago
Is Sketch subscription only? I had it on my list to purchase because I thought they offered a perpetual license.

But you're right, now that I'm reading the FAQ on their pricing page, I'm finding it really confusing:

"""

Q: Is Sketch only available as a subscription?

A: No. You can still get a Mac-only license for $120 yearly [sic] if you don’t need the web app and only want to use the Mac app to design. (...)

"""

Their answer seems rather contradictory. Does anybody know whether they offer perpetual licenses or not? Or know of a competitor who does?

jessym commented on Ask HN: How to learn about network programming (in Rust)?    · Posted by u/jessym
sn9 · 3 years ago
There's a bit of network programming in Programming Rust. You can check the table of contents to see if it's what you're looking for.

https://www.amazon.com/Programming-Rust-Fast-Systems-Develop...

jessym · 3 years ago
Thanks, will check it out!
jessym commented on Ask HN: How to learn about network programming (in Rust)?    · Posted by u/jessym
arthurcolle · 3 years ago
GPT-4 is significantly better than GPT-3.5-turbo. Do not use GPT-3.5-turbo outputs as your benchmark for the utility of the more advanced models! :) Especially when used for LLM Agents, or any kind of harder question.
jessym · 3 years ago
Got it, thank you so much!
jessym commented on Ask HN: How to learn about network programming (in Rust)?    · Posted by u/jessym
arthurcolle · 3 years ago
Totally not an OpenAI shill or anything, but based on your question and this specific type of QA stuff, here's my advice: spend the 20 bucks on ChatGPT Plus to get GPT-4 access - it is an invaluable learning tool for questions such as these.

For example, with your specific question: https://chat.openai.com/share/0d922193-b9b6-4d51-85e8-d31c05...

Zero-shot correct solution to the example query. Based on your question, you could even just say "Can you explain X based on Y info that I found in the docs without writing a solution" if you truly just want to learn about the topic. Then with some iterative refinement of the results over a few back and forths, you can learn about the concept without necessarily having it write the code for you. Cheers!

jessym · 3 years ago
This is pretty good!

I've been trying to have the free GPT-3.5 explain me things, but the results were a bit mixed (I caught it making a few things up earlier). But I might give GPT-4 a try, thanks!

jessym commented on Ask HN: How to learn about network programming (in Rust)?    · Posted by u/jessym
arthurcolle · 3 years ago
Is there something about the std::net documentation that you find difficult to grok? https://doc.rust-lang.org/std/net/

Other than that, I wrote this blog post about some useful specific Rust resources: https://world.hey.com/arthurcolle/some-useful-rust-resources...

Not a Rust expert, just someone that wrote a useful crate or two.

jessym · 3 years ago
Thanks!

I'm definitely going to have a look at some of the resources from your blog post.

With regards to the standard documentation: I notice that I'm able to read the sentences, but I'm finding it a bit difficult to really turn it into a working project I actually understand.

(For instance: the docs give an example of how bind to a socket address, but I'm not sure how to morph this into a simple echo server, for example, which writes back whatever I sent to it. Feels a bit like I might be missing some general information about TCP and how to test it, how it relates to HTTP, etc.)

u/jessym

KarmaCake day131March 13, 2018
About
www.jessym.com
View Original