skysight-inc/HackerNews huggingface dataset:
Except that I'm forced to try/catch on every line that can possibly produce a runtime error.

If you were selling this language to me, how would you explain writing 33% more code to do the same business logic, just to handle errors, over something like Elixir with its rather astonishing uptime and response rate and almost no boilerplate error-handling code? For the backend of an API or webserver, hypothetically.
Just imagine a Chinese, Russian or Indian company head writes such a post.

It's talking about building global communities, so anybody or everybody could or should have such an ambition.

Does that give one a sense of unease thinking about it?

If that is the case then maybe global community in that sense may not be a popular or good idea.

In this context, I'd like to draw your attention to how developing countries viewed technologies and ideas from the developed countries until a couple of decades ago. They've copied them first and then moulded them to their specific needs.

But technologies and ideas of the last decade or so cannot be copied and moulded, instead the ideas subsume them. There's no Facebook like thing in India. They use Facebook. There's no Google like thing in India. They use Google. This is ok as long as it's affecting only a small slice of their experience. However that slice has been growing and becoming more important every passing day. More people are becoming more concerned.

That concern is a lot like the sense of unease I alluded to earlier.
What are those "real reasons"? And are they against globalization in the abstract or against specific models of global institutions? I find being against globalization in the abstract very strange, because it takes arbitrary historical divisions of human-kind and tries to set them in stone. A global human community almost always seems like a more natural positive future than a fragmented system of hostile parties defined by birth location and operating in anarchy. Maybe I am lacking some context or some value system that the anti-globalist have and which might have its merits, and if so I would love to hear the argument, but to me the idea of "this person is more valuable or interesting to me because it was born my neighbor than anyone born a hundred miles away" seems to lack some ethical foundation. Let alone the same argument defined by religion or race, instead of plain location.
Are you familiar with Jonathan Haidt's work on the psychology of morality and the formation of superorganisms?

https://en.wikipedia.org/wiki/Jonathan_Haidt

Here is one of Haidt's TED talks that touches on the ideas of cooperation, group selection, and the free-rider problem:

http://www.ted.com/talks/jonathan_haidt_humanity_s_stairway_...

His Edge article on "Contingent Superorganism" https://www.edge.org/response-detail/10386

NB: Also see this recent post on "information theory and the foundations of life" https://news.ycombinator.com/item?id=13496133
Do you not have any skills? lol

People want to know you because you have skills. If you don't have any skills or assets, people will drop you like a hot bucket.
As opposed to supporting and voting for a man who conducted a years-long racist campaign to smear the previous president, which demonstrates great judgment and a deep-seated desire to heal the divide.
It might be intentional as reverse psychology. They don't want employees or users who wouldn't use a project because it's named after an unpopular insect. Those users/employees could be fickle, unreasonable and low quality at other aspects of business/development and be a net loss for the company/project in the long term.
I have to say, I think that if you have a problem with "Rust" then you lose credibility in your criticism of "Cockroach".

Contrary to most above, I think "Cockroach" is great. It's suitable. Any suit who has a problem with it should get back on their side of the office, and stop sticking their nose in things they know nothing about, especially when so evidently closed minded. There are too many people in that meeting. Hell, even "Google" is a crap name, sounding like a baby word, and "Mongo" can be outright offensive. I expect anyone who has an issue with the name "Cockroach" is probably not going to be too open to the cutting edge anyway, so wasted concern.
Security checkpoints were added to airports in the 70s. Airlines actually fought their introduction tooth and nail - it took a huge wave of airliner hijackings in the late 60s and early 70s to sway public opinion and bring the FAA around to the necessity of security screening. The book "The Skies Belong to Us"[1] gives a great account of the events of that era.

The MCI airport had the misfortune to be designed and built almost right before this all happened. TWA designed the terminal according to their vision of the future of air travel - drive right up to the gate, walk a couple steps onto the plane, and away you go. The new security requirement invalidated this vision almost right away, and made the design so unworkable that TWA moved their hub to St. Louis only 10 years after opening their brand new "airport of the future" in Kansas City.

