HNHacker News
TopNewBestAskShowJobs

qbane

420 karma · joined July 29, 2019

my public key: https://keybase.io/qbane; my proof: https://keybase.io/qbane/sigs/ULx4Dm2OvusekP9oFVCaRSrNh_WuRQaCoRCkBdx8Er4
submissionscomments
qbane··on Claude Sonnet will ship in Xcode
How about Sublime Text (not really an IDE, just text editor)
qbane··on Cursed Knowledge
Love to see this concept condensed! This kind of knowledge will only emerge only after you dive in your project and surprisingly find things do not work as thought (inevitable if the project is niche enough). Will keep a list like that for every future project.
qbane··on A parser for TypeScript types, written in TypeScript types
See also this, TS types as a parser combinator: https://github.com/sinclairzx81/parsebox
qbane··on TapTrap: Animation‑Driven Tapjacking on Android
This has a long history dating back to the Flash era.

https://owasp.org/www-community/attacks/Clickjacking

> One of the most notorious examples of Clickjacking was an attack against the Adobe Flash plugin settings page. By loading this page into an invisible iframe, an attacker could trick a user into altering the security settings of Flash, giving permission for any Flash animation to utilize the computer’s microphone and camera.

qbane··on Ask HN: What Pocket alternatives did you move to?
Self-hosting options are invaluable because it is the only way you truly own all your data.
qbane··on Bypassing GitHub Actions policies in the dumbest way possible
I think GitHub is correct that the bypass itself is not a vulnerability, but just like the little tooltip on GitHub's "create secret gist" button, GitHub can do a better job clarifying at the "Actions permissions" section.
qbane··on Bypassing GitHub Actions policies in the dumbest way possible
Also you can leak any secrets by making connections to external services via internet and simply send secrets to them.
qbane··on Google restricts Android sideloading
The Google input method on my phone is patched by myself. So is the calculator, and many other everyday apps. I cannot imagine owning an Android phone without the ability of sideloading. Maybe I will consider rooting my phone and void my warranty on the first day with my every future Android phone.
qbane··on A proposal to restrict sites from accessing a users’ local network
IIRC Flash has a similar design. One Flash app can access the internet, or local network, but not both.
qbane··on Every 5x5 Nonogram
If you assume that a cell is full and then get a contradiction, this is pretty much a backtracking to a computer. So it is reasonable that the solver does not do this trick.
qbane··on AI is not our future
I indeed confused LLM/foundation models and GenAIs. They are both the current tech trend and both fall under the category of AI productivity tools, and I agree with your point.
qbane··on AI is not our future
My educated guess is that the profit for such a "magic" search engine is way too small than a magic "painter" that is more likely to replace a real artist. So the AI tech companies prefer the latter. It is all about the business model of the world we are in.
qbane··on For algorithms, a little memory outweighs a lot of time
A time-bounded TM is also space bounded, because you need time to write to that many cells. But the other way is not.
qbane··on For algorithms, a little memory outweighs a lot of time
But you also spend time on updating cells, so it is not that intuitive.
qbane··on I ruined my vacation by reverse engineering WSC
FYI, WSC stands for Windows Security Center.
qbane··on Why Flatpak apps use so much disk space on Linux
I hope articles like this can at least provide some hints when the size of a flatpak store grows without bound. It is definitely more involved than "it bundles everything like a node_modules directory hence..."

[Bug]: /var/lib/flatpak/repo/objects/ taking up 295GB of space: https://github.com/flatpak/flatpak/issues/5904

Why flatpak apps are so huge in size: https://forums.linuxmint.com/viewtopic.php?t=275123

Flatpak using much more storage space than installed packages: https://discussion.fedoraproject.org/t/flatpak-using-much-mo...

qbane··on Game preservationists say Switch2 GameKey Cards are disheartening but inevitable
> Even when a cartridge does contain data on day one of release, games are so often patched, updated and expanded through downloads that the cart very often loses its connection to the game, and functions more like a physical copy protection dongle for a digital object

From preservation's perspective even the day-one release, no matter how buggy it is, is worth preserved. The speedrun community, for instance, often need to fix on an exact version of the game to compete, and a physical copy (implying a pinned revision) is often easier to agree on.

There are exceptions to this, when the day-one release is not playable. It is the trend happening in the software industry -- release early, even if it is literally unusable, because we can push a patch via the network -- that is disheartening.

qbane··on 100 Years to Solve an Integral (2020)
This was the one I was taught in my high school. It has some cleverness (e.g., some trig. transformations) but looks less like coming out of nowhere than the original.
qbane··on Everyone knows all the apps on your phone
Tired of apps using shady, fragile tricks to refuse to work and claiming that you are "secured" by them
qbane··on “QWERTY wasn't designed to solve type bar jamming” [pdf]
And paid subscriptions are not even necessary for offline apps
qbane··on Chrome Returns 206 when the Server Returns 403
Section 6.3 says

> A message is considered "complete" when all of the octets indicated by its framing are available.

So in your scenario, the first response is complete, and so the caching behavior does not conflict with the spec.

qbane··on API design note: Beware of adding an "Other" enum value
How about putting Other at the top? You can convince yourself that the value zero (or one if you like) is reserved for unknown values.
qbane··on Material Theme has been pulled from VS Code's marketplace
* without the user's consent
qbane··on Material Theme has been pulled from VS Code's marketplace
If one can "force uninstall" for safety, then it implies that automatic upgrading an extension with the user's consent is unsafe at the first place.
qbane··on I Blog with Raw HTML
I think the use of md-block cannot be considered as "raw HTML". Like CSS-in-JS cannot be considered as pure CSS.
qbane··on NsJail: A light-weight process isolation tool for Linux
I have forked this project long ago and have built an online judge utilizing its BPF integration to filter out unwanted syscalls. The fork implements the time/mem usage reporting to satisfy the judge's need and it has improved my knowledge to modern Linux kernels.

There were some rough edges back then, but it had been my go-to tool to run user-provided code in isolation.

https://github.com/NeoHOJ/nsjail

qbane··on Turing Machines
An essential point that the article did not address is that Turing machines can be efficiently encoded and be simulated by another Turing machine. This is the real power that causes the impossibility to solve its own halting problem.
qbane··on I've never used cohost but I miss it
> Tomorrow I can just simply take that and make it a static site that I would self-host or whatever.

I have always found myself reluctant building a blog out of static-site generators. If writing and posting were all I want, static sites could have done everything the web technologies had been offering. But I kinda feel that the fact that we -- the small group people having "internet dream" since the beginning of web 2.0 -- has the desire to share and collaborate. The more the web is inter-connected, the more value the community can create. We are in the same boat, and this feeling is something static hosting services seldom provides.

> Please, if you are on cohost, if you have a small blog, a small personal website, please I'm asking you, don't stop. [...] I love seeing you out there and I want to see more of you.

I had only two testing posts on cohost, but I did enjoy reading and discovering posts there. The idea of forming a close-knit community was rooted at the core design of cohost, shaping it up as a nice blend of blogging platform and social media. I hope more people can build toward this.

qbane··on JSON Patch
Judging from the tone, is this article written by AI?
qbane··on Open/close transition of Flex SDK's tree view takes 300+ lines of ActionScript
The code about animation starts at line 1812 and ends at line 2148. Kind of a lost art.
← PreviousPage 3 of 4Next →