skysight-inc/HackerNews huggingface dataset:
How progressive web apps change the mobile
I wrote some PWA apps, Just thinking about future PWA
Agree that its a really big deal. Mobile support is huge.

We actually built the inboxsdk that you are referring to. There are a ton of extensions built using it and >10M end users using apps built with it. We've worked really hard to make sure apps built with the SDK are compatible. If you have any examples of 2 extensions not playing nice, def let me know.
How can that entire article never mention the term UTF-16?
The article says the exact opposite of what you are complaining about. It says women do not lack confidence, they lack good information about how hiring works.
Udacity Robotics nanodegree announcement
Set Hangouts as your default text message app on your phone, text messages and voicemail transcriptions then get sent to Hangouts and you can see them on the computer as well as the phone. You can also send text messages from the computer.

I never used iMessage so I don't know how it compares, but this has always worked well for me.
4 Common Workplace Myths That Are Keeping You from Being Happy at Work
I mean every single qualification I put on my job reqs. I also know from experience I'm not going to find that person. If I hire you, I'll pay you to learn the rest of the things.
This is most definitely not a solved problem, because graphemes (visual symbols) are a poor way to deal with unicode in the real world. Pretty much all systems either deal with the length in bytes (if they're old-style C), in code units / byte pairs (if they're UTF-16 based, like windows, java and javascript), or in unicode code points (if they're UTF-8 based, like every proper system should be). Dealing with the length in visual symbols is actually pretty much impossible in practice because databases won't let you define field lengths in graphemes.

The way things compose: bytes combine into code points (unicode numbers), and code points combine into graphemes (visual symbols). In UTF-16 for legacy compatibility reasons with UCS-2, code points decompose into code units (byte pairs), and high code points, which need a lot of bits to represent their number, need two code units (4 bytes) instead of one.

Java and JavaScript are UTF-16 based, so they measure length in code units and not code points. An emoji code point can be a low or high number depending on when it was added. Low numbers can be stored in two bytes, high numbers need four bytes. So an emoji can have length 1 or 2 in UTF-16. However, when moving to the database it will typically be stored in UTF-8, and the field length will be code points, not code units. So, that emoji will have a length of 1 regardless of whether it is low or high. You don't notice this as a problem because app-level field length checks will return a bigger number than what the database perceives, so no field length limits are exceeded.

There isn't any such thing as "characters" in code. In documentation when they say "characters" usually they mean bytes, code units or code points. Almost never do they mean graphemes, which is intuitively what people think they mean. The bottom line is two-fold: (A) always understand what is meant in documentation by "length in characters", because it almost never means the intuitive thing, and (B) don't try to use graphemes as your unit of length, it won't work in practice.
If you know where to find these H1B "sweatshops" on US soil, please take those charts and company names to the Department of Labor and report the wage crime or occupational hazards you are implying with your hyperbole. Otherwise, your statements are deeply exaggerated. Here's a link to get you started: https://www.dol.gov/whd/howtofilecomplaint.htm
Software Architecture for Developers – book summary
Are the founders going bankrupt, or just the company? I'm guessing only the latter.
This was a long time coming, so congrats first.

I also recently read this from an experienced Firebase developer: https://medium.freecodecamp.com/firebase-the-great-the-meh-a...

Interestingly, he lists several things that he things Firebase needs in order to be awesome, and server-functions is last on the list:

> 1. Real querying capabilities. Search, joins, the whole enchilada.

> 2. Some sort of references likes MongoDB or RethinkDB.

> 3. Real offline persistence with Javascript.

> 4. Give me moar analytics.

> 5. A cache API.

> 6. Some way of adding server side code without needing to resort to a VPS.
Rubysec is awesome but outdated, lacks many of the vulnerabilities in https://Snyk.io/

Also, Snyk covers JS issues, both Nodd and client side
According to my records (which might be wrong?), they raised the price on their highmem instances, from $0.096/hour to $0.1184/hour for n1-highmem-2. This sucks for me, because I use mostly use highmem instances.
Many services have this issue, that perfection is the minimum requirement. I don't understand why, given this, we don't just go to a thumbs up / thumbs down rating system. We have one option that means "fine" and four (or nine) that mean "terrible, and a risk to your business".

I know I personally gave plenty of three star reviews on Lyft before I learned better, meaning them as "no complaints". Who knows what happened to those drivers as a result. Why even invite the misunderstanding?
Nobody stopped them; they were just busy doing other things that made the effort worthwhile. It's worth keeping that in mind, to make sure that competitive claims about performance don't drown out proper credit for the true innovators.

Note that I'm not saying anything is wrong here. Reimplementations of existing ideas are a time honored tradition, and often lead to their own innovations. Linux was a reimplementation of UNIX, and seems to have been good for a lot of people. Most web servers and browsers are reimplementations of things that had existed previously. From compilers and databases to filesystems and hypervisors, a lot of software we all rely on today - especially in open source - is a reimplementation of something or other. I'm pointing out an opportunity, not a flaw.
I wonder if they’ll still be profitable as more and more cities become aware of the negative side effects of Airbnb use and implement various sorts of bans on types of commercial Airbnb activity.

A researcher at UBC estimated that commercial operators were responsible for generating 77% of Airbnb revenue in Vancouver. The City of Vancouver is planning on legalizing Airbnb, but will ban commercial operators that rent out entire residences. This will likely significantly reduce the amount of commercially operated Airbnbs in the city and this could result in significantly less revenue that Airbnb generates from Vancouver.

If this researchers’ numbers are at all reasonably accurate, and other cities have similar levels of commercial activity, and the trend of cities banning commercial operators catches on, that would be a major impact on Airbnb revenue.

http://www.theglobeandmail.com/news/british-columbia/vancouv...
Note that the two theories are very much compatible, in fact, yours could help explain GP's.
You can definitely do this! There are two ways that readily come to mind:

1. Use the Realtime Database as a communication channel to trigger a Cloud Function that then sets up the thing you need.

2. Create an HTTPS function and call it directly from your app, then do the work you need.
Undocumented immigrants do not "suck the system dry". They pay taxes, for the most part, and because they are undocumented, are unable to benefit from most of the services available to legal residents (citizens or immigrants).
The problem with facts: How today’s politicians deal with inconvenient truths
> We got into this because some people thought that single-color emoji were racist.

Emoji skin colour and emoji using colour are two unrelated concerns.
Given all the complaints about XCode & Swift, I would say that it's not a huge advantage.
Most people buy $200 iPhones with massive monthly bills, at least in the US. I don't know if that changed yet.
That's a good point. They could have an office with people on duty that remote-interviews everyone about all different kinds of jobs. Not saying it'd work well (no idea if it would), but I do think it'd work (a lot?) better than the scenario I first imagined.
Is "vuln" a word now? (Non-native speaker here, actually interested, not trying to troll.)
Most tech companies are like nation states, ruled from above by a single strong leader (Apple under Jobs being the best example). I've become to understand Google is much more like Germany in the mid-19th century - a collection of competing principalities with a common language but a weak and ineffective government coordinating their efforts. I remember being told on the first day of orientation that Google was not a meritocracy, but a feudal society. I think all of our more puzzling product evolutions make much more sense in that light.
is this cloud sql for postgres autoscale auto replicate fully managed hands off like app-engine and datastore or does this need to be managed manually?
What frustrates you about it? I understand the complexity of compositions, but do you have any interesting stories to share about the complexity causing problems for you?
> US citizens also contribute a higher percentage of their income to local communities than immigrants do

I don't know, man. The state of California and the federal government take their rightful 38% share from my income. I'm not a citizen.

My girlfriend also pays her rightful 38% share of income. She is a citizen.

And my income is a bit higher so in absolute terms I contribute more as an immigrant than my girlfriend does as a citizen. Percentagewise it's the same because we're in the same tax bracket.

Anecdata, yes, but my point is that everyone who is in X tax bracket pays Y% taxes. Want immigrants to contribute a higher percentage of their income to local communities? Give them higher salaries. ;)
I'd called my county sheriff's office with a similar question a while back. They wouldn't agree with you. These sanctuary policies don't come from nowhere. Often they originate from law enforcement, as was the cause with my county. If you want to talk about sucking dry, it's expensive for local law enforce to enforce federal law on otherwise contributing members of society. This isn't touching on how it erodes trust in immigrant communities.
Even if they should, not everyone needs to, or is inclined to learn and live in emacs. Thinking especially of technically inclined folks (or managers, etc) who don't really write code or have any reason to live in an editor, but get benefit from all the loads of other nifty things - just without the cognitive overhead of stuff like tweaking config files, learning all the keybindings, managing buffers and the like- again, just for the use of org as a powerful, text-based, personal information manager.
almost. a sail also deflect the force all by itself, being at an angle from the wind, so there's that - a boat can move two three times faster than the wind given the right conditions
This is like, 5 years too late, and it's arguably the reason Slack is succeeding in killing Google Hangouts & Gmail as communication tools.
Indeed. Looking at America from across the Atlantic, it seems that the American inner cities are making themselves heard by drug trade and a fairly large number of homicides, and rural America now made themselves heard through elections.

