skysight-inc/HackerNews huggingface dataset:
I understand some aspects of modern processors fairly well, but there are still some simple aspects of branch prediction and speculative execution that leave me bewildered. Perhaps someone here can explain to me what actually happens in a specific case for Haswell or some other recent processor?

Assume I have a list of id's, and each id is the index into array of strings. The strings are 0-terminated, and of uniform random length from 1-32 bytes. I want to create an output buffer that consists of the concatenated strings corresponding to the id's in the list.

The pseudo C code would look like this:

char *stringList[NUM_STRINGS]; // strings of length 1-32
int idList[LIST_LEN]; // initialized to rand() % NUM_STRINGS
for (int i = 0; i < LIST_LEN; i++) {
int id = idList[i]; // id from existing list
char *string = stringList[id]; // use id to get string
while (*output++ = *string++); // copy string to output
}

Assume that stringList is large enough that the strings are not in cache, and thus there will be a ~300 cycle latency after each is loaded. Presumably, the "copy" loop will be speculatively executed during this latency. But since the string lengths are random, the termination for this loop can't be well predicted, and since the data for the copy isn't there yet, I'm not sure exactly what happens.

Does the processor predict that the string copy loop will never terminate, and keep buffering string copy instructions until the buffers are full? Which buffers? Does it stop speculating at some maximum number of branches? If so, what is this depth? Or does it manage to guess that the inner string copy loop terminates after some reasonable number of iterations so it can issue the outer loop load for the next stringList[id]? If so, how many such loads will it manage to issue?
Almost all Go code you find on the web will be formatted the same. It removed some pain points when looking at someone else's code. It also complete removes the discussion about formatting during code reviews with team members. While you may not be opinionated on the matter, many people will learn a certain formatting style and stick with it. They then bring it to their new company and it can cause some minor conflict.

Gofmt helps remove that.
It exists!: https://vimeo.com/68859229
> I honestly believe that successful car salespeople have the qualities that will help them land on their feet in any situation. So they will be alright.

For one guy I know this isn't true. He was a very good salesman of [a product], but eventually its economics changed, and after that, he couldn't find a job he wouldn't get fired at. Until car sales. I couldn't tell you why -- he's not a jerk or an idiot -- my best guess is that there's some level of generic "being an employee at a company" behaviors we take for granted (meeting long-term commitments, knowing the product) that just don't happen for him.
Backwards, Thinking
If you commit a crime on witness protection you would be cut loose. Then the mob can come and tidy up. Being killed by a mobster is probably pretty good motivation to not commit crimes.
Check these out,

http://conorth.co/
https://collegecopywriters.com/
Wow, thanks for posting this! At first I tried to find reasons why knockout was still the light-weight champion, but ended up taking a look through Rivet's usage and info, it looks pretty amazing, and crazy lightweight.

Only thing missing is a capable router, and I think you'd be off to the races with this thing, awesome.
> Which is why sincerity is essential. True, but you don't get to turn back time and choose a different option if the answer you pick is wrong, no matter how sincere you are.

Perhaps there has been a misunderstanding. Questioning love = paying sincere attention to one's own feelings as they go about their daily life without necessarily changing the conditions of it (such as quitting one's family and eagerly trekking to the East for some meditative drug experience), and asking oneself why one is not having fun (if one is indeed not having fun).

> Right, but what they do have that you do not is experience. [...] the only chance you've got at making an informed decision with regards to EOL (which is essentially end-of-experiment), is by consulting with those who have experience, right?

My intent is in regards to leading an enjoyable life and not making informed decisions (to whatever factor) per se. Reading biographies of people of older generation, or looking at sociological or anthropological studies sufficiently demonstrate that the older generation are no better than us in regards to enjoying life without sadness, loneliness, and so on (to the contrary, they often held love as a sacrosanct and consequently suffered its shortcomings) ... and as such are not a reliable source to draw inspiration from.

> wouldn't "enjoying company" be indicative of love in operation?

