4 ms·
Crystal is also my go-to for writing a quick script to do something.
by sam0x17 5y ago
Crystal is also my go-to for writing a quick script to do something.
- pelasaco 5y agoThe "you should be using Crystal" post is mandatory in any ruby thread. If everyone saying "yes, Crystal" were actually using Crystal, then: a) they would see how far from "better ruby" is Crystal and b) The Crystal community would be huge.
- brigandish 5y ago> they would see how far from "better ruby" is Crystal Are you accusing us both of lying? How strange.
- pelasaco 5y agowould you mind to post your github/gitlab repositories with your Crystal projects? Looking here I couldn't find anyone https://github.com/yb66?tab=repositories&q=&type=source&language=crystal&sort= https://github.com/yb66?tab=repositories&q=&type=source&lang...
- brigandish 5y agoSo you are accusing me of lying, how lovely of you! Let's see if your accusations can hold up to Socratic questioning: - If I haven't open sourced any Crystal projects does that mean I haven't written any? - I have published several Ruby gems[0], when was the last commit or version bump for any of them? You're more interested that I am, tell me. I really should archive them, thanks for reminding me. - You missed off my Gitlab, what was the last public contribution I made there? (hint[1]) - What's the last gem I created? I reckon it's this one that I didn't publish[2] because the Rack team changed a public API in such a dumb way that I'd have to rewrite it and then mucked me around with a pull request to Rack that one of the core team copy and pasted in as their own commit while arguing against the pull. Weird, but lovely people, like yourself. Meanwhile, your cookies lack security. Yes, I want to continue working within this language and ecosystem… Does the sarcasm come through in my writing? - Why did you not check the Crystal repo?[3][4] Github has a search facility. Put my username in, and pick `commits` on the left. - How did you miss the forks of Docopt.cr[5] and Fancyline[6]? They're right there in my public activity log. Did you not see the merges into Fancyline of my code?[7] I have more to give, just trying to find the time. - Did you not see forks with commits such as xattr.cr[8], xdg.cr[9], and Pope.cr[10] - You didn't see I'd provided a project[11] for Mint so it can be run easier with Docker Compose? - Aside from that I have a whole host of changes to migrate.cr[12] still to push up. You can't know that but you might've guessed that I was at least working with that - and all the other forks of Crystal projects I have. That is all public and not the half of the Crystal code I look at. Should I expect an apology? If you were too cowardly to be straightforward with your accusations then I find it stretches credulity far beyond breaking that you could be big enough to provide one. We'll see, like you, I've been very wrong about people in the past. [0] https://rubygems.org/profiles/yb66 https://rubygems.org/profiles/yb66 [1] https://gitlab.com/arctic-fox/spectator/-/merge_requests/34 https://gitlab.com/arctic-fox/spectator/-/merge_requests/34 [2] https://gitlab.com/yb66/aes-gcm https://gitlab.com/yb66/aes-gcm [3] https://github.com/crystal-lang/crystal/pull/11201 https://github.com/crystal-lang/crystal/pull/11201 [4] https://github.com/crystal-lang/crystal/blob/1.1.0/CHANGELOG.md#files https://github.com/crystal-lang/crystal/blob/1.1.0/CHANGELOG... [5] https://github.com/yb66/docopt.cr https://github.com/yb66/docopt.cr [6] https://github.com/yb66/fancyline https://github.com/yb66/fancyline [7] https://github.com/Papierkorb/fancyline/pulls?q=is%3Apr+yb66 https://github.com/Papierkorb/fancyline/pulls?q=is%3Apr+yb66 [8] https://github.com/ettomatic/xattr/pulls https://github.com/ettomatic/xattr/pulls [9] https://github.com/dscottboggs/xdg.cr/pull/1 https://github.com/dscottboggs/xdg.cr/pull/1 [10] https://github.com/yb66/pope.cr/commits/master https://github.com/yb66/pope.cr/commits/master [11] https://github.com/yb66/Mint-Docker-Compose https://github.com/yb66/Mint-Docker-Compose [12] https://github.com/yb66/migrate.cr https://github.com/yb66/migrate.cr
- pelasaco 5y agoSorry, looking through the forks, they are all in sync with master, and most your contributions are small. It is great, nothing against it. The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a better ruby and it comes with it's own set of problems, patterns and etc. So I don't see a point to cite Crystal as option to ruby in every thread about ruby. That's my point.
- brigandish 5y ago> Sorry, looking through the forks, they are all in sync with master I don't think you understand how Git works, which probably explains why you missed all the repos I needed to point out to you. > , and most your contributions are small What have you ever contributed? Show me. > The only thing that I wanted to say is that as soon as you start to work in a real project with Crystal you realize that it is not just a better ruby and it comes with it's own set of problems, patterns and etc. How would you know? Please share the repo in which you found this out. What is a "real" project? > So I don't see a point to cite Crystal as option to ruby in every thread about ruby. You've contributed nothing of worth, not even a specific criticism of Crystal, let alone anything worth knowing about Ruby. > That's my point. Great point.
- pelasaco 5y ago> I don't think you understand how Git works, which probably explains why you missed all the repos I needed to point out to you. LOL, you forked many repositories and didn't push any code. You just proved my point. Just people without experience in Crystal comes to ruby related threads to say "Dude, use Crystal". Happy learning <3
- brigandish 5y ago> LOL, you forked many repositories and didn't push any code. Well, firstly that isn't true, and secondly even if it were true it's a good idea to fork repos you use. So, not only are you: - childish ("LOL", really? This is HN) - lying (always the sign of a strong argument) - unable to search Github effectively You also show bad development practices. Did you not see what happened this week with Colors.js[1]? > You just proved my point. Quite the opposite. > Just people without experience in Crystal comes to ruby related threads to say "Dude, use Crystal". Where is your repo showing your experience in Crystal? Or Ruby for that matter. Money where mouth is time, do you even have a single commit to a project in either language? [1] https://github.com/Marak/colors.js/commit/074a0f8ed0c31c35d13d28632bd8a049ff136fb6 https://github.com/Marak/colors.js/commit/074a0f8ed0c31c35d1...
- brigandish 5y agoI've had so many problems in the past, even on my own machine, writing quick scripts for Ruby that then fail because of clashing versions etc. Being able to produce a binary is nice, or even just using `crystal run`. Btw, I took a look around your Github and found some really interesting projects (yours and others), thanks for replying!