skysight-inc/HackerNews huggingface dataset:
Assuming you have a product/release branch and many others, then I'm guessing the author means you should merge product into your own branch and deploy that, before merging your branch back into product (and deploying it).

That should work fine with multiple branches in most cases, so long as you have a system to stop anyone else deploying their branch while yours is running.
Best blog
Two things being different doesn't make one of them irrelevant.

Consider if you made ... something to sell. Something great, that you know people want. But no one bought it. But they want it, they just waited you out until you gave up and threw it away, and then yoinked it from your trash.

It's a violation of social decency, as much as pilfering something from your home -- maybe more so. The mere act of physical appropriation can't be the most important thing, since we don't complain about stealing some dirt or water from your property, and we don't complain about, say, chopping down a tree.

Perhaps a better word for copyright violation is vandalism, not theft. It destroys the value of someone's work, the taking isn't the important part.
I wish they'd just make their app start up faster and improve the quality of the app.

Takes nearly 15 secs to half a minute to connect, quite consistently.

Would love to jump on the 'slack is awesome bandwagon', i'm already using slack. Its terrible software for the resources they have, though.

I emailed them about the issue over a year and a half ago and they said they'll get to it. I guess Voice+Video>Quality
Consumer markets are generally awful at supplying what consumers want. For example, if you ask many consumers what would they like their white goods to have, is reliability at affordable price. But it's impossible to find, even though manufacturers have an amazing selection of materials to work with.

And TV's are just a case in point.
The problem isn't the cost in money, it's the cost in time and inconvenience. It sort of manifests in two ways. First, I build my professional workflow around a tool that can simply cease to exist in a few days/weeks/months/years...it puts me at the mercy of the maker of the tool, often needlessly. Second, software that costs money tends to be closed source, which is at odds with community efforts that can improve and shape the software over time, as well as maintain it should the original developer move on. So those issues are the problem, not the $70.
I have used a coffee maker just to make hot water. In a hotel room. :)
The best news is only here:
https://en.wikipedia.org/wiki/List_of_web_browsers
$17 smartwatch sends something to random Chinese IP address
How about Rust's “share by transferring ownership”?

(0) In the general case, whatever object you give to a third party, you don't own anymore. And the type checker enforces this.

(1) Unless the object's type supports shallow copying, in which case, you get to keep a usable copy after the move.

(2) If the object's type doesn't support shallow copying, but supports deep cloning, you can also keep a copy [well, clone], but only if you explicitly request it.

This ensures that communication is always safe, and never more expensive than it needs to be.

---

Sorry, I can't post a proper reply because I'm “submitting too fast”, so I'll reply here...

The solution consists of multiple steps:

