skysight-inc/HackerNews huggingface dataset:
So when will servo become a webapp so we can run it inside firefox?

To clarify, this is sarcasm. What I really want to say is when can we run firefox inside firefox? But it's not entirely written in Rust. The point of that question is to illuminate some of the absurdity of web apps. i.e. what function does the outer browser serve in this scenario and why do we need it?

Edit: All the answers point to the outer browser as providing a sandbox. I contend that is supposed to be an OS function. I also think that tabs in the browser came about because OSes didn't provide a decent way to handle multiple instances of applications. See what's happening here?
Gravitational Teleport[0] is exactly what you've just imagined.

I set up the free version a few month ago. if that suffices, its really neat.

if it doesn't... the paid version probably still won't be an option, because it's silly expensive.

[0] https://github.com/gravitational/teleport
Wow, good catch. There are plenty of malicious attackers in the cryptocurrency space, so you should definitely take reviews from not-yet-established contributors with a huge grain of salt. A review of this magnitude should have required review from several well-known contributors.

We use a better pattern at work. On our project, we require approval from members within the team for a commit to go in. If there's one person with the best experience in any given area, or even just a strong opinion, then their approval is required as well. It's a big anti-pattern that I catch myself thinking about occasionally. It's temping to send out a commit for review by more junior/inexperienced code members, bypassing the more experienced reviewer who you know will have lots of input you might not necessarily want. That's what Jeff Garzik did here; by the end of it he didn't actually want a review, just a rubber stamp, and so any stamp would do. Thus the entire point of doing reviews was bypassed. It's particularly egregious that he never even bothered to write tests as requested by another reviewer.
The problem is that, while in many ways an improvement over traditional coding practice, the subset of C++ associated with the Core Guidelines (GSL stands for "(Core) Guidelines Support Library") has turned out to be a dead-end when it comes to memory safety. In fact it formalizes the depenedency on intrinsically unsafe elements like native pointers, std::shared_ptr, etc. I mean, with "regular" C++ you're not actually obligated to use those intrinsically unsafe elements. With the Core Guidelines you are.

SaferCPlusPlus[1] is an alternative subset of C++ that doesn't have that same problem. It achieves memory safety by simply excluding the intrinsically unsafe elements and providing memory-safe alternatives.

> All compile time checks.

Not quite in reality. One small issue with the GSL, for example, is that its not_null pointer class does a run-time check on every pointer dereference[2]. SaferCPlusPlus can enforce "not null"ness at compile-time.

A bigger example, for instance, is the situation where you want to allow multiple threads to simultaneously modify different parts of an array. With SaferCPlusPlus, this is straightforward and safe [3]. With the GSL/Core Guidelines, less so.

I don't know how much these technical considerations factor into (or will factor into) popularity of adoption. I don't know how big the intersection is of the sets of developers who take code safety seriously and those who remain interested in C++.

