Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barbegal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
361.
▲
by
barbegal
6y ago
I think you need to be careful with choosing to use CSV format. CSV works fine as long as you are not handling character stings. Character strings get messy as soon as they might introduce commas or characters outside of ASCII. For tabular
362.
▲
by
barbegal
6y ago
Not necessarily, imagine a port knocking monitor that stores each port attempt it sees in a large buffer. Imagine you make many attempted connections allowing you to overflow the buffer and write arbitrary data onto the heap.
363.
▲
by
barbegal
6y ago
Yes but you can defend it against replay attacks if you use a rolling code https://en.wikipedia.org/wiki/Rolling_code
364.
▲
by
barbegal
6y ago
It's worth reading the full technical analysis https://windows-internals.com/printdemon-cve-2020-1048/ It's well written and easy to follow even for someone that doesn't know much about Windows security.
365.
▲
by
barbegal
6y ago
I've always argued that if you are getting close to having to worry about underflow, overflow etc. then you have an ill-conditioned problem and just increasing the size of your intermediate results won't help you a huge amount bec
366.
▲
by
barbegal
6y ago
From 2008 so mostly not relevant if using up to date compilers
367.
▲
by
barbegal
6y ago
This shows the value of training and realistic simulations. The first time I gave this a go, I completely failed. If I had really been in space the mission would have failed and potentially lives lost. But I learnt a lot and the next attemp
368.
▲
by
barbegal
6y ago
Yes it is still advantageous to demote out of stock items in the search results. But if the store knows a certain Wunderbaum flavor is really popular but not in stock right now it should probably show up fairly highly in the search results.
369.
▲
by
barbegal
6y ago
And I don't consider being able to "write compilable code" as a good metric for programming ability. You can be a great programmer in many different ways: in optimising for performance, in optimising for testability, in incre
370.
▲
by
barbegal
6y ago
I think the fact that out of stock items aren't shown isn't a UX improvement. If an item isn't in stock and you can't see that it is normally stocked then you will probably shift your business elsewhere and not come back
371.
▲
by
barbegal
6y ago
Yes but (if we believe they are telling the truth) this was only done accidentally and they only intended to sniff the SSIDs. https://publicpolicy.googleblog.com/2010/05/wifi-data-collec...
372.
▲
by
barbegal
6y ago
Those modifications seem unlikely, You can't easily reinforce pillars in a car and they are designed to support the full weight of the car in a roll-over situation so a few 10s of kgs of equipment on the roof make little difference. Si
373.
▲
by
barbegal
6y ago
I agree MD5 is not broken for digest authentication. MD5 is only weak for chosen-plaintext or brute force attacks. With a correctly generated nonce, it is more than secure enough.
374.
▲
by
barbegal
6y ago
Curiously this sounds like a system that would be useful to lots of workplaces where hand tools curiously go missing! https://www.seattletimes.com/business/boeing-aerospace/boein... https://en.wikipedia
375.
▲
by
barbegal
6y ago
Well what are the issues you are currently having with Postgres 10? It doesn't sound like there is any compelling reason.
376.
▲
by
barbegal
6y ago
Correct, I rounded to the appropriate number of significant figures. I hate extra significant figures which suggest that the data is more precise than it really is
377.
▲
by
barbegal
6y ago
> We tested 1,020 serum specimens collected prior to SARS-CoV-2 circulation in the United States and found one false positive This gives 95% confidence intervals of between 0.0% and 0.5% false positive rate.
378.
▲
by
barbegal
6y ago
Has anyone used the greenarray technology for any real world applications? It seems to fit somewhere between an FPGA and a microcontroller, but it doesn't seem that obvious to me what the benefits are, maybe less power than a microcont
379.
▲
by
barbegal
6y ago
It would have been far better to select numbers generated by the NIST Randomness Beacon https://beacon.nist.gov/home And whilst you can sort of selectively choose which values to take from the beacon, it should reduce the a
380.
▲
by
barbegal
6y ago
This is from November 2019 so pre-COVID-19
381.
▲
by
barbegal
6y ago
Note this is a design patent rather than the more commonly known utility patent so it only protects the ornamental design of the drum machine.
382.
▲
by
barbegal
6y ago
This isn't possible H.264 is required to start with a key frame. Having said that you can have an H.264 stream with a single key frame.
383.
▲
by
barbegal
6y ago
Thanks for the link. They assume that Android devices can scan in the background but my experience is that whilst this is theoretically achievable, the experience is unreliable in practice. See this guide which shows how to make things more
384.
▲
by
barbegal
6y ago
The technical aspects discussed are slightly wrong because they are different between iOS and Android. >The NHS has insisted its engineers have worked around this problem "sufficiently well" by waking the app after it detects i
385.
▲
by
barbegal
6y ago
But in the overall scheme of things it's order of magnitudes more difficult to deploy. PHP is upload a file whereas docker requires many more steps (for example: https://kb.sloppy.io/en/collections/156106-gett
386.
▲
by
barbegal
6y ago
And this is why the bank says you can only create a password with alphanumeric characters. Despite the huge advances of UTF-8 adoption there are still large numbers of systems out there where you can't reliably use anything other than
387.
▲
by
barbegal
6y ago
I don't think 30 to 50 people currently die due to stings from Asian Giant Hornets in Japan. At least not according to these statistics http://www2u.biglobe.ne.jp/~vespa/vespa0562.htm Wasps and Hornets are just as
388.
▲
by
barbegal
6y ago
DISTINCT generally requires the results to be sorted which has O(n^2) worst performance so it can have a big performance hit on a query. It is best to make your database structure such that queries only return distinct data. E.g. by disallo
389.
▲
by
barbegal
6y ago
Yeah just realised you're running the algorithms in real time in the browser so makes it a bit tricky. Maybe just have them pause when they reach the end state and have to click the play button to re-run.
390.
▲
by
barbegal
6y ago
Really lovely animations, great for illustrating a quite complex algorithm. It would be nice to have a button to pause the animation at its end state to compare the curve shape and number of calculations.
More ›