I kind of find the latter approach more constructive, in fact, even if it resulted in Trump.
I think that good start would me not to imply he is feminine for having low confidence. For that matter, not to call guys feminine ju because they have something in them that is more likely to be found in women. It is like calling women masculine just because she likes hardware.

I think that this matter if your goal is equality. People being afraid to show side of them that is not stereotypical matters.
Why couldn't you store this in your Plex account, versus on the storage medium?

Everything is routed through Plex's services, seems like you could decouple those two things quite easily while still having full encryption on the cloud storage.

In fact, if Plex really wanted this to succeed, they should have a tool which encrypts the files, synchronizes the files with the cloud provider, and then releases the keys to Plex.
I think they meant favoring extroverts, regardless of what prevents an extrovert-style presentation.
they can always exercise their options, buy the stocks, pay the taxes on them, and then just sit on illiquid assets until the IPO or their own deaths.

oh...it's not a very appealing prospect you say? well, hmmm, errr, awkward.
they said that's not true, it was a technical limitation that they couldn't resolve
I don't understand your logic here.

If we're saying that losing out on good but low-confidence candidates is a bad thing for a company, and we want to fix it, why don't we adapt our processes to favour the people being disadvantaged? If this ends up helping women more than men, then fantastic.

But why bring gender into our solution at all? Focussing on one gender just because we think they are more affected by an issue just introduces more unfairness. Focus on the issue itself.
You are assuming a perspective again. There are many perspectives.