(0) Wrap the resource in a RWLock [read-write lock: http://doc.rust-lang.org/std/sync/struct.RwLock.html], which can be either locked by multiple readers or by a single writer.

(1) The RWLock itself can't be cloned, so wrap it in an Arc [atomically reference-counted pointer: http://doc.rust-lang.org/std/sync/struct.Arc.html], which can be cloned.

(2) Clone and send to as many parties as you wish.

---

I still can't post a proper reply, so...

Rust's ownership and borrowing system is precisely what makes RWLock and Arc work correctly.
Hey there, co-founder of Nuclino here!

After having tried countless knowledge management tools that were either too bloated and slow or focused on single users, we set out to create a lightweight wiki optimized for teams.

Some of the main features include:

* Everything is shared in real-time

* Instant fuzzy search

* Markdown commands

* Easy linking of pages using "@"

* Automatic tagging based on page titles

* Graph visualizations of tags and pages

You can think of it as an nvALT + real-time collaboration + rich content.

We've been dogfooding and testing this with a few startup teams over the past few months and would be happy to get your feedback and to answer any questions!
It's dead simple to buy Serum (first-hand experience) and you don't have to worry about malware, I don't buy this premise. They also actively support and develop their products and you get free updates and support for years. I don't see why it's so hard to buy.
The gifs were actually causing Firefox to periodically freeze for me. For some reason it worked in reader mode, even though the gifs were still shown. This makes no sense to me, but in the end whatever was going on with the gifs initially caused the article to not only be unreadable but to negatively affect my entire browser. As such, I think it's reasonable to point this out in this case.
I've been bitten by the fact that Erlang lacks a channel-like primitive. You've got half-a-dozen "pool" abstractions on github because it's actually sorta hard to run a pool on pure asynchronous messages when there is absolutely no way to send a message out to "somebody", the way Go channels can have multiple listeners. I know that would only work on a local node but there's already a couple of functions that have already penetrated that abstraction anyhow.

You also have to deal with mailboxes filling up, still have problems with single processes becoming bottlenecks, and the whole system is pervasively dynamically typed which is fine until it isn't.

It is pretty good, but it's not the best possible. (Neither is Go. I still like Erlang's default of async messages better in a lot of ways. I wish there was a way to get synchronous messages to multiple possible listeners somehow in Erlang, but I still think async is the better default.)
Looks like very slick and easy to use. And there is play on it (https://torrentfreak.com/play-p2p-impossible-shutdown-160301... on hn top 10 at the moment)
> APIs should be designed synchronously, and the callers should orchestrate concurrency if they choose

Wait, why would you say that?

In general, if "orchestrating concurrency" involves guarding access to shared mutable state, then you can't orchestrate it at the callers site. It would be a massive encapsulation leak, because synchronization is not composable, requires special knowledge, plus you don't necessarily know how to synchronize unless you have knowledge about internals. Furthermore, because it is after the fact, your only choice of handling it is by means of mutexes, which has really terrible performance characteristics. Even if you could do ordering by other means, you end up paying the price of LOCK XCHG or whatever mutexes translate to, not to mention that you'll have problems if you want (soft) real-time behavior, because now you can end up with both dead-locks and live-locks.

And this brings us to another problem. If you end up doing such synchronization in Go, then Go's M:N multi-threading ends up doing more harm than good, because if you need such synchronization, you also need to fine tune your thread-pools and at this point 1:1 would be better. On top of 1:1 platforms you can build M:N solutions, but it doesn't work well in the other direction.

> Novices to the language have a tendency to overuse channels

Novices to software development have a tendency to overuse mutexes as well.
> hundreds of Euro

Definitely! Starts a little under ±1000.

What I did find interesting is that it's not actually environmentally unfriendly, because the hot energy is stored in a very well insulated manner, and because it's near 100% efficient in the amount of water heated/used (whereas in a regular kettle you tend to overboil and boil too much water, and in an electric kettle there's often even a minimum fill that's larger than the needed water).

At least that's the story I've been reading on unaffiliated websites.
Non Go programmer here. Can someone explain the initial goroutine leak that is being addressed? I don't see the issue.
Channels are great, but I prefer lazy lists.
How to Optimize for Competitors' Branded Keywords
That's got nothing to do with trademark one way or the other. The question is whether you can maintain a proprietary interest in something created with tools appropriated form others.
I have two questions about HFT:

- Is HFT a healthy or unhealthy part of the economy? Meaning does it help flatten out the highs/lows, or does it emphasise them?

- Aside from a micro-tax on trading (e.g. 1c/trade) is there any other mitigations/solutions to HFT?
Yes, it comes with a p2p SQL server and readable namecoin domains. Due to BitTorrent it's also much faster than Freenet. While it doesn't require Java it's still crossplatform.

Sites are essentially bitcoin addresses (public keys) with ownership and modification rights controlled by corresponding private key. The same crypto provides passwordless logins and authentication!

Since it supports Tor, users can also use it anonymously.

The system is impressively elegant.
This, of course, is the biggest problem with AR tech - you can only "add" light, not "subtract" it - meaning you can only make pixels brighter than they are, not darker. Essentially this will be unusable in bright daylight. Notice how all the promo videos are filmed in fairly dark rooms.
In addition, the author points out existing go libraries that people use that use channels when they shouldn't, so apparently the go language community needs more people pointing out that this is a bad idea.

(I decided to make a new comment rather than edit my existing comment)
Not really. Cannabis and narcotics were banned in a big series of regulations between 1906 and 1937 in the USA. That was the first war on drugs. The 2nd came in the early 1980's. recommend reading Johann Hari's "Chasing the Scream" for a definitive history of the war of drug prohibition, especially Harry Anslinger's campaign against Marijuana from 1930-1937, which indeed stemmed significantly from the lift of alcohol prohibition.
Hound: Voice Search and Assistant
Okay, I think I get it. They're both electrically equivalent to this circuit:

White main --- Bulb ----+
|
Black main --- Switch --+

But "equivalent circuits" are not actually equivalent when you're an electrician. It makes a big practical difference whether the main goes to the bulb, with the switch as a spur (UK), or whether the main goes to the switch, with the bulb as a spur (US and others).

P.S. Everybody please give pjc50 the karma I promised.
Mavericks Lab
I never realised the NBBO could cross because of HFT. (Technically a market type order is required to prevent this, but the quote stuffing lags price) Definitely seems wrong.
Not if you have to heat 1 l in the kettle, if all you wanted was 250 ml.

For a large quantity, the kettle wins. You could boil 4 l of water in a microwave oven, but it would take long. Over that time, a lot of heat would escape.
Higher-quality version:
https://www.youtube.com/watch?v=KOO5S4vxi0o
It uses namecoin for domains.

Personal identities are essentially bitcoin addresses (public keys) with corresponding private keys. This provides passwordless logins and authentication.

Sites on ZeroNet are bitcoin addresses with modification permission given based on ownership of the equivalent private key.
Development Kit, not "release". This is the second prototype aimed at developers. And a glossy site doesn't mean the product is released :|.

Besides, while it is a fair point to make, people using cell phones looked ridiculous back in the days. And yet everyone has a cell phone now. I don't think the ridiculous-factor will be a major blocker if the benefits of the device outbalance it.
Note, the SEC has a protocol for all whistleblowers. Here's the largest ever award [1] and the wiki article on the topic [2] (sorry for mobile link).

I asked my accountant friend about whether he'd ever consider whistleblowing if he saw wrongdoing. His decision criteria was based on whether he'd A) Ever be able to get hired again or B) If the size of the prize was so big he'd never have to worry about it.

