skysight-inc/HackerNews huggingface dataset:
in a freshly created venv, with attrs and ipython (and deps, of course):

(attrs) % ipython
Python 2.7.14 (default, Oct 19 2017, 23:28:49)
Type "copyright", "credits" or "license" for more information.

IPython 5.6.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

In [1]: import attr

In [2]: Part = attr.make_class("Part", ["part_num", "description", "quantity"])

In [3]: Part?
Init signature: Part(self, part_num, description, quantity)
Docstring: <no docstring>
Type: type

Outside of the name of the thing that creates the item, the syntax is identical to what you have here.

edit: removed triple backticks, indented with 2sp according to https://news.ycombinator.com/formatdoc rules
Show HN: Display any image in a terminal window
This is the boat we're in currently. We haven't been forced to change our SiftScience plan to the $1k/mo minimum (which would over double our current costs)

I'd love to move to Stripe Radar, but that doesn't really help with PayPal orders.
With Zillow, you can just track a home (don't recall how - maybe just "Save" will work?). You can have it periodically email you reports on the home, which will include the value estimate.
But even those cases where the beard products are on wire shelves with minimalistic old school labels, that's still just a marketing trick where someone did analysis and thought that strategy would be better for their demographic.

If you want to escape infantilisation, you need to in many ways escape consumerism and go back to the days of just whipping up your own beard oils.
A flaw could allow easy hack of #LG Network-attached storage devices
We applied I think in 2010, got rejected. This was when YC was still fairly young. so arguably competition was even less than it is today.

Our company now does over $100M ARR and still growing. We learned a lot along the way, to be fair, I don't think I would have accepted us either at the time. Just take it as a learning experience and get better, don't let rejection stop you. I couldn't tell you how many "NOs" we've gotten in our company's lifespan.
Ready Bunny Huang's book on working in China, it sounds like knowing someone who works at Allwinner is in fact the way to go.
“Getting Things Done in Haskell” (Talk by Jasper Van Der Jeugt)
I highly recommend Ghostery.
Unequivocally no, he's not arguing for vigilantism. Words mean things and "social opprobrium" does not equate to "vigilantism." There is a distinction and a difference and it borders on mendacious (when not outrightly malicious) to conflate them.
Except when some douchebag grants a patent on the double click, or a phone with rounded corners.
I don't disagree. As I said it's "probably related to the complexities of your specific architecture, applications, and infrastructure."

Use what works for your environment and team.
> Why bother making it be illegal for a registered sex offender to search the database?

The stated rationale was to prevent it being a social networking service for habitual sex offenders to find people inclined to collaborate with them on further sex offenses. (Of course, it can still serve the same purpose for current or aspiring sex offenders who haven't been caught yet to network with those who have.)
Yeah, it works both ways. "No, Auntie Susan. I have no idea how to fix your printer. Never call me again."
When Musk writes "We are going to find a way or make a way to get there" he echoes this quote attributed in Latin to Hannibal: "Aut viam inveniam, aut faciam" (I will find a way, or make one) when his generals told him it was impossible to cross the Alps by elephant. It was used as a motto by Francis Bacon.
And it sounds like it's identically awful ergonomics.
VW vows to build massive electric car charging network across US
To be fair, those countries tend to have nice beaches.
Another medical device design engineer here and I second the previous comments that this comment is 100% incorrect.

510k isn't a loophole, shortcut or less safe in any way. Clinical trials are unbelievably expensive, hundreds of millions of dollars or more. Often so much so that they are prohibitively expensive for alternatives to therapies that already exist or for patient populations that aren't large enough to make back the initial investment. Without the 510k pathway much of our modern medical treatment portfolio wouldnt exist as drugs and devices for only the very most lucrative health problems would be cash positive to develop.

Thanks to 510k devices thousands of lives are saved every day, and therapies that were once too expensive for the masses can now be afforded.
Show HN: Tiny Tiny RSS CloudFormation Template
I've been using TT-RSS (https://tt-rss.org) as my RSS feed reader for years. There are other ways to deploy it, but this is a simple CFN template I built to deploy a scalable TT-RSS service in AWS.
This competition is a prosecutor's fallacy (https://en.wikipedia.org/wiki/Prosecutor%27s_fallacy), especially since the definition of "toxicity" in this problem is 100% arbitrary.

Also, about the required input fee:

> I am offering a free $10,000 of my own money. If you really believe that you can win, then obviously $500 won’t deter you at all.

Since we're talking about statistical modeling, the rational argument would be that a person would only participate if expected value of winning the competition is greater than the input pot. A ~5% chance of winning, given the time investment and opportunity cost involved, isn't compelling enough to risk it. That's why Kaggle competitions are free.
You 'd be surprised how good modern hardware is. We are being hit with between 1.5 and 2 million requests per minute (steady traffic no spikes except increased usage in the weekends), and our analytics solution runs on just 2 main servers and costs $3k per month (total associated costs except human labour which is 1 engineer working on it part time now).

We talked with a famous analytics company and they gave us a quote of 1 million yearly to work with us. So how did we get it down from 1m to 35k?

We pretty much do the thing the article suggests (roll-ups section). We compute data hourly. Alongside with the hourly computation we also dump some extra data that can be used to compute numbers for the day (eg unique user ids, from unique user ids per hour), then from the day we get per week and then per month. We also have less moving pieces (our stack is way more traditional), and we manage our own hardware (key for keeping costs down)

When you get data back from the system you only hit the pre-computed cache, no query touches the main system from the dashboards. We only allow queries running in a 30 minute window to run on the live system - to ensure that no crazy load is going to be built on top of it and we use that to mostly catch anomalies on the real time data. (our parsing time is good too, between 10 seconds and 1 minute compared to the 2-30 minutes the article gives).

However this is the "You are alive but you 're not living" angst of analytics. All the data is there, but you cannot freely prod it for answers and patterns. If you want to get an answers about past data, you need to go through an overly complex process of raising a new cluster and ingesting old backups, multiple times, then waiting for a few days. It get's relatively expensive, slow and at times will demoralize you and make you back off from getting the answers you need. You could try keeping a smaller cluster that only gets % percent of the data (eg only 2%) for finding trends, drawing heatmaps etc and that one can run in realtime but your CEO will say that's a stupid idea to your face and it's realtime-all or nothing.

You might say that's a situation you can live with provided the absolutely insane cost savings, but when the company goes at a nicer retreat for only a selective elite few that easily costs 20k, or runs an over the top kitsch open party party/recruiting that costs 80k, and you are being dragged into a meeting on a monday morning and confronted; Why did the "3k per month-3 billion requests per day" system cost 6k this month? (because we had multiple clusters in parallel computing historical data for the past 6 months that you asked for). You just get bitter you didn't give the analytics company the 1 million they asked for and be done with it.
Brave browser teams up with Dow Jones, offers free Barrons, Marketwatch
I don't have a resource to point you to, but feel free to reach out via email jonathan at ipdata dot co. Would love to discuss this
> Why bother making it be illegal for a registered sex offender to search the database?

Unfortunately, it seems to be based on an intention to prevent its use as a "social network" of sorts, which could potentially lead to higher re-offense rates.
If instead of worrying about their "sexual past," how about worrying about their "past abuse of women"? Because that is absolutely relevant to job performance as a VC.
Thats exactly what I had in mind. A reasonably intelligent trader doesnt want to make his operation more capital intensive however. Has use cases, but limited.
There's plenty of countries which derive as much or more income per capita from oil as Venezuela, and few of them are known for having other sources of income (though with the possible exception of wartorn Libya they've certainly done more to encourage them and less to discourage them than the Venezuelan government). For the most part they are (like their non-oil rich neighbours) not exactly bywords for good governance or equitable wealth distribution, but large segments of their population are not on the brink of starvation as a result of oil prices being below early 2014 levels whilst still high by historic standards.

It stretches credulity even further to believe that Venezuela's disastrous economic policies were the necessary and unavoidable consequence of a oil company strikes and short-lived military coup 16 years ago which was as unsuccessful as Castro's own attempts to overthrow an elected government with tanks a decade earlier. Especially not with periodic coup attempts and more regular mass strikes being an occupational hazard of being a Latam president regardless of oil wealth or lack thereof.
My personal bias tells me that it won't effect much: I think a lot of current city dwellers live in cities not only for jobs, but also because they like the easy access to amenities, culture, and walkability.

There's also the fact that the throughput of autonomous vehicles compares very poorly with the throughput of a decent subway or light rail system (multiple orders of magnitude).

More objectively, I suspect there are a lot of people who are only living in cities today because of job availability. But I question how many of those folks want to transition from a 30 minute walk/public transit ride to a hour+ drive in a (semi?) autonomous vehicle. Even if you can read or work in your autonomous car -- which, in itself, is a dubious proposition for anybody who needs connectivity to their team or the internet due to the price of data plans -- it's still time spent away from home, family, loved ones, etc. I'm not sure how many jobs are truly flexible enough for you to let commute time replace at-desk time: even software jobs don't all allow that.

So for many people, autonomous vehicles would just mean more time spent commuting, away from their families. And for all of that, you end up driving (autonomously!) 20+ minute to do anything on the weekends or after work. It's not a deal I would make, but maybe other people are more OK with it.
Facebook doesn't steal its users' data, it creates it
There's a big difference between "childlike" and "childish." I see nothing wrong with professionals that engage with media and culture that stokes our childlike sense of wonder and play, and I count us fortunate indeed to live in a time and place where such luxury exists. It never ceases to astonish me just how far geeky interests have invaded the mainstream over the years.

A danger is the potential exclusion of people who do not participate in that specific culture, and that's something I'm more cognizant of now than I was in the past. If you should have a concern about the interweaving of tech professions and geek culture, I figure this is the most important one.

As an adult, my relationship to comics and geek culture has definitely changed enormously from where it was when I was a child, a teenager, or a college student. Things I thought were awesome I now see as cheesy, trite, or problematic. Things I didn't appreciate earlier on have come to take on new resonance. A few things have remained constant. The opening fanfare to Star Wars, for example, when infrequently presented in a dark theater, will probably never stop sending shivers down my spine.

The trick, then, is to approach the intersection of tech professions and geek culture as grown-ups, shrugging off the (usually blatant) attempts at manufacturing hype, and enjoying the real connection that our culture affords, without pursuing it to exclusion.
Because ads are about selling you something you didn't think you wanted.
Maybe because you want to live in a first-world country without going to prison for securities fraud.
This was really interesting -- not a process I've ever realy thought about.

You might enjoy this, Ben Krasnow talking about the challenges of making photochromic glass:

https://www.youtube.com/watch?v=mUcUy7SqdS0
Why can't ads be relevant to the content of the page like they used to be in the good old days?

As an example of stupid targeted ads: I bought a Casper mattress a couple of months ago and pretty much every single ad I've seen since then (on devices where I don't have them blocked) has been for mattresses. How many mattresses does the internet think I need?

