skysight-inc/HackerNews huggingface dataset:
Very cool. I wish stuff like this was more common & easier to find for other emerging domains.

On the topic of completeness & accuracy: have you considered open-sourcing the content?
You are right, thanks for the example. I checked the psycopg2 library after reading the announcement which drove my confusion. Psycopg is a super straightforward db driver. I wonder if this is the start of an orm built on top of psycopg2...? color me confused.
> You can choose the most permissive software license, and people will still argue with you about your choice.

The irony of people getting annoyed because of "missing restrictions".
If only that were a good line.

What does it mean to put other species above humans? Does it mean human economic activity is more important than other species? Because that means that we should just let China kill all the rhinos for their horns. If not, that means some people will die, because economic activity is a matter of life or death for many.
I am sure Electron magazine (or whatever the UK publication for the Acorn Electron was called) had a "ten liners" section. To be honest I never learned much from it, as I was too young to have a proper grasp of programming, but you could get some neat stuff happening by typing those ten lines.
Show HN: Loophole – Polar devices API (ver. 0.1)
This does occasionally happen, e.g. Atlanta passed a 1% sales-tax to fund sewer-system replacement. There are lots of anti-tax voters, though. Another problem is that many states: 1) won't pay for the water-system improvements out of state revenues, but also 2) heavily constrain the ability of local governments to raise their own tax revenue, even when the local citizens support it. Atlanta had to lobby the state legislature for years to be allowed to pass its 1% sewer sales tax. That's also why a sales tax was chosen, even though they're somewhat regressive, because it was the only option they thought they could get through the very conservative state legislature.
My understanding of robo advisors (and I'm super willing to be corrected on this if I'm wrong) is that they mostly allocate your money to lowest expense index funds, which is what you recommend and most smart people already do. So why do you need robo advisors at all? Two reasons that I can see:

* daily tax loss harvesting exists, so you can make more money if you are selling daily the funds that lost value so you don't have to pay taxes on the ones that gain value. Not sure how much this actually does, which is the main reason I'm not sure if robo advisors are worth it!

* keeping a balance between national low-cost index funds and international low-cost index funds is desirable so you can decrease volatility without decreasing expected returns. This is not all that hard to do on your own but it is an advantage of robo-advisors that you don't have to do it yourself.
Should probably use this moment to plug my (opposite) project, git-upstage, which lets you claim credit for someone else's work and backdate it so it looks like you did it first:

https://github.com/SilasX/git-upstage
Can someone explain why the performance is effected so dramatically? It seems, you would need to add type checking overhead, but it also seems like you could make better optimizations and remove a layer of indirection.
how feminism annexed academia ... why Occupy failed but why BLM could grow exponentially

No axes to grind here, hmm?

(Hint: there's a huge difference between civil rights movements -- those demanding equal respect -- and the fulminations of the privileged who think life's a zero-sum game and anyone else making up ground means that they're losing out. Alas, you don't seem to get it.)
If you're interested in graphics programming, Íñigo's articles are absolutely worth reading: http://www.iquilezles.org/www/
Could this help explain why the US is more violent that than e.g. European countries? The removal of lead from gas has been liked to a decrease in violence, so I would guess that levels could go even lower if lead was removed from other sources as well.
Oh sorry, I misinterpreted that.
"Don't run untrusted code" has been a basic common sense for people since the dawn of the internet, but that doesn't mean you can follow it 100% of the time. It's good to be aware of potential attack vectors, and not just sweep them under the rug of "don't be an idiot".
Thanks for the feedback!

> Ex. by far the most common thing I'm doing when going to a repo is looking up a file and doing something with it. So why isn't a file list the first thing which comes up when I open a repo?

You can set this as default in your profile at /profile/preferences! Note that with GitLab 8.4 we now also have the quick-files finder which you can open from any page in a project by typing `t`[0].

