Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvlsg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
dvlsg
6y ago
NFTs probably will too, so I suppose that's at least one similarity between the two.
62.
▲
by
dvlsg
6y ago
> It's unfair and pointless to expect SOLID (or anything else) to apply in any and all cases. I think that's a big part of the problem, and how we end up with articles like this. A lot of developers do expect SOLID to apply to
63.
▲
by
dvlsg
6y ago
The difference is that reddit at least tries to moderate calls to violence and hate speech. They don't always do a good job of it, though.
64.
▲
by
dvlsg
6y ago
Yeah that's correct. The built-in implementation of Promise violates some of the interfaces monads need to follow, including that auto flatten. But it's definitely possible to have a monadic promise (or future or whatever).
65.
▲
by
dvlsg
6y ago
I can't say I agree with that. There is a lot of really good new music, just like there is a lot of bad old music. The difference is the bad old music has already been forgotten, but the bad new music is recent enough to still be somew
66.
▲
by
dvlsg
6y ago
Yeah, specifically that interfacing with the ui causes some side effects we would expect to happen (web hooks sent, reports generated, etc). I definitely wouldn't want to write all of our tests that way, because that sounds like a nigh
67.
▲
by
dvlsg
6y ago
Our backend is in node / typescript, so it's theoretically possible to mix the two. I would be able to test what I need using REST APIs, though, so in theory the backend language doesn't really matter for me. I haven't h
68.
▲
by
dvlsg
6y ago
Did you ever need to mix cypress tests with anything else? Say for example I wanted to have cypress click through a frontend, and then make a separate backend call to verify something happened in the same test run. Is there a clean way to d
69.
▲
by
dvlsg
6y ago
That is pretty nice. I've been doing `git push -u origin HEAD` and then using my mouse to click on the "go here to create a PR" link that gets printed, which isn't too bad. Takes you right to the page where you can revie
70.
▲
by
dvlsg
6y ago
Luxon makes for a good date lib stop gap while tc39 works on something built-in that is (hopefully) a bit nicer. https://moment.github.io/luxon/ https://tc39.es/proposal-temporal/docs/
71.
▲
by
dvlsg
6y ago
Would you mind expanding on some of the operational complexity you ran into with pulsar? I think pulsar is wonderful, but I haven't had the chance to use it for anything serious / in production yet, so I'm curious what pain p
72.
▲
by
dvlsg
7y ago
Manual testing is an important thing to consider, for sure. Who does QA on the feature branches, and where? Does each feature branch have its own corresponding deployment? Are they sharing databases with other branches?
73.
▲
by
dvlsg
7y ago
I think it's still fairly young, but Gleam is an ML family language that works with the BEAM. Specifically, it compiles to erlang.
74.
▲
by
dvlsg
7y ago
Tenkeyless is the sweet spot for me. Still has arrow keys, but the numpad is gone.
75.
▲
by
dvlsg
7y ago
Ian's secure knot is great, too.
76.
▲
by
dvlsg
7y ago
I suspect the start time is meant only for classes, not extra-curriculars.
77.
▲
by
dvlsg
7y ago
How so? I'm not seeing the benefit over exporting A, B, and C as functions, and then putting them together in another spot (like a composite root for pure DI, or an IoC container, etc). Is the argument for top-level await that you don&
78.
▲
by
dvlsg
7y ago
Which features were missing for you with CircleCI? My experience with CircleCI has been almost entirely positive so far.
79.
▲
by
dvlsg
7y ago
His biggest contribution may be the documentation and defining the vocabulary, but when he defines a pattern with a word that has an obvious negative connotation ("anemic"), it feels manipulative. A while ago I was told by members
80.
▲
by
dvlsg
7y ago
Sure, I probably should have specified that I meant in general when handling money, not necessarily specifically for handling payment API calls. I've worked on a system that kept track of arbitrary precision separately while using inte
81.
▲
by
dvlsg
7y ago
Or even just regular cameras. If I take a picture of something unrelated, and the background happens to contain a license plate on a car, or the face of a person walking by, am I at risk for recording a person's identifiable informatio
82.
▲
by
dvlsg
7y ago
Probably worth noting that in some cases the currency alone isn't enough information. For example, gas stations using USD often use more than 2 digits of precision. I suspect (and hope) that situation is reasonably rare, though.
83.
▲
by
dvlsg
7y ago
Lenses in ramda work well, too, if you don't mind being functional in your js code. I suppose that still only fits in the "immutable by convention" category, though.
84.
▲
by
dvlsg
7y ago
How would you handle ci/cd with docker compose on an ec2 instance?
85.
▲
by
dvlsg
7y ago
Then you can't use it across apps, though. Say for example you have a web front end, a mobile app, and a service receiving web hooks that all want to execute the same action. If you have that in a client layer, you'll be writing i
86.
▲
by
dvlsg
7y ago
I have to admit I'm a little surprised the entire form wasn't cleared on a failure.
87.
▲
by
dvlsg
7y ago
F# is good for this, too. It _kind_ of works in typescript, but it's not enforced by tsc. Definitely helps readability, though.
88.
▲
by
dvlsg
7y ago
Can confirm that's how it's happening in Iceland, too. Took a tour up there a while back, and our tour guide stopped to yell at people putting themselves in life threatening situations to take pictures. Happened multiple times.
89.
▲
by
dvlsg
7y ago
I agree that practicing slow is helpful. Certainly helps my drumming quite a bit. And not only mixing up slow/fast, but loud/soft, too.
90.
▲
by
dvlsg
7y ago
Why would they block you from downloading windows if you're already on windows? For what it's worth, I successfully downloaded that windows iso from microsoft less than a week ago from a windows machine, and used it to reformat th
More ›