skysight-inc/HackerNews huggingface dataset:
Hey HN!

WebRTC is a powerful, but complicated technology. You can build amazing things, but it comes with a steep learning curve though. If you aren't sure what WebRTC is, here are some of the cool things you could build

* Send a video file to multiple browsers in real time, perfectly synchronized movie watching.

* Send a webcam on a small device to your browser, with no additional server required

* Securely send video between two servers

* Record your webcam and do special effects server side

* Build a conferencing application that processes audio/video and make decisions off of it

Using WebRTC in the browser is easy, but outside the browser is more of a challenge. There are multiple libraries, and they all have varying levels of quality. Most are also difficult to build, and depend on libraries that aren't available in repos or portable. pion-WebRTC aims to solve all that! Built in native Go you should be able to send and receive media and text from anywhere with minimal headache. These are the design principals that drive pion-WebRTC and hopefully convince you it is worth a try.

## Portable
pion-WebRTC is written in Go and extremely portable. Anywhere Golang runs, pion-WebRTC should work as well! Instead of dealing with complicated cross-compiling of multiple libraries, you now can run anywhere with one `go build`

## Simple API
If you know how to use WebRTC in your browser, you know how to use pion-WebRTC.
We try our best just to duplicate the Javascript API, so your code can look the same everywhere.

If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/pions/webrtc/tree/master/examples) and [GoDoc](https://godoc.org/github.com/pions/webrtc)

## Bring your own media
pion-WebRTC doesn't make any assumptions about where your audio, video or text come from. You can use FFmpeg, GStreamer, MLT or just serve a video file. This library only serves to transport, not create media.

## Safe
Golang provides a great foundation to build safe network services.
Especially when running a networked service that is highly concurrent bugs can be devastating.

## Readable
If code comes from an RFC we try to make sure everything is commented with a link to the spec.
This makes learning and debugging easier, this WebRTC library was written to also serve as a guide for others.

## Tested
Every commit is tested via travis-ci Go provides fantastic facilities for testing, and more will be added as time goes on.

## Shared libraries
Every pion product is built using shared libraries, allowing others to review and reuse our libraries.
This changed with 8th-gen Intel. The low-powers are now dual-HT/quad/quad-HT i3/i5/i7 [1]/[2]/[3]

1: https://ark.intel.com/products/137977/Intel-Core-i3-8130U-Pr...
2: https://ark.intel.com/products/124969/Intel-Core-i5-8350U-Pr...
3: https://ark.intel.com/products/122589/Intel-Core-i7-8550U-Pr...
Not perfect, but ruby 2.3 introduces the safe navigation operator (&.), so you can do foo&.each or foo&.bar
A comment by Gibbon1 linked to this page, and it was so good I shared it here - fascinating, good science and well written :-)

https://news.ycombinator.com/reply?id=17353039&goto=threads%...
Did they end up giving you your money back?
So, this actually exists as an extremely WIP patch: https://bugs.debian.org/863622

Underling that you should not apply this patch and/or it is simply a demonstration of one potential user-interface.
What It Feels Like to Have Brain Surgery When You're Awake (2015)
Are mushrooms illegal? I had no idea.
Your friend has no clue what they are doing.

SEO, SEM, and reputation marketing has to start, well yesterday.

If he isn't putting up blog posts and developing your venture as one populated by experts it isn't going to get very far.
I think "a bit optimistic" doesn't go far enough. Even some excellent transpilers need manual intervention, and most transpilers I've used have weird edge cases that you can only catch through thorough unit testing.

It sounds like the author has never transpiled a large code base into D before.
Ask HN: Why are submissions staying on the front page for longer?
I've noticed over the last few months that things submitted to HN that reach the front page have been staying there for a day or two. It seems (maybe it is just my perception) that a year ago a submission would only stay on the front page for a few hours and at max a day. Am I imagining things? If I'm not imagining it, what is causing things to stay on the front page? An influx of users, maybe?
Open offices aren't acceptable. I'm so spoiled at this point that having to go back to a shit keyboard would be the end...
There was no intentions to claim you where not working towards reproducible builds. I have come across several people that conflate what NixOS offers, and what reproducible builds are.

