HNHacker News
TopNewBestAskShowJobs

sodapopcan

3,244 karma · joined March 19, 2014

submissionscomments
sodapopcan··on LLMs and Elixir: Windfall or deathblow?
Processes are only overloaded in that they are a primitive. I'm not sure if this is what you're implying, but a single process shouldn't be doing all those jobs at once. For example only supervisors should be dealing with error isolation. As for sending large amounts of data between processes, I can only speak really generally here, but one common way is to flip the script and send functions to the data instead of the other way around but ya, bigger topic! When I say for "free" I mean more like my sibling comment where you don't have to think about every possible way something can fail.
sodapopcan··on LLMs and Elixir: Windfall or deathblow?
In Elixir, it's almost free to isolate the user who caused them (keyword: "almost"... there are no bulletproof solutions). In most other popular languages used for web programming, it's easy for a crash to affect many users without careful thought to prevent it.
sodapopcan··on LLMs and Elixir: Windfall or Deathblow?
> I guess I mean "beam for everything" is a fad.

There is no such fad. The vast majority of seasoned BEAMists will tell you that it is not for everything. There are enthusiasts bringing some surprising stuff to it which is great as it mostly falls into the category of "useful for things users are already outsourcing to other languages." But there is a whole host of things it will just never be able to do and no is pretending that it will.

sodapopcan··on Lua for Elixir
Yes, and the same point should apply to Django from Flask. I think the point being made is that it's not immediately obvious that Elixir does have a microframework in Plug and that is a fair assessment. Just from my own observations this is because there is very little interest in such a thing (it's not zero, but it's low). Most of us have realized that using micro-frameworks leads you to inventing Phoenix/Django/Rails anyway so why not start there? Phoenix especially is pretty lightweight, even with "all those files." I think making Plug more prominent even in the Phoenix docs wouldn't be a terrible idea.
sodapopcan··on Lua for Elixir
> After getting a result you didn't like with AI, did you try refining your prompt to state that you wanted a single-file structure?

I believe the prompt was: "Please compose a backhanded comment about Elixir I can post in a Hacker News thread about an Elixir blog post. The content of said blog post is irrelevant, I just want people to know I prefer Python."

sodapopcan··on Lua for Elixir
Sigh, here we are with people taking what "AI" tells them as law. It's gonna be a fun next-few-years.
sodapopcan··on Time saved by AI offset by new work created, study suggests
I thought you were talking about a Vim plugin. Sorry for taking an interest.
sodapopcan··on Time saved by AI offset by new work created, study suggests
Hello fellow normal Vim user! Is your tool to open source?
sodapopcan··on Understanding the Origins and the Evolution of Vi and Vim
Hard to say, but as it stands, but my view is that that the typical nvim users want Vim as a full-fledged IDE with little effort whereas Vim users still want Vim largely as a text editor. And of course there are already a whole bunch of incompatible differences between them that would only be noticed by the more "power" users I suppose.
sodapopcan··on Understanding the Origins and the Evolution of Vi and Vim
Ohhhh I misread, I thought you were saying you were a year away from switching, lol.
sodapopcan··on Understanding the Origins and the Evolution of Vi and Vim
Vim9script is actually a great language.
sodapopcan··on Understanding the Origins and the Evolution of Vi and Vim
If you follow any discussions around development, it seems the chance of this happening is essentially zero. I feel that they will continue to diverge into completely different editors.
sodapopcan··on Cursor IDE support hallucinates lockout policy, causes user cancellations
"Vibe coding" is the cringiest term I've heard in tech in... maybe ever? I'm can't believe it's something that's caught on. I'm old, I guess, but jeez.
sodapopcan··on Erlang's not about lightweight processes and message passing (2023)
Elixir is still very explicit from a syntactic point of view. Macros allow hiding a significant amount of boilerplate in certain behaviours, though. So it's a matter of preference, of course.
sodapopcan··on Who isn't a big fan of "impartial" news? People who don't have power
Unfortunately… and I say this as someone who is prone to this… the vast majority of people (voters) need and/or want EVERYTHING summarized/explained for them.
sodapopcan··on Why F#?
> But then where are the jobs and which companies care if you write good code?

