HackerTrans
トップ新着トレンドコメント過去質問紹介求人

iomcr

no profile record

投稿

Are there any good Linux CLI tools for generating an ERD?

4 ポイント·投稿者 iomcr·5 年前·4 コメント

3 years of Crystal Lang programming: The good, the bad, the ugly

anykeyh.hashnode.dev
3 ポイント·投稿者 iomcr·5 年前·2 コメント

Show HN: Webapp to Format SQL Queries for Readability

4 ポイント·投稿者 iomcr·6 年前·2 コメント

コメント

iomcr
·4 年前·議論
Since we're on about distribution, I converted a nodejs application to Crystal. The docker containers were 1GB vs 20MB.
iomcr
·4 年前·議論
I've never written a line of ruby in my life. For me, Crystal is an easier and asthetically prettier alternative to rust. It's syntax and type system are superior to golang. It doesn't use a giant VM.
iomcr
·4 年前·議論
> And the people who might crow about "security" - my device, my rules. I can block it on the network if I want.

We've entered a sad dystopia when the manufacturer is the leading security threat to the integrity of my personal devices.
iomcr
·4 年前·議論
But they paid for the $4,000 treadmill, not expecting it to magically become the $400 treadmill.
iomcr
·5 年前·議論
I typically suggest something like your first 25 domains are exempt, registered businesses also get some reasonable amount. Past that there should be a relatively hefty squatting fee. Maybe additional exemptions can be applied for.
iomcr
·5 年前·議論
My first thought, while I don't know the exact rights of the parties involved, they should have filed a complaint with ICANN regardless.
iomcr
·5 年前·議論
While true, a free and open web is generally desirable, and we'd like to keep the barriers of entry for federation to a minimum. If someone was ready to start mycool.forum, but doesn't have $500/yr to start a website, they must now wade through a garbage pile of "minimum $2,000 bid" squatted domains, weird TLDs that could declare your domain premium and charge $400,000/yr at any time, maybe even if the only thing "premium" about the name is that your website got popular, or buy a domain like themycoolforum50.com.

This might be only one managable issue, but these things add up, and the more they add up, the more facebook becomes the only website people use.
iomcr
·5 年前·議論
Was it {firstname}{lastname}.gtld or only one of those?
iomcr
·5 年前·議論
I do have a complaint about relatively new TLDs. Did you know .forum domains are $500 to $2000 per year?

We live in a world where everybody is complaining about censorship and nazis, but one of the best new TLDs for an independent forum is prices out 99% of the market!

Of course, there are plenty of TLDs in the $5-$20 range, which are great, but this will cause cheap TLDs to become crowded and .forum will be a ghost town.

Forums generally don't make money. Any forum making money, probably isn't making enough to budget $500 extra in another domain. Any company that would say "wow, $2000/year is acceptable" would already have something like {forum,community}.acme.com.
iomcr
·5 年前·議論
This is awesome, I'll probably try it out soon.

My primary use case is that I don't want my end user(s) to know the IP address of my core application.

But, the option to pay someone other than AWS/GoogleCloud and then have to write my own lambdas is also a plus.

Something similar, but for "fetch metadata on this URL" (tags, description, title, etc), version 2 of that being support for when the end target is an SPA, or also a "take a screenshot of this URL" would also be nice.
iomcr
·5 年前·議論
This is pretty cool. Is it opensource? What stack is it built with?
iomcr
·5 年前·議論
> Ruby 3 does static typing

Categorically, what I've seen of this falls closer to "lintable comments" than it does "actual static types". Static types are a foundational aspect of crystal, it's not like a sticker slapped on as an after thought.
iomcr
·5 年前·議論
Reality: Kotlin's value proposition is android development.
iomcr
·5 年前·議論
Sounds like a fair compromise when the alternatives includes at least one of the following tradeoffs: harder, less safe, and/or slower.
iomcr
·5 年前·議論
That doesn't stop 99% of the mind share and language design from being "Java with lipstick".
iomcr
·5 年前·議論
> Python is usually fast enough when not using python

Agreed.
iomcr
·5 年前·議論
Crystal does a better job with making portable binaries. For example I have written an app that's a 20MB alpine docker container. A comparable app written in Elixir used an 800MB alpine docker container.

I think Elixir is one of crystal's top competitors, but only for servers. Probably you'd never leave Elixir to write a webserver in Crystal. That's just Erlang's specialty. You would leave golang, Ruby, python, PHP, etc. for crystal though, because of the type system, performance, threads, binary, etc..

I've actually started using crystal to write the kinds of scripts people would normally use python for, despite it not being a scripting language.
iomcr
·5 年前·議論
https://stackoverflow.com/questions/28582935/does-http-2-mak...
iomcr
·5 年前·議論
I feel like websockets get waaay too much hype and attention compared to SSE, especially for use cases that are barely interactive at all.
iomcr
·5 年前·議論
A similar list for free to use bootstrap 4/5 themes (like https://bootswatch.com/ but I already know about bootswatch) is in my wishlist.