[1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus

[2] https://github.com/Microsoft/GSL/blob/1c95f9436eae69c9b93159...

[3] https://github.com/duneroadrunner/SaferCPlusPlus/blob/278b40...
> Isn’t the issue that most programmers know what to avoid, and yet they make mistakes when writing code anyway.

There's some dose of truth to this, but the statement requires further elaboration to illustrate the complete picture. Programmers understand informally and intuitively what to avoid, yet we make serious mistakes when writing code anyway, because we are all stuck at the prerigorous[0] stage of understanding programming languages. Unfortunately, so long as our languages don't have a formal semantics, there is no way to reach the rigorous stage, let alone the postrigorous stage. (There is no path connecting the prerigorous and postrigorous stages that doesn't pass through the rigorous stage.)

[0] https://terrytao.wordpress.com/career-advice/there%E2%80%99s... .

> Seems to me like safe languages is the real solution to this

Safe languages are one solution, perhaps the most useful one in the vast majority of cases. However, legitimate use cases for unsafe languages do exist, and we need workable solutions for those cases. That being said, I don't think an informal English document could be such a solution.
I'm never voting for any of these POS public servants. Just unforgivable.
The cost of figuring out exactly what to contract somebody to build, though — especially for a non-technical bureaucratic agency — is likely to be fairly astronomical.

(I doubt they are sitting around the conference table saying "Fuck! If only the Linux office suite had these seventeen keyboard shortcuts and the equation editor had these thirty-nine additional features, there would be no need to switch!")

Windows probably really does work better out of the box for their use cases and user base, but I doubt they could tell you why exactly.
They've only added to the comfort by acquiring Whatsapp.
I find instagram to be, by far, the most damaging to my mental health of all the social networks. The explore feed must be optimized to relentlessly show "all the people I wish I could be but will never be."
Sounds like you dodged one. Probably the best thing you could do for her at this point is to stop funding her lifestyle. It's hard, but that's the reality check she needs. She'll figure out quickly that she can't exchange her IG likes for fiat currency, and will therefore face the tough and necessary--but inevitable--lesson.
What do you mean by 'first class support' of WASM in C/C++?
Is it somehow possible to produce wasm binaries without utilizing emscripten?
The #Cobalt group is exploiting the CVE-2017-11882 flaw in targeted attacks
>Facebook can no longer deny its moral responsibility to try to understand how cyberspace, law, and politics collide in each of the countries where it operates, nor its responsibility to do something about it.

That sentence doesn't make sense. Do something about what? How those things collide? It's very unclear what the author thinks Facebook is supposed to do, or what he thinks Facebook is actually responsible for. Is this a call to regulate posts so there's no fake news, or more, to prevent all speech that can incite bad actions? In perilous regions of the world, sometimes people are arrested for their posts, and can be seen to be connected with others on Facebook, so that they also fall under suspicion. Is Facebook supposed to keep those users safe somehow? I mean, what's the author's gripe?

A better article would have mentioned that free speech, a "good thing," albeit sometimes dangerous, is powerfully fostered by Facebook. Give it some credit. It would also have been fairer if it had mentioned how difficult it is to detect and thwart bad actors who find ways to abuse any platform. (Removing trolls from small forums is hard enough.) Instead, it insinuates that Facebook is willfully indifferent. At least it isn't accused of colluding with the bad actors, as sometimes happens when US companies do business overseas.
I am still unconvinced Facebook played any role in the outcome of the 2016 election. It played a role in the the form of the discussion but the actual outcome it didn't.

Most people vote based on some very personal and everyday issues. Things they experience in their lives not discussions on facebook no matter how many times they like it.
So begins the slow descent into Luddism.

Seriously now: I think there needs to be a grassroots push for a vety selective approach to technology adoption as described by Kevin Kelly in his book What Technology Wants. If people generally treated new apps and devices with a skeptical 'what does this do for me?' attitude, there might be more herd immunity against abuses of power by large tech firms (Google's stealing location data from users, Intel's engineering backdoors into their products, and Facebook's cynical propaganda profiteering) and resulting social disruption. In Canada, engineers in training are asked to swear an oath that they will serve the public good and only work for honest enterprises. I think that if those values were more widely taught and accepted, toleration of abuses within large tech companies would evaporate. It's a cultural change that needs to happen, and the way to effect cultural change is to practice what you believe, "be the change" as Ghandi said, and to share your ideas with others in your workplace and community.
I'm so so so excited to see this land! I have a little hello world demo: https://gist.github.com/steveklabnik/d86491646b9e3e420f8806a...

To give you an idea of file sizes, the above produces a 116 byte wasm file. If you leave off the no-std stuff it produces a 3059 byte wasm file.

EDIT: I'm actually being told that there was a bug in wasm-gc that's since been fixed, even with libstd it should be able to eliminate all of it and get the tiny file now.
Who set the rules for the socalled free markets? Government(s).
I can see a few problems with this. The concept of "you are their product" is not an easy one to understand if people don't have any relevant background or experience in thinking critically about the problem. It requires thinking through several non-obvious layers: for example, it's easy for people to get stuck at "yes, I don't pay for Facebook, that's why it has advertising" without making the leap to "most businesses cannot just support themselves on advertising, they actually sell something to you too - so how does Facebook do it? By making their advertising more effective. How do they make their advertising more effective? By building up a detailed profile of everything about you without your knowledge or consent"... and even then people will get stuck at why their knowing so much about you is bad.

Secondly, exploitation sounds very scary and bad, but it makes people think of slaves and working in coal pits and blood diamonds, not looking at pictures of babies from the comfort of their sofa.

Do I have a solution? No, of course not. Many people just don't want to hear it, they want to carry on blithely communicating with their friends in real-time for free and looking at pictures of babies.
It still serves as a sandboxed interpreter/GUI framework and as a frontend for finding and loading apps, regardless of how complex the apps are.
The reality is that Munich is a "Microsoft City" with a large Microsoft Office there. I don't have any proof, but I doubt this is a coincidence.
Menu -> Customize has a few customization options at the bottom, the one you want is called "drag space".
How to See Pinterest Repins Now (After the Recent Changes)
Given politicians way of life, I doubt it very much.

It would go to some supa-duppa FOSS consulting company, or to yet another Berlin airport.
Coke and Meth also make you move more ... not sure I'd call those health supplements.
The $50 million is just for the switch. They'll probably pay a few million every year for the licenses. Yeah, I don't think they can justify it from a cost point of view. This move was political and Microsoft convinced them to do it by building an HQ there.
Can't protect your own borders? What do you mean? You should be letting in more refugees. What do you mean you give control to the EU and other nations? Stop being so isolationist and xenophobic!

I jest - but it's fun to see this written from a German perspective, especially when the EU is so critical of the United States and the United Kingdom over these exact things.
If you take a train or a bus, or are in any other public space, you may notice that a bunch of people (young and old) spend their time staring into their phones. And most of the time, if you glance at their phone, you'll see they're on Instagram. They're staring into this machine fantasizing about some image of how great life is, meanwhile their real life is passing them by. And they wonder why they're not getting all the likes.

As the current president would say, SAD.
I agree that the best use-case here isn't full apps in Rust, but writing high-performance modules.

The webpack team is working on stuff so you can just drop a rust file into your proejct, and it will do everything needed for super easy integration.

https://crates.io/crates/stdweb sort of gives you the bindings you want, by the way.
I like being around the guys here on HN. I don't mind that they are smarter than I. You always learn something new and are surrounded by the latest in Tech. I'd say just surrounding yourself with the people here will in turn make you smarter/knowledgeable.
Not at all. Miners choose to mine the cryptocurrency that is most popular; they don't choose which cryptocurrency will be the most popular. They are at the end of the chain of causation. Hashpower follows price.

If 95% of miners wanted something, but nobody else did, then every single block they mined would be ignored as invalid by the rest of the users in the ecosystem. They'd be foregoing huge profits by the minute, and inevitably would start defecting in ever-increasing numbers.

The only way a hard-fork ever has a prayer of taking over the main chain is if it gets implemented in the most popular software programs used on the network (e.g. Bitcoin Core). This is what killed Segwit2X, despite seemingly having massive miner support. Note that the miners immediately capitulated; such easy capitulation does not lend much weight to the importance of the 90% figure. They're full of hot air.
What if Munich alone invested $50 million into making LibreOffice better? Wouldn't that be a much better ROI for their investment?

Besides, if they using Excel for finance stuff, they're doing it wrong anyway:

https://www.wsj.com/articles/stop-using-excel-finance-chiefs...
Making a Side Project
First-principles predictions of properties of baryons are only in their infancy. Even the best lattice QCD calculations of mesonic properties at the physical pion mass are good to 1 part in 10^(4ish), nothing approaching the accuracy needed to detect new physics in the baryon sector.

Calculations with baryons suffer from a severe signal-to-noise problem, and the latest calculation of a substantially-easier-to-compute quantity, the nucleon isovector axial coupling, is only at ~1% precision: https://arxiv.org/abs/1710.06523 (full disclosure: one author of said calculation).

I don't know of a calculation of the proton magnetic moment with physical parameters.
The Hard Truth About Hiring in a Startup
> Unless someone forces them to inter-operate, it's winner takes all.

So you mandate inter-operation at the same time you break up the biggest, just like we've done with every other natural monopoly.
Republicans are the current majority and politicians vote along party lines. So it seems like it would be easier to sway the majority party and a few of the opposition than targeting each senator individually.
https://therecipe.github.io/qt/
https://therecipe.github.io/qt/ I've seen this being used in a few projects.
I think man pages should be bound to the code. For example chapter 2 should be part of kernel. When a new system call is added, the associated man page should be in the same commit. If a maintainer see a commit that would have an impact of man page without an update of man page, he can easily refuse the commit.

For me the first aims of man pages are to be complete and to be in sync with installed software. The orignal virtue of being terse was to be complete without requiring a lengthy description. If a man page is not complete, it has no excuse for being terse.
If his system would work without it, what does it matter whether he has $1 or $1M of supplemental income? I really don't understand this objection.

It's like if Rich Hickey gave simple programming tips, and you said, "He's a genius, of course this works for him." Yes, and? If the advice works, what does it matter how the giver is positioned relative to you?
Am I the only one for whom coffee has no effect whatsoever? It just makes me shaky, then tired.
Isolation. WASM is a target that allows users to effortlessly download and run arbitrary code from the web on all platforms with a modern web browser; an environment that is sandboxed such that arbitrary file system access or other system access is relatively safe and limited even without knowing the intentions of the author.

This is why javascript is so popular with its current monopoly on the web. No other language can do that, but with WASM other languages, such as Rust, can be part of the picture.
Tesla's Uber-Fast Roadster Is Proof That Elon Musk Is Desperate News
Quit my job to write novels and live off of that income.
Can anyone describe the (overhead) cost of calling into WASM code in the implementations so far? A lot of optimize-able areas are things like RxJS or Promise implementations (eg Bluebird), or generally libraries making the stack trace like [userspace code] -> [library code, approx 20 stack frames] -> [more userspace]. Should we think of the WASM-JS bridge cost like system calls, or like inline assembly?
Yes, llvm has built in wasm support for a while now.
Hey man, I hope shit gets better for you. That sounds awful and I don't think it's that uncommon today.
Yep. In California or New York, it's typically a year of alimony for each 2 years of marriage. At 10 years, it's lifetime. So he definitely dodged a bullet.

But for a few years, he's probably on the hook for half his income since she was stay-at-home with no career.
A person who is close to me has went through something similar.

I would admonish that you get a lawyer ASAP and talk out your options. This needs to be handled legally before someone does something they regret.
Reputation and kill switches. Ultimately: editorial voice.

If I've got tools to block sources of clickbait, and those feed into reputation systems, that's a start. On Google's properties, I can block G+ posters, but I cannot block a YouTube channel. Not even if I'm logged in -- that channel will still show up in searches and recommendations. I'm actually better of not logging in so that recommendations are keyed far more to current search and view history, and there is no long lag of "you watched this once three years ago so we'll cram it down your throat".

For Web, I've taken to fairly ruthlessly blocking clickbait domains at the firewall. They pretty much completely disappear.

(And, if I've got second thoughts or want to poke through: archive or simplified-view sites will generally show me the content. And it's almost never worth looking at.)

I'm not saying that my individual tools will scale out, but if they're tied in to larger systems, and feed back to what's promoted, there's the possiblity of this.

Ultimately, though, massive media channels have to take an active voice in what they do or don't permit, most especially where there are real and serious harms possible. That's the editorial voice option. It's not a popular opinion on much of the Web, and it's not one I would have advocated even just a few years ago, but I'm coming to feel it's increasingly proving necessary, and that the historical record, over the past 500 years of mass communications, starting with the printing press, bears this out repeatedly.

Free speech is not a responsiblity-free zone.
SATAN'S LOT 6 us funded isis
It does not break concentration of power, only shifts that power from one group of people (politicians) to another (cybercryminals hacking the system). As Stalin famously said: "It's not the people who vote that count, it's the people who count the votes."
It serves the same purpose as the outer kernel on a VM host: isolation between fully-featured inner environments using a solid, featureful platform. There are tinier platforms you can use for isolation, and yes, they're more secure, but they don't get you the wide real-world deployability that full-featured kernels or browsers get you.

I would genuinely like to be able to run Servo inside my un-jailbroken Chromebook. I already run an SSH client in the browser (using Google's Native Client instead of wasm, but same difference), and I don't see why Servo needs access to my SSH private keys. To me, the fact that the only way I can run Servo is to give it access to my entire user profile is the absurd thing.
Oh, I agree. I learn a lot here. It's the best corner of the web.
I usually drink just tap water, and what I've noticed is that over time I will get sick and feel really dehydrated. I then buy myself a 1.5 liter mineral water from the store and feel much better. I wonder if the "tap water" that we drink is actually the "natural state of water", or if people aren't used to consuming water with a higher mineral content in nature.
Yeah. At universities the parents are the customers so of course they're going to be the ones complaining. There's no risk of this happening at work because nobody is paying to be there.

If your parent calls your boss they can threaten to fire you and there's nothing mom or dad can do about it.
If the aliens could detect and understand our communications, they would see the violent, duplicitous and prejudiced nature of our world and avoid us like the plague.

I doubt they would want us to spread ourselves into their galaxy and bring our problems to them.
Legatum: who are the Brexiteers' favourite think tank and who is behind them?
It was posted to HN at least 1 year ago.
"Terrible, clumsy, complicated and ugly" are exactly the kind of adjectives that spring to my mind when thinking of git, emacs and (to a lesser degree) TeX.
I agree. Financial advice for someone in their twenties should probably start with getting them to think about the above questions in some detail. Once you have answers to the above, your financial choices become significantly more obvious.
I don’t follow what you’re correcting or why you’re using my comment to launch off on that correction to everyone, because I was agreeing with Jeff on the broader motion to iOS based on my anecdotal experience with Washington staffers in general, not limited to a Congressional campaign. That being said, the senior ranks of any successful national campaign are always Washington types (one notable, recent outlier notwithstanding), and they benefit dramatically from this training, so it’s not even an unfair observation in the context you’re asserting.

(Unless you’re saying a gaggle of Chamber of Commerce suits from Topeka can navigate party politics, secure funding, get attention, get nominated, then somehow win without DC experience and connections in leadership.)

Edit: 'idlewords — I tried to reply to you before you deleted; Congress or a Congressional campaign means a national race, and toned my replies here. You and Thomas are talking about state legislature races, apparently, which was not obvious until your deleted comment. We don’t identify state-level legislative bodies as Congress, which is a term that means the entire national legislative body, not just the House. It’d be half appropriate to say congressional without a capital C, but still weird. Gotta enunciate state.

I genuinely thought you were training early campaigns for next national, the way you worded it. You should, honestly. They don’t get awesome advice.
The proposition seems a bit as if you are asking the partner to perform ordinary grunt work in their spare time. Few people have user acquisition as a hobby. Programming is your hobby. 12 Projects in 12 Months means user acquisition is running in circles.

Working on user acquisition yourself will increase your skill and focus your work. For most people it is harder than programming.

Good luck.
re-enter the gene pool and then exit.
> I bounce between forgiving and forgetting

You need to talk to a psychologist.
Fleetspeak is a framework for communicating with a fleet of machines by Google