For example different people will pick different ways to count. Some will distinguish between domestic and foreign, claiming that there some ethical difference. These people might claim that a government should kill its citizens that cause problems in the name of social order, and that the US is unjust and horrible because they don't kill enough dissenters.

Some will claim that lives lost in mistakes are different than lives lost in oppression and war. These people might claim that the great leap forward was good in intention, but lacked nuance in execution that could have saved many lives.

Some will claim that government and corporations should not be separated so will point the all the slave owning corporations and humans rights abusing industrialists in the USA and lump them in with the government.

All I am saying is that there are gray areas here, and that I cannot see a way to see different perspectives as objectively wrong or right. In some things there is objective right and wrong. Does Man-made CO2 change the climate, yes unambiguously no amount of perspective wiggling changes this. Is it ethical to make social that mildly harms one group to prevent a perceived larger harm to another, this seems fuzzier and innately requires something to be 'perceived' correctly.
It's a new thing we've been experimenting with for this YC batch. See https://news.ycombinator.com/item?id=13670456 and https://news.ycombinator.com/item?id=13492779 for some background. Now's a good time to share any thoughts about it if you'd like to send us an email at hn@ycombinator.com.
From Wikipedia:

4K resolution, also called 4K, refers to a horizontal resolution on the order of 4,000 pixels and vertical resolution on the order of 2,000 pixels.

Every single other resolution was referenced by its vertical resolution: 480, 720, and 1080. But the marketing people wanted to sell TVs so they went with the horizontal resolution because its a bigger number.
PHP for IoT and Embedded Systems
Ask HN: Developer agent for hiring
I have an idea. I an a developer and also a pretty social and outgoing person. I think it would be a good idea for me to embark into the agent business where I match developers and companies. Sure, call a recruiter, but I would like to take on the developers side more than the company who is hiring.

Does it make sense and is anyone else doing it?
been a "word" since forever mate, i even remember using it in the 90s. and it's alright, you might just be young or haven't forayed much into the deeper corners of the web where 'vulns' get discussed.
We live in a free society where the government doesn't have much control over how you live your life. Even though it's smarter for a budget-conscious consumer to buy a Moto G, some people won't, and there's nothing we can do about it. And with health insurance being expensive as it is, it's just lying to claim that poor people could buy their own health insurance if they would only drop their standard of living even further.
I was a Marine. I can’t be silent about the sexual harassment I faced anymore
Messenger...I mean Android Messages
App Engine Flexible now out of beta. But still no signs of availability in Europe?
Promising.

Is Google contributing anything back into Postgres codebase ?

They could have named something different for the product - Cloud SQL ? seriously.
> I don't agree with her and I do not believe she is to blame.

I didn't say she is fully to blame, but you can't deny she was an instigator by being belligerent and/or drunk. Or rather, her actions were a catalyst to what happened to her.

You can fully expect law enforcement officials to be emotionless machines, but the reality is that they are human as well and sometimes make incorrect choices based on circumstantial triggers.
I agree in principle but I doubt enough rich people would ever get sent to jail to make a difference.
I'd generally want at least my QA environment to be a replica of my productions environment, and I guess many others would too.

I don't want to be overly negative though - releasing now at least let's us play with it and see how it stacks up.
Fair point, and as the sibling comment to yours points out, my comment is an example of survivorship bias. So should we, as with smoking, allow people to determine their own tolerance for risk? Let them eat the wild boar of Fukushima and the cabbages of Pripyat?
Thanks for defining "productized service", @bmaeser.

