skysight-inc/HackerNews huggingface dataset:
That's pretty interesting. Surely WhatsApp has used their leverage to get lower rates with Twilio that others do not get...right? I'm assuming WhatsApp knew to some degree but I wonder if they knew just how high that percentage was.
Hi, I wrote the post. We'd love to use transactions but our ORM doesn't support it. More info here: https://kev.inburke.com/kevin/dont-use-sails-or-waterline/

We wrote our own transaction library and have been shifting queries over to it/a saner ORM. https://github.com/shyp/pg-transactions.

I've never heard of database templates, I'll have to take a look.
I would but how you you structure this is something you think about. What value addition would you provide on top of LinkedIn ? Some things to think about but can see a use for such a service.
Membership in a good community is itself a form of social capital that you can even put an monetary valuation on (compared to not having a good community). Many immigrants arrive with that form of capital intact, and admission to such communities is often gated by cultural barriers.

Further, educated immigrants, while they don't start in their adoptive country with much money, arrive with a lot of educational capital, which someone invested in before they arrived. They arrive with the "tools and opportunity" built in.

For less educated immigrants, and native-born poor, assuming a functional community exists (which is not a given for either), it's members might be able to scrape together proceeds gained by expending their physical capital in marginal labor, and share resources among themselves (housing, childcare, etc.).

But depending on their circumstances, that may not be enough to move their members out of poverty, as the surplus of their labor may not be enough to pay for, in your words, the "tools and opportunity" needed to escape poverty.

Sometimes the requirements for the community's survival can actually hinder the acquisition of tools for advancement, i.e. a 16 year old has to take a menial job to help support the extended family instead of staying in school.
Hey guys,

This is Michael from the Scaphold team.

We are excited to officially launch today and would love to hear any and all feedback on the platform.

A little about us. We are a member of this summer's YC Fellowship class and are pumped to be moving full steam ahead with Scaphold. Over the past few years, my co-founder and I have built numerous REST APIs to back services ranging social music apps to community book swapping programs. Each time, we found that we were running into many of the same problems and building much of the same thing over and over again. We used REST because we didn't know any other way, but something was definitely left to be desired. Last year, after reading a HN post on this little thing called GraphQL, we knew this was the future. A few months later, we set out to build the world's most powerful GraphQL-as-a-Service platform and today we are sharing it with you.

Thank you HN for the support and we can't wait to see what you build!

