skysight-inc/HackerNews huggingface dataset:
So, as the first tech hire/partner, what can we do to protect our users?

- Expire non-critical data after 30 - 90 days, e.g. activity data, not account data.

- When feasible, have the client encrypt the really private user data, only store encrypted blobs on the server (Protonmail does this).

- Send out a positively worded, subtle email notice to warn the more savvy users of a pending acquisition, as soon as that news is no longer private. Let them disseminate the real sitrep on social media and in the news. We did build a community, after all.

- Propose a data architecture update for great efficiency, in which redundant and superfluous data is cleaned and aggregated, before the big handover.

Are there any other suggestions? I am particularly curious if the laws of any one user's country could be used to complicate or thwart a bulk handover of private user data to a new owner. Europeans, I'm looking at you for advice.
Ironically, Amazon requires additional verification and approval to sell in the Food/Grocery sections, but not Health & Personal Care.

I'm a lot more concerned about potential counterfeit medication than I am breakfast cereal.
Show HN: 12Kb open source minimal image editor
Allowing and encouraging free speech does not imply agreement with the points of view being presented.
I have a shit android phone. I can barely install 3 apps before it's full. So I made this very simple progressive web app to annotate photos/screenshots before I send them. Everything happens on the client and it works offline.

It also works on desktop browsers of course. You can paste bitmap data, draw on it, and right click/copy to have it in the edited form.

Feedback are really welcome. I think it should be split in 2 versions, one minimal for mobile, and one for screenshot annotation on desktop with more options (like a "pixelate for privacy" tool, a highlighter tool, etc ..).

Source is accessible here : https://github.com/renanlecaro/minimage (PR and issues are welcome :) )
Web fonts: when you need them, when you don’t
> In most cases it is clearer to simply adopt a payload format that includes application specific error codes

Absolutely. This is a common practice and there’s even a proposed standard for it (RFC 7807). But such a payload need not be sent with 200 (OK). It can refine the status code instead of overriding it.
> I don't know how Mongols today live with that.

Don't look too closely into your own ancestry; the only thing saving you from existential despair might be that some ancestor's violence and cruelty was only offset by their utter forgettability in the flow of history.
Technological revolution in health care
The arcade hardware (MVS) and home hardware (AES) on the Neo Geo have the exact same specs. And in the linked article the author is applying the fix to an MVS cartridge (which can be used in an AES system with an adapter).
Fear and Ignorance Criminalized HIV. Can Science and Wisdom Undo That?
I completely disagree with the acoustic recommendation as well. They're harder to play, which means it's much easier to give up on. You can get a 1w belt-clip amp if you really need to plug in, or you could just get a semi-hollow and play it unplugged.

Learning to sing is unrelated to playing guitar. I'd argue most guitar players do not also sing whilst playing. If someone wants to sing AND play guitar, I'd actually argue that it's easier to learn one before the other, not both simultaneously. When you know how to play guitar (and a song), it becomes almost mechanical and singing on top is much easier.

Instead of just learning the pentatonic scale, try to learn basic music theory and learn the fretboard. If you know where notes are on the board, it's much easier to land somewhere that fits musically with what you're playing. Not to discourage people from experimenting, but if you're just noodling around randomly with no idea of how notes work together, it's going to take you much longer to figure things out than if you just took a few weeks to learn super basic music theory.
Nomad on Kubernetes
I wonder which model Apple will use in the iMac Pro.
> We have some money left in the donation pot for STM which we are not using; according to the rules, we could declare the STM attempt failed and channel that money towards the present GIL removal proposal.

I didn't donate to that pot but that does seem like a judicious and reasonable step to take given the assessment of STM.
Wow, thanks! What is your email? Mine is in my profile.
Hacking with DOM MutationObservers
Related discussion, https://news.ycombinator.com/item?id=15006552
A video demo would be nice as I’m not sure how this works and I’d rather not sign up just to try it. Just show me how it works maybe using a gif or a video.
Definitely an option, but remember that small business loans generally require collateral and are much harder to come by than VC money if you aren't profitable. For a startup targeting rapid growth, there often isn't collateral (unless you want to personally guarantee the loan, which brings in all kinds of risk factors), or profit to speak of.
I think the trick is to start with a good acoustic. One with good action and one that stays in tune. Like a decent acoustic-electric from Ovation or something like that.
Mobile Bounce Rate: 5 Benchmarked Tactics to Improve Yours
If you are interested in learning /music/ and not just learning the /guitar/, I would strongly encourage you to start on the piano.

I started on the piano and moved to the guitar later, and I've now realised that the piano gives you such a good musical grounding, so much better than the guitar can. There's nothing quite like having it all laid out in front of you. It's the only way that things like sharps and flats make sense, it doesn't make much sense on a guitar and that makes musical theory difficult to learn.
Despite the News It Is Not the End of the World
Well I bit the bullet and ordered one of these, at the "special introductory price" of only as much as an nVidia GTX 1080...