Do you have memories of having fun playing in the school playground, or at a carnival, as a child?

> If you removed the ability to relate to another human, how could you possibly enjoy being in the presence/interacting with another human? Do you have any examples of a being/thing you couldn't relate to that you enjoyed interacting with?

Yes, I have childhood memories of having fun playing with fellow children, and as far as I can remember it required little "relating". Lately as an adult in early 30s I do occasionally experience (mostly as an unintentional result of near-constant awareness of deeper feelings) such spontaneous moments of having fun with people, or on my own, which leads to the increased confidence that life can indeed be better without love.
Check these out,

https://collegecopywriters.com/
http://conorth.co/
got rejected as well... not surprised though - the only founder. Well, I'll still keep working on my product no matter what.
It might be simpler to think of these "numerous micro-satellites" as a single, larger satellite. They'll share the same orbit and speed. But they will, in my opinion, be less likely to cause a cascade. Any object they impact will likely be left intact and have less energy transfered to it than if the micro-sats were a single solitary object with the same mass.

To answer your question: no. As the sibling poster and the article mentions, these micro-sats will only be in orbit for a few weeks. So there is no accumulation. The solution to space debris right now is avoidance for existing sats and decaying orbits for future satellites such as these.
0/10 Bad clickbait article is bad.

I recommend people who actually want to know what Bill Gates said to just read the Atlantic article (http://www.theatlantic.com/magazine/archive/2015/11/we-need-...) this piece refers to which was also mentioned earlier on HN.
Good HTML output for TeX does exist in various shapes and forms, and in fact Pandoc is one of the weaker converters out there in therms of TeX coverage.

You would get better mileage with tools such as LaTeXML[1] or TeX4HT[2], which cover very substantial subsets of TeX, if not yet 100% feature-complete.

My own take on "Should LaTeX survive on the web?" is "yes, if it evolves to meet the paradigm shift". I wrote a detailed version of that position at [3].

- [1] https://en.wikipedia.org/wiki/LaTeXML

- [2] https://en.wikipedia.org/wiki/TeX4ht

- [3] http://prodg.org/blog/latex_today/2015-03-16/LaTeX%20is%20De...
> One of the great thing about tech is that it's pretty easy to switch jobs/work remotely/branch off and do your own thing.

Really? I'm not sure this is really true (though it seems to be a popular HN trope). There may be jobs everywhere if you want to "disrupt online kitty litter sales" or if you want to work for "1/2 pay but KILLER equity after 4 years, bro!". However, is the market for normal, steady, secure tech employment really that healthy? As someone with a family and a mortgage, the number of companies I'd consider working for is shrinking day by day, and those companies are still very picky. I don't feel like it's even close to 1999 these days.

Is it really that easy to just go do your own thing? Where do you get your start-up capital? If "do your own thing" means be an independent contractor, where you you get your first client? Calling it easy is kind of a stretch.
> Why do children seem to be having innocent fun until puberty sets in after which the now-adult human forgets all about that childhood joie de vivre

Because it is the typical path of being a human being. If adults were going around having innocent fun after puberty there wouldn't be human beings now.

> (a pathetic cocktail of joy and hurt) centered on love?

It is different and personal of course. But I wouldn't want to live a life that didn't have that. It would boring and un-exciting.

> now-adult human forgets all about that childhood joie de vivre (a cheerful enjoyment of life; an exultation of spirit)

Not all is lost ;-) you can still find that when you have your own children! When I play with my kid, I am a kid again. We make paper airplanes, play with dolls, play tag and so on.

And I belive you get one more chance, when your children have their children!

I think depending on the perspective life can be very exciting (but even writing that in words sounds trite and boring).
I see what you are getting at with Haskell, but it's so easy to refactor. Are you taking that into account while you pose that question to yourself?
i cannot even get to the book on Firefox Android. maybe it only works with JavaScript? i just get one link "read it online" that takes me into a loop to the very same page.

