skysight-inc/HackerNews huggingface dataset:
Show HN: I Moved from AngularJS to Plain JavaScript with Route.js and Include.js
Hey HN,

I've been wanting to move away from from JavaScript frameworks and use equally powerful libraries with a fraction of the bandwidth cost, and recently did so with my game engine's GitHub Pages site.

I wanted routing still, and markdown to HTML conversion, since I'm pulling from .md files on our GitHub wiki section.

Here's what the website looks like now:

http://planimeter.github.io/grid-sdk/

And here are the libraries I wrote to make the transition:

https://github.com/andrewmcwatters/include.js

https://github.com/andrewmcwatters/route.js

https://github.com/andrewmcwatters/data-marked

Edited: formatting
Since when was "Concorde regulated out of existence"?

Wikipedia says it's simply because of economical reason it was retired: https://en.wikipedia.org/wiki/Concorde#Retirement

Not every failure is an anti-free-market conspiracy.
They block all autocompletes of the form "firstname lastname liar" and other similar words.

For example they block "hillary clinton liar". They allow "hillary liar". They block "donald trump liar". They block "george bush liar", they allow "bush liar".
Data was released as a response to FOI request. Finland might be the first country where annual subscription fees for all individual publishers and all major research institutions have been made available, spanning the years 2010-2015 (link to the data can be found through the first link and the last link of the following pages).

Release notes:
http://openscience.fi/-/transparency-and-openness-to-scienti...

And data:
https://avointiede.fi/web/openscience/publisher_costs

For example, publisher Taylor & Francis has costs have increased more than 20% per year in 2014 and 2015.
What machine learning can tell you about Trump and Clinton
"tax it properly" Define properly.

We are afraid of possible feedback loops destabilizing ice sheets much earlier than predicted? Maybe the price should be 5x what it current is?

If emitting CO2 causes unknown massive harm, then it seems sane to figure out a CO2 neutral method to create these liquid fuels that jets require. That would seem very expensive, with current technology.
It was viable in that it broke even on its running costs, but towards the end it wouldn't have covered the cost of actually acquiring the aircraft, nor any major expenditures such as upgrades required for safety or compatibility with newer systems.

Concorde used to serve a lot more than just the NYC-London/Paris route. It used to serve Bahrain, Rio de Janeiro, Dakar, Caracas, Washington DC, Miami, and Mexico City. Those faded away due to a lack of demand. (Ignoring Dallas and Singapore, as those failed due to restrictions on supersonic flight.)

I'm sure a new design could be a lot more economical. Of course, regular airliners have become a lot more economical as well, so it's a tougher bar to clear.
> electric motors which will certainly always be sub-sonic

Why is that?
I know you're right but at the same time I can't remember the last time I had to use the analog hole to save some kind of media.
Concorde was more-or-less viable for BA (though not for AF).

Can you elaborate, or direct me to a source?

I'm genuinly interested.
Yes Windows does disk caching. This looks like a nice explanation:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
Yep, I mentioned this at the bottom of "monad it".
I agree with some of the stuff in here but...

> So while Apple will be successfully pushing its customers towards its Lightning port powered headphones on an established (Apple) standard with readily available products, Android OEM’s that choose follow Lenovo fight a largely uphill battle and an empty ecosystem.

This is nothing short of ridiculous. iPhone users have a bit more spending power, but android still represents a huge majority of smartphone users. There is just no chance whatsoever that headphone manufacturers don't target android. We might see a very brief lag while android sort of "switches over," but in the meantime everyone else can just use 3.5mm like they always have.
It would take roughly 900 days to upload the data at that speed.
Scorebot: Make everyday conversations a competition in Slack
Without Scalia, Legislative History Cited Without Dissent
Is the "analog hole" still an issue for music, now that all-you-can-eat streaming services have become the norm? Is anyone using their 3.5mm jack to capture a Spotify stream?
Facebook contacts are my friends, at least for some value of "a friend". LinkedIn contacts are not.
I can't up vote this enough, this absolutely true.

