skysight-inc/HackerNews huggingface dataset:
This looks like a nice fill-in between "How I start":

http://howistart.org/

and the aosa-book "500-lines or less":

http://aosabook.org/en/500L/introduction.html

(and maybe with a hint of rosettacode in the mix:
http://rosettacode.org/wiki/Rosetta_Code
)

I'd love to see some collaborative projects like this - idiomatic/recommended setups of editing/debug/release, as well as approach to coding.

I notice that Python is still absent from the "How I start"-series - something like https://github.com/pypa/sampleproject might form part of a starting point (also the Flask "flaskr" tutorial sets up a bare-bones python package, but needs minor adjustments for windows, as I've noticed using it for a small course on web programming - I'll have to find the time to file an issue and patch).

The great thing about such projects being open to contribution, is that aside from the bike-shedding, one of the best ways to get a correct answer to a problem quickly, is to post the wrong answer on the Internet.
I did something similar ( simple hack really), that uses phantom https://github.com/NicoJuicy/WebsiteAsImageWebService

It gives a screenshot of the url, with optional variables ( height, width and onlyFrontPage)

How are you doing it?
The gun homicide rate in the US is 4.5.

The US has roughly 110 guns per 100,000 people and 4.5 gun homicides per 100,000 people.

Mexico has over 20 gun homicides per 100,000 people and about 18 guns per 100,000 people.

Canada has 2 gun murders per 100,000 people and 31 guns per 100,000 people.

Mexico: each gun is responsible for 1.11 murders

US: each gun is responsible for .04 murders

Canada: each gun is responsible for .07 murders.

Interestingly, the Bahamas has 30 gun murders per 100,000 and about 4 guns per 100,000. That's 7.5 murders per gun.

France has 2.8 gun murders per 100k and 31 guns per 100,000. Which makes each gun responsible for .09 murders -- slightly higher than both the US and Canada, despite far stricter laws.

The U.K. Has .23 gun murders and 6.6 guns -- so .35 murders per gun.

Sweden has 1.47 murders per 100k with 31.6 guns for a rate of .047 murders per gun.

Nicaragua has 4.68 murders with 7.7 guns -- each gun is part of 1.65 murders.

Jamaica: 31 murders/8 guns.

Denmark: 1.28/12 guns

Israel: 2.09/7.3 guns

Brazil: 21.2/8 guns

Australia: .93/21.7 guns

My point: gun ownership does not correlate to gun murder rates -- in fact one could make a case that increased gun ownership could actually reduce gun murder rates.

Despite having more guns per capita than most countries, the overall US murder rate ranks 108 out of 218, with Honduras topping the list (incidentally Honduras has 67 murders and 6.2 guns per 100,000)
We have a horde of people here who, at the first opportunity, will accuse the mass of developers of being trendy when it comes to languages or frameworks or methodologies. And yet, we have a thousand perfectly rational reasons why so many of us flock to the cities that influential developers live and work in.
I am seeing this site since last few weeks, but not found any one to get invite. Can you please invite me - kiranchauhan68@gmail.com ?
Math namespace and libraries for Dyalog APL
I want to be able to create an ncurses app first and then have a renderer create a web app from the ncurses app.
Interesting. My big takeaways were:

(1) For most of the country, 40-70% of the folks in sample say they are concerned about global warming (GW); (2) Areas of widespread (70-90%) concern are limited to the west and northeast coasts; (3) Many people believe that scientists doubt GW too; (4) That all notwithstanding, many folks across the land believe that we should reduce CO2 and take other green steps; and (5) Nearly everybody thinks that this issue has been over-talked – that the talk is way ahead of the science.

Note to opinion-makers: talk about cleaning up more and GW less. You are turning off your audience and volume won't change that.

edit: formatting
What's the difference with Sendy?
The partitioner would be absolutely fine were the system i was using intended to be a single OS machine. but mine isn't.

My issues with it are from a HCI perspective;

