Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CyberShadow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
31.
▲
by
CyberShadow
5y ago
If I give you my phone number, and you have True Caller installed and save my number to your contacts, I unknowingly and unconsensually also give my phone number to True Caller and essentially the entire world.
32.
▲
by
CyberShadow
5y ago
Indeed. You may also want to buy a bunch of (preferably pre-activated) SIM cards, as registering such accounts will require a phone number, and they limit the number of accounts that can be created with one phone number.
33.
▲
by
CyberShadow
5y ago
Thank you for posting that link. The last time I checked, they were asking to install their app and then unlist yourself from there.
34.
▲
by
CyberShadow
5y ago
Mysterious person in a hat and trench coat. Perfect.
35.
▲
by
CyberShadow
5y ago
I tried doing something similar for another game (fully explore and dump the dialogue tree of VA-11 Hall-A), and also encountered the state explosion problem. What helped was a data structure which allows storing very large sets of states,
36.
▲
by
CyberShadow
5y ago
> In a case like Worms where there are concurrent actions and random reveal choices inside each turn... If some deterministic state and random number is created for each player at the start of the turn, then their inputs can be reproduci
37.
▲
by
CyberShadow
5y ago
This extension is closed-source and its code is obfuscated. It also phones home according to the Firefox permissions. I'm not sure I would trust it. Edit: more information in the HN announcement: https://news.ycombinator.com
38.
▲
by
CyberShadow
5y ago
> They connect by default with aptX (A2DP mode) but using KDE tray icon, I can easily change it to full-duplex headset mode with mSBC. As of wireplumber 0.4.8, they will now automatically switch to the headset profile when an application
39.
▲
by
CyberShadow
5y ago
You will generally want the outcome to be actually verifiable to everyone, not just the immediate participants.
40.
▲
by
CyberShadow
5y ago
> I'm not sure I understand why there'd ever need to be an instant result (sans network latency) in a turn-based game. If the player has a visual indication that the server is waiting for their command, then any jumpy movement
41.
▲
by
CyberShadow
5y ago
The second-generation Worms games (2, Armageddon, WWP) use the same approach (here called "Deterministic action propagation method"). It was implemented by Karl Morton, and we also use it for replay files (which is why the game lo
42.
▲
by
CyberShadow
5y ago
May I suggest placing it in a <details> tag. I'm finding it difficult to pay attention to anything on the page when there's a constantly blinking animation on it. > It helps people that don't know that you can watch
43.
▲
by
CyberShadow
5y ago
What's with the "star and watch" animated GIF in the README? Should I start putting one in all my repositories? Should everyone be doing that as well?
44.
▲
by
CyberShadow
5y ago
Hey, you forgot to put this in the title: "written in Rust" :-) This looks nice, though I looked through my command history of "watch" and couldn't find any use cases where hwatch would be more useful. Am I using it
45.
▲
by
CyberShadow
5y ago
What is "LTD"?
46.
▲
by
CyberShadow
5y ago
Have a look at Linux Deploy, it is essentially an installation wizard and launcher. I no longer use it, and instead use Magisk startup scripts to start the Linux userspace, but it remains useful as an installer.
47.
▲
by
CyberShadow
5y ago
I found it to be true in most cases, and when it is not... well, we can vote with our wallet. Case in point: I had never heard about Onyx. Coincidence or causation?
48.
▲
by
CyberShadow
5y ago
Since Android uses the Linux kernel, if you have full access to the device, you can already generally sideload a distribution of your choice onto the filesystem. The Linux userspace can run and coexist alongside the Android userspace. Thoug
49.
▲
by
CyberShadow
5y ago
That's a cool find. On a practical note, at the top level or in the middle of progn-like constructs, you can do "block comments" with just: '( ... ) I.e., quote the form to prevent evaluating it.
50.
▲
by
CyberShadow
5y ago
(2017) More impressive: manipulating strings at compile-time. Even more impressive: using string manipulation at compile-time to build valid D code, then use string mixins to inject it into the current program, passing it on to the compiler
51.
▲
by
CyberShadow
5y ago
Have you tried GitHub Discussions? They even have a Q&A mode for your own mini StackOverflow.
52.
▲
by
CyberShadow
5y ago
Discourse isn't all that bad with JavaScript disabled.
53.
▲
by
CyberShadow
5y ago
How is dang not there? https://news.ycombinator.com/user?id=dang It looks like they should be in 85th place?
54.
▲
by
CyberShadow
5y ago
I think XConvertSelection would be more effective. Applications which use the XFixes extension to receive notifications of new owners won't need to use XGetSelectionOwner.
55.
▲
by
CyberShadow
5y ago
> but for some reason it doesn't seem like the right approach. The approach being used in containerization is namespaces. You can put new processes into a new IPC / user / PID / network / time / etc. namespa
56.
▲
by
CyberShadow
5y ago
I think the goal here is to be notified when an application accesses the clipboard, not modifies it. You need to be the owner to do that (excluding some system-wide hack like patching the X server or MITM-ing all X11 connections).
57.
▲
by
CyberShadow
5y ago
I am not familiar with bpftrace (though that does look extremely potent), but XSetSelectionOwner is called when an application wants to make data available via the clipboard, not access it. Also not sure if that would also catch stuff with
58.
▲
by
CyberShadow
5y ago
The protocol actually allows for applications to request the clipboard data to be delivered to someone else's window. I haven't tried it, but I think it would work.
59.
▲
by
CyberShadow
5y ago
> Which distributions and which settings are you talking about? kernel.yama.ptrace_scope = 1 > If you can run gdb on that distribution, then you can definitely do it, even if it's just because they whitelist gdb in selinux/a
60.
▲
by
CyberShadow
5y ago
> If these programs want to spy on each other's memory contents, they already can. No, they cannot. As an unprivileged process, you cannot access other processes' memory, with major distributions' default settings, even if
More ›