If I'm reading about something on the internet it's generally because I'm interested in it. Why not try to sell me something related to that rather than something I already bought!?
Is this realistic though? Every time you update a dependency you would have to read its source (and its source dependencies, and their source dependencies...)

To do that well, it would be someone's fulltime job to read and do security audits on all those dependencies.
That depends on how much quantum computing would speed up the collision search.
I tell you why it should: because you might want to do your work independently, someone might be willing to invest in you, and there is a third party that makes it impossible.
The founder pitching his project: https://youtu.be/hBUAVonzKtM
What Is Next Generation Ad Tech AI?
We clearly need ICO escrow service.

"Launching ICO without escrow? GTFO".
Not sure what in my post indicated that I was offended. The cultural context of the industry might be apparent to you from within that context but not everyone who reads Hacker News lives in that same context. That biological sex and cultural gender are not the same is not something that is held to be true everywhere. Explaining the context we live in is not the same thing as being offended that some either don't understand or dislike that part of our culture. Or to put it another way, don't shoot the messenger.
Adext AMaaS is launching soon and we're calling it next generation ad tech AI, so I wrote an article explaining what we mean by that. Feedback appreciated.
Letting someone commercialize our open source project
This complicated but I would defer to their output. While at work, are they performing their duties. Is she othewise behaving within expected bounds while on company time? What she does on her own time is her own business, if she can keep her personae separate and not commingle them, either as a private citizen or as a rep of her company.
Um wow there's a lot wrong with this comment. But that aside, what if I told you programming was just modern accounting, glorified data entry? All programmers do is put code into repositories. Very very few people are actually inventing new systems and algorithms. If you're a "framework programmer" you know what I mean.

