skysight-inc/HackerNews huggingface dataset:
Cool. Can anything execute between the end of the deferer and the start of the deferred?
unityByFreedom 3 hours ago
> Why don't you try responding to my argument rather than calling me names?

unityByFreedom 7 hours ago
> Sounds like a narrative that Beijing would very much support, Mr. New Account.
Get people to hate their local govt and appeal to a higher authority for support. Brilliant.

Because, as you've demonstrated, it's just so much easier (fun too!) to ignore an argument altogether and resort to ad hominem style retorts.
Nokia owns bell labs. Theres no ties anymore with Microsoft.
Good time to test those DDOS attack tools.
App monetization techniques to generate revenue
Generating revenue through applications is the sole aim of app monetization techniques. They help grow the overall profit in a number of ways.
Why YouTube used to prefer quality
The German word for it is Beinaheleidenschaftsgegenstand, apparently.
Nah. It's a company, not a person. It's fair to discuss it critically.

Also, info like this makes me think they deserve even more negativity than they've gotten: https://news.ycombinator.com/item?id=14667984
> Mutability is not just how "the metal" works, it's also how the rest of the world works.

This is actually false. A bit hand wavy here, but the world does not truly exist of discreet objects changing state. That's how we choose to model it, and it's useful, but it's not the "truth" of the world / universe.

A few simple examples - viewed at the quantum level, protons, neutrons, electrons aren't physical objects that "exist" in a unique place at a point in time. Now i'm not saying an imperative model is wrong because of quantum mechanics, but am merely illustrating that we chose to model the world as objects with changing states because it's useful, not because it's accurate or the truth.

The ship of Theseus is another examples. There really is no paradox here as there was never a "ship" to begin with. We just chose to model that particularly assembly of particles as an entity/object known as a ship, and gave it "state" that persists over time. But the only true answer is that it isn't a paradox the universe/physics never defined a "ship" to be there. We did. And the only "paradox" is that someone found a flaw in our modeling algorithm. But again, there was never a single object there changing state.

So the long story is - don't judge a method of modeling on how effective it is. Because no model we use in everyday is actually the underlying "truth".
https://en.wikipedia.org/wiki/Ship_of_Theseus
An Extensive Guide for Developing a Chat Application Successfully
Owned by the same company:

https://icannwiki.org/Top_Level_Spectrum,_Inc.
Ah. "Not-for-profit." Yeah. Right. How many millions do the execs get in salary? Those are costs, not profits, right?

edit: typos
Not really, when WebAssembly gets better it will be the revenge of Java, Flash and Silverlight.

Future web applications will be mainly plain WebAssembly + Canvas + WebGL.
Is that actually returning err as the deferred return value of test? In other words, to the caller of test it appears test returns the result of the deferred?
You don't need a neural network for that. https://www.youtube.com/watch?v=esRdmKYucIw
Having a quick look through I think most of the responses are just trolls.
I concur with this. I once saw an American student, studying in Europe. A European student was critisizing her country's government. The conversation did not go well, she eventually cried out in tears. That is when I realized Americans care deeply about their country. Americans complain among themselves about their government all the time but it is a different matter if an outsider complains about your government. Probably the same thing is happening when you talk to Chinese students.
Really nice!
I used https://github.com/dinedal/textql a bit, but your project seems much more practical.
How about you deal with my comment rather than apply snark
Do the Chinese have something in mind?
Pretty much RipoffReport 2.0, except scaled to hyperbolic levels! Yay!!!!
Ditto. I had zero of those issues when my Charge HR was working. (I just threw it out yesterday as it finally gave up the ghost).

It would accurately identify when I was asleep vs just sitting still, and lest you think it was biased towards nights, it accurately counted naps on the rare occasions I took one. The only thing it was BAD at was managing the data when changing timezones. I can hardly blame it. Who really knows what "time" it was when I was half-sleeping on the plane to Australia, and the clock is wrong anyway until I sync it two days later.
Ok now I got they are in scope. About defer, could you think of it like defer makes a function into a function with multiple entry and exit points, possible to be stopped and resumed, like a coroutine?
When you perform quicksort/radix sort you can identify the range of each partition as you go. You could then use this to inform your search, e.g. there's no point in searching within an interval of width <K.
Wording things differently rarely has any significant legal impact.

