Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xixixao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
511.
▲
Are FB Ads Discriminatory?
(wired.com)
1 points
by
xixixao
7y ago
|
0 comments
512.
▲
by
xixixao
7y ago
You're still focusing on advertisers (I didn't make this clear enough). Think about the people owning the football stadium, the tv channel, the newspaper (they're likely advertisers themselves, but let's pretend for a mo
513.
▲
by
xixixao
7y ago
One thing you might want to think about: What role do the businesses that benefit from advertising revenue play. You're looking at advertising from the perspective of advertisers pushing themselves into your life, but have you asked yo
514.
▲
by
xixixao
7y ago
> Why, oh why, would a company built on ad revenue want to reduce ad spend? > These companies are perfectly positioned to make ads more efficient - and they have absolutely no reason to do so. The question is not really asking about r
515.
▲
by
xixixao
7y ago
The reason to include it in the core language, besides potentially not requiring the additional syntax of a macro call, is what another commenter pointed out: You want editor support (click to definition, syntax highlighting, typing).
516.
▲
by
xixixao
7y ago
I'm not familiar with Rust compiler internals (I am familiar with other compilers though), but there are many ways to implement this, which could happen in a stage before types are considered (for example the expression `"Hello {a
517.
▲
by
xixixao
7y ago
I am absolutely advocating for arbitrary expressions, I should have made that even clearer in my example. Again, the burden is on the editors/compiler, but it massively simplifies life for the developer using the language. check/h
518.
▲
by
xixixao
7y ago
Ok, how about we agree both mine and your concerns are equivalently important? With real interpolations, you can do: a = "a" b = 'b' c = 3 "{a} {c} {b}" Your concern is addressed, with real
519.
▲
by
xixixao
7y ago
Example reminds me: I love Rust, but every decent programming language in 2019 should have actual string interpolation (the "Hello ${expression}" kind). It's just so much nicer to read and write, and it doesn't come with
520.
▲
by
xixixao
7y ago
I'm not an expert, but you could integrate DBs like https://haveibeenpwned.com/Passwords to make sure users don't use exposed passwords?
521.
▲
by
xixixao
7y ago
Let's go back to the world where there is no internet. Imagine someone spreads a rumor about you. Or a praise. People might have heard this, before they even met you. It can be illegal, harmful, or beneficial, but it's under the c
522.
▲
by
xixixao
7y ago
Seems like Functions being Objects in JavaScript gives you the same expressive power.
523.
▲
by
xixixao
7y ago
We made these at work couple years back, I have a nice red leafed plant in it: https://www.dropbox.com/s/nw3yxphorc2h9v1/PHOTO-2019-04-26-1... The only thing that almost killed it was direct sunlight, I think it g
524.
▲
by
xixixao
7y ago
Can you add more details on how you handle seasons? This is something I've been wondering about. Do you shorten/lengthen your sleep? Or just shift it to always wake up at sunrise? I think shifting seasons might be one "natura
525.
▲
by
xixixao
7y ago
Nice intro, which then jumps to an absolutely arbitrary (for someone who hasn't coded in Go) set of recommendations, which are (imo) poorly argued from the perspective of clarity. Especially the case of "var person int", how
526.
▲
by
xixixao
8y ago
I really like this, not that I would want to write this every time, but because you could have a macro rule that doesn't specify expected/actual, for those rare cases where both sides are computed ("actual").
527.
▲
by
xixixao
8y ago
I only just thought about this, so it might be a crazy idea but: States could pay parents caring after children. In fact this already happens in modern western societies with some resemblence of a social state. But I think the problem is th
528.
▲
by
xixixao
8y ago
One thing that keeps me confident (even worried) about house prices: We have now got used to not demolishing old houses. This is a BIG problem. Look at London. Yes it has a mud base layer, but we can manage nowadays. Yet the whole city is s
529.
▲
by
xixixao
8y ago
Nice article. I finally gave Rust a recently. It's really interesting how new languages evolve, and what "deficiencies" they exert. The article for example uses closures, but it's currently impossible in stable Rust to a
530.
▲
by
xixixao
8y ago
For me it was weird having to tap around (to open and to close) in such a fluid article. It was distracting in a way. I would suggest trying to simply insert them into parentheses on mobile, perhaps heavily grayed out if you want to deempha
531.
▲
by
xixixao
8y ago
Have you seen Nim?
532.
▲
by
xixixao
8y ago
The performance on mobile doesn't look great for me (significant delay between key stroke and rendering, on iPhone X), also this particular page could be more responsive and mobile friendly. Otherwise I love the idea of block-based edi
533.
▲
by
xixixao
8y ago
Don't know where you've been getting taxis, but they were literally one of the worst services anywhere I've ever been to. Prague: ton of documented defrauding of customers, taxi drivers making little money otherwise, fights o
534.
▲
by
xixixao
8y ago
This is definitely the case of different organizations having different labels for the same thing. Going by the article, "senior engineer" would translate to "engineer" and "principal engineer" to "senior
535.
▲
by
xixixao
8y ago
"it’s more of a way to enhance interaction by creating dynamic buttons that are application dependent." But this is fundamentally touch-typist unfriendly. And most serious professionals, most people who actually try to maximize th
536.
▲
by
xixixao
8y ago
How to avoid this in your software (applies to CLI but also messaging in GUIs): - Always wrap input, code, strings in some delimeters. - Always specify the kind of a thing custom name refers to. - Follow standard prose writing rules, like e
537.
▲
by
xixixao
8y ago
Have you tried Bear (on iOS, but otherwise pretty close). I especially love how they combined tags with tree hierarchy (like you suggest).
538.
▲
by
xixixao
8y ago
Here’s a great practice: 1. Write some piece of code 2. Now write a comment about it 3. Is the comment adding more information, making the code more clear? If Yes: Put that information into the code. Rename variables. Pull out code into sub
539.
▲
by
xixixao
8y ago
The information is two clicks away from you (one on UpCart in the article, and one on Learn More on their website): > The UpCart Deluxe combines an all-terrain three-wheel chassis with a folding hand cart, with unique engineering that ma
540.
▲
Cassini's Grand Tour
(nationalgeographic.com)
9 points
by
xixixao
8y ago
|
0 comments
More ›