Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cygx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
cygx
5y ago
> Why would you need an unified solution? To facilitate freedom of movement within the bloc.
212.
▲
by
cygx
5y ago
> They are way more fractured In Germany, to a far lesser degree than eg the US. Cf https://en.wikipedia.org/wiki/Evangelical_Church_in_Germany
213.
▲
by
cygx
5y ago
> if you do then I think you’re a different kind of medium than a platform, more like a newspaper Disagreed. Newspaper-like and unmoderated, unbiased “utility like” don't work as exhaustive categories. If I run a BBS, an IRC c
214.
▲
by
cygx
5y ago
I see no reason to ban moderated online spaces. Why should only curated and unmoderated ones be allowed to exist? However, I do agree that there's a discussion to be had about twitter, youtube etc due to their dominant positions within
215.
▲
by
cygx
5y ago
> either you are a media company and legally responsible for content, or you are a platform and then you leave people alone unless they are doong somethong illegal Says who?
216.
▲
by
cygx
5y ago
Poland has been supporting the Belarusian opposition. Some rudimentary information has made it on Wikipedia, cf https://en.wikipedia.org/wiki/Belarus%E2%80%93Poland_relatio...
217.
▲
by
cygx
5y ago
> Give them time and they'll rebel against a single point of control sooner or later. Who knows. Gaming consoles have had a decent run, but of course that may not be that good a precedent as they've not evolved into general-p
218.
▲
by
cygx
5y ago
> The argument was that 3rd party app stores would somehow affect apples appstore quality. That's false. With Apple in control, the developer faces the choice to play by Apple's rules, or lose out on the money to be made in t
219.
▲
by
cygx
5y ago
The counter-argument runs like this: Third party developers want to get their apps onto the iPhone, because the platform has a lot of users, and there's a lot of money to be made. However, they will be forced to play by Apple's ru
220.
▲
by
cygx
5y ago
The broader argument is that signedness of the integer type used for indexing is a non-obvious gotcha affecting vectorizability. It makes sense once you understand C integer semantics, but putting on a language designer hat, I'd go wit
221.
▲
by
cygx
5y ago
To my knowledge, in case of unspecified behaviour, it's not required to pick and document a particular choice. Behaviour may even vary on a case by case basis where it makes sense (eg order of evaluation of function arguments, whether
222.
▲
by
cygx
5y ago
It's not so much about cleverness, but knowledge and vigilance. You first have to be aware of all the footguns, and then be careful not to let any of them slip through...
223.
▲
by
cygx
5y ago
Because companies are run by people? Shell companies don't just spawn on their own...
224.
▲
by
cygx
5y ago
Acceleration being independent of the mass of the test particle being acted upon only holds true for two types of forces: Inertial forces, and the gravitational force. According to General Relativity, this is no coincidence: Free-fall space
225.
▲
by
cygx
5y ago
You're at rest relative to Earth's surface. From the perspective of that particular frame, the gravitational (pseudo-)force gets balanced by the normal force. But the gravitational force is 'actually' zero, leaving the n
226.
▲
by
cygx
5y ago
Assuming you're standing on the surface of the earth, that's wrong: You're being accelerated upwards, not downwards. Cf the introductory paragraph and "Physical principles" section of https://en.wikipedia
227.
▲
by
cygx
5y ago
Nope, that's not what a physicist means when they say gravity isn't a force. What is meant is that apparent gravitational acceleration can be understood as a consequence of Newton's first instead of his second law. According
228.
▲
by
cygx
5y ago
There's supporting Unicode, and 'supporting' Unicode. If you're only dealing with western languages, it's easy to fall into the trap of only 'supporting' Unicode. Proper emoji handling will put things like
229.
▲
by
cygx
5y ago
> Still, adding an explicit cast to the left operand seems to be enough to avoid this Indeed. See my other comment, https://news.ycombinator.com/item?id=27086482
230.
▲
by
cygx
5y ago
Not all user-perceived characters can be represented as a single Unicode codepoint. Hence, Unicode text encodings (almost[1]) always have to be treated as variable length, even UTF-32. [1] at runtime, you could dynamically assign 'virt
231.
▲
by
cygx
5y ago
> The mentioned reason against using unsigned char (that shifting 128 left by 24 places results in UB) is also misleading No, that reasoning is correct. Integer promotions are performed on the operands of a shift expression, meaning th
232.
▲
by
cygx
5y ago
Violation of the effective typing rules ('strict aliasing') and a potential violation of alignment requirements of your platform.
233.
▲
by
cygx
5y ago
> So the solution is simple right? Let's just use unsigned char instead. Sadly no. Because unsigned char in C expressions gets type promoted to the signed type int. If you do use unsigned char , an alternative to masking would be
234.
▲
by
cygx
5y ago
Note that C11 added _Generic to the language, so things like the type-generic functions from tgmath.h can nowadays be implemented in user space.
235.
▲
by
cygx
5y ago
> C++ references surely are safer than pointer that can point to whatever they feel like and aren't initialized to any safe value. From the C programmer's perspective, a reference is a constant pointer with automatic indirect
236.
▲
by
cygx
5y ago
> I'm curious to understand, why is it so hard to write a JIT runtime for python? First, the CPython reference implementation is supposed to be kept simple. Second, it exposes interpreter implementation details to extension writer
237.
▲
by
cygx
5y ago
In Rust, you color functions at declaration time through special syntax, and, depending on the color of the caller, you have to use either block_on() or .await to get a value out of a call to an async function. That's not the case for
238.
▲
by
cygx
5y ago
Wikipedia disagrees: https://en.wikipedia.org/wiki/Swift_(programming_language)#V...
239.
▲
by
cygx
5y ago
Cf https://lore.kernel.org/linux-nfs/YIUMYYcf%2FVW4a28k@kroah.c... Apparently, they sent html mails, which the list refuses to deliver.
240.
▲
by
cygx
5y ago
Reciprocity is not some outlandish concept: If you're unwilling to help out, you don't get to join the mutual aid pact.
More ›