Better HN
topnewbestaskshowjobs
Log inSign up

librexpr

268 karma · joined Dec 11, 2016 (9y ago) · 68 submissions

Submissions

comment 5y ago · link · parent

Comparing population densities does not seem to be very straightforward, since I'm finding contradictory information to your own. Your statcan link gives Toronto 945.4/km^2, but Wikipedia says 4334.4/km^2[0]. I'm more inclined to believe Wikipedia, since Toronto is supposed to be the 4th most populous city in North America. Wikipedia itself cites a different statcan link[1].

This would leave Toronto at #4 in your Wikipedia list if we only count the bold cities (non-bold cities are those that are part of the metropolitan area of another city). If we count by Metropolitan Area, it would be around #11 by my quick count. Otherwise it would be #74, but for comparison Boston is #51 and Chicago is #75, so I'd say it definitely registers.

[0] https://en.wikipedia.org/wiki/Toronto#cite_ref-13

[1] https://www12.statcan.gc.ca/census-recensement/2016/dp-pd/pr...

comment 5y ago · link · parent

Even if there are, they still get a lot less data since they only see what you posted publicly. Unlike Twitter/Facebook, scrapers won't see your every mouse movement, how long you stare at any individual post, or any other of the more invasive tracking opportunities that are available to Twitter/Facebook.

The scraping services also won't know your email address unless you post it publicly or they figure it out some other way, so they'll find it much harder to associate the data they scrape with your other online identities, too. This also makes the data less valuable to advertisers, so I imagine there's less incentive to scrape it.

comment 5y ago · link · parent

You said in your original comment:

> using Discourse for a private group and Twitter/Facebook for public groups