This is the same arrangement I have at my company (me the CTO), I can focus on the code, architecture, devops and the VP Eng. can help build the team, work out personal troubles with the developers. Obviously there needs to be a good relation between the two for this to work.
Bash v2.04+ does something similar, in that it lazy-loads completions. As soon as you type `git ` <kbd>Tab</kbd>, it runs `_completion_loader git`, which determines what file to source, in this case `/usr/share/bash-completion/completions/git`.

I've been on the lookout for something like this. I just clocked in all my Bash startup files at 4858 lines, so I sure could use it.
The video was talked about briefly on HN before being flagged: https://news.ycombinator.com/item?id=11871248

Vox showing counter examples: http://www.vox.com/2016/6/10/11903028/hillary-clinton-google...

Google denying it: https://search.googleblog.com/2016/06/google-search-autocomp...
They also hacked volume+pause controls onto the jack using flaky impedance tricks. I've had bad luck getting those controls working with TRRS extension cables.

People also use active noise-cancelling headphones that require their own battery.

I'm a bit nervous about the transition away from the classic 3.5 jack, especially since it looks like it'll probably be a standards war between the Apple and Android worlds. There are, however, some nice potential advantages.
I was wondering this too, but I think half the reason the stock jumped up to ~192 is due to the sentiment of this acquisition being approved by the FTC.

Since it's a cash deal, you'll miss out on ~$4 share, and since you bought in Feb/March, you'll end up paying your normal tax rate in capital gains. My guess is they approve this deal before Feb/March so no clear advantage holding for that reason.

Perhaps someone else could chime in as well?
I got my Bluetooth headset to pair and work with my laptop (2015 Dell) and Windows 8.1 for all of an evening before the audio stream quit. After around 4hr of troubleshooting and a few subsequent sessions in the office, gave up. That was about 6 months ago. I've reverted to a USB wired headset.
I use quite a few index cards as well. I recently outlined an ebook I'm writing, a card to each section. I'll use them to physically map out the flow of products as well - use a card for each feature/ button and move them around. I also use them to make drawings, some of which I saved and published in a zine.
it is true the skype has some issues since MS acquired them, and there were some changes/decision made on it which I disliked, however, it is performing better lately. hopefully it will turn around.
tl;dr: If there's no reason to get an MBA as a promotion-track engineer, then not only will none of your promoted engineers will have MBAs, none of your promoted MBAs will have practical experience being a great engineer.

They wouldn't, of course. And that's really the problem.

If you don't have mid-level technical managers with MBAs, you don't get to promote/hire VP-level technical MBAs.

An MBA does teach a lot of valuable skills. As many smart technical founders/leaders have crashed up against the corporate rocks of running a major division/initiative as business leaders failed due to distance from execution.

Right now though there's no role, and no opportunity, for a mid-tier (post-MBA) capital-E engineer. So there will be no MBA-toting, engineering-aware VPs.

Without business-fluent engineers (or engineering-fluent business folks) companies are deprived of interdisciplinary innovation. You get financial programs which ignore technical needs, and great inventions which don't have a market. Promotion which doesn't represent reality and deals which can't be executed.

Most of the frustration engineers have with business people is not that business folks can't do business well, but that they don't do so understanding the underlying technology.

And until there's a reason to want a techie MBA (or business-y Eng) at a sub-VP level, this isn't going to get better.
> the government does not fund software that competes with a commercial product

That is such a ridiculous constraint. Do they mean that, if I start selling tapped water for $100 a gallon, the government can not provide its citizens with an alternative? Obviously it both can and does in many important areas (water, education, electricity, roads and defence to name a few). The decision on whether government should be active in a market should be based on an analysis of the benefits it can bring to society – be it savings, innovation or equality of opportunity.
Ask HN: Is there a U.S. legal guide with legalities of what can/cannot be done?
For example, I know there are a number of pitfalls with incorporation and issuing stock and stuff like that.

Or paying people in equity and not running afoul of minimum wage laws?