The compute power seems pretty good from that review. YesI will be mining with it, so I'm hopeful of good results. I won't just be mining with it so I hope the game performance is worth it too!
Find someone (or a YouTube video) that can teach you three or four basic chords that sound good together. Nothing too complex, maybe look up C, G, A minor, and E minor. Play them very slowly at first, not worrying about any kind of melody. It won't take very long before you can differentiate between the strings and hold a basic rhythm. Believe me, everyone starts out feeling like you did!
The paper, http://make.girls.moe/technical_report.pdf
Can you elaborate on the bad habits starting out on an acoustic teaches?
The FTC actually says explicitly that starting a Twitter post with #ad is OK [0]. They don't mention Instagram in that document. I imagine the legally can't be overly prescriptive due to first amendment issues.

FTC sent notices out to people using "creative" tags on Instagram like #sp or #partner. They did not send notices to people using #ad. I would take that as a sign that they think #ad is reasonable for now.

> What about a platform like Twitter? How can I make a disclosure when my message is limited to 140 characters?

"The FTC isn’t mandating the specific wording of disclosures. However, the same general principle – that people get the information they need to evaluate sponsored statements – applies across the board, regardless of the advertising medium. The words “Sponsored” and “Promotion” use only 9 characters. “Paid ad” only uses 7 characters. Starting a tweet with “Ad:” or “#ad” – which takes only 3 characters – would likely be effective."

[0] - https://www.ftc.gov/tips-advice/business-center/guidance/ftc...
I'm in the same boat, played since I was 14, absolutely love the instrument, but just don't have the time to practice any more.
15 MB for a homepage.
First display of the content above the fold after 8MB downloaded.
This is why we can't have nice things.
I suppose the debate is really between those who want to know and those who don't want to or feel that they don't need to.
Not a particularly _safe_ example, but Venezuela recently released 100 year treasury bonds. I'd imagine this is not a retail investment vehicle; traditionally.
I really wonder if miners are going to buy the whole stock despite the game bundle program and the low power efficiency.
By playing what instrument?
Ask HN: Anyone had a repo disappear on Gitlab.com today?
We had a team meeting today, and right after we all got off, I noticed this happy message on the homepage: http://imgur.com/a/XIxER

I also can't push or pull anymore to the repo.
Template Doesn't Mean Cookie-Cutter
Page 35 of this paper has this sentence.

One can also envisage a "transpiler" capable of converting a program from one such style into another with considerable generality.

Are there any other known citations of the term "transpiler"?
> maybe I'll just leave it to the pros (:

Don't ever do that! It really isn't that complicated at a basic level. Regex aren't the solution for parsing. What you're missing is the recursive nature of "context free languages"[1]. Formal language theory [2] was one of the big, early wins of Computer Science. There's a lot to it, but writing a simple recursive descent parser doesn't require any of it.

The big caveat is that parsing is only about 1/3 of the problem, the others as described in this article are optimization and code generation. And of these, optimization can be skipped entirely leaving only code generation, which can be naively done by walking the AST. If this all seems foriegn to you, there's a lot of really good info online nowadays ie people love writing about this subject.

Understanding this subject is very important in my opinion, this is one of the foundational things we do. Attaining a comfort level with compiler engineering is one the two or three things anyone can do to really "level up" as a software developer. Some other things are writing multi threaded servers in C, and 3d software rasterization. Again, my opinion here.

[1] https://stackoverflow.com/questions/559763/regular-vs-contex...

[2] https://en.wikipedia.org/wiki/Formal_language
Here's something I wish I'd realized when I first started playing. If you know the right set of chords you can play them in basically any order and they'll sound nice.

If you take scale like C major, there's a chord that goes with every note of the scale. On a piano this would be mean playing three note chords on the white keys only, all the way up. So for the key of C that gives you

C_major D_minor E_minor F_major G_major A_minor B_diminished C_major

Now here is the cool part: you can play those chords in virtually any order and they are going to sound good (although probably better to skip the B diminished chord, and also helps to start or end on C). It also works in the relative minor key, in this case A minor (still just white keys on the piano, essentially):

A_minor B_diminished C_major D_minor E_minor F_major G_major A_minor

Those chords are all easy to play on a guitar. It would also be easy to do this in the key of G major (E minor) on the guitar. They key doesn't actually matter, but those are easy for beginners. You can just number the chords 1 to 7, then pick any sequence of numbers, eg. 145623, or 4545261, and play it, and it will sound good, and you can make up a melody or a finger-picking pattern to go with it. For some sequences you might need to get a bit creative and vary the timing (eg. some chords will work better if you move through them faster than average, some you can linger on for longer than average), but you could make lots of good music from that alone.
More like <cores> * 2
it took me a lot of trial and error, but I was able to get a pretty nice asp net core dev env working with the dotnet cli, and vs code. so its possible, but not always easy.

