Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SkiFire13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
121.
▲
by
SkiFire13
5mo ago
The reason it works with `String` is because trait methods get priority over applying autoderef (which is needed to go from `&String` to `&str` and select `str::strip_suffix`). If you however already have a `&str` then autoderef
122.
▲
by
SkiFire13
5mo ago
`strip_suffix` will indeed break with new compiler versions because inherent methods always have priority over trait methods.
123.
▲
by
SkiFire13
5mo ago
> charged between banks It generally depends on the contract the merchant has with payment provider: - some have relatively high merchant fees to cover for interchange fees - others (generally called IC+) have the merchant pay the IC fee
124.
▲
by
SkiFire13
5mo ago
> we must assume that the best AI models (especially ones focusing solely in the medical field) would largely beat large majority of humans (aka doctors), if we already have this assumption for software engineers You first have to assume
125.
▲
by
SkiFire13
5mo ago
> For the purposes of this discussion the question is not whether or not a crate exposes optional features that require a nightly compiler, but whether or not a crate makes use of the nightly compiler mandatory In my opinion what matters
126.
▲
by
SkiFire13
5mo ago
> That's am upper bound, as using a nightly compiler doesn't mean that a nightly compiler was needed. To be fair it's not even a lower bound, as using a stable compiler doesn't imply the absence of nightly only featur
127.
▲
by
SkiFire13
5mo ago
> Ladybird has a new Linux frontend built on GTK4 and libadwaita, sitting alongside the existing Qt frontend This is in addition to the already existing Qt frontend.
128.
▲
by
SkiFire13
5mo ago
Why would yet another C++ browser be better than one written in a different language (this time Rust, but Zig would be cool too)?
129.
▲
by
SkiFire13
5mo ago
I remember in uni two days after taking an exam I dreamed about the professor asking me to explain the calculationd I made, and while I was going through them I realized at some point I did an addition instead of a subtraction. I woke up an
130.
▲
by
SkiFire13
5mo ago
> Thanks to the internet, suddenly cards got a lot easier to steal and a lot easier to exploit- but banks are still on the hook for all losses reported within 60 days of the end of the cycle. For card-not-present transactions (i.e. onlin
131.
▲
by
SkiFire13
5mo ago
I don't see the difference between the two TBH.
132.
▲
by
SkiFire13
5mo ago
This is pretty much a PCI DSS requirement for anyone that directly handles PANs.
133.
▲
by
SkiFire13
5mo ago
There is also an additional (usually pretty high) fee for getting chargebacks.
134.
▲
by
SkiFire13
5mo ago
There are also "network tokens" that allow you to skip this step and instead remain linked to the new credit card when it changes.
135.
▲
by
SkiFire13
5mo ago
> If you committed a row update but didn't update the index, a subsequent query using the not yet updated index would not find the updated row correctly. I wonder if you could make it so that queries read from both the index and the
136.
▲
by
SkiFire13
5mo ago
I have to make the mandatory mention of Typst, I found it to cover almost all the markup capabilities that Latex has, while being much more approachable, especially to programmers used to other scripting languages (e.g. Javascript).
137.
▲
by
SkiFire13
5mo ago
> I see http_client as existing in a Reader monad that contains an allocator and an IO interface. This is exactly how the IO monad (and for that matter IO#) works in Haskell. The fact that the Zig people came up with this independantly s
138.
▲
by
SkiFire13
6mo ago
Some languages still colloquially refer to cars with the same word used for machine.
139.
▲
by
SkiFire13
6mo ago
That link shows the number of PRs created to be less than 10M though.
140.
▲
by
SkiFire13
6mo ago
> Your engineers who all have to possess AWS or similar certs If you're using managed services that are so complex you need certified people then you're doing it wrong
141.
▲
by
SkiFire13
6mo ago
Yes, naming does play a role here, but the biggest hint is `as_vec_mut` returning a reference. For that to work a `Vec<u8>` needs to exist somewhere, and continue to exist after this function returns. For comparison, `to_` conversions
142.
▲
by
SkiFire13
6mo ago
> String, which is literally (under the hood, you can't poke this legitimately) Vec<u8> `String::as_vec_mut` kinda implies that, since it gives you access to that underlying `Vec` which must then exist somewhere.
143.
▲
by
SkiFire13
6mo ago
You can definitely have a race condition in JS. Being single-threaded means you don't have parallelism, but you still have concurrency, and that's enough to have race conditions. For example you might have some code that behaves d
144.
▲
by
SkiFire13
6mo ago
I'm not sure about this. In general I see more criticism of GNOME than praise, so if anything the perception would be that GNOME is not a good DE.
145.
▲
by
SkiFire13
6mo ago
> Why do we still put up with GNOME? Because maybe not all people have the same preferences as you?
146.
▲
by
SkiFire13
6mo ago
> I guess if you run the source code through the model a 10,000 times, some useful stuff falls out. But you might also get a lot of non-useful stuff which you'll need to sort out.
147.
▲
by
SkiFire13
6mo ago
I'm not sure if they all charge a percentage of your money transfers for that. At work we decided to migrate that part to an internal system anyway.
148.
▲
by
SkiFire13
6mo ago
Stripe's fees are well above interchange fees (especially in Europe). On top of that Stripe's pricing for other features (e.g. invoicing and subscriptions) is also a percentage, so you end up paying a ton for those features.
149.
▲
by
SkiFire13
6mo ago
If you use them for subscriptions you are effectively locked with them. The cost of migrating to a different provider (including existing subscriptions AND payment methods) plus the risk of something breaking the renewals is too high for mo
150.
▲
by
SkiFire13
6mo ago
Expanding the logic to union of intervals looks cool, but what is the complexity of that? Since you introduce the the possibility of an operation on an interval producing two intervals I suspect executing N operations might have an exponent
More ›