[1] https://www.sec.gov/News/PressRelease/Detail/PressRelease/13...

[2] https://en.m.wikipedia.org/wiki/SEC_Office_of_the_Whistleblo...
I have an MBA from a mid-tier school. Top 50 but not top 12. I don't really have any regrets other than I initially started at a third-rate school and decided to transfer after two semesters. The differences between the materials were negligible. The differences between professors was noticeable but not alarming. The differences between classmates was the part that was alarming. From talking with MBAs from top programs, I know their material wasn't substantially different either. So the value isn't entirely the material. It's functionally working with and learning from other smart and driven people. Class discussions are better, class projects are better, and you learn a lot watching others do the same work as you in different ways.

My post-MBA job probably could have been gotten without an MBA. There could have been other things I did over those three years of evening classes to improve specific skills. However, having the MBA on my resume expands the types of companies that would hire me for senior management positions. A lot of job postings in my area are still MBA-preferred. It may not be like that in younger companies or higher-growth cities, so I understand why this type of content ends on on HN frequently.
Yoghurt in Burkina Faso’s School Meals: Benefits Small-Scale Women Producers
So essentially the exchanges offer multiple data feeds. These feeds are differentiated by a couple of points.

1) How much market data they give out. Typically this is broken into 3 levels:

- Level 1, Just the top of book quote, this is the best bid and offer and their corresponding number of shares at this price level.

- Level 2 Depth of market at each price level, same as above but you can see all liquidity offered.

- Level 3 same as Level 2 but you can see each individual order that contributes to each price level

