Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nobleach
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
nobleach
2y ago
There's a wonderful Kafka Children's book that I always suggest every team I work with read: https://www.gentlydownthe.stream/ The way I describe Kafka is, "an event has transpired... sometimes you care, and
152.
▲
by
nobleach
2y ago
To beat my example into the ground. If I were to put a fuel injector (system under test) into a vehicle, and drive it around a parking lot (E2E test), only to have the vehicle stall out. Is the fuel injector at fault? How would you prove th
153.
▲
by
nobleach
2y ago
It's pointless if one is just trying to put "points on the board" and see a bunch of green in their console. Knowing what to test is important. Should every function be tested? Probably not. Should every function that has con
154.
▲
by
nobleach
2y ago
I absolutely appreciate respectful disagreement! The point I often try to make is just how easy it is to get the right result, for the wrong reasons. (especially in loose languages like JavaScript). It goes from making more scientific proof
155.
▲
by
nobleach
2y ago
Like I mentioned: ``` function setButtonState() { const res = this.fetchSomeResult(); // returns an unfulfilled promise if (res) { return true; } return false; } ``` as a unit test would quickly fail when you wan
156.
▲
by
nobleach
2y ago
Or, write code that _can_ work in isolation. (Pure functions). You can bet when GM builds fuel injectors, they have a harness that they can place them in to make sure that JUST the injector gets tested... putting it in a car and driving aro
157.
▲
by
nobleach
2y ago
Eh, I knew this would somehow come back to that Kent C Dodds stuff. I can respect the guy, but his opinion on valuable testing differs from mine and quite a lot of others. His opinion is "the more your tests represent the way your user
158.
▲
by
nobleach
2y ago
When I was learning SCUBA, one of our sessions happened in Tea Lake (learning how to do an emergency swim ascent). I can vouch for its name accurately representing its properties.
159.
▲
by
nobleach
2y ago
Same. Although I haven't tried VSCode in a lot of years. I did at one time have it set up to emulate vim quite well. I used it as a daily driver for over 6 months. It would puke the bed at least once a day, reseting the theme, losing a
160.
▲
by
nobleach
2y ago
I've used it a total of 2 times since I first saw the ability in Atom back in 2017. Once was more for the "this seems neat, let's try it" factor. The other was a legitimate, let's troubleshoot an issue while staring
161.
▲
by
nobleach
2y ago
There are quite a few things marinating in the TC39 pot right now. This is one that I wish would ship sooner, rather than later. I do recognize that it takes dev effort (on the part of v8, JSC, and SpiderMonkey engineers) to get the major b
162.
▲
by
nobleach
2y ago
Indeed I forgot Stack-Up!
163.
▲
by
nobleach
2y ago
Never forget, they had Rob the robot. And to my recollection, he only worked with Gyromite.
164.
▲
by
nobleach
2y ago
"Jumping up and down like a Jack-Russel Terrier" as one commedian put it.
165.
▲
by
nobleach
2y ago
This is a fair take. Especially after reading the two linked blogs (which have also enjoyed some time here on HackerNews). I have personally fallen into the category of "you can say you don't like Go, but you can't say it
166.
▲
by
nobleach
2y ago
I'm confused at what your comment was designed to achieve. It seems like an attempt to troll. But here it is: Formatting tooling was chosen before several members joined my team. It was chosen due to having far fewer dependencies than
167.
▲
by
nobleach
2y ago
I feel the exact same way. I've had various iterations of this ftplugin for a couple of years now but... everyone else has figured out how to just install an LSP and move on. Why is Java such a special snowflake here?
168.
▲
by
nobleach
2y ago
I have an engineer on my team that loves RubyMine. I can't even argue with her choice... JetBrains does indeed make very solid products. I'm just not a fan though. Even still, I never want the code I write, or the tools I choose t
169.
▲
by
nobleach
2y ago
Rust also has great tooling. Clippy, Rust analyzer (the LSP). Developing Rust in NeoVim is just as fun as Go. Other languages that do ok are OCaml, Elixir/Gleam, Typescript. Go and Rust just have what I consider a "cut above"
170.
▲
by
nobleach
2y ago
I once worked with a dev that implemented his own forEach in JavaScript. And literally used an ECMAScript version 6 feature to do so! (native forEach in JS showed up in ECMAScript 5) Meanwhile, that project already had jQuery and Underscore
171.
▲
by
nobleach
2y ago
Although I'm not a Microsoft fan, their docs for F# are worlds ahead of anything I've seen for OCaml (I know a few OCaml folks are working to fix this). I've considered trying it for Advent of Code this year.
172.
▲
by
nobleach
2y ago
I get that. Having read Real World OCaml back when it was an O'Reilly book, I had a hard time not thinking Core was the defacto OCaml std lib. And its horrible documentation made me think the OCaml community was dead - or at least brai
173.
▲
by
nobleach
2y ago
No, I dont think this is the case. While a lot of devs use Chrome while developing, we're all well aware that 50% or more of US users are using an iPhone. And that's Safari no matter what. So many do a ton of testing there as well
174.
▲
by
nobleach
2y ago
Agreed, the old Visual Basic, Visual C++, Borland Delphi, Visual C# experiences were how I dove into the deep end of several languages back in the late 90's/early 2000's. Things were VERY discoverable at that point. Obviously
175.
▲
by
nobleach
2y ago
I see this pattern all over the place, not just PHP. When leveraging containers, what's a better option? Certainly Java, Rust, even NodeJS all have decent enough connection pools for PG. But telling those apps that are running in those
176.
▲
by
nobleach
2y ago
And while that's super awesome that someone feels passionately enough about a piece of tech - that they're willing to spend their precious resources helping others... that kind of charity is untenable. You can't expect that p
177.
▲
by
nobleach
2y ago
I have a couple Quarkus apps that I've run in Lambdas that start in about a second. This is without using GraalVM too! Good enough for what I was doing (taking a list of file names, finding them in an S3 bucket and zipping them into a
178.
▲
by
nobleach
2y ago
I was never a fan of codegen. Having all these files in my project that I didn't write felt wrong. While of course, most apps we write are full of code that we didn't write, relegating it to a classpath, or "node_modules"
179.
▲
by
nobleach
2y ago
>If not for components that were invented in VSCode (LSP) then no one would be using vim these days I hate to tell you but, Vim has always had a pretty strong user base. There are folks like me that used it before LSP, and never had inte
180.
▲
by
nobleach
2y ago
Agreed. But there's nothing precluding someone from implementing Symbol.iterator on Object: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... Not saying anyone SHOULD do this... just t
More ›