skysight-inc/HackerNews huggingface dataset:
You might be interested in this: https://github.com/begriffs/postgrest

"PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch."

Sidenote: Anyone had any experience using postgrest? Any good?
Take a look at NixOS. I've been using it for a while and it's beautiful. Upgrades are very close to being fully atomic, and you can rollback arbitrarily through the boot menu in case a system change—an upgrade or configuration change—ruins something. Moreover, package dependencies are isolated from each other, you can install packages as non-root, etc etc.
I'd be more than happy to contribute to the sustained applause, this echos just about all of my sentiments about the web.

And it is a call to action, not just a 'nice to read' piece.

So, what are we going to do about it?
Flexible substrates are not a problem - the industrial solution is polyimide (Kapton) or just really thin FR4. The problem is inflexible components. As soon as you bend a curved surface attached to a small flat rectangle (IC), it pulls at the joins.

You might get better results with bare die+wirebonding, then encapsulating with slightly flexible epoxy. That would allow the bondwires to flex and take up the bending. Doesn't help with the discrete components or the battery.
Anonymous Social Network Uses Voice B/C Typing Stuff Turns You into an Asshole
Introducing the launch_daemon
For my grant I was asked to sign a simple declaration of means. There was no verification. It was more to do with the aspiration of the Trust rather than an ironclad requirement (I was funded age 15: the minimum was supposed to be 16).

There would be no additional burden on YC to say 'we want to encourage more people from underprivileged backgrounds to start a company'.

At this level of funding YC's impact is going to be much greater for that demographic than those whose parents can afford to seed their startup just as they'd buy them their first car.
Most (all?) three- and four-letter abbreviations are already used.

Context disambiguates.
uses-permission: android.permission.WRITE_EXTERNAL_STORAGE
uses-permission: android.permission.READ_EXTERNAL_STORAGE
A glaring gap currently is security. Per-container IAM roles would go a long way IMHO, but that still leaves "other" secret management which is a PITA. Other options such as kubernetes lack the AWS/ELB integration; all seem to be lacking a good security management model.
Stop what you are doing and relax; let your mind wander. When your mind is ready, get on with what you are doing.

For me that's the best hack. It can produce quality results. Don't force it. That way, you will love what you are doing.
The issue here is that too many beginning functional programmers insist on trying to "understand" monads before using them (and get stuck).

They don't teach you number theory before arithmetic in primary school. Similarly, you don't need to understand monads before you use IO.
Pity the title refers to an interesting discussion point that isn't discussed till quite late in the article, and then only fleetingly.
Yea, I know this one. My boss is also suggesting us to do this technique :) Very effective.
I don't think this is the database's job. However, lots of frameworks do code generation. With Yii you can supply a database and it'll generate the necessary controllers, models and views.
Same here, I've been doing 'online judge' type of contests quite a lot in high school and college and one of the first thing to try was basically solve for small numbers by hand and then try oeis. Love this site, still have it bookmarked.
Could you paste the article on pastebin? I'm getting a paywall.
Fibonacci, 1/89, and All That
Yeah American policy needs, so bad, a simple maxim:

If it doesn't work, stop doing it.
That is a crazy amount of bureaucracy. I doubt I'd have applied if I'd hit that.

All I had to do was two interviews, sign a simple declaration and then present receipts for purchases.
> There is a very simple reason why "regulation" in this space will never do anything useful. The cost of entry is very low (an individual can find vulnerabilities without any specialized infrastructure or organizational backing), and the value of vulnerabilities is high.

The cost of entry is not low though. To find a bug is one thing, to build a functioning exploit and associated payloads to weaponise it takes a team of engineers.

At the very least, we can prevent the likes of hacking team and gamma group from operating legally in western countries.

> The best thing the government could do in this context is to be the highest bidder and then immediately disclose the vulnerabilities to the vendors.

