Readit News logoReadit News
thebigkick commented on Ruby 4.0.0 Preview2   ruby-lang.org/en/news/202... · Posted by u/pansa2
shevy-java · a month ago
It is 4.0.0 largely because matz created ruby 30 years ago.

matz is no longer the youngest - although he does look young, he is already 60 years old. He also said he has a retirement plan, e. g. avoiding a situation such as when Guido quit (or semi-quit) from Python (due to fatigue/frustration; Guido is not 100% retired but he is also not necessarily the solo-design-dev either, so it is a bit of a semi-retirement). So we won't know how long matz will be the lead designer of ruby - and who will succeed. Which may be reason to worry depending on who it would be. Imagine DHH takes over - man, there would be an insta-exodus of people ...

So while this release does not have a lot of content as such, one thing that is quite big, even though right now it is not, is Ruby::Box. There are many who don't understand it. The thing is ... I understand the use cases for it. I was not involved in any way with regards to its design, mind you - that was mostly a japanese-group in design. But there are objective use cases for it.

Many years ago I recall on IRC (we oldschool people used IRC back in the pre-discord stone age) some C# hacker said he won't use ruby because there are no strong namespaces, that is, someone else can just overwrite things and then nothing works. Although I think he was a drama guy, and any "danger" to be minimal, objectively he has had a point, simply because ruby had no strong concept of isolation here. Lateron there came refinements. Now refinements are strange, because while I think the use case makes sense, the syntax is strange. Syntax is one huge reason why I do not use refinements; but also because I try to avoid putting my own modifications all over the place, largely because I'd have to distribute that too, and also because modifying core classes, while that has a use, should not be done excessively, IMO.

Ruby::Box kind of builds on that and makes the refinement use case more generic (eventually; I am aware that right now this is not the case but you need a transition stage. Syntax-wise Ruby::Box is also weird, so hopefully the syntax gets easier too, but I instantly understood the use cases. Many people don't, in particular about 95% who demanded a name change away from Namespace to something else, really don't understand the underlying use case.)

Now - making isolated per-project changes is not the only use case. For instance, ractors could be simplified if you know that there are separate ruby processes; ruby threads probably too. These I consider secondary benefits though (and yes, that may be far in the future, who knows; when python removed its GIL though, it put ruby under pressure, aka shape-up-or-go-extinct mode).

One thing I would complain a lot is that on rubygems.org, before RubyCentral went shopify-controlled-only, that people would occupy namespaces. Such as Configuration. I wanted to have a project called Configuration so I can do Configuration.new or Configuration.parse_this_file(). This is possible of course, but when it comes to distributing code, who owns that toplevel namespace? Normally the one who occupied the name first on rubygems.org, sort of. Via Ruby::Box, it should be possible to have ownerships. This could be strong or weak; weak as a hint, aka "psych is owned by ruby core ownershiper but it can be modified", or strong aka making it immutable. Both have use cases. Could also be both. Having this more organized would be really convenient for developers. I would not have to worry whether anyone else uses that "namespace". And of course we need a way to query this state from within ruby code too aka, say immutable:

"If psych is owned by ruby-core, continue to use it."

psych (for yaml) is not a good example here but you can think of any other namespace where you may only want to consider some gems/projects but not others. (Again, the use case may differ between strong and weak ownership, but the thing is that this is an improvement over the prior status quo.)

There are several additional use cases to be had but I'll stop here. What I find strange is that many people who complain, don't refer to the old issues and discussions. We had discussions before refinements were added. About 80% of the people involved, DON'T EVEN KNOW THESE OLD DISCUSSIONS. Either they have dementia, or these are young ruby users who never were active in the old days. It's very strange.

I am not saying all is perfect about Ruby::Box, in particular syntax-wise I'd like improvements, but many people don't seem to understand the use cases, and this is very very strange.

thebigkick · a month ago
Curious, why would DHH trigger a mass exodus?
thebigkick commented on Apps SDK   developers.openai.com/app... · Posted by u/alvis
nicce · 2 months ago
> This means OAI won't need ads.

Ads are defenitely there. Just hidden so deeply in the black box which is generating the useful tips :)

thebigkick · 2 months ago
If you ask it to build a headless frontend web app, it immediately starts generating code with Next.js. I’ve always wondered how it was trained to default to that choice, given the smorgasbord of web frameworks out there. Next.js is solid, but it’s also platform-ware, tightly coupled to commercial interests. I wish there were more bias toward genuinely open-source technologies.
thebigkick commented on Why is there no government-built social media?   loeber.substack.com/p/10-... · Posted by u/loeber
undersuit · 2 years ago
I disagree. Government run social media has no reason to promote engaging(antagonizing) content towards you. You log in, see a post or two from your local, state, and Federal representatives and departments that no longer have to post on a dozen different private social media to disseminate public info and some post from people you have specifically chosen to follow. A chronological feed too, the site doesn't need to keep you scrolling and engaged to view ads.

Open up the API and let people layer their own engagements on top of it.

thebigkick · 2 years ago
Why can't this just be on their website? Not everything needs engagement from the masses.

Also building online communities is incredibly difficult and resource heavy, seeing that we can barely get enough funding for teachers to run their classrooms appropriately would this be the best use of taxpayers money?

