skysight-inc/HackerNews huggingface dataset:
> I was once asked, during a phone interview, to describe how to implement quicksort.

If you know how quicksort works, I think this is a great question because it tests your ability to explain technical material to another human. I think that is a vital skill in all programming jobs.

Of course, if you happen to not know it yourself, you're sunk.

> I told the interviewer that I had not done that in years and I wouldn't implement a sorting routine from scratch these days because I'd use a sorting routine from a library.

Let's say you have a list of events. For each event, you know the year, month, and some other data. You want them sorted chronologically. Obviously you're not going to code the sort by hand. Maybe you'd consider:

1. First sort them all by month.
2. Now that the months are in order, sort again by year to group the years together.

Basic "application programmer" kind of stuff, right? Does this work? Well... it depends. Is your sort stable? If so, it's fine. If not, this will give you totally wrong results.

But that does require you to know what a "stable sort" means, and it's likely you won't have a good intuition for that unless you're familiar with at least one unstable sort like quicksort.

> I don't think these filters are explicitly designed to reject candidates based on age, but it does result in it as a side-effect due to the freshness of those topics in the younger candidates' mind.

You say that like freshness is some immutable fact.

I'm a college dropout. Much of the stuff you learned 20 years ago in college, I never got a chance to learn.

So when I started interviewing, I hit Wikipedia and started learning and implementing some algorithms. It's not that hard to refresh your brain, and I'm a better programmer because of it.

Since then, I have often been able to apply that knowledge to my work. I'm continually surprised how often some seemingly muddle hairball of a problem is really just a graph traversal, or a topological sort, or a heap, etc. when you look at it right.

Algorithms and data structures are just new perspectives you can use to approach your work. Who wouldn't want more ways to be able to look at a problem?
Have your load balancer drain connections to a web server. When it has no request in progress, deploy to it. When that's done, move on the the next web server.
Be a Producer – Turn a Hisense Chromebook into a Dual Ubuntu/Chrome OS Laptop
FBI’s Comey Concedes Mistake Was Made Over iPhone in San Bernardino Case
Yep... we're on the same page
"One reason why Apple could be working at night is that electricity is cheaper then"
Is the author serious?
Sounds good, look forward to it!
I am genuinely curious to hear how the points are dismiss-able? I'm not saying there is any one "gotcha" point but taken in aggregate, it paints a picture.
Appreciate it!
I don't know what your experience is, but given what other folks have shared here, it seems that those with 10+ years of experience in the industry, doing mostly "API programming," have said "I don't use this sort of knowledge day-to-day." I have nearly fifteen years in the industry. I am also entirely self-taught, and have never done any in-depth study on algorithms and data structures. There have been a few times that my lack of knowledge was limiting (and most of those times involved complex queries), but those times are few and far between.

