skysight-inc/HackerNews huggingface dataset:
iPad Air 2 leather cases, but they are in the back

I have to chime in "me too" here; it's hard to believe that Apple is this stupid, but they are. No iPad Air 2 cases in the front of the store!

Here's my story, not that it matters much but maybe when Apple eventually goes bust someone will chronicle the litany of stupid decisions they made along the way.

I bought an iPad Air 2 over Black Friday weekend, good price from an authorized seller. A few days later I received it.

I go to the Apple store to select a case. I can't find any. Some sales drone says the cases are in back, since they only have a "limited" amount of display space.

Directly in front of us are a bunch of pegs on the wall. Each peg is capable of holding quite a few cases. But each peg has exactly 1 iPad Pro grey case. There are six pegs next to each other, two rows of three. Each of the six pegs has exactly 1 iPad Pro grey case. Right next to these pegs are a bunch more, each with exactly 1 iPad Pro case, just a different color. Overall, literally dozens of pegs on the wall, each with exactly 1 iPad Pro case.

Yes, the display space is "limited", but they could get a wee bit more inventory out front if they didn't deliberately act like idiots about it. It must make sense to someone but not to me.

I walked out. I wasn't about to stand there while he rummaged around back for something to show me. I went to a local department store and got a decent case for a lot less than I would have paid Apple for one.

It would be understandable if the iPad Air 2 was discontinued. But as of 30 seconds ago I can still go to the Apple website and buy one. So, WTF???
Could you share more details? Was it hard to get it right? Did you need luck to get it to that level? Is it a niche?
In early 2016 I purchased commercial real estate, got a 25 year fixed rate mortgage, and leased it. This requires very little of my time every month, and the post-tax yield is above 5%. I couldn't be happier.

I'm now considering doing this again in 2017. Hopefully interest rates will remain as low as they have been in order to lock-in an attractive mortgage.
WHat you sell?
What??? Employees are not a bank for a company to get a line of credit from, if a business does not pay wages that is theft, whether you are in the US, Germany, etc and you will be put in prison for doing so.

Fucking with people's lives by not paying them cause your company is insolvent is morally unjustifiable, either you pay them for work done or tell them to not do said work.
Bob Dylan: Nobel Prize Speech
Yeah. It seems like the real solution is to set up an investment fund and maintain distance from the incubator.
You're forgetting that AAA game creation today requires way more art assets than it ever did. I'm no insider to the industry, but it's obvious that there's far less reuse of assets, and assets are also far more detailed.
> It seems that in Stallman's world the public are supposed to become MIT-grade hackers before they can earn their freedom.

This is not true. In his Emacs paper he specifically mentioned that people who were told that they could not possibly be programmers were in fact programming by modifying Emacs. He also pushed for Emacs to gain word processing features and was ridiculed for that.
A Christmas carol penned by an AI via “neural karaoke”
How a Partying Macedonian Teen Earns Thousands Publishing Lies
I would have thought the FSF/Stallman would be perfectly fine with this. Their main objective is to maximise the freedom of users by advocating for software that can be inspected, modified, shared etc. As far as I know, they are not opposed to someone making a private income off this kind of software.

However, it's probably true to say that a number of possible methods of extracting an income would be closed off to you under these conditions. They're closed off not because the copyright(left) is anti private income, but because they're probably user oppressive practices (ones that would be very quickly ripped out of the codebase e.g. sending user private information back to home-base for subsequent sale to advertisers etc.)

That's my layman's understanding of the situation anyhow (happy to be corrected if wrong).
I assume you don't sell physical products, then? Is it something you created by yourself?
MySQL's issues aren't just about character width.

When I worked at Mozilla I was on the MDN (developer.mozilla.org) team, and we had this inexplicable bug: articles can be categorized with tags, and both articles and tags are localizable for all the languages MDN supports. So, for example, English reference articles on CSS properties were tagged "CSS Reference", while French reference articles on CSS properties were tagged "CSS Référence".

