Better HN
topnewbestaskshowjobs
Log inSign up

thinkloop

2,120 karma · joined Jun 5, 2012 (14y ago) · 1,112 submissions

Software, Engineer, Finance
Submissions

comment 6y ago · link · parent

> A third-party Twitter client might be prettier and more functional than Twitter’s own client — shout out to Tweetbot! — but it certainly would not be more profitable.

I never understood this, why can't the API/firehose serve ads that would be presented in the 3rd-party apps?

Additionally 90% of users would naturally gravitate to the default app regardless, leaving 3rd-parties for cool/interesting/advanced/innovative use-cases. I still feel this was a mistake - not as some hippy idealogue - but from a ruthless capitalist perspective. This was their like button.

comment 6y ago · link · parent

> Doesn't help that legislators are absolutely clueless here.

You're a world-leading computerist and you had no clue either (nor I), how in the world are legislators supposed to do this. It's a fundamental problem. And once it's finally legislated the sme's are already on the next thing.

comment 6y ago · link · parent

What's the counter argument? A phone is a smaller Google home running the same software and hardware. It's like bolting all the doors except the front. It'll stop a criminal attempting to enter only through the back, but doesn't it seem weird to optimize so much for that?

comment 6y ago · link · parent

The problem with this discussion is the definition of "hard". Is pushing a rock up and down a mountain easier or harder than getting a degree in computers? For me it's the former, studying cool stuff in cafes seems "easier".

comment 6y ago · link · parent

There is no bigger lie than hard work = prosperity. It is literally the exact opposite. Think of the hardest shittiest jobs and they are almost always the least paying. The richer you get the less hard work is, until you're able to reach the pinnacle of doing absolutely nothing but managing your money and taking advantage of discounted cap gains taxes. I grew up rich with every opportunity and never had one of these jobs, but it's clear as day.

To get more money you have to pry it from people's hands. You have to have something they can't resist not paying you for. That's it.

The suffering of low minimum wage is supposed to "encourage" people to move up the value chain, as the conservative doctrine goes, but it just doesn't work when all your time and energy is spent surviving.

comment 6y ago · link · parent

There's another piece to it too: they are able to legally sell trade secrets between organizations. They update their "knowledge base" every engagement and become "specialists" in the field.

comment 7y ago · link · parent

What is there besides sessions?

comment 7y ago · link · parent

From the paper [1]

> A core value proposition of LN is that Bitcoin users can execute payments with negligible transaction fees. This feature may be cherished by payment initiators, but in case of insufficiently low network traffic, it could be unprofitable for router entities.

Relative to the purposely (and ingeniously) wasteful process of mining, LN will always be faster and cheaper.

[1] https://arxiv.org/pdf/1911.09432.pdf (PDF)

399.

Ask HN: Is API scraping more common now than page scraping?

4 points · by thinkloop · 7y ago · 2 comments

comment 7y ago · link · parent

You could have a locking mechanism that is activated when in bar mode.

comment 7y ago · link · parent

Why doesn't apple make the touchbar out of keys? The keys could be flat on top and seamlessly adjacent to one another to make a "bar", for sliders and such. But pressable like regular keys to make great buttons (most common use-case). I feel like that is inventable.

comment 7y ago · link · parent

> forcing foreign financial institutions to tell the US government about any American-owned assets on their books

This is another interesting part. How can the US "force" a sophisticated wealthy sovereign nation that culturally and morally values banking privacy (not only for the profits), like Switzerland?

It cannot be understated how much power, control and ownership the US has of the world financial system. If Switzerland did not comply, they would have been fully cut-off, unable to participate in any finance at all. It happened swiftly (no pun intended [1]), there was no discussion, only power.

Most of the west is mostly aligned with what the US is doing, so it's not a big deal. Every government wants more visibility, control and power over finances. It is akin to how the US military handles matters of physical force on behalf of the rest of the west.

Just a quick note that the US is equally powerful in the financial arena as they are militaristically, if not more so.

[1] SWIFT is one of the systems Switzerland could have been cut off from

comment 7y ago · link · parent

> in the hypothetical situation where classes are added just for styling

OK, a style-based class naming system

> is it a given that the correct way to name it is a way that stays the same when the styling changes

Not with a style-based naming system, in that case it's ok for the class name to change, and you can expect it to change often, which a lot of people argue is ok.