But, you are correct: "a small edge can make a difference sometimes." To some employers that matters. To others? Maybe not so much. Maybe they are happy with a few folks that can deal with the algorithm issues, while the rest of team cranks out APIs and fixes bugs and supports old products.
I have been using SendGrid for a side project. Can't recommend it enough.
Sorry for the double post, I had no idea! :(
While you can put processes in place to improve code quality (version control, reviews, style guides/linters), there's no simple way to help a person who doesn't understand the underlying structure of software. APIs are great tools, but don't let them lull you into becoming a cargo-cult coder.
Datazenit 1.0 released
What I learned building an app in Hanami
I can't imagine a scenario that would make a "What the app will do with this permission" signal useful against malicious actors, which is the only scenario that matters. In this case, Fleep did exactly what it said it was going to do two dialogs ago anyway (I didn't take the time to copy that down when I tested the flow, but it's something equivalent to "We'll get your recent email correspondence"); the user either didn't understand what was being asked or didn't bother to read every word in the dialog box.

There's only so much defending against users not bothering to read or understand protocols that you can do before you encroach on actual usability. Chrome has already gone as far as to deny access to websites when end-to-end security cannot be guaranteed unless you happen to know the secret pattern of typing "b a d i d e a" at the blocking screen with no UI interaction to indicate anything is happening. This author expressed surprise that it's possible to grant access to their Gmail contents at all, to which the response is "Of course it's possible! That's a really useful capability for extending Gmail beyond the base set of functionality Google enables."
Permutive (YC S14) | London, UK | ONSITE | http://permutive.com

We're building the infrastructure for event-based personalization.

Our API lets you collect, retrieve, and query your users' behavior in realtime. It's the easiest way to integrate behavioral data into your product: we handle the collection of every user's interaction and provide a flexible query layer to react in realtime to their events.

We're looking for full-stack engineers to design and develop our core product. You'll be responsible for tackling and owning hard technical problems end-to-end. You should have experience and interests in some of the following:

* Working extensively in functional languages: we use Haskell, Scala (with scalaz), and Elm

* Building large-scale distributed systems: we run a stream data pipeline on AWS with Kinesis, EC2, DynamoDB, Postgres, S3, and friends

* Data engineering, particularly stream processing and applied ML, e.g. recommender systems for personalization

* Developing and scaling APIs and frontend products

We're an early-stage VC-backed startup with some of the top investors in London and Silicon Valley, including Y Combinator. Because we're a small team, you'll play a central role in everything — from product to company culture. We offer competitive salaries, equity, and bad jokes.

If you're interested, email us at jobs@permutive.com with your CV and anything else you think would be important for us to know!
Btc box ПЛАТИТ вывел 300 000 попупаю 2 ур пассивный заработок в интерн
5 Power Point mistakes to avoid like the plague
JavaScript Frameworks in 2016
But were they actually LYING about the new product proposal?

Or maybe they were just hashing out what they'd like the proposal to be, and how it's articulated, before putting it forth for community review?

If you've ever been involve in anything "management-esque" you'll know this is quite a common route to take. It's often better to wait a bit before unveiling a proposal -- until it's gelled, and you have a clear articulation of what it's going to be -- rather than dump some half-baked statement of it on everybody (which would just burn through their time, and have other negative consequences).
Actually, while I appreciate that "Programming Elixir" gets a lot of airtime, owning both books I believe that "Elixir in Action" is a much better resource than the former. "Programming Elixir" takes a pedantic, cover-all-bases, step-by-step approach with many of the gotchas not obvious at first, while the latter just dives in with idiomatic code and gets much more quickly to the "jewels" of the language, namely that which benefits from BEAM/OTP.

Not to denigrate Dave Thomas, just to say that being first is not always best. My personal experience, from an imperative background, is that the "Action" book is more terse, but ultimately offers a cleaner schema of the language.

Side note: I love Elixir.
Show HN: Open Callgrind Files on Mac OS X – Profiling Viewer
There are military GIS systems, probably not Waze :)
"paper checks"... wow. You guys still have those? I found a book of them when I moved house recently, unused, from 10 years ago. Don't miss them even slightly.
Another co-founder here. +1 on us being beginners on Front-end technologies.

To be a bit more specific about this issue we are actually using an outdated version of a dependency 'pace' that uses local storage (they have taken it out in new version) so hopefully with an upgrade this issue will be resolved. Based on your feedback we will make sure to prioritize fixing this.
I think merely asking this question would be qualification enough.
How is this in any way better than a train?
Havenly | Denver, CO | Onsite | havenly.com

Front-end software engineer - react/redux/webpack

Havenly, Inc. is a funded and fast growing consumer services startup, located in the heart of Denver. We are revolutionizing the home design market by providing a delightful design experience for everyone who is considering making a change to their home.

We're looking for engineers with working experience with react who want to collaborate in a small, fast moving cross-functional group to build delightful user experiences.

Contact me at gabe@havenly.com
Fair enough. I should have just said lifestyle.
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Very happy with SparkPost. Love their webhooks and their advanced content substitution engine.
I don't think I've ever seen MSFT so desperate to catch up. Blockchain technology and IoT? Exactly what use cases do they have in mind? It's like they tried to put out a press-release with all the buzzwords.
It's not so much a trojan, but as a way to transition to a free society gradually without the chaos caused by a collapse of the authoritarian system.
Sure. But you live in Iowa. You may like it, but many people don't. It's great that it works for you. As a visible minority, I wouldn't be too comfortable myself in any of the flyover states. The lack of diversity and general ignorance (But where are you FROM?) is not worth $200/month rent to me.
This is where I am at. This is insanity.
Yes, we are all aware he pays millions. Proportional to income, I pay more taxes than Warren. With that, the crux of the problem presents.

I never claimed rich don't pay taxes. Nothing short of you putting words in my mouth makes me doubt the validity of this interaction because A. you simply don't know better, or B. You are purposefully manipulating my meaning. With either case, I can safely conclude there is no point in continuing because you are trolling, or dumb.
mmmmmmmmmmmmmmmmmmmmmmmm
Pulsepoint | New York, NY | ONSITE | Full-Time

Pulsepoint is hiring a Director of Engineering and a Scala or Java developer!

