skysight-inc/HackerNews huggingface dataset:
I reduced Server Push to these rules for my HTML pages:

* Push only when I can guarantee that they don't have it in cache

* Push only assets included in the <head>

Which, for me, means I push a single CSS file for a page when I know that the visitor is a new visitor. After that, I never push again.

The implementation is essentially:

* For a HTML page request

* Check for the existence of a pushed=true cookie

* If cookie does not exist (new user/session) push the CSS needed

* And add a Set-Cookie for pushed=true with the same cache expiry time as the CSS resource

That's it.

Of course... if we could move away from sending the CSS for a whole site when people just request a page then I'd revisit this, but until then a single CSS file needs a single cookie and a single push.
Or perhaps it makes sense to practice the skill as much as they can, so they are better at it when it comes to defend their own young?
Two mistakes in his reasoning that make that point in particular not well put:

1. It takes time, and only time, to develop this skill. It can't be ordered by fiat. He hired junior devs, so this is what he gets.

2. He's thinking in terms of absolute advantage, not comparative advantage. Even if he could code the item more efficiently, it's worth it for him to give it to them.

As for your peers, mandatory/automated testing, mandatory code reviews, automated formatting, pair programming: all are designed to teach people to be better programmers. Implementing some/all of the above won't directly cause an issue between you and the coworker and will help everyone's code become better.
I hope the question is rhetorical, since if the information is indeed deliberately hidden and only false stories are made public, the few who know the real story are unlikely to post about it here on HN. So whoever answers the question either doesn't know anything or is trying to mislead you (further) :)
Ah, congrats, I've been waiting for this! When's the german localization due? I know you already have some volunteers working on it.

Keep up the great work!
I dabbled with feature flags once. We had... issues.. with our DBAs who, it seemed, couldn't make any changes to a database without taking it offline for a cold backup first. We floated the idea of feature flags as one way to perform certain live deployments. The ops guys refused outright for reasons which stank of protectionism at the time.

Time passed. I was tasked with rewriting a fairly complex piece of code and I put the new code behind a feature flag. At the time, there was no facility in place to support feature flags so I had to introduce one as part of the deployment. It all went into a test environment but the deployment scripts didn't set the config to enable it. This was deliberate because I wanted to verify that we wouldn't change existing behaviour (i.e. break anything) by deploying with the flag disabled. The testers, however, were looking for the new functional behaviour and raised a defect.

- when the project manager found out, he claimed that this was responsible for a timescale slippage (the delivery into test was massively late, naturally)

- when my line manager found out, he told me I'd be fired if I tried a "stunt" like that again

- when the DBAs found out, they decreed that, henceforth, all database updates which resulted in a "functional change" would be subject to the full release process (i.e. cold backups).

So the experiment was a total failure. Or a total success. It depends on how you look at it; one amusing moment was when the PM came out of a meeting and, with some gravitas, suggested that we might have to rip out half the new code in an effort to salvage the timescales. When I demonstrated that we could achieve that in, oh, about 5 seconds by flipping the flag, the notion went away. The guy was a contractor and I suspected he was just trying to create more work to keep himself around.

To me, the biggest question with feature flags is managing the removal of dead code. In this case, it was never removed because the task of deleting it would trigger a full project release cycle and the company didn't see the point of spending the money.
The formula in the accepted answer on SO is equivalent to the formula in this article. Just written differently.
Interesting! I don't know, of course, but it strikes me that it could just be pure happiness. After I give my dog a bath outside and let him off the leash, he tears around the yard.
There must be research into this? I am from west EU and east EU always did much better in math. I had a few companies over there and my colleagues there told me that you study to make money which means you won't study music, languages, history etc. In NL where I grew up, people basically studied for fun and 'the job' comes automatically; I guess (!) Asia would be the same mostly?
Ask HN: Is company 'culture' bullshit?
Genuine question. We're discussing team culture in our place of work at the moment, we're a young company and we're trying to define a 'culture', or at least the lead is. But I'm sceptical, from almost all my experience with people discussing company culture, it has been buzzword laden and pithy.

Is company culture, just company policies? The individuals in a team, a mixture of those, or something else entirely? I'm really struggling to contribute to the conversation because I just don't 'get it'.

I've often scoffed at companies claiming to have a 'great culture', because what that usually translates to is 'we've got a table tennis table and sometimes associate with each other after working hours'. No one seems to have one set answer to what a company culture is, or how to create one, if you can create one at all? Or does it just arise coincidentally?

Any advice greatly welcomed! How, if at all, do you cultivate a 'culture', is it important? And... what does the term really mean for you and your companies?