Even if what freeone3000 said about Mastodon is also all true about Discourse (I know nothing about Discourse, but I'll take your word for it), it's not true about Twitter/Facebook. And since Mastodon is aimed more at the public group use case, Mastodon is a useful replacement of Twitter/Facebook even by your own logic.

comment 5y ago · link · parent

The article says "It’s a draft" at the bottom. I don't think this article was meant to be widely shared.

comment 6y ago · link · parent

As an amateur who nowadays works a lot with ZFC (but who doesn't know HoTT) and who is very interested in foundations, I don't think that learning HoTT is a waste of time, I'm sure HoTT is great and I'm glad there are people working on it. However, my time is limited, so I can't really afford to spend months going down a rabbit hole if it's not going to help me with my work. So I appreciate that you shared your experience, it was helpful in making me decide to stay focused on what I'm already doing.

comment 8y ago · link · parent

That's only "New circuit for this site", which is different from "New Identity".

comment 8y ago · link · parent

Yeah, I had to look for it too. It's in the firefox hamburger menu, where you'll find the add-ons, preferences, etc.

comment 8y ago · link · parent

I've thought about it more, and it's a tough question. If Facebook did allow Facebook users to see and interact with ActivityPub posts, but didn't allow other ActivityPub instances to see Facebook posts, there would be three types of instances.

There would be FB itself, of course. Then there'd be AP instances, short for ActivityPub instances that don't block Facebook. And finally, there'd be AP-FB (AP minus FB) instances, short for ActivityPub instances that do block Facebook.

FB accounts can interact with AP but not AP-FB. AP-FB can interact with AP but not FB. AP can interact with AP-FB, and only partially with FB.

If there aren't many people on AP-FB instances, then the incentive for people on AP is to jump straight to FB, because that's where you have the most reach.

If there are a lot of people on AP-FB instances, then there's some incentive to jump to AP accounts, because then you can interact with AP-FB and Facebook people can see your posts, even though you can't see theirs. It's not clear how strong this incentive would be, though, because people being able to see your posts might not matter if you can't see theirs.

If every instance is AP, they lose users to FB, so they have an incentive to coordinate to make a strong AP-FB block. But if there's a strong AP-FB block, AP-FB people would have incentive to jump to AP. This is likely to stabilize with FB winning, if the incentive is strong enough, so we could have a Bad End.

This means the correct game-theoretic solution, as far as I can tell from my armchair, would be for the AP-FB block to coordinate and block not only FB, but also AP instances, so that there'd be no incentive to jump to AP.

So it would all depend on how well instance owners can coordinate, and how willing they'd be to block AP instances, who could be framed as "defecting". I have no idea how that would turn out; humans have been known to coordinate, but also been known to fail to coordinate. It's something we'll see in the future, if Facebook ever partially implements ActivityPub.

comment 8y ago · link · parent

OP said "but not publish Facebook-originated content". So your users wouldn't be able to get Facebook events whether you block Facebook or not.

I agree that if Facebook implemented ActivityPub completely then people would not block it, and indeed they shouldn't.

comment 8y ago · link · parent

I think that most instances would block Facebook if they tried to do something like that. They'd have nothing to gain and everything to lose by allowing FB to get away with it.

As for your other point, it's also possible it will go the way of GMail, which is still compatible with other email providers. I think a large part of it depends on how big ActivityPub gets before a GMastodon appears.

Email is pervasive and decently well diversified on the web, with multiple email providers, and many businesses and users not being on GMail, partially due to inertia (they already had an email before GMail became big). Maybe GMail could afford to cut off emails from external providers, but it would be a big risk, and it would definitely break a large part of the web.

If ActivityPub does the same, with websites integrating it into their user experience, and news organizations and businesses self-hosting or joining various instances, I expect it would gain the same kind of resilience as email for when a GMastodon shows up.

So I'm not too pessimistic about this. The more pressing concern is increasing adoption, IMO.

comment 8y ago · link · parent

You can statically link a LGPL'd library without releasing the whole under the LGPL, but you need to provide a way for the user to modify the library and re-link it. See: https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynami...

comment 8y ago · link · parent

Your first link is pretty light on details, but your second link from 26 years ago says that the rain was 15.33 inches in one part of the island, 10.88 in another, and 6.68 in another. Compared to that, the 50 inches in 24 hours this month are in a class of their own.

comment 8y ago · link · parent

It's not just having "stuff". Without money, you have no food, no shelter. It's a very effective form of coercion: do this thing you would otherwise never do, or you and your family will starve.

Here are some points:

- It's much, much, easier to coerce someone into doing something they don't want to do when it's a legal option than when it's illegal in all circumstances.

- People in desperate situations are among the least likely to make their decisions rationally, so they might take the option even if they would have found a better one otherwise.

- It lowers the threshold of how bad things can get. Right now, if you have no money, you're in a shitty situation. With that "option", I expect a common outcome is that you take it, have a bunch of health complications and/or die, don't get compensated very well (there's a large supply of poor people like you and you're desperate, so your bargaining position is weak), and end up in an even worse situation.

- Nobody said "instead of", but there is a limited amount of attention and resources directed at getting better laws passed, and this one is extremely far down on my list of priorities.

comment 8y ago · link · parent

Spray-paint, maybe?

comment 8y ago · link · parent

What about the families of the 120 000 people in the re-education camp? Or the families of the people who's organs are harvested, or who are imprisoned for being mildly critical of the government? Are they safe?

It's easy to excuse horrible acts by saying it's for the greater good, but it's rarely actually the case. Chinese civilization won't collapse if they stop harvesting organs and imprisoning people who are even mildly critical of the government.

comment 8y ago · link · parent

On my part, I dislike the argument "there are people doing worse things than me, so don't try to stop me doing bad things!".

It's not one or the other.

comment 8y ago · link · parent

While the halting problem can be pretty important in some cases, it's not very relevant in most day to day code. If you're not sure if your code will ever terminate, that usually means that you're doing something wrong.

So sure, sometimes Coverity will fail because of the halting problem, and in those cases it can give an appropriate error message. Most of the time, though, it'll work just fine and be a very useful tool.

comment 8y ago · link · parent

While I agree with most of your points, I'd like to point out that it's not necessarily true that prior generations wanted/enjoyed having children. People didn't have much in terms of birth control for most of human history, so having sex would often lead to children whether the parents wanted them or not.

comment 8y ago · link · parent

As an AMP "hater", I couldn't care less about the AMP user experience. My problem with AMP is that to be on Google's Carousel, which shows up at the top of mobile search results, you need to serve your content from Google's servers.

If Google allowed people to host AMP pages on their own servers and still show up on the Carousel, I would have no problem with AMP. As it is, though, AMP is a blatant power-grab from a corporation that's already got way too much control over the web.

comment 8y ago · link · parent

I recently tried to get a native look and feel with Swing, and this code worked on both linux and windows:

  try {
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  } catch( ClassNotFoundException | InstantiationException
           | IllegalAccessException | UnsupportedLookAndFeelException e ) {
  }
I originally found the UIManager line on StackOverflow, but I'm too lazy to go looking for the link.

comment 8y ago · link · parent

In truth, C# was the "top contender" because it was the only contender. Sorry for the misleading way I phrased it.

My main reason for using Java is for the easy cross-platform development. Most of what I code are basic GUI apps that do conversions between spreadsheets and various file formats. Java's "compile once, run everywhere", with its GUI support and many libraries, is exactly what I'm looking for.

When I heard that .NET was open-sourced and getting support for all platforms, I thought that meant it could be an actual competitor to Java for my use-case. As I've learned from the responses here, it's actually not, and my fears of running into major parts of the ecosystem that are still proprietary were well-founded. I don't need to worry about "future" proprietary extensions: they're already here!

comment 8y ago · link · parent

I'd like to switch away from Java in future applications, and C# seems like the top contender, but there are questions I'd really like answered before I make the switch.

I see a lot of people talking about Microsoft open-sourcing .NET Core. But as someone who's never used it, what is .NET Core? And if .NET Core was open-sourced, what about the rest of it? Am I likely to run into major parts of the ecosystem that are still proprietary?

Also, can I develop and use C# applications on Linux without feeling like a second-class citizen? The ability to easily develop on Linux using free software and then run on my clients' Windows computers is one major reason I use Java at all, and I definitely won't switch to a language that doesn't support Linux properly.

And finally, how likely is Microsoft to fuck free software developers over with proprietary extensions in the future? This is Microsoft we're talking about, after all.

comment 8y ago · link · parent

I've just replied to you with JS disabled. I also created this account with no JS (this was a year ago). Upvoting also works without JS.

In my experience, of all the websites that don't work without JS, only a minority actually need it. Most of the time it's silly things like articles and blog posts that just show a blank screen without JS, or drop-down menus that rely on JS even though there are perfectly fine non-JS ways to do it, etc.

comment 9y ago · link · parent

I don't know about that. China is just as bad as the west when it comes to privacy, and they use it to help crush dissent in their citizens.

As for the environment, while they've been taking steps to remedy that, they're still behind the West on this.

I also don't think I agree that democracies are slow to adapt. When there's the political will, democracies can get new laws passed quite quickly. The problem is when people don't care or disagree about what to do.

An "autocracy" like China avoids the problem of disagreement, but only by ignoring all disagreements and following the rulers, whether their decisions are good or bad. Usually bad, judging by the censorship, forced organ harvesting, disappearings of dissidents, etc.

It's easy to try extrapolating China's current growth and think that China will become the world superpower. Except they're still the underdogs, and a lot can still go wrong. They could plateau, like Japan did. Xi Jinping will eventually be too old to rule, and it'll be a coin toss as to whether or not his replacement will be competent. As wages in China rise, companies that outsourced to them could move to cheaper countries. If they suffer a recession, I don't know what will happen, but with a government that loves cracking down on disagreement I don't expect it to be pretty.

China's on a good trajectory, economically speaking. But it's too early to say who will win out in the 21st century.

comment 9y ago · link · parent

That sucks. Mastodon tries to reduce the empty home page problem by automatically following the admin when you create an account, and by having a #followfriday hashtag where people post recommendations of who to follow, but that doesn't really help if you're hosting your own instance.

My recommendation would be to follow the admins of some of the more popular instances. You can find the admin on the about/more[0] page of their instance. They're usually interesting people, and can act as a gateway to finding more people when they reply to others or boost other people's posts.

@Gargron[1] from mastodon.social is always a good choice, as the creator of Mastodon and just being a pretty great person.

@Curator[2] from mastodon.art is great if you like art, they boost a bunch of artist's posts.

Other than those two admin recommendations, you might want to check out the admins of the instances listed at the bottom of the medium article.

[0] https://mastodon.social/about/more

[1] https://mastodon.social/@Gargron

[2] https://mastodon.art/@Curator

comment 9y ago · link · parent

hugogameiro seemed to say otherwise a month ago[0]. According to his post, it takes <1GB of RAM. Have things changed since then?

[0] https://news.ycombinator.com/item?id=15213203

comment 9y ago · link · parent

On the about page of an instance[0], if you scroll down, there's "a look inside" of the federated timeline. If you know a username, you can go directly to their page[1]. You can find the username of the admin on the about/more page[2].

These are sample links to mastodon.social:

[0] https://mastodon.social/about

[1] https://mastodon.social/@Gargron

[2] https://mastodon.social/about/more

comment 9y ago · link · parent

I don't think a point can rotate. What would it mean if it did? There would be no observable change. So no, I don't think the absolute center point moves.

From a physical standpoint, though, if you wanted to talk about the absolute center point, you'd have to talk about the lowest level of particles, which gets into the weirdness of quantum mechanics (or maybe a lower level exists?). At that point, I really couldn't say what happens.

And I don't think it matters if the particles are point mass or not, except possibly for the absolute center. The point is that the rotating object is not just one thing, but made up of smaller things that have different velocities and acceleration. These differences in velocities and acceleration are what rotation is.

If there exists something that is not made up of smaller things which also rotates, then that would prove me wrong.

Of course, all the above is just speculation by someone who's hasn't had a physics class since high school, so take it with a grain of salt.

comment 9y ago · link · parent

Whoa. I kept reading past that, and the third answer by Logan R. Kearsley is almost exactly what I said, but better. I should have kept scrolling the first time I opened the link!

It ends by saying that in general relativity, "rotation can be considered as existing only relative to a certain choice of coordinates after all", though, so there seems to be more to it.

comment 9y ago · link · parent

Um, I must be missing something here, because feel like I have a pretty simple solution to why there's only a single rotational reference frame, and this is a problem that apparently eluded Einstein, if I'm to believe your link.

Imagine a spinning glass ball with a 1cm radius doing one full rotation per second. If we draw a dot on its outer edge, at the end of 1 second that dot will have done a full turn. Given that its movement was a circle with radius 1, the distance the dot traveled was 2pi cm, for a speed of 2pi cm/s.

Now imagine that instead of drawing the dot on the outer edge, we drew it halfway between the center and the outer edge (somehow). This would place it 0.5cm from the center. It would still complete a full turn in 1 second, but now its distance traveled would be pi cm, for a speed of pi cm/s.

All this is to show that when the ball is spinning, the different particles it's composed of are moving at different speeds. On opposite sides of the ball, the particles are even moving in different directions. The faster the ball spins, the greater the difference in velocity of the different parts of the ball.

Rotation is inherently about different particles moving at different velocities. This is why there is an absolute reference frame for it: it is defined by these differences, so by reducing them to zero and making every particle in the ball have the same velocity, we can reach the "absolute".

At least, that's what it seems like to me.

123