We're working hard on improving the UI and UX and improving visual hierarchy and especially providing context to the current view is very high on our list. I hope the many changes in the last and upcoming releases will help, but any more specific feedback is very welcome.

[0]: https://about.gitlab.com/2016/01/22/gitlab-8-4-released/
Can someone give you good financial advice at $200 a year? That is maybe 1-2 hours worth of advice including reviewing your portfolio and meeting up with you. Some plumbers charge more than that rate. If they are any good, they could probably make more money with better use of their time.
Because doing something as simple as `select sum(length(content)) from app_comment;` in Django ORM is not possible.
I use (and attribute) CC photographs all the time and I have to say that I wasn't even aware of a couple of those requirements. Sadly, I think terms like these, as well as the optional non-commercial variant, are serious issues with CC. Attribution can be hard to carry along with a photograph consistently but at least the idea of a photo credit is pretty deeply ingrained in professional publishing circles if not the Web more broadly. I expect most of the other requirements and limitations are rarely followed to the letter.
An example of a vulnerability of an even older version of Opera for Windows, that let an attacker totally own the client computer: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-13...

"Large values in the HTTP Content-Length header can cause Opera to crash. Certain specific values can cause a memory corruption, which in some cases can allow arbitrary code to be injected and executed. In most cases Opera will just crash. To inject code, additional techniques will have to be employed."

More details in the pages linked to the URL I provided.
How many pictures do you think the average newbie needs to take to become a "proficient" photographer? 10,000? How much would it have cost to develop all that film twenty years ago? A modern user doesn't just have a better camera than those twenty years ago, they also have a built in dark room with unlimited "prints" (digital viewing).
Best in what sense? Bitbucket does everything Github does, plus gives free private repos. GitHub is just more widely used.
This article is especially interesting, given it was written before the the US entered the war and before the full extent of Nazi atrocities was known.

I'm reminded of C.S Lewis's speech about the Inner Ring (1944):
http://www.mit.edu/~hooman/ideas/the_inner_ring.htm
I've recently moved to the US and cannot bring myself to drink tap water. Even though I consciously know that it should be safe, it is as if I was trying to drink water from the toilet. Years of living in a country with untrustworthy tap water do that to you.

Now, the way it is usually done in the US is very wasteful. I mean, packs of bottled water at CostCo? We used returnable 5 gallon containers...
I'll second games being a great gateway drug.

My first introduction to programming was game development. Around early 2007, Bungie ( the game studio that made Halo ) released a bunch of devcasts in which a handful of the developers would all sit around, shoot the shit, and talk about building the game. I naturally thought it was awesome and looked for tutorials on Youtube. Unfortunately I didn't stick with it due to the steep learning curve and decided software development was too hard ( If only I had a mentor/teacher at the time ).

A few years later though my friend and I wanted to bot the game Runescape to make some money. The most ban-proof way at the time was to use this program called Simba and you wrote scripts with a pasacal-like language. Everything was based on the pixel color of something and most of the bots were simple procedural programs. Due to the simple nature of the scripts, you could easily write something without a ton of prerequisite knowledge and see if it worked or not. The biggest problem with this method was color and object detection, how do you know if what you're clicking on is a tree or some grass? At the time, the hotshots in the community were mostly people enrolled in cs programs and building neat algorithms to detect stuff. The only way to compete with them was to learn the fundamentals of cs. so of course that's exactly what I did!

Gaming provides a fantastic playground for learning because it's fun and there are very clear rewards for learning more ( Learn matrix manipulation, get better object detection, make more gold ). I think teachers would do well by getting games into the classroom. They really do open the imagination when paired with programming.
They have similar goals, capital preservation, consistent cash-flow so they don't deplete the principal. I'm in Canada so examples we often cite are the Canadian Pension Plan (CPP), Ontario Teacher Pension Plan (OTPP) and the Ontario Municipal Employees Retirement System (OMERS). All of these do a lot of private equity investing and OMERS in particular has invested in a number of Canadian tech companies and IPOs, incuding recently Shopify and Hootsuite. All of them have had quite impressive and consistent results as well.