(Except in advertising, right?)
Is there a practical difference in cost though? A Dutch insurer (Univé) used to do the same, but in practice there turned out to be no significant different in total amount of money spent by customers. Even though they gave their profit back to their customers at the end of the year, they couldn't compete on price.
Yes, you can, but just naming the return variable takes care of this.
Can't get more low level than ASM

http://www.agner.org/optimize/
* 'Free video Series'

* 'Enroll for 30$'
But Hong Kong became prosperous during a time when it didn't have either of those.

During the booming 70s-90s, just about all high level government officials were appointed by the British. In addition, most of the upper class were British as well.

Local Hongkongers were often second class citizens.

Likewise, when Singapore, Korea, and Taiwan were booming, they were essentially dictatorships.

Heck, compare South Africa and Zimbabwe during the apartheid era to now.
My Fitbit Charge HR was more accurate than my pillow-sensor-based Hello Sense. By a huge margin. For one, the Sense thought I was sleeping when my wife was on the other side of the bed and I was out of the country.

... come to think of it.....
Tap to walk (servo) is a bit too nauseating in VR; "blink"/instantaneous teleport is much easier on one's stomach.
One Plus Lags Behind iPhone 7 Despite Having 5 GB More RAM
Yup. When I was in high school I was waking up before 6 to make it to jazz band. College and the subsequent "real world" were just so, so much better in every way.
Get deep insights on emerging Innovation Trends and find untapped innovation areas
First of all, there is no federal Chinese government, it is called the Central Government of China. There is no federation any time during China's history - the central government controls everything in every province, the power of any local administration is granted by the Central Government, directly or indirectly.

Secondly, most innovations happen in Beijing, you can count whatever stats you like, such as # of patents filed, high tech start up numbers, VC funds and where they invest their $ etc. You'd be seeing more than half are in Beijing.

To give you a very quick example: Xiaomi, Didi, Mobike and OFO are the 4 unicorns of China's internet industry, all headquartered in Beijing, their R&D are done in Beijing, these four have not gone IPO and the youngest worth $1B.
Nitpick all you want, d_burfoot is right.

As Manhattan drags the West into the mire, Hong Kong leads the East's ascent.
TLDR: This is what LSTMs do.

E.g. http://machinelearningmastery.com/sequence-classification-ls...

More detailed answer. LSTMs have 2/3 modes : sequence-to-sequence (immediately), sequence-to-single-output, and sequence-to-sequence (delayed).

Sequence-to-sequence immediate is generally referred to as "seq2seq models", if you want to google it. This is used, for instance, in Deep Speech. Essentially the network takes in a sequence and immediately generates a new sequence from it.

Sequence-to-single-output is called "sequence classification", and is used in text sentiment analysis. The network takes in a sequence of items and comes up with some number.

Sequence-to-sequence (delayed) is called sequence generation. An example use would be translation. The network takes in a sequence, thinks about it a bit, and then outputs a new sequence.

There are other things that may work well. For instance I've found "windowed convolution" over a sequence to work well, even better than LSTMs (and certainly easier and quicker), for sentiment analysis. You essentially make a "window" of items, and have it output "bits" (1 = true, 0 = false). For every window frame you generate these bits and then you maxpool (or just add) them over the entire length of the sequence. Of course this will never detect anything longer than the window.
This is great!
JSON Formatter https://jsonformatter-online.com
For me Rust is a deja vu experience, in a certain sense.

I started to use C++ around 1992, on MS-DOS, as my next loved programming language after Turbo Pascal. Never saw any value in plain C, other than writing code unsafer as straight Assembly (Assembly has less UB than C).

Have taken part in C vs C++ flamewars on Usenet since those days, only to see C++ finally overtaking C in many fields in the last 10 years.