it also does something weird, it prevents the browser address bar for scrolling out of view like it does normally when you scroll..

whatever this is, i truly hope what it teaches is not what the heck they're doing.
I am not convinced it's that simple if 1 application of jump threading creates a new opportunity.
The endlessly unreliable loop example in the post suggests that is is a halting problem to find out whether we should stop jump threading because we are unrolling an endless loop or not.
Regarding the last point on continued access to account information: opting-out from this is much worse than opting-in. Think of all the people who used homejoy and don't read HN - wouldn't they want the same?
This plasma engine could get humans to Mars on 100M times less fuel
Chile Girl's Euthanasia Request to the President
The FPGA on the Novena is connected to the EIM. The EIM is a bit of a pain to work with. Pavel (part of Cryptech core team) has done a good top level with much cleaned up constraints compared to what Bunnie provides.

If anybody wants to build FPGA designs for the Novena I would recommend to start with our top level design and build setup, just clone and go.

We get good performance out of the FPGA as configurable coprocessor.
The source of this news article:

http://www.who.int/mediacentre/news/releases/2015/herpes/en/
Boxed in – great short story about AI
It seems to be a rather incestuous industry when it comes to original content: https://www.reddit.com/r/EntrepreneurRideAlong/comments/2zez...
It's solving overwhelming amount of photos problem. Many people think it's a very competitive market, some even said "saturated", but look at users and current players, no solid solution yet. We don't want to avoid competition, instead, we want to provide a really working solution. It doesn't sound fancy, but it could be useful to many people. The user pain point might also not so obvious at this stage, but it will be more obvious along the time. Also, this is a "Vitamin" type of product (Refer to the "The Hook Model"). That's my thinking process. Please tell me where could be wrong. Thanks!
A clear example of too big to fail. If this was any smaller CA (like cnnic before), they would now be gone from the trusted roots.

I wonder what's coming out of this. Personally, I think Symantec doesn't care in the least about Google's sabre rattling here. It's clear to everybody that Google hardly wants to release a browser which doesn't display 50% of the encrypted web sites.

This is a further issue with the current PKI: too few CAs are around (after symantecs buying spree lately) which gives them way too much power to do what ever they want. Furthermore, the process of acquiring a certificate (especially an EV one) makes switching CAs very burdensome, so not even bad reputation will compel people to leave.

What a mess.
> The US/Canada border isn't really as secure as you think

I accidentally crossed it when out for a run one day. Only realized it much later.

