Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
progval
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
811.
▲
by
progval
6y ago
Agreed. I maintain a fork of a package that loads plugins; and these plugins import from the original package's name. If I couldn't use the same name, users would need to edit every old plugin's code.
812.
▲
by
progval
6y ago
> but still average over random choices your algorithm makes Worst-case complexity is usually defined on Turing Machines or Von Neumann machines. In these models, algorithms cannot make "random choices", they are deterministic.
813.
▲
by
progval
6y ago
> seeding your hash with your hashtable pointer This is not how worst-case complexity analysis works. Worst-case means worst-case , ie. the input is selected by an adversary with complete knowledge of your algorithm and initial memory;
814.
▲
by
progval
6y ago
On personal projects (using git), I use squashing only for small bug fixes like the one you mentioned or when the author of a PR made a big mess of commits (usually because they are a git beginner). Best of both worlds.
815.
▲
by
progval
6y ago
> Why do they hang on to Python2.7? https://doc.pypy.org/en/latest/faq.html#how-long-will-pypy-s... PyPy is written in RPython, which is a subset of Python 2 without most of the dynamic features, so it can be c
816.
▲
by
progval
6y ago
You can use a secure link between the front-end nginx and the backends (VPNs, another TLS connection with a cert signed by an internal CA, IPsec, ...)
817.
▲
by
progval
6y ago
> Github wouldn't exist if everybody rolled their own version control system, for example. It also wouldn't exist if no one did. It's all about compromises. Having too many tools for the same job isn't good, but monoc
818.
▲
by
progval
6y ago
After the initial update, you can use it for something else.
819.
▲
by
progval
6y ago
If they can modify the integrity hash on your site, then they can probably modify anything else on your site.
820.
▲
by
progval
6y ago
Then you need to prevent any website from registering a ton of handlers, even through redirection or links to other (sub)domains.
821.
▲
by
progval
6y ago
Indeed, my bad. I misunderstood your comment as saying skim-readers might miss that sentence and only see the sizes on pictures.
822.
▲
by
progval
6y ago
You missed an important part of the sentence: > collected off the southern coast of West Java in Indonesia, from a depth of between 950 and 1,260 metres the specimens were not 1km long.
823.
▲
by
progval
6y ago
> the only issue is that there's no declarative way to advertise support for mailto links, webmails need to ask the user. What's the alternative? You can't let any website register a handler for mailto without asking the u
824.
▲
by
progval
6y ago
No problem, I didn't take it personally. Re-reading my comment I realize "you don't see this kind of behavior from the rust community" was unclear. I meant that people who are part of rust community don't see it, be
825.
▲
by
progval
6y ago
As an occasional rust programmer: you don't see this kind of behavior from the rust community. You see it when a random person opens an issue on a bugtracker you are subscribed to. Then it's usually prompty closed by a maintainer
826.
▲
by
progval
6y ago
the whole page too; it starts with: <body style="overflow: scroll;"> <div style="overflow: scroll;"> <div style="overflow: scroll;"> <div style="overflow: scroll;
827.
▲
by
progval
6y ago
What about /run or /proc?
828.
▲
by
progval
6y ago
Doesn't "statistically insignificant" mean papers which conclude something like "we find no correlation between X and Y"?
829.
▲
by
progval
6y ago
> Distributed systems shift that legal liability directly to viewers. For what it's worth: France tried suing people using bittorrent to download illegally with the Hadopi law from 2009 to 2020 (it was ruled unconstitutional in May,
830.
▲
by
progval
6y ago
> By omitting digits after the decimal you are misleading people into believing that your number is more accurate than it really is. Digits omitted at the right mean we don't know them, not that they are zero. > and convert that
831.
▲
by
progval
6y ago
Blocking javascript for this domain solves the issue (and makes WP's website more usable overall)
832.
▲
by
progval
6y ago
> Let’s assume we can literally communicate over any distance instantly. Do we come across as a bit slow to anyone orbiting star S62? Communicating "instantly" would be a paradox. Remember there is no absolute reference to whic
833.
▲
by
progval
6y ago
> since they only licence but don’t actual fab the chips From the article: "It's one of the fundamental assumptions of the ARM business model that it can sell to everybody. The one saving grace about Softbank was that it wasn&#
834.
▲
by
progval
6y ago
> As a software dev, my personal experience of "professional linux distro packagers" is people literally removing random lines of code of my software until it builds That's sad. But fortunately, not all packagers are like
835.
▲
by
progval
6y ago
Looks like part of the Servo team is https://twitter.com/SimonSapin/status/1293231187167784960
836.
▲
by
progval
6y ago
mrustc doesn't support all of Rust, its only purpose is to bootstrap the normal Rust compiler; and it only works on x86 and x86_64 Linux and isn't very much optimized (eg. needs about 10GB of RAM for the final linking). And it
837.
▲
by
progval
6y ago
> For scientific context to my statement H2O can be turned into really good propellant Note that in The Expanse universe, water isn't usually used as propellant, but simply as reaction mass. All we know about the actual propellant i
838.
▲
by
progval
6y ago
"Sidelinks will allow 5G-connected vehicles to communicate directly with one another, rather than going through a cell-tower intermediary."
839.
▲
by
progval
6y ago
What if it becomes so commonplace you no longer have a choice to buy a device not connected to the internet? and if it's not easy to disable the modem? Right now it's already hard enough to have a smartphone's software not sp
840.
▲
by
progval
6y ago
I find my phone way too thin, I can barely use it as-is. Thankfully I have a thick case which quadruples its depth (to about 1cm), which is very usable and still fits in any reasonable pocket. From the video, it looks like the Zero Terminal
More ›