skysight-inc/HackerNews huggingface dataset:
The S&P 500 is just a list of the largest 500 companies by market cap.

Managing the S&P 500 fund is actually pretty tricky since everyone knows when the index changes and they know what trades you have to make so they try to take money from you. You have to employ a lot of tricks to avoid being victimized as an index fund.

Edit: I should point out that the index isn't really _just_ the largest 500 companies; they try to keep it properly weighted by sector and some other considerations as well.
There are plenty of places in the US that do that, and it helps some.

But we already know from extensive study of political systems in modern democracies that the biggest reason for low turnout in the US is the fact that very large groups in the electorate see no candidate that represents their interests well when voting, and see no strong basis to select between the viable choices, due to the partisan duopoly produced as a natural result of the combination of majority-runoff and plurality elections for most offices.

If you really want to improve participation in US elections, fiddling with the mechanics, scheduling, and incidental related features of casting ballots without changing the electoral system in a fundamental way isn't going to have more than marginal effect.
That's funny, my own carpel tunnel symptoms improved a lot about 6 years ago when I switched to a unicomp keyboard.
You can use a back-end in Python, Node, PHP, or .NET Core. The size of your back-end doesn’t factor in, just the markup, CSS & JS you deliver.
>Does it?

Yes, walking 2 miles with a two and five year old is awful. I suppose the experience from person to person is different, but I find two-year-olds to be quite selfish with short legs making them bad walking companions.

>Also, there is sane public transit which is helpful if your toddler doesn't like to walk anymore.

That sounds like not walking to me, but whatever.
Other useful ones I use everyday:

gdh -- git diff HEAD (what have I modified since last commit)

gl -- git log --graph --oneline --all --decorate (ASCII graph of all commits on all branches)
Should there ever be a fear of being stuck with one technology, or language while at a job (or in a career?)

Currently I write .NET but I don't know if that would be the most interesting career to ~only~ write .NET (I'm a recent grad)
Systemwide Outages: RideCast with Marc Farley on Delta Woes
My company got hired for 2 very large MongoDB to MySQL migration projects this year alone totaling over $170k. These apps should have never been on MongoDB in the first place. Total mess that cost them lots of $$.

I am okay if others continue to use MongoDB. It will keep my team gainfully employed ;)
First 7 languages
Yes I read the article. There's nothing pragmatic about it. There are no major flaws in the mail voting system, at least not in CA. Registration takes only a few minutes and then they mail you a ballot every election. If voters can't be bothered to do that then it seems unlikely they would actually show up and wait in line at a polling place.

If companies want to give employees an extra holiday then sure, go ahead. But that won't increase voter participation.
For a bit more context:

Twilio announced its first earnings after the IPO

It's tripled since IPO price of $15

Today they're trading around $48.70

http://amigobulls.com/articles/is-twilio-inc-stock-a-buy-aft...
That is a scary thought.
People forget just how awful early versions of Java were in comparison to what we have today.

Old school Smalltalkers don't. Especially when the CEO of the major Smalltalk vendor at the time decided to try and turn the company into a Java company. (This basically resulted in revolt and implosion of the company.)
I'm talking about "durability" here in the context of the "D" in "ACID".

Previously, Mongo had very serious problems in that are because its client would assume that any message sent to the outgoing socket buffer was persisted "well enough", which was an obvious untruth [1]. This was also one of the somewhat underhanded techniques they used to achieve their early benchmarks.

As of version 3, they have defaulted their client's "write_concern" value to "1", which means that it will wait for confirmation from a replica set's primary before considering a value persisted [2]. This puts Mongo roughly on the same level as any other database in terms of durability guarantees.

Disk failure is entirely tangential to your original premise that "Mongo loses data". I'm not getting into it, but there a variety of techniques that Mongo (and every other known database) can use to protect against that.

[1] http://hackingdistributed.com/2013/01/29/mongo-ft/