However, great that you have been working towards this! Arch Linux has been cooperating with Debian and currently build our packages on their infrastructure to produce graphs and test our packages. I assume NixOS can do the same thing if the manpower is present.

https://tests.reproducible-builds.org/archlinux/archlinux.ht...
Horrid! The extension mentioned in parent would be making this whole thing passable, it is really something worth considering.
> there's no way for Qt to leverage user fonts if it keeps on using that strategy.

One possible approach would be to create an invisible <canvas> (i.e. display:none or position:absolute;left:-15000), use fillText at the desired font size for the subset of characters that will be used, read the pixel data back in, and use the (now bitmapped) font to render text internally. Using bitmapped font data could require patching Qt's render pipeline at a low level -- I don't know enough to say.
This release follows Airbnb posts describing their deep experience in React Native and why they ended up abandoning it:
https://medium.com/airbnb-engineering/sunsetting-react-nativ...

Based on the issues they've had with React Native [1] I believe they would've had a better experience with Dart and Flutter which also has a fast iterative dev experience with a productive language that lets you build both iOS and Android Apps from a single code-base. But in contrast to RN, Dart 2 is statically typed and AOT compiled into native ARM which enables better performance and doesn't have any of the JS VM issues Airbnb kept running into. I also prefer Flutter's x-plat approach of drawing all their widgets with Skia as it also mitigates the UI widget inconsistencies they would've had if they tried to wrap native widgets. Flutter widgets follow Material design by default but can also be themed to look like native iOS widgets (https://flutter.io/widgets/cupertino/).

React Native nails the development experience but is plagued with issues which isn't clear if it's because it's architecturally flawed or that it's just poorly resourced and Facebook only cares about resolving their own issues.

I've been burnt by the lack of support in React Native indiscriminately closing issues, which stopped me from wasting my time reporting any more issues and eventually stopped using React Native altogether.

I've been pleasantly surprised by Flutter, it does what it says on the tin, enables a productive dev environment for creating Native Apps from a single code-base and in contrast to my RN experience their support has been stellar, several team members responded to my queries immediately with solutions and workarounds.

The biggest issue I've run into coming from JS/RN is not being able to use reflection due to iOS's AOT restrictions for which you'll need to use code-gen to workaround. Also I prefer JSX for designing UIs, whilst Dart's object declarations enable a kind of code DSL it's not as composable as using a declarative XML markup where you can freely move widgets around to design UIs. Ultimately I hope they provide a similar language feature for using an XML-like markup as an alternative for (and just transpiles to) object declarations.

[1] https://medium.com/airbnb-engineering/react-native-at-airbnb-the-technology-dafd0b43838#4b2b
You can't spoof the data, it's generated unique to each game then signed by Nintendo in a way that isn't reversible to anyone else.
How to Avoid a Life of Regret
Great link (I resubmitted just now for wider audience).
The captured context persists between calls to the function, as the sibling example demonstrates, or this one:

https://play.golang.org/p/drfx_3g84aE
I'm not them, but for me I would use Docker if I am tearing the stack up more than a dozen times a day, and Vagrant if I am doing it less.

I doubt I use either of them correctly. But I do love the way I use them.
I use netcat a lot with my friends, we don't even have to do the SSH dance.

On the receiving end:

nc -vll 0.0.0.0 12345 | pv | tar xv

On the sending end:

tar cv files... | pv | nc -N "destination IP" 12345

pv is a nice tool that just reports on the rate and number of bytes moving through the pipe, optional if you don't have it. Throw in gpg --symmetric + gpg --decrypt for good measure if you want to encrypt it on the wire with a password.
The company might have plenty dark sides, but what's described above is only "dark" in puritan sex-phobic cultures...
I have a hunch the majority of domain specific engineering products are at least initially implemented by engineers of the domain and not software engineers.
@ariwilson you work at google. since we're on the topic of truth and the actions of your corporate sponsor.

