skysight-inc/HackerNews huggingface dataset:
1. I agree Firebase is great for Hackatons.
2. Iterating multiple records is a pain and the indexing firebase provides is not very helpful.
3. By caching computation I mean getting raw data from the database processed and digested (i.e converting a costly top 10 to an html fragment you can use later).
4. Storing records with firebase-admin is like a super-user, it ignores all security AND validation rules.
5. Cloud functions are not cool.
Why? I don't think it's likely that the engineer's essay of nonsense was part of the company's next world beating invention, which means publishing it isn't part of any NDAs.
A lightweight android library for cropping image in a smart way
https://fmovies.is/ u just need a good ad-blocker as with all these streaming sites, sometimes they get malicious ads
I specify only the characters I use in custom fonts. I budget no more than 30kb to fonts when making a website.

These tools complain that Google font's css is only cached for 2 hours. Which is something none of us can control. Even Google's own page speed tool complains about this. I get perfect scores in everything but Google fonts so it sticks out like an eye score.
> The only instruments native to the continent are unpitched percussion.

Talking drums, djembes, balafons, xalams, koras.
This and I want as much content as possible in 4K/HDR, I’m really sick of the second tier streaming services being limited to highly compressed 1080p.

If a service came along that truly had the TV and films I wanted with a preference for 4K content, I’d happily pay $40-$60AUD a month for it.

Right now I subscribe to:

- Netflix
- Stan
- Apple Music
- Usenet related services
- Audible
- Plex Premium
- Getflix content unblocking services

And in recent times:

- Pandora (cancelled as they’re leaving Aus)
- Amazon Prime video (cancelled as they have hardly any content and a terrible interface)
- Spotify (cancelled as I prefer Apple Music)
- Last.FM streaming (cancelled when the service went EOL)
- Several private trackers (avoid BT now)

There’s a lot of opportunity for consolidation there, I realise I’m probably not in the majority but I WANT to pay and I WANT media creators and artists to take my money.
yes, since you don't trust your users you have to get sensitive processes (like promotions, unlocks, rewards) on a separate server process or cloud function. this kinda defeats the purpose of serverless.
In one job, the group mine sat next to all had phone headsets but they liked to join conference calls by one of them putting it on speakerphone and the rest of them shouting at it, some from 20-30ft away.
The Simpsons is the generally agreed upon origin for this connection between these towers and nuclear plants.
He went to jail for fraud and insider trading
> You seem to be taking the perspective that evil people must be fired

Spare me the extrapolation. My position is clear: Stupid people should be fired.
Actually, they just shuttered their Australian distribution.
https://motorbikewriter.com/zero-electric-motorcycles-pulls/
"But the high-level executives, including Apple CEO Tim Cook, are exempt from this collaborative environment and have offices on the fourth floor of the new building."

Because private offices offers control over your working environment; if you need to collaborate, use a conference room, if you need a quick discussion, call them up on Slack.

I'm not going to touch wether or not the CEO has earned the best working environment, but let's bring attention to the fact that the CEO is promoting less control over your working environment for his employees and claim open-office plans offers all kinds of benefits, while the C-level management chooses to opt out. Either that's very noble of them to sacrifice all the benefits of open-office, or they're being a bit disingenuous about why almost everyone else gets an open-office plan.
I had a manager who used to tell, he was surprised how timid people at managerial levels act when it comes to fighting for their people.

There are cases where there isn't even a competition for funds. All you need to do is ask for a raise and it passes through without any problems, managers just don't do it because they are too afraid of even making that very request.
When production is your test lab – what is “canarying”?
Any reviews about their leadership slack? Am always looking for good communities to join, but the signal to noise ratio is very very high in most.
There are differences between saying "You can't do that here, so..."

1) "... we will fire you, because you have generated negative press for us with this even though we had no explicit policy prohibiting this"

2) "... we will fire you because what you did has directly violated an explicit existing company policy"