[1] https://en.wikipedia.org/wiki/The_Skies_Belong_to_Us
[2] https://en.wikipedia.org/wiki/Kansas_City_International_Airp...
Just check the properties at runtime. CLOS provides the mechanisms for that.
This is the inspiration behind the book I am working on - Web Development with Go (see https://www.usegolang.com).

Michael's book is fantastic and I really wanted something similar for people getting into go. My book doesn't cover git or testing but that is because rails is a framework with tons done for you, and in my book you basically build all of that from scratch. You learn a ton, but it is long and adding git or testing would have made the book like 600 pages (instead of ~400ish).

If you are interested in Go I'd love to get your feedback :)
Deep Learning is a very open source friendly community - most of the popular frameworks/algorithms are in fact open source. In fact, Floydhub is built on top of a lot of open source projects. We definitely considered open sourcing the core components of Floyd but the Rethinkdb fiasco made us "rethink" that. Instead, we are supporting the open source community by hosting Deep Learning Docker images, popular datasets, and projects. In the future, we are planning to open source more parts of Floyd but not all (similar to Github).
No, but channel that ambition into something people will pay you 10 to 100 bucks a month for.
Amygdala Neurosciences Acquires GS-6637 from Gilead Sciences
> Just check the properties at runtime.

I'm not gonna be there to fix anything that went wrong at that point.

---

I really like this analogy: assertions that are meant to always succeed are like crutches. Just like able-bodied people don't need to use crutches to walk, correctly designed programs don't need to test their own invariants to run.

Just in case: I don't mean any disrespect to people who do need crutches to walk. Nobody chooses to be disabled, but some programmers choose not to prove that their invariants hold.
Okay, that's really cool and does probably the best job I've seen of an overview of &mut and &.

I feel like you could almost build a rust cheat-sheet poster out of this and few other useful syntax visualizations(traits, generic + lifetime syntax, etc).
If you can recover your data at the border, and you're not a citizen, you should be prepared to do so. There's no clever trick that scales to ordinary people that protects data from CBP. That's the think people need to be clear on: it's inconvenient, but they need to not only not be carrying sensitive encrypted data at the border, but also not carrying any indication that they have it, or have any such indication attached to their name.

An LPR is a green-card holder, a lawful permanent resident.
Thanks for sharing, very nice work.

Was drawn to the "An I/O Project" section. Everyone learns differently, and I like to learn by example, that's why I often scroll to the bottom of the man page to see example before reading the description of a new command.

So I'd like to see more stuff like that. Anyone know of a good Rust "Cookbook"? I found a few but there were just started with only a few examples.

Also in my case, I can breeze through the start section pretty quickly, I understand the ownership basics, traits and generics separately. But seeing structs, traits, lifetimes and generic together it feels like hitting a wall. I'd welcome a resource that sort of uses lots of examples with combinations of those things.
Introduction: Quantum World (September 2006)
This drug looks promising, anyone know if this will make it to the market?
If you're a non-citizen and you choose to go back home, you're probably also choosing not to be admitted back into the US for a long stretch of time, at least without a struggle.
I wonder how it'd work if people with high karma (or HN score whatever it's called) had more than one upvote.

So people that the community trust would have a larger say in what the community saw on the front page. Say for every 1K karma they get an extra 0.1 to their vote... I think mine would be about +1.3

I think the same could work in democracy but on a more fine scale. At the moment my local MP has more of a say in government than I do. Rightly so. But we could make those levels more interesting, if we said that if twenty people endorse you, your vote becomes twice as powerful. I bet someone has thought this through better than me.
It's more subtle than that. For most things, we guarantee no breakage at all, and we do runs like that (though not against github, but against crates.io) to verify we haven't accidentally broken something.

For stuff that we are allowed to change, but might cause breakage, we will try to find stuff and send PRs.

But the default and our intention is zero breakage as much as possible, not just "we'll fix it for you". We'd guarantee absolutely none but it's not actually possible in a statically typed language, so we have to go with "effectively none."
It's not wise to assume everyone shares your perspective.

I don't care about Y Combinator or Silicon Valley. Couldn't even tell you with confidence what companies come from the former or exist in the latter. I come here for HN.
Part of it may be due to a deep problem with OFFSET in that although it can be convenient, there is no reliably efficient way to implement it. In fact, the only way it can possibly be efficient is if your data is fully ordered, and that ordering is indexed. As a result, I find it's better to just stick to the following pattern:

select * from data where data.indexed_column > last_seen order by data.indexed_column desc limit 100
If you read the last 1/4 of the paper, you'll see that Figure 6 is an integral part of the discussion; furthermore, nothing in the discussion is proven rigorously --- they all appeal to the picture.

That is exactly what a proof by picture is.
CIA espionage orders for the 2012 French presidential election
>Zuck should go back to building his internet satellites, that's a lot better use of his billions than some kind of fairy land curated "safe space" for SJW's to hang out in.