The problem with using public index funds to mimic these managers asset allocations is the higher volatility of publicly traded assets. For example in 2008 widespread panic caused people to sell their mutual funds and flee to cash which widely hold a variety of assets, so all of them suffered. This included publicly traded Real Estate Investment Trusts (REITs). At one point they were selling for 80% of their on paper asset value, which was entirely irrational. Many money managers that typically invested privately in commercial real estate because of that volatility took that opportunity to buy public REITs at a discount.

That being said, you can definitely do a decent job of adding asset class diversification with modern ETFs (and the market for these keeps growing). There are now infrastructure ETFs, REITs (Vanguard's REIT is really well priced), covered call ETFs, etc. Just don't expect to get exactly the same results of these managers and expect to have to handle larger volatility.

That being said, if you can weather these market movements, and you are saving regularly, volatility can be a good thing, if you can take advantage of lower asset prices with ongoing contribution then that is great.
In fact, GitLab 8.5, due the 22nd of this month, will heavily improve many views for mobile. This has been something we've been holding off on and we'll be slowing working more and more on it, as our UI matures.

GitLab 8.5 will have responsive views for most pages, but their functionality will be slightly limited compared to a full-browser, as we chose to hide certain elements (rather than a separate mobile view).
The CSS team has people like this, who no longer make websites: https://www.w3.org/People/Bos/CSS-variables Thus they're disconnected from current web developers.

Meanwhile Smashing says something like 77% of audience uses SASS.
It is exactly the problem I would love to solve, great that you feel the same :)
Because one tool never fits all situations.
Yeah, I don't think people notice advertorials or understand motives for things like this. Its just to get the news out that amazon is open for business in the upcoming election cycle.
Running costs for Candy Japan
Way to shoehorn BLM and feminism (both movements seeking equal rights) into the same frame as ISIS and Trump.
I've tried lots of different python sql libraries and the only one that I didn't have to abandon because of limitations is sqlalchemy.

This sounds nice, but I'm skeptical.
"I am not the kind of person who does X" is perfectly valid even though as we get older it tends to become "I am not the kind of person who does X now."

Sometimes the "now" is "anymore". Sometimes it is "yet". Other times it is "right now". Our concepts of wisdom overlap a lot with γνῶθι σεαυτόν [know thyself]. At fifty, though, probably it's a bit of common sense rather than any sort of wisdom.
>By feeding numbers into the scanner instead of fingers, you can accomplish the same effect as feeding random strings into a password box.

Isn't this exactly why they DON'T allow you to use the iPhone with a potentially tampered with HW/TouchID -- e.g. the very feature/issue we're discussing?
ORMs are more difficult to use than queries, and they often make them slower. It's lose/lose
Show HN: LennyFaces.net – Cheatsheets for lenny faces
It is amusing to thing how real it all seemed when looking at those blocky things.

For a while I played with 3D shutter glasses but the HUD was 2d overlayed so it was only for the enjoyment of the effect.

We played with such wonder, and we were 20 years old. The EQ world was so hostile, a mechanic that I won't think will be repeated.
seize some resources, invent a necessarily preposterous myth, then in exchange for demonstrating belief in the myth, re-distribute the resources arbitrarily among a minority of people who are easily replaceable and know it.

Startups?

how these assholes seize power. It's through charismatic promises of future rewards

Startups.
The non Express stores were long known as poor performers, even if they were new openings. The newish CEO has razor sharp skills and keeps making decisions that long ago should have been done.
A job that doesn't need to be done is one which doesn't produce enough value to pay a person enough to do it.

A possible example would be many cast food positions. If the workers didn't have to work together by wages would go up driving up the cost of fast-food. The higher cost would lower demand, and it might not make sense to have 10 fast food restaurants on every block.
They say they put out new package; I take that to imply they don't rewrite files once deployed.