documentation is still confusing and contradictory, but a little less sparse.

I use the dotnet cli for everything, and rarely need to manually edit the csproj. Even when I do, the csproj is very simple straightforward xml, nothing like the old version.

I use node/npm/gulp tool chain for build pipelines. I set up npm wrappers for the dotnet cli, "npm run build", "npm run test", "npm run start", which I like.

my favorite thing is that I can reasonably work on c# projects without full Visual Studio and solutions.
> Also, why would you even have a microwave, toaster, and ELECTRIC dryer? Those all use obscene amounts of power.

Modern dryers are actually quite efficient. I live in an apartment without a balcony, and bought a new electric condenser dryer the other week. A standard cycle at half load (4.5kg / 9lb) uses 1.2 kWh. If you use it once every two or three days, over the course of a year it will use about the same amount of electricity as a fridge freezer.

But yes if I was living off grid, it would probably be the first thing to go...
Agreed. My dad (70) says he's too old to be "young at heart" any more. He says he's going to try "immature at heart" for a bit.
I'd recommend starting on acoustic too. It's the quickest and cheapest route to entry.
You can play a ton of songs with like 5-6 open chords. Find a song you don't hate that just uses G, C, and D majors, and drill the hell out of it until it's easy to transition between those. Way more fun to practice with a real song. You may pick up A-minor or something on the bridge of that song, which is nice. Pick up open A and E majors and E minor on top of that base and you can play rhythm on like 50+% of all guitar-heavy popular music ever written without going any farther. Then start working on barre and (relatedly) power chords and you'll get that number up to 90%. Wait to do that because barre chords require different hand muscles than open chords, so you'll hit trouble again when you start on them and no sense in tackling all that difficulty at the same time.

Take heart: once you get over the initial how-the-hell-can-my-fingers-even-do-that hump, learning enough guitar that it's pleasant to listen to is quick. You can hit that mark with casual practice inside 3 months, easily. By contrast, I spent years playing Alto Sax and got way (way) better at it than I ever was at guitar, but that was never pleasant to listen to solo—most instruments you've got to be really really good at them before they're tolerable solo, but guitar's about as far the other direction as you can get.
You're right, thanks for catching this. See my edit.
I got binoculars, sunglasses, and a camera filter at Best Buy. I had to have them ship the camera filter but it arrived much earlier than they said.
heh. good on Satya Nadella. stopped using ms stuff more than a decade ago when we went linux for all production machines. from mouth to desktop he has started making microsoft and the good work they do relevent again. - hadnt realised they'd actually released so much linux compatible stuff.
Impossible for me to get excited about this. What are these really going to sell for after the introductory stocks run out - $1000?

Can't wait for this crypto madness to end.
>because of sore fingers

Maybe in the beginning, but after having developed calluses you can basically practice for an undefinite period of time.
Proof of work does not elect the next miner.

Proof of work means that the lucky random miner has invested energy on a previous valid block, and is lucky enough to find another valid block.

If you take that away, you could as well use a database and a trusted timestamp server.
What is the point of this ^^?
I'd go with 409 Conflict, but I'd also accept 400 Bad Request

Incidentally, the RFC for 409 makes it quite clear that this touches the application layer:

> Conflicts are most likely to occur in response to a PUT request. For
example, if versioning were being used and the representation being
PUT included changes to a resource that conflict with those made by
an earlier (third-party) request, the origin server might use a 409
response to indicate that it can't complete the request. In this
case, the response representation would likely contain information
useful for merging the differences based on the revision history.

https://tools.ietf.org/html/rfc7231#section-6.5.8

In any case, getting pedantic about what's "an error" and using 200 OK for everything that didn't fail at the transport layer is a super frustrating experience regardless of whether or not it's semantically correct. Please don't do that to consumers of your API.
He was a plunderer but he also started something that changed the world.
As someone who has been playing for 35 years or so, here are some observations...

First and foremost, guitar is a pretty straightforward instrument for beginners. There's a reason it's the most popular instrument in the world. If you put in the effort, you can be playing something musical in a few months, and proficient in basic folk/rock music in a couple of years. It doesn't take "talent". It just takes effort.

Something that throws a lot of beginners is that we fret with our "weak" hand and pick with our "strong" hand, which seems backwards. That's only because they're beginners. Picking is much harder than fretting. It doesn't seem that way when you're struggling with cramped hands for your first few chords, but good picking technique is the key to actually being good, and it's very challenging.

Don't try to learn on a crap guitar! If it has high action and truly hurts to play, or if it has bad tone, it'll drive you away. Learn on a good instrument. Virtually any guitar that costs over $200-300 new these days is good. You don't need to spend a fortune. And get it "set up" at a good guitar shop. It makes a huge difference in tone and playability.