[2] https://docs.mongodb.com/manual/reference/write-concern/
Hmm interesting...I wasn't aware of that. Must research.
I replaced mine when I discovered the 103-key layout keyboards... gave the old one(s) to friends.

Also, auto-hot-key script so that Win+[,],\ is volume-down,up,mute respectively.
Please read again. There aren't really any facts on this page that demonstrate whether or not LoP is an effective undergraduate physics textbook.

The page addresses two points: Feynman's fluctuating opinion of his own work, and the drop-off in student attendance (Feynman's opinion is then regurgitated as the third and final point). In fact, Feynman's opinion has no bearing on whether or not LoP is an empirically effective textbook. And regarding student attendance, the page argues against one person's recollection of dwindling attendance with another person's recollection (years after the fact) of steady attendance. Again, no evidence, just two contradictory and possibly flawed memories that have no bearing on whether or not LoP is effective.

The page provides as evidence an undated photograph of Feynman in front of a full classroom. When was this photo taken? Was it on the first day of class, or in the middle of the semester? Was it during a regular class, or a special lecture? We don't know.

Perhaps the LoP approach really is an effective textbook for teaching undergrads (despite Caltech abandoning it, no other nobody else to my knowledge successfully adopting its methodology), but the cited page doesn't provide relevant facts regarding the matter.
A draft worked well enough in WW II, when the Army fielded one hundred or so divisions. DOD doesn't want larger ground forces than we have now. What do we do?

The disability doctors of the Vietnam days could be very flexible. Would the FBI ask that charges be brought against a doctor who simply objected to the draft and disqualified anyone who was nearly on the borderline?
Here's a picture of the server the benchmarks were run on!

http://imgur.com/a/dMzU9
iTerm2 Finder Tools: Open iTerm2 from the Finder
> Here we have copies of user data inlined. This is Joe’s stream, and it has a copy of his user data, including his name and URL, at the top level. His stream, just underneath, contains Jane’s post. Joe has liked Jane’s post, so under likes for Jane’s post, we have a separate copy of Joe’s data.

> You can see why this is attractive: all the data you need is already located where you need it.

That doesn't sound attractive at all. That sounds more like a recipe for "we use five hundred times more RAM than the deduplicated data that we actually have" type of disaster.

...All for a production data set which could be "turned into about 1.2 million rows in MySQL." I think the moral is "If you think your data is too big for a relational database, you're almost certainly wrong."
Home-Price Gains Unfettered in Most Metro Areas During Second Quarter
> PNG and JPEG files are also universally usable outside of browsers.

JPEG files were the standard for photographs before the first browser was written.

PNGs are super easy to support if you don't care about gamma correction, so it's no surprise that they're widely used.

Vector formats are another beast altogether. Notice from your example that you can't include the EMF in latex either, since an EMF is basically a set of windows draw commands. I'm not sure about the current status of Postscript in Word. Years ago you could embed EPS files but they wouldn't display and only print if you had a postscript printer.

Vector formats are just difficult.
Release of Infinity for Game Boy Color in Unfinished Form
I'll try. People often say that students from charter schools outperform students from (other) public schools. If we let charter schools kick students out, we should let all public schools let kick students out so as to level the playing field.

Imagine we compare Denver Broncos against Miami Dolphins. Just a small adjustment. We require Miami Dolphins to let anyone who is a resident of Florida in the team. We put no such restriction on the Denver Broncos (because Go Broncos!) Now, we compare average 40 yard dash between the "average" Denver Broncos player and the "average" Miami Dolphins "player". What do you think will happen?
"Modules" refers to individual source files, not npm packages. A single npm package can contain many source files, each of which is a separate CommonJS module.

Most npm modules are small, so I'd expect in the average case that the majority of modules are actually your own app code.
For another famous, but also very slow series converging to pi, try