But what you're describing has interesing failure modes indeed - from just successfully patching the running process to the SIVSEGV to having the target process ending up in an infinite loop (BTST).
blogspam, original discussed here: https://news.ycombinator.com/item?id=11049067
In addition to the array of other correct responses, I'd all stored procedures or functions. They're so much easier to interact with via SQL, if the ORM supports them at all.
Short of a formal proof (or a sound type system), you can't be sure that you never hit a type error in production that now wouldn't be caught.
The parent was surely joking about, err, "quality" of average YouTube comments thread.
Programmers, robot overlords and geeks shall inherit the earth
> ex. find and blame a file

If you're in a project in GitLab 8.4, simply press `t` to bring up the fuzzy file finder. On a file, simply press 'Blame'.

Let me know if we could speed this or any other action up further.
Amusingly, this is the other extreme from Diesel for Rust, discussed yesterday. This is the totally dynamic approach, while Diesel is the totally static approach.
Implementing Customer Phone Verification – Simple Way
Peewee [1] is my tool of choice because of its convenience and flexibility combined. I can create pretty complex queries using its Query API, but also execute arbitrary queries when I know I need something a little more nonstandard. Plus the maintainer (Charles Leifer) is an awesome dude who has always been really helpful to his users.

[1] Peewee: https://github.com/coleifer/peewee
Have you been to/lived in Vietnam? Their economy is booming compared to their neighbours. They are communists in name only; much like China. You're conveniently missing out the part where the South reneged on promises for a vote on reunification which led to conflict.

From the Vietnamese POV, the Americans were in cahoots with the French; they didn't want to go back to being a subjugated people. Mind you this was not America of 2016 but the America that toppled a democratic government in Iran to secure access to oil.
Sorry, used wrong URL. Should be here: https://news.ycombinator.com/item?id=11054077
>Rows are represented as standard Python dictionaries

That seems inefficient. You're always going to have the same columns in each row, so storing column names for each row is a huge waste of memory. Django's "cursor.fetchall" returns a list of tuples, which seems to be a saner way to represent db rows in Python.
I actually made a bi-propellant rocket engine in this sim, though I had to use a lua script to get the hydrogen to be in liquid form it works surprisingly well. https://twitter.com/Goomanhimer/status/694048595041976320
I was surprised by the relatively clear description of a psychopath as being ideal Nazi material. I'm not sure if it was a widely known concept at the time or if they were just going by instinct.
Patrick's numbers seem way off from my knowledge of what is typical in the industry. Typically a fee-only who deals with smaller clients will be around $150-$200 a month for people under $1m[1]. At the higher level of assets someone will likely charge in the thousands for a single session. It is not flat across the board. A $50m nest-egg is often much more complex compared to someone who wants advice at the $50k level.

It is not unusual for someone with $50m to pay $10-30k just for an initial session with a firm they are considering working with and then more ongoing. Many of these people wouldn't even consider working with someone who doesn't charge that as they will immediately assume you are not experienced or skilled enough to handle their needs.

As with any business, customers often expect to get what they pay for, and pricing to your market is important.

