Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ximm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ximm
3y ago
In university I learned that every integer is interesting. Proof: If there are non-interesting integers, there must be a smallest non-interesting integer, which is an interesting property. ■
62.
▲
by
ximm
3y ago
I believe PEP 517 was how the Python leadership wanted to improve the situation. Unfortunately it backfired hard. It broke the existing systems and further fractured the ecosystem.
63.
▲
by
ximm
3y ago
I don't have extensive experience with nsjail, but from reading the docs it seems to me like nsjail covers namespaces, cgroups and virtual networking, while bwrap only covers namespaces. On the other hand, bwrap is deliberately kept si
64.
▲
by
ximm
3y ago
A decent mail client also shows the other message.
65.
▲
by
ximm
3y ago
OSMand crashed regularly for me (my guess is out of memory). Organic Maps doesn't do that, so that's good.
66.
▲
The certificate for vim.org has expired
(vim.org)
3 points
by
ximm
3y ago
|
3 comments
67.
▲
by
ximm
3y ago
It is Lets Encrypt, so it should have updated automatically.
68.
▲
by
ximm
3y ago
I wouldn't call that revolutionary. As far as I understand, this is a simple alias to something like `podman exec -it somecontainer bash`. We were able to do this for a long time. I mean, it is nice that they provide a simple alias for
69.
▲
by
ximm
3y ago
That answers the "what does it actually do" part, but not the "how". Github and hackernews are both places where developers exchange ideas, so it helps if you explain which tech you build on and what challenges you faced
70.
▲
by
ximm
3y ago
There is a subtle but important difference here though: If you publish a piece of software under two licenses, one open source and one commercial, why would anybody pick the commercial one? You cannot say "corporations have to pick the
71.
▲
by
ximm
3y ago
If implemented incorrectly, these onclick handlers are a security hazard, because they prevent you from using a strict content security policy. https://www.w3.org/TR/CSP2/#directives
72.
▲
by
ximm
3y ago
> A dialog element opened with dialog.showModal (a modal dialog), is an experience which requires explicit user interaction to close the modal. A popover supports light-dismiss. A modal dialog does not. A modal dialog makes the rest of t
73.
▲
by
ximm
3y ago
That page has great design. That shouldn't be anything special. But I have not seen something this clean in a long time.
74.
▲
by
ximm
3y ago
> Certain regulations, like the GDPR, the General Data Protection Regulation, by the European Union, require that sites get consent for placing cookies and data on user devices. Well, that is bullshit. GDPR requires that you have some fo
75.
▲
by
ximm
4y ago
On practical thing I took away from this: If you omit the "type", the message has no additional semantics beyond that of the HTTP status code. So this provides a standard for error responses with JSON bodies: { "
76.
▲
by
ximm
4y ago
This is different though. When junior developers reinvent wheels they are learning. The challenge here is to not put the results into production but still make it feel impactful.
77.
▲
by
ximm
4y ago
> The interesting part to me is, these "non-technical" coworkers aren't proposing simpler solutions. This. I still keep wondering why that is. My two theories are that it is either marketing budgets or that there are many
78.
▲
by
ximm
4y ago
On the HTML level I would think of something like Subresource Integrity[1]: <a href="https://example.com/hw.txt" integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC&qu
79.
▲
by
ximm
4y ago
I use a single device most of the time. Eliminating the need to sync calendars/mail/contacts/… across devices greatly reduces my dependence on big cloud providers. On the other hand, I mostly work on open source software, so
80.
▲
by
ximm
4y ago
I tend to think about it differently: Some ideas get reinvented and simplified until only the idea is left. And the idea then seems so obvious to everyone that no one considers it necessary to have a reusable implementation. That isn't
81.
▲
by
ximm
4y ago
My biggest concern is that the docker daemon runs as root which allows for some easy privilege escalations. Having docker installed basically gives everyone root access. I am not sure if this is still the case though.
82.
▲
by
ximm
4y ago
Sure, perceptually uniform contrast in the sense that you can talk about things like "twice the contrast" is useful. If I had to design a modern contrast algorithm, I would try to make it perceptually uniform. But all that is irre
83.
▲
by
ximm
4y ago
What is your opinion of Content Security Policies? Last time I looked it was praised as an XSS killer.
84.
▲
by
ximm
4y ago
I got deep into color contrast algorithms. Human vision is a rabbit hole indeed. You would think that this is a well established field. But then I found claims in online discussions (including at the W3C) that were obviously wrong on a math
85.
▲
by
ximm
4y ago
Can someone explain what impact this has on "perceptual" color spaces like Oklab? Is this just something they live with?
86.
▲
by
ximm
4y ago
I guess the issue is that visually we can scan a page and and experience many things at once. Also, there are many ways to move the mouse cursor from one position to the next. There is a lot to work with. I am wondering whether there are si
87.
▲
by
ximm
4y ago
I can sympathize with the author. I try to learn about accessibility in my free time, so I cannot "hire a diverse team/consultants". I also don't want to annoy random people I meet with questions about their disabilities
88.
▲
by
ximm
4y ago
I think this comment gets to much negativity. Yes, this is often not a good approach. But it can be one tool in your toolbox that can get you unstuck when nothing else seems to work.
89.
▲
by
ximm
4y ago
Every time I search on stackoverflow it thinks I am a robot and wants me to solve a capture. My workaround is to use "site:stackoverflow.com" on some search search engine. But this definitely made me use SO way less.
90.
▲
by
ximm
4y ago
Honest question here: I understand that Copilot can increase productivity. But I personally fear that it would cover the fun parts of programming and leave me with the boring bits. What is your experience around that?
More ›