* Director of Engineering (http://www.pulsepoint.com/job-board.html?gh_jid=172635)

* Senior Scala Engineer (http://www.pulsepoint.com/job-board.html?gh_jid=15176)

Contact me directly (I'm an engineer here) to apply! Email: jmena@pulsepoint.com
Here it is: http://www.erikyyy.de/tempest/
> The basic foundation of liberty is the ability to own private property.

The foundation of liberty is the freedom to make your own decisions and exercise your own will.

If the ability to own private property was the base what happens when you are a person that does not own any property? What if, in the extreme case, a single person or entity owns all of the property and you must either serve them or starve? Is that liberty?
This is why states cannot practice universal healthcare even when their citizens overwhelmingly recognize its value.

It is also the same problem as to why corporations incorporate in Delaware.

When you have money your locational mobility in the USA is astronomical between the states. This means that the most business friendly states will in aggregate attract the most business, attract the growth, and attract the money no matter how unethical or immoral the laws of the state they congregate in are. It is reductionist capitalism because everything trends towards having the least, or in the case of many enterprises having a broken market where they get no regulation but new competition can be destroyed with regulatory barriers.

When you want to move business internationally, the barriers are much higher than moving within the US, especially between neighboring states. That strongly impedes individual states abilities to actually experiment with policy, because unless they conform to the established trend of business interest pandering they are liable to lose those companies that have adopted their population centers as major sources of employment.

Though that problem really never stops. The problem of inter-state policy in the US is a global problem. International companies could care less about borders, and we are seeing in realtime the gradual reduction of global policy towards appeasing corporate overlords demands (see the TPP) so they do not discard their home country like a worn pair of trousers.

I mean, consider the feasibility of going to the extreme and trying to startup actual communism in any of the largely socialist European nations. It would be immediate and catastrophic wealth flight to other nations because economics will transcend borders while politics will not. Even if the majority of people want something, the ruling class will be intimately aware that they actually hold no real power in society, because they are beholden to the drivers of economics rather than their own people to keep their economies growing.
Question to Radio Yerevan: "Is it correct that Grigori Grigorievich Grigoriev won a luxury car at the All-Union Championship in Moscow?"

Radio Yerevan answered: "In principle, yes. But first of all it was not Grigori Grigorievich Grigoriev, but Vassili Vassilievich Vassiliev; second, it was not at the All-Union Championship in Moscow, but at a Collective Farm Sports Festival in Smolensk; third, it was not a car, but a bicycle; and fourth he didn't win it, but rather it was stolen from him."
"What's nice about OAuth is that it allows the end user to control access to information and revoke access as needed."
Really? This has NEVER been my experience with OAuth or similar protocols. It's always all or nothing, and I can never:
- limit the scope of any given type of permission
- find out which data was actually accessed
- limit the number of permissions given (it's all or nothing)

I realize this takes much more work than simple protocol, but it's the same as on Android: either an app takes EVERYTHING they ask for, and noone tells you how exactly they used those capabilities (no api log, no nothing), or you can't use the app.

I would much prefer a solution which lets me:
- understand full scope of data access (what does it mean that a web-app can "manage my contacts" in Google account? Manage as in... delete? Change their details arbitrarily? What?!)
- see full list, by app, what was actually accessed, and when
- be able to pick which things I want the app to do, and which I don't
- define (with groups, individual item selection or similar) which specific items I want the app to access

If the app breaks because it doesn't support partial access, so be it. But not designing this ability into the UI is basically forcing users to forever become oblivious of how technology works.
Same username, Technical Marketer at Raygun

https://growthhackers.com/members/nicko84
From the article - "WebThemis works in Google Chrome as PNaCl module; it can be loaded during regular web session, or used as a library within Chrome App" - "Directly calling cryptographic functions (even as high-level as they are in Themis) from JS is not safe: there is the wide spectrum of possible ways to intercept the calls, reload the calling code and bypass cryptography. So, the best reliable we can use is having some minor part of process logic within the PNaCl module too: this way, if the module gets bypassed, the normal flow breaks in a functional way."
Here is a list of companies who are currently using Elixir in production: https://github.com/doomspork/elixir-companies
> Let's say you have a list of events. For each event, you know the year, month, and some other data. You want them sorted chronologically. Obviously you're not going to code the sort by hand. Maybe you'd consider:

Why wouldn't I just do

myList.sort(key=lambda x: castToTimestamp(x))

? Then I'm just sorting a list of integers/floats, which sounds like a solved problem.
Please do not delete and resubmit. This is the 3rd time I've seen this submission today.
> Freeing the slaves was necessary and proper, but far from immune to the original argument

Yes, the abolition of slavery in the US is actually the perfect proof of OP's argument, that sweeping, panacea-like proposals are rarely effective in achieving the desired end-goal.

We should have executed a strategic plan for reintegrating freed slaves into society, providing them with the means to succeed and overcome the unbelievably disastrous impact that centuries of the slave trade had on their lives. This is in addition to the abolition of slavery, not instead of it.

Instead, we used a very blunt tool (the abolition of slavery) and followed it up with.... nothing[0]. Unsurprisingly, we are still feeling the effects of this massive failure today.

[0] Reconstruction, in many ways, did more harm than good, because it gave people the impression that the work had been done and 'was over', when in reality it was a band-aid sloppily placed over a gaping, septic chest wound.
McDonald's Now Making Happy Meal Boxes That Turn into Virtual Reality Headsets
[Blog}: ProductHunt Users Worldwide Map
Case study of building a website. Feels a bit more like an ad for the website than a real case study, but that may be me.
No one mentioned code sharing between server side and the client side! (There are other ways to achieve this other frameworks/libraries are catching up) If you have a node.js server you can use react for both server side rendering and client side rendering.. So that you get the SS rendering advantages like fast initial page load and SEO but also have a very dynamic web app after the initial render.
Who Spends More, Walmart Shoppers or Whole Foods Shoppers?
>It's only coercive when you adopt some backwards conception of what coercion means.

If I try to use particular resources, the system will use violence to stop me. If you claim this isn't coercion, then I think it is your conception which is backwards.

>(E.g., The rapist claims they are being coerced because they can't do whatever they please with other peoples' bodies.)

Yes, the prevention of crimes is indeed a form of coercion.

This only sounds strange if you start with the assumption that coercion is inherently bad. If instead you recognise coercion as a necessary consequence of conflicting desires, you can start to discuss what coercion is justified.

Now I think property has shown to be a very effective economic system, and that using coercion to enforce it is therefore entirely justified. But it's still coercion.
Naturally, you can't get rid of reading source code, that's where all the information is. But the visual representation can speed up navigation and understanding a lot. Having worked with the visual navigation of Coati for while now, I can tell you that it changed the way I develop software. Seeing at a glance which classes derive from an interface or where and how often a function is called gives you a whole new perspective on your codebase.
Rodents of unusual size? I don't think they exist.
Verizon customers forced onto Frontier
Yes of course! I've indeed watched all of them.

For the purest GiTS experience I would just watch the first three films GiTS (1995), Innocence, and Stand Alone Complex.

GiTS 2.0, in an attempt at improving the graphics, ruined the original feel. I watched the TV series - not bad, but not the masterpieces of story telling that the 3 films are.

But who cares what I think - what them all, and form your own conclusions :)
This quote by Madison seems to be the whole source of the pedantry, because it's an affliction which only seems to afflict Americans. Since the US is neither the source nor the subject of this report, it's particularly irrelevant.

Most of us are happy to say "direct democracy" or "Athenian democracy" if that's what we mean.

On the other hand, a popularly-elected dictatorship would be justified in calling itself a republic. It's useful to have a term which includes direct and representative democracies, while excluding dictatorships, and "democracy" is the commonly accepted term.
The link only goes to a login screen.
First thing I searched for on your screenshot page: "merge" and "conflict" -- didn't see anything. Other than that, it looks pretty sweet.
Surfly - Amsterdam, The Netherlands - https://www.surfly.com [VISA]

We're looking for a frontend engineer that lives and breathes Javascript & CSS. What we do goes far beyond regular web development. Our stack includes: Redis, Varnish, Ansible, Esprima, Haproxy, Nginx. We use Python, Javascript, C and Lua.

What we offer:

* Upto €65K + equity
* Developer focused (sitting/standing desk, multiple screens, good hardware)
* Nice office located in the centre of Amsterdam
* Reimbursement of costs for conferences etc.
* We'll help with VISA and relocation
* We'll arrange tax benefits for migrants

About Surfly

Surfly allows you to surf the web together with others. Unlike traditional screen sharing it requires no installation or browser plugins. By using a smart content-rewriting proxy we allow any website to be shared, without website owners having to change them in any way. contact nicholas@surfly.com
Holy damn that must have felt good haha.
True enough, I have read both (actually the 1st edition of "Programming Elixir"), and "Elixir in Action" is more hands-on. The reader ends up working on an actual project along the book, adding new functionalities.

However, since Elixir 1.2, some of "Elixir in Action" is now outdated, especially the use of HashDict replaced by Map.

I have not read the second edition of "Programming Elixir" though. Based on the table of contents it seems to be a bit more "applied" than the previous edition.
Are you?

http://www.pge.com/en/mybusiness/rates/tvp/toupricing.page?W...

Instead of a single flat rate for energy use, time-of-use rate plans are higher when electric demand is higher. This means when you use energy is just as important as how much you use.
Winter has two rate periods: off-peak and partial-peak. Summer has three: off-peak, partial-peak and peak. During peak periods, defined as weekdays from noon to 6 p.m., May through October, your business's electric rates will be higher. In return, time-of-use rate plans at all other times will be lower than the peak rate.
All business customers will transition to time-of-use rate plans over the next several years, as required by the California Public Utilities Commission.
No - they may look similar, at a very superficial level.

But when you think about it more, they're quite different from what's being proposed for the Knowledge Engine.