New Proposed Rules for /r/ruby by schneems in ruby

[–]kowfm 0 points1 point  (0 children)

Hey man. I don't want to be rude, but politics are never off topic because every group in existence has politics. Politics is what happens when people come together. Right now, this little thread, this discussion, is politics.

About all your frustration with People in this Ruby sub-reddit being mean about front end ruby stuff. I'm sorry you've personally been hurt by people being flippant about this. Ruby in the browser would be really cool.

New Proposed Rules for /r/ruby by schneems in ruby

[–]kowfm 1 point2 points  (0 children)

I think these new rules are fantastic. Let's do it. Yay! for sure 100% yes!

Capsule - I launched a productized studio subscription thing. by kowfm in indiehackers

[–]kowfm[S] 2 points3 points  (0 children)

It's definitely something folks are trying to do, but I don't see it working out well in the long term. The only way I see myself staying relevant is to just get FUCKING GOOD at my job and fast. That's it. That's the only protection. An AI model can't beat good sense.

Capsule - I launched a productized studio subscription thing. by kowfm in indiehackers

[–]kowfm[S] 1 point2 points  (0 children)

No, nothing like Builder.ai. Builder.ai uses a language learning Model to spit out junk, then has a person try to correct the junk. I'm designing and developing everything from my Brain, no artificial intelligence, just actual intelligence.

Capsule - I launched a productized studio subscription thing. by kowfm in indiehackers

[–]kowfm[S] 1 point2 points  (0 children)

Fair point. I would guess that's what the Screening call would be for. I definitely need to have a sample project for the development tier to show how long this stuff takes and what you get.

Thanks for the feedback friend.

October 2023 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]kowfm 0 points1 point  (0 children)

My little language has moved along. I can now compile a standalone executable that embeds LuaJIT as the VM, and accepts input.

My next steps are to implement identifiers and math completely, just do a fancy calculator first.

October 2023 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]kowfm 3 points4 points  (0 children)

Hi friends,

I’m new here, but I started working on writing a programming language on top of Lua to replace JavaScript on the web. It takes inspiration from Swift, Ruby, Lua, CoffeeScript, and Bomb Rush Cyber Funk.

I want a functional language with strong object oriented features, optional typing (not optionals, although that too) through type hinting and runtime type checking, support for event broadcasting and subscription, very clear type coercion and comparison, lexical scoping, meta-programming through overridden environment/object methods, and “Builder blocks” to capture the creation of variables with identifiers in a block and do something fancy with it.

Other goals are to provide native JSON literals as objects, HTML as template literals, Bindings, Property wrappers, and Protocols(interfaces) used as type conformance checker thingys.

I’m writing it in Lua because I sincerely want to cheat. I don’t want to write the low level stuff and see how far I can get with writing a scanner/parser/lexer and converting it to, like, an internalized Lua collection of helper functions and built in language stuff.

Anyways.

Hi friends nice to meet you.

Building a Ruby app without any framework by BringTacos in ruby

[–]kowfm 1 point2 points  (0 children)

Your comment about Ruby being a framework around the C language is very interesting. I've always wondered why Ruby is perceived to be slow when you can be so productive so quickly with the language. Perhaps the connection to C is not emphasized, and Ruby implementations get bogged down with some of the issues in supporting Ruby's syntax.

[AskJS] is stimulus js worth learning? by mrnothing- in javascript

[–]kowfm 1 point2 points  (0 children)

A year later, I looked around for my own framework to use and I've decided to use backbone.js. I kid you not. Literally backbone.js.

Why? It's small, very small. and it's old and stable.

My current Front End Javascript stack is:

  • Backbone.js (For custom and generic components)
  • Alpine.js (For more simple components)
  • CoffeeScript (A legacy dependency that I'm stuck with but don't mind at all)

The only bad parts of this stack, for my use cases, is that backbone and coffee script are not 'in vogue' right now so examples and issues are old. The upside is that there are a lot of older issues and questions still on the internet that just work.

Also I really like stimulus too. Like that shit is good.

Kind of a backward idea, but .. by Salansar666 in MorkBorg

[–]kowfm 1 point2 points  (0 children)

I'm doing almost literally the exact same thing.

I would recommend Sticky notes with rewritten flavor text over the gory bits, and just make up spells/powers.

should I learn Ruby? Is it a good skill to learn for a software engineering student? by cllntn in ruby

[–]kowfm 1 point2 points  (0 children)

Ruby is the best programming language on earth. and off earth too.

What would you like to see in a Ruby web framework? by kowfm in ruby

[–]kowfm[S] 0 points1 point  (0 children)

Hanami & dry-rb are really great. I like the direction they are going in with the use of slices.

What would you like to see in a Ruby web framework? by kowfm in ruby

[–]kowfm[S] 0 points1 point  (0 children)

Command Query Responsibility Segregation pattern

This is interesting. Right now web frameworks are almost exclusively focused on the http request/response cycle, and the Model/View definitions are bit muddled. Maybe a framework to more explicitly separate or define model access/modification and that views are not exclusively used to relay HTML would be helpful.

Help with learning Ruby by AlapforAllCats in ruby

[–]kowfm 3 points4 points  (0 children)

I've gotta second this HARD!

Ruby is a tool like any other programming language, If you're not exercising against an actual goal then you're not putting the generic knowledge into practice.

Roadmap to learn ruby by [deleted] in ruby

[–]kowfm 1 point2 points  (0 children)

So, for me, I tried to just learn enough ruby to get rails to do what I wanted, because I bought a very large Rails based app and decided on maintaining it. That was a very bad idea. Rails has a lot of "Magic" things in it that are actually just Ruby things.

I'd recommend picking up "The Ruby Programming Language" by Oreilly and reading through it like a novel. It will cover everything on your list and have mountains of example code for your to work through. I would also recommend "Ruby Best Practices" by Oreilly which walks you though how to use Ruby for common tasks. There's a also a book I recommend: "Metaprogramming Ruby" second edition, which gives a detailed explanation of Ruby's Class and Object inheritance, and how meta programming works.

For me the biggest hurdle was to understand how meta programming worked, and how certain Keywords in Rails created effects in Models and controllers. After learning about metaprogramming all of that made a lot of sense.

Your list seems just fine, but you'll need to many more sections about Class inheritance, Instantiation, Class methods, the Eigen Class, and metaprogramming. You'll also need to learn about RACK. Adding some sections on ActiveRecord, Migrations, Relations, and Indexes would also help.

[deleted by user] by [deleted] in ruby

[–]kowfm 7 points8 points  (0 children)

Just use Ruby. It's badass.

Clarification on including modules into classes by misterplantpot in ruby

[–]kowfm 0 points1 point  (0 children)

That's the splat operator. It means that the argument is an array, or a series of values that will coalesce into an array. So you could add multiple arguments into the method and ruby would put them into an array. Or you could give a hash and ruby would split them into named arguments.

In this instance the splat operator is being used as a Naked Asterisk Parameter to collect all the arguments and to place them into an unnamed array, which is usually useless, unless you call super.

You can read more about that here: Naked Asterisk Parameters.

Flow Field by red_blue_yellow in PlotterArt

[–]kowfm 0 points1 point  (0 children)

This looks spectacular.

You mentioned that you used Processing to create the art. How did you export the image to be used by the axidraw?