skysight-inc/HackerNews huggingface dataset:
> e.g. If they ask you to merge sorted arrays and you don't know that Heap sort is the best way to do it

Sorry, I'm confused. I love heaps, but... what's wrong with this simple O(n+m) time and space solution, that I can easily prove is the theoretical limit (because the output size is O(n+m))?

def merge_sorted(a, b):
result = []
la, lb = len(a), len(b)
ia, ib = 0, 0
while ia < la or ib < lb:
if ib >= lb:
result += a[ia:]
break
if ia >= la:
result += b[ib:]
break
if a[ia] <= b[ib]:
result.append(a[ia])
ia += 1
else:
result.append(b[ib])
ib += 1
return result
assert merge_sorted([], []) == []
assert merge_sorted([1, 2, 3], []) == [1, 2, 3]
assert merge_sorted([], [1, 2, 3]) == [1, 2, 3]
assert merge_sorted([1, 3, 5], [2, 4]) == [1, 2, 3, 4, 5]
assert merge_sorted([2, 4], [1, 3, 5]) == [1, 2, 3, 4, 5]
assert merge_sorted([1, 2, 3], [1, 2, 3]) == [1, 1, 2, 2, 3, 3]
Only guess is crawling on cars and leaving little paw-prints, that's the only common thing I can think of. Occasionally known for getting up under the hood or something, which doesn't turn out so well for the cat, either. Though I'm sure individual cats could have their own undesirable quirks.

With dogs, you get the pooping (which is at least half an owner problem), squirrels dig up my yard, gophers same, ants all over the place. Can't say I've ever had an issue with cats, but I trust the creator of the project has a reason, and as a cat lover, I'd laugh my ass off at video of a cat getting hit by surprise sprinklers.
"End-to-end encryption without open-source has no value. "

Not quite.

It means nobody is going to be able to read your data other than:

A) A nefarious Facebook staffer who has hacked their internal systems

B) A government entity with a court order

It's a step up from no encryption
His question was about merging pre-sorted arrays, not about sorting arrays. (Still, see my own disagreement in sibling)
GenodeOS Framework 16.05: Foundations [pdf]
'tptacek does just that here: https://news.ycombinator.com/item?id=12057079
Use kms and dynamodb with key enveloping, or this tool: https://github.com/fugue/credstash

Don't initialize into env vars and don't store in repos, even private ones.
The official website of the compiler itself is here: https://www.haskell.org/ghc/
It's a .gov.

Budget is driven by business and income tax (i.e. profits and bonus) both tend to peak before things go south. This .gov uses archaic cash accounting, so they always focus on current cash flow. So if we have cash to burn, that means things were great last year. :)

Businesses in particular always invest in growth, so lots of revenue means that growth prospects are tightening, even though things look great in the present.
How are you allowed to run this company while working for Google?
> It is kind of amusing to think of the entire Internet as a giant directory though.

How else would you think about it?
Thanks! I look forward to hearing your feedback!
Two things, I think. One, AWS is putting a huge bet on getting huge Enterprise customers to migrate their datacenters to the cloud. So a lot of the new services in the last couple of years have been centered around making it easier to transition big Fortune 500 companies' infrastructure before MS or Google acquires those companies and the tens of billions of future ongoing guaranteed revenue they represent.

But number two, I get the impression that AWS has some severe underlying technical debt that comes from original architecture decisions from 10 years ago, and that they are pouring a lot of current resources into addressing those problems, and getting customers off the old crusty stuff. For example, there's a major transition coming to make EC2 IDs much longer so they can remain universally unique, but that's a painful transition. Then there's weird stuff like the "classic" non-VPC accounts where security groups are identified by name. And all the services that don't have tags, and the fact that it's easier to operate multiple AWS accounts than to partition permissions within one account. But they are working on fixes for all these things, but a lot of them are buried so deep in the architecture that it's taking some time. But in a couple of years when some of the new things on the horizon come to fruition, I think we'll see more aggressive iteration on managed serverless infrastructure options.
46ESAB – High Quality Cryptography Direct from LinkedIn
It's not that it's lacking at all, but on GCP I just click a few buttons and Google spins a Kubernetes cluster up for me. They handle my node OS upgrades for me. They've also got a really slick in-place rolling cluster upgrade setup.

