skysight-inc/HackerNews huggingface dataset:
As a non-Go/Python user, those two snippets look practically identical to me, although I understand just enough to have written the same comments. Unfortunately, the comments don't tell me what I'd really like to know about the code if I ran across it when debugging:

* What are b, j, and k?

* What's so significant about even numbers - or is 2 a magic number that could just as easily have been 3?

* What can I assume about results? Can it be empty, null, 10 elements, 10 million elements?

With proper naming and a good, brief chunk-level comment, I could tell at a glance whether this chunk is likely to be hosting my bug or not. 5 lines vs. 8 lines don't play much into it.

Actually, this really isn't what I think of when I hear "boilerplate". I think of, for example, the adapter pattern, or having to build up a finicky set of states every time some common task is done.
I've never actually seen AMP "in the wild". Is it because my only mobile browsing is with Firefox on Android?
A couple of German Shepherds.
There is a very interesting and recent development that can help you woth this. I forget the name, but i think it's something called a telephone.
Well, in this case the makers of the previous page (Google) are deciding what right swipe on the current page (Washington Post) does.

It certainly makes it clear that the content owner of an AMP page is not the page owner.
Google Search on Mobile is no longer a web search engine that hyperlinks to the resulting page, but rather an search-integrated newsreader that loads itself when you click on a result that's marked with AMP. This is understandably a big change from how things used to be, but it isn't going to get better anytime soon.

After all, most people on mobile spend their time inside apps, probably from some Google competitor like Facebook. Within these apps, they click on links, which increasingly load inside webviews; the framing app collects info on where people go, and uses this to sell targeted advertising. Facebook is a king in this space, and is now the second largest server of internet display ads, after Google.

Google's assault on Facebook's encroachment is twofold: drive people to Google's apps like the Google Now Launcher (now the default launcher on Android) or the Google app present in older versions of Android and available for iOS, and deploy the same content-framing techniques from their own search engine webpage on mobile user-agents, where the competition is most fierce, and they can also position it as legitimate UX improvement -- which, to their credit, is largely true, as bigpub content sites on mobile were usually usability nightmares and cesspits of ads.

I understand that the author and quite a few others are peeved at this behavior and that there's no way of turning it off. But it's really not in Google's best interest to even offer the option, because then many people will just turn it off, encouraged by articles like the author's own last year where he was caught off-guard and before he gained a more nuanced appreciation for what's really going on.

The bottom line is this: Google is inseparable from its ad-serving and adtech business -- it is after all how they make most of their money -- so if you are bothered by their attempts to safeguard their income stream from competitors who have a much easier time curating their own walled garden, you should cease using Google Search on Mobile. There are other alternatives, who may not be as thorough at search, but that's the cost of the tradeoff.
What's with everyone chipping in knowledge of things they have no clue about? In your scenario, Google would just put the Lyft ad below the Uber ad in the search results, not make it invisible.
At enterprise level waterfall is pretty much the golden stardard.

Now that the agile wave has come and gone, we are doing sprint waterfalls.
I think you're just seeing a poor design choice: the purple dots they use to indicate cities with bike shares are very visible at the whole-world zoom level, but virtually impossible to see when you've zoomed in because they're the same size and in the same location as the map's default city marker.
Try thumbtack.com or Home Advisor.
You just said "Jimmy pissed in the pool, so who cares if Timmy shits in it?"
I still don't understand why Reddit signed up, it's a terrible experience for their users. I commonly search 'reddit x' when I want an opinion and know there will be a sub Reddit, but now Reddit have made that use case incredibly bad by enabling AMP.
I tried to solve it, but i felt it needs some kind of Math knowledge. any attempt to solve it without that knowledge, just produce a stupid solution. you could see here https://www.hackerrank.com/challenges/a-very-special-multipl... that it is categorized under Number Theory.

The point is, i love math, if i was asked to deal with a project that require math knowledge, and i was given some time, i would be happy to learn the theory, and i am pretty sure that i will.

So this kind of tests, just check if i have that knowledge right now or not, not if i am able to acquire it or not, and they didn't mention anything about it in the job description, it got me crazy, and i even regret the time i spend applying for the position.
"If you can't make your own daughters go into STEM, what message are you sending to young women of the world?"

I feel sad when I hear anyone say they think forcing others into a career path is a wise or sustainable decision. Doubly so for their kids.

The message she's sending is she doesn't know what the solution is. And that's OK. The first step to resolving a problem is acknowledging you have one.

Denying the existence of gender bias both prevents the human mind from perceiving it and persists the problem, if there is one. Denying someone else's individuality and autonomy isn't a sustainable solution. In complex systems, it leads to pathological, extreme states/transitions.

See the US's political climate for perfect examples on both sides of the aisle.
Protection rackets are funny that way.