pi/4 = 1 - 1/3 + 1/5 - 1/7 + ...
The USA is a signatory of the United Nations' Declaration of Human Rights, which grants natural rights regardless of citizenship.
Anything with assets expressed as JavaScript modules is easy to get to 100. Architectures that include compile-to-JS templates like hyperscript/react/jade. Or where there are many variations on a theme, like game characters and sprite components. But once we're into gaming, users are way more tolerant of load times.

Any standard CRUD app or BI dashboard should be nowhere near 1000, imho.
I'm comfortable with the privacy-compromises I accept with my phone (iOS). I put my computer in a different category. It's not a social or entertainment device, although I do use it for that a lot. It's primarily where I work, and where I store sensitive or bulky information I've never carried on a phone. I need control over my computer. I can accept non-free compromises like macOS, as long as they continue to maintain the social contract with users. If you can't turn off key loggers and on your PC, that OS is unusable for me.
40+видов+энергии-+генераторы,+конверторы,+батареи,+двигатели+҉16+авг+2016+00:20+
Adventures in F# Performance
Disable JS and view on a small screen :-) It progressively enhances to that size. I’ll be writing about the process and design in forthcoming posts.

Smallest view (240px wide) with no JS renders in 6.9kB (DOMContentLoaded hit at 94ms, Load at 119ms). Also in play: client-side caching with ServiceWorker and some localStorage goodies to speed things up on modern browsers.
Users of the product may not know the product needs a new maintainer.
Indexes are often only a pointer to that data, and they are not denormalized, they are better described as projections of your data (this way saving the work of ordering/filtering on that same projection in the future.)
They would bid to try to track them, not to try to keep it private.
AWS ALB Review – The Container and Microservice Load Balancer
:-)

Although minification & GZip should even those out.
When I started university in 2010, we still learned C and C++ for first year.
I have a recently discontinued SaaS project with golang backend (deployed via terraform), iOS mobile app and Django web app.

I didn't have time to focus on getting paying customers so I decided to discontinue it after cca 3 months in prod.
Very much depends on the ETF. Some can have issues with contango [1] for example. This is a big problem with the oil ETFs.

[1] https://en.wikipedia.org/wiki/Contango

EDIT

To add relative context from the link:

A crude oil contango occurred again in January 2009, with arbitrageurs storing millions of barrels in tankers to profit from the contango (see oil-storage trade). But by the summer, that price curve had flattened considerably. The contango exhibited in Crude Oil in 2009 explains the discrepancy between the headline spot price increase (bottoming at $35 and topping $80 in the year) and the various tradeable instruments for Crude Oil (such as rolled contracts or longer-dated futures contracts) showing a much lower price increase.[10] The USO ETF also failed to replicate Crude Oil's spot price performance.
If only there were tools that allowed searching the Internet.

If only there were neighbors one could ask.

If only there were city council meetings one could attend.

If only one could mail a letter or make a phone call to the candidates, to ask them about things one considers important.

You get the information by going out and getting it. If you don't, you're saying "I don't care, at all". And those local candidates will often move on to the next higher level at some point. At which point suddenly "I don't care" turns into "we only have terrible choices".
I do the same.

If I'm doing something where I'm storing JSON (e.g., from an external service), but only care about certain bits of it, I'll store the bits I care about in columns, then put the whole JSON object into a jsonb column.

The key advantage that I see is that when I decide that a new piece of the JSON needs to be cared about, I can do something like this:

(modify data types as required)

ALTER TABLE blah ADD COLUMN newthing text;
CREATE INDEX ON blah.newthing; -- if needed
UPDATE blah SET newthing = jsoncolumn->>'new_thing';
Suit warns of Russian ‘back door’ into U.S. fingerprint systems
The Rust Programming Language remains as one of the best introductions I've had to a new programming language. I thank you for your work on it.
Nice, but useless. I suppose that I'm an old enough fart that the noisy and scrolly" doesn't bother me one bit.

However, the "blessed" library that Webpack Dashboard uses _is_ impressive:
https://github.com/chjj/blessed