In some fields, like embedded programming, C still reigns over C++.

So while I look forward to have my managed languages, OSes and performance critical libraries written in a safer language, my life experience tells me it will take a few decades to achieve the same level of market adoption.
Unfortunately the free market is a purely theoretical concept and a model not unlike Newtonian physics - useful, but incorrect.
Sentry – Track errors with modern exception logging
[Hack] How to Upload Photos to Instagram from PC – No Software. No Extra Website
Comment from the article:

> I would like to add that IMHO all new TLDs are scam. Brand owners are forced to register their name in many of them.

.feedback is just the tip of the iceberg.

I think this is the core issue here. I remember that a few of ICANN's new TLDs caused similar issues. The idea of selling TLDs to companies for use at their discretion is horrible enough, but they also seem to be completely ignorant of this problem.

This feels as if ICANN is trying to become the new FIFA.

(I don't really have much empathy for google etc having to pay $600 a year, but the same problem could also hit lots of small sites. Also with the current trend, TLDs seem to loose all structure and meaning and just turn into another brand vehicle or trade asset)
Computer Science without a computer
(Anti-)fragility in Software Development: Intro
I'm passionate about this subject so here's my take on it. Until neural networks can create music better than humans it will be nothing more than table talk.

Usually for something to gain any real traction it needs to solve a problem or do it better than current solutions. AI generated music does neither.

From a music nerd who loves programming and neural networks I find this stuff very interesting. But I feel that neural networks could be much more useful to composers in other ways.
I do remember the pitchforks and burning effigies around the GetSatisfaction drama a while back.

For those that don't know, GetSatisfaction is/was a 'user support' site designed for users of a particular app/service to provide support to each other - only the fact that it wasn't an official support page was not immediately obvious. They had a line somewhere on the page that said something like "We hope that a support rep from the company will chime in on these threads" but not much else.

People ended up getting extremely frustrated with the companies in question, believing that the company was ignoring them when questions went unanswered.

To their credit, I think they changed things and made the situation clearer when several companies lambasted them on social media, but I don't know that they ever fully recovered and became as popular as they were before that.
> You can't do "or pay $600/year to take the web site down".

Okay, IANAL, but that probably is not true.

Well, at least not in that way. They could for example, sell the .feedback domain to company owners, in regards that owner can either enable or disable user-given feedback.

Else, they could run the .feedback domain that point for a specific company, and nothing stops them, reason is pretty clear - it's their TLD, and if they got approved by ICANN, then nothing stops them in illegal way (copyright infringement are as powerful as ICANN is).
Fair. For that case this solution makes more sense than the pure analytics case.
Ehm, not sure I understood, but I'd say no. Defer is just code that is executed in reverse order upon return from a fuction. It has nothing to do with coroutines. It's a cleaner way to write the usual C syntax of "goto cleanup_x" code.

Go coroutines (goroutines) are functions invoked with the "go" keyword. These cannot be stopped or resumed, but might be (possibly) executed on a different thread. In any case, they are not guaranteed to be executed immediately in the normal flow of the code.
How GST Will Impact Parents
> bans vehicles from parking in the same spot for longer than 72 hours

Could they work together and move their vehicles but remain in the same area (like front of line goes to end, and everyone else pulls forward) and be compliant per the letter of the law?
Generally, any modern optimization pipeline that includes global value numbering and basic memory dependence analysis will perform that transformation, yes.
This was my observation as well, but even more importantly, in the given examples they're naming a value to get this benefit, but then never actually referring to the value by name. This is contorted at best.
But farebox recovery rate is a good metric for measuring how well a public transit system actually serves (and fails to serve would-be) passengers.

Silicon Valley's VTA is among the worst, as its routes were chosen more for political purposes than optimal service.
The British also colonized the Middle East and Africa. So why are those places hellholes?
The EFF does not have unlimited resources to defend every single C&D case across the country. They pick and choose their cases to have the maximum impact and provide the best precedent for future cases. And they act according to the mandate of their supporters, with which they seem to be in very good alignment in this instance.

If you really believe the EFF's time and resources would be better spent on some of these mysterious other cases you reference, and assuming you are a supporter, then write them a letter stating your arguments. I'm sure they will reply. Hell, write an open letter. I'm sure one way or the other you'll either open their eyes to the merit of your cause, or more likely, learn exactly why they can't devote resources to its pursuit.

Either way, you'll be doing a hell of a lot more than simply complaining here, which is useless.
Which most people would not use if this service was optional and adevertised beforehand priced at the amount they pay in taxes.

You can't properly price the service into your economic activity if it's forced onto you.
I think the choice of piano really sells the quality of the result. Musically it's not that great since it still sounds like random noodling. Much better than any other implementations that I've heard.
China’s on-demand bicycles have now become advertising space
The whois data for domains under this TLD is kind of interesting

whois stackoverflow.feedback returns a phone number with a CNAM of STACK OVERFLOW, and the same address listed on https://stackoverflow.com/company/contact

whois google.feedback returns the phone number +1.1978600872, which is not a valid US area code last I checked. The address appears to be a PO box in Seattle.

facebook.feedback has the same bogus phone number and the same PO box as google.feedback.

myaccount.feedback (where they send you if you try to vote on anything, presumably other things too) has a residential address on Mercer Island, WA and a Google Voice number listed.

Calling the Google Voice number results in a voicemail where a person identifies themselves as "Jay" (presumably Jay Westerdal[0] of Top Level Spectrum, Inc who owns the .feedback TLD[1])

Another thing of interest is that myaccount.feedback encourages you to login with Google/Facebook/Twitter/LinkedIn

[0]: https://icannwiki.org/Jay_Westerdal
[1]: https://icannwiki.org/Top_Level_Spectrum,_Inc.
EFF has gone after both Facebook and Google.
192.168.0.1 https://19216801help.com/
Every time I have ever purchased any insurance policy, I have read it. All of it. Then I pick out sentences or paragraphs and ask my agent to explain what they mean. The agent never knows. Their boss never knows.

I'm a fairly educated person. I understand a lot of complicated things. I can read and comprehend legal statutes, building codes, lease agreements, historical documents, Shakespeare, transcripts of legal proceedings, and lots of hiphop. But I have never been given a policy statement from my insurance agent that was coherent. Or even complete.
The CFAA is a really, really nasty law. According to some interpretations, you are breaking it any time you violate the tiny terms of use at the bottom of a website. So basically anybody could get convicted if the prosecution really wants to. Somebody got convicted for pretending to be a fictional person on myspace, but it was overturned (granted, the person was cyberbullying that resulted in a suicide, but still)
https://en.wikipedia.org/wiki/Suicide_of_Megan_Meier
Deferred functions don't return anything. You can modify the values that are returned by the parent function, and those will be returned as the deferred function modified them.
The governor has stopped ignoring the problem, which is a vital first step!
spanish to english https://spanishto-english.com/
Thought leadership these days is almost always about pushing a corporate agenda. It's not true thinking, it's marketing.

That reminds me of the time when Mark Zuckerberg announced that his favorite book was "The end of power".

It's convenient for him to promote these kinds of ideas whilst his company acquires a global monopoly on consumer attention/awareness without being hampered by regulators.
Anything as from any other thread/goroutine? Yes of course, all shared data must be protected from races.

If you mean in the same context then, no.
I think you'd get more response if you posted with "Show HN:" prefix.
I generally agree with this. Put another way there's a lot to foodie culture and interest in the Food Network that doesn't involve cooking pre-kitted but relatively complicated meals on weeknights.

I suppose there's an argument to be made that none of these services have really broken out because no one has wrapped sexy celebrity-based marketing around their offering. (Added: And some of them have paired with celebrity chefs.) But I'm skeptical. Most of them do the localvore farm to table thing in spades. I doubt that celebrity chef endorsements and videos and a major missing ingredient.
I do use such constructs from time to time as a mix of nostalgia and tongue in cheek.
In 22 years of living in germany, ive never once heard anyone use that atrocity of a word or anything close to it - I guess it's a joke-word from the tv series How I met your mother making fun of the fact that many complex german words are just glued together from other words, eg. Krankenhaus ("ill building" or "building for the ill"). This does not mean that every compound word you theoretically could form is actually a valid german word.
There are as many sorting algorithm as their are data distribution. So some algorithm are better suited to some problems. Therefore, each requires specific research.

Moreover, if you study algorithm and if you try to understand/formalize their behaviour,
especially theyr memory/speed tradeoffs, then you'll see that they're actually quite complex.
See : https://math.stackexchange.com/questions/1313540/a-lower-bou...

Finally, implementing a sort alogirth requires a hell of carefulness. They are
super tricky. See for example : http://cs.fit.edu/~pkc/classes/writing/samples/bentley93engi...
It's actually partially true. The NYCT signalling system is more like a sandwich. At the bottom they have a legacy system called AWS. It is built using a logic of relays that will raise or lower mechanical arms on the tracks. When the arm is raised it will collide with a valve on the train that, once opened will apply the brakes on the train forcibly. The logic driving this is from the beginning of the 20th century and seriously pretty clever. The guys at the time even timed the relays to raise arms according to the recommended maximum speed for driving the train. On top of this, computer based systems have been deployed, especially CBTC, starting in the Canarsie line. So, frankly, the statement made is quite inaccurate. The system works in the sense that it allows higher potential capacity. The real problem is that with a legacy sandwich so deep the failure rate is terrible, especially when age of material and obsolescence kicks in. Now imagine fixing a technical debt that spans nearly 2 centuries, with limited maintenance time, and life critical functions buried inside. This is the problem.
Yes, but I feel that it would cause a very large mob in Mountain View.
I have a Xiaomi band 2 which I bought for some 30 EUR and it also considers me asleep when playing games before I go to sleep and sometimes when watching TV as well.

Other than that it's pretty accurate, it even detects the occasional 15 steps to the toilet and back as awake time and I'm generally happy with it.

It has a heart rate sensor but AFAIK you need to put some other firmware on it to use that during the night at predefined intervals.

Regarding tracking sleep quality (it only has light, deep and no sleep as categories), I feel it tracks it well enough and I treat the duration of deep sleep as an upper bound (usually around 2h30).

So if the band shows me little deep sleep it's almost always correct (i.e. I don't feel I slept well). If it shows lots of deep sleep I can sometime confirm and sometimes not.

