News for hackers. Stuff that matters.
Re:Brex – A Message from Pedro [Layoffs of 11%] by ch4s3 on Tuesday October 11, 2022 @10:23PM (#33171994)
So they had:

lay-offs 2 years ago

Switched tech stacks 11 months ago to among other things be able to hire more devs

Acquired Pry for $90 million 6 months ago

Were tossing out long standing customers 4 months ago

and now they're having lay-offs again.

Quite the ride...

Re:Brex – A Message from Pedro [Layoffs of 11%] by kevin_thibedeau on Tuesday October 11, 2022 @10:48PM (#33172157)
MBAs have hopped on the agile bandwagon. Business plan? That's not scheduled for this sprint.
Re:Brex – A Message from Pedro [Layoffs of 11%] by formerkrogemp on Tuesday October 11, 2022 @11:01PM (#33172255)
No business sense? Probably a software "engineer" in charge wanting to be the next Steve Jobs.
Re:Brex – A Message from Pedro [Layoffs of 11%] by ch4s3 on Tuesday October 11, 2022 @11:52PM (#33172617)
We do LEAN and “agile” where I am now, and if you can’t explain how your work makes it saves money you’ll be gotten up to speed on that quickly. Our business folks are very sharp and focused, and tech tries to match that, in a good way.
Re:Brex – A Message from Pedro [Layoffs of 11%] by kevin_thibedeau on Wednesday October 12, 2022 @01:14AM (#33173145)
Nickel and diming all business decisions is a great way to run the whole thing into the ground.
Re:Brex – A Message from Pedro [Layoffs of 11%] by necovek on Thursday October 13, 2022 @12:07AM (#33187114)
Isn't the goal of any business to make money?

Saving some should be in the service of the former, and only as one of the tools in your arsenal (obviously, creating a product or service people would pay for should be the first).

Re:Brex – A Message from Pedro [Layoffs of 11%] by adamnemecek on Tuesday October 11, 2022 @10:48PM (#33172160)
What stack did the switch from/to?
Re:Brex – A Message from Pedro [Layoffs of 11%] by throwawaymaths on Tuesday October 11, 2022 @11:06PM (#33172284)
Elixir to kotlin
Re:Brex – A Message from Pedro [Layoffs of 11%] by 29athrowaway on Tuesday October 11, 2022 @11:10PM (#33172314)
Elixir to Kotlin

https://medium.com/brexeng/building-backend-services-with-ko...

Note that Brex founders are Brazilian and the Elixir author is Brazilian.

Re:Brex – A Message from Pedro [Layoffs of 11%] by okdood64 on Tuesday October 11, 2022 @11:36PM (#33172493)
Are you suggesting that Japanese founders might be more likely to use Ruby?
Re:Brex – A Message from Pedro [Layoffs of 11%] by adamnemecek on Tuesday October 11, 2022 @11:36PM (#33172497)
They definitely are.
Re:Brex – A Message from Pedro [Layoffs of 11%] by ch4s3 on Tuesday October 11, 2022 @11:53PM (#33172624)
Not only that, but a number of Brazilian banks use Elixir.
Re:Brex – A Message from Pedro [Layoffs of 11%] by Apocryphon on Tuesday October 11, 2022 @11:58PM (#33172660)
Missed opportunity to use Lua with that logic.
Re:Brex – A Message from Pedro [Layoffs of 11%] by ch4s3 on Wednesday October 12, 2022 @12:13AM (#33172752)
Lua is pretty nice, especially if you can use the JIT. I think there were some elixir consultancies in Brazil other than Plataformatec that did a lot of work in finance so it spread around.
Re:Brex – A Message from Pedro [Layoffs of 11%] by borski on Tuesday October 11, 2022 @11:59PM (#33172669)
This sounds like a sarcastic question, but it’s actually true. Japanese founders are more likely to use Ruby.
Re:Brex – A Message from Pedro [Layoffs of 11%] by langsoul-com on Wednesday October 12, 2022 @02:18AM (#33173510)
I wonder if that's because the docs better Japanese support.

I think it was Toyota that made English mandatory for their dev division. Just because of the tools and docs are on English.

Re:Brex – A Message from Pedro [Layoffs of 11%] by okdood64 on Thursday October 13, 2022 @11:05AM (#33192024)
Oh definitely wasn't supposed to be sarcastic. I Googled around a bit and couldn't find much.
Re:Brex – A Message from Pedro [Layoffs of 11%] by yasinaydin on Monday October 17, 2022 @04:52AM (#33231181)
I think for the same reason Vue.js is more popular in China than almost anywhere else. Chinese was also the only non-English docs language at the beginning.
Re:Brex – A Message from Pedro [Layoffs of 11%] by icelancer on Wednesday October 12, 2022 @12:10AM (#33172741)
What? This is just actually true.
Re:Brex – A Message from Pedro [Layoffs of 11%] by NhanH on Tuesday October 11, 2022 @11:14PM (#33172345)
I'd love to see the internal explanation on how hiring kotlin for BE devs is easier than hiring elixir devs.

That's like trying to pivot from finding unicorn to finding pegasus.

Re:Brex – A Message from Pedro [Layoffs of 11%] by RhodesianHunter on Tuesday October 11, 2022 @11:25PM (#33172429)
Hiring Kotlin devs is easy because you can just hire open minded Java devs.
Re:Brex – A Message from Pedro [Layoffs of 11%] by TillE on Tuesday October 11, 2022 @11:33PM (#33172477)
Seriously, there are so few circumstances where a good developer absolutely requires deep experience in a specific language (or framework) on day one. Smart people can learn, and they can learn pretty quickly if it's not radically different.

I'm currently doing a ton of C# work and it's great - my relevant professional background is basically all C++, with some Java in the very distant past.

Re:Brex – A Message from Pedro [Layoffs of 11%] by RhodesianHunter on Wednesday October 12, 2022 @12:09AM (#33172726)
I think it really depends. If all you're doing is slinging JSON over an API then sure.

If you're dealing with concurrency and distributed systems at medium to high scale you really want your senior people to be familiar with the language.

Re:Brex – A Message from Pedro [Layoffs of 11%] by jonathankoren on Wednesday October 12, 2022 @12:16AM (#33172777)
Yeah, but you don't need that many to start. That knowledge will spread rather rapidly to where it's needed.
Re:Brex – A Message from Pedro [Layoffs of 11%] by egeozcan on Wednesday October 12, 2022 @01:42AM (#33173318)
But that has also the danger of forming islands (mortgage code) which can be maintained by some (or, one) specific engineers.
Re:Brex – A Message from Pedro [Layoffs of 11%] by jonathankoren on Wednesday October 12, 2022 @10:56AM (#33177893)
That can be mitigated by hiring senior engineers that understand engineering leadership, and having competent engineering management to specifically encourage knowledge transfer.

It’s not really that hard.

Re:Brex – A Message from Pedro [Layoffs of 11%] by FpUser on Wednesday October 12, 2022 @12:55AM (#33173022)
>"If you're dealing with concurrency and distributed systems at medium to high scale you really want your senior people to be familiar with the language."

I've written my first application level thread/concurrency library for DOS in the 80s. So you can count me as experienced. In my opinion as long as one is senior developer and knows the subject language does not mean fuck all as long as it adequate and language / libraries support needed primitives. I've written distributed middleware with multithreading / concurrency in many languages including ones I did not know before starting the project.

Re:Brex – A Message from Pedro [Layoffs of 11%] by daguava on Wednesday October 12, 2022 @01:27AM (#33173211)
Time doesn't mean experienced.
Re:Brex – A Message from Pedro [Layoffs of 11%] by FpUser on Wednesday October 12, 2022 @01:54AM (#33173383)
You can challenge anyone with this type of arguments. I was doing this kind of programming and delivering successful solutions since the 80s. If you chose to doubt my expertise it is your right. Does not mean your opinion has a shred of truth in it.
Re:Brex – A Message from Pedro [Layoffs of 11%] by necovek on Wednesday October 12, 2022 @08:09AM (#33175765)
While you are in general right, GP specificaly has relevant experience for a long time, when time does equal experience.
Re:Brex – A Message from Pedro [Layoffs of 11%] by baq on Wednesday October 12, 2022 @02:28AM (#33173572)
I’d argue the language matters even less as folks with true experience in distributed systems know that the real problems arise between thread/ process/host boundaries which are mostly language-agnostic.

IOW you really want senior people, full stop.

Re:Brex – A Message from Pedro [Layoffs of 11%] by necovek on Wednesday October 12, 2022 @06:40AM (#33175066)
On the contrary, I think that people familiar with generic concurrency and distributed primitives will easily transfer their knowledge between languages (I mean, a race is a race, and starvation is starvation...), whereas you can be very senior in a language yet never experience the edge cases of parallel programming.

Sure, each language has different tools to solve corresponding issues, but I prefer to understand the problem I am solving to intimately knowing the tools I need to use.

Ofc, having both is perfect!

Re:Brex – A Message from Pedro [Layoffs of 11%] by pjmlp on Wednesday October 12, 2022 @08:31AM (#33175972)
Unless they have experience in the language runtime handles them, and how they might differ across implementations, they are in for a surprise when debugging parallel code.
Re:Brex – A Message from Pedro [Layoffs of 11%] by doctor_eval on Wednesday October 12, 2022 @01:07AM (#33173093)
Yeah, I mean I hired a great Java dev to do Go work and she picked it up in 3 months... but I knew she was awesome, so I wasn't worried about it at all. But hiring someone you don't know, which is typical ... retraining in a new language feels like it surely adds to the already substantial risk of hiring.
Re:Brex – A Message from Pedro [Layoffs of 11%] by egeozcan on Wednesday October 12, 2022 @01:41AM (#33173309)
I think the same as you, but let's admit that C# is one of the easiest languages to get into, especially with the magnificent tooling.
Re:Brex – A Message from Pedro [Layoffs of 11%] by weego on Wednesday October 12, 2022 @06:52AM (#33175155)
I think everyone in this chain should admit that hiring the kinds of developers you can 'throw x language book at' and a week later you have a competent x lang developer is an incredibly expensive and time consuming processthat most companies will never be able to afford.

Even if you can, you then have to solve the issue of keeping a department stocked full of senior devs happy when you have limited promotion/perk/raise options and so churn will likely be relatively high even in a healthy environment.

It's a nice fantasy view of the market as an ideal world simulation but does not reflect the reality of hiring software engineers.

Re:Brex – A Message from Pedro [Layoffs of 11%] by jen20 on Wednesday October 12, 2022 @08:49AM (#33176143)
Surely the other solution is to improve the work environment such that it’s possible to hire the people you aspire to hire…
Re:Brex – A Message from Pedro [Layoffs of 11%] by jackcviers3 on Wednesday October 12, 2022 @08:52AM (#33176188)
You can't buy a book, keep it on a shelf, lend it to new hires, and afford to have an employee take a week out of being productive to learn something? Or you can't afford salaries for a company of people who have more than 5 years of development experience?

Both sound like major dysfunctional problems.

Re:Brex – A Message from Pedro [Layoffs of 11%] by RhodesianHunter on Thursday October 13, 2022 @04:23AM (#33188584)
No one learns a new language effectively in a week.
Re:Brex – A Message from Pedro [Layoffs of 11%] by ch4s3 on Tuesday October 11, 2022 @11:49PM (#33172591)
You can hire any senior dev and give them the elixir book and a week to read it. You can also pick up someone junior who hasn’t learned anything wrong and coach them for a few months. I’ve successfully done both. The org I work in was one of the Elixir lang case studies and we still love using it, and have very little trouble hiring. It would be different if we had to hire 50 devs in less than 6 months, but we just don’t need to do that.
Re:Brex – A Message from Pedro [Layoffs of 11%] by Apocryphon on Tuesday October 11, 2022 @11:57PM (#33172655)
Elixir is a functional language, which is definitely a less common paradigm than OO languages like Java, which Kotlin is very similar to. Plus you can hire Android devs.
Re:Brex – A Message from Pedro [Layoffs of 11%] by jrvarela56 on Wednesday October 12, 2022 @12:25AM (#33172842)
Is this true anymore? I'm biased by HN content but feel like I've been hearing non-stop about FP for the past 10 years.
Re:Brex – A Message from Pedro [Layoffs of 11%] by jedberg on Wednesday October 12, 2022 @12:38AM (#33172916)
You're hanging around crowds that talk about FP. :)

Right now I'm working with a team where we're trying to introduce FP and reactive programming, and most of them have never heard of either one, or if they have, have never really used it.

Re:Brex – A Message from Pedro [Layoffs of 11%] by jrvarela56 on Wednesday October 12, 2022 @01:01AM (#33173062)
Indeed, it's so bad I've found myself in conversations where teammates go 'ew, look, a class' and I go 'a closure is a poor man's object...'.
Re:Brex – A Message from Pedro [Layoffs of 11%] by markeibes on Wednesday October 12, 2022 @03:02AM (#33173780)
What's bad about learning the truth from your teammates?
Re:Brex – A Message from Pedro [Layoffs of 11%] by egeozcan on Wednesday October 12, 2022 @01:39AM (#33173299)
If you are getting your daily dose of HN comments for a long time like me, you may also think there would be not a single dev that chooses Electron to develop desktop applications.
Re:Brex – A Message from Pedro [Layoffs of 11%] by hardwaresofton on Wednesday October 12, 2022 @06:21AM (#33174955)
Of course not, because we're all using tauri[0] right?

[0]: https://tauri.app/

Re:Brex – A Message from Pedro [Layoffs of 11%] by ch4s3 on Wednesday October 12, 2022 @12:11AM (#33172744)
Yeah of course, but the FP stuff is not very complicated in Elixir land. The heady stuff from ML family languages just isn’t there. The process model takes some time to adjust to, but a lot of JVM folks have used akka which is inspired by the BEAM.

The tooling an docs all guide you in the right direction and usually code in the wild aims to be straightforward.

I’ve really never had trouble onboarding people to Elixir unless they had started learning it solo as a Ruby dev, then they typically have to unlearn some stuff.

Re:Brex – A Message from Pedro [Layoffs of 11%] by cultofmetatron on Wednesday October 12, 2022 @08:15AM (#33175813)
functional programming overall isn't that difficult. day to day elixir work doesn't require you to understand currying, abstract types or monads. If anything it really only makes you pickup immutable data, pass by value, immutable bindings (with implicit lets)

Functional programming gets really hard when you try doing stuff like state and IO monads. Elixir in contrast gives you genservers for state which is very simple by comparison as well as having dead simple IO. you don't have to make special functions marked as IO or use any type of exotic type theory.

TLDR: yes Elixir is functional but its the 80% that is easy to learn. you don't have to bother with that last 20% of functional programming rabbit hole crazy town.

source: me with 6 years of elixir experience and having built the entire backend for my startup in elixir over the last 3 years. Elixir is s a platform that fits a nice sweet spot where you need to knock something out fast and still have something reasonably maintainable (and refactorable) that also happens to be really fast(performance wise) for the level of day to day developer productivity you get.

Re:Brex – A Message from Pedro [Layoffs of 11%] by redanddead on Wednesday October 12, 2022 @08:51AM (#33176168)
what would you say that elixir does better than anyone else?
Re:Brex – A Message from Pedro [Layoffs of 11%] by cultofmetatron on Wednesday October 12, 2022 @09:10AM (#33176399)
better is subjective so I'd rather not go into that too deeply haha.

Its all about the tradeoffs you're going after. If you absolutely need to cut down errors to a minimum and are willing to sacrifice developer speed/productivity, Haskell with IHP is certainly a compelling offer. (yes I know an experienced haskell dev will probably be jsut as productive as a experienced elixir dev but it will take much longer to train someone from another language to haskell than to elixir.)

conversely, if you want speed at all costs, rust is certainly nice.

now if we're talking Pareto efficient intersection of performance, developer productivity and maintainability, yea elixir hits that sweet spot well. I haven't encountered a language that does that better yet. Python comes close if you're willing to take a drastic hit on performance. The tooling is descent, the day to day ergonomics let me focus on solving our startup's problems rather than wrestling with the platform. It's not perfect (lord knows I wish there were more libraries).

Re:Brex – A Message from Pedro [Layoffs of 11%] by RhodesianHunter on Tuesday October 11, 2022 @11:59PM (#33172668)
That's great, but pretty tangential to my point. The person I was responding to seemed baffled that hiring Kotlin devs would be perceived as easier than hiring elixir devs, which is itself pretty baffling given that Kotlin is one of the top 15 most popular/used programming languages and elixir rarely even makes the list.
Re:Brex – A Message from Pedro [Layoffs of 11%] by graderjs on Wednesday October 12, 2022 @01:05AM (#33173079)
Just a question when you are hiring and posting job descriptions do your job posts use language like "6 years experience in Elixir" ?

Reason I'm asking is because I love this attitude and I think it works so long as your team will provide the support for someone to ramp up, but I seldom see these kind of job posts saying we're fine if you learn the stack.

Re:Brex – A Message from Pedro [Layoffs of 11%] by ajmurmann on Wednesday October 12, 2022 @01:24AM (#33173196)
I share the parents attitude. My job postings though don't say explicitly that we are fine if you learn the stack, however they list the stack as nice to have rather than must have.

IMO, everyone needs to learn a from of stuff for every job. Thus understanding of high-level concepts and ability to learn are paramount. If you tell me though that your primary language is XYZ and you cannot answer basic challenges with it we encounter during the interview then that's a really bad sign even if I don't care much about that actual language.

Re:Brex – A Message from Pedro [Layoffs of 11%] by thexumaker on Wednesday October 12, 2022 @02:31AM (#33173590)
Man I joined an elixir team to start my engineering career and while I love the language, and it isn’t too hard to pickup and read until you have to start mocking stuff and all the &’s start popping up. But still the pipelines and functional approach was solid.

The problem was actually getting the stuff deployed or running into weird niche issues that require a couple days to fix. I was a bit out of comfort level at that point but the exaws sdk’s, confex, releases, supervisors. Made me really appreciate how much more support and just easier mode/python has been in my current job.

Re:Brex – A Message from Pedro [Layoffs of 11%] by whoooooo123 on Wednesday October 12, 2022 @05:02AM (#33174536)
Where do you work? Are you hiring?

(I am an Elixir dev)

Re:Brex – A Message from Pedro [Layoffs of 11%] by SergeAx on Wednesday October 12, 2022 @04:02PM (#33182277)
Even better: you can just hire Android devs who are fed up with client side programming.
Re:Brex – A Message from Pedro [Layoffs of 11%] by jpgvm on Tuesday October 11, 2022 @11:28PM (#33172445)
Kotlin is actually booming in backend, especially in financial services/fintech. Most are converted Java programmers ofc but many are also new to the JVM coming from Ruby/Python/etc.
Re:Brex – A Message from Pedro [Layoffs of 11%] by RockingGoodNite on Tuesday October 11, 2022 @11:59PM (#33172670)
No, it isn't, visit https://www.dice.com and enter kotlin into the search field. There are a few hundred total listed.
Re:Brex – A Message from Pedro [Layoffs of 11%] by kyawzazaw on Wednesday October 12, 2022 @12:46AM (#33172966)
It isn’t booming per se. But it is taking a stronger foothold.
Re:Brex – A Message from Pedro [Layoffs of 11%] by pjmlp on Wednesday October 12, 2022 @08:32AM (#33175979)
Kotlin is only booming on Android, due to Google force feeding it on the ecosystem.

Its existence hardly matters on the JVM world.

Re:Brex – A Message from Pedro [Layoffs of 11%] by quickthrower2 on Tuesday October 11, 2022 @11:42PM (#33172548)
You can hire devs for any $LANG ... just pay more, be a good place to work, and train people.
Re:Brex – A Message from Pedro [Layoffs of 11%] by nsonha on Wednesday October 12, 2022 @12:16AM (#33172774)
Kotlin devs are everywhere what are you talking about? These 2 are not even in the same tier when it comes to popularity.
Re:Brex – A Message from Pedro [Layoffs of 11%] by princevegeta89 on Wednesday October 12, 2022 @01:05AM (#33173081)
Honestly Kotlin hasn't ever seemed to pick up that mainstream heat. It sounds like a weird choice to move to kotlin specifically for backend systems.
Re:Brex – A Message from Pedro [Layoffs of 11%] by jansan on Wednesday October 12, 2022 @05:16AM (#33174601)
Given that Kotlin is basically Java with a lot of flaws removed, how is this not the natural choice for large backend systems?
Re:Brex – A Message from Pedro [Layoffs of 11%] by yardstick on Wednesday October 12, 2022 @08:24AM (#33175897)
Re:Brex – A Message from Pedro [Layoffs of 11%] by anta40 on Wednesday October 12, 2022 @12:10PM (#33179099)
Not a backend dev. At least Spring officialy supports Kotlin since v5, and I see most Java devs (including myself) have little difficulties migrating to Kotlin.

Scala or Clojure, on the other side, is more radically different.

Re:Brex – A Message from Pedro [Layoffs of 11%] by jareds on Friday October 14, 2022 @07:33PM (#33210043)
What is the IDE support like in Kotlin? I've never had to look at it professionally. I use VSCode because it works much better with my screen reading software then IntelliJ. As far as I can tell to get a decent develop experience IntelliJ is your only option?
Re:Brex – A Message from Pedro [Layoffs of 11%] by bradlys on Wednesday October 12, 2022 @05:01AM (#33174523)
I had never used Kotlin before but picked it up day 1 of the job easily and was committing and pushing PRs immediately. There’s always a few gotchas with any language but Kotlin to me was basically JS/Python meets Java. Pretty trivial to get going - always some nuances to learn but contributing was trivial.

I have no idea about Elixir but it doesn’t look as conventional.

Re:Brex – A Message from Pedro [Layoffs of 11%] by mr90210 on Wednesday October 12, 2022 @07:03AM (#33175223)
Much, much easier.
Re:Brex – A Message from Pedro [Layoffs of 11%] by mvuksano on Wednesday October 12, 2022 @08:53AM (#33176198)
I'm surpised anyone would be hiring devs based on what language they use cureently. Any good enginner can learn a language quickly.
Re:Brex – A Message from Pedro [Layoffs of 11%] by steve_adams_86 on Wednesday October 12, 2022 @09:03AM (#33176313)
I suppose part of the concern is finding people who actually want to use your tech stack too, though.

I interviewed a company a while back that was using elixir which I thought was cool, but I ended up not taking the job. Part of what worried me was realizing just how much they struggled to find interested candidates, and it seemed like they were willing to compromise to hire as a result. Perhaps I was a compromise, haha.

The CTO and other devs on the team painted a bleak picture of building the team, and elixir seemed to be the main obstacle.

The other issue they faced, though I doubt it was as much of an obstacle, was that they were working on pet insurance. That was a major deterrent for me. The compensation and working conditions were excellent though, so I suspect many people wouldn’t care and would gladly take the compensation and flexible work life – were it not for elixir.

I found it surprising but I’ve seen people work on worse things for less money using more popular languages. Perhaps more people are afraid to learn something new than it seems.

Re:Brex – A Message from Pedro [Layoffs of 11%] by phist_mcgee on Wednesday October 12, 2022 @08:48PM (#33185807)
A pet insurance company using a semi-obscure functional programming language.

Definitely sounds like someone overspent their innovation tokens:

https://mcfunley.com/choose-boring-technology

Re:Brex – A Message from Pedro [Layoffs of 11%] by 29athrowaway on Tuesday October 11, 2022 @11:19PM (#33172379)
And massive ad spending in SF a few years ago. They had ads everywhere.
Re:Brex – A Message from Pedro [Layoffs of 11%] by mliker on Wednesday October 12, 2022 @11:27AM (#33178398)
it was the most successful marketing campaign targeting developers. And now you're writing about it. I would say that's anecdotal evidence of success.
Re:Brex – A Message from Pedro [Layoffs of 11%] by 29athrowaway on Wednesday October 12, 2022 @04:10PM (#33182389)
You mean they used it as a recruiting magnet?