That's an ncurses-like library with some really nice features. I will be using it.
github link has been taken down.
Slightly off topic, but the previous blog post's embedded tweet isn't centered like it seems like it was meant to be. Just caught me off guard and figured I should mention it.
It's a good question. I came up much earlier than the OP did, so I enjoyed comparing his path to mine. His story gives some context to how younger developers think. For instance, the kind of small enthusiast projects he was doing (webpages and php) were different from mine (interpreters or games -- single-computer stuff).

But there are still some similarities -- his reasons for learning vi(m) and (La)TeX were basically the same as mine -- word of mouth from people who knew more.
Just a quick comment, there's no date on the post, at least when viewing it via mobile. It's kinda important when you're reading an article with the title "what's new ... ". :)
After a `function call` returns its result, it no longer exists.
ArangoDB: the multi-pupose NoSQL Database
Is there a acceleration ? May be it converge much faster than rest of the method after say a billion precision point ?
That's why I like open plan in small spaces -- IE, a conference room with 4-8 desks in it for a single agile team. All business-related conversations probably apply to all or most of the team anyway, and at least for a development team the phone chatter will probably be minimal. The walls keep you from distracting unrelated employees with your discussions, but the openness keeps the highly-relevant people in the loop.
Not only that, they're projections which you don't have to spend effort on keeping up to date, and which the engine automatically uses to optimize your queries. While there's an argument to be made that the same can be accomplished in a non-relational database with suitable application code or a translation layer, all else equal it's better not to need those things in the first place.
SD Cards have a full 32-bit processor on them. You can find videos on hacking them. In theory, you can re-label a 32GB card as 16GB, create a 16GB journey and write two copies of everything stored to it. Then you just steal the card back and get all the data off it.
There's a fair amount of legal question with what the repo creators are doing: likely at least fraud and very possibly theft, conspiracy, etc. While GitHub does have safe harbor protections, once they're alerted to their service being used for illegal activity they do have to intervene. They can't knowingly continue to host such material and maintain their safe harbor status.
What I'd like to see is someone get xterm in Tektronix 4014 emulation mode with $EDITOR to run on the Kindle Keyboard. Because e-ink screens are exactly like the old Tektronix vector displays, in that adding a character/line/dot to the screen is much faster than repainting the whole screen. Should make for a much more useable experience.
"Shards are the secret ingredient in the webscale sauce, they just work.." :)
https://www.youtube.com/watch?v=b2F-DItXtZs
I can see the appeal for gaming, but not so much for typing... imho nothing works as smoothly as a model m as long as you aren't bottoming out, you can actually type pretty lightly, relatively speaking...
It is not just about spending the money; the diamond (and jewelry in general) is a signaling mechanism. It is supposed to communicate to OTHER people 'my spouse is successful and loves me this much'. A wad of cash does not do this, unless you literally carried it around on your hand.
> Nice, but useless.

For you, but not others.
#1 way of not making it pointless? Actually getting asses out of seats, so people vote on candidates that matter to them.

60%-70% of eligible voters sit at home, whining how their vote won't change things anyways. Guess what - it just might, if you actually voted.