Of course, all this is subjective, so "sample size = 1" holds ;)
Holy shit does Beijing suck for shopping, even in 2017; it is a mixture of really overpriced luxury brands who used to make all their profits on money laundering combined with new malls with the same set of generic stores in each. Maybe Shanghai is better, but if it's anything like Beijing, well, it makes sense why people still go to Korea, Japan, Hong Kong to shop. It always made sense to head down to HK to buy a new iPhone or computer, or wait till I headed back to the states, because shopping in china is just so depressing. $100 for a pair of Levi 550s in sanlitun village that cost $30 stars Fred Myers in the states? No way.

Last time I went to HK a year and a half ago, it was still packed with mainlanders shopping like crazy in the malls.
Not quite sure what your point is.

The school system is suboptimal indeed, and good private schools are very expensive and require some machinations to get in. Nevertheless, HK fairs very well in the international PISA studies (ahead of China, incidentally) [1].

Public hospitals in HK are good, modern, efficient, and inexpensive. Private hospitals provide an alternative if you want more personalised or faster service.

However, of this pertains to civil liberties and the rule of law (which my post was about).

The notion that access to education and health care is better in China (or more justly distributed, without special favours for the well-connected) is very questionable, as the other post highlighted.

[1] https://en.wikipedia.org/wiki/Programme_for_International_St...
This is not a place for flame wars.

Regardless of what you feel I've done, you need to stop.
What is fun is the confusion between DASH and PSP.