Not a fan of Facebook in the least, but I find this to be a rather ironic postscript to a (rightly) critical post about Zuck's privilege.
I remember seeing that and thinking it was actually a solid idea
So I should probably bring guns and explosives to the airport to lend some weight to my rights in case somebody has a differing opinion. That could turn out quite interesting...

And now I am left wondering if comments like this make it harder to get through the airport. How humorless and paranoid is the system?
Try Google:

https://encrypted.google.com/search?hl=en&q=uk%20forced%20to...
Without knowing much about ML, it seems that using two (or more) very different methods could be a reasonable defense; if the methods are sufficiently different then it will get exponentially harder to find a gradient that fools all the methods; what to do when the outputs strongly disagree is a good question, but switching to a failsafe mode seems better than what we have now.
Although I have some years of practice in programming, I always prefer to learn new languages using some kind of practical tutorial that introduces the topics as we go along. I've just finished the guessing_game tutorial and really understood the general idea of cargo, externs, associated functions, etc.

Congratulations, and I hope that the rest of the book is as practical on introducing the following concepts as the tutorial was for me..
And what do you do with this video anomaly information?
You could try to build your own.

Get some 1x2 or similar wood, in the lengths you need for the wall. Use a square to keep things...well...square. Measure twice, cut once, and assemble. Use a pneumatic stapler (and corner pieces) to keep it all together, or use angle brackets/braces and screws (if using screws, pre-drill holes). Once you have the frame done, string some steel wire between each edge (stringer), and top to bottom (perhaps weaving it) creating a open mesh with say 3x3 inch holes. Alternatively, get some hardware cloth of the same size (chicken wire would work well) and tack that in place. Then cover the center with some polyureathane foam, then cover with cloth. Add some right-angle "feet" to keep it standing.

Too much work? You could make something heavier using 3/8 plywood - face on both side with cork spray-glued on.

If that still sounds like too much work - and you have some money to throw around - look online (craigslist is a good place) to find a local used office furniture/supply company. Many of these places sell (some even install!) used cubicles and partitions. They might have something in your budget (sometimes, they sell these components dirt cheap compared to new - you wouldn't believe what a cubicle costs).
Facebook's business today is completely different from what it was 10 years ago. Mobile ads now account for 80% of its total ad revenue (on total revenue of $27.64 billion). A lot of people questioned if Facebook could make any money from mobile when it went public.
Same situation for me. I wonder if I'd get treated like a liar and a criminal for not using a commercial product.
Why do you have a hard time with it? Front-end code is definitely software; you're definitely developing it, ergo...

If you call yourself a software developer and list javascript and a couple of front-end-y frameworks/packages, no one will blink and accuse you of lying or not being a "real" developer. You are. Don't fall prey to imposter syndrome.
Disclaimer: I haven't looked at it in many years, but I seem to recall Fowler's Enterprise Patterns[1], while covering a higher layer of abstraction, grounded in real world problems.

[1] https://www.martinfowler.com/articles/enterprisePatterns.htm...
Was already there but disabled due to https://github.com/golang/go/issues/18190#issuecomment-26525...
This sort of heated rant makes for a bad HN comment, regardless of how correct your views are. It leads to flamewars, which we don't want here, so please don't post like this.

Even if you took out the rantiness, the comment is still too generic to actually be saying anything. So to convert it to a good HN comment, you would need to both de-flamebait it and add information (e.g. specific examples).
My view is they 're useless. i don't get your point, sorry.
If it truly got separated from the merchandise and it was not packed with a shipping more inside them most of the people you contacted are not capable of researching it. Try filing online and call your local congressional office.

The workers in front of screens can't help in all likelihood. It has to be found by walking around.

Good luck
Excellent article.

You know, we have no idea what the future is going to be like. That means that people are going to have to adapt intelligently. I think the way to do that is teach school students to be competent, self-motivated learners. Does anyone really disagree?

By the way, I think a lot of the opposition to this approach comes from the political parties. The democrats support the education bureaucracies and unions that want to keep things the way they are, and the republicans support right-wing religions that see human nature as basically sinful and so in need of rigid regulation. As for corporations, some want smart workers, others like the fast-food industry want humans who are obedient robots. We have a long fight ahead of us.
> But if his/her agenda is Democracy... So OP is saying "hey, some people oppose this.

Where does Zuckerberg oppose democracy in this post? Show me the specific line where he makes a concrete and definitive statement that he opposes democracy.

If Zuckerberg were arguing against democracy, or if the parent gave a concrete argument that this is an effect of his advocacy, then I would have all the sympathy in the world for the argument you're making. But parent doesn't make that argument, and I'm pretty damn sure Zuckerberg didn't explicitly condone anti-democratic viewpoints in this post.

> Democracy is about allowing differing views, so forcing this is not democratic"

Democracies are a form of government.

The whole point of government is applying force.

The point of democracy is that we come to a consensus about when and how to apply that force via voting.

But the application of force itself is extremely democratic. Without it, government -- and by extension, democracy -- does not exist.

Now, if Zuckerberg were arguing that we should apply that force to prevent you from expressing your opinion or obtaining democratic consensus about something, that's one thing. But again, I don't think he's saying any of that...

> Just thought I'd point this out this little oxymoron to you since it seems like you tripped a bit in your logic and confused arguments

I interpreted Zuckerberg's words on face value. You seem to be reading a hell of a lot between the lines. And maybe that's fair. But you have to actually make that argument. Otherwise you're preaching to the choir and anyone who doesn't already agree with you is left confused and incredulous.

Because, at face value, Zuckerberg is NOT arguing against either democracy OR against free speech rights. If you want to argue that he is sympathetic to authoritarianism or opposed to free speech, then make that argument. But don't condescend as if these things are obvious when the actual text were discussing emphatically doesn't argue against either democracy or free speech.

If you can point to the specific line in this post where he explicitly advocates either of those things, I'll extend my sincerest apologies. Otherwise, you're drawing extremely wild inferences out of thin air, and taking a condescending tone when people call into question your rather conspiratorial priors.

> Happens to everyone

Indeed...
Actually no time :)
>without any natural law like entropy

