wmitty
Joined 14 years ago
Joined 14 years ago
You used to have to put everything in one giant class to work around this.
(This situation was so frustrating)
https://github.com/brave/adblock-rust
Here is a (somewhat dated) article describing it by the authors:
You could connect the two computers with a RS232 null modem cable, then type something like the following on the target computer:
mode COM1:2400,n,8,1,p
ctty COM1
This redirected the input/output for the terminal to the serial port.
Laplink on the source computer would then 'type' a series of console commands to create a simple transfer program on the target computer. It would use this simple transfer program to transfer the full laplink.
IIRC it used the msdos DEBUG.COM to build the transfer program on the target computer (but this is an old memory, so could easily be a reconstruction).
Composing this message is bringing back lots of weird memories about how we used to compute before the internet.
One feature that I want to implement is to have the system randomly enable for 10 minutes - and to signal this by changing the color of light from a desk lamp (Phillips Hue). The idea is that when this happens, I would drop what I was doing and leap for my phone to get some bonus browsing in. Me being controlled by the system like this might be fun?, or at least illustrate something?
"Xitami web server, because it's the only one that does no caching at all, so the website is always served fresh from the floppy."
Source: https://web.archive.org/web/20220120092324/https://old.bigca...
The Canadian banks then have to report all the accounts of US citizens to the US gov. The banks comply with all this because otherwise they get super nasty fines against their us operations.
Also: they tell you that if you come in under the amnesty program (like I did) that their will be no big penalties - but if you wait until the amnesty program expires - and they then find you - they will treat you like a criminal.
Until a few years ago when the US gov declared that I would be a criminal unless I became a full fledged US citizen. They also made this as difficult, expensive, confusing and time consuming as possible. For example having to find some paper documentation that is was living in Canada in 1967 etc. Huge costs - all of it going to specialist accountants - none to the IRS. And a huge complicated ongoing burden.
I am not even allowed to renounce until I have gone through this charade for a few years.
What has the US got out of this? They have processed lots of paperwork on my behalf and they have sent me some (unsolicited) stimulus checks which paid a tiny portion for the (Canadian) accountant fees they have saddled me with.
This is the lexical structure and syntax docs for the new postgres inteface to cloud spanner:
https://cloud.google.com/spanner/docs/postgresql/lexical
And this is the zetasql lexical structure and syntax docs:
https://github.com/google/zetasql/blob/master/docs/lexical.m...
Notice that the new PG docs are an edit of the Zeta ones - evidence that my hypothesis is correct.
It is amazingly good.
You give it textual SQL (+ schema + all your function definitions) and it returns a really clean logical query plan. It is also happy to do this via a protobufs so you can use it from languages other than C++. It is also tested and documented up the wazoo. It has been such a pleasure to work with.
Anyway, the big problem with ZetaSQL is that it is not a common SQL dialect.
It seems that the only reasonable way to do this PostgreSQL interface for Cloud Spanner is to add a second parser (and other extensions) to ZetaSQL. If I am correct, I really really hope they open source that part of ZetaSQL as well - it would be a massive step forward for open source SQL tooling.
This does not appear to be true. Here is the github repo for their open source adblock engine written in rust:
https://github.com/brave/adblock-rust
Here is a (somewhat dated) article describing it by the authors:
https://brave.com/improved-ad-blocker-performance/
> Google will take decisions that benefit their advertisement business, like making impossible to use adblockers on any Chromium based browser.
Because the brave adblocker is integrated directly into the browser (ie. not an extension) the Manifest V3 limitations don't apply.
In addition to the natural difficulty of cycling this extremely remote road (both ways), he was dousing himself in so much bug repellent that his heart was constantly racing (he thought he was going to have a heart attack) and he was hallucinating (IIRC) a giant bear that was stalking him.
He has taken the blog down, so I can't link it - presumably because he has published a book - https://www.amazon.com/Cycling-Quebecs-Trans-Taiga-Road-Wild...