Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pluma
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
601.
▲
by
pluma
9y ago
> `left-pad` is trivial to implement and test There's a tangible difference between `value % 2 === 1` and this: https://github.com/stevemao/left-pad/blob/master/index.js You're not even cont
602.
▲
by
pluma
9y ago
> No it isn't. It isn't because most other dependency managers don't allow dependencies to bring their own versions of other dependencies, instead you're stuck with version conflicts preventing you from upgrading to a
603.
▲
by
pluma
9y ago
> JS was made as a scripting language First of all, no it wasn't (it was however marketed as such not to cannibalise on Java). Secondly, by that logic you probably shouldn't use AJAX to transmit anything other than XML document
604.
▲
by
pluma
9y ago
Having written my fair share of tiny trivial modules, I think tree-shaking may actually help with the "everything's a package" craze that followed the early size concerns. Lodash and date-fns for example are similarly feature
605.
▲
by
pluma
9y ago
As a JS dev, this actually offends me. I wouldn't expect a specialised package to silently convert strings to numbers. I think is-odd and friends are the aftermath of the microlibrary craze that followed the popularity of "toolbel
606.
▲
by
pluma
9y ago
Comparing is-odd with left-pad is a bit disingenuous. Left-pad had a fairly trivial implementation but that implementation is easy to get wrong, so it's something you want to make sure you have covered by tests and you want to define t
607.
▲
by
pluma
9y ago
I'm fairly sure that Ponzi schemes are, unlike YouTube, illegal in most countries though. > If you fall for that kind of "encouragement" you probably should review your own naive world view. I guess that's what makes
608.
▲
by
pluma
9y ago
This is pretty much it. YouTube disavow their responsibility by deferring their decisions to "the algorithm" and surely you can't blame a machine. But the obvious truth is that they're in control of it and could change i
609.
▲
by
pluma
9y ago
I'm not sure why you think I'm trying to justify violence against anyone. Even if you could argue that some YouTube employees are morally complicit, that's no reason to take a gun to a YouTube office and shoot people. She did
610.
▲
by
pluma
9y ago
So FDB's role is more comparable to that of, say, RocksDB or LevelDB than an application-level database like Postgres? I didn't really pay much attention to Foundation before Apple bought them and am unsure how it fits in the wide
611.
▲
by
pluma
9y ago
What is a UUID if not a fairly predictable object-based shared authorization token? EDIT: I'm mostly kidding.
612.
▲
by
pluma
9y ago
Fun fact: in Germany even "lolicon" (i.e. sexual drawings of prepubescent characters) count as child pornography and as far as I know they're tolerated on /b/. I'm hoping Canadian laws treat this differently
613.
▲
by
pluma
9y ago
Fun fact: in Germany possession of child porn is illegal even if you're unaware of it. If you find child porn in your e-mail inbox technically you have to report yourself to the police for possession of child pornography. Yes, that s
614.
▲
by
pluma
9y ago
You absolutely can blame YouTube for encouraging content creators to go "all in". They are absolutely aware of this and the design of YouTube highly emphasises these metrics (which in turn translate to financial success). They all
615.
▲
by
pluma
9y ago
So what you're saying is Chinese speakers generally use two languages/registers: one for spoken language and another for written. Which is another way of saying the writing system is not actually a good match for the spoken langua
616.
▲
by
pluma
9y ago
> Makes more sense in Chinese Can you clarify what it means? I'm guessing something like "sassy" or "hot" but it's really unclear without knowing the cultural connotations.
617.
▲
by
pluma
9y ago
FWIW from the few studies about human tetrachromacy that I've heard of it seems that the women do in fact just see some similar-looking colors as more obviously distinct. AIUI In order to see any "new" colors (i.e. outside th
618.
▲
Static binaries for a C++ application
(arangodb.com)
15 points
by
pluma
9y ago
|
4 comments
619.
▲
by
pluma
9y ago
As a "colorblind" person, this is a bit frustrating so bear with me. Few people are literally "colorblind". You don't have one cone cell of each type, you have loads of them. Colorblind people generally have fewer o
620.
▲
by
pluma
9y ago
You're moving the goalposts. Your statement suggested you want a US-style "1st amendment" in Europe. I don't. That has nothing to do with "free speech" as a concept. Under the US interpretation of free speech p
621.
▲
by
pluma
9y ago
I mostly added the edit because I think this is (at least in part) a marketing move designed to make consumers feel good about buying Apple products because they're "green" -- which they're decidedly not.
622.
▲
by
pluma
9y ago
As expected, the "100%" claim breaks down when it comes to the manufacturing, which mostly relies on suppliers. They say they have "commitments" from 23 suppliers but I'm sure there's more than that and the one
623.
▲
by
pluma
9y ago
I'm an EU citizen and I disagree, so I guess that's just, like, your opinion, man.
624.
▲
by
pluma
9y ago
Yeah and unless you don't business in the EU as an EU entity, you can pay just as much attention to that as EU companies who don't do business in the US as a US company pay to the trainwreck that are American software patents.
625.
▲
by
pluma
9y ago
Not really. I'm not giving away which of these happens in which episode and a lot of the technology is recurring throughout the different stories. In most episodes the general idea of how the tech works is given away fairly early on an
626.
▲
by
pluma
9y ago
Depends. In TNG the outlook tends to be far more rosy than in DS9 or DIS. There were a few episodes which hinted at darker tendencies in Starfleet but those usually turned out to be corrupt individuals or some kind of alien influence. Havin
627.
▲
by
pluma
9y ago
I was in awe while also being completely terrified. It didn't take Black Mirror or a viral ad to convince me that autonomous weapon systems are bad. I grew up watching Terminator and RoboCop. My first thought when seeing BigDog was &qu
628.
▲
by
pluma
9y ago
tl;dw: the concept has been toyed with in a number of episodes: Imagine the death penalty was replaced by a simple "ban" from everybody else's perception. Instead of being put to death, you just appear as an outline filled wi
629.
▲
by
pluma
9y ago
Sounds like this is mostly about fast food chains, not restaurants in general. It also seems like this story should really be about calling out specific restaurants/chains for contaminated food, not presenting it as a general fact abou
630.
▲
by
pluma
9y ago
FWIW "playing in the Sun" kinda sounds like you're somehow managing to exist inside the sun's mass and playing there, whereas "playing in the sun" clearly refers to merely being exposed to sunshine and "pl
More ›