The primary difference on AWS is that you are doing all of this yourself instead. This isn't bad for everyone, but I've got the option of having Google do it in addition to doing it myself on GCP.

As a bonus, Kubernetes abstracts a lot of inter-provider differences away. I can move between providers more easily, or even run across multiple providers (cluster federation).

ECS is severely limited and slow to evolve, by comparison. They got to market first, but their overall container strategy is now inferior to GCP's.

They're still ahead in many other ways, though. I just feel like containers are GCP's sweet spot.
A guy did something similar, but manual, to keep people from peeing in the alley behind his building.

https://www.youtube.com/watch?v=r77lEmGaCXI

I bet people would pay real money for a system like this.
The README explicitly states that this is far too early for real programs. It doesn't come close to supporting all of C yet.
Random access by code point is hardly ever quite what you want, and UTF-8 is not a bad internal encoding.

http://dparrol.github.io/unicode-random-indexing.html
> In the end it should matter very little how they are obtained as long as they are accurate.

That's about as actionable of a statement as a CEO telling you he wants you to do whatever "will be the most successful." Well duh :)
Google's GCE isn't much better. CoreOS's Quay is the best that I've seen. Nice UI, and a head start over Docker Hub's image security scanning.
I work remotely for a non-profit. So neither too much time nor too much money but I still do live like this. Except for that 70F is way too cold for me, I like it above 85F.

Try it, makes one less grumpy ;)
How are they "public" across the entire machine?
Whoops, I'd edit this but apparently my mobile app doesn't support such a thing. GCE in the parent should be GCR (Google Container Registry).
“No central config. ECS doesn't have a way to pass configuration to services (i.e. Docker containers) other than with environment variables. Great, how do I pass the same environment variable to every service?”

Would packaging the configurations together with the docker image makes more sense? That enables more hermetic deployment.
DNS was never ASCII only, and I've never seen DNS software make that assumption--that "every piece of internet hardware from the last fourty years, including the Cisco and Juniper routers used to deliver this page to you [assumes ASCII]".

The essay links to RFC 1035 to support its claim of ASCII only, but RFC 1035 actually says is

"However, future additions beyond current usage may need to use the full binary octet capabilities in names, so attempts to store domain names in 7-bit ASCII or use of special bytes to terminate labels, etc., should be avoided."

and

"Although labels can contain any 8 bit values in octets that make up a label, it is strongly recommended that labels follow the preferred syntax described elsewhere in this memo, which is compatible with existing host naming conventions. "

Indeed, some country TLD servers were (and maybe still are) supporting non-punycoded UTF-8 directly.

Lookups are supposed to be case-insensitive, but it's always been verboten to actually modify the case of names in a DNS packet. A query reply is supposed to include the identical question name in an 8-bit clean manner. Indeed, some DNS clients will arbitrarily randomize the case of names to add an element of randomness to thwart DNS spoofing attacks. (If the answer isn't the same 8-bit name, you ignore it just as if it came from a different IP address then you sent it to.) Unfortunately there exist enough broken DNS proxies out that software like Firefox or Chrome can't do this without headaches, but I've never encountered such broken software myself (at least, not that I knew about). At worst I've seen query responses which lack the question portion altogether, and this can cause timeouts (rather than immediate failures) for software which enables anti-spoofing measures. But I've also seen responses which lack the same QID, too. There's always broken software; the threshold for when you can ignore it is highly context dependent.
Thanks - sounds like a good solution. I will look into this in detail over the weekend.
You don't need a fully convolutional network, just a regular CNN for image recognition
We have been running Sqreen production on ECS since October 2015, and we have been pretty happy about it the whole time. Of course ECS was very minimal at the beginning, then many stuff improved, allowing for easier deploy, easier logging, and finally easier auto-scaling. When the ECR (AWS managed registry) was added to our region, it was quite a party @Sqreen :)
I would see no point leaving it for something else today.

