Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fbonetti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
fbonetti
9y ago
Honest question: why? Why would you roll your own buttons, headers, footers, modals, panels, grid system, and alerts, which all respond responsively, when you could just take a framework off the shelf and start being productive immediately?
152.
▲
by
fbonetti
9y ago
1% is incredibly low. Where do you live, when did you take out the loan, and what are the terms? According to this[1] chart, the lowest 30 year mortgage rate in the past 40 years was about 3.5%. I'm curious how you got a loan with such
153.
▲
by
fbonetti
9y ago
> They don't achieve this by optimizing what's there, they do it by building an enormously complex system for no reason :) This aspect of the industry drives me absolutely insane. I've seen this at every single company I&#
154.
▲
by
fbonetti
9y ago
Misguided cost savings is the worst when it comes from engineers. Software developers love to optimize, so if they can save $500 - $1,000 a month buy rolling their own service instead of paying for an existing one, they'll do it, compl
155.
▲
by
fbonetti
9y ago
> Elm's type system will not catch this bug at compile time This is completely false. Elm's type system will force you to handle the decoding failure at compile time. The `decodeString` function has the following type: de
156.
▲
by
fbonetti
9y ago
Cons of using Typescript: * Lack of purity. You can unintentionally trigger side effects from a function that's a supposed to simply return a value. function add(x: number, y: number): number { fireTheMissiles() retur
157.
▲
by
fbonetti
9y ago
Elm's primary selling point is "no runtime exceptions". The subheader on Elm's homepage even says this[1]: Generate JavaScript with great performance and no runtime exceptions. Type safety doesn't come for
158.
▲
by
fbonetti
9y ago
I really wish people would stop spreading the meme that decoding JSON in Elm is "hard". Yes, Haskell allows you to automatically decode/encode datatypes, but this only works in the simplest of cases. For example, if your back
159.
▲
by
fbonetti
9y ago
That's just a combination of pattern matching and tail call optimization. That code would look exactly this same in Haskell: countToTen n = countToTen (n + 1) countToTen 10 = done
160.
▲
by
fbonetti
9y ago
All good points. Another benefit of investing in real estate (compared to investing in the stock market) is that you have significantly more leverage. You can ask a bank to give you a loan for hundreds of thousands of dollars and use that t
161.
▲
by
fbonetti
9y ago
Runtime type checking is useless. If a given function can't accept the data I plan to send into it, I want the compiler to tell me immediately.
162.
▲
by
fbonetti
9y ago
Did you work remotely while living in a van? Or did you still work in an office? It sounds like you did the latter, which sounds miserable. I think you would've had a different experience if you had used your van to travel.
163.
▲
by
fbonetti
10y ago
I think you're getting at the heart of why burn down charts are so pointless. The shape changes sprint to sprint, depending on what kind of stories you take on. If the sprint is entirely high pointed stories, your chart will be mostly
164.
▲
by
fbonetti
10y ago
I agree. Being on the receiving end of Scrum feels like being an assembly line worker. I totally empathize with the business people who need some transparency into what the developers are working on week to week. Software is pretty abstract
165.
▲
by
fbonetti
10y ago
Because it erodes trust in the platform, obviously. Would you buy something from a website if you were concerned it might be counterfeit? That being said, I've been a prime customer for years and I've never encountered this issue.
166.
▲
by
fbonetti
10y ago
Yes, it was a VC-funded, early-stage startup. On top of the large amount of process and the one week sprints, we also four different dev teams each working on their own microservice app which was tightly coupled to the other apps in the com
167.
▲
by
fbonetti
10y ago
It's a common metric used in the Scrum methodology. You start off the "sprint" with a set number of "story points" (say, 30 points), and end the sprint with zero points. When you graph the team's progress over
168.
▲
by
fbonetti
10y ago
> The worst of these are also the sort of people who, if your speedometer was broken, would insist that the car is not moving. Even after you told them to look out the window. That's an amazing quote. I'm totally stealing this.
169.
▲
by
fbonetti
10y ago
This is a surprisingly common trap to fall into. I worked at a startup in which the CTO criticized my dev team for not having a perfectly linear burn down chart. Every week in our retro we had the same discussion about how to improve the sh
170.
▲
by
fbonetti
10y ago
Have a life outside of work
171.
▲
by
fbonetti
10y ago
This was a few years ago, so it may no longer apply, but my biggest frustration was that none of my keyboard shortcuts worked. I like to toggle between the browser and my code editor while I code, and the only way I could do that was to phy
172.
▲
by
fbonetti
10y ago
Any reason when you don't like String being an alias of [Char]?
173.
▲
by
fbonetti
10y ago
You might be thinking of "Guns, Germs, and Steel"
174.
▲
by
fbonetti
10y ago
That looks very similar to the handcuff knot
175.
▲
by
fbonetti
10y ago
To be fair, writing if statements in JSX is messier than it should be, but this is the fault of JavaScript and not JSX. If statements don't return anything, so we have to either create an immediately executed anonymous function (like y
176.
▲
by
fbonetti
10y ago
In terms of web languages, Elm is perfect for this purpose. It's a statically typed, pure functional programming language. It's impossible for functions to generate side effects. Side effects must captured by the type system as ex
177.
▲
by
fbonetti
10y ago
Businesses are free to dissociate from organizations that they feel will hurt their brand. They're also free to not do business with organizations purely for philosophical reasons. Does it surprise you that most companies won't ad
178.
▲
by
fbonetti
10y ago
While it's easier to bang out code with React, you have to acknowledge the massive downside of that flexibility: you have zero guarantees that your code will work properly. Even if you use Typescript or Flow you still you won't ha
179.
▲
Ask HN: Databases that support arbitrary real-time queries
2 points
by
fbonetti
10y ago
|
2 comments
180.
▲
by
fbonetti
10y ago
Deleting random lines of code? That's like the bogosort of machine learning.
More ›