neetodavid
Joined 8 years ago
Joined 8 years ago
Speaking of... do security researchers sometimes just sit on their discoveries in hopes that they will eventually lead to a bigger payout? I would be kicking myself if I had reported a bug for a relatively small reward that I could have leveraged in combination with another discovery
I had no idea what I was doing. Didn't look at how other SSG's work... I just made some template HTML files, stuffed some content in YAML/Markdown frankenstein files, and then used JavaScript string.split().join() calls to stitch together the output files
It worked! It is very satisfying to have one build command that generates the entire site and pushes it to gh-pages for hosting.
Human philosphers often make the error of assuming that all intelligent behaviour is a form of reasoning. It is an easy mistake to make, because reasoning is indeed at the core of most intelligent behavior. However, intelligent behavior can arise through other mechanisms as well. These include learning (i.e., training), and the embodiment of a system in the world (i.e. being situated in the environment through sensors and effectors).
It reminded me of another post I saw on hacker news (Losing the Narrative - The Genre Fiction of the Professional Class https://news.ycombinator.com/item?id=23662750)
The phenomenon of "intelligent behavior" totally divorced from reasoning is always on my mind. Like "emergent behavior" in immersive sim games, or boids & flocking algorithms.. or schools shuffling classrooms every 14 minutes to work around coronavirus guidelines...
I'd like if the text on the recently played list were selectable for easier copying.
Chrome implements a "clipboard-read" permission that can be requested by calling navigator.clipboard.read(). When a page calls that it will display a permission request dialog (like those asking for permission to show notifications on seemingly every single news web page). A little clipboard icon will also appear in the nav bar showing the status of the permission (visible after a read attempt is made during that visit)
Firefox is apparently on track as well, although for now the clipboard.read function is not implemented for pages and can only be called by extensions. I'm not sure what the permission dialog for extensions is like.
https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_A...
So... it may be safe. But it is a work in progress and each browser is different. I've only checked the most well-documented method for reading the clipboard... maybe there is some other half-implemented feature or event listener that happens to leak some clipboard data...
I was debugging memory leaks in some pretty large javascript products and while I did initially start with methods like this post, I only started to make reliable progress when I became familiar with the heap snapshot tool. Diagnosing problem is trivial (just filter the heap snapshot by a Class name and count the instances) and it is The Tool To Use to actually resolve it (tracing the chain of references in the retainers view)
In the future if I need to write automated tests to identify memory leaks I will look into automating the Dev Tools rather than fumbling with WeakMap or performance.memory.usedJSHeapSize
https://vcloud42.com/file/art42-cdn/cubism/seed_0000213622.j...
For large pages where source changes cause problems I will sometimes put logic inside conditional breakpoints. It's not great for huge changes (though you technically can put a lot of code in there) but for small things like quickly sanitizing null inputs it works fine.
"What I mean is I regularly have to send take down notices not only for people using my name for their music and it appearing on my artist page but for people uploading my albums to their page and assumedly having my money diverted to them until we catch it."
https://exclaim.ca/music/article/el-p_rages_out_on_spotify_f...