A remaining issue is that you cannot spawn two containers speaking to a given ELB (AWS load balancer) on the same host if they need to bind the same port.
IME the interview you have depends a lot on org size and how close the interviewer is to the money. A technical founder will tend to interview with an eye towards product and marketing and sitting down in a real environment to do sample code. As you go down the line and interview at bigger orgs with more departments, it becomes more specialized, the culture overwhelms the business, and you get more of the "idealized CS graduate" syndrome.
Content is maintained separate from the plugin, but Tailor does provide it's own set of minimal styles for elements. The main problem it solves it getting "locked in" to a plugin (i.e., being left with nothing but shortcodes when the plugin is disabled), but the element styles would no longer be applied when the plugin is disabled.

That's an interesting thought though and something I'll explore. If it can be achieved without hacking WordPress or introducing other issues then I will introduce it. One of the great things about Tailor at the moment is that it doesn't mess with WordPress and I haven't had to release a single maintenance release to support new versions of WordPress.
Ah, some googling got me here:

http://www.geeksforgeeks.org/merge-k-sorted-arrays/

Merge k sorted arrays. Obviously that's a job for a min heap (not heap sort though, just a heap to keep the values of the next item in each array).
Thanks to both of you! I'll update the landing page based on your recommendations.
Finally, a post that is both critical and supportive.
CLRS is a huge tome. I have no idea why it's always recommended as an introduction to algorithms. It seems like it has the breadth, if not the depth, of TAOCP in terms of being a perennially recommended work that no one actually reads all of the way through.
If anybody is looking to spend some time soaking in nostalgia, there's a small community at /r/amstrad /r/acornarchimedes and
/r/acornelectron
That's because Android itself supports HLS (although barely).
Tailor works with any theme. Plugins like WooCommerce that do something specific (like ecommerce) can easily be supported. In fact, I have created a simple WooCommerce extension for Tailor (also free) for people who want to manage products.
Interferometers that produce clearer signal by getting rid of light
I don't buy it. The top quora response you link to makes claims that tracking happens when off, but it's sources make no such claims. Specifically, I highly doubt that GPS is useful towards tracking an off phone.
It's in the abstract of the paper, but essentially this is a study of Swedish lottery winners which finds that winning the lottery doesn’t make them or their children any healthier, better educated, or more pro-social.
As is yours, though I cannot tell if it is or isn't deliberately self referential.
Try dividing the job in 2, then provide a reward (game, tv, food, or whatever) when they are done. The crying/sulking one will typically figure it out pretty quick.
I agree. Given this particular forum I thought the free and open source aspect of it would be more interesting, but you're right: it's definitely not the drawcard of Tailor. That said, the benefits of it being free are obvious and being open source people can get involved and help shape it (like WordPress!).
I do think they need to put more effort on CLIs etc, instead of relying on OSS to fulfill this niche, or at very least put more effort into supporting OSS.

Lambda is similar, we have 'Serverless' and I'm hacking on Apex (https://github.com/apex/apex) just to make it usable. I get that they want to create building blocks, but at the end of the day consumers just want something that works, you can still have building blocks AND provide real workable solutions.

I was part of the team migrating Segment's infra to ECS, and for us at least it went pretty well, some issues with agents disconnecting etc I sort of wrote off since ECS was so new at the time.

Another annoying thing not mentioned in the article is that the default AMI used for ECS is not at all production ready, you really have to bake your own images if you want something usable. I suppose this is maybe because there's subjectively no "good" defaults, I'm not sure, but it's a bit of a pain.

ELB for service discovery is fine if you can afford it, I had no issues with that, ELB + DNS keeps things very simple. I'm not a huge fan of all these complex discovery mechanisms, in most cases I think they're completely unnecessary unless you're just looking to complicate your infrastructure.

I also think in many cases not propagating global config (env) changes, is a good thing, depending on your taste. Scoping to the container gives you nice isolation and and more flexibility if you need to redirect a few to a new database for example. You don't have to ask your-self "shit, which containers use this?", it's much like using flags in the CLI, if we _all_ used environment variables in place of every flag it would be a complete mess.