Edit: Yes, that's a bit exaggerated. Just noting that a dominant outside force can change your fortunes whether you choose to play or not.
>Google Now recommends news articles to me, it can give me reminders about upcoming events from my emails and Google gives me some personalized search features (ie. if I type "frequent flyer number" into the default google search bar, my number appears, scraped from an email years ago). Those features have a utility that I couldn't get from an application that didn't track information about me.

And I think that's the main difference between our viewpoints. Personally, I'm not ok with a company having so much information about me just for the sake of convenience. I'd rather have to write my own scripts to scrape through news feeds or just continually check blogs that I like rather than a company having all that data about me.

We are living at a time, imo, when data is the most important asset. And companies like Google are one of the biggest purveyors of it. It's dangerous when a company could have enough information about you and have the tools to know exactly what makes you "tick". They could provide services to make "specially crafted" advertisements that would manipulate you at a scale even more than they do now. "You like tall blondes? Here's a computer generated tall blonde that talks about the new eau d'toilette and how it seduces her! Buy it!"

It's bad enough that companies are using methods to addict their users to make their apps more profitable now, imagine what a world it'll be when they'll have the technology and ability to do it to the point that no one could possibly refuse their advertising.

Now I realise that this is taking it to the extreme, but my point here is precisely that we need to consider these possibilities in case they don't catch us unaware and when it's already too late to do anything.
Only works on Chrome.
i hear you. the playoffs weren't very exciting this year. but on the other hand, look at how the cavs (finally) rose to the challenge last night, and in the process raised the bar for every other team. these are the best people on earth at throwing orange balls through orange rings and they're only getting better! =)
I don't think its comparable to Apple. Apple is trying to make the user experience of existing content better (where it is located)

Google is taking the content and serving it themselves.