PS. If you are an experienced React or Relay dev we would love to hear from you as your feedback would invaluable to us. You can connect on our Slack page here (https://scapholdslackin.herokuapp.com) or via our the chat tool on our homepage.
It comes across as offensive and discouraging to those that believe that "intersectionality" is in itself discriminatory, both towards the racial/gender classifications being infantilized, and the racial/gender classifications who are assumed to be privileged.

As an extension, the entire presumption of the necessity of a "code of conduct" is in itself "problematic", in that it ascribes problematic behavior to what are in fact welcoming, professional, pro-actively inclusive communities that simply do not accept at face value the discriminatory precepts (racial, gender, or otherwise) of intersectionality.
When you only have to brake in 1% of the use cases, and the "Autopilot" handles the other 99%, is it really that crazy that a driver does not instinctively recognize that 1%?

Or is it crazy to expect a user to be able to react instantly to the 1% use case?
Excellent resource, thank you!
How much protein do you get from bread, though? A calorie is not a calorie.
We'd love to do this but our ORM doesn't support it. https://kev.inburke.com/kevin/dont-use-sails-or-waterline/
Have you been deselecting table view rows incorrectly?
I guarantee you its a far cry from what templates will let you do.

However, its overloading a custom type to behave like a higher order function, which is a fairly complex piece of code. Most uses of generics are much simpler.
Classic HN: “BitC isn't going to work in its current form” (2012)
The things that the TSA forbids can, in many cases, be picked up after the security check in various shops/restaurants in the airport. I used to make it a point to walk around, identifying things lying around in the open (like silverware in restaurants) that was forbidden just a few feet earlier. But it just became too frustrating.
“On the Record” but Off the Track (2008) [pdf]
Agreed, but if you are running a CI provider and recycling containers, seems easy enough to do it as part of the recycle step.
Is this manually curated? How are restaurants selected?
I realise this sounds crazy, but Bin Laden was apparently worried about climate change, and his acts have probably acted as a brake on the growth of air travel. Coincidence? Probably.
Seems likes the impression of a self-righteous, wealthy industrialist who is trying to shutdown speech he dislikes. I mean, if you're pulling a gilded-age industrialist stunt at least go out and build your own media outlet.

Keep speech plural.

No, I don't feel like I need to justify whether I read Gawker or not; or whether I agree with Gawker as a publication or not. If you don't like one article go and take it down if you got legal standing. Why go nuclear?

PS. I know little about P. Thiel and his political and social stances. The impression I got of him are from headlines like: "Billionaire investor Peter Thiel's plan to pay college students to drop out..." and "Libertarian Island: A billionaire's utopia". And now "Billionaire Peter Thiel funded Hulk Hogan lawsuit to take down Gawker"... Is there a decent biography out there worth reading?
"I think there is a lot programming can teach outside of being able to program a computer."

I've always argued this myself. I find it baffling that it isn't more commonly accepted that programming, Software Engineering more exactly, has so many lessons to apply not just to problems involving computers, but more broadly lessons on how to gather, analyze, understand and utilize the various interactions between data and actions in largely any system.
But what moat? There are numerous competitors to Twilio who are either cheaper or provide more niche services.

You can be Amazon when you're the 800lb gorilla. Twilio is not that gorilla.
It lasts atleast 2-3 days, honestly I charge it every other day and run 3-5 days a week and it works great.
Hi. Trying it out and would happily buy after using it for the next few days.

One query I have: Is there any way I can hide the app icon from the cmd+tab list? I want the ability for it to stay and works quietly behind the scene and since I have too many applications running on at the same time. Maybe a "hide icon" or some other thing? Thanks.

Looks like a fantastic product on first look. :)
No, they pay what I bill. If we don't agree on that then we don't do business. If I want repeat customers then I don't gouge them.
"a doctor's right to increase prices"

Doctors can't even choose the prices they charge
You can support better work options for convicts, without supporting this option -- or others that involve being 1-on-1 in a moving vehicle with many people.