And... sometimes an English article's page would show it as having the French ("Référence") tag, and sometimes the French article's page would show it as having the English article's tag.

Turns out, MySQL's case-insensitive UTF-8 collation treated "e" and "é" as the same character. We didn't know about that, and hadn't noticed because the tagging library we used worked around it. Until one day a new version of it didn't, and tags from one language would start showing on another language's articles (if the words were the same, aside from diacritics/accents on certain characters). Which led to this:

https://github.com/mozilla/kuma/blob/00fc05b101658f863f58d7f...

That's a custom MySQL collation, which MDN defines and installs, to work around MySQL's default inability to tell "e" and "é" apart.
As the property owner, aren't you responsible for maintenance etc?
I'm going to assume from your reply that you've just not heard the term before but passive income refers to income from something where you do the work up front and it continues to pay down the road.

A book is a perfect example of that.
I have one website with ads on it, been running it for like 6 years, generates a whopping $200 yr...
Index funds tend to have some dividends, because while not all stocks yield dividends the dividends from the ones that do still get distributed to the holders of the fund.
It is anecdotal evidence, but I had two friends at two separate companies that missed to pay salaries. The two people individually found comfort in the environment, and at first neither was not seeking a move. The motivation was led by the persons' belief that the situation will go back to normal, not by a lack of qualifications or demand thereof. Both people were/are highly qualified and had skills in demand.

Their situation can be unique to them, I can't know the motivations of developers I don't know.
Not just any K Vitamin but the superior form K2

http://chrismasterjohnphd.com/2016/12/09/the-ultimate-vitami...
The best tip I've seen for learning programming is to code along with videos, while also trying to predict what the presenter will code. Doing that allows you to get going quickly without too much frustration. I like that I can experiment and ask myself questions but still have a working program at the end.

The article I read about this is at https://medium.com/learning-new-stuff/a-simple-technique-to-...
Thanks for clarifying. I know it definitely hit the major newspapers/sites this week, who somehow screwed up the advice slightly, which the NHS then had to clarify.
Sure: amazon.com/gp/product/B00HPIYJWU is the door sensor and amazon.com/gp/product/B00E1OVFAK are the dimmers I have.
I do have portfolio of small web apps: tools for learning music notes, non-latin alphabets, language flash cards and so forth.

They are making some nice money each year, but the trend is quite clear: given same traffic I am making about 50% less each year. Ad revenue is way down (more adblock users, less money per click, CTR is down), but paid premium plans are balancing it a bit.

These projects are still my biggest passive income stream, but they are going to die in few years. Other than that I am owning agriculture land (that I am renting), rental property and portfolio of p2p loans.

Those traditional assets are much more expensive to acquire, but then the yield is much predictable and stable. Still, the tech projects are my best source of income considering the amount of money/time required to create it.
https://news.ycombinator.com/item?id=13147440
Well if you signed a contract, that's legally binding... that's why contracts exist in the first place. Then, besides contracts there are labor regulations. If you don't respect the terms of contract and labor regulations you are not abiding the law. And not abiding the law on purpose (as Crytek has consistently demonstrated over the years) is a very unethical business practice.

Then, would you sue the company to get your money back? Exactly how, if you don't have any money.
Thought out security?

Apple seems to be on some sort of mission to tie everything to your fingerprint, something that people have demonstrated is easy to fake if you have an image of the fingerprint. There was a massive issue about the FBI getting access to that iPhone but, when they tried to do it themselves (instead of getting Apple to give them a really easy way to do it that they could use in future, which was their initial goal) it was easy for them to do.

Apple is not doing a good job with security. They are doing a good job with PR, including convincing people that don't think about it too closely they are doing a good job with security. Look at it more.closely and you can only conclude that they don't actually care about security, just the perception of it.
The things I describe are all relevant to wired systems. They might be the real reason why the system brakes down.