EDIT: I forgot to mention that the ELB zero-downtime stuff was awesome, if you try and re-invent that with haproxy etc, then... that's unfortunate haha. No one should have to implement such a critical thing.
I suppose it depends on your definition of public.

Any environment for a process will be accessible via /proc/<pid>/environ on a linux system. Of course other users cannot read these files, however in the case of something like a Docker image all processes likely share a username and this could be a risk (especially for a public webapp that one day may information leak/allow remote command execution).

At least that's my immediate take on it.
Google’s plan to keep your Web browsing safe from the cyberattacks of tomorrow
I heartily recommend this essay http://scholar.harvard.edu/files/mickens/files/thenightwatch... , for gems like "Pointers are real. They’re what the hardware understands. Somebody has to deal with them. You can’t just place a LISP book on top of an x86 chip and hope that the hardware learns about lambda calculus by osmosis."
Awesome! If it does look like something you'd like to use then I'd love to get any feedback and suggestions you have. You can email (hi@tailor.com), jump on GitHub or leave a note in our forum which can be found at http://support.gettailor.com.
Let's assume you are right, then we still can't forget that https://en.wikipedia.org/wiki/Correlation_does_not_imply_cau...

To minimize one variable we need to modify a cause, not just something that correlates.

Also I think what you say is an assumption and there may not even be correlation.
As long as the firmware update requires physical access to the band and the paired computer, then it is secure.

If this device is insecure just because its owner can install new software onto it, then all laptops and desktops are also insecure.
Related podcast: Would a Big Bucket of Cash Really Change Your Life?

http://freakonomics.com/podcast/would-a-big-bucket-of-cash-r...
Don't pitch your software as dependency free if it depends on a certain architecture. There's no need these days with llvm. Otherwise make it clear you actually wrote an arch specific assembler.
Pokemon Go player finds a dead body
Chances are the cats are digging in his yard/garden/flower bed and leaving feces everywhere, or leaving dead animals in his yard. Outdoor cats are destructive pests; it should be illegal to allow pet cats to roam freely outdoors.

If you think it's "natural" and your cats should be free to roam, then you simply should not own cats. Your cat is not just "visiting neighbours". It is destroying other people's yards and killing off local bird populations. Yet you don't care, because it's out of sight and out of mind. All you care about is how you feel for allowing your cat to be free, while shunning all responsibility for how your cat is impacting others.

People who keep "outdoor cats" remind me of an acquaintance I once knew who owned birds with clipped wings, kept in tiny cages for 23-24 hours a day. Her reasoning for not finding it morally reprehensible? "Well these exotic birds cannot survive our Canadian winters, they need to be kept indoors!". So... you're buying exotic birds that do not belong in our climate, mutilating them, imprisoning them... and somehow manage to revamp the logic in your head to make yourself their savior?

I hope one day aliens come to our planet, put us all in 10x10 foot cages after severing our spinal columns so we can't walk, while making sure to let us know it's for our own good and has nothing to do with their own agenda. Or the aliens can come and cohabitate with us, but let their human-eating pets roam outdoors and deny any responsibility for those pets' actions.
Of course the food shortages affect everyone, but cperciva is right, the government is handing out bags with food in the poorest sectors of the population. When these people are faced with the food shortage, and then they receive a handout from the government, they are being controlled and manipulated.

The government has stated before that these handouts (called CLAPS) are not for the middle class (which has been opposing the government), only for the lower classes. Of course, they claim that the middle class can afford food and that they are defending the poor.

Guess what? The rapidly shrinking middle class is also suffering from the huge lines which start as early as 6pm the day before outside the supermarkets to buy a bit of food. Those of us that cannot go to the lines (because we need to work to actually afford food) need to buy in the black market (called "bachaqueros", almost always someone with govt connections) at 10x the regular prices.

We have the exact same situation with medicine. Patients are dying in hospitals because there's no medicine. Something as simple as Acetaminophen is incredibly hard to find.

