Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kolme
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
kolme
10y ago
Isn't practice repeating the same thing over and over again, and getting slightly better results every time?
122.
▲
by
kolme
10y ago
Super late answer but I hope you get it: yes, it is a good practice. In "native apps" on desktops, all buttons look the same, so users know they're clickable because they've already learned it. On the web however, every
123.
▲
by
kolme
10y ago
No, dynamic languages are not "ambiguous" in any possible way. Programming languages are unambiguous by definition, as any formal languages. What they are, indeed, is dynamic. The lookups you are talking about are done in runtime,
124.
▲
by
kolme
10y ago
First of all, it's a ".org" domain. And second, how are random domains from Libya any more dangerous than random domains from everywhere else?
125.
▲
by
kolme
10y ago
Now that we're at it: clickable things have the "hand" cursor. All of the widget is actionable yet the cursor is not always pointy. It's one of my pet peeves. That being said, the animation is beautifully done and the
126.
▲
by
kolme
10y ago
The game looks great, but the code is overly over engineered. I've written a bunch of tetris clones in my time and it never felt this complex.
127.
▲
by
kolme
10y ago
Hardcore people in the security circles do all their serious stuff inside one-use-only virtual machines, once their stuff is done, the machine is deleted and shredded. That's the most clean-cut way of not mixing anonymous and regular f
128.
▲
by
kolme
10y ago
I found it silly and at times pretty creepy. Citing His Dudeness, "Yeah, well, that's just, like, your opinion, man."
129.
▲
by
kolme
10y ago
You are right. I was thinking of the price you get when you buy it off the shelf (which is also now cheaper as it used to be).
130.
▲
by
kolme
10y ago
- Windows is not free, they just offered a free update for a limited time, which is already over. - Basically, every non-apple consumer computer comes with Windows preinstalled, and they charge a licence (I think around 50$). That's a
131.
▲
by
kolme
10y ago
> Hyper tries to run `npm prune && npm install --production` on every startup. Wait, what, really? Wouldn't that leave you without dependencies if you don't have internet connection at the time? Seems a very dangerous t
132.
▲
by
kolme
10y ago
I wrote obmenu[1] some time ago, a menu editor for the Openbox window manager. I'm pretty proud of this simple tool because it eventually made its way to the repositories of all mayor distributions: Debian[2], RedHat, Arch, you name it
133.
▲
by
kolme
10y ago
> npm scripts no longer prepend the path of the node executable used to run npm before running scripts. A --scripts-prepend-node-path option has been added to configure this behavior. Why? That seems like a good default, something most p
134.
▲
by
kolme
10y ago
Well, I was happy using normal callbacks, but then promises made me a bit happier and now I even happier with async/await. You can definitely write clean code with only callbacks, but one has to be pretty careful if there are many nest
135.
▲
by
kolme
10y ago
I was thinking of canvas elements with no differences between them. Same size, same properties, random id. In such scenario you'd have to "look at the pixels". The contents are programatically rendered and they're not su
136.
▲
by
kolme
10y ago
It could be feasible to circumvent this "attack" by drawing posts and ads in canvas elements. But then again, the blocker could "look at the pixels". Basically, if a human can tell the difference, a piece of software wil
137.
▲
by
kolme
10y ago
Not really, for two reasons: - It's done at the hard disk level, so no database or data schema is involved. - It's not done for performance reasons, but for security reasons (not to lose any data). "In computing, denormalizat
138.
▲
by
kolme
10y ago
Yes, they are pointers. But the indexed fields have to be duplicated for efficient reading. From Wikipedia: "An index is a copy of select columns of data from a table that can be searched very efficiently that also includes a low-level
139.
▲
by
kolme
10y ago
I actually don't have any experience, but I heard this from wise people: If you have a file store service, where you're storing relatively big files (big images, videos, etc) and some metadata associated to them which need to be q
140.
▲
by
kolme
10y ago
Indexes are basically a copy of the original data, only sorted in the right order. They are denormalized data, sort of.
141.
▲
by
kolme
10y ago
Whoever wrote this possibly "made" all the mistakes on purpose, not to be fingerprinted by its writing style (it's a common technique). I wonder if software already exists for this, like, purposely filling a text with random
142.
▲
by
kolme
10y ago
I'm pretty sure that's doable now that there's WeakMap in ES2015.
143.
▲
by
kolme
10y ago
While that is mostly true, the amount of available plugins is one of the main selling points of WordPress. So if you have to avoid plugins altogether to stay safe, or don't need the plugins to begin with, you're probably better of
144.
▲
by
kolme
10y ago
They're talking about Django CMS, not the framework. It's a CMS just like WordPress. You don't have to know programming if all you need is a simple page, a blog, or the likes.
145.
▲
by
kolme
10y ago
WordPress is a mess. It's a never ending source of problems. It'll save you some time upfront and then it'll cause many headaches later on. It's just better to stay away from it. It's not about being snobbish. It&#x
146.
▲
by
kolme
10y ago
When I read that chapter of the book I was super struck, because I've been doing this kind of thing intuitively for many many years without knowing it was even a thing. It goes like this: instead of building software parts independentl
147.
▲
by
kolme
10y ago
Indeed! Shame, it's absolutely trivial to implement with a bit of JS. Actually one could do it with pure css using ::target, but that would scroll the page back to the top every time.
148.
▲
by
kolme
10y ago
I've done a fair amount of CSS in my time and I have felt the pain, I understand why BEM wants to keep specificity at 1. One thing bothers me though. Isn't this very WET? You have to repeat the `.primary` rules in every `--primary
149.
▲
by
kolme
10y ago
If you only need a couple of functions though, and makes your JS bundle just a few bytes bigger, getting the whole thing from the CDN is kind of silly. Especially for those with empty cache (need to make 1 extra DNS request, download 1 extr
150.
▲
by
kolme
10y ago
Chrome is not even open source. They can't use it. If you're referring to Chromium, well, what makes you think it's more secure than Firefox? Also, don't you think that the developers of the Tor browser are pretty securi
More ›