The problem is sites being slow in the first place, but Apple isn't commandeering the content itself like Google is by creating a mode where the browser can enhance legibility of any article.
My question was, is that what you mean by "STEM is gender biased" - it seems as if on purpose only subjects with male majority are counted as STEM, which would make the whole discussion absurd.
For consumers this later lead to other great free browsers.
That is a pretty decent amount of money for a 25 yo software consultant. How did you save so much?
ACCELERATING SPARKML WORKLOADS ON THE INTEL XEON+FPGA PLATFORM
There will be new trends and turns and transitions in the future (can't say when though). If we learn everything we can from this situation, we could be in position to affect the direction of the next transitions. But Peter is right. Google and Facebook control too much of who sees what currently, so they will just bury the sorts of things, like this article, that would help us learn.
I'd imagine a notoriously cash-strapped site like Reddit is enthusiastic that Google is willing to offload traffic originating from Google Search on Mobile to Google's own AMP CDN. This helps incidental visitors still consume Reddit content, while real Reddit users interacting with real website or through a Reddit app are still getting the normal experience. This arrangement only really frays at edge cases, where a logged-in Reddit user uses an external search like Google to look something up.
Accidents happen: I/kid/spouse/friend/burglar mishandle/steal/find/grasp the firearm. 30k+ deaths per year in the US.
That is the point of the paper: making deep fully-connected networks work.
For the sake of your health, I won't. ;-)

But it would be interesting for the rest of us to have an overview of how software is done in those fields. i'm guessing that those are also areas where litigators have refined their ability to prove fault and quantify injury in dollar terms.
I use an older iPhone as my primary internet device when at home.

From google news, the top hits are served through amp and I lose about 1/10 of my screen area to a pointless blue "bar" underneath safari's address bar. This loss of screen space is the only reason I object to amp.
You'll realize everyone is only good at 1 thing. Taking everyone against you certainly makes you feel overwhelmed but after you realize 4 years is nothing and you are financially stable, you'll feel better.
Darpa Funds Development of New Type of Processor- Worlds First Non-Von-Neumann
Oh that makes sense, I've always had iPhones and never had a need to switch from Safari.
Please Google what the top selling cars in India and China are. They are not American or US companies.
Once you do that go look into how that happened.
Having a degree in informatics engineering I strongly disagree with that, given the lectures we had as part of our curriculum.
Yeah, same. Firefox Nightly Android + DuckDuckGo, but sometimes I do use Google, still haven't found an AMP page.
I don't agree with that because big corporations could not even exist in an anarchist society.

These big corporations only exist and thrive because laws and regulations are designed in this way. To suggest that these corporations grow organically and that they should be allowed to follow their natural course is wrong. They are as unnatural as it gets.

The laws need to be tweaked to change the economic environment so that it favors smaller companies like it used to.

Corporations are extremely inefficient.

Maybe not communism, but socialism is working very well in countries like Sweden.
Life sciences in general are often excluded.

A cynic might claim that that exclusion is because they do not fit the narrative.
Could you please expand a little on the open source / stone soup metaphor part? I couldn't find anything on Google.
Same thing happened. I didn't have a great experience with math in school which led me to non-STEM. Now that life brought me back into STEM field I feel sad that to get into it I had to go in a completely roundabout way which would have been significantly shorter if only my teacher managed to get me to "grok" the math.
One of the reasons I doubt any sane HR department would hand a hiring manager the results of something like a criminal background check is precisely to protect the organization.
They should increase prices then. If customers like ordering through a voice assistant then make them pay for it. Any supplier for a pizza place can raise prices at any moment -- ingredients, rent, utilities. It's just business, nothing new. As long as it's not a monopoly it won't hurt businesses.
I also had this problem and had to turn off "Live Conversion" in the Japanese settings.
it's the jeans version of genie :D
What's the budget and goal? Do you want to capture them or scare them away?
This attitude, is what makes you the next person to let a young one feel overwhelmed. Be humble and keep trying and life will feel easier in the end.
Firefox on Android does not get Google's AMP proxying thing in search results anyway. iOS maybe too? idk
Regarding your edit, the authors of the paper in question focus on FNNs and note the reason in the paper:

> Both RNNs and CNNs can stabilize learning via weight sharing, therefore they are less prone to these perturbations. In contrast, FNNs trained with normalization techniques suffer from these perturbations and have high variance in the training error (see Figure 1).

Essentially FNNs stand to benefit more from this work than CNNs or RNNs.
Digital tracking and profiling in surveillance capitalism, but with infographics
I'm a coder and now a new teacher. Schools would rather employ a good art teacher to teach comp sci than a bad comp sci teacher.

Controlling 35 - 40 students is hard. Coders are not naturally good at it. Someone who likes to sit at a PC and read HN and slashdot is not the sort of 'drill sergeant' who is needed to take control of them.

My coding skills are not used. The most complex things the students are asked to so are simple loops.

So this leads us to Michelles question. How do you get teachers to get girls interested in STEM? The role models are weeded out at the teacher training stage. I would estimate 90% of nerds and coders remove themselves from the teaching profession. Of the other 10%? They find the school system almost impossible to target a student.

Say I see the students for 60 minutes a week. Of those 60 minutes, 5min is registering them while they log into the computers. Then we are asked to do a 'starter' something to engage the students with the lesson, that's 10min. Then we teach and the students work. At the end of the lesson we do a plenary, 5 - 10 minutes. So I get about 30 minutes of teacher student time, so a minute per student.

How am I supposed to explain to a stroppy 13 year old girl why computing is a good career choice? Or why maths is interesting? In 60 seconds? In my last lesson a boy took a girls coat, so that girls rugby tackled the boy and punched him in the head. I had to drag them apart then wait for someone to come help. This is not uncommon. Imagine telling students how much fun a career in IT is, then tend to shout "This is fucking boring sir"

The school system has too many people asking things of it. English lessons. Science. Music. Sports. Tech. Religion. There isn't enough time. There isn't enough money.

The type of person that can survive a teaching qualification is not the sort of person who is sitting in an apple conference.

Having spent a great deal of time looking at the lack of women in STEM and what teachers can do about it, the most effective solution is to have great women role models come into schools and give talks or help teach. I can not tell you how many hoops I would have to jump through to make this happen. Even if I could find any women role models who would talk in front of a class of students. It would take months of paperwork. It's the sort of 'once a year' event that could take place. It would take the combined effort of my, my manager, the head of department, senior management and the head teacher to be involved.

I don't know what the answer is. I don't think anyone does.
Great post, bad advice from society can be devastating for special people, and there is a lot of work which can be done to make them comfortable and their boundaries respected.
What I like to do is not use Redux at all until I find I need it. So basically it comes a point in my app when I have too much information in my state and I need to share it with multiple components. At this point, I add the most global stuff to the redux store and keep meaningless things as react state.
Huh? That doesn't hold true for whole iTunes, News stand, Music, iBooks, Podcasts and all other content silos Apple introduced. If anything they even deliberately make content consumption from competing sources harder on iOS devices.
You should really be careful of sourcing your news on fb, you're being spoon fed the news fb's algos want you to see.
Online Tracking Is Bad for Advertisers
Yeah, it'll depend on your jury whether they consider an emulated register to still be a register as described. However, what's super common in these sort of patents is to duplicate the same claim language several times with slight variations to cover all implementation types. If you look at claim 9, it gives a much more broad heading:

"A computer system coupled to receive and respond to computer instructions from a program routine comprising"

In later patents, they got even more clever and just say a "method" rather than a "processor", and explicitly define registers as potentially being emulated in the description (search AVX2 patents if you're curious)
$2k. Scare them away or incapacitate them if they become aggressive.
Apple have paid "appropriate taxes". What the commenter meant to say was that the money is held offshore, and unable to be repatriated without paying significant tax. This is a red herring however, since Apple's borrowing power in the credit markets is virtually unlimited.
> given that content creators intentionally volunteer their content to AMP

This is certainly not true. The reason no many content creators and publishers moved to AMP is to not hurt their SEO.
If you check most of the AMP articles targeted to publishers, it's addressed as get on the AMP wagon now or else you are doomed when Google starts ranking AMP pages higher.
Fantasy land stuff. Moxie is going to backdoor his encryption because some Australians he's never heard of tell him to?

The prime minister, Malcolm Turnbull, is a noted user of Signal...

One day these stories will be written by and about people who have a clue. One day...
I have hard time sympathizing with people who made the web a horrible blinking ad and malware laden experience for everyone. Especially when they're complaining about something that brings actually content and performance forward again.
DDG does kinda suck at finding specific programming things sometimes. The results are just not as good for the more obscure and rare stuff.
We're currently waiting for approval from apple.
Carbon.

The outer shell does not need to be a single structure. A swam of micro satellites orbiting at 25 AU with 1 atom thick carbon antenna collectors (think black snowflake) would on average be not much more than 1 atom thick and would collect 99% of the energy emitted by the star or inner shell(s).

This is all rather beyond what my post was about which is that only inefficient Dyson spheres can be detected in the infrared and that any civilisation capable of building a 95% efficient sphere is able to build one that is 99%.
It's more of "Jimmy pissed in the public pool, so now everybody goes to the private pool"
Yeah, we lose the collective memory of the "why" behind many of our regulations. Thanks for telling me about this. I certainly did not know!
I also use a iPhone that is a few years old. My experience has been that Google sends me to AMP pages in Safari and scrolling literally doesn't work. It just does that springy thing (as if there is no more content) on both top and bottom.
Very interesting. Especially combining a language primitive, English description, and assembly. I proposed that with a minimal Lisp for bootstrapping recently. The one I was looking at you might find interesting as you experiment with this stuff:

https://en.m.wikipedia.org/wiki/PreScheme

Both the PreScheme and VLISP papers have stuff about it.
I had a lot of fun building a small app with Ratpack several months ago, but its online manual is full of TODOs. If you're comfortable with Groovy or Java, I'm sure they would welcome your contributions.

https://ratpack.io/manual/current/
but Apple isn't commandeering the content itself like Google is

Content authors voluntarily publish their content in AMP form, so it doesn't seem fair to say that they commandeer anything: AMP is a subset of HTML intended for a fast mobile experience, and if you decide to take part you publish flags allowing Google to cache it. Google isn't unilaterally converting content to AMP.

The core argument against AMP primarily seems to be a fear that users will actually prefer AMP content. Which is ultimately rather anti-user.
> Attorney-General George Brandis said the government will not pursue the controversial "backdoor" access option by forcing firms to plant flaws in their encryption software that would allow it to be cracked by police or security agencies

Forcing firms not to implement end-to-end encryption is forcing firms to implement flaws in their encryption software.
Tech firms could do more to help stop the jihadists
Ask HN: What podcasts are you listening to?
What is on your playlist?
The "JavaScript" qualifier is just to let you know what flavor of regex it expects.
Ask HN: To ask or not to ask?
I sometimes find myself in this situation where I have a very nice idea or I have some doubts about something and I'd love to share with people from hacker news to know others opinions but I am under the constant feeling that I will not get any response or just negative feedback (which is better than no response).

Am I the only one who is hesitant about posting on HN?
>I still don't understand why Reddit signed up

Sign up, or face the reduced google referral traffic as AMP-only carousel results push the organic results below the fold.
Cassini: The Grand Finale: Orbit Guide
I just want to mention (1) I view this as a bad thing and think we ought to try to move away from it; (2) I whitelist javascript so at least not all of the above is happening to me, and I think we ought to move toward all users having the tools and competence to do the same.
Not yet. This is just a preliminary project for my paper. Probably I will add more keyboards.
The only thing we get to observe is the outer layer. We really have no way of knowing what is going on inside or what structures are present.

The relative small increase is not in reference to a smaller sphere, but to the material resources of the stellar system. If you only need 0.00000001% of the material resources of the system to build an inefficient sphere then using 625x more is not a significant increase.
I did miss your point because I fail to see how not using it puts you in their purview. Can you explain further?
It's interesting that the "virtually impossible" task of a few years ago is a joke app of today ("Hot dog or not hot dog"). Machine learning is moving fast lately.
Bots click ads. And people paid to click ads :D
Email, maps, photo viewers, browsers, online storage, streaming video, and taxis all existed before they were ad supported.