Your statement that it must be interference is unfounded.

It's an unfair statement trying to tie reliability to one aspect of the system. It's like a doctor who never prescribes oral medicines because the stomach is such a hellish place.

Wireless might not be the weakest link you think it is. In the end wireless is just EM waves, it is just physics. There is no way it violates the laws of physics.
Let me add ZIP2EXE for self-extracting archives.
"Stallman has never shown the slightest interest in making software that the general public can modify, or in designing, promoting, or doing anything at all to encourage the existence of such software."

That's unfair.

Let's say we're talking about vehicles rather than software.

The liberty to share information, to modify one's own vehicles, and so on is valuable even without a research program to educate every commuter about engineering or make motors modifiable by someone with no special knowledge.

The benefits of software (or vehicle) freedom extend to every user even if they aren't directly involved with software engineering. As a non-programming user, you can find someone who can help you modify programs. You can also begin to learn yourself, as I and many others have done.

Free software is itself an enormous library of learning resources simply because you can study its source code and reuse its components.

To talk about a "highly educated and exclusive technocracy" in this context seems pretty overblown to me. Yes, efforts to make programming more accessible are very cool. But any motivated kid with a computer can get into coding right now. With the availability of free software, they can study working software packages written by experts, for free.

The GNU project was a pragmatic initiative to ensure the existence of a free operating system mostly conforming to the typical Unix-like environment. Call it old-fashioned, but even iOS is built on such a foundation.

I agree that eliminating barriers to entry for newbies is important, but basically I think it's long-term future work and that the FSF is right to focus on the fundamental freedoms for hackers.
> It has nothing to do with UTF32

Right, my point is that the concept of a code point is seldom useful unless doing storage stuff with utf32 or implementing unicode algorithms. Python may expose an API of code points but that doesn't mean that it's meaningful.

Performance arguments can be made as to why the API should use code points instead of grapheme clusters, so there are legitimate reasons for Python (and Rust, and many other languages) to do so. Sometimes you just need some comparable notion of length and "number of code points" is acceptable.

However, you should be careful when writing code that confers meaning to the concept of a code point. A lot of code does this (using code points when they mean glyphs or grapheme clusters).
Would you be willing to sell the code powering the website itself?
that is very interesting!

could you talk about the framework that you used? im particularly concerned about ORM and database connectivity.
Ahh, makes sense, I should've guessed. Thanks!!
Since we are talking about learning Javascript, there is a very interesting approach in this edX course: Teach biology and Javascript!

"Nature, in Code: Biology in JavaScript" -- Learn JavaScript programming by implementing key biology concepts in code, including natural selection, genetics and epidemics.

Instead of just learning programming principles outside of
any context, you will learn JavaScript programming by
implementing key biological concepts in code so they can
run in your browser.