This differentiation is generally considered to be a good thing as most people including most hedge funds can get by with even Level 1 quotes.

The other way they differentiate is the speed at which you get updates.

Have a look here to see what just the Nasdaq offers. http://www.nasdaqtrader.com/Trader.aspx?id=FeedMIPS

You can spend anywhere from $500/month to $75,000/month to receive market data from just the Nasdaq, one of 50 trading venues in the US.

As you can imagine the difference is speed. The slower methods will use the text based FIX protocol and the fastest methods give you a feed and an FPGA to parse the feed with.

It's this later feed that is getting the exchanges into trouble as these feeds notify the user of trades before the SIP can be updated which lets firms have a 300 millisecond second peek at the market before everyone else does.

Couple these faster feeds with many dark pools not reporting trades in a timely manner and new order types that allow firms to sweep liquidity at one exchange only( ie not rout-able orders) and you get a situation where latency arb can thrive.
Beatport – the iTunes of electronic music to be auctioned off
"I think we all know" VR is a niche gimmick until proven otherwise. Outside the bubble of enthusiasts nobody is convinced people will attach a black box to their eyeballs to game.
Before drugs were criminalizes in the early 20th centuries they were easily available at pharmacies, cocaine, heroin, p even hashish tinctures. The addiction rate was approxiamately the same as it is today, about 7% of the population. Most people don't get addicted to drugs, and don't want to abuse drugs. It's more of a psychological disorder, particularly exacerbated by childhood trauma and despair.
Yes, good to learn about him. Like me, he got a B.A. in Liberal Arts. Unlike me, he got his at age 17!
> I think I've just come to accept that sychronization is the pain point in any language.

No, it's not. Everything is easier with event loops, because everything is always synchronized. And since it is, there is no need for concurrent hash tables, locks, channels, you name it. There is also no more shutdown and cancellation problems, you get them for free and easier than anything. The only thing left is a __consistent__ API with callbacks. But as long as you go with higher order functions you are not going to have any problems.
Example: Recently built a small service that responds to requests and walks various files looking for data.

The service can be asked to unload (close) the file, but it's hard to say whether it's in-use at the time without some kind of reference count to current requests using the file.
Hi, we're really interested in the error you got when uploading a CSV or JSON.

Regards

jones@restdb.io
Robots don't like to be anthropomorphized.
The throwaway was at positive karma until your kneejerk misreading, which is the risk that I wanted to avoid. After your comment and changing of the conversation with the ad hominem, it went from +4 or +5 to -8.

Actually, I believe you did not read my comments at all.

I will never post on certain subjects except from a throwaway, regardless of the content of my post. You don't know this, but I wasn't familiar with the given name Roni and as I first read through the article thought that the author was probably male, and the harasser gay, since actually I've had this experience.

Except you know what I did? I actually communicated and I had zero problems afterward with the individual. I suppose if I were female instead of male I should have gone so far as being raped instead of opening my mouth and clearly explaining the situation?

I call you to actually read my comments and then offer a retraction of your own ad-hominem attack of misogyny (because you did not read my comments to begin with).
Read Tyler's original article for a less FUDdy take on it. Channels are always slower than mutexes, which is obvious when you understand their implementation. They are definitely not badly implemented as a general rule.
I don't see why we couldn't put a time delay in. Something like this: when you commit to a trade, the actual trade delayed for some N minutes, where N is a randomly-chosen value from some distribution. Wouldn't this eliminate the incentive to do HFT?
How should one start a career in machine learning?
Serum is by far the most fun to use synth I've tried out. Nothing else compares. The UI is just joyful. And the sound; well, it goes without saying that's it's the best sounding synth on the market. Seriously, every time I adjust that wavetable, I smile.
To answer your question, YES, I am leary of using startup BaaS offerings. I will either roll my own in Rails or using something from a public company.

