Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wmanley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
wmanley
1y ago
It’s not about ‘this’ being a global, it’s if you see ‘i++’ in code it’s not obvious if ‘i’ is a member or not without having to check context.
32.
▲
by
wmanley
1y ago
People over 35 are the people with money. I can't imagine a bunch of 16 year olds paying £300 to go and see Oasis in the 90s, but those 16 year olds are now in their 40s and now have money and an opportunity to live their adolescent d
33.
▲
by
wmanley
1y ago
Scaling is already supported - try Ctrl+Mouse Wheel or pinch to zoom on mobile. It also supports writing an image with the keyboard shortcut "Print Screen".
34.
▲
by
wmanley
1y ago
I got the 1.2B from the Beeb: https://www.bbc.co.uk/news/articles/c0mrm84wg4ko.amp > Plans for the 14.5-mile (23km) route were approved in March after a 16-year process that has already cost £1.2bn.
35.
▲
by
wmanley
1y ago
I visited it last year. It’s 2.4km long and at its highest point the Eiffel Tower could fit under the road. Remarkably the construction cost was only €394 million. For comparison the planned 4.2km Lower Thames Crossing has already cost £1.2
36.
▲
by
wmanley
1y ago
> I have no idea how LWN can be sustainable Speculation: it’s because Linux (the kernel) is a large centralised project, so there’s a critical mass of people willing to pay for Linux Weekly News. From there the proven quality allowed the
37.
▲
by
wmanley
1y ago
Depends on willingness to pay - Even if your cost per customer is 0 maximising profit would mean that it’s better (for you) to sell 10 licences for £1,000,000 a pop to rich customers who really need the service rather than 500,000 licences
38.
▲
by
wmanley
1y ago
How does this compare to hyperview? https://hyperview.org/
39.
▲
by
wmanley
1y ago
>There are two downsides of mmap - I/O errors can't be caught and handled by SQLite code, True. https://www.sqlite.org/mmap.html lists 3 other issues as well. > and buggy stray writes by other code in the p
40.
▲
by
wmanley
1y ago
Regarding shared caching: Use `PRAGMA mmap_size` to enable mmap for reading your database. This way SQLite won't add another layer of page caching on top saving RAM and making things faster. SQLite only uses mmap for reads and will c
41.
▲
by
wmanley
1y ago
Here's apenwarr's description of the same data structure from 2009: https://apenwarr.ca/log/20091004 . Here's a post to the git mailing list from Martin Uecker describing the same from 2005: https:/
42.
▲
by
wmanley
1y ago
I read your comment to mean: > There should be a huge mess of choices available because it increases the cost of web development.
43.
▲
by
wmanley
2y ago
> Let's see how many days it takes! I reckon there are ~40,000 lines in the printout. So: ~10 years.
44.
▲
by
wmanley
2y ago
See also: “Simple declarative schema migration for SQLite” https://david.rothlis.net/declarative-schema-migration-for-s... Discussed previously: https://news.ycombinator.com/item?id=31249823 Disclosure: I a
45.
▲
by
wmanley
2y ago
Really cool. Did you consider using hexagonal lenses? It seems like they would tessellate, while being closer to being circular.
46.
▲
by
wmanley
2y ago
> We could have ten different open-source web browsers To what end?
47.
▲
by
wmanley
2y ago
WAL mode requires shared memory, so doesn’t work over the network. mmap_size = 1TiB requires 1TiB of address space per connection. This is fine on 64-bit, unless you have millions of connections. Doesn’t work with 32-bit (4GiB) address spa
48.
▲
by
wmanley
2y ago
You definitely want WAL mode (unless you’re accessing SQLite over NFS). It’s only not the default for backwards compatibility. I’d enable: PRAGMA journal_mode = WAL; PRAGMA foreign_keys = 1; PRAGMA mmap_size = 1099511627776; Unless you kno
49.
▲
by
wmanley
2y ago
HTTP is to Wayland as the web is to what??? I think the answer is also Wayland. It's very confusing because there is wayland the protocol and wayland the system, where the protocol is a part of the system - but there is no separate na
50.
▲
by
wmanley
2y ago
I'm not trying to claim that X is secure as is. The claim I'm making is: 1. There is nothing fundamentally insecure about the design of X that couldn't be fixed with a bit of effort. 2. The effort required would be signifi
51.
▲
by
wmanley
2y ago
> You're kind of getting tripped up on terminology. I'm not. My comment doesn't address the latency of gnome shell. I understand the boring technical distinctions between wayland and wayland client libraries and wayland
52.
▲
by
wmanley
2y ago
> It'll be challenging to even figure out which one of the things connecting to $DISPLAY is the real window manager. I suspect it would be less challenging than writing a whole new wayland server. Off the top of my head, I'd us
53.
▲
by
wmanley
2y ago
Software works best when the developers take responsibility for solving user's problems. > Wayland, which is a protocol This is wayland's biggest weakness. The effect is diffusion of responsibility.
54.
▲
by
wmanley
2y ago
> the X11 protocol [...] has plenty of design decisions that simply cannot be secured. I've been hearing this for over a decade now. I don't get it. Just because xorg currently makes different clients aware of each other and
55.
▲
by
wmanley
2y ago
Richmond park has Adders and Deer, both of which have the potential to kill you - but in practice would be very unlikely to. To get to the nearest wild wolf you'd probably have to look as far as the Ardennes in Belgium, which is rough
56.
▲
by
wmanley
2y ago
I’ve done something similar, but using pandoc to convert the html to text, so tables and bullet points are rendered appropriately.
57.
▲
by
wmanley
2y ago
Ah, so that’s what’s been happening!
58.
▲
by
wmanley
2y ago
Back in the days of peak "booze cruise"[1] the ferry companies used to issue every passenger with a leaflet describing exactly what the duty free limits were. You'd go over, max it out and come back. If border control wer
59.
▲
by
wmanley
2y ago
> Browsers have become so nice to work with, that these days, I get away with just the following two lines of code to simplify DOM manipulation: > > dqs = document.querySelector.bind(document); > dqsA = document.querySe
60.
▲
Platform Strategy and Its Discontents
(infrequently.org)
105 points
by
wmanley
2y ago
|
66 comments
More ›