Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lstamour
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
511.
▲
by
lstamour
6y ago
Also: The Economist (for most articles, if not all): https://medium.com/severe-contest/help-us-shape-the-future-o... and https://www.reddit.com/r/theeconomist/comments/81zwcw/whatev.
512.
▲
by
lstamour
6y ago
If Chrome operated that way, we would still have broken locks on mixed-content SSL pages and no warning at all on non-SSL pages. The fact is, an attempt at security is better than no attempt at all, and visibly marking the insecure option a
513.
▲
by
lstamour
6y ago
Another way of looking at it is that your dependencies are still part of your code and to minimize those as well. It can’t easily be taken literally because who really wants to consider the Linux kernel and glibc as part of their everyday a
514.
▲
by
lstamour
6y ago
It’s worth pointing out that Orwell wasn’t so much predicting a future as commenting on current trends. For instance https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4412199/ or https://www.jstor.org&#
515.
▲
by
lstamour
6y ago
Person living in Canada here. I can confirm that Google Pay can take up to 3 days of internal retries here also. I once called and asked about a payment that didn’t go through and if they could just cancel it but apparently after I fixed th
516.
▲
by
lstamour
6y ago
All it takes is one hit traced to a misconfigured VPN or browser, for example, to learn an IP address and thus real user, at least from a law enforcement perspective… though I suppose the same is true for any honeypot links. Same goes for c
517.
▲
by
lstamour
6y ago
Huh. TIL, thanks! https://yaml.org/type/bool.html
518.
▲
by
lstamour
6y ago
Well, the animation under "Basic usage" at https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps... highlights how the bar along the top changes based on what which button or control is selec
519.
▲
by
lstamour
6y ago
That's Facebook's claim, yes. And when it comes to Apple News and even the App Store, Apple also serves advertising on behalf of its partners. It's also true that Apple themselves runs a lot of ads, and benefit from ad networ
520.
▲
by
lstamour
6y ago
Technically CN is a private company and was at that time. https://www.cn.ca/en/news/2020/11/cn-proud-to-celebrate-25th... Wikipedia mentioned https://web.archive.org/web/200712192331
521.
▲
by
lstamour
6y ago
This is why I tend to like the example shown by the Immutable javascript libraries. They implement find-by-value using a library-specific calculation of equality built on primitives, but if you need something custom, you can pass predicate
522.
▲
by
lstamour
6y ago
> I much prefer this situation where the user must provide his own implementation and think about equality. But that doesn’t scale beyond the first user. Every subsequent developer now needs to read implementations to understand what the
523.
▲
by
lstamour
6y ago
See also: https://conf.researchr.org/details/CC-2021/cc-research-paper...
524.
▲
by
lstamour
6y ago
The page you linked to on the NASA website does mention the worm logo, though its image quality is a bit visibly compressed. Perhaps it’s a recent addition.
525.
▲
by
lstamour
6y ago
I'm with you on this one. I'd actually suggest https://github.com/CoatiSoftware/Sourcetrail could be extended to do this, though I haven't found the time yet for my own codebases. For example https:
526.
▲
by
lstamour
6y ago
Python's been implemented and works well enough with sane codebases. I imagine given Ruby's strong use of conventions, common usages could be covered easily given time.
527.
▲
by
lstamour
6y ago
Traversing and displaying code as a graph is indeed the primary use case for Sourcetrail. It's documented at https://www.sourcetrail.com/documentation/ You can also click any part of the code to navigate the graph
528.
▲
by
lstamour
6y ago
I’m not a lawyer but if you’re not embedding GPL code output into your code, you’re fine. Using GPL code to write or reason about code under a different license is not the same thing as having GPL software output a copy of its own GPL-licen
529.
▲
by
lstamour
6y ago
Yep, Sourcetrail can do that, for the languages it supports. (It has an SDK so additional languages can be added, with effort.) Give it a method, another method, and it will draw a line from point A to B (with all the functions in between)
530.
▲
by
lstamour
6y ago
https://marketingland.com/apples-latest-itp-updates-what-mar... suggests that "When a user loads a web page with embedded content from another domain, as in a tracking pixel, the request header referrer for the trackin
531.
▲
by
lstamour
6y ago
Well, here's what it looked like on my MacBook Pro with M1/16GB: M1-MBP async-brigade % time cargo run --release 500 tasks, 10000 iterations: mean 761.403µs per iteration, stddev 8.929µs (1.522µs per task per iter) cargo run --rel
532.
▲
by
lstamour
6y ago
I suspect so, yes. The commit history doesn’t say, but maybe the benchmarks from that time would… https://github.com/TechEmpower/FrameworkBenchmarks/commit/cf...
533.
▲
by
lstamour
6y ago
The 0.x stability is news to me. I would suggest the community would get wider adoption by moving to 1.0 for components that others can build on, such as web servers. To me, that Tokio hit 1.0 is a significant milestone, one that encourages
534.
▲
by
lstamour
6y ago
I would not have gone shopping for it without the article pointing me to its existence, but I couldn't find it at any of my local stores. If Eataly has it, I might have to brave the elements and pay too much for it, just to try it! ;-)
535.
▲
by
lstamour
6y ago
That's a good point. And since AWS put forward their support for Rust recently, along with Microsoft's interest and the new Rust Foundation, the future is looking rather bright for Rust. But it reminds me still of the early days o
536.
▲
by
lstamour
6y ago
The incorrect alternative I meant is the idea that you can "just switch languages" or frameworks and get an instant speed boost. I mean, yes, sometimes your web server, caching proxy or CDN can act as a silver bullet, and rewritin
537.
▲
by
lstamour
6y ago
> about Actix framework being mostly unsafe Yep, that's what I meant. To me, until Rust unsafe implementations hit 1.0 as web frameworks, not just Tokio, I can't consider them as stable or bug-free as more mature web servers. I
538.
▲
by
lstamour
6y ago
To me the interesting part is when you can read the benchmark source code and learn about a high performance feature for the framework or language you’re already using. That’s happened a few times for me with Go, for example. I hope more hi
539.
▲
by
lstamour
6y ago
If you read the source code, it’s fair to say that while you can use the frameworks and implementations at the top to build your own systems, they would likely perform slower than these benchmarks as you add more features to them. Now, you
540.
▲
by
lstamour
6y ago
I wrote this comment based on pre-release benchmarks, based on Physical benchmarks run against Git commits from Jan 23 - but it should still largely apply to the final benchmarks: It’s kind of frustrating to spend a few hours investigating
More ›