but again i get it, you got some stock and you gotta protect that bottom line.

"We might as well change Hacker News from an article based format to a [corporate sponsor] based format if everyone is just going to . . . [support their company in] every discussion."
> the rand think tank that spews serious amounts of fascist policy.

Like so many ideologies, the fan club is what most people dislike. If you are capable of taking Rands philosophies with a grain of salt, there are many brilliant concepts to glean.
Stop pushing D, it's never gonna become the next C or C++
Coinbase needs some serious competition. Their site is fine, until you ran into a problem. I didn't have one, but from what I can see, once people run into issues, they are just not resolved, hence frustration.
People’s egos get bigger after meditation and yoga, says a new study
Nindendo Switch Anti-Piracy Measures
Intelligence CTF at DEFCON 2018: Registration now open
I'm not in a scenario with any of my .NET code where this level of optimization is actually useful/valuable, but this was a pretty interesting read. It made me ponder a bit about how I handle strings in my code. I might try a couple of things for fun.
How did you get hired for your current position, did they ask you why you want to work for the company?
Yeah, I used to think like xj9 in collage. But I have no idea how it's possible to survive as completely non-social programmer, now that I've seen what work life actually consists of.
It's hard to kill yourself on GHB.

GHB combined with alcohol or another suppressant is very very dangerous though.
I couldn't find the vote there... Looks like it's just the Parliament votes? (this was a committee vote)
Does it? Indicators of happiness seem to be going down not up. Is there anything to suggest that gadgets help people feel happy?
The children will go bathing
How do you find work where this is not true? (assuming that you are working)
Ask HN: Is there a cryptocurrency-centric version of Hacker News?
WHO classifies 'gaming disorder' as mental health condition
Try this: https://outline.com/https://www.bloomberg.com/news/features/...
I have noticed something similar - I just put it down to a "slow news day". Frankly it means I am getting some work done :-)
Call me crazy, but for something as simple as taking a CSV file and shoving its data into a database, why wouldn't you just use a combination of shell tools? Don't get me wrong, I'm a Java programmer, but sometimes you don't need the overhead of the JVM, and something like awk would save you lots of time and energy (and memory).
More technical analysis: https://www.reddit.com/r/SwitchHacks/comments/8rxg26/psa_str...

(this is the post the Ars Technica post is referring to)
Are any companies paying their ‘fair share’ then?

Can you show me a single example of a company paying more than it’s legally mandated share?

If not - why pick on Apple?
"At OneTaste events, attendees often played communication games prompting them to share vulnerable stories. Former staffers say they took notes that might help them sell later—maybe a student was recently divorced and lonely—and senior staff assigned subordinates to home in on wealthy students who seemed attracted to them or had experiences in common."

Eww.
The United States Is Pushing Toward War with China
Probably r/CryptoCurrency could be considered one.
This is a very common occurrence on HN where some minor incident involving Amazon/Elon Musk/Google/feminism or GDPR becomes an opportunity for all manner of commentators to gather and exult together in your standard Two Minutes Hate [1]. All of the issues that get brought up during this Hate either (a) have no basis in reality or (b) wholly irrelevant. And so we get another thread full of people complaining and hating about things which literally don't exist. (What's particularly humorous are all the elaborate conspiracy theories in this thread. At least nobody mentioned the Jews... yet.)

> People might be upset because it's emotionally painful to watch a property that was once a middle finger to "the man" become wholly co-opted.

Of course this is just more of the same. Calling YouTube -- a service that spends tens of millions of dollars a year spreading information, entertainment, and news around the world for free -- "co-opted" is beyond stupid. But it's just this sort of black-and-white, "good vs evil" thinking which rules.

> That and the number of coincidental "mistakes" in this story requires serious suspension of disbelief. One wonders whether any of those mistakes would have been caught had the channel been lower profile.