thebigkick commented on One Man's Life of No Regret (2009)   synodwithlife.blogspot.co... · Posted by u/keiferski
rawoke083600 · 7 years ago
hey you the south african dude(who is not s.a) and in the sa4x4 mag that i found on reddit 3 weeks ago :) ?? i just keep finding you everywhere ! You in the tech industry or tech background.. that you hangout on hn !? ps where/who do you sell your photos to ?
thebigkick · 7 years ago
I've been following him also...he is everywhere lol.

He mentioned he had a tech job at one point on one of his blog posts.

thebigkick commented on One Man's Life of No Regret (2009)   synodwithlife.blogspot.co... · Posted by u/keiferski
grecy · 7 years ago
I'm just coming to the end of three years driving around Africa, previously spent two years driving from Alaska to Argentina.

Making money is basically what every single long-term traveler is focused on, and I've yet to meet a single one who is actually paying for full time travel while traveling full time. A few of us (me included) get close by selling magazine articles, writing books, selling photos, etc. etc. It's a job, just a really, really fun job.

thebigkick · 7 years ago
I absolutely love your blog (and that Jeep). Been reading it since you started your Africa trip!

Good luck and keep it up.

thebigkick commented on GitHub and Jira Software Integration   blog.github.com/2018-10-0... · Posted by u/joeyespo
regnerba · 7 years ago
Any chance you can suggest a good alternative?

For me its important that it is separate from GitHub for a few reasons:

- having a Jira project means we can easily move issues between projects. This is especially useful for when our support team notices an issue, submits a ticket to our "support ingest" project, and then it can get routed to the correct actual project on the backend. Or when an issue gets misdiagnosed we can move it between projects while keeping a single issue and all the history of it.

- having more complex workflows that allow you to force issues to go through specific steps, trigger webhooks, good fun stuff like that

I really would love a good alternative. Jira has just gotten slower and slower, their UX has gotten worse, and I really would like a good alternative.

However Jira has solid integrations into a lot of places and does a lot of complicated things.

Suggestions?

thebigkick · 7 years ago
I'd highly recommend Asana. Plenty of integration, performant, and the learning curve isn't too steep.
thebigkick commented on How we do Vue at GitLab: one year later   about.gitlab.com/2017/11/... · Posted by u/unnawut
nightski · 8 years ago
The problem is experience in jQuery and even Angular 1 are not relevant to the issue of why React (or even Vue for some) may be perceived as difficult. They use a very different model.

Emacs was very difficult for me when I first started learning it. It was much more difficult than using a simple text editor (and this was with 10 years of programming experience)! Yet I persevered and you know what? After giving it some time and learning it properly I found myself vastly more productive with the tool.

Some things don't lend themselves well to immediate gratification. If the OP provided even a hint as to why React was more difficult for him I'm guessing it's not something with React but rather that he was using two completely different state management solutions.

thebigkick · 8 years ago
Curious, how long did it take before you before emacs was your go-to choice?

I'm a big vi and sublime text user but always open for better tooling.

btw - I actually agree with you on the learning thing but React just sucks. I'm able to get shit done with Vue and at the end of the week I haven't wasted three afternoons learning jsx/webpack/deployment/relearning-a-new-way-of-doing-css blah blah. I say this with some hesitation but CSS is a solved problem in my opinion with Sass.

thebigkick commented on What programming languages are used most on weekends?   stackoverflow.blog/2017/0... · Posted by u/minaandrawos
anotheryou · 9 years ago
"actionscript 3" what? o_O

I thought this is over

thebigkick · 9 years ago
there is a lot of Flash out there in the Ad and Video world
thebigkick commented on Ask HN: What browser extensions do you use?    · Posted by u/silvaben
thebigkick · 9 years ago
Wapperly (I think it's called) shows me what the website/web app is built with, Vue dev tools, Panda.
thebigkick commented on Tell HN: I think you're downplaying the PHP community    · Posted by u/jqueryin
NormlOverrated · 9 years ago
PHP is too easy to get started with and is too popular.

You can even use WYSIWYG tools to create a website, and then proceed to insert small, poorly written PHP scripts in it. Try creating a PHP gig and start looking for developers on many freelance sites - you'll get tons of people who don't even know what the hell a function is, and yet their profile claims they're experienced in PHP.

>Wordpress developers

No offense to actual Wordpress developers, but many self proclaimed Wordpress "PHP devs" I've seen are only capable of installing Wordpress with a few plugins and select skins. Maybe they know how to edit a file or two in a plugin, but that's about it. And when you ask them what language do they use, they'll obviously pick PHP, even though they couldn't code their way out of a cardboard box. This drives the average wage down, but hell, even mom & pop shops need a dynamic website these days, and Wordpress giveth.

In fact, the market really wants Wordpress developers these days. I checked out many freelance sites like freelancer.com and upwork, and there are tons of gigs available for Wordpress, Drupal, Joomla, and shopping cart setups. Hell, I'm currently looking to help out a friend by finding a dev to create a small website in PHP (or any suitable language, don't care), but the local shops only offer Wordpress and Drupal! Won't touch anything else!

Try finding a Python, Ruby, Node or Go shop who will only install scripts/CMSes and customize them. Nope, not yet! But given enough time and popularity, they'll have their fair share or developers who have no clue what the hell they're doing and will drive the average wage down. Just wait.

C/C++ and Java was like that. Since it was a part of most people's college education, everyone and their mom claimed they knew C++ or Java. It was on their resume, even though their knowledge was superficial at best. In my experience, Indian and Pakistani applicants were the worst offenders in this.

thebigkick · 9 years ago
Gdamn this is a good answer

u/thebigkick

KarmaCake day28July 26, 2012View Original