Basic things like that kind of stuff so people don't shoot themselves in the foot with seemingly minor things that become major later on.
Gotta fix your link!
That's an absurd comparison. The visa holder is not bonded and can return home at any time.

The work visa system is obviously broken. Forcing employers to put a dollar value on these supposedly necessary visas goes pretty far to fixing all the problems.
There was an extended forum thread (on pretty much all aspects of Concorde - went on for tens or hundreds of pages) that was linked from here once - afraid I don't have it to hand.
Ask HN: Best FOSS presentation software?
I currently use Keynote for most of my presentation work, but I generally prefer FOSS solutions. I haven't been able to find any with the quality of PowerPoint or Keynote.

Ideally, something like Prezi would be even better.
Retraction Watch – Making scientific retractions more visible
Emigrate.
What does that mean to Scala?
The complete rumor I have heard over the years was a gentleman's agreement between CRM & LKND
Railway stations may be the next cyber cafes of small-town India
TPP the largest cross-national, non-military cooperation pact of our time. It's a huge power play with serious geopolitical consequences that go far beyond Google.

Nonetheless, Google benefits from TPP because it enables them to shift operations to areas with lower costs, and not having their services blocked or censored in participating countries. They clearly feel that the advantages of TPP outweigh the drawbacks. I don't expect a public corporation to oppose a trade agreement on grounds of protectionism or ideology.

Author cites expansion of copyright and corresponding limitation of free use as specific problems with TPP, but Google comes out in support of those points. Analysis of other problematic provisions of TPP would serve to make the article more persuasive, rather than stating that Google is wrong on those grounds.
Reduce Hosting Cost with GCE-Manager: Auto-Manage Google Preemptible Instances
Actually looking forward to MS's UX folk cleaning up LinkedIn.

Along those lines, maybe they'll fix the very broken email alerts for group postings. For quite a while, my experience has been that if I have it set to weekly digests I do get them weekly as expected, but if I set a group to daily digests I get nothing at all. So I get nothing at all for the groups that I have the most interest in. I opened a support ticket about it but got nowhere with it. I don't know if this impacts everyone or just some subset of users, but I've seen others complain about it.
In certain areas such as games, GPU, etc C++ still rules, which is why I restarted on c++ nowadays.
I rarely check my Facebook on my phone but when I do, I use their website.

But for a few days now, every time I tap on the messages icon it bounces me to the Google store app for their messenger. I literally cannot see my messages anymore!

A workaround is to change the user agent (is that the word?) by requesting the desktop site. Then, the m.facebook.com domain is a bit more tedious to use but it works and I can see my messages. The www.facebook.com domain is unusable on your phone (rescaling is completely broken and text boxes don't work on my phone, so I guess they didn't really do a good job there).

So now I'm stuck using the mobile version of their website as seen from a desktop browser.

Great User Experience!
> This is a classic business (Enterprise PBX and Services) with lipstick on it.

In this case that "lipstick" is one of the most popular APIs in the startup world - you'll need to face the fact that this is a big selling point.
You're right, that's a typo. I even wrote it out correctly later. I'll fix that. Thanks!
Not all users are equal, I'd argue a LinkedIn user is worth more than a WhatsApp user
Need career advice: which job should I take?
Throwaway account and I've tried to avoid giving details of specific companies. Here's my situation:

I have two job offers in front of me, both for startups in NY. I am a software engineer that has been working in the industry for about 5 years.

#1

Very early stage, seed-funded start-up. I would be joining along with two or three other engineers. My role wouldn't be as clearly defined as in #2; I would be working with this founding team to build out the product.