And there's the conspiracy. Baseless speculation without evidence, scare quotes, and a total failure to admit error when proven wrong.

I'm not sure what, if anything, can be done. There's a certain logic at work here that poisons thread after thread. I say logic and not ideology because it's really a style of thinking. It's a kind of general extremism-cum-conspiracy that has been well and truly normalized. The people that will rush in to rage about the latest news from Tesla or Google don't even understand how insane they sound.

[1] https://en.wikipedia.org/wiki/Two_Minutes_Hate
DC-DC Converters
I've been using flutter now for a few months and I love the workflow I can get in, quickly iterating and seeing the changes immediately. A side effect of the hot reloading I found is that I am able to build quickly and not worry about the style until later because I know changing the style is relatively easy and quick to iterate on itself.

If you use VSCode, it really is a first class citizen, which makes me happy as I am most familiar with that editor.

Overall I haven't been this happy with development in a while.
This is well time as we have been evaluating moving from completely native for iOS and Android to Reactive Native for our app. I am really hoping that we don't because I think we probably would run into most of the challenges they hit.
I'm a huge privacy advocate, but honestly, I wouldn't care about this as much as using my genetic material against me (e.g. for job or insurance screening). A person is not their DNA.
It's not that she's evil, just that her "philosophy" is what you said: one person's view (i.e. opinion). She couldn't reconcile many critiques of Objectivism and didn't do much self-analysis on it. So despite how good many of her individual ideas sound, together they're thin and don't really make up a coherent theory that many people can take seriously. Unless you're a jerk using her name to justify being self-centered :) (just kidding)
LoopBack 4 Improves Inbound HTTP Processing
What are people supposed to say if a joke is boring and unfunny?
Thanks, that is what I was looking for. I used defer just as convenience and wasn't aware (anymore) that it does something different than just pushing the function call to the end. Maybe it's time to take the Golang tour again ;-)
Anti-Lock Breaking Systems
"objective-based" != "objectivity". The objective is to please the customer (for example): do what they want in a timely fashion and send them a bill. There's quite little need for feelings in that. Call them up and ask them how they're doing. Are you sincere? Maybe, maybe not. That is your own personal affair.
This also smacks of whattabouttery and is more an argument for not codifying antisemitism in your constitution than having a constitution at all ...
If the Anthony Hopkins film was accurate, The original cereal producer Kellogg ran a "health farm" with pretty similar procedures at the turn of the 20th C. I believe it was a common cure for female "hysteria".
The people preventing new construction are greedy. They are dictating what others can and can't do with their land in order to protect their own interests. They get million dollar home values and everyone else is stuck with $3000+/mo rents.
The Health Care Cost Conundrum (2009)
Oh, I know he’s a surgeon. He and I have very similar backgrounds, save that I spent a decade in hc QI and Health insurance mgmt before going to medical school, rather than picking it up subsequently.

I point that out so you fully understand that when I say a doctor:healthcare QI as a bees:entomologist, I say that from both sides of the fence. It gives you some more insight in your little slice, but that’s it. And it’s just your little slice: I am not a surgeon, so I know jack shit about their operational processes. I do know from a recent kerfuffle in my hospital that even the surgeons don’t know much about how the OR department books rooms and schedules procedures. They certainly don’t have insight into the parts of the hospital that -aren’t- a core part of their job. Being a physician is an important window into how hc systems and organizations work, but it’s a tiny one. It doesn’t qualify one for hc QI by itself.

As to his cv, by all means, check out where he’s first author, where he’s “contributing guy with a name” (second to last), how many of them are editorials or round tables, how many of them are endocrine surgery, etc. Actual first author, non editorial healthcare ops papers are thin on the ground.