The number of non-voters dwarfs actual voters. If everybody voted, they could duke it out with several independent candidates and still trounced the established ones. (Yes, that's an unlikely scenario. But voting has power - if you actually care to do it)
The Awesome Errors of Perl 6
>Actually that is the definition of a business.

The definition of something is not its justification.

There's a definition for murder too (including what is an effective murder, e.g. not getting caught, etc), doesn't mean it's ok to do it.
How long have you worked on diesels in order to be able to claim that?

How many cases of diesel engines with injector problems have you had during your career as a mechanic?

How much does, on the average, a diesel injector cost?

How often do they have to be replaced?

I've worked on diesel engines since I was a little kid, and have yet to work on one with injector problems.

The following are ultramodern mazda injectors, for instance; if you look at the spray pattern and the capability of these programmable injectors, it's pretty obvious it's going to be tough for them to experience problems:

https://www.youtube.com/watch?v=fDFgiLrEX1o

modern piezoelectric technology is wonderful, isn't it? And wouldn't you know it, all modern diesel engines sport piezoelectric injectors.

But let's suppose for a moment that you are correct, and that I'm wrong. Your logic has one flaw, and that is that in a diesel engine, I will (and have) get three times the kilometrage that you will get with a gasoline engine. Even if I had to replace all of the injectors, I will still have come out ahead. How?

Assuming that you are running the simplest, ultramodern gasoline V8 (I picked V8 in particular because that is the most reliable of the gasoline engines), if you maintain it according to the extreme maintenance schedule, you might get about 460,000 km out of it before requiring a rebuild. By that time, I will have gotten almost 1,300,000 km on the diesel and maybe need an engine rebuild, and that engine rebuild might not even need new injectors, if I changed my fuel filter every 15,000 km (which I do), and every 30,000 km added one liter of biodiesel to my tank!
I'm going replace my current Dell Latitude 14 inch laptop and yes it's a hard to find something decent on the market to run Linux even if price is not the issue. So far my top candidate is Acer TravelMate P648, I mentioned it here https://news.ycombinator.com/item?id=12290096 I first need to find a chance to try it in action.
> Managing the S&P 500 fund is actually pretty tricky since everyone knows when the index changes and they know what trades you have to make so they try to take money from you. You have to employ a lot of tricks to avoid being victimized as an index fund

I'd agree that managing an ETF is probably harder than most people think, but its very debatable as to if ETF's are being "victimized". Like the linked article says, if you want to buy large chunks of a company then you have to pay for it.

http://kiddynamitesworld.com/where-bloomberg-discovers-that-...
Ask HN: Bay Area Companies working in music/audio production
I am returning to the work force after too long in academia, and am interested in a shift in focus. Currently my expertise is in building distributed data processing systems, but I'd love to move to working on music/audio production software.

Are there any companies in the Bay Area (ideally SF) that are in this space? I haven't been able to track down much so far. Thanks in advance!
After some research in personal finance last week, I moved my balance from Wealthfront to Vanguard mutual funds/ETFs. I was already using them for my 401k. Their expense ratios are the lowest in the industry and they also have managed retirement funds you can use to replace Wealthfront if you are lazy. Here is a quick way to learn about the Bogleheads investment philosophy.

[0] https://www.bogleheads.org/wiki/Bogleheads%C2%AE_investment_...
I actually don't have any experience, but I heard this from wise people:

If you have a file store service, where you're storing relatively big files (big images, videos, etc) and some metadata associated to them which need to be queried.

It's easier to implement than "traditional" solutions (metadata goes in a RDBMS and actual files go to some directory, NAS, or whatever).

Also, apart from being a nicer solution from a programmer's perspective, you'll be able to easily scale horizontally because it supports sharding.

Like I said, I didn't tried this myself so take it with a grain of salt. Also, I don't know how that compares to storing blobs in a RDBMS.
It does this weird thing on desktop where the date is barely visible above the title until you mouse over it. Not sure why.
Looking forward to similar articles about Siri and Google Now.
Катионит ку 2 8 – Компания Оптхим
The seller (they get the money) and everyone else (the world can use the dump for free) but the payer (he payed what the rest of the world got for free).
Thanks! This is Svbtle, so I can't control that, but it's right above the title; though it's a light-gray until you hover.

August 15, 2016, for posterity's sake. :)
The HSM is only the backup, it is not the primary copy. Losing the HSM means you are down to 1 copy (the vault on your device). That means there is only a small window of exposure where, if the HSM goes down and you lose your device, your passwords are gone.

They could probably roll with duplicated HSMs to mitigate this somewhat.
Backlog, This Week/Month/Quarter, In Progress, To Be Reviewed, Done