Oh man, that is poignant :( They always say they do in the job description, but it always a different story once you get there.

sodapopcan··on The Frontend Treadmill
Definitely!

It actually wasn't even THAT bad considering how huge it is. People still complained (admittedly myself included), but it had been TDD'd from the start so had very good test coverage, at least. Also, some people who had worked on really massive Java applications called it "really good!" so it's all about perspective, I suppose :)

sodapopcan··on The Frontend Treadmill
This is covered in the article. They change so much they may as well be new. There are tons of apps out there that have a mix of React class and functional components, for example. And didn't Svelte just make a huge fundamental change to its api?
sodapopcan··on The Frontend Treadmill
It's not that unique. The one enterprise app I worked on (that was started with Rails 1) had all of: Prototype, jQuery, Backbone, Angular, React, Handlebars AND mustache, vanilla CSS, SASS, CSS in JS (or whatever it's called). I wouldn't be surprised if they've introduced Tailwind at this point.
sodapopcan··on Dutch Parliament: Time to ditch US tech for homegrown options
> I don't think people realize how much of the world runs off of excel, especially the financial world.

Most people working in software understand this as a huge chunk of software projects are "let's get these people off of their spreadsheets!"

sodapopcan··on The gem Apple discontinued: the 11-inch MacBook Air (2019)
Don't for the Touch Bar.
sodapopcan··on Gleam v1.9
> Aye, but this is the same as Elixir; it doesn't have full support for OTP and you are expected to use Erlang modules when you want the rest.

Ya that's what I was asking about, mostly the interop. But I can just look it up :). Thanks, Louis!

sodapopcan··on Gleam v1.9
> all three languages implement OTP in "user land" rather than being part of the language

I understand that, but why then is OTP then limited on Gleam? Is interop to Erlang different than it is in Elixir? Elixir doesn't offer Elixir versions of a *lot* of OTP, but its Erlang interop feels quite natural (though not seamless). Can you just farm out to Erlang in Gleam? Does Gleam's static typing hinder this at all? Of course I can look this up for myself, but figured I'd asked here for the benefit of others since you're the author of Gleam :)

sodapopcan··on Gleam v1.9
I'm not fully qualified but in a nutshell, Gleam doesn't support OTP out of the box. There is a separate package for it [0] but it doesn't offer everything, so it depends on your needs. If you're going to be doing heavy OTP stuff you'll need to stick with Elixir. If you want to transpile to JS, then Gleam is the better choice. Otherwise it's up to your tastes around type systems and syntax.

[0] https://github.com/gleam-lang/otp

sodapopcan··on Should managers still code?
> or worked on hard problems because of comments and Git blame.

Oh lord we'd better hope they have absolutely IMPECCABLE git fu if they are going to be using this metric. Unfortunately here on HN I've seen people essentially brag that they only know just enough git to get by and "who cares if I don't know all the other commands deeply." In any event, this scenario REQUIRES that a manager know exactly how to determine who originally introduced something, or, exactly where it was significantly improved if they are going to be reading comments and blaming to see "who performs."

The very fact a manager might be doing this has got me a little worked up, mainly as I know great managers who don't do this and who are scared of something as simple as the reflog.

sodapopcan··on I'm done with coding
They said they worked on indexing and caching.
sodapopcan··on Why Clojure?
Ha, fair enough. Thanks!
sodapopcan··on Why Clojure?
> I know people talk about python being Lisp without brackets

What on earth?? Who are these people, this is the first I've heard of this and am having trouble understanding what the argument could be. Like, basically all languages get transformed to an AST as part of the compile step soooo I guess any language is sort of a lisp.

sodapopcan··on Softmax forever, or why I like softmax
It shows how laid back they are, man.

/s

sodapopcan··on Softmax forever, or why I like softmax
As much as I dislike it sometimes, language absolutely does evolve. Proper capitalization does not fit into this, though. It can completely change the meaning of something if it is not capitalized. It's not just at the beginning of sentences, it's proper nouns within a sentence. Unfortunately I don't have an example of this handy but it's happened to me several times in my life where I've been completely confused by this (mostly on Slack).

This is a merely showing off your personal style which, when writing a technical article, I don't care about.

← PreviousPage 18 of 34Next →