3) "... we will give you a warning, and add 'workplace gender diversity' to the list of topics prohibited from public discourse by employees so that in the future we can fire people for this"

It's unclear whether 1) or 2) happened (I suspect it was 1), and they could have chosen 3). They didn't. And the poor sap probably doesn't want to consider a lawsuit against Google if it was 1) and not 2) even if one could argue wrongful termination. And that's exactly what authoritarianism is about, the power to make rules pretty much on the fly and expect those affected by your choices to play by them.

PS: Not taking sides here, IMHO the manifesto was dumb and the person sounded like a green'un who got a rude dose of reality from what he probably considered merely a provoking thought experiment/writing exercise.
So Disney is now creating something in the streaming industry like what the Disney Sound Source was in the PC soundcard industry.
> The problem I have is that someone took this cool project and basically lied to the public about its capabilities.

Oh come on, it was a startup. The same people who made the tool told the lies (if that's what they were). Now under Google, this is still the case - the original founders now lead the Firebase department if I'm not mistaken. I'm pretty sure they have influence over the marketing messages.
I don't quite like the fact that the spark plug is burried deep inside the engine which makes servicing difficult. Reminds me of Porsche boxer spark plug changes for which you need to unmount the rear wheels.
Where the hell do you live that people think you are broke if you pay by card? And even then, who cares. Also, in supermarkets or so, there is a line and most of the time I see people respect privacy... payment by card is certainly faster unless you know in advance the amount and you already have the money ready in your hands...
Getting rid of image metadata is _not_ optimization, that is simple information loss. I hate it when speed tests tell m the progressive jpgs are not optimized because they have EXIF; EXIF is part of the image.
Canal Street is beautifully intricate as well. There are lots of barely-hidden abandoned platforms and tracks that would be cool to see.
Apples iPhone 8 nicht verzögert, startet am späten September in drei Farben
"Atlantic Ave Pacific Street station (Most number of connections in the entire system)"

If you count the Port Authority and Times Square - 42nd St as one, then you've got the 1, 2, 3, A, C, E, N, Q, R, W, 7, and S trains. That's more, right?
That's not the only limit btw. If any node (say "/users/") crosses 'some' number of subnodes ("/users/a", "users/b") then you cannot do any queries on the node itself. Like I cannot get even get the IDs of the subnodes ("a","b",...).

I also got similar advice to shard my users or something.

So right now, we have crossed that limit and are unable to know how many users are on our system. Their server just fails and takes down the DB for 10 or so mins if I do that query.

Firebase is good for MVPs and prototypes but not at all scalable.
>Had he posted this on his personal blog in off hours, he would have a case, and most likely, still have a job.

Doubtful. Brendan Eich was ousted for "controversial politics" on his own time. In the current climate, there'd still be the same outrage ("Googler has evil thoughts, why isn't Google firing him?!"). If anything, he'd have even less of a case in the court of public sympathy, as the entire point of this guy's post was not just diversity issues in general but how they applied to Google's internal operations. Taking the initiative to air that publicly would have been an intentional hit against Google PR. In this case, though, the author of this memo had posted it to internal Google groups, and then presumably an ideological opponent leaked it to the public for the purposes of stirring public opinion against the author.
Andrew Ng also talks about why he chose Octave in the courses. So it was definitely always part of a debate.
It really sucks that I have to provide my domain name, click test while expecting actual test and then I am faced with sign-up form. Too bad that there're so many startups embracing this irritating "growth" hack. I am immediately closing this site and moving over.
Whole process and story behind this is kinda ready on Medium. I'll comment the link soon.
Press freedom doesn't really account for diversity, it's unfortunate but that's it.

If those 5 are all pro govt (either by choice or persuation) then it's even worse.

But press would be considered free if anyone could start a 6th outlet without being pressured to stop - and the cost of starting one is not relevant for that really.
Its all about the context though :-). One of the things the Computer History Museum has done a good job of is capturing a lot of the historical underpinnings. But while its interesting, in a "wow, isn't that interesting" sort of way that rail road track gauge is the same as cart ruts which are the same as roman chariot widths (not exactly: http://www.snopes.com/history/american/gauge.asp)

Much of this stuff was fairly constrained by the choices of the time, and as such the information generally ages poorly.
"Sure, you are free to say what you want, but you won't be free from the consequence of getting shot" --A certain Joseph Stalin.
Thanks!

I wrote an article about whole story behind this. I'll comment the link soon!
I especially like how the browser renders raw API data. E.g., http://api.dronestre.am/data
Clarity Aloft. They are ~$700. Pilots use them because they can drown out engine noise (part of the cost is the certification). They are in-ear and do way better than any noise cancelling headphones.
Don't forget Meg Whitman. She's 6'1".
First Vim Function
It's pretty weird in this case.

Google serves web pages and adds rate limits to keep people from taking their servers down (or, at least, from making them use way more servers than normal, which would make providing the services too expensive, which would force them to take the servers down). If their servers go down, then users can no longer use their web pages properly. But, here we see the rate limiting is itself keeping users from using web pages properly. So the rate limiting is effectively disabling services even though the whole point of the rate limit is to protect them!

I wonder if there are other feedback loops in Chrome where, in order to be able to keep serving web pages, Google could sometimes accidentally prevent Chrome users from viewing web pages?
These are beautiful! I would love to know more about the process she goes through when surveying these. They look quite accurate. Thanks for sharing.
> Brendan Eich was ousted for "controversial politics" on his own time.

That's a completely different situation, and can't really be compared. A CEO position for a non-profit and Sr. Engineer at Google are not comparable.

A CEO position is the public face of a company. There is so much more that goes into it on multiple levels than being an engineer with only 4 years under their belt who nobody has ever heard of.

Had he posted this to a personal blog, it would have barely been a footnote. And more importantly, California law would have protected him.
The Kolmogorov option
Two populations can have the same median and average score on fit for a criterion. However, if they have a different distribution, let's say population A has a 'normal' distribution while population B has a U-Shaped distribution, then after the application of a high pass filter with a cutout above the shared median, you will be left with proportionally higher residue of population B than of population A and unbiased sampling of the result will reflect this. Applying a high-pass filter below the median will show an inverse result. A high-pass filter with cut-off at the median will result in a 50/50 result between A and B remainders. As always, statistics do not say anything about any individual in any of the populations. Statistics does also not address the potential underlying causes of the distribution differences. Using statistical arguments to judge individuals is usually referred to as prejudice or discrimination. Many countries have adopted laws and regulations to curb some select forms of discrimination, while permitting others. In the scenario where a high-pass filter far above the median is applied, while at the same time a 50/50 distribution of the outcome is targeted, the observation that, regardless of the mechanisms employed, members of B are actively discriminated against would be correct. Whether that discrimination is desirable or not is debatable. How distributions are realy shaped to a criterion is measurable in theory, but in reality prone to biases especially in highly 'politicized' environments.
>controversial manifesto

I don't see what's so controversial about the "manifesto." And it's not a manifesto, it's a pro-diversity memo that questions the implication that gender representation in software engineering must be 50/50 or there's clearly some sort of discrimination going on.

Perhaps, like the author of the article, you haven't actually read the "manifesto." I'll be charitable and assume that you did: what, in your mind, do you fundamentally believe is controversial in the memo, and is it controversial because it spits in the face of the facts, or is it controversial because they're uncomfortable facts, for you personally?
> battery technology has 2-3 more doubling left and then we hit chemical limits and cannot get more out of them

We still have energy cells which are essentially bateries that you charge by pouring in some fluids just like in a regular car. However the tech is not mature enough yet.
One needs to invest $$ because you pay money for the developers time to create software
> if I may repost a comment I wrote here before

Please don't do that. We have too much repetition on HN already, and copy-paste doesn't go well with thoughtful discussion.
Of course. Ownership, like justice or nationhood, is a human convention, not some manifestation of an underlying physical reality.

I would argue that squatting is a better example that we don't "really" own the land.
5 Major Benefits of Using HTML 5 Development Framework
iPhone 8 Leck gibt uns eine klare Sicht auf das schlanke Design des Gerätes
As a firebase user, what would be the easiest path to map my multi-nested firebase DB (like 'chatrooms/room1/msgs/msg1`) structure to deepstream?

Since I think DS doesn't support more than one level of nested data. Is there an easy way?
No, long time past to discard it. Measure what you actually care about, not some synthetic, poorly understood "load"
Love it! Fantastic!
Translation: Diluting the prestige of the cal stage degree
I have read it, in it's entirety. I'm not going to comment on it's contents, other than I think that it uses very intellectual language to come to very lazy conclusions. But yes, I have read it.

It's controversy is in the assertion that there is a class of people at Google who hold positions that they are not deserving of.
TunnelBear Completes Industry-First Consumer VPN Public Security Audit
Nextflow – A DSL for parallel and scalable computational pipelines
Third world is also no longer used in Social Sciences and Academic circles as a classification as Third World originally meant the countries that did not either support USA or the Soviet Union during the Cold War, I think the latest term is developing states.

That aside, why not ensure better regulations and ways on the mines, if cobalt is only readily available in large amounts in the Congo and phones being one of the more profitable products, you are only exploiting the local peoples.

I understand it would have a huge impact on supply chains and manufacturing but the alternative is losing lives, I remember this same debate from years ago about people losing lives for phones in Congolese mines and am somewhat amazed that its literally the same issues.
How to invest in the solidarity economy
How come they've waited this long???
WebPageTest offers more actionable insights. Chrome Developer Tools and Google PageSpeed offer almost the same features.
Is it the leader due to in-ground cobalt supply/Capacity or due to number of slaves mining it and cost of slaves to mine required amount vs cost of slaves in other locales?
In Europe, pretty much every restaurant, and many bars and cafés, have portable card readers. (If they don't, then they don't take payment at the table.)

There is no practical alternative, since the customer needs to input their PIN.

Dishonest waiters used to be considered a common way for card details to be stolen.

Example: https://www.paymentsense.co.uk/card-machines/portable/
Does no one see what's happening? This whole thing is a massive sign of progress. Men are deeply scared of an increasingly growing population of female developers. This is a pretty significant moment of anxiety and fear. That's good. It means there's change. It's no coincidence that more women are joining CS AP courses than ever before:

"HIGH-SCHOOL GIRLS ARE taking more Advanced Placement computer engineering exams than ever before, according to a new report from Code.org and the College Board. In 2017, largely thanks to a new test aimed at expanding the reach of engineering classes, female participation in these AP tests increased at a faster rate than young boys’ participation on the exam in 2017."

Source: https://www.wired.com/story/ap-computer-science-2017/
I'm fine in general with Firebase, but feel like its overhyped. It's nice to get little cloud functions, onWrite database hooks, and somewhat realtime data, but if a competitor rose up and took at stab at frequently noted pain points, they could probably grab market share pretty easily.

My pain points:

Cloud functions debugger = -1.

Can't tell you how much fretting I have dealt with using async.each and some buffer overflows or some other low level Node.js error that never makes it to the debugger. And the debugger isn't a plaintext log. It's a tacky UI where each line is an element, the "logs" are 600px high, and whenever you scroll a little you lose your spot on longer JSON logs.

I also strongly, strongly dislike how easy it is to accidentally delete data from storage. That red X icon is wayyy to easy to accidentally click and daily backups only don't give you wiggle room to recover on heavily used apps. This makes it sadly difficult to use their database view to present quick things to others without building a UX for it.

Let's not talk about how setting a field to `new Date()` just loses the value entirely instead of throwing an error or defaulting to ServerTime.
>the thing with chromium is: it is open source (you can find the credentials)

No, you have to get your own API keys via Google Cloud API Manager before building chromium. That's the reason why Chromium on Windows doesn't let you log in.

I presume Chromium on linux distros will use an API key of the package maintainer.

Also, in most closed source binaries (which chrome is a part because it has binary blobs not present in Chromium - see Google Cast, etc) you will have to sign a EULA where you agree to no disassemble and use that API key, so doing so is illegal too.
> but .NET had/has a higher cost to entry (higher than say, ruby/py/java)

as opposed to Java developers who are hmm...free ?
Chromium != chrome. It doesn’t add much security, but I bet the API keys are added as part of whatever process google uses to build chrome from the chromium source
You don't need gasoline. The gasoline ICEs can run on ethanol and LPG and diesels can run on DME (dimethyl ether) and vegetable oils. DME can be produced using nuclear process heat and/or hydrogen or using biomass.
It's more along the lines that when the US comes to 'help' a country by providing foreign aid it usually has strings attached like "oh by the way, you can't sell women anymore if you want this aid" (that is the 'judgemental' part, where the aid is contingent on a change in a behavior that has been around for generations but it anathema to the sensibilities of the US). People who come in and say, "We're providing this aide to develop this part of your natural resources, infrastructure, what have you, because we're going to be buying goods from you. Not any of the women because we don't buy women but other stuff you make." Would be an example of a 'non-judgmental' aide package.

The latter tends to spur economic activity with much less friction than the strings attached version.
> Almost nobody wants to work on the exact same thing for more than a few years unless it's genuinely super interesting

That's a really, really tough problem actually. Businesses naturally want people to work on things that they are already very good at, to keep productivity high.

This is especially important in software consulting houses that churn out apps and whatnot without their own products, because their whole business scales only by the factor between the hourly price customers will pay for their work and the salary the developers are getting for that said work.

Which is not to say that I wouldn't agree with your point. It's just that I can also see how painfully expensive not going that route could (i.e. shoehorning) become for such a company, so I'm kind of sympathetic to their apparent reasoning behind it.
It incorrectly reports that browser caching is "Not enabled for third party resources" on my site: http://blog.zorinaq.com

It gives absolutely zero details about why it thinks it's not enabled, and does not say which are the affected "third party resources"... As a matter of fact I only have 1 third party resource (https://fonts.googleapis.com/) and it properly sets Expires and Cache-Control...
Relevant: https://www.wired.com/2016/07/lose-tomoyuki-tanakas-x-ray-il...

TOMOYUKI TANAKA hand-draws ballpoint renderings of the innards of Tokyo's sprawling train stations.
A nice YouTube video about what this is about:

https://www.youtube.com/watch?v=OVWZFdb_AGc
i don't need it all, i'd be happy with as much selection of my local video store that, somehow, only closed a couple years ago.
When your CSS file gets large. Which is the case in most sites today thanks to frameworks like Bootstrap. Your page will wait for the CSS file to download, process and repaint. Inlining some of the CSS i.e. critical path CSS can give you lighting fast renders.
If a project is "important" then it should have business value.

For some developers (including me), working on projects with significant business value is the definition of glamorous. Since there's significant business value, then you should be rewarding people for delivering that value (with bonuses and raises).

If the task does not have significant business value, it's probably not actually important. A lot of maintenance tasks actually fall in this bucket.
The cobbler's children have no shoes :)

Just because we can deploy services that can take a million RPS doesn't mean we have our side projects / hobby sites in order, hah. I worked in hosting for a long time and I had a personal WordPress site which would get hacked every other month. I literally fixed that problem daily at $JOB, but couldn't be arsed to do something better for myself. It worked, and it was quick and easy. The point was the content.

These days, I'd just use something like Medium or Tumblr. Let someone else worry about hosting it :)