But like @welly said, herein lies the problem, or preference. The argument is exactly about whether you should name things in unchanging "decoupled" ways, or whether that doesn't work out in practice and it's simpler to just have utility styles.

comment 7y ago · link · parent

The real issue with css is that there is an enormous amount of code re-use while at the same time almost no code-reuse at all. The author's example highlights this perfectly: he has a "media-card" representing both the "author-bio" and "article-preview" but the "author-bio", in this case, needs to be slightly different. This, to me, is the quintessential css problem.

Almost nothing in css is identical, but almost everything is similar.

This becomes especially true as you move up the complexity spectrum. Primitive things can be identical (fonts, colors, input boxes, etc.), but the real higher-order actual components like pages, forms, sections rarely are. In fact, the little differences, tweaks and custom-tailoring that are manually applied based on context are what separate professional design from robotic enterprise-style Frankenstein design.

I think the answer is that you need both semantic css and utility css. Utility css is used to define the rigid primitives that make up the general design language, while semantic css provides the hooks and separation needed to be able to uniquely compose those primitives into custom higher-order components.

So to answer the author's question regarding how to model "author-bio" and "article-preview", I would personally keep their separate semantic titles, but style them using common utility primitives classes and custom css within the css.

comment 7y ago · link · parent

> wouldn't you say that when naming things for the purpose of targeting them with styling, what they look like is indeed what they are?

What do you mean? A "comment" is likely to stay a "comment" forever, whereas its bold'ness or italic'ness can/will likely change relatively often.

comment 7y ago · link · parent

What forces led protonmail to require some form of identification? Are they regulatory?

comment 7y ago · link · parent

It's unfortunate that this is a reasonable question. I've been surprised to learn how conditional being treated like a human being really is (location, citizenship, etc.). It would be my preference for my country to treat all people kindly, fairly, equally.

comment 7y ago · link · parent

It's much less than half now, that was at the ultimate peak - was the point he was making.

comment 7y ago · link · parent

Isn't there an implied undercurrent with all this that genpop are idiots? I personally am not saying this, but if people say that "money buys elections", what do they mean exactly? They do not mean that massive election fraud exists, nor that people are being directly paid for their votes - there is no evidence of that. Everyone agrees that people are fairly voting based on their wants. What they are implying though is that the slovenly masses are non-discerning dummies incapable of critical thought that can be convinced to believe whatever drivel you are able to purchase with money. Is that not the underlying premise of such statements?

comment 7y ago · link · parent

Wait, why is it useless? At minimum there is the example cited in the article of checking file length without having to download the actual file, but more generally, if headers have any value, and they must since they exist, why can't you imagine situations where you just want to see the headers without downloading a giant body?

comment 7y ago · link · parent

Does WhatsApp have ads?

comment 7y ago · link · parent

The entire cdnjs is one dude plus some "core" maintainers with no access? Amazing.

comment 7y ago · link · parent

If "almost all" the transactions are fraud, are mobsters just trading with each other? Seems odd. Seems you need to have a minority of fraud for the fraud to work.

comment 7y ago · link · parent

> one of the reasons why political ads are so bland and content-free

I'm not sure I would describe them as bland: https://youtu.be/LcjEe9guEIA?t=435. I bet the bland ones are by choice.

> a question of whether or not Facebook should submit to FEC regulation or not

There are official political ads by campaigns, and then there are non-official political-influencing ads/articles/etc. A new challenge will be defining how "political" something has to be for it to be considered a "political ad".

415.

Ask HN: Reliable scraper service that returns title, image, blurb for given url?

3 points · by thinkloop · 7y ago · 3 comments

comment 7y ago · link · parent

It's temperature would have to be maintained around absolute zero to compensate for the transmission loss, for that we would need a continuous source of cheap, clean energy.

comment 7y ago · link · parent

You can disable gif autoplay

comment 7y ago · link · parent

The other issue is that everyone defines "smart" differently and select with bias based on their definition. So in some sense they're all also right.

comment 7y ago · link · parent

> for advertising purposes

That qualifier leaves a lot open. Without client-side encryption it's just words.

comment 7y ago · link · parent

That can't be! DDG has gotten really good. I'm only about 5% !g. S.O. and wiki come up reliably too. Any examples?
1
131415
38