Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dathinab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
841.
▲
by
dathinab
2y ago
Through outside of patent and copyright law very many of the law suites commonly brought up as "frivolous" are actually very reasonable law suites and both the reason they are well known and them being known as "frivolous&quo
842.
▲
by
dathinab
2y ago
The code the blog presents copied from the std, ironically it does include the line where the len is set to 0 with a in code comment (but the article fails to go into it and seems to not be quite aware of the issue, it's otherwise quit
843.
▲
by
dathinab
2y ago
some random additional information: - initially it was believed you can rely Drop for soundness - then the rust community realized that this is an oversight -- the so called leakocalipyse - there also was no easy straight forward way to fix
844.
▲
by
dathinab
2y ago
yes drop can't be responsible for safety in Vec::drain() by setting the Vec len to 0, std semantically moves all elements from the Vec to the Drain and in in Drain::drop it semantically moves the non drained elements back i.e. vec::Dra
845.
▲
by
dathinab
2y ago
and fails to properly convey outright stating both in the title and places in the article that drop can be responsible for safety (it can't, in drain it's responsible for not leaking non drained elements, not safety)
846.
▲
by
dathinab
2y ago
yes in general when it comes to rust it tries to make sure that any new abstraction of features don't cause unknown unknowns, at least wrt. safety/soundness. Like make abstractions only leaky in ways where either the compiler will
847.
▲
by
dathinab
2y ago
From the article: > That means that impl Drop for Drain is responsible for making sure that Drain is sound. This is _wrong_ the Drop impl _must not_ be responsible for making sure Drain is Sound. Drop is not guaranteed to run it must _ne
848.
▲
by
dathinab
2y ago
I know, that was intentional. It doesn't change that you _must not_ use Drop for safety. You only can use it for cleanup, and that can involve unsafe code and that can make things easier, but you can't rely on drop running for any
849.
▲
by
dathinab
2y ago
TL;DR: YOU MUST NOT (and as I haven't yet time to read the article I'm not sure if they convey that correctly) But for various (complicated) reasons Drop isn't guaranteed to run on a "safety" level. That means that
850.
▲
by
dathinab
2y ago
From other comments I learned that the period is not a week but more like 90 days and required conditions are more stringent, too. Just in case someone reads my previous comment at a later point.
851.
▲
by
dathinab
2y ago
There is a HUGE amount of things you can criticize about MAID specifically (and should) but honestly there are only a few reason why we shouldn't let the living dead go: - it's a slippery slope - they are young, they might revive
852.
▲
by
dathinab
2y ago
Is Mozilla killing it because German courts ruled that it's a binding GDPR opt out and as such you can't harass people with DNT flat with opaque often not fully legal consent dialogs? Like it might make all their tries of cookie&#
853.
▲
by
dathinab
2y ago
It's a failure because law makers haven't made it clear ignoring it is illegal. You probably can build a case around DNT clearly communicating that a user doesn't want to be tracked and as such it should be treated like an if
854.
▲
by
dathinab
2y ago
yes, GDPR is technology agnostic many of it's predecessor sadly are not and are still around leading to absurdities of there being _both_ a GDPR dialog for tracking and a "cookie dialog" (which depending of the law might also
855.
▲
by
dathinab
2y ago
is there any country (not currently in a civil war) where they can't do so as long as they come up with a reasonable pretense of suspicion?
856.
▲
by
dathinab
2y ago
Is that just me or does the head shape not quite match between releases CCTF footage and the BBC picture and (supposed) mugshot I have seen elsewhere. Like it's similar but not quite the same mainly less pronounced cheek bones, wider l
857.
▲
by
dathinab
2y ago
But if you already decide to forgo the benefits of JSON (mainly the ecosystem/wide spread support) and use a niche solution why would you go for JSON5? That looks like a worst of both world solution IMHO. You are probably better of wit
858.
▲
by
dathinab
2y ago
IMHO if you have human managed configuration do not use JSON, it's a pretty bad choice for it and adding comments is not (fully) fixing it or in other words IMHO if you have JSON you shouldn't have a need for comments, if you do t
859.
▲
by
dathinab
2y ago
Wrt. cameras with depth sensors like face unlock this isn't supper likely to work. Wrt. public cameras which don't have such features and are much further away and aren't supper high resolution either it maybe could even some
860.
▲
by
dathinab
2y ago
biometrics are also way less unique then people think basically the moment you apply them to a huge population (e.g. all of US) and ignore temporal and/or local context you will find collisions especially when you consider partial samp
861.
▲
by
dathinab
2y ago
yes, they mainly focus on bone structure especially around eye nose area beards are to easy to change, and masks had been very common for some time and cover more then beards
862.
▲
by
dathinab
2y ago
The thing with you example is that there is a "time and location bound context" due to which the false positive rate can be _massively_ reduced. But for nation wide public search the false positive rate is just way to high for it
863.
▲
by
dathinab
2y ago
What often is fully ignored in such articles is the false positive rate. Like e.g. where I live they tested some state of the art facial recognition system on a widely used train station and applauded themself how grate it was given that th
864.
▲
by
dathinab
2y ago
> won't be attacked first that isn't really the issue the issue is that, at least for a long time, they where too naive believing Russia never would go as far as attacking NATO member or economical partners was that dump, yes,
865.
▲
by
dathinab
2y ago
Is "Americas's economy" soaring or "Americas top .1%s economy" soaring? Because as someone not from the US it often looks a lot (a very big lot) like that in recent year most economical growth exclusively went to a
866.
▲
by
dathinab
2y ago
Seniors help you grow faster and help you avoid unnecessary dead end approaches etc. But aren't needed to grow (but make growing so much easier and as such allow you to grow more over the same time frame). The most important part are:
867.
▲
by
dathinab
2y ago
The most important part is this is a quote from > Davos, Switzerland > February 8, 1996 very different times, with very different problems. Mainly before "cyberspace" has permeated the daily live of nearly every citizen and
868.
▲
by
dathinab
2y ago
I had to realize that at least in start up world most (non db focused) devs thing they might not be experts in SQL but have a very solid understanding ... and then don't know about a lot of very fundamental important parts and are blis
869.
▲
by
dathinab
2y ago
if it's the biggest then what with the cases where monetary value was cut in half without giving anything back? No bonds no nothing. Because that would have been on of the alternatives. With another being to not do anything and everyon
870.
▲
by
dathinab
2y ago
it's fair compared to the standard solution of fully cutting the value in half making everyone lose half their money for good or the other alternative of politicans not making necessary unpleasant decisions and in turn making everyone
More ›