Anyway point is it's a spectrum. Yes some "IT" labor is menial, but I also know IT people who know way more about security and networking and identity etc. than most software engineers will in their entire career.
Thanks, seems to be chugging along fine in an MSYS2 terminal on Windows.

Now to give them better names than the numbers used by BBC. Any solutions/suggestions?
While I would agree in theory, it seems that the people at Y Combinator are not really intending to touch the HN code base.
The F-35 Is a $1.4T National Disaster (2017)
WWE Hall of Famer Bruno Sammartino Dies at Age 82
Home maintenance service in qatar
Ok some really dumb questions if you don't mind, but how "fraud detection" works has always been one of those areas I am interested in, but not enough to seek out a practitioner and pin them down - until now !

- Any idea what the total fraud vs genuine transactions ratio is? And how that breaks down across industries? I am assuming that SaaS services don't get as much of this - i mean would people buy bingo cards with a stolen card?

- how does fraud get monetised? Once i have downloaded my millions of credit card numbers from Tor (or stolen my friends mothers wallet) I need to persuade a merchant to deliver me something - but it's always bugged me that they actually have to deliver it. to a physical address. that can presumably be traced. It all seems very low level

(Quick story, years ago, call it the year 2000, was in the UK version of BestBuy and the manager called up a service to verify that this 17 year old kid could have a laptop. The manager asked what's your name ? Ok Your address ? Ok. Date of Birth? March 1954? really? you look a bit young for fifty. It just seems a poor way to commit crime)

The question i am trying to ask is that turning credit card numbers into cash seems like a grind that farmville would be impressed by? is it just lots of low level grunts in shops and online or is there something i am missing?

- what advantages do you get as a payment processor that a merchant does not have? And how is that better / worse than the card provider? I would assume there are people trying the same card in multiple different stores at the same time, so if you spot one attempt you stop them all, whereas individual merchants could not know. But Visa probably spots that i just paid for goods on two continents which you can only spot of both merchants use you? Do you and visa share data or do sequential checks and the like?

- how much do the "obvious" checks help - highly unlikely purchases (3 iphones) timing or physical activity (I probably won't buy books on amazon, clothes on boohoo and petrol in a garage in the same five minutes) versus the more ML / secret squirrel stuff?

cheers
Well on the upside you aren't facing lawsuits and litigation for the next twenty years, or possibly prison time or extradition depending on what laws were broken where.

And the blatant display ala martin shkreli doesn't play very well once twitter is no longer the buffer between you and reality.
What in your mind separates a linch mob forming when someone gets out of prison an this? As far as I can tell it's identical behavior and they both fall under vigilantism.
Car companies are required to provide OEM replacement parts for a certain time scale (possibly 5 years?). I imagine that law was put in place for exactly the same reason as this situation.
They IPO'd.
It makes sense; people interested in drugs are presumably also interested in other things, and ordering drugs online somewhat implies a certain level of expendable income, so it'd be a decent marketplace for not-drugs. And I imagine drug-hobbyists probably have more diverse interests than the average person, as they've already expressed interests in the not-publicly safe hobbies (but likely still also have safe hobbies as well)
The consulting shops get a hefty cut of the pay (and it's hard for them to find and place talent too), so they feel compelled to do everything they can to make things work. Not to say these things aren't patronizing/infantilizing and due to be shut-down, but until the supply/demand situation works itself out, we'll likely just replace one weird attention/talent-grab gambit for another.

Another possibility would be for these companies to just pay more and "cut the crap". If companies paid more, there would be more talent on the market (presumably) and companies wouldn't need to put on the dog-and-pony shows to attract and retain because the economics are doing that for them.

(And of course there are people who like the dog-and-pony shows and the 'un-corporate' vibe of these things. Power to them, but at least personally it would be nice for the "cut the crap and pay more" idea to be more common.)
This is a form of ICO awareness accelerationism. I'm very cynical about ICO's, so this may be brash, but I automatically consider every ICO to be a scam outright – if they were all this obvious the world would be a much better place, because people would finally stop participating in these ponzi-esque schemes.

What this guy's done, if it's true, is no worse than any other ICO who instead uses their funds to buy a house in the bay area and lease an SF office for a couple years and play ping pong until the cash runs out.
http://s3.amazonaws.com/nasathermalimages/public/images/4158...

http://s3.amazonaws.com/nasathermalimages/public/images/fema...

http://s3.amazonaws.com/nasathermalimages/public/images/5489...

http://s3.amazonaws.com/nasathermalimages/public/images/core...

http://s3.amazonaws.com/nasathermalimages/public/video/Relic...

http://nate.flach.s3.amazonaws.com/Abolhassan_Astaneh.avi
I do not think that was the intended usage.
> there is a better justification for HN's rule

I'm aware of that. I wasn't talking about the justification but the outcome. I'm certain dang and sctb don't want the propaganda here either; my point regarding the HN rules is that the well-intentioned policy ends up protecting propaganda. They have a real problem; the propagandists are gaming their system of civility.
I agree with you that someone's consensual sexual past shouldn't matter.

But this is not someone's sexual past, it is assault on another human being, and yes, criminal records should matter.
Do it, make an ICO.
I’m sure we can just leave the law out of this one and handle it internally? It won’t take long to figure out where this guy has gone, and I do feel very sorry for him. People are already working on it as we speak based on the photos he posted and some other evidence.

Life is about to give him a very rude awakening.
The argument in that article is that it doesn't matter what is in the source. The published package has no guarantees to be from the source.
.. vs a luxury resort in a 2nd world offshore haven or a yacht.

... and this sentence becomes more ambiguous
Awesome link. Thank you.
The rise of dual-income households has put a premium on commute time (as it now impacts both parents). I believe this has helped drive the 50% outperformance of city-center real estate cited in the article. Autonomous vehicles would likely slow that trend, not sure it would eliminate or reverse it all together.
That popup contains false statement though. How does personalizing ads make the site easier to use?
One of the main points of the GDPR is that this sort of treatment is unlikely to be legal any more, to the extent that it ever was. Processing based on consent is now going to require active consent that can't be opted-in by default or hidden away in legal wording no-one ever reads. It's going to be tough to argue that tracking someone who isn't connected to your business/organisation has any of the acceptable bases other than consent. And without some clear basis, processing is going to be prohibited by default.
> We clearly need ICO escrow service

And contracts and laws and regulators and courts?