Also: Last time I was there they didn't have a sheriff anymore, so the only visible law presence was the border guards.
Ok, we'll put "half" in the title. Seems pretty mild on the linkbait spectrum, but still, that's a good edit.
Is there a particular reason why it's not supported?
I think that's less about the browser vendor and more about the CA. The Symantec CAs are the most widely used on the internet (They bought Verisign's CA business and roots) and are used on 4 of the Alexa Top 10 websites (so I'd assume a similar percentage of the rest).

If a browser vendor just kicked them out, users would abandon that browser - just imagine if 40% of your common websites stopped working.
Nice to see firm getting noticed. It's a really promising project.
Off the top of my slightly drunk and exhausted head:

Hands-on education opportunities for students.

A Dyson swarm could theoretically watch and record space in all directions all the time. We could (with great expense) build something like that in orbit around the Earth. These could be used as a proof-of-concept or to locate problem areas that are difficult to brainstorm on Earth.

I'm sure there are some astroimaging applications, though without knowing the specs of the sats I'm not sure what they might be. My first thought was gathering data outside the atmosphere to correct images taken on Earth.
Fixed, sorry for that
> You're dismissing out of hand the best resource we have to living better lives - the accrued experience of our older generations. That just seems foolish to me.

Except I'm not talking about "living better lives." The "better lives" wisdom of older generation usually means "make the best of it [with love, of course]."

Whereas I'm talking about questioning love itself. What is life like without love and the associated feelings/beliefs? I'm interested in a perfect live; a life full of enjoyment - and the older generations have nothing to offer in that regard (to the contrary, they favour love and as such tacitly prevent any questioning into it).

>> Why is it necessary to relate to fellow humans when they are already here on this planet?

> The fact that you're posting this question on a message board for other people to read,comment on, and interact with suggests that you don't believe the things you're saying.

The word "relate" is used in its affective context, stemming from hardwaresofton's use of shallow/ deeper relationships. Thus for clarity I'd rephrase that question as: Why is it necessary to feel a relationship/ connection/ bond with fellow humans when they are already here on this planet?

I'm quite, if not fully, confident that love is a hindrance.
I disagree, though I guess it might be over semantics.

The hamburger button is common, but it is not any clearer to the user today than it was when it first started popping up - and for good reason, because the hamburger button was never a well-defined piece of UI.

The hamburger button is literally the Everything Button(tm), and as such it's unlearnable, because "Everything" is different for every single app, and "Everything" is far too broad for users to develop expectations around.

So maybe we're arguing over semantics about what's a convention and what isn't - the hamburger button is an incredibly common UI element, but the users never learned any conventions around its use, because there were never any.

And this isn't just idle complaining - in every single app I've ever done, and in all the apps where I've had visibility into user patterns, and with all of the mobile devs I've been able to ask this question to, the answer has been unanimous - when subject to quantitative testing, the hamburger button falls apart.

Screens placed in hamburger button menus receive way fewer clickthroughs (1-2 orders of magnitude) than screens that are clearly labeled by buttons or tab bars. When placed in situations where the user is unsure how to proceed, the hamburger button is literally the least touched UI - users will touch just about anything before they touch the hamburger button.

Putting features behind hamburger menus is quantitively a death sentence. It's a great way to guarantee it gets minimal (if any) exposure to users at all.

So I guess I'm being a bit roundabout - but the distinction I'm trying to make is that while developers seem to think the hamburger button is well-established convention, this does not bear out when observing user behavior. "Users know what the hamburger button does" is a faulty assumption.
For some context, there are already tens of thousands of pieces 5cm and up of debris, so a few hundred cubesats a year won't (immediately) make a huge difference. Cubesats are supposed to be able to put themselves into orbits that won't last more than 25 years, although not everyone has followed the guidelines. But, there are a lot of cool solutions out there for deorbiting Cubesats, even for ones without propulsion. There's a few ways you can increase drag when your mission is over, like having wings that'll create more drag when oriented a certain way, or sending out a big balloon. A more sci-fi sounding method is to use an electromagnetic tether
Good Online Courses for Startups?
Any recommendations for ecourses / Udemy / videos that have teachable skills for startups?
Instruction sets very much can be fast or slow, at least in the context of discussing specific use cases. Many of the inner loops that take up most of the active cycles on a CPU today (crypto, compression, imaging, signal processing, linear algebra) have very specific code patterns that are can be targeted with specialized instructions that provide integer-multiple reductions in instruction count.

Let's assume that application-targeted instructions can reduce the size of the inner loops in these applications by 2x. Even the RISCiest cores do not, in practice, run at 2x the clock speed or 2x the issue rate of cores with application-targeted instructions. Thus, ISAs with baked in support for these use-case accelerating instructions will be more performant.

The RISCy core probably wins on mm^2, but a perf/mm^2 analysis will be highly dependent on how well designed the application-specific instructions are for area conservation.
Which may be another reason to bring them back: They probably taste really good.
I agree. But Boston is one of the few places where there are a decent number of such opportunities. Most of the big tech usual suspects have engineering offices there, and RedHat has an office there as well.
Cloudflare has secretly enabled 2 PoPs in India
Microsoft Sunsets 'Sunrise Calendar,' Will Roll Its Features into Outlook Soon
Haven't received anything yet. Does this mean anything?
at the expense of code size. For hardware with branch prediction, speculative execution, and prefetching, this can greatly improve performance

...up to the point when other code starts getting pushed out of the cache. This seems like an odd statement to make, since the transformation appears to be, like loop unrolling, of most benefit to processors which do not have features like branch prediction/OoO and thus very strongly prefer to execute "straight-line" code with as few branches as possible. Examples include early RISCs and the Pentium 4.

Also, the article describes something slightly different from both the GCC manual and the Wikipedia article - these describe an optimisation which rewrites chains of jumps into direct ones and does not involve duplicating code.
Great point, I suppose I was just judging it entirely on the end result.
How is that related to the parent's point?
You've seen ads, unless you've managed to avoid almost all video content. They're just "native ads" -- advertisements worked into the content itself. It's just another evolutionary arms race...
Phone gap issue: Android Build fails – “ANDROID_HOME is not set”
But is the an 'OBLIGATION' for them to serve you content?
As such if they want to serve content with ads they have that right. You always have the choice whether you want to view their content, with ads and all. You dont have a right to their content.
Eating clen and trenning hard does seem to negatively affect health of a person. And there is hardly any top athlete that has not taken such stimulants.
The Washington Post certainly is not going to win that war.

For tech-savvy people who understand the issues an ad-blocker might be worthwhile even if it means some websites don't work temporarily while the ad-block developers think of new ways around things. For more typical web users though, the Washington Post's approach will result in a line of thought like "I installed that software and my Internet broke because some websites didn't work any more. I'm going to uninstall it." It's not unreasonable to believe ad-blocking might never become a mainstream technology that enough people use for it to change the way websites are funded. That, I would argue, would mean the ad industry has won the war.
It's probably not only geographic distance, but also relative size of the subfield that plays a factor -

Ever since my PhD I worked with a relatively minor plant and have been doing so for the last 5 years, I now know all "major" people in my sub-field and they know me, which made finding unbiased reviewers for my thesis quite hard.

I regularly bump into all of them at the same conferences, they are the only ones who can gauge my work for committees etc. Citing them negatively would be career-suicide (well, it depends on the cited person - a few would probably be alright and be happy that their work is being improved, others would deny my existence. I've actually published one paper improving another guy's work and showing his flaws, I've included him as an author to soften the blow, which isn't unethical since he also supplied some data, he did some work).

If I would work in a bigger field (say, HIV) it wouldn't matter so much.
I don't think the mob has the skills to perform an operation on this scale for an uncertain payoff. They might be willing to pay someone else for information about someone they happen to be interested in. But a fishing expedition that is outside their area of expertise. Not likely.
Best Open Source Cms for E-Commerce Website
Anyone knows Best Open source cms for e-Commerce Website. Please give one of the e-Commerce website link which is built on CMS systems
> Why is reinventing the wheel considered a good thing?

It's not. There just is no shim for java.time currently! Even worse, there could be licensing issues[1].

EDIT: That, and some of us are unfortunately still on JDK7 until the next Ubuntu LTS. Not that that's scala.js's fault, but it's a practical issue.

EDIT: ... and of course having a duplicate implementation of java.time (JDK + the shim-which-is-basically-a-reimplementation-in-JS) could be considered "reinventing the wheel"! :) If you have to reinvent the wheel, then doing it such that it at least behaves completely consistently across all backend platforms is preferable, IMO.

[1] https://github.com/scala-js/scala-js/issues/1618
I had settled on AsciiDoc, but I'll reconsider pandoc. It seems to be very popular.
Coolest Landing Page
Sweat, Blood and Beta. The Blueprint for Beta Program
Thanks! Url changed from http://www.theverge.com/2015/10/28/9625636/rf-capture-mit-wi....
It's also just WAY too much work to kill an informant using that method, unless it's a big time boss. In which case they'd use other ways to try and skip trace them instead of setting up an enormous botnet of hacked school networks, which doesn't sound trivial whatsoever. This is the mob, not a black hat hacker shop with billions of dollars to spend on SIGINT.