Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
madacol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
madacol
2y ago
As a userscript https://github.com/madacol/web-automation/blob/master/usersc... // ==UserScript== // @name Always show transcript // @match https:
32.
▲
by
madacol
2y ago
bookmarklet to "Show transcript" javascript:document.querySelector('button[aria-label="Show transcript"]').click() < https://getbookmarklets.com/scripts/data%3Atext%2Fjavascript.
33.
▲
by
madacol
2y ago
github.blog ask for cookies, but github.com does not
34.
▲
by
madacol
2y ago
I've been thinking about that for years. I believe there are sooo many problems that would be solved by that kind of system And although it might not be technically practical in many cases, I think in this case it would
35.
▲
by
madacol
2y ago
Have you considered using grammar sampling?
36.
▲
by
madacol
2y ago
You cannot edit in real-time with regex With regex, you need to plan everything you need to do and then surgically do it. With multiple cursors, you only need to know (roughly) where you need to change, the rest you figure it out on the f
37.
▲
by
madacol
2y ago
It's very confusing how you use ">" It is generally used to quote literally a passage from the person your replying, for example you wrote this: > FF mobile: you're correct, this is not mobile responsive yet and he
38.
▲
by
madacol
2y ago
Thanks!, I really like the idea of doing some kind of rate-limiting
39.
▲
by
madacol
3y ago
A bookmarklet store https://getbookmarklets.com/ Though I am having trouble figuring out a simple way to solve discovering and make it work autonomously without leaving it open to spam Any ideas or feedback appreciated
40.
▲
by
madacol
3y ago
Easy installation from source https://difftastic.wilfred.me.uk/from_source.html cargo install --locked difftastic
41.
▲
by
madacol
3y ago
Do you have any problem like the phone's CPU sleeping and becoming unresponsive?. It has happened to me but phone was on battery instead of charging
42.
▲
by
madacol
3y ago
I also think we need some kind of bookmarklet manager to show only the relevant bokkmarklets depending on the webpage in display
43.
▲
by
madacol
3y ago
On firefox you can right click -> "Reveal password"
44.
▲
by
madacol
3y ago
- Open npm package on socket.dev javascript:location.href=document.location.href.replace("www.npmjs.com/", 'socket.dev/npm/'); - Edit any text on any page javascript: (function() { docume
45.
▲
by
madacol
3y ago
I am shocked by the overwhelming negative comments I do not think the author is arguing for mindlessly expanding the population disregarding our current consequences. I think his concern is that people seem to have forgotten that population
46.
▲
by
madacol
3y ago
> isMatch = false; That instruction is executed conditionally, you can time it. Maybe eliminate the if completely an do something like this ... for (var i = 0; i < inputKey.length; i++) isMatch = isMatch &&
47.
▲
by
madacol
3y ago
- a repeated event when aggregated (like summed or averaged) tends to look more and more like a normal distribution the more samples you got - the standard deviation of a normal distribution scales roughly by the square root of the number o
48.
▲
by
madacol
3y ago
Lightning has had lots of problems, but most of those are fixable through software or gets better and better with adoption (at least in theory). The reason adoption has been so low is that with current hardware you cannot run a full node in
49.
▲
by
madacol
3y ago
No, Firefox automatically encodes it, but it does have other gotchas because line-breaks are removed - You have to put `;` on each statement - You cannot use inline comments, // you cannot do this
50.
▲
by
madacol
3y ago
An interesting one I made recently is related to a game published a couple of days ago here in HN called "infinite craft" https://neal.fun/infinite-craft/ The game does not have any save mechanism, so I made
51.
▲
by
madacol
3y ago
edit any text on webpage javascript: (function() { document.body.contentEditable = true; document.body.spellcheck = false; })(); Open on wayback machine javascript:location.href='https://web.archive.org&#x
52.
▲
by
madacol
3y ago
I made a bookmarklet that loads the state from localstorage and also autosaves the state on each new craft javascript:(function(){ const exportState = () => JSON.stringify({ discoveries: window.$nuxt.$root.$chil
53.
▲
by
madacol
3y ago
Just add water like 5 times, and you get fish
54.
▲
by
madacol
3y ago
I disagree, The UI feels more like a simulation, you have an initial position (100% equity) and you start adding events sequentially, and you can see the partial results after each event that you have added. Sure, you could have done the sa
55.
▲
by
madacol
3y ago
edit any text on the page: javascript: (function() { document.body.contentEditable = true; document.body.spellcheck = false; })(); --- Longer bookmarklets: https://github.com/madacol/web-automation/tr
56.
▲
by
madacol
3y ago
I personally feel powerless, or that it requires a huge amount of work to have a significant impact. If what you say is true, It could be very persuasive to inform about the expected impact a single person could have by just doing X. For ex
57.
▲
by
madacol
3y ago
> Unfortunately it also opens up the door for so many new exploits. Put the door behind a permission the user has to explicitly activate, and if you are still concerned, add more friction to the process, or in this case, argue for a bett
58.
▲
by
madacol
3y ago
But that's expected! When you are discovering to do a new thing that nobody knows how to do, you first try a bunch of things manually to learn what works and what doesn't. Only after you have a procedure that reliably works, you a
59.
▲
by
madacol
3y ago
Elon once mentioned an interesting idea, just make removing laws easier than approving them. For example, if you require something like 2/3 of the votes to approve a law, then require only 1/2 to remove a law
60.
▲
by
madacol
3y ago
when you "do something" what are you talking about?, can you give me a couple of examples please?
More ›