- the Done button is context sensitive which is rubbish.

- Select Automatically Configure Partitioning and it will go back to the Installation summary

- Select "I Will configure Partitioning" it will go into the partitioner.

- There is no Cancel button to discard all changes instead you have to go into the partitioner and hit the refresh button

- The Available space is across all disks not on a per disk basis.

- It's not immediately clear whether the plus or minus buttons in the partitioner will create partitions, delete partitions, or adding them to the installation selection.
we went backwards for the sake of the mouse
Cool. Out of curiosity, what language is it written in?
(Fellow ncurses fan here ;))
Yes, that was a mistake, and they said it was a mistake, and they won't do it again. So you can't use this as a general example of how amazon behaves - unless you are arguing they listen and try to fix mistaken behavior.
Thanks for the signup!

My initial target is short-form content such as blog posts and essays. I'm going to wait to see how that goes to decide what to focus on next, but odds are that it'll be more structured content like academic papers or technical reports.

I'm definitely not ruling out an eventual focus on creative writing, but it'll take a bit for the system to get to that stage.

That said, I'm designing it with the ability to ingest annotated writing samples of any sort, so it's possible that a wider range of writing types will be supported sooner than expected.
don't create a web interface please, maybe there needs to be a way to render ncurses in the web.
Should the result have been any different if this exchange had happened face-to-face in a brick-and-mortar store?

Most stores display signs reserving the right to refuse service to anyone. Using profanity is one reason a customer might get kicked out.
I, like others here, also play these games exclusively in single player mode.

I suspect that there's an element of self-selection going on here; there are lots of people who play the single player, but an onliner can't see them because when that onliner goes online it's 100% people who go online that one sees there.

There could be ten times that many playing it for the single player and they'd remain completely invisible.
In fact there were several huge discussions about the U.S. Just planing the flag in the middle over some already existing pieces and even the rainbow road that most respected. Every American related thread was full of people discussing politics. While i agree the result is wonderful the path was full of hate and hate speech.
Definitive NO. I think you mean they have to offer free _return shipping_.

I only know the situation in Germany for that, and the law here is not even as straightforward as most customers expect, just the big online retailers are pretty relaxed with their return policies (because that is what the customers are expecting).

There is no situation where you could insist on keeping a defective product, and its also not commonly offered voluntarily.
I think this is a viable project - I've thought about doing something similar myself. How will you differentiate from Netlifly CMS, though?

https://github.com/netlify/netlify-cms
I'm working on an open source "interactive time series forecasting app"[0] powered by Prophet[1] and Plotly[2].

I aim to make it a fully featured front-end to the Prophet forecasting tool released by Facebook's Data Science group.

I loved Prophet at first sight and thought it can be a goto solution to the problem, so I have decided to use Plotly's interactive charting and React's declarative programming for the performance.

It's still in the development phase for now, my next task is to enable installation through NPM or PIP.

[0] https://github.com/Prophetly/Prophetly

[1] https://facebookincubator.github.io/prophet

