Readit News logoReadit News
3by7 commented on LLMs and Elixir: Windfall or deathblow?   zachdaniel.dev/p/llms-and... · Posted by u/uxcolumbo
fernmyth · 3 months ago
Cursor with defaults, I guess mostly `cursor-small`. Typically I write and adjust function names or signatures and let tab-complete draft the code and propagate refactors.

It does mix up Crystal and Ruby, but the compiler catches it.

3by7 · 3 months ago
That matches my experience, so I guess it may be a decent experience for someone new to the language and a bit more frustrating for someone more experienced on it (like me).
3by7 commented on LLMs and Elixir: Windfall or deathblow?   zachdaniel.dev/p/llms-and... · Posted by u/uxcolumbo
fernmyth · 3 months ago
Windfall, for those who want it.

LLMs were fantastic for writing a project[0] in a new, niche language[1]. They help write any missing libraries. They help iterate when I get stuck on language aspects. They explain concepts as well as the median SO post, and much better than the posts that don't exist.

[0] https://github.com/TedSinger/chatfile/

[1] https://crystal-lang.org/ - quite pleasant

3by7 · 3 months ago
Crystal is great! Which LLMs were used in that project? In my short and not very recent experience the LLM frequently mixed up Crystal and Ruby in the code they write.
3by7 commented on Internet Artifacts   neal.fun/internet-artifac... · Posted by u/mikerg87
3by7 · 3 months ago
Missing the "under construction" gif, a visits counter, and... goatse.
3by7 commented on Show HN: Dia, an open-weights TTS model for generating realistic dialogue   github.com/nari-labs/dia... · Posted by u/toebee
DoctorOW · 4 months ago
A little overacted, it reminds me of the voice acting in those flash cartoons you'd see in the early days of YouTube. That's not to say it isn't good work, it still sounds remarkably human. Just silly humans :)
3by7 · 4 months ago
Overacted and silly humans indeed: https://www.youtube.com/watch?v=gO8N3L_aERg
3by7 commented on Phlex for Rails Emails: Action Mailer Without ERB   camillovisini.com/coding/... · Posted by u/camillovisini
dewey · 6 months ago
There's a general pattern of:

    - People inventing new technologies to not write SQL   
    - People inventing ways to avoid writing HTML
I feel like the solution to both of these is just to stick to SQL / HTML as for both of these there's a lot of resources, tooling and knowledge and they will not go away. They are transferable between languages, projects and whatever tooling companies are using.

3by7 · 6 months ago
And

  - People inventing new technologies to not write JS
  - People inventing new technologies to avoid writing CSS

3by7 commented on Mastering Ruby debugging: From puts to professional tools   blog.jetbrains.com/ruby/2... · Posted by u/thunderbong
3by7 · 8 months ago
I missed seeing what the developer experience of the RubyMine debugger would be for this specific problem. Mentioning its advantages is good, but you have the perfect chance to putting it into action in front of your audience!
3by7 commented on Ask HN: Recommend me some silent movies    · Posted by u/Shreesha_Bhan
3by7 · 9 months ago
Nosferatu
3by7 commented on Ask HN: How do you organize and store your cables?    · Posted by u/dr_kiszonka
3by7 · a year ago
As for USB cables, I replaced all of them with a set of decent USB-C cables plus a few sets of “USB-C to *” adapters.

I now have a small box with separate sections for the adapters, plus a zip bag with USB-C cables that takes 20% of the space and fits 80% (and growing) of my use cases.

3by7 commented on Can we take a moment to appreciate the simplicity of Structured Query Language?    · Posted by u/pyeri
3by7 · a year ago
I’m a developer whose experience with SQL is limited to writing basic queries, window functions and combining those with CTEs.

All my business logic is written in a highly expressive language. It’s conveniently easy to read, change, and test.

And still, I’d like to learn how to implement complex business logic within the realm of my database so I can use it when appropriate.

What resources would you recommend for learning and practicing to write business logic in SQL, including good practices and testing?

u/3by7

KarmaCake day167July 22, 2020View Original