Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hk__2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
661.
▲
by
hk__2
3y ago
> These rules won't be a problem for anybody except those trying to trick consumers. But companies selling "vegan sausages" or "vegetable steak" aren’t trying to trick anyone, they just sell an alternative to a c
662.
▲
by
hk__2
3y ago
Don’t judge a country from a single governement decree.
663.
▲
by
hk__2
3y ago
I saw this comment several hours after submission and it was already too late to edit the title. I copy/pasted the title from the blog, so I guess it’s HN who capitalized that letter.
664.
▲
The Musaicum EU-plus 10M resolution image of Europe
(imagico.de)
138 points
by
hk__2
3y ago
|
25 comments
665.
▲
by
hk__2
3y ago
That’s better to avoid a redirect, but both work.
666.
▲
by
hk__2
3y ago
> Low hanging fruit could be a mountain of effort for those who'd otherwise continue to focus on improving the major feature. " https://en.wikipedia.org/wiki/ " + encodeURIComponent(title) Here you have
667.
▲
by
hk__2
3y ago
Meta: > There are several papers about the pumping of a swing ³, ⁴, and ⁵ and much more. In this section, I’ll focus in particular on ⁴. Either those little numbers are references to footnotes, and so are outside of the text flow, either
668.
▲
by
hk__2
3y ago
> Homework shouldn't exist anyway. Maybe, for higher level high school classes it makes sense. There's no reason to be giving homework to elementary and middle school kids. They get them for 8 hours a day, they don't need
669.
▲
by
hk__2
3y ago
> This could easily conceal the indexing error unless the caller code explicitly checks the length of the returned section. An empty returned section doesn’t mean the index was out of bounds (`a[0:0]`); if you want to make sure you have
670.
▲
by
hk__2
3y ago
> In Python, except for mutability, is there any difference between tuple and list? In my experience: Pure Python people get so excited about tuples ("oh, it's so Pythonic"); others: much less. In my experience, people who
671.
▲
by
hk__2
3y ago
> Then why doesn’t a[1] return None? Because there would be no way to distinguish between "a[1] contains None" and "a[1]" doesn’t exist.
672.
▲
The Musaicum EU-plus 10M resolution image of Europe
(imagico.de)
2 points
by
hk__2
3y ago
|
0 comments
673.
▲
by
hk__2
3y ago
> In the function body, args will be a tuple, and kwargs a dict with string keys. This always bugs me: why is `args` immutable (tuple) but `kwargs` mutable (dict)? In my experience it’s much more common to have to extend or modify `kwarg
674.
▲
by
hk__2
3y ago
> It seems altogether surprising that with an empty list or tuple a, a[1] results in index error, yet a[1:] quietly returns an empty list or tuple. `a[1:]` returns the sequence of elements that start at index 1. If there is no such eleme
675.
▲
by
hk__2
3y ago
> Ever heard of the library of Alexandria? Yes: the end of the library of Alexandria had virtually no impact on the preservation of knowledge. The library of Alexandria slowly declined for various centuries, and was progressively replace
676.
▲
by
hk__2
3y ago
> Tell that to the 70% of silent films that are permanently lost. Do we really miss them?
677.
▲
by
hk__2
3y ago
> For example, if you really think something is worthwhile, write a book instead of keeping it on Wordpress. Why "instead"? Do both. Writing a book doesn’t really help preserving information: unless you’re really famous you’ll
678.
▲
by
hk__2
3y ago
Note: if you think a dead reply is relevant, click on its timestamp and then on "vouch" to make it alive again.
679.
▲
by
hk__2
3y ago
> While you are correct, the differences between different people's DNA is tiny, less 1% at best How do we know this, if we have only sequenced the chromosome of one individual?
680.
▲
by
hk__2
3y ago
> When your code is under 200 LOC and not expected to be maintained for the next 10 years.. then a lot of the things you just mentioned don’t matter as much. This is not for running in an enterprise but for exercising the brain. The thin
681.
▲
by
hk__2
3y ago
I think OP refers more to the "code-golf" part than FP: the repo contains code that uses OO when necessary and FP (although in a very light way) when it can. The biggest issue is that it tries to be as short as possible, which ma
682.
▲
by
hk__2
3y ago
I have the same impression. Reading the code, he uses global variables [1], obscure variable (k, bw, fw, x) and module names ("pal.py" instead of "palindromes.py"), doesn’t respect conventions about naming in general (up
683.
▲
by
hk__2
3y ago
> Does not factor out data breaches. And "our business is based on trust" also has the caveat of "for now". What if they're bought out? Then nobody knows. "What if?" works for litterally anything anywhe
684.
▲
by
hk__2
3y ago
> This sounds very much like trusting a fox to guard the henhouse. When do they then do with the submitted personal information? Why should we trust that they will behave ethically with it? What happens if, and when, they have a data bre
685.
▲
by
hk__2
3y ago
> but it looks like the platform gives great access to error logging Where do you see errors in the log? In the snippet you shared, I see only a couple warning then "please fix the errors".
686.
▲
by
hk__2
3y ago
> One of the problems with promoting standards is that standards are made by imperfect committees. And they can solve a different problem than exists in the real world. Which solution are you suggesting? Not having a standard?
687.
▲
by
hk__2
3y ago
> A growing uneasy feeling about Google’s approach to user privacy, […], their rejection of JPEG XL The part about JPEG XL seems strange, given that the article linked in the blog post says Mozilla too is rejecting JPEG XL: > Mozilla&
688.
▲
by
hk__2
3y ago
> Are we saying that all social media platforms are the same? Nobody is saying that. > Are there teams working on the hacker news platform trying to tweak the algorithms to drive addictive user engagement? Driving addictive user engag
689.
▲
by
hk__2
3y ago
> Platforms like Twitter and Facebook put the network in the center - it's about relationships between accounts (Friend/Follower) At the beginning yes, but nowadays that’s less the case. Twitter’s "For You" is the def
690.
▲
by
hk__2
3y ago
None of the item you listed have _anything_ to do with being a social media platform. Is it a website that enable users to create and share content or to participate in social networking? Yes, then it’s a social media platform, period. This
More ›