[1]: XY Planning (http://www.xyplanningnetwork.com/advisor/) is one example I can think of, and I believe they also work with Betterment for the investments. http://www.thinkadvisor.com/2015/02/27/xy-planning-brings-be...
$ git push SEP-field
Thanks! I was floored when a colleague told me he saw Afterglow on the front page of HN this morning, I wasn’t even aware it had been submitted.
Your ideas of crowd feedback input are interesting. If you can get those encoded as MIDI or OSC somehow they could feed right into cue variables and effect parameters. As for ambient noise, one of the next big areas I want to explore is audio input and FFTs so that effects can respond to energy at different parts of the audio spectrum, and let you build sound-driven light shows—like some multi-head fixtures can do already, but spread spatially over your entire lighting rig, regardless of who made which piece.

I hope you can explore building some of those ideas and let me know how they go. I’ve found the framework so far to be very productive for integrating with new concepts—I added control of laser shows via Pangolin Beyond over UDP in a weekend. The learning curve is steep (less so if you know Clojure) but I’m happy to help and answer questions, and that’s been improving the documentation too.

And thanks for your feedback about the README. I know it can use more work, it’s hard to explain something this sprawling, but I keep improving it. I also want to shoot some video of the rich grid controller interface on the Push and Launchpad, how they tie to the web UI and other MIDI controllers, and how effects can react to pad pressure. But usually I’d rather code a new feature than take the time to do that… Which is why the only performance video I have up so far came from another user.
People say the same thing about poetry (at least the basics, no iambic pentameter here). Saying "I can't do math" is often a socially acceptable way of expressing the idea that it's not really interesting. It's particularly common for people under pressure to follow a STEM academic track...and that frees up the school schedule for classes in things like drama, creative writing and machine shop.
> Extremely moderate libertarianism? There are more conventional names for that.

Per my understanding, mainstream Libertarianism retains the court system as mediator of contractual disputes as well as criminal law.
Amplifying C (2010)
You can still use SQL from the Django ORM.
Sure, but I have no issues with the "quality" of the average YouTube comments thread.

I don't want to censor (from YT comments) people whose comments I disagree with, or consider stupid or shallow, or even people that are undeniably racist or ignorant or whatever.
The point of the article was not "pros & cons of UBI" or "is it feasible?". It was "what would it take?"
Not curated but well organized listing of MOOCs, including marketing, design, etc: https://www.coursebuffet.com/areas
Look beyond the labels. Yes, sometimes a white person that grew up among black people is more black than a black person who grew up with only white people. Think about half-white, half-black people, why aren't people talking about mixed race people? Why do mixed race people often choose what side to identify with? Because "black" and "white" is just sub-cultures within American culture. Yes there is a correlation with physical trait, but this correlation is misleading and was started by our ignorant ancestors that lived in a world that is completely different from today.

Dark skin alone doesn't make you black, and I know I'm right because there are plenty of dark skinned foreigners that complain they get lumped in with black people when they're actually Arabs or something else. This is even worse for white people. Italians and Russians are in the same category, and that really makes no sense. Skin color should just be forgotten altogether.
That's the beauty of git. You can pack your bags and leave any time.
Why is the capital gamma spammed into all the formulas, instead of adding an axiom

foo turnstile bar

------------------------
Gamma, foo turnsile bar
Reminds me of RedbeanPHP: http://www.redbeanphp.com/index.php?p=/querying

You would just require the single redbean.php file, and you could query your database. The fact that this library is similar is clearly a great sign!
It had all those things, and you can call that bloat if you wish, but at the time it was decently fast.

http://lifehacker.com/5352195/browser-speed-tests-chrome-40-... for example, or https://ktetch.wordpress.com/2010/07/05/benchmarking-browser...
I actually just noticed this yesterday when realizing that some commits to my personal repository on an unrelated-to-work project had my work account's username and picture, even though I used by personal account key. I guess this uses the global email and name settings, and github matches the picture. I got a bit worried that this stuff would start appearing on my work organization's timeline.
So the question is, could you get rid of 1/3 of government spending?
Back when I was first learning to use git, I accidentally pushed a commit to my repo as the author of a set of dotfiles I'd cloned. It was a bit mortifying.
In the "why" section you list 3 reasons.

> In case something happens to GitHub. More generally because keeping your data in the cloud and relying on the cloud to back it up is foolish

I disagree, cloud backups are more reliable.

> In case someone takes down a repository that you were interested in. If you run github-backup with your username, it will back up all the repositories you have watched and starred.

If the repo goes down it's already going to be a lot harder to use, but it seems easier to fork a repo.

> So you can keep working on your repository while on a plane, or on a remote beach or mountaintop. Just like Linus intended.

When have you not been able to work on a local repo locally?

Overall, I think I'm missing the point.