Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bru
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
bru
12y ago
>and JavaScript execution is usually the dominant consumer of memory. That's forgetting the DOM, which is often the actual cause for slowness & memory consumption, but gets far less spotlight than JavaScript. This is also a reas
92.
▲
by
bru
12y ago
I switched from ABP to this hosts file a few months ago and I have zero regret. My browser's faster, lighter and ads are blocked just as well as with ABP. I actually even started splitting my hosts file: the layout is /etc&#
93.
▲
by
bru
12y ago
`/etc/hosts`-blocking the ads works fine for youtube. See the list at http://someonewhocares.org/hosts/zero/
94.
▲
by
bru
12y ago
Is that legal? That version seems closed-source! And I couldn't even access the developer's website (www.androthsoft.com). If the money went to the authors/official website I'd buy it in a heartbeat, but in the current s
95.
▲
by
bru
12y ago
Could you explain this difference to a git user?
96.
▲
Management by absence
(michaelsseaver.com)
1 points
by
bru
12y ago
|
0 comments
97.
▲
by
bru
12y ago
>You can get the library directly from PyPI: >pip install click Well... no you cannot. See the page: https://pypi.python.org/pypi/click The package hasn't been uploaded yet. However one can install it straig
98.
▲
by
bru
12y ago
I cannot access it: >Sorry, we couldn't find that page. Here are some others for you to explore. Here's the version from Google cache: http://webcache.googleusercontent.com/search?q=cache%3Awww.l...
99.
▲
by
bru
12y ago
Retro console gaming. A huge panel of old console games could come to mobile devices and look fine. After being convenient and stable, connectivity could be really cool.
100.
▲
by
bru
13y ago
Some notes: - parallel and concurrent are 2 different things - the 'symbolic languages' definition seems off. Wikipedia puts it right: > symbolic programming is computer programming in which the program can manipulate formulas
101.
▲
by
bru
13y ago
You're right and that surprises me as well. > As noted above, ``%s`` is being included solely to help ease migration from, and/or have a single code base with, Python 2.
102.
▲
by
bru
13y ago
Inciminated comment: https://github.com/github/linguist/pull/748#issuecomment-374... > if you'd like Mercury language detection on GitHub then with the current implementation of Linguist you need to p
103.
▲
by
bru
13y ago
>I've noticed that most devs seem to have strong opinions one way or another. I've personally noticed that most devs don't have an opinion either way since they don't use subtrees nor submodules. I don't know wha
104.
▲
by
bru
13y ago
Just Ctrl+click or Middle click...
105.
▲
by
bru
13y ago
>In contrast, Bitcoin is a deflationary currency This is IMHO the strongest argument against Bitcoin and the reason why a long-term economy could not depend on it. The problem with cryptocurrencies is the impossibility to control the m
106.
▲
by
bru
13y ago
>Likewise with the 80 character guideline in PEP Definitely. The PEP8 was actually revised 6 months ago[0]. Nothing crazy, but a bit more pragmatic. >For code maintained exclusively or primarily by a team that can reach agreement on t
107.
▲
by
bru
13y ago
Several of those patterns are incomplete or frowned upon: * if a method does not use the object's state (no `self` usage) make it a `class-` or `staticmethod`. * Some magic methods are presented. There's more to them[0]. * one sho
108.
▲
by
bru
13y ago
That's a stupid name... REPL has had a precise meaning (Read-Eval-Print-Loop) for the last 50 years, and I don't know how one can choose to give that name to a project.
109.
▲
by
bru
13y ago
Indeed. I still tried to share the page, to encourage friends to look at theirs, but there's not thumbnail of the link or any description!
110.
▲
by
bru
13y ago
The `-p` flag in general is very useful. With `git add`, sure it allows you to stage part of a file. That not all, when you're in edit mode (pressed "e" upon the prompt) you just edit a patch. So you can actually put in your
111.
▲
by
bru
13y ago
That's something for which I should strive. I've never written "polyglot" scripts longer than 1 file with 100 lines. Writing compatible syntax is feasible without too much hassle, but most problems I encountered were whe
112.
▲
by
bru
13y ago
I'm surprised, if not saddened, by the low popularity of `3to2`: less than 2% of the people surveyed have used it, even though it is a convenient way to have your code in python 3 when stuck with libraries that use python 2. edit: dire
113.
▲
by
bru
13y ago
It is the second time in this discussion that you mention the downsides of using FreeBSD, and you present it as an historical choice. Do you have upsides as well? What were the criteria that made you pick, 10 years ago, FreeBSD over another
114.
▲
by
bru
13y ago
Nice. Which loopback value did you use? Is it 3 by any chance? I'm currently at 2/7... Making that value settable could be nice (as well as opening the source).
115.
▲
by
bru
13y ago
User DanBC suggested it there: https://news.ycombinator.com/item?id=6815563
116.
▲
by
bru
13y ago
>you may want to retire there Having kids and retiring usually do not happen at the same time. >a few of my friends, who were settling in France for personal reasons So they're not French. Your first comment is definitely wrong t
117.
▲
by
bru
13y ago
I'm not surprised by such a comment, but finding it on HN saddens me. xenophoby? Oh USA, building a wall to keep your neighbours out of your lawn, please tell me more! Our economy? Of course American governement-sponsored 'liberal
118.
▲
by
bru
13y ago
I did the same at the time. I know in which computer mine is. But I know I trashed that computer not long after...
119.
▲
by
bru
13y ago
That actually happened to me at the beginning of the year. If I remember right I was in a foreign country (UK) (or just back from it) and Facebook asked me to log in and to scan my government ID (French one actually). However it was optiona
120.
▲
by
bru
13y ago
> what strategies can be applied to increase the speed of language adoption. In the case of Python 3, a neat thing library developers can do is write code that is both valid for Python 2 and Python 3. The six[0] library is a wrapper for
More ›