If you're playing rock guitar, there's a real temptation to use way too much distortion to get what you think is the sound on records. Most great rock guitar tones are much cleaner than they sound. When in doubt, use less gain.

And finally, the guitar is an incredibly deep instrument. After 35 years, I feel I know less now than I knew after three years. Approach with humility.
I find the piano quite illogical. Playing a chromatic scale requires to jump from white to black keys. The guitar with its "basic" strings is actually much closer to the underlying physics (and thus mathematics), imho.
I thought I was a sociopath but I think you've got me beat.
> I see more young people skewing right/centre than I did 10 years ago.

Probably for this reason: http://slatestarcodex.com/2014/04/22/right-is-the-new-left/
>If you are at least partly motivated by popularity (and who isn't), maybe pick another hobby that actually helps people be popular now

There's a hell of a lot of people doing a hell of a lot of things for hobbies that aren't motivated by popularity at all.

For example, reading for fun wasn't a way to be popular growing up - your peers expected you to be involved in sports, or be doing the garage band thing. Being a bookworm was like hanging a "bully me" sign on your back. But I'd wager that many on HN did (and still do) read for fun.

I've learned to play a few instruments, although I was never successful with the guitar (no one wants to teach what I want to learn - they all assume I want to play rock or gospel and are incapable of teaching anything else, and I want to learn flamenco guitar). The only people who have ever heard me play anything are my teachers, and my immediate family.

I suppose, if I decide to give the bagpipes a try, that the neighbors might have to hear me as well. I expect that won't improve my popularity, but I don't, and never have cared about that.
Hell, I understand Amazon extremely well, yet still got confused when a Prime item that wasn't FBA never showed tracking information (stuck in Preparing for Shipment), had wife email Jeff Bezos and not more than 10 minutes later the damned thing arrived. The whole time I was thinking "WTF, Amazon?" wondering why it was taking so long to fulfill the order, all because I didn't notice the absence of three words on the product page.

So yeah, point of the anecdote: even veteran Amazon shoppers can forget how the site works.
Do people here use pypy in production? What are the benefits?
The entire internet infrastructure is controlled by private companies. Many of which are incorporated in the US.

If you hold to the belief that internet infrastructure companies should be free to censor anything and everything they want to, there is no such thing as free speech on the internet.

That future is not one I personally subscribe to; I believe in the basic human right to express one self, and as ubiquitous as the internet is as a means of communication, that means people must be free to express themselves on the internet.
U.S. Diplomats in Cuba Victims of Reported ‘Sonic Attack’
I already have Syncthing running, just haven't moved off to it.

The biggest offender is Photos. I just haven't found a good self-hosted photo solution.
Could someone who really wants to get rid of the GIL explain the appeal? As far as I understand, the only time it would be useful is when you have an application that is

1. Big enough to need concurrency

2. Not big enough to require multiple boxes.

3. Running in a situation that can not spare the resources for multiprocessing.

4. You want to share memory instead of designing your workflow to handle messages or working off a queue.

#4 does sound appealing, but is it really worth the effort?
the basis of the question its self invalidates middle ground
Now THIS is a glimpse of what could happen if internet service providers such as AT&T or Comcast are allowed to snoop on traffic.
This could happen in large-scale if we don't keep an eye on internet data privacy. Let's stay vigilant. Upvote to spread the words
>- Don't be afraid to just try things. You're in the middle of a solo and don't know where to go? Jump up the neck and hope you land on something that sounds good.

I think Jimi Hendrix said something like 'You're only ever a half-step away from a note that will sound good.'
Photo-sharing app diagnoses embarrassing skin ailments
Doctors do provide their services for free. Doctors without Borders is a prime example of this.
Professors give research, their primary product, away for free as well (Other actors do still profit from their work though. Movements such as Open Access tries to address this problem).
Looking at current browser market shares on netmarketshare.com (first link that came up via google search) it looks like this version of chrome accounts for 0.07% of traffic this month. Why are you pinned on such an old version?

Interestingly enough, the older version 45 has 6.08% share. Is some operating system pinning chrome 45 and perhaps providing security updates?
I don't, unfortunately. But start with segments you or a partner know best, obviously.
Oh, ok that makes sense.

So you would use Forestry if you're hosting static HTML from CMS, and Contentful for when you need an API for the CMS.

(disclamer: I've never used CMS before so I don't really know how it works)
We thought about LeapMotion but went with a CV implementation instead. Very cool project!
And which exactly protein acts as a counter? What unit it uses? What is representation of the current value if the counter? How it deals with overflows?

Again. There is no counting inside a cell in principle. Only pattern matching of phisical molecular structures and "mechanical" triggers. No counters, no clocks, no notion of a number.

Do not confuse oscillations or rotation with time. Processes do exist. Time does not.