(With that said, I agree that there's a lot of contradiction in the hive mind. One day, people are like, "How horrible to turn someone down merely because of a crime they already paid their debt on!" And the next day, "Wait, the bad driver had one time been suspected of a felony? How was he allowed to see sunlight in the first place?!")
Sure. If you have a ton of potentially layout-thrashing changes, just clone your page's highest wrapper node. Then make your changes and replace the node. I haven't needed it, or tested it for performance, but it's clearly doable.

// Example; untested pseudo-code
var fragment = document.createDocumentFragment(),
wrapper = document.getElementById('wrapper');

fragment.appendChild(wrapper.cloneNode(true));
// update your fragment
// update the page
document.body.replaceChild(fragment, wrapper);

That said, because the change is to a page's entire structure I'd think the layout operation would be much slower. I'm betting React and Ember might do similar things for their "application" wrapper/scope node(s).
> I don't feel like I have to re-learn everything I know about web-dev when using react like I do with Angular.

I find it odd that you feel that way given nearly every React tutorial absolutely does do things the "react way" including using mostly the same toolset.

Things like Flux, GraphQL, "Higher-order components" are not general web-dev knowledge you already have. React has it's own language, as much so as any other framework I've encountered.
> simple web server for the WiPy, aimed at control applications

https://github.com/RinusW/WiPy/tree/master/AiCWebserver

MicroPython has also been ported to the ESP8266:

https://github.com/micropython/micropython/releases/tag/v1.8
I'm no Javascript Boilerplate Fatigue apologist, but there are many comments in here that are treating this as a "Learn how to use React" tutorial. This is not what is advertised nor the stated reason this article was written.

From the first sentence: "we get a lot of questions about how to build large applications with React and how to integrate external APIs" Large application strucutre, external integrations...not "Hello World"

Of course there is no need for multiple environments, or a robust testing setup, or an icon font, or 6 different webpack loaders to learn the basics of React. This is not a tutorial on the basics of React -- this is written from the perspective of a large production level application. And that "overhead" and "insanity" are helpful for real projects that are staffed by more than one person and need to last more than a week.

It seems absurd that it might take you 2 hours to setup the environment before you get to hello world. But if you are planning to use this as the foundation of a 6 month long project, 2 hours to get everything setup in a sane way is not an issue.

There is absolutely churn in the JS world and some of it does seem unbelievable because things haven't contracted and settled into a steady-state. But don't just levy a blanket "lol fuck javascript tooling" every time you see a complicated setup process; you are doing yourself a disservice by not critically evaluating the choices the author of this post made and determining for yourself if they will benefit your project and/or learning efforts.
Parent said that SF has to "plan for the long term, like when the boom turns to bust and lots of those new residents leave."

I don't think that's something that needs to be planned for. Even in a worst case scenario there will be plenty of demand to fill up any the new housing that's coming up in SF.
I left this comment on the author's page too, but I've copied it to HN as well:

I'd also suggest learning and writing your own Forth. The Forth language is very simple to implement, simpler even than Lisp by a long ways, I'd say. If you know how to make a stack, (well two stacks), then you can make your own Forth Interpreter. Going from the Interpreter to the compiler is also easier than in other languages.

There is not really much syntax to speak of, and most of the languages's features, even the comments, can be implemented in the language itself. Of course for speed reasons you'd probably want to put the langauge forms into highly optimized assembly forms or something, but you don't have to do that right away.

There also isn't much of a runtime system to implement at all. With Lisp you'll have to write a garbage collector, with Forth, you just need to be able to allocate a slab of memory from the OS, maintain the stacks, and the word (like a function in another language) and variable dictionaries. Oh, and including a copy of the compiler to run in interactive mode, but you'd need to do that in Lisp too.

Also, writing a Forth compiler lets you jump right into advanced optimizations. Really even just aggressive inlining and basic optimizations will get you a huge speed increase, which is a great motivational boost. The Reverse Polish Notation style stack form of the language is great for matching optimization patterns with as-is. I know SSA is pretty much THE technique to use for register based languages, but you can get great results from Forth by optimizing as is instead of converting to SSA.

I really think Forth is a great language to learn compilers with. It really lets you skip ahead to the interesting parts of compilers, since the language doesn't require complicated parsers, or runtime systems.
I think they're fairly commmonly eaten in East Asia, e.g., Korea & coastal parts of China. Both as part of a meal and as snacks (dried squid is fairly common in Asian markets).
Exactly. This whole "declare your environment" thing with Ansible doesn't work.

I've completely mixed experiences with Ansible. Yes, it's easy to get started, but it's certainly annoying having to create playbooks for removing stuff to get a clean state.
Thank goodness you're here to police other people's identities.
Along these lines, I wonder if anyone has pointed out why the TSA is storing whay they view as "potentially explosive and life-threatening liquids" in the middle of a high-traffic area?

Also, if all those bottles of liquid are worth being confiscated because they contain harmful chemicals, they are also to be disposed of by personel in hazmat with proper EPA considerations, namely audit, analysis and documentation. It would be fun to see a lawsuit along those lines.
Next release will most likely be 1.10. As per semver.
If you got into a drunken brawl at a bar at the age of 18, you forever have a "violent offender" badge. Should that stop you from getting any job in the future? In this case - driving a cab?
Your company is the new Unicorn. It's so great.
The Risks sections are always like that. Any advertisements for stocks must have disclaimers about a wide range of possible risks, and that despite promising historical data you could lose your entire investment. Otherwise they could face expensive lawsuits when future shareholders claim that they were misled and not informed of these risks.

For example from Facebook's S-1: "Growth in use of Facebook through our mobile products, where we do not currently display ads, as a substitute for use on personal computers may negatively affect our revenue and financial results.", "We expect our rates of growth will decline in the future."

Google's S-1: "We expect our growth rates to decline and anticipate downward pressure on our operating margin in the future.", "We are susceptible to index spammers who could harm the integrity of our web search results.", "New technologies could block our ads, which would harm our business."
I think I'm going to add custom filters to solve this and probably iTerm tracking.
That section seems to have a bunch of generally understood truths. When you read that line in context with the others it doesn't seem that bad.
She knows exactly what happened. They ordered her server to be wiped to cover up and she is acting ignorant to try to avoid the consequences.
Collectie app – create a moodboards to organize your content
Think of it as a standard disclaimer, to pre-empt potential lawsuits.
No chickens??
These are quite different. `.iter()` is equivalent to creating the counter and declaring both the increment and conclusion condition, only its guaranteed to correctly access each member of the collection once and to never be broken, and for many collections (e.g. arrays) it is written in a way which allows for powerful optimizations.
Ask HN: Will crowdfunding medical research overtake donating to charity?
If they end up implementing all their plans its a major capacity expansion for cal train, and part of a sister plan that would connect oakland to downtown SF via second transbay tube.
Or even links sending you to the original source of the image (comics especially)
Does reading _Learn You a Haskell_ online make it any less of a book? My point is that "online sources" is a superset of "books", making them incomparable.
Apparently it's NOT easy to implement according to Ansible dev above.
Check out DoneJS which gives you everything you need: https://donejs.com/Guide.html

donejs add app my-app
cd my-app
donejs develop

A full environment with hot module swapping included, code-splitting for production builds, etc. No configuration required.
MOET PARTY DAY: Live IN LAGOS, NIGERA AND AROUND THE WORLD, FROM DAY TO NIGHT
Litigation is much more expensive than that. Inter Partes Review and early summary judgment on 101 are the cheapest way to go in many circumstances. It is what is happening these days too.
Show HN: Application usage anomaly monitoring for Node.js, Java
People should stop complaining about how "hard" it is to get started or how "complicated" React is.

React is simple. Its core abstraction is trivial (making views into pure functions).

If you want to, you can get started with React today without installing any software at all. Just include it from the CDN: https://cdnjs.com/libraries/react/

The rest is there because things like live-reloading are genuinely helpful. But you don't need to roll them yourself. There are dozens of great boilerplates you can base a new project off of.

Also, I've never had as much difficulty setting up a React environment as the constant struggle it is to get even a basic Java app to build from source.
I'm curious about the source of the slowness of the IDL operations. Is it specific to the DOM, or is he referring to overhead that exists for any bindings between JS and C++?
Apache Groovy's dynamic typing, closures, and shorthand collection syntax (from v. 1.0) are great for testing and playing with Java classes, and I'm told Groovy's Ruby-like MOP is useful for Grails developers, but the stuff added later (like generics in v. 1.5) made the language klunky and overdone. Best switch to Java (or Scala/Kotlin/etc) once you need anything to be typed, let alone with generics.
A Python API to retrieve and read MLB GameDay XML data for the baseball season
I came across https://www.crowdacure.com/ and https://watsi.org/ recently which seem to be taking on a different style of raising money for 'charitable' causes.
Ask HN: Any good Android encryption apps that work on Marshmallow?
I've tried a couple and none have the features I'm looking for. I want basically some form of truecrypt's featureset: have a single file that contains all my encrypted files, that can be "mounted" without writing unencrypted files to disk, and hopefully uses a format that can also be opened by a computer.

I've tried ESFile: it only encrypts files in place, and to view them you need to decrypt them to disk. Also the encryption is nonstandard and broken: I found https://play.google.com/store/apps/details?id=eslock.vinit.com.eslockdecryptorfree&hl=en, which charges for decryption but lets you see previews of images for free, and I confirmed it decrypted an image I'd encrypted with a >15 digit passcode.

Tried https://play.google.com/store/apps/details?id=com.nemesis2.luksmanager, quits with error "luks: not found". App hasn't been updated since 2012, so I gave up.

Tried https://play.google.com/store/apps/details?id=com.sovworks.eds.android. It hangs when creating a container, when trying to mount one created elsewhere it gives an error.

Tried https://play.google.com/store/apps/details?id=csh.cryptonite, it only encrypts a folder, and has flaky support.

I've tried a couple others, but nothing does what I want. Does anyone know of one that works on Marshmallow? I'm using an S3 with CM 13.
That subjective experience is merely an identity based on cultural stereotypes of "man-ness" and "woman-ness".

> It is simple human decency to defer to how someone chooses to self-identify

If I decide to wear a fancy hat and call myself King of the World, should I expect everyone to call me that? No, because I'm not the King of the World.

It turns out people can be wrong about themselves, and we shouldn't pretend they are not. The idea that subjective experience is somehow sacred and immune from criticism is absurd and harmful.
Disagree. it's the same reason people who are categorized as sex offenders arent allowed around kids. It's not that they can't work but really it makes sense to prevent a violent offender to be the driver of a taxi.
Do you live in a landlocked red state, by any chance?
The next release will be 1.10, not 2.0.

There are no current plans for a 2.0 at this time.
Right, I'm not saying "this is cut and dried -wrong-" but that it does raise what I feel are valid questions about the influences, both conscious and subconscious that surround this whole situation.

Like you say, Thiel could not direct the firm to change strategy, but on the other hand (and I realize that this may come across as an accusation where one isn't intended), no doubt Thiel is talking to the law firm, and directing multiple people to this particular firm, and given that he has been vocal about his goals, it's also possible that such things creep in to decision making processes.

Bollea and Thiel's interests may also be perfectly aligned.
I've posted this here before. I have accidentally brought my Gerber multitool (which has a nice blade in it) through TSA two separate times.

Agreed: replace it with nothing, or close to nothing.
Why Subways in the Northeast Are So Troubled
This was the first thing I noticed as well. 40% of the tutorial is setup. It doesn't HAVE to be that painful just to get a working environment going, but it gets painful pretty quickly if you pile on Webpack and PostCSS and a testing setup and everything.

For true "Hello World", if all you just want is to play around with React without all the setup, try out quik[0] or react-heatpack[1]. I also wrote up a tutorial[2] using react-heatpack that gets a working Hello World in UNDER 3 page-downs :)

[0] https://www.npmjs.com/package/quik

[1] https://www.npmjs.com/package/react-heatpack

[2] https://daveceddia.com/test-drive-react/
The precursors of TATP are not particularly dangerous by themselves.

The extraordinarily stupid part is where they hypothetically confiscate such a liquid, and then they let the person go.
U.S. Nuclear System Relies on Outdated Technology Such as Floppy Disks
Direct link is a significant "positive signal" for the following reasons:

- you implicitly expect it won't load code to your browser

- you implicitly expect it will serve the one and only one resource that you need

- you implicitly expect that after receiving the resource no further data will be exchanged between the client and the server

- you implicitly expect it will work well with the standard UI of your viewing platform - for instance, it will be pinch-zoomable on mobile, or zoomable with mouse in desktop browsers

- you expect to work well with applicable context; for instance, a direct image link should work in "href" attribute of "a" tag (resulting in an image being embedded on a website), it should work with curl or wget (resulting in a single image file being created on your hard drive), or just browser's "save" feature (again, resulting in a single image file being created)

I'd call breaking these things a dark pattern. A particularly nasty one at that, since it's poisoning the well. Breaking users' trust in that URLs do is one of the many subtle ways of fucking the Internet for everyone for personal profit.