HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hipster_robot

no profile record

comments

hipster_robot
·قبل 5 أشهر·discuss
why is everything broken?

> the top post on hn right now: The Singularity will occur on a Tuesday

oh
hipster_robot
·قبل 4 سنوات·discuss
I enjoy Elixir a lot but it feels like a tool designed for a whole different purpose. I don’t really know what that purpose it. It’s possible that my brain is just not well organized for the way elixir is laid out, but Crystal is so fluid with my brain.
hipster_robot
·قبل 4 سنوات·discuss
> static analysis tooling (eg LSP server) was really slow. Compiling small programs was also rather slow, and it generated large binaries.

Compile times have taken a nose dive in the last couple versions, but I’m not sure about the binary size. I’ve never looked honestly.
hipster_robot
·قبل 4 سنوات·discuss
Windows support has made great leaps forward in the last few releases.
hipster_robot
·قبل 4 سنوات·discuss
A .war file is a Web Application Resource file. It’s a modification of a Jar file which is meant for easy deployment to Java servers.

Anyways the answer is, Crystal can be statically compiled in most circumstances. Last I checked OpenSSL was one of the exceptions, but it’s been a year or more since.

Amber packs all the static assets into the binary, Lucky doesn’t. I would doubt that Marten does. If not, you get your app server in one binary and the front end assets get deployed separately.

Regarding ruby debugging, byebug and pry have been the two approaches for a long time. Pry is a fancy line editor and doesn’t come with a true debugger, but it can be augmented with one. Byebug has full debugging but the interface is a bit archaic. Both work fine with Rails.

Interactive debugging with Crystal is still a bit of a pain, but LLDB works with a little fiddling.
hipster_robot
·قبل 4 سنوات·discuss
Vim for single lines is a strange subset of vim interaction, but it's well documented[1] and works well enough in modern fish.

[1] https://fishshell.com/docs/current/interactive.html#vi-mode-...