Hacker Newsnew | past | comments | ask | show | jobs | submit | hipster_robot's commentslogin

why is everything broken?

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

oh


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.


> 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.


Windows support has made great leaps forward in the last few releases.


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.


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-...


We can only hope this becomes a more widely adopted practice. Vehicle computer security, especially when it relates to self driving Autos, needs way more attention to operational security than it has been given.


Apple-centric resolutions. I can tell by the pixels.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: