Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekimekim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
ekimekim
5y ago
Fellow Aussie and RCV-enthusiast here, but minor correction: RCV was introduced in 1918 in response to elections where a minority candidate won due to vote splitting. https://en.wikipedia.org/wiki/Electoral_system_of_Au
122.
▲
by
ekimekim
5y ago
> my first thought was this dog must have some sheep dog heritage The article says it's a Border Collie, which is an extremely smart, extremely capable sheepdog. My family had border collies and with zero training or interaction wit
123.
▲
by
ekimekim
5y ago
You may be interested in Pulumi: https://www.pulumi.com/ Basically it's Terraform but instead of declaring your resources in HCL, you declare them in a real programming language. You're still producing a declarati
124.
▲
by
ekimekim
5y ago
The niche that immediately came to mind when I saw this was allowing a user to specify a filter expression for some query, either as a simple text-based language or using some sort of UI (with drop-downs and such). Having a well-established
125.
▲
by
ekimekim
5y ago
Hi, I ran a Clickhouse server in production at non-trivial scale for storage and query of application logs (semi-structured JSON documents). In our case we were consuming from a kafka topic which was the source of truth, so we opted not to
126.
▲
by
ekimekim
5y ago
The more charitable take on this is that if one system is compromised, there's a high chance others may be, so if you have safety-critical systems and you're not absolutely certain they were properly air-gapped from the compromise
127.
▲
by
ekimekim
6y ago
I think the problem here is security checking, and not just because it adds time, but because it adds a highly variable AMOUNT of time. Queueing theory says that unless you massively overprovision on available security screening stations, t
128.
▲
by
ekimekim
6y ago
Browser fingerprinting is besides the point here. The whole reason they want to fingerprint you is to build up an advertising profile. FLoC cuts out the middleman by giving every single site you visit access to the proceeds of the cross-sit
129.
▲
by
ekimekim
6y ago
> Indeed, sometimes it seems like 90% of the Docker code out there is converting environment variables into configuration files. This is a consequence of Docker's choice of the "image" as an abstraction layer. It's no
130.
▲
by
ekimekim
6y ago
> I constantly hear anecdotes about people waiting 6+ months for minor operations in the UK Emphasis on the "minor operations". Things are prioritised by need and urgency, so naturally you end up with a long tail of non-urgent,
131.
▲
by
ekimekim
6y ago
An attacker could mitigate this by having the download server only return the evil version to specific clients, eg. by IP or by user agent.
132.
▲
by
ekimekim
6y ago
The inductive step here is in the conjecture: This algorithm is information-theoretic secure for a bitstring of length N The grantparent's argument is to first convince yourself that a) this is true for a bitstring of length 1, and b)
133.
▲
by
ekimekim
6y ago
https://www.nasa.gov/mission_pages/station/research/benefits... Sounds like in most cases the satellites don't have any propulsion of their own, and are "ejected" onto their orbit from the ISS.
134.
▲
by
ekimekim
6y ago
The core storage engine borrows heavily from it - I'll attempt to summarize and apologies for any errors, it's been a while since I worked with VictoriaMetrics or ClickHouse. Basically data is stored in sorted "runs". Ap
135.
▲
by
ekimekim
6y ago
For 1, it should be noted that that is only one theory. Another less lurid theory is that while attempting to pull the rod a small distance out as part of a routine maintenance procedure, the rod stuck. The operator gave it a yank to unstic
136.
▲
by
ekimekim
6y ago
The law is being made under the auspices of anti-monopoly legislation, so adding a company to the list requires they hold a monopolistic position.
137.
▲
by
ekimekim
6y ago
> Google can afford to pay for the right to link to publishers. New startups can't. The law specifically only targets Google and Facebook due to their monopoly power. New startups are not affected.
138.
▲
by
ekimekim
6y ago
Yeah, I should write up how it works. There's a README but it was written as an initial plan of attack and the results didn't always reflect the original plan.
139.
▲
by
ekimekim
6y ago
I actually made this, a factory "compiler" that takes in a target output (eg. 1000 science / minute), and lays out a blueprint working from raw inputs to the desired output. It's hacky and buggy (and by this point probab
140.
▲
by
ekimekim
6y ago
This reminds me of my favourite gotcha in python - that parsing integers is O(n^2). This is because (conceptually at least - there might be some optimizations that change the details slightly) an integer is parsed by parsing each digit in a
141.
▲
by
ekimekim
6y ago
I'm surprised gdb wouldn't automatically consult /proc/PID/exe to read symbols. It seems more reliable than checking argv[0] and then reading the file at that path.
142.
▲
by
ekimekim
6y ago
I'm still learning Rust, but iiuc you could do this by creating an OffsetPtr type that implements the Deref trait ( https://doc.rust-lang.org/std/ops/trait.Deref.html ). This is exactly a "fancy pointer&qu
143.
▲
by
ekimekim
6y ago
I've experienced an issue where the window blacking out the screen would get moved aside, it was something to do with plugging and unplugging monitors and somehow the screen contents would become visible. I probably couldn't repro
144.
▲
by
ekimekim
6y ago
Going to analog and back by eg. photographing the screen or printing then re-scanning a document is a good way to ensure you've removed all document metadata, but brings its own challenges (see the article, where it mentions source cam
145.
▲
by
ekimekim
6y ago
Remember that correlation does not imply causation - even if it's true that innovative companies tend to not have unions, it might be (for example) because younger, smaller industries tend to be innovating faster and also haven't
146.
▲
by
ekimekim
6y ago
I'd argue registered voter turnout also isn't a true turnout statistic, as many people will not be registered due to apathy/feeling it doesn't matter/etc. The statistic you really want is votes / eligible voter
147.
▲
by
ekimekim
6y ago
IIUC the issue here is the depth option - they're telling it to only fetch the last 50 commits, but they were fetching the last 50 commits from EACH branch. In other words, they were fetching all commits that are within 50 commits of a
148.
▲
by
ekimekim
6y ago
I'm a huge fan of jsonnet, but this article is specifically about data serialization formats, not configuration languages. It could've been a worthwhile mention though.
149.
▲
by
ekimekim
6y ago
Hm, from what I can tell this doesn't seem to be possible. There is one way to open a directory without read permissions, which is with O_PATH, but the resulting fd can only be used "to indicate a location in the filesystem tree
150.
▲
by
ekimekim
6y ago
That is in fact also possible, and you could use it to make this magicimport system get called automatically whenever you try to import a non-existent library. https://docs.python.org/3/reference/import.html#import
More ›