This feels like nitpicking. The guy is intelligent and accomplished, beyond question. But what he -isn’t- is a hc innovator just because he -writes- about the hc system and innovations therein. I’ve never seen him write on a topic that wasn’t already hot shit in the field for two decades; I’ve never seen him present the pile of conflicting data for his preferred solutions (eg, the Checklist Manifesto chose to elide how many hospitals implemented checklists to no improvement, despite plenty of the results being published before his book.)
Framing closures as a “requirement” is pretty strange. Depending on the context they can be an ergonomic nice-to-have, but it’s not like you can’t express a program without them.
as a counterpoint, i work at instacart, where we have rails apps (we broke our application into "macroservices" several years ago) each around ~50-200k LOC which we have maintained for 5+ years while growing exponentially (customer base) and not exponentially (engineering headcount :)

i've talked to other companies that have done similar things.

where are you getting any of this from?
I never learned Rails. What would you say is the best path to write a modern rails application? I learn better trough videos, btw :D
This is getting tiring but the point is Atul can be the idea guy, the overall philosophy guy and they can hire other people who have product or scalable accomplishments to execute on the ideas. I think you're not giving Atul enough credit for what he brings to the being the idea guy and having first hand knowledge of what those ideas are about, being able to articulate those etc. He was also a WHO director who ran a successful project reducing surgical deaths around the world - https://en.wikipedia.org/wiki/Atul_Gawande
It's not an easy topic; highly conflictual, emotionally speaking.

The market works this way. Facebook is just paying the employees higher than some people in the area are earning. What's the matter?

I imagine that for those people this situation is annoying and frustrating, so they are just speaking out of these emotions. I can understand a newspaper publishing such a emotionally driven, nonsense Bolshevik article to get views (mission accomplished).

I hope that this article didn't reach the first page just because it contains the word "Facebook" and some complaining I guess.
"Let's all look down on the new public enemy"
If that's the case, we can do better!

PS: I don't work for Facebook and I don't particularly like the company
I found these two blogs http://mawazo.tk and http://cnn.com
I think it's a poor comparison. Equating ads to playtime? Sure you can tangentially involve DLC as an "ad" but it's a big stretch.

Regulating length of ads is silly too. You can just purchase the show and watch it with no ads. Or don't watch the channel. Or watch different content.

Seems the above comments are generalizing to justify controlling media consumption. Regardless of which side regulation comes down on. I see a very slippery slope.
This looks pretty interesting. I'd like to play around with it. Kudos to you.

Aside: Did you know the FUDI protocol(0) used in the pure data language is dead simple, if you wanted a faster bridge than OSC into/from that language.

(0) - https://en.wikipedia.org/wiki/FUDI
> If I had known the author was going to betray the users I wouldn't have bothered.

I'm a FLOSS developer. I understand FLOSS development, ethics, and licenses. And I don't understand why you're casually referring to a change to a proprietary license-- a change I agree is for the worse-- as a betrayal of users.

What purpose is this supposed to serve?
Yeah, i have read the reddit post now [1].

If i understood correctly, Nintendo only allows access to online features of the game specified in that particular certificate.

[1] - https://www.reddit.com/r/SwitchHacks/comments/8rxg26/psa_str...
Smarter, Not Harder: How to Succeed at Work
Build a Social Dating Web App in Minutes; PHP7 CMS
This is an utterly ridiculous statement. ICE buys their envelopes from Office Depot (example), they buy cell phones from ATT (example) - is Office Depot supposed to physically stop ICE agents from entering their stores and paying for office supplies? Is ATT supposed to refund ICE their money and immediately cancel all their phone service.

The rhetoric is really getting ahead of the reality here...
I would love to be able to use D in my day job. It's a fantastic language that is both powerful and fun to work with. It's great to see companies embracing it.
Fair enough, he's a popularizer and also a top-tier surgeon.

I agree with parent comment -- there is a difference between being the person/people who came up with brilliant ideas and being the person who brought them to the masses in a pithy, cogent and engaging manner.

One might even make the argument that the latter task is relatively more important than the former for people in high-visibility figurehead type positions such as CEO of a massively ambitious new healthcare venture.

The "Gladwell for healthcare" comparison is a good one, and I say that as someone who has enjoyed reading Gawande's books.