Thanks in advance!
first of all, Uber China is not the first competitor DiDi killed, it is the 31th which means there are 30 China "uber" dead before. In another way, Uber cannot even beat Lyft at hometown. What this story tell you?
JPM Head Quant Explains Why the S&P Refuses to Sell Off
The pricing seems odd.

$480/year for a $400 video card? $240/year for 3TB of disk space?

No discussion of bandwidth.

No discussion of security.

No discussion of liability.
Even soft real time systems like games or real time networking solutions suffer from non-deterministic GC pauses. Audio processing is another example.

You can get by in a GC'd system if you're careful not to allocate while being in the "hot path", but it's much more difficult than manual memory management (you need to know the internals of the GC algorithm) and interference from other threads may spoil your hard work.

Minecraft is a prime example of annoying (Java) GC pauses causing annoying interruptions. Another one is Kerbal Space Program's choppy audio (from C#/Mono GC). Although these games made millions or billions of dollars regardless, so you might argue it's a non-issue.

> currently my most optimistic time table would be able to have vendor support for Rust toolchain in 10 or 15 years

Not sure how much you'd need changes for the Rust compiler to be able to use it on MCUs and DSPs, but LLVM is more and more common and it might be (almost) enough to have the LLVM backend ported to the target arch. LLVM is moving fast, so for some targets it might be viable much sooner than your estimate.
Why would we communicate with them? I mean, it's not like we're trying very hard to communicate with every single human subgroup either. And some of them we definitely NOT want to communicate with.

Reverse being true; if I was a whale, I'm pretty sure I wouldn't want to get involve in that human business and become so bitter that I'd lose the drive to be altruist ;-)
That's the point - remove temptation from your own politicians. That is for those who believe in a "military is for defense" doctrine. Myself, I'm not so sure the evidence for interventions abroad would support an offensive military - narrow interest groups who clearly have benefited a lot excepted.
Yep, insurance (which is universal and funded through taxes mostly) covers a vast array of stuff, from severe surgeries to small checkups.

Even cancer chemotherapy wouldn't cost me a penny. I do pay around 30 usd monthly to cover me, my significant other, and my children - when it comes to those small medical costs (medical checkups, vaccines etc.).

Everything more complicated is covered by the tax system :D

I do not think there could be a situation where they would decline to operate, or that they would bankrupt me with the bill.
Mobility and Travel: How Mobile Apps Are Making Travel Easier
The smart devices could be a road warrior's handheld tool when it helps in navigating and finding unfamiliar location via mobile apps. Travel app not only helps in GPS but also aid in unexpected obstacles like traffic jams, road under constructing, weather information and much more. There are various examples of popular mobile apps that are embraced by travel agencies such as Uber,HopStop and Waze – these travel apps have made travel easier. Let us look at some of the specifications that these apps:
This might be one of the reasons Comcast is so keen to put cable modems with built in WiFi into people's homes. This would allow them to track Web history all the way down to a particular device. (It could also probably be used to track down who's particular computer was used in file sharing.)
If you haven't read the LRB article, it's hysterical.

http://www.lrb.co.uk/v38/n13/andrew-ohagan/the-satoshi-affai...

EDIT: not as funny as this clip though. The man is a transparent fantasist/fraudster.
Great stuff. I love Ruby. Any idea when this will be production worthy, or at least stable enough to trust on internal projects? Will the language change much going forward?
How Woodpeckers Will Save Football
Not to be a wet blanket, but Wiki suggests a few other reasons that it might breach that might be in line with being stuck for some time in a dingy net.

Or maybe the whale was just having a lot of fun now that it could move.

Or maybe it's a really big thank you like you suggest :)

If it's either of the latter though, I do find that interesting behavior regardless.
Whether reference counting is GC or not is arguing about semantics.

But correctly implemented reference counting is essentially pause-free. It's consistently "slow", which is better for some cases that unpredictably "fast".
LFE (Lisp Flavored Erlang) is a great alternative to Elixir if you prefer Lisp over Ruby syntax.
Pony lang is looking to enter the BEAM/OTP arena with its own implementation of supervisors and such. It is actor-based, OOP and is supposedly very fast in the distributed niche.
An army offical involved in coup? e.g. either gave orders to soldiers to participate, or did not take action against the coup when ordered so.
> Passing such moral judgements based on the diet of a species

Causing harm to social intelligent species, such as by eating them, is objective. In theory another species could eat plants and also attack mammals for fun all the time. That species would also be assholes. This isn't a judgement based on 'diet', it's a judgement based on how they interact with others.

> since they protect those seals and sea lions