I have a newborn daughter and she was supposed to get her 2 month vaccinations and I cannot find them anywhere.

The situation here is just incredibly difficult.
That's definitely an advantage. I'd recommend using it to see how it stacks up (you've got nothing to lose). Tailor aims to be easier to use, particularly for users who are already familiar with WordPress. I'm not personally a fan of builders that make you first select a "column structure"; with Tailor you just drag elements relative to one another and dragging to the left or right creates (or adds) a column. Of course you can then resize then using a simple drag action.
It was 7 years ago. Jake did Lucene on Cassandra, but I actually did the Solr part, initially at least[1]. I never did much with it though, and Jake deserves the credit for making it a real thing people might use. I'm pleased with the name though.

[1] http://nicklothian.com/blog/2009/10/27/solr-cassandra-soland...
For some reason, I expected this to be a sequel to "Chasing Ice".
This is a WordPress plugin and is therefore dependent on WordPress as the earlier poster mentioned. You're certainly welcome to port the code to some other platform, but there would be a lot of work involved in that. I'm afraid I'm not aware of similar products that don't use WordPress.
My prayers have been answered.
Seriously though, this has been requested for ages and is so clearly a feature benefits a lot of users (even when being opt-in) while probably being easy to implement. I'm so glad they finally did.
Do you have some info to back that up? A quote like "worked the so-called 'Jewish circuit' of well-heeled Jews he met at country clubs on Long Island and in Palm Beach." doesn't make it sound like these were people he knew well.

(And taking a loan from a friend while it was collapsing is a sign of desperation, something anyone could do, so don't quote me that particular interaction.)
>Another annoying thing not mentioned in the article is that the default AMI used for ECS is not at all production ready, you really have to bake your own images if you want something usable. I suppose this is maybe because there's subjectively no "good" defaults, I'm not sure, but it's a bit of a pain.

We ran into this as well - I forgot to add this to the post. The Amazon Linux AMI for ECS has _very specific defaults_ that need tweaking.
> Mostly? 1st year undergrad.

How common is this? I did my (EE) undergrad I Florida, which has pretty extensive Gen Ed requirements. Almost nobody takes major courses in their first year.
Forth and Factor do a double-dash to separate the inputs from the outputs and multiple outputs are allowed. So your example could look something like `foo(bar: (int, string -- float) -- float)` or `foo(bar: (int, string -> float) -> float)`
Generate random C programs that conform to the C99 standard
Be careful when modifying user access to a private BitBucket repository. Their autosuggest for the username input field will show all bitbucket users. Makes it incredibly easy to accidentally grant somebody outside of your organization access to a repository.
Disappointment is not "poopoo"ing.
You got me curious as to what was being read/watched on first class.
Calgary is a bit of an outlier, they get a weather phenomena called chinooks. It's not uncommon for them to get several periods throughout the winter where their temperatures are above freezing due to these chinooks.
And the machine (vm) runs in a private VPC. So it's private.
Ask HN: How to secure your Apple Mac against malware/viruses?
Are Macs just as susceptible to viruses/malware as PCs? I'm under the belief that it is, but that less malicious code is written for the platform as its a smaller demographic of users.

Do you bother installing any "anti-" software? If so, which?

What further recommendations do you have for system configurations and tools?
Sorry I was not very precise there. Exact question is to merge K sorted arrays, size N each. A natural extension of that problem, is to have K streams.

First part can be solved with an extension of O(n+m) solution you proposed, but when it comes to streaming, Heap works better, with the same complexity, because you don't have to know the size of the arrays in advance:
https://discuss.leetcode.com/topic/2780/a-java-solution-base...
You're Wrong. And murder rates tell you that. MJ posession and murder are two different things. Per capita, blacks murder more than whites. AND in other countries, blacks also commit more than their "fair share" of crime including murders. Fortunately the United States still keeps the data on this. Canada is so bad now they purposely scrubbed racial information.
Interesting. Does the framework support menus and stuff though? Like this:

http://www.humanisethebrand.com/wp-content/uploads/2016/05/f...