Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
511.
▲
by
devit
5y ago
Have they sold the company to Microsoft? "Microsoft SQL Server on Ubuntu delivers an optimised, cost-effective database platform" Of course not, it's not free so it's not cost effective compared to the best database, whi
512.
▲
by
devit
5y ago
Well, you or whoever was the responsible maintainer completely failed in reviewing these patches, which is your whole job as a maintainer. Just reverting those patches (which may well be correct) makes no sense, you and/or other mainta
513.
▲
by
devit
5y ago
I doubt an university e-mail gives you significantly increased trust in the kernel community, since those are given to all students in all majors (most of which are of course much less competent at kernel development than the average kernel
514.
▲
by
devit
5y ago
The project is interesting, but how can they be so dumb as to post these patches under an @umn.edu address instead of using a new pseudonymous identity for each patch?!? I mean, sneakily introducing vulnerabilities obviously only works if y
515.
▲
by
devit
5y ago
They are much faster and memory-efficient than the tools written in JavaScript. Part of it is language (e.g. obviously Rust is much better than JavaScript for algorithmic code) and part the fact that someone using another language is likely
516.
▲
by
devit
5y ago
The phone can use the cellular network when not docked and usually both laptop and phone are only used/docked in 1-3 different places (desk, bed, some other place).
517.
▲
by
devit
5y ago
This is why you should use wired Ethernet and not Wi-Fi at home.
518.
▲
by
devit
5y ago
Yes, it works the other way: Zink is the Gallium->Vulkan translation layer, while the main Mesa code is effectively an OpenGL->Gallium translation layer.
519.
▲
by
devit
5y ago
If they only considered the parts where Autopilot is enabled, it's obviously biased since people are going to enable Autopilot only where it is most likely to work and not kill them, and in general where accidents are less likely overa
520.
▲
by
devit
5y ago
"Do you want to let the website use WebGL? It's either for rendering 3D graphics, such as 3D games, or an attempt to exploit bugs in WebGL to maliciously take full control over your machine, which may succeed if you consent"
521.
▲
by
devit
5y ago
I think most consumer telephony companies let you block calling premium numbers, so presumably Twilio could just ask their telephony provider to do so.
522.
▲
by
devit
5y ago
It might, although current PrEP can cause kidney damage so it's a good idea to monitor for that, which means you need to draw blood anyay and so doing STD tests as well doesn't result in any additional inconvenience.
523.
▲
by
devit
5y ago
Cow<'static, str> is exactly what you are asking for. In general the String type is not very good, and you should use something appropriate to your use of strings for any string that is used more than a constant times in your pro
524.
▲
by
devit
5y ago
If testing is frequent and widespread enough, eradication or near-eradication will result. PrEP is a good thing because people who are on PrEP can be required to test frequently as a condition to obtain new medication (not sure if that happ
525.
▲
by
devit
5y ago
It's just a normal blood test, routinely done as part of STD screening along with the HIV test.
526.
▲
by
devit
5y ago
The issue is presumably that free, easily accessible and anonymous testing is not available in San Francisco. Where it's available, you just do a blood test every 3 months, test for HIV and syphilis and start therapy if positive.
527.
▲
by
devit
5y ago
Not sure it's that illogical. mRNA vaccines are apparently better and don't seem to have serious side effects, so only using those is correct if it doesn't delay immunity too long. According to the article, this might cause a
528.
▲
by
devit
5y ago
It seems that it's open source (Apache 2.0) and can generate SQL for PostgreSQL and SQLite in addition to BigQuery.
529.
▲
by
devit
5y ago
In DOSBox you can mount host directories to MS-DOS drives with the "mount" command (and of course you can use Linux bind mounts and mount namespaces along with it).
530.
▲
by
devit
5y ago
If you don't call clone() then a clone doesn't happen...
531.
▲
by
devit
5y ago
Is this just for a fun or is it actually better than dosemu2, dosbox and qemu in any way?
532.
▲
by
devit
5y ago
How does it work? Doesn't iOS inform the user when they are about to authorize a paid subscription?
533.
▲
by
devit
5y ago
The latter change introduces an unnecessary clone(). The correct approach is to instead introduce a variable so that headerRegex can keep being a reference to either that variable or to HEADER_REGEX.
534.
▲
by
devit
5y ago
It passes cargo check with this change. diff --git a/cli/src/test.rs b/cli/src/test.rs index ac4807bf..8b9882ab 100644 --- a/cli/src/test.rs +++ b/cli/src/test.rs @@ -4
535.
▲
by
devit
5y ago
1. You mean Cow<'a, str>? It's an enum of either String or &'a str, typically used with 'static so you can either store an heap-allocated string or a static string without copying it to the heap 2. Given you me
536.
▲
by
devit
5y ago
That seems rather trivial, and I'm not sure how you could possibly have any issues with the borrow checker. Just do the first regex search, then escape into a String with regex::escape, then build a regex from the String and search wit
537.
▲
by
devit
5y ago
That's false, [ is a bash shell builtin (it's also a coreutils program, but the program is not called unless you specify /usr/bin/[ or use a shell that doesn't have it built-in).
538.
▲
by
devit
5y ago
Don't use fractional scaling. Use the closest integer scaling and adjust default font sizes (and if needed other sizes like window title height or panel height). It's also best if you just don't buy monitors that have dpis th
539.
▲
by
devit
5y ago
As long as there remain viable open-source browsers there will be forks allowing ad-blocking. The only danger is Google switching Chrome to closed source and adding lots of complex extensions that get widely adopted faster than they can be
540.
▲
by
devit
5y ago
Only allowing robots and disallowing all human presence in the lab.
More ›