Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gbog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
gbog
10y ago
From the article: "Big-data systems in democracies are not designed for social control." First I don't think calling western countries "democracies" is correct. From Europe the USA is certainly not embodying the mod
62.
▲
by
gbog
10y ago
I found out that having no news at all is not so good, because you don't want friends and colleagues to believe you're living in a cave. But you only need the two three important headlines in the week, and I get these from Wikiped
63.
▲
by
gbog
10y ago
I think for HN becoming less political do not mean avoiding topics with a social impact, it means avoiding the display of personal political preferences in discussions. For example "why did Trump win" is a political topic that can
64.
▲
by
gbog
10y ago
Another language? Do you mean that Ruby, or Go, or Rust, or Javascript are less likely to force you to another jump in the next 20 years? I dislike the new print in py3, but still the python community do take things seriously and are not sw
65.
▲
by
gbog
10y ago
This. And performance is actually very easy to solve, it is already solved by the sites like hn, wikipedia, etc: focus on content and drop all the useless "beautiful" stuff.
66.
▲
by
gbog
10y ago
> unless someone can show me Why no. If you do not get why PostgreSQL is so much better than MySQL after reading so many people telling you otherwise, I guess I will not spend time on this task. There are some people prefering PHP over P
67.
▲
by
gbog
10y ago
Civilisation, development of human ethics, laws, all this stuff is our way to adjust for the unfairness of life. Also, back people did not invent our create the buses, was it right to let them seat in the back, when they where even allow to
68.
▲
by
gbog
10y ago
> The gov TLD is US only. And you think it is normal? Why not gov.us? The US are always giving lessons to the world, but do not even understand that we --the other parts of the world-- would like to have some minimal level of fairness.
69.
▲
by
gbog
10y ago
> Only log actionable items Easy to say but much harder to implement. For example, if you communicate with another service, a few network errors are usually not actionable and you'd have some fallback mechanism in you code. But tons
70.
▲
by
gbog
10y ago
I have a Ricoh wg-m1 which is not too bad.
71.
▲
by
gbog
10y ago
And horrible domain name: How come `code.gov` is US-only? How come it's motto is "Help propel America’s next breakthrough in innovation"? If this in not imperialism, I don;t know what is.
72.
▲
by
gbog
10y ago
I think "rivers" are not the same. if the same as in edition of books in French, rivers are those unwanted "paths" your eye sees floating downwards inside the rectangle of words that makes a page. They come out of random
73.
▲
by
gbog
10y ago
yes, neat, and yes SQL is code. Problem is that there is not SQL linter I know of.
74.
▲
by
gbog
10y ago
Here in China more and more logins are using "scan this QR code with your phone". I think this kind of makes sense for places where you really want to login, and it is very convenient.
75.
▲
by
gbog
10y ago
Thanks for these suggestion, I'll check them out. There is also an interesting trend with pico8 "pixel games", for me some of them have a "thing", a bit like chiptune music.
76.
▲
by
gbog
10y ago
I was wrongly expecting something about video game as art. To me it is really strange that video game as a new medium for art has not taken more traction yet. Every ingredient seems to be there for the recipe: novelty of the medium, specifi
77.
▲
by
gbog
10y ago
Yes but no. Almost all writing systems are alphabetic, but the Chinese characters. It makes them very special and different. And China has its culture rooted in its characters. So using "alphabet" as the name of an entity with an
78.
▲
by
gbog
10y ago
Side note: did anyone else notice how choosing "Alphabet" as the name of this entity, while apparently neutral and universal, is actually quite heavily loaded? Who in the world is not using "alphabet", i.e. an alphabetic
79.
▲
by
gbog
10y ago
Yes, but it is a problem. Unlike Computer languages, human languages do not only convey pure meanings, i.e. pure descriptions of relations between entities. They embed a full baggage of culture, so even if it is convenient and pragmatic to
80.
▲
by
gbog
10y ago
Actually it's worth reminding that it's the opposite that is true. Bureaucracy, paperwork, are the only known ways to reduce gaming and enforce equal access to justice. O boy I hate paperwork, but it's there for a reason, a g
81.
▲
by
gbog
10y ago
> You should always name your closures Yes. Why? Because you should have readable tracebacks. Why? Because you should receive all meaningful errors reports from the devices.
82.
▲
by
gbog
10y ago
Well, there are methods that can help to avoid raising "kamikaze kids". None is a silver bullet and kids have a lot of variability by themselves, but still: - Start early to forbid things. My third don't talk yet but understa
83.
▲
by
gbog
10y ago
Are you not in the module's global scope? If you are pylint is right and you wrong, you need to move this line inside a function or a class. There should be no code running at module level. Here you might argue that this is akin to a d
84.
▲
by
gbog
10y ago
First thing I do with a legacy code base is to commit it to git, then pass it through pep8 and pylint to get a sense of its level of dirtyness, then run autopep8 to fix all that can be autofixed. Then commit the autofix. Then manually fix t
85.
▲
by
gbog
10y ago
I beg to differ, to me python (and js) are tolerable languages only when they are controlled with linters and automated tests. And pylint is still the best linter for big python projects. It is fully configurable and each and every default
86.
▲
by
gbog
10y ago
Did you try Firefox recently? I switched back to FF three months ago and it is actually often faster than Chrome (on Linux at least)
87.
▲
by
gbog
10y ago
I have pyflakes as a vim plugin but it is not enough on big projects, as it will not catch import errors (which are the most common code-breaking errors)
88.
▲
by
gbog
10y ago
Why, no. It's right there, in plain text. No need for hermeneutics.
89.
▲
by
gbog
10y ago
Yep, how do we vote against logic inside jsx markup?
90.
▲
by
gbog
10y ago
It's in the colon, which implies a causation, an explication or something similar. Here it means, CLS is a great figure of French philosophy, therefore a figure of the past.
More ›