[2] https://github.com/plotly/plotly.js
The more tools the better, one with a web interface would work better for some, less so for others. Even better if they can use the same format (i.e Ledger)
Thanks! It's written in C for the reason that I want to become a faster C developer. It hasn't always been the most convenient experience but I sure get better in writing C :).
Perhaps the forums he sold it in were focused on illegal activity, it was mixed in the article. But lets get back to this forum - I am sure that there is discussion of how to subvert drm on hacker news (search far enough and you'll see it), and that's illegal. So if you were on trial and they used your posting on hacker news against you, they'd definitely call it "evil scary bad hacker news".
ncurses should just be seen as an unthemed webapp, it's a shame devs can't just create an ncurses app and themed it into a webapp without touching html/css
You are less likely to attack someone if there is the risk that person has a gun. Just like you are less likely to speed in your car if there's a cop driving next to you.
I'm also a noob. To hack together a quick app to hit a few of the instagram endpoints I went with flask. In my case, it was just a matter of writing a few annotated methods, and plugging in some template files and I was up and running in a few hours!

I'm now looking at SQL alchemy and thinking I might try to taking another look at Django...
It's more like a custom homebrew analog computer with a few unusual additions.

Seriously impressive.
Location : India

Remote : Yes

Willing to Relocate : Yes. (Preference for USA,Canada and UK)

Technologies : PHP, Ruby on Rails, Javascript, Jquery, Bootstrap, AWS

Resume : https://drive.google.com/file/d/0B6JvpMISemHSbk9wSkh5OHJzNGM...

Email : abhimanyujain2k6@gmail.com
I see, that makes more sense I guess. Still, I would've liked it if they put the DCs in Norr- or Västerbotten. I'm very partial though ;P
There's "refusing service", "banning customers", and then there's "turning off a device you've already sold to a customer after he's taken it home". There are not many goods/products/businesses who get away with doing that. Even Steve's "You're holding it wrong!" wasn't followed up with "so I'm gonna remote brick it on you"...

(Interestingly, Amazon have in the past remote-deleted Kindle books on people's devices - but for very much better reasons that "you were a bit rude in your review", and they _still_ copped a roasting for it...)
> The issue is more about connection to external servers than the particular board itself.

Oh I meant that the R.Pi would be the server where the IoT gadgets connect to. Located in your home and available through your home network connection. Optionally with some kind of (self-hosted) server in your own VPS.

This is obviously a solution for DIY-ers only.

> Consumers want to, and indeed they do, pay for these devices.

I don't think this will ever work if the customers pay for the devices but not for the service. A $99 gadget doesn't leave much for the company to be running the service. I don't see how the economics would work out without a recurring payment.

My gut feeling is that gadget startups such as this one haven't even thought about surviving more than 3-5 years without being acqui-hired to a major corp. Some may bet on getting to be big and thinking that scale will help.

But even if every darn garage in the world would have this gadget for the $99 they charge, I can't see how they can keep the servers running and the software up-to-date with a one time purchase for the life expectancy of an average garage door.

But consumers complain about recurring fees and there's only so many services you can subscribe to. Paying $2-$10 a month for your garage door, thermostat, cat feeder, plant waterer, etc will add up to a lot of money and hassle.

The only way I see forward with cloud-powered IoT gadgets is that a major company with billions of dollars sets up the infrastructure that will scale up to millions of users with a few billion gadgets (and a monthly fee). It's either that or self-hosted DIY. I don't think it's economically viable for a start-up to provide a cloud service for a one-time fee for any meaningful period of time.

I'm sure customers don't want to buy and install a new garage door opener every 3 years when their previous IoT gadget startup goes belly up, servers go down and the gadget turns to a brick.
I'm building a football management game: http://footballpresident.net.

It's an Electron front end (Angular) which connects to a bunch of micro-services for messaging, fixture generation etc.

Sort of like a tycoon mixed with a simulation game.
Consider real life aimbots about 30 years from now.

Scary.
Why would they need to be close to 'a large pool of talent' in order to run a bunch of hosting? It doesn't take that many people to run a hosting facility, the ones I'm familiar with are mostly deserted. They take people to set up and a large amount of capital but once that's done it takes very few people to run.

Even the (very large) Google data centers typically do not employ more than 100 people, that's 30 people over 3 shifts and some overhead.
101 urban economics.

Economies of agglomeration is a powerful thing. Expensive cities are expensive because productivity and value generation there is much higher than elsewhere.

The concentration of tech into few places is not a negative by itself. It's essential for better productivity and economic growth. Negative effects like expensive housing are failures in urban development.

Economic activity is concentrating on large cities. This is global development. Cities have better productivity than, small towns. Bigger cities have even better productivity than normal cities. High-tech industry feels the need to concentrate even more. Just handful of cities become significant technology hubs.

Currently the only way people can build a hivemind is to get together around best universities.
Reporting framework for SAAS
Is there any reporting framework , that i can directly embed in my app
I think they're actually quite good employers (from what I've seen) and they pay well.

The issue is that the yacht is used by people all year around, and there isn't much opportunity to not work. You're away from your family and the people you love, and so, by default, it's a limited time gig for most people.
Looks very interesting. I guess I might be fighting a loosing battle here - but any plans for an offline solution? This is the kind of thing that I'd probably love to use on the train (many tunnels, no 4g/spotty in-train wireless) - and on flights (wifi is comming, but not always) -- or other places without good network coverage (composing a blog post on a hike..).
Instead of multiple databases in sync, why not use a real RDBM such as Postgres and have the clients sync to the master. The distributed databases-in-sync idea feels a bit like Git, which I love for code but would hate for production customer data. Those types of things need a canonical representation.
Nah. I know exactly what I'm talking about.
Working with Zedboard – ARM and RISC-V Board
> All interesting types of development work can easily be done remotely.

My employer would prefer I not walk out the building with the rather expensive test equipment necessary to debug our latest prototypes (which they would also prefer to keep in the building). Some of us software developers work on actual physical products, those which involve using a logic analyzer, oscilloscope, and JTAG pod for debugging. This equipment is too expensive to replicate for every engineer and has to be configured hands-on.

Different folks have different ideas of what is interesting to work on.

> Google, Facebook, WhatsApp, name it. The unicorn billions are all things that never needed face-to-face spitting.

All terribly boring to me. That's why I'm an embedded software engineer. Somebody has to write the code that keeps your airplane in the air.
May I ask why? Is it just because you don't know them?
It's been a few years since I looked at a print version of "Writer's Digest," but there would regularly be ads stating Kleenex was a brand name for facial tissue. A number of companies, like Xerox, would do the same thing to protect their trademarks.

As noted elsewhere, while the legal departments hate it, the marketing departments probably love it.
I can see it working, but I just feel that it's putting pressure on the consumer to rate the company how they want them to.
The cover letter format that made job application response rate go from 0 to 55%
While your idea of auto generating web gui might be nice (I haven't seen it in action yet), there's no such solution what I know on the market yet. I want to be able to have a native feel on every platform. That means a web UI, a windows UI, an Android UI, etc.

Therefor my current solution is to have a really tiny presentation layer that is able to adjust to multiple UI.
Great, I did some work with ncurses & C, and it's not easy but it's worth it.
What strikes me the most is the large gap between "it will affect me" and "it will affect future generations".
Reply to self. Another advantage of having a master database would be to allow rodent-dragging hipsters to write their own web client using a dozen Javascript libraries and get the latency that they would otherwise miss!
I imagine the greater concern is the deep integration between the NSA, GCHQ and ISPs in the UK and USA.
Given that it's impossible to have the real world simulated in qa, it's probably the best you can do. There's just no way to have all configurations for all clients in your test lab.
Big Brother and Others Are Watching Your Car
> people with self-determination, i.e., a country, have decided

You know that's just flat out false, especially considering you've personally never been asked about it.

> countries agree to give up part of sovereignty

Again, you were not asked. Neither was any other ordinary person affected.

> the tourist visa explicitly has a number of terms and conditions

I brought up the idea of the Social Contract. You're talking about something completely unrelated, and thus not addressing my point.

But whatever. You're most likely just yet another psychopath spewing your bullshit, and this account is probably shadow-banned already, because I'm.. wrong?
This is just a slippery slope fallacy. There was clear opposition to an EU superstate in many countries, there's no way the UK ever would have ended up in one. If anything, this makes a (smaller) EU superstate more likely.
Perhaps a more fruitful approach would be to generate both from a common abstraction. Otherwise, you either impose ncurses look&feel to the web (might look like a web terminal emulator), or you force the web into the terminal (might look like a text browser e.g. w3m, lynx, links, elinks)
> If you're a fantastic developer in Ukraine, India or China and have very limited needs (compared to a guy with a family and kids), your disposable monthly income net of taxes, rent and commute expenses is still likely to be higher in Silicon Valley than Ukraine, India or China.

I feel like I'm rather average developer, and live in Poland (more expensive than the countries you listed), and still managed to save over $7000 per month in my last remote gig. No roommates either (I live in a flat I own). I feel that I'd be MUCH worse off in SV, or in the US in general.
> There is very little way of me understanding climate change science myself, but I'm willing to believe climate scientists, but this is actually an act of faith, I can't independently confirm that climate change is caused by humans, just say that it's very likely.

That's exactly how I feel. I tend to roll my eyes at people that deny global warming is happening, but I equally roll them at people that talk about it happening as if they've done the calculations themselves. It's refreshing to see this sort of humility on HN. Thanks.
> You're insisting that debt is another form of investment, and depending on what you're looking at that makes sense, but when talking about 'value' it doesn't always hold true.

This sort of intuition is seductive, because we're generally told "debt bad, equity good!" But it's not correct, for the very simple reason that debt and equity are, in many ways, fungible: each type of financing can be utilized to replace the other.

To go back to the company A & B example: Company A could decide tomorrow to borrow $500,000 and buy back $500,000 worth of stock. Company B could issue $500,000 worth of stock and pay down its debt. Then, just by shuffling some papers around, the capital structures of the two companies will have been reversed! Yet nothing in the underlying business will have changed for either of them.

But don't just take my word for it! Franco Modigliani won a Nobel Prize for his part in the Modigliani-Miller theorem, sometimes called the "capital structure irrelevance principle" (seriously): https://en.wikipedia.org/wiki/Modigliani–Miller_theorem

It's certainly a complicated subject, but debt is very much a real part of a company's capital structure and can't be ignored when comparing two different companies.
I sometimes wondered whether it is this focus on education and a religion that rewards gambling authoritarian-rule-systems that lead to continued persecution, while other not-integrating minorities where completely ignored.
I just wanted to suggest this. Similar to 'chaos monkey' killing my processes once every few days, developers would also look differently at rollback procedures if I guaranteed that one in 10 would be rolled back randomly.
Last time I tried Fedora after using Ubuntu, the minimize/maximize button was missing on windows.

Turns out gnome team decided to remove it and Fedora does not restore the setting while Ubuntu does.

This might seem childish but the fact that I had to make a change to the interface as a first step just after installation completely turned me off from the distribution.
Indeed; I would assume a big part of the bureaucratic layer exists to make everything work mostly correct even though there will be cheaters and thieves at every stage of the construction process.
As if any first-world government weren't already monitoring everyone as best they can?
It's an item on BBC radio news today. And as I half listen to the radio the impression it gives is of the Brits making a breakthrough. Maybe Manchester Uni's marketing dept talk to the Beeb and got it on there. Who knows?

As I heard it I thought, this is an odd story. Firstly for the nationalist rhetoric, and secondly for the way it's phrased. It gives the impression of a sieve, much like a kitchen sieve, that can be used to instantly turn sea water into drinking water. Which is nowhere near the truth as far as I can tell.
How to rickroll Spotify for Android
I single database would require a constant internet connection and would be much slower.

I aim for 0.1s feedback, and that's hard going over the network. See https://www.nngroup.com/articles/response-times-3-important-...

I don't think it's such a bad idea for production customer data. Actually I think it's a great idea and wrote my master thesis about that:
http://fileadmin.cs.lth.se/cs/Personal/lars_bendix/Teaching/...

I would love to hear why you think it's a bad idea! Would you care to elaborate?
I agree, that's my jaw-drop takeaway from it. I assumed it was science skeptisism, rather than simply being misinformed.
Sir Tim Berners-Lee Slams UK and US Net Plans
Install the Gnome Tweak Tool and you can make lots of preference tweaks like that. I'd actually forgotten that they did that because I added them back too.