whenever there is gradient between [energy] potentials the things would move along it to neutralize the difference - that is the entropy law at work, nothing happens without it. Folding back, reconstitution, renewal - it is all requires expending energy, ie. entropy increase.

> if entropy represents a fundamental part of natural law applicable to social networks, our technology will try to negate and dominate it.

our technology is just a tool of ours. Being live organisms we follow the main principle (stemming from the 2nd law) what the life is built upon - negating and dominating entropy in some small volume of spacetime by using energy obtained by increasing entropy in some other volume of spacetime by even larger amount than the energy extracted and the entropy dominated/negated. Technology just allows to amplify that process.
Anyone want to make a mobile app that emits 'noisy' light so when you use your phone in public CCTV facial recognition fails?*

I'd be interested to know if this is a viable concealment strategy. It might only be effective at night or low light situations, so sunlight doesn't wash out the noise. It would be pretty subtle to use as well, how many people do you see walking around with their noses stuck to a screen?

* For research purposes only, of course.
Dieting is hard because of the abundance of food.
Web Development with Go (see https://www.usegolang.com) is based on starting with pretty minimal Go and web development experience and walking you through the process of building a complete web application.

I find this approach works well because you don't have to ask "why did he make that design decision" but instead I intentionally make common mistakes a beginner would make, wait until they become an issue, and then I demonstrate how we can fix that issue. As a result you really get to understand not only how to create a web app in Go but also why developers tend to follow different design patterns.

I said this in another comment, but it is based on Michael Hartl's Rails Tutorial. I think showing someone how to go from nothing to a full app is a great way to help them get into web development without the frustration that comes from piecing together blog posts/docs/trial&error.

If you are interested in Go I'd love to get your feedback :) and if it isn't obvious, I am the author of the book.
"We are building a community that's inclusive to everyone in the world, as long as they agree with us."
For many people in the US, I think the reason is that they see globalization as a threat to their livelihood.
Any publically shared video will prompt me to log in and not let me view it

https://www.facebook.com/KSEE24/videos/10154851102274927/

as an example
Perhaps to a large fraction of relevant stakeholders, the name is a signal of project immaturity and perhaps poor judgement.

Additionally, even if you aren't personally bothered it, most would be aware that others feel this way, which certainly creates an uphill battle for the tool and diminishes the prospect of a vibrant ecosystem building up around it.

This is a red flag for anyone who might be considering including CockroachDB as an important part of their stack on any long-running project

Do you discard such factors?
I find it even worse that he/FB feels that he/FB is the only one who can do it. "Just trust us. We have everyone else's best interest at heart." Especially when they have bought or tried to buy almost all of the competition as soon as they get to any size. The hard part is most people would sell their soul as long as it came with something for free.
Pretty sure reading users' minds would violate our privacy policy.
You don't run out of time, you run time.