https://www.edx.org/course/nature-code-biology-javascript-ep...
Well, the €370 million is (iirc) only the cost of the parts. The total expenses (including personnel cost) for construction are €1.06 billion (https://en.wikipedia.org/wiki/Wendelstein_7-X#History)
I really like the theme you used! What's it called?
Contractually, day-to-day maintenance, no. Any extraordinary maintenance (a water pipeline bursts, electrical problems, etc), yes; but that would be covered and taken care of by the insurance company.
You will be the sucker if you couldn't dump yours stocks on somebody right before the nosedive :)
What are your most controversial or unpopular opinions?
Indeed, I did which you seem to have thought I didn't read. So, do you think that bunging in code designed for Windows, which specifically uses a HAL, into Linux, which tries its best not to with the philosophy that the code that goes into Linux should be as clear as possible with as small an abstraction layer as possible is good for Linux, or any of the hundreds of developers or companies relying on the maintainers to keep to this coding and architecture style?

I think not. So no, it didn't help.
Instead of downvoting, I wish people would say why they disagree
My main site makes between $1000 and $1500/month.

Most of my other sites are more on $50 - $200/year too :/
the third largest city in the US

Well, it already is large. Apart from the "Chicago issues", what's the point of moving from one overcrowded place to another?
What part of "$103,892 USD total funds raised" on the provided link was difficult to parse?

And why assume the other is lying? This Ask HN is specifically about passive income, and calls for people to share their profits. It's not about them posting their IRS returns or other proof. If you're gonna doubt them, might as well skip the whole post.
I think you are right to expect this - they have a long history of dropping support for things that were huge.

If you have never been impressed by anything they have done though you have pretty high standards. You can be impressed and still not want to use it but, it is hard to imagine someone not finding anything they have done impressive.
that's because of "programming is fun, it's easy, let's do more programming, let's teach everyone how to do programming, yyyaaahhhh"
There are two things here.

The force magnetic fields apply is always perpendicular to the field: F ~ v × B (right hand rule, and all that). So if you want F to point inward, the one component of B that doesn't matter is its radial component---ie. the tangent component is all that counts. But it's not clear to me that you can't compensate for the restrictions of the hairy ball theorem by having a nonuniform velocity distribution. Of course, there's no "hairy torus" theorem (because it's not true!) and this immediately suggests the tokamak design.

It's also not possible to take a sphere and have the radial magnetic field point inward everywhere (or outward everywhere), because Maxwell's equations prohibit magnetic monopoles.
And I hoped this article would be a critique of http://stallmanism.com the religion we created a few years ago. :-(
In the commercial world, NNN (triple net) leases are popular. The tenants take care of property taxes, insurance, and maintenance, so it is a good passive investment since you don't have to worry about operating expenses.
Ask HN: What is your plan for this christmas?
Because those Certs weren't designed for this scenario.

The fact that you can create that domain name to resolve is funny. I can think of a few phishing schemes I could use with this, if I were so inclined.
...which would decrease demand (ceteris paribus) :-) I think the question was academic, not practical.
The Ransomware in our Dependencies
I'd guess that it has something to do with eddy currents induced within the contained plasma. The HBT probably implies that these can't be perfectly symmetrical, and if they aren't symmetrical the whole thing will fall apart.
what's PH?
Working without pay has increasingly been called "wage theft" in casual parlance, but the applicable statute depends on your jurisdiction. In the US, failing to pay a worker for completed work is a violation of the Fair Labor Standards Act (and subsequent statute) if you fail to meet minimum wage levels, and it also probably runs afoul of state and local laws in various jurisdictions. As US labor laws are significantly weaker than their EU counterparts, it is primarily pursued a civil matter since it's obviously breach of contract -- if pursued at all. EU law protects employees from losing their wage claims in the event of employer insolvency. For most workers, the cost of seeking redress is not something they can afford to do, although local resources to file complaints may be available in some jurisdictions (such as SF). A common tactic of employer wage theft is misclassification of workers as independent contractors, a practice that is falling under increasing scrutiny from regulators.
So move jobs to a place where people don't want to be?
> First google is no apple. Don't expect that level of service. They simply don't care.

Apple has an appalling history of denying problems with their devices when they know about them and making life hard for people who get third party repairs. I think Apple are probably great while your device is in warranty but, out of it, they seem to be actively making it hard for you to keep using it wherever they can get away with it.
I worked for a company that ended up failing to pay wages (long story with a lot of lying and shady owners).

They were hiring until the bitter end. The last hire never got paid by the company at all.
I wouldn't say that. nearly 70%-90% of the market barly need that much knowledge to the hardware than a game engineer needs.
The knowledge they need are extremly different from that of a game engine engineer.

I mean CV gets to be a thing more and more where these people are probably useful, but that is not the biggest market (yet).
On a less powerful machine, I got 32k, 1M, and 8M.

Just where the caching is happening inside the JS engine would be interesting but probably take me weeks to dig down. Any ideas?
Isn't plan A what Lockheed Martin is building? At least they made it sound like they were the closest to real fusion.

http://www.lockheedmartin.com/us/products/compact-fusion.htm...
Their support for Google Apps for Work seems passable and, their support for in warranty Nexus devices (which may well be handled by a third party, I don't know) has been decent for the three warranty replacements I've had over the years.
Show HN: Screenshots as a Service API, Free for Open Source
Yes.

These are images taken by confocal microscopy, where you focus a laser scanning microscope on a plane and only see that. Then you move the focus plane up by a bit and take the next picture.

Super-resolution microscopy such as STORM, STED or PALM on the other hand will give you coordinates.
https://www.producthunt.com/
> Linux drivers on the nVidia side are OK.

Except for the annoying tearing. I'm considering a RX480 for my next GPU thanks to it.
How is it different from ImageOptim?

https://github.com/ImageOptim/ImageOptim

Also are you going to support and fix the frequent bugs that png optimizers run into with esoteric color space/alpha combinations beyond the best effort...?
New study suggests marsupials originated in N. America
If sports is the topic, you will find a wealth of modern statistical analyses that add an extra dimension to your viewing. There's all sorts of blogs offering insights that you couldn't get a few years ago.
JavaScript: Everything is not what it seems
let EVERYTHING = new Proxy({}, {get: (_, k) => k.toString().match('Symbol\.') ? () => 'OR IS IT?' : EVERYTHING});

console.log(`${EVERYTHING . IS . NOT . WHAT . IT . SEEMS}`);

Yay proxies?

This is supported in Chrome, and Node.
What kind of site is it?
It's built using my other product Perch Runway, using our Shop add-on :) took me about half a day to put together as Shop deals with membership stuff by default.

https://grabaperch.com
https://shop.perchcms.com
The Hough transform is used in computer vision (2d and 3d) for the recognition of edges and lines as one stage in a large processing pipeline.

Its competitor is RANSAC.

Compared to linear or orthogonal regression it has the advantage that it has quite a natural way to cope with multiple lines. Each line is represented by a high value in the Hough space. The next line can be found by removing the current maximum.

It is generalizable to more abstract shapes, but the Hough space becomes high dimensional. It is nontrivial to represent hierarchical objects, for example line segments AND the square it forms.
What is Trump game?
I'm afraid the interpretation of the output of FFT really has to go into some theory and the text book version of it. Here're some good description on the time-domain and frequency-domain of the FFT. http://www.dspguide.com/ch8/2.htm, http://www.dspguide.com/ch8/3.htm.

As for the output you got, the peaks at 300Hz, 600Hz, 900Hz, etc are the signal strength level at those frequencies of the speech. A voice is made up of many different frequencies at various strength levels. Most frequencies of a voice have nearly 0 energy. Some have more energy, with varying levels of strength. DFT breaks the voice down and figures out the strength levels for all the frequencies. The frequency range in human voice is from about 70Hz to 10KHz. That's why you see some strength at 300Hz, 600Hz, and 900Hz. Instead of just describing a voice as volume over time, DFT decomposes it into an array of frequency strengths, giving you the frequency characteristic of the voice.

The index into the FFT output array identifies the frequency. Let's say you sample the signal at 10000Hz (10000 samples per second). And you pass only 1000 samples into FFT. FFT always spits out an array F with half of the input size, i.e. 500 elements. Each element represents a frequency fraction with respect to the input size. So F[0] is at 1/1000 fraction, F[1] at 2/1000 fraction, etc, upto F[499] at 500/1000 fraction. To convert back to the real frequency, just multiply the fraction to the sampling rate. F[0] with 1/1000 * 10000Hz = at 10Hz. F[1] with 2/1000 * 10000Hz = at 20Hz, F[499] at 500Hz. The values at F[0], F[1], etc are the signal strength at those frequencies.