The company is building something in the social media space (which I'm not crazy about). I have some doubts about the viability of the idea and the future prospects of this company. However, the founders are both impressive guys who I would like to work with. One is a successful entrepreneur with one previous exit, and the other is a very strong engineer with a really impressive resume. They have expressed to me the intent to hire a really strong engineering team, and I believe they will.

Opportunity would probably have me growing into new areas/technologies. I would be apart of building something from the ground up.

#2

Also early-stage start-up, but slightly further along. Was founded < 1yr ago and the business is already picking up speed. They are looking to do Series A in the coming months.

The company is in the FinTech world and is also a consumer-focused product. I would be joining the team to own a specific part of the platform and have a role/title that makes this very well-defined.

The team is about 5 engineers already. The founders have backgrounds in finance; two of them are previous entrepreneurs with successful exits as well.

This job is paying about 10% more than the second.

-------------------

The equity stake I would receive is the same percent of each company. Which job should I take? Which job will be better for my career long term?
Defining "properly" when related to taxes is too difficult for a HN comment. Also, I'm neither a climate scientist nor do I consider myself an expert in economy. I'm rather concerned about climate change, so my numbers would likely be much higher than necessary.

But I'd suggest putting a bunch of scientists in a room for a while to figure out the environmental impact and define some acceptable limit of yearly pollution. Then raise taxes until we're under the limit. Or something similar.
I am currently a grad student at a top5 university in US and been at a top5 in India. I can say from experience that LinkedIn is dying and no longer valued as professional profile. LinkedIn had a nice concept of connection, however after a few accept alls I have 500+ connections with a similar amount pending. The messages I receive are garbage, the feed is stale. There is no incentive to open the website and I have unsubscribed from all their marketing email as they are ~ spam.
Maybe this is just me but I feel WhatsApp is way more popular /useful/growing and Microsoft paid more than that for a dying network.
> What value is added by buying LinkedIn for $26G?

1. Integrate Skype into LinkedIn
2. Add a shared chat screen (video group chat)

This will allow many Human Resources to perform interviews more efficiently (in return to subscription). I can imagine many other new attractive features MS could easily add (e.g. syntax highlighting in group chat).
I'd be OK with killing the audio jack if it was replaced with a common and better standard. But right now, my laptop will have a 3.5mm jack, the iphone 7 will have a lightening port, and any other device will likely use a USB based port. I just have zero appetite to walk around with 3 different earphones or to have to carry multiple dongles in my pocket.

I am not going to follow manufacturers on this until they have a solution that is convenient. And that's just to remain at par with 3.5mm in term of convenience. Now what do I get for having to replace my headset? Am I really going to notice the difference in quality when I am travelling? Really? It looks to me that it is rather another pathetic attempt to lock people into their hardware, with only Apple approved earphones being compatible with the iphone, etc...
Bullocks. Almost nothing is region-exclusive. What you'll see instead is that 80% of the South and 35% of the North supported slavery, which when you average them together you get the wrong answer. Then the federal government passes the Fugitive Slave Act instead of letting every slave in Virginia escape to Boston, which would have destroyed the institution faster and with a lot less blood than Lincoln providing the catalyst for secession and war with a blatantly undemocratic abuse of executive power.

That's how it goes. You can't expect the US Congress to do the right thing. They pass the Fugitive Slave Act, the Defense of Marriage Act (signed by B. Clinton), laws against abortion, laws favoring banks and coal companies at the expense of the poor and workers, etc. Read Roe v. Wade. The court wanted to do something that Congress wouldn't but they had no justification for doing it, so they made one up. It's utterly contrived. Striking down DOMA was only slightly less contrived (and 5-4 instead of 7-2), and only because modern courts are getting so much better at contriving things due to all the practice.

But the same Court gave us Dred Scott and Buck v. Bell and Bush v. Gore. The same Office of the President gave us Hoover and Nixon and Bush Jr.

Gay couples are only happy today because Justice Kennedy is the swing vote, but Kennedy was appointed by Reagan. If Reagan appointed somebody else then DOMA is upheld and any state can ban same sex marriage. So we have a federal government that will pass DOMA with a large bipartisan super-majority but strike it down by the narrowest of margins, when we could have one that much more clearly has no authority to be involved in the matter at all.
AI that produces sound through analysis of a source video is impressive. Fooling humans is not. Since most of us have grown up on a steady diet of film and television many of the sounds we have in our memories are the work of foley artists that add sound effects to sequences in post. The sound of horse hoofs on cobblestones is likely created from a percussive technique that has no equine participation. The sounds of people being punched may be the sound of a large piece of meat being struck with a club. Similarly crunching snow likely is not the sound of a person walking through actual snow.

Our perceptions of sound within a video/film source is already deeply skewed and therefore the notion that this AI is a Turing test of sorts is a weak analogy.
YouTube's war against veganism
This is one of the main goals of a tech manager: "some of the best managers have been the ones who shielded their employees from bullshit". If a manager of a tech group isn't doing that, they're failing at their job, and likely have some form of attrition problems, quality issues, feeling of uncontrolled chaos, etc.
You mean they bought Yammer. Yelp is still independent and publicly traded.
Also, if there is anything officially linking you as an officer in the company (you state you were CTO), you could be held partly liable for the tax/wage fraud if you don't report it. (IANAL)

Even if that were not the case, I say report them. You'll be helping the other people in the company that you like by preventing the CEO from walking over them in the future (if the CEO would do it to another officer of the company, they would certainly do it to the rank and file). It will also set an example to other start-up founders not to screw over people they want to employ.
> The mid/senior leadership of the best known companies hires all thr available techie MBAs.

This is false, and also misses the point.

I went through two recruiting cycles at HBS (Harvard Business School), which is one of the largest (~1000/yr) and most representative business schools. I did not see a single position advertised which required actual engineering experience. I was also one of three people (in 1000) who had a job before school which required writing code.

There were plenty of companies which would have loved to hire a solid engineer, but the job they'd be hired into would neither require nor use those skills. I could certainly go work in Product Management at Google, for instance; but why would I want to? My better path to VP at Google would be as a coder (if I wanted to be a VP at Google).

> There are few CTOs because a 50K employee company only has 1 CTO. Others are CEO, COO, CIO.

There is 1 CTO in the HBS alumni database. There are more than 36,000 CEOs. CEO-CTO is probably ~2:1 in the real world.

ps: data mining the HBS Alumni database is fascinating, btw!
>The DACs in Apple products have a very good reputation going all the way back to the early iPods

I do not think this is the case at all. I recall the early iPods being blasted for their sound quality. One of the huge "wins" for the Microsoft Zune over the iPod was the audio quality. Everyone I know who owned a Zune was an audiophile.

I have no idea what the sound quality on current iPods/iPhones/iWhatevers is like. Maybe the DAC on the old iPod was held back by the codecs that Apple chose to use at the time. I know Apple created ALAC, and improved the quality of the lossy codecs at some point. Regardless, the audio quality of the oldest iPods was poorly regarded in general.
Could it have something to do with your settings? I have a friend that I only contact via Facebook Messenger on my Android phone. Even on days when we actually talk, Messenger isn't taking anything near 10% battery
Pthreads on Linux encourage holding the lock during a signal or broadcast (http://linux.die.net/man/3/pthread_cond_signal):

The pthread_cond_broadcast() or pthread_cond_signal()
functions may be called by a thread whether or not it
currently owns the mutex that threads calling
pthread_cond_wait() or pthread_cond_timedwait() have
associated with the condition variable during their waits;
however, if predictable scheduling behavior is required,
then that mutex shall be locked by the thread calling
pthread_cond_broadcast() or pthread_cond_signal().

They don't define what exactly "predictable scheduling is", but the message that most programmers will probably come away with is, grabbing the lock is probably the better thing to do.
Exactly 0 people have ever been in the category "enemy soldiers" since WWII because we haven't declared war.
Yes, it lists them, but not in the context of defining crimes or punishments. It is granting to the new government the authority to define, determine the punishment for, and prosecute those crimes. In other words the document does not "govern the people", it, as part of defining the new government, grants it (limited) power to govern the people. But still subject to the future whims of the people. Get enough people to agree, and you can remove the authority to punish treason.