That's not the same logic. The same logic might lead you to call seals and sea lions assholes, but it wouldn't extend to the whales.
Was it? The only issue I remember was with String before Java 1.2, where only few characters where used in hash (instead of all) leading to abysmal performance in many applications.
I'm anti-free market. It's promises contradict human nature and history. So, I dont have any counterexample to that. ;)
I don't know about "72-core/64-core" but I found older references to 24 and 48-core:

http://dmesgd.nycbug.org/index.cgi?do=view&id=2778
http://dmesgd.nycbug.org/index.cgi?do=view&id=2725
Or maybe they were involved and confessed during questioning for a bargain? Just because they did not tell things you wanted to hear doesn't mean they were given under duress or torture.
SEEKING WORK

Location: Russia (GMT +3)

Remote: Yes

Willing to relocate: No

Technologies: Android, iOS

Hello! My name is Maxim and I help small/medium-size companies with mobile solutions. I specialize in native Android and iOS applications development.

Website: http://mbelsky.github.io

Email: public.belsky at gmail dot com
The World's Most Misunderstood Language Has Become the Most Popular (2008)
PPT and PPTX to PDF, HTML, XPS and TIFF
> That's good, but what causes the difference?

Could it be startup time? That's less of an issue when the application has started up.

A fibonacci application is not a very good benchmark anyway.
Actually it's been stable for the last 6 months. No more expected major syntax e.g changes upwards. (apart from parallelism and gc which will be at compiler)
I beg to differ. Math olympiad problems are typically short and concise, and mathematical phrasing, even when expressed in English, typically has clear bijections to equivalent terms in other languages.
How to Get Better Results from Affiliate Marketing, Become Successful Publisher
The security of nuclear weapons may be less tight than one may think. Hare are some classics:

British nukes were protected by bike locks - http://news.bbc.co.uk/2/hi/7097101.stm

Launch code for US nukes was 00000000 for 20 years - http://arstechnica.com/tech-policy/2013/12/launch-code-for-u...
So explain that if it happens again you intend to switch banks.
There are two parts:

1. Source API endpoint - Heartbeat fetches the data using the authentication supported by the source API (basic auth, security token in headers, URL query strings for example).

2. Heartbeat transformed endpoint - This is accessible over an HTTPS endpoint and is secured with a basic auth username:password key. As long as you use it within a secure environment (server code, or an internal network), there should be no problems. If you use it within a web app that's distributed to other users, they can see the key. However, this key is read-only and we will allow generating a new key from within the dashboard shortly.
People have been beating the drums pretty loudly lately for a global downturn. It almost feels like mainstream media is trying to cheer it into existence.

Yes there are "concerning" signals if you look - a decline in China's GDP, the plunging price of a barrel of crude oil, Britain leaving the EU. There are always areas of concern in even "good" times. However Op Ed columnists and Cable TV pundits seem to be falling all over themselves warning of the impending doom. And honestly it feels like sport.

Yes its always wise to have some saving, the more the better to a point any way. However it also wise to realize that a lot of this is fear mongering by the news media. And for an industry that has less credibility and relevance in people's daily lives than it once did, a lot of this just feels very contrived. Bad news sells, bad news is always good for the news media. There's an old newsroom adage "If it bleeds it leads." I realize this was a FB post and not a mainstream news media post but the fear mongering is starting to have this effect.

My coat is in the closet right where I left it, its August now, the sun is out and I'm wearing shorts.
Global Managed Security Service Providers (MSSP) – Happiest Minds
Gulen is turkey's Emmanuel Goldstein, their Bin Laden, their two dimensional hate figure on whom all ills are to be blamed.

Gulen shot my dog.
I'm guessing in most cases it's much easier to socially engineer the service provider customer support, rather than attack the SIM hardware.
I think we are going to see a lot of that soon.

There are already collection going on, though only for internal data analysis. Insurance companies track you for checking liabilities in claims. Tesla tracks you for building their auto-pilot. As more companies install these things it becomes more likely that they will start reselling it.
Best Practices for Boosting Your Cold Email Open and Conversion Rates
Data Persistence and Spot Instances, Solved
I always thought that the opposite is true - people who care about their paycheck jumps ship every couple of months to improve their paycheck(it easier to get a raise in a new job than in your current one, right?)
It looks like (although not obvious) that you get paid for running this?

If so, I'm pretty certain that it won't be economical due to the power usage. Great for teenagers with gaming machines that their parents are paying the electricity bill on, and that's about it.
Erlang/Elixir is much, much faster than either Python or Ruby especially when it comes to workloads like your typical web app.