My training service qualifies. It's private on-site training; with a small but growing course catalog. After a couple of false starts, I've priced it to guarantee profitability: I take into account my time off regular work (initially salaried, and now hourly-billed consulting), travel expenses and student materials.

List price is 3K per day plus 2K admin fee. My last sale was 5K for a day of training on GitLab CI. My biggest sale was 25K for two one-week classes on configuration management.

Productizing my service allowed me to streamline sales -- I don't have to think about how much to charge -- and it guarantees profitability.

I need to learn/do more marketing and sales to get to 6 figures. This is still "hobby" grade, income wise. (Can't support a family on it!)
Thanks for calling me on this -- it's a good point.
Devil's advocate -- maybe the poorly educated, poorly trained traffickers were overrepresented in the sample of traffickers border agents encountered, because, by definition, a successful trafficker is not caught or observed trafficking.
Wow, looking at this numbers I think you can run small production ready things with that.
No. The article seems mostly intended to generate outrage that bad criminals might get out of the ass-beating experience of real jail and have access to flat screen TVs
What if my customer is not G Suite User ?
I'll add that, at least here in Brazil, applying for a US visa necessarily involves at least one in-person visit to any US consulate or embassy, in a business day, and they naturally don't exist in all cities. Lines are long, and the visit can take the whole day. So there's this much extra stress and expense.
This service is only available in Toronto, Canada.

Seems like a good idea if the price is right. I'd love this for regular car maintenance.
> cultural differences in how people rate

This is an interesting problem, and yes, needs to be accommodated some how. I used to manage a SW product and service offering that had customers around the planet. We sent out quarterly report cards in order to ensure we were meeting customers needs. It was As and Bs exclusively except for one country that was Ds and Fs for the same level of quality and service.

Some type of calibration or break down is needed.
Rosetta is a software for protein structure prediction, not for protein folding simulation. There are a lot of hipothesis about protein folding, but the mechanism is unknown yet. So simulations using molecular dynamics can help us to understand how proteins fold.

On the other hand, protein structure prediction methods like Rosetta try to create high quality atomic models of proteins without follow a physical model. The goal is a good final model, not the fold event.

Rosetta uses a method of fragment assembly where fragments (few amino acids) of proteins with structure solved experimentally (usually X-ray crystalography) are assembled to create the new structure. The fragments have sequences of residues (amino acids) identicals or similar to the protein being modelled.
This is an optimization process and uses methods like Simulated annealing. So, computational power is very important to explore a lot of protein conformations.
> Postgres has it, but it is kind of a pain to setup correctly and I love RDS because I don't have to deal with the setup anymore.

Check out barman from 2ndquadrant, we've been running it in production for 2 years now - setup was crazy easy and the one time I had to do a restore (for the same reason, UPDATE without a WHERE) it was no-fuss to get it done.

Of course, don't let me stop you from using RDS - but there's certainly user friendly backup solutions for Postgres when you're not :)
I wonder if this takes all methods of ingestion into account. My cardiologist told me to eat all I want - just don't smoke it, and the jury is still out on vaping.
We actually put a bunch of effort into consistency/repeatability checks. Every interview is recorded (video), and we re-watch and re-grade a percentage of them to measure the consistency. A long-term experiment we're running is comparing qualitative scores (code quality, good process, how good did the interviewer feel the candidate was) with quantitative features (which tests passed, how long did it take, what design--picked from a decision tree--did the candidate take). We calibrate the qualitative scores with the recorded interviews. So far, quantitative scoring is winning (when judged against predicting interview results at companies). We're waiting, however, until we can see which better predicts job success.
let's not call it "startup culture". let's just call it "modern tech company culture".
I have not read the article, so if someone can TLDR is this a product being announced or a product being canceled?
There's still a shit ton of companies whose products live extensively (or exclusively) in Gmail - not to mention the examples they give are use cases that you would not use in slack. Slack is certainly winning as an external communication tool, but email/gmail dominates external (and customer) communication for gSuite-using companies.
Does Anyone Actually Visit Stack Overflow's Home Page?
This is awesome. I developed Chrome/Firefox browser extensions that connected Gmail attachments with cloud storage in the past, and hacking through Gmail's DOM always threw any SLA we could provide out the window.

It's even better that this will run on Android and iOS as well, which truly makes all the "Gmail extensions" from developers such as myself production-ready.
It seems like we could solve the immigration problem very quickly if we started imposing harsh penalties on the people who employ illegal immigrants.

Undocumented immigrants, by definition, are going to be hard to track down. Businesses on the other hand have to have an office, be reachable, file taxes, etc. They're also probably breaking a host of other employment laws as well (easy to do when your employees can't go to the authorities). If the availability of jobs dried up, people would have no incentive to come here illegally.

Of course, that would involve arresting rich white people instead of poor brown people, so it will never happen.