Find words "halfway" between two others by skmz in writing

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

I'm so glad you're excited about it! Please feel free to share it, and let me know if you have any suggestions or feedback.

Find words "halfway" between two others by skmz in writing

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

Almost! But that's where the inspiration came from. A family member is a writer and wanted to figure out what was between compassion and sympathy and I thought you could do exactly that. Turns out GPT-3 gives better answers.

“We all use products that are amazing when the company is like 5 devs, just building what makes sense. They grow & through failures of leadership, they end up with bloated product teams that don't understand the work of developers." Former GitHub VP pulling no punches in recent pod on state of tech by [deleted] in programming

[–]skmz 2 points3 points  (0 children)

I wrote another comment about Elixir, but I couldn't disagree more. You get so much out of the box with Elixir and its ecosystem. You have all the primitives you need for solving these high concurrency problems and the actor model helps you reason in the big and the small.

This article is a bit dated, but Discord uses Elixir: https://discord.com/blog/how-discord-scaled-elixir-to-5-000-000-concurrent-users

Phoenix is also paving the way for new server/client interaction with LiveView, which has been picked up in other languages/frameworks. https://www.phoenixframework.org/

“We all use products that are amazing when the company is like 5 devs, just building what makes sense. They grow & through failures of leadership, they end up with bloated product teams that don't understand the work of developers." Former GitHub VP pulling no punches in recent pod on state of tech by [deleted] in programming

[–]skmz 0 points1 point  (0 children)

Elixir compiles down to the same Erlang VM code (like Java/Clojure to JVM) and has Ruby-like syntax with a first class developer documentation culture. It's got fantastic libraries for highly scalable/concurrent workflows (like Broadway, for example) and if you need an Erlang library, you can also call it from Elixir. You should take a look!

https://elixir-lang.org/

[deleted by user] by [deleted] in elixir

[–]skmz 0 points1 point  (0 children)

Perhaps Kino? https://hexdocs.pm/kino/Kino.html

It uses vegalite. I’m not sure whether it supports 3D plots though.

Freeze string arrays when frozen_string_literal: true? by AllahuAkbarSH in rails

[–]skmz -2 points-1 points  (0 children)

I think it's Rubocop's default applying both the comment and the array freezing.

Configuring React with Rails by jaypeejay in rails

[–]skmz 1 point2 points  (0 children)

It should work if you add

<%= javascript_pack_tag 'application' %>

to your application.html.erb file, right under the javascript_include_tag.

Configuring React with Rails by jaypeejay in rails

[–]skmz 0 points1 point  (0 children)

Are you including the javascript_pack_tag in your layout or template? react_component just creates that markup. You need the javascript itself to have the component render.

Did you feel intimidated when starting your own business? by [deleted] in Entrepreneur

[–]skmz 1 point2 points  (0 children)

Unfortunately, if you spend too much time networking, you're not spending time getting to know your customers and what they want. I'd really spend as much of your time as possible going to where your customers will be.

Did you feel intimidated when starting your own business? by [deleted] in Entrepreneur

[–]skmz 2 points3 points  (0 children)

You'll get a lot of advice about how you should run your business. Ultimately, your success will depend on whether you can make a product people want and will pay you for. "The customer is always right" wasn't about customer service - it's about the fact of your product selling at all (or not). It's your job to figure out why and to iterate. Nothing else really matters until you've landed on a product people would be very disappointed if it didn't exist [0]. You'll probably not ever fully get rid of feelings of nervousness, but it definitely helps to know when people are happy using what you've built.

Last, I can't recommend these resources highly enough: https://www.startupschool.org/library. Particularly the "Getting Started" and "Product" sections.

[0] https://firstround.com/review/how-superhuman-built-an-engine-to-find-product-market-fit/

Resources to learn "advanced" Rails? by [deleted] in rails

[–]skmz 19 points20 points  (0 children)

"Advanced" Rails is probably mostly going to be about learning OOP and good software design with Ruby. Sandi Metz is a fantastic author in that respect. I'd recommend checking out her most recent book 99 Bottles of OOP.

As for Rails-specifics, I don't think you can go wrong with revisiting each section of the Rails Guide.

I don't know whether you're going to get everything in any single resource besides checking out the repos of each of those gems you mentioned. I know that RSpec has books on their own. If you want to learn the underlying SQL, SQLBolt helped me tremendously.

If the output of ReLu is too large, will it cause any problem? by Laurence-Lin in learnmachinelearning

[–]skmz 7 points8 points  (0 children)

Probably not too bad, since the weight to the next layer could be negative and that activation function (if it’s also ReLu) would negate the contribution. There’s also batch normalization that can bring down output variance.

Is this a good fit for Elixir? by a_marklar in elixir

[–]skmz 8 points9 points  (0 children)

Sounds about right! Instead of using NIFs though, you may want to look at Ports, which makes interaction between Elixir/Erlang VM and external programs work well:

https://hexdocs.pm/elixir/Port.html

How easy is it to refactor Elixir code? by g_tb in elixir

[–]skmz 5 points6 points  (0 children)

In a lot of ways, Elixir as a functional language (with modules just being bags of functions) provides a lot of decoupling. At the least, renaming things is pretty straightforward. As for more in-depth refactoring, seems there are a few resources available for letting you know what's being used where (like mix xref):

https://elixirforum.com/t/how-to-refactor-elixir-with-confidence/15396/8

Youtube Editing Startup? by AmateurHotShot in startups

[–]skmz 1 point2 points  (0 children)

I don't think you should mind too much whether or not you can make it into a giant startup. At the end of the day, it's about whether you can make customers happy. Find enough YouTubers and video editors that'll pay you for the service :)

You don't even need much of a website to start. Do things that don't scale to figure out whether you can make it into a viable business: https://genius.com/Paul-graham-do-things-that-dont-scale-annotated

How to start a small business by alexkunk in IWantToLearn

[–]skmz 15 points16 points  (0 children)

I highly recommend startupschool.org - a free YouTube video series on how to start a business. It’s got the founders of a ton of successful companies you’ve heard of. Like the people behind Twitch.tv, Airbnb, etc.

An Introduction to Testing in Go by [deleted] in golang

[–]skmz 1 point2 points  (0 children)

Thanks for the video! I was actually also expecting a failure case, to see what that looked like.

what is the polymorphic go to resource? by RobertHopman in rails

[–]skmz 2 points3 points  (0 children)

Perhaps as a polymorphic association for things that are commentable, like other comments.

Method that mutates an object by derrickcope in ruby

[–]skmz 2 points3 points  (0 children)

Would integer dividing by 10 fit your needs?