However, I did not look at this service and immediately think of it as a mobile backend. To me, it looks more like a modern MS Access–a place where people graduate to from the spreadsheet world.
IIRC, HN's yummyfajitas goes into a lot of details in his blog posts on HFT[1]. My own understanding is that it provides liquidity and reduces bid/ask spreads, resulting in a more accurate stock valuation. I'm not sure the negatives, but I'm not a trader nor do I follow such things all that closely.

1: https://news.ycombinator.com/item?id=3852341
Yes, exactly, on both points.

According to the CDC, opioid painkillers addicts are 40 times more likely to be addicted to heroin than general population. “Most heroin users have a history of nonmedical use of prescription opioid pain relievers, and an increase in the rate of heroin overdose deaths has occurred concurrently with an epidemic of prescription opioid overdoses."

I can't say opioid painkillers are the only reason, but the experts seem to agree they're, at least, a major contributing factor.

I was listening to a social worker discuss the problem recently. His experience was that most new heroin addicts started on opioid painkillers, often with legitimate prescriptions, and weren't hard drug users previously. When their doctor refused to prescribe more painkillers (or the pills they were stealing from mom ran out, etc.), they turned to the black market, where it's much easier to obtain heroin than painkillers. He estimated 90% of his cases fit this pattern of prescription drugs being the gateway to heroin.

This same guy also discussed how a lot of overdoses he saw were from recovered heroin addicts that relapsed after being prescribed an opioid painkiller for a legitimate need, e.g., after an injury. As you say, they went back to their "old dose," without realizing a) their tolerance was lower and b) black market heroin is typically much better quality and a wider range of qualities these days. In the 80's (and 90's I think) heroin was usually <10% pure (i.e., 90% filler/other), but heroin on the streets today is often around 30% but sometimes as high as 70%. I don't remember the exact numbers, something close to that. He said you could tell when a super pure batch of heroin came through town, because overdoses would spike.

Another factor I've read, can't remember where, is that the higher quality heroin has made snorting it more feasible. So, that reduces some of the stigma/ickiness associated with needles, trackmarks, etc., increasing the pool of people who'll try it. And it can be easier to overdose via snorting, because it takes several minutes to feel the full effects, unlike injecting.
One problem is that some people's careers in law enforcement are built on the "war on drugs". They need drugs to be illegal in order to justify the existence of their jobs and the meaning of their entire working lives so far.
Wealth inequality is the perfect example. It is in the best interests of society to keep inequality under control - extreme inequality, like we have today, has negative social and economic implications. But if you are on top, with all the money in the world, why would you ever voluntarily give your money away?

Like the other response said, its prisoners dilemma. It is in the best interests of the rich to pay for honestly a majority stake in the society because they are the ones prospering the most from it. But if any one person of the ownership class can avoid paying, they have an incredible competitive advantage over their peers they will obviously exploit.

Independently, it is never in your best interests to give your money away in taxes. It is always in your best interests to have everyone else pay them but you.

This is why you cannot test any number of policies - basic income, progressive taxation, universal healthcare, amongst many more - because if you are not getting more out of these policies than you put in you have the instant ability to flee from paying for them.
What if you want multiple readers at once, and a writer thrown in once in a while?

Edit:

Okay, my point was that the sync primitives of most languages alone can't save you and you're using RWLock in your example, so clearly ownership by itself doesn't solve everything, right? That's the point I'm trying to make.

Edit2:

Hmm, I'll have to check that out. I don't know that I would call Rust's ownership model super easy to reason about, but it is nice that the compiler prevents you from doing so much stupid $#^&.
In the precursor Boston Computer Museum, they had the Newell teapot on a turntable, with a computer display next to it showing a rotating computer graphic version turning at the same speed. I thought it was a pretty clever display.
Well that's a pretty dumb move for Google PR and their shareholders.

Hard for foreign business to take you seriously on having their back when the US government comes knocking when the CEO is running projects at the Pentagon.
Google screening missed hundreds of malicious Android apps, researchers say
Don't worry, the massive AI engine will be garbage (but seriously I agree).