In the Techempower benchmarks the Phoenix tests had a ton of errors and there was no preview run so whoever submitted them wasn't able to fix them. Look at the error column. I assume they'll be fixed in the next run.
For anyone interested in building web applications with Crystal i recently gave a talk about Kemal at PolyConf https://www.youtube.com/watch?v=KJB-nAoRSr8
Not true, it's harder to pick on a majority.
Orcas are loners and don't like large social groupings? Hmmm, I think I've found my new favorite animal! :)
Damn dude, that site is addicting. Like buzzfeed but for the overlap of math and CS nerds.
I guess you blindly follow them.
I guess USB-C charger for newer MacBooks is even more complex. Still I wish Apple paid more attention to designing cables and connectors. In my case the cable broke within weeks and after a year the USB-C socket on the power supply became loose randomly disconnecting the cable :(
Coup was not an act of a single group. Government is putting all the blame to one group, they were not the only one.

However this Doesn't mean that particular groups was not involved or took the initiative, I hope more will be revealed in time.
yours are more accurate of course. Mines were only rough translations.
They're mining cryptos
Trip Smart Travel Solutions Benefit
Trip Smart Travel Solutions provide various benefits like Flexible Technology, Superior Suppliers, Fulfillment Services and many.http://travelsolutions.trip-smart.com/benefits/
Yes Donald Drumpf is evil!

It's time we had a woman in office! Hillary has done nothing wrong!
Assuming you max out a 500W PSU 24x7 for 31 days, it's roughly $45 per month I believe, so you are probably right.
For 96$ Yearly you give 1TB and for 99$ yearly you can buy Dropbox with that amount of storage.

I don't get how they set such a big price for that.
Oh god, you must be fun to work with. /s

Next time you probably should take the guy and talk with him privately instead of publicly shaming?

Also "Python really is beautiful, Python is english...write me some poetry please." cringe.
I stopped subscribing.

The thing is, the Glory Days when kernel development was a scary, exciting wild west are lone gone.

By necessity, the Linux kernel is now a part of the tech firmament and development is necessarily not as sexy as it used to be. So it's gonna be tough to get people to pay to read about it.
I don't know if Elixir is mainstream or not, but there are a lot of companies using Elixir in production (including the company I work for). You can find the list of companies at https://github.com/doomspork/elixir-companies
No, definitely not!

I'd be very interested in a language that is roughly as low level as C, but has some obvious warts "fixed" while still being able to run on bare metal or with a minimal runtime system. I also don't care about a standard lib as long as I can call open(), close(), read(), write(), socket(), etc.

Native threads is another requirement for me.

Things I'd like to see in a language:

- compile to native executable

- type inference

- module system without header files

- easy to call into native C code, and export functions so they can be called from C or any other language

- first class SIMD structures (this is missing from Rust!), so that you don't have to duplicate code for sin4f and sin8f (which would be line-by-line equal, except types)

- perhaps some kind of modern polymorphism (ie. not class based OOP)

- can target GPUs via LLVM or SPIR-V

- memory safety is optional, but nice to have. I'd be mostly interested in using this kind of language for GPU kernels and tight inner loops, where you wouldn't be allocating anyways

I have a bunch of design ideas and prototypes in my drawer waiting for a lot of free time and inspiration appearing.

I like my tools sharp, even if it means there's going to be blood occasionally.
TCP Tuning for HTTP (draft-stenberg-httpbis-tcp-02)
No an HSA is for out of pocket expenses. Monthly premiums cannot be paid from it.
As other comments point out, there are significant benefits to having a streaming endpoint over a polling logic. It conserves resources, provides a more elegant representation with an events based interface to act on incoming data.

A latent benefit of Heartbeat (which we will start emphasizing soon) is an ability to filter the incoming stream of events by the JSON data properties, so one can build nice IFTTT style code using any REST based APIs as sources. We are leaning towards creating a monthly and a longer-term pricing plan, but if your use-case is casual, then it will always be free. We are able support the current load of requests with a single worker process.
I wonder if you can't do a jolly good job by having emulators run under Linux with high RT priority and bypassing X by using the framebuffer? You can still have your other cores doing regular multitasking stuff in the background.
Yes, but I would probably not bother stealing one again.
Elixir has optional typing though. You can type check with Erlang's Dialyzer.
2 Years On, Uber Is Still Turning the Nigerian Taxi Industry on Its Head
It is also surprising he continues using and being addressed as Dr, when there is no evidence he has a doctorate.
90% of recruiters there are failed salesman anyway so it's not a big loss.
I'm a European who's lived in Singapore. The traffic really doesn't compare with your average European city: there are a lot more cars per capita and no "off peak" plates here, and generally inferior capacity road networks and worse public transport alternatives too.

Pretty sure Google Maps' traffic maps are scaled based on averages for the road/area and not some absolute scale for easy comparison too (though this being HN there'll probably be someone that worked on it along to correct me in a moment)
Top automatic aluminum can crusher