We can only dream.
What timing - I just read "Stack Computers: the new wave" by Philip Koopman (http://users.ece.cmu.edu/~koopman/stack_computers/contents.h...). I'm pretty sure it was recommended by someone on HN, but it's quite a nice mid\late 1980s take on a tech which never really took off. I wonder what Koopman would have thought about how things turned out.
Fire Marshall Fridays
NASA Captures “EPIC” Earth Image: first image of the whole Earth in decades
From the thesis abstract:

>"Included with this thesis is a portable C compiler for stack
machines, which incorporates these new register allocation methods. The
C compiler and associated tools (assembler, linker and simulator) are
included in the CD."

I looked at Mark Shannon's page below but didn't find a link to an ISO
image of the mentioned CD.

http://www.dcs.gla.ac.uk/~marks/

As far as I can tell from a quick (and very casual) skimming, Mark's
lcc-s is implemented as a backend for lcc.

http://www.cs.princeton.edu/software/lcc/

https://sites.google.com/site/lccretargetablecompiler/

https://github.com/drh/lcc/tree/master

If anyone has found the mentioned lcc-s code, please post a link.
that's nasty!!
80+ Hand-Picked Free HTML5/CSS3 and JavaScript Buttons. Updated Daily
> One paper published in 2010 found that absenteeism among German workers would be 15-20% lower if they did not commute. If it were somehow possible to scrap commuting altogether, the British economy would see a productivity boost worth £12 billion a year, according to the Centre for Economics and Business Research, a think-tank.

Allowing occasional working from home has the same effects, and require no investment in infrastructure.

> But it is not just housing markets that hold back productivity. According to one study, employment in the Bay Area around San Francisco would be about five times larger than it is but for tight regulation on construction of all types.

I'm not familiar with Bay Area, but in Poland people constantly complain about overregulation of construction, and we have much less restrictive construction law than in western Europe (and it shows - public space in Poland is awful compared to Czech Republic or Germany).

You can have too loose construction law, and the result is a city centre were nobody lives - people just commute to work and back. This results in suburbia, and longer commute times - the direct opposite of the effect they wanted to achieve with the first point in that article.
print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
repeat 3 2
print 2
repeat 3 2
print 2
repeat 3 2
SynergyKit – Back end as a Service
That'll change very shortly, first of my US credit cards was just reissued with a chip and you can expect that all of yours will be within the next year or so.

Note that it is Chip and Signature though, not chip and pin.
Hicosy lets you take control of your smart energy consumption
What do you want? Self-flagellation? 20 hail mary's for repentance of their sins? They're being incredibly open and transparent in their investigation, Musk even went out of his way to make a comment about how they've become less vigilant in their approach to reliability than they should be. We should hope that all corporations were as forthright in their investigations of major fuckups. Just look at the average case out there in industry. You have people who are forced into resigning as scapegoats, you have attempts to shift the blame away from institutional or policy problems, and then you frequently have "fixes" which are nothing more than bandaids with no significant sweeping changes to address the underlying root cause of the problem (in this case, SpaceX's reliance on the stated specs of parts from a supplier).
Ohh I attempted to make one in PDF (it doesn't have any control flow so loops must be manually unrolled), but it turns out that most PDF readers doesn't actually follow the spec when displaying a PDF on a monitor (no you can't just throw the precision away internally just because the end result is going to be displayed with limited precision) - this includes Adobe Reader btw. I have been wanting to write a blog post about it for some time, but have never gotten around to get it done.
Primer was great! I liked the gritty, detailed, realistic but fictional engineering in the story as much as anything. That aspect reminds me of the Neill Blomkamp films - District 9, Elysium, Chappie.
Good to read
Ask HN: Which technology are you learning or are you planning to learn?
I spent the last few months digging in a lot of different technologies during my spare time, just for curiosity, from Elixir to Kotlin, and abstractions, from Functional Reactive Programming to Event-driven Dataflow Programming also reading about the history behind them. After studying the latter, I actually decided to write a book about Reactive Programming in Swift, that is a work in progress, but that's another story.

I am a desperately curious developer and I was wondering which technology are you currently learning or are you planning to learn in the near future and why?
What would be the best way to learn this content. Would you take notes while watching the lectures or try and pay close attention to the videos and read the class notes later, or something else?

What are other poker books, classes or tutorials that are high quality?
I agree with this article. Old things are sometimes the best:

http://coils.cc/coils/old-things.html
On and off I'm learning Go. Hopefully I have a working product or prototype (web service for turn based games) near the end of this year.
I agree, the Verge original title better sums up the point of the article, and the current sad state of the open web and mobile.
8Tracks – Technology stack
I didn’t know Google is indexing async content now, when did this happen?
> never really took off

It, literally, took off pretty far and at a very high velocity: https://en.wikipedia.org/wiki/RTX2010
Here's the complete course: http://alex.smola.org/teaching/cmu2013-10-701/
Manage What Matters
great read thanks
I compiled some Q&A from YCombinator partners that were relevant for me.

Is this US-only?

Nope, welcome to apply from anywhere. But..

Unfortunately we don't have the bandwidth to get involved with visas before or during the program :( If you can't do it from the Bay Area though, you can still apply to do it remotely--we want to try working with remote teams!

-------------

"We encourage you to come to Mountain View if you can make it, but remote interviews over video chat will be okay too ..."
For remote teams with viable ideas that YC is interested in funding, how remote can such teams be? Can teams apply from outside the US; from Europe, Asia or Africa?

Yes absolutely. Teams from anywhere in the world are welcome to apply. We just ask that you have a strong internet connection that allows for clear, reliable video chats.

-------------

How many teams are you hoping to accept into the fellowship for the first round?

About 20 -- we want to keep it a small experiment for this test batch.

-------------

What are key differences b/w the fellowship and the YC incubator?

It's a 12k equity-free grant, it lasts for 8 weeks, you can do it remotely, and it's primarily meant for idea and prototype-stage companies. No dinners and no formal Demo Day, but there will be kickoff and end events in Mountain View where teams will present to the YC community. We'll fly out remote teams for those.

-------------

Will we have to pay taxes on the grant?

If you’ve already incorporated, you shouldn’t have to; as long as you are spending the grant on expenses for your business, you should be able to write it off. If you have not yet incorporated, you will have to pay some taxes. We’ll go over this in more detail with accepted teams.

-------------

What kind of progress do you expect founders to make by the end of the Fellowship? Put another way, if the goal of participation in Y Combinator is for companies to build enough traction to become top-tier candidates for an institutional fundraise, what is the outcome that participants in the Fellowship should hope to achieve?

We'd like teams to make as much progress as possible during the 8-weeks of the fellowship. If you have a prototype, that would mean launching and getting your first customers. If you're at idea stage that would mean building a prototype and talking to users. At the end of the 8-weeks we hope the teams will be ready to apply for YC W16 (it's not a requirement -- but we'll encourage it).

-------------

What qualities do you look for in founders? Is it the same set of qualities you look for in the normal YC application? A little bit more relaxed? A little bit more strict?

It's the same. Read this: http://www.paulgraham.com/founders.html

-------------
http://pastebin.com/hn314nmM
Thank you for taking out the time. I've updated my post now.
Your English text (and English in general, as we know it) will not be in use in 10,000 years.

There seems to be a widespread, almost instinctive desire to achieve permanence (works or monuments) in humans, which I do not fully understand. People want to make a dent on the universe, to be 'remembered as heroes' etc. Nothing lasts forever, not your works, not your memory. All will be lost in the mists of time.

I don't see this as a reason for nihilism either, you can make a difference with your efforts - it just won't last forever (or even 1,000 years, let alone 10,000). That's ok.
It seams there are more than one solutions. Can we generalize a theory of this phenomenon?
its a usb hid keyboard to Amiga keyboard converter. Microcontroller used is _over_ 16 times faster than A500 CPU making this pretty ridiculous.
I'm sure I saw a way of doing it in Latex - I'm guessing that when you call pdftex (or whatever) then that's the point it calculates the output image, rather than letting the PDF reader do it?
Ask HN: Where can I find alternatives for open source libraries?
Is there a place where I can paste for example the URL of a github projects and have it list related/alternative projects? Maybe an aggregation of the awesome-<language> projects?
Flat is better than nested: bail out early
Many tnx and sorry, I add the project on the Show area :) how I can remove this story now?
Ability to embed links will be useful for marketers
I'm also from Slidell. What a surprise seeing this thread here on HN today. Went to Slidell High, too. Cheers.
How are you feeling with Golang? I tried it for a while but never felt in love, I think the language is too basic and verbose sometimes.
Could a vacuum airship be possible
>Strange considering that the only reason you're alive today is because of technology.

Citation needed. The main reason people don't die at birth as much or live longer is not some high technology, but a few basics: understanding of bacteria and the need to sterilize, access to running water, etc.
Coils dev diary July 4th 2015
JPEG exploit: https://www.f-secure.com/v-descs/ms04-028.shtml
> If it were somehow possible to scrap commuting altogether.

Indeed. If only there were a way that people could do work without travelling to a specific desk in a specific building during specific hours.
Housing is the #1 money sink in developed economy it consumes by far more money out of people's pockets than anything else. And the banks and the owners of capital are totally okay with this. And as the housing crisis showed, it's in no way a sure bet. It's a gamble just like anything else.
>I don't see this as a reason for nihilism either, you can make a difference with your efforts - it just won't last forever (or even 1,000 years, let alone 10,000)

Urgghh, the inventor of fire disagrees...
Big tech companies back Samsung in court case against Apple
He didn't say high technology. Agriculture is technology.
Those struts are also used in the stages that are about to be reusable, so my guess is that they're supposed to withstand the flight conditions multiple times. That would hint the equivalent tests should also not be destructive to the material.
PocketRocket
How to power up your customer support with Freshdesk
Silicon Valley’s Dirty Secret
In case you didn't read it already, LaForest thesis on stack machines http://slashdot.org/story/06/08/10/1649213/next-generation-s...
Ask HN: Noob alert – can't reply in the Who's Hiring thread -
Pretty straightfoward - the add comment field is not available in the July 2015 thread (or any whoishiring thread for that matter). Any clues?
Global companies can go screw themselves, Google in particular. "People should be able to share information globally." is the motto everyone including global companies should rally behind. The crypto export ban is an apt analogy and it did hinder American companies and benefited everyone else. A good thing too when the NSA started monkeying around with crypto primitives and national security letters. Anything that slows down american tech behemoths and gives room for other european alternatives is a good thing.
My ex is a Buddhist. Bonita and I often discussed this.

When I am gone I won't be around to know whether anyone remembers me. But when the end is near and I look back on my life, I will feel it was well-lived if I created something that is of at least plausibly lasting value.
Royal Society Milner Award - Xavier Leroy for the OCaml Language
It's probably a good chunk of a PhD thesis to come up with both the theory and an arbitrary generator for any language. However, you could probably brute force your way to the shortest solution in this particular language fairly easily.
Show HN: Simple Counter for iOS — Best Tally Counter App
I always thought that the next step after Mandelbrot is usually running Doom.
the Watch suggests otherwise....
This makes me want to cry.. When do you ever not have ANY logic in CRUD?
Calm assertions with Spock
I think I had a printed copy of this in a binder. I had messed around with map making from Wolf3D to Quake, but Doom was a great balance between simple yet powerful tools, and complex map design. My favorite map I made has a room surrounded by a lava moat and when you got to the middle of the room, triggers would simultaneously close the doors in and out, and then open several elevated panels that hid a bunch of imps.
> You can have too loose construction law, and the result is a city centre were nobody lives - people just commute to work and back.

It's not that Poland (or any other country) needs more laws. It's a problem of incentives, or lack thereof.

If a construction company has bribed politicians to keep giving them lucrative gigs on other people's money, they will have no incentive to actually do a good job.

If, on the other hand, there were free competition among construction companies, they would all strive to do their best so that they would be awarded more gigs in the future.

It's as simple as "corruption", but that's a misnomer because that's just the system working as intended. What's the point of being a city official if you're not in a position to get bribes one way or another?

With great power comes great.. opportunities for collecting bribes!
So far I like the language. When using decent tooling (Sublime Text and several plug-ins) writing Go can be quite a joy. I do however have some difficulties translating concepts that I would find easy to implement in a object oriented language, but I think I just need to practice more with Go.

The language is indeed quite basic, but to me, that is one of the factors that I like about it.
Explaining Maxout Networks
Disavow+Service+-+SEO+Consulting|Region+Stuttgart
You got the point though, so it's kind of pointless to keep arguing, right? Whatever money is lost is someone's own money.
Meteor (YC S12) Annual Student Summer Hackathon – August 8/9 in SF
Static DNS with DHCP on CoreOS
Actually one single counter-example can be enough to disprove a rule.

What doesn't work is using an example to prove a rule.
I agree, very America biased article..
Abiti da Sposa eleganti economici,Abiti da Sposa eleganti online
If you sum up the M for the active lines in a solution they equal the total number of lines. So in this one, 2 + 2 + 2 + 3 + 2 + 3 = 14.

Take 1 active line and 1 inactive line as some minimum, this contradicts, because this can only produce 1 line. 1 active line and two inactive lines, contradicts, because it can either produce 2 lines ( and it took 3 ) or it can produce m lines if the final line is a repeat, and yet this repeat is not printed.

The function of PRINT X thus becomes like a variable definition. Something needs to be "PRINTED" in order to be available for a back reference. So everything in the quine needs to itself be printed, so that it can be "printed in the quine" by back reference. This suggests that the set of different statements, being, different values of (M) and (M,N) will be conserved.

So let's assume ( and we have evidence of this ) the minimum size of statement set for a solution is 2.

What two statements can produce solutions ?

At this point, considering the above observations, one can enter the area of solving constraints on the numbers M and N through logic.

The weird thing is I wonder how you classify these languages ( of these statements such as the one given, being, a PRINT statement and a repeat statement ). It's not Turing complete. It's not a state machine. It's not a production grammar. It's not a read and say sequence. Interesting to consider what it is and what other types there are.

It also seems like there are more solutions of the same pattern.

Such as

print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
print 2
repeat 4 2
print 2
repeat 4 2
print 2
repeat 4 2
print 2
repeat 4 2

And

One with 15 print 2 statements followed by 5 "repeat 5 2" statements delimited by "print 2" statements.

And so on. The pattern is (3 * x) * "PRINT 2" + (x - 1) * "REPEAT X 2\nPRINT 2" + "REPEAT X 2"

For the other type "repeat 3 2 print 2 repeat 3 2 print 2 repeat 3 2" ( of which the version with m = 4 contains a terminating "print 2", and m = 5 doesn't work since in that case the M's sum to 2 + 2 + 5 = 9 lines of output, and there are only 8 statements in the source. Changing the active repeat statement from "repeat 5 2" to "repeat 4 2" with 2 + 2 + 4 gives 8 statements in the output and the source, and we can then do this:

repeat 4 2

print 2

repeat 4 2

print 2

repeat 4 2

print 2

print 123123123211231

repeat 12312312 123123123

And it always works to echo whatever the last two lines are, so in that sense, the above "code" is like a "PRINT" function.

A "concat" function can be obtained like so :

repeat 5 2

print 2

repeat 5 2

print 2

repeat 5 2

print 2

repeat XXX YYY

==> and the output is the source + "repeat 5 2" + "repeat XXX YYY"

So this function concatenates "repeat 5 2" and "repeat XXX"

Likely other "primitives" can be constructed. It's interesting to consider what the "product space" of these would be. What functionality could be derived from this simple language ?
I didn't even need to look at the pictures :)