Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_flux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
631.
▲
by
_flux
3y ago
I use Tidal, mostly to support an underdog, though I'm not sure how much that reflects reality nowdays.. However, they are in the process of adding better APIs for developers to use, so at least that's a plus in my books: https:&
632.
▲
by
_flux
3y ago
Seems the support would be a realistic feature, though, because it's based on https://springrts.com/ that does support MacOS X.
633.
▲
by
_flux
3y ago
You perhaps know, but I believe one should prefer the "unknown" type in TypeScript in such scenarios. Of course, then you need to check what its type actually is to make use of it, but this time TS checks that you do. Btw, the equ
634.
▲
by
_flux
3y ago
You should consider asking the support for partial refund. Though a month might be stretching it.
635.
▲
by
_flux
3y ago
A long time ago I had a bad cable internet connection (high packet loss), but I also had good shell access to Uni's computers, so what I did was that I downloaded large files there and then I had encountered a tool that would be given
636.
▲
by
_flux
3y ago
As far as I recall, all compiled languages use untyped target languages. The only downside with TS/JS is that the JS implementation loses an optimization opportunity by not being aware of the TS-checked types.
637.
▲
by
_flux
3y ago
I realize that that is actually factually incorrect: you do associate the contents to the locks in Rust, e.g. RwLock<Contents>, though the structure is a bit different as an object doesn't inherently to have a lock. However, you
638.
▲
by
_flux
3y ago
If I'm not misunderstanding it, those always associate exactly one lock to a exactly one object, which is not what Rust locking is. The Rust (also C++) mechanism is that when you lock a mutex you get a lock guard object and when the sc
639.
▲
by
_flux
3y ago
Yes, this would be very nice to have! The workaround for a slightly different issue (similar as in using global state) I've used is to have an integer for identifier and then have a predicate that finds all the uses of those integers i
640.
▲
by
_flux
3y ago
On the other hand you could get cool stuff from the video encoding hardware, such as access to motion vectors on the cheap: https://github.com/osmaa/pinymotion I wonder though if the OpenGL ES3.1 compute could be used
641.
▲
by
_flux
3y ago
I've been thinking the same, but for PCs. I guess nowadays SMART is pretty good, though, and you can hear if your fans are dying :). Maybe for computers that don't have RPM monitoring and aren't being listened to? It would at
642.
▲
by
_flux
3y ago
Turns out there was no LOD for cims (among some other assets?) as per comment from Paradox: https://www.videogamer.com/news/cities-skylines-2-teeth-perf... > “Citizen lifepath feature does not tie to citizen geometr
643.
▲
by
_flux
3y ago
Yes, elsewhere in the thread it was shared that lighting takes a big chunk of time at the game start: https://www.reddit.com/r/CitiesSkylines/comments/17gfq13/com... In another comment there was a link t
644.
▲
by
_flux
3y ago
The site timeouts on me :/. One guy at Reddit noticed with the nvidia nsight that apparently the cims are drawn without regard to level of detail: https://www.reddit.com/r/CitiesSkylines/comments/17gfq13&
645.
▲
by
_flux
3y ago
Is it not a fair assumption that companies would try to follow local laws, though? It seems rather perilous for businesses to do otherwise. It looks like in these cases either the FBI dropped the case or the request was found to be unlawful
646.
▲
by
_flux
3y ago
Absence of proof isn't proof of absence. Do we know cases of Google/MS/Amazon fighting a targeted wiretapping subpoena and winning it? Do you think they would not have been served one?
647.
▲
by
_flux
3y ago
My Tilix/zsh combination just pastes the content as a multi-line entry to the terminal. If the clipboard contains control codes (e.g. arrow up) they are entered verbatim (as if I had used the quoting function ^V to enter them). So I su
648.
▲
by
_flux
3y ago
Well you could check the SSH server fingerprint that it matches what the SSH client sees. In principle if the SSH connection is MitM'd, they could change the output from the shell so that it would look like it wouldn't be changed.
649.
▲
by
_flux
3y ago
The point is probably the heading of the final chapter "Could you prevent or monitor this kind of attack?" which enumerates the ways how you could detect this attack.
650.
▲
by
_flux
3y ago
> the Rust community is generally build-oriented, as opposed to binary-oriented That is true for the case for developer tools and libraries, but is it also true for end-user applications? I've noticed many Rust projects e.g. on Gith
651.
▲
by
_flux
3y ago
Yeah, it sounds like it should support it. Traditionally though OCaml editor integrations have also supported not only asking just the type of a symbol, but of an expression. I wonder if LSP can do that, because that function needs some int
652.
▲
by
_flux
3y ago
I suppose any proxy can be used in combination with https://www.linux.org/docs/man8/tc-netem.html but it is a bit tedious. Perhaps one of the linked projects can help with it?
653.
▲
by
_flux
3y ago
They'll quietly whisper them into your ear.. !
654.
▲
by
_flux
3y ago
The page says it detects if the light is obscured and notifies the user in thatacse. That's doesn't sound quite the same as disabling camera in that case, but I imagine this is also one bit of metadata they collect and that could
655.
▲
by
_flux
3y ago
Not only does it have a wasm target, it also has a web version: https://editor.godotengine.org/ I suppose it's not any kind of priority to the project. Tested it a bit and it does seem to work :), but it's slower
656.
▲
by
_flux
3y ago
If you get zero results, you'd probably see the mistake prettty fast, right? I imagine most often (like 90%+ of cases) when one searches for phrases they would be a result of copy-pasting from another source, so handling this case in a
657.
▲
by
_flux
3y ago
Hmm, I thought basically only Rust solves it. How do Zig and Val solve it?
658.
▲
by
_flux
3y ago
Taking a word and trying to make it mean something else, such as "sugar is an inedible product", never sits really well with the recipients of the message—in particular when it is then circularly then used "well you can'
659.
▲
by
_flux
3y ago
If the code was valid at some point (e.g. when opening it) it could remember the old colorings of the rest of the code. Though handling opening and closing a string and still ending up in an illegal state would need some more logic.. Maybe
660.
▲
by
_flux
3y ago
While looking into it I found this guy wanting 64 MB swiotlb who was probably doing something like that: https://stackoverflow.com/questions/52833714/change-the-size... Looks like an exception to the rule, though.
More ›