skysight-inc/HackerNews huggingface dataset:
They're not making profits. Most quarters they are only slightly profitable. Current P/E is 582, which is astronomically high. E.g. for comparison Apple's P/E is 13.

But that's been Amazon's strategy for almost two decades. Their goal is to instead grow their business. Currently they are at $74 Billion / year in revenue, and still increasing. Once they stop their massive spending on growth, they will (presumably) be able to increase their profits.
Ascend Project
What if the summing overflow? Why not just XOR all the numbers in the set with 1...n (assuming the question is there is only one duplicate in integers in range [1,n]).
Our startup Vorkspace song
When I said "user" I meant "developer". Most of my open source code is licensed under the MIT license because it grants developers more freedoms than a GPL-like license would.

Also, I believe that by allowing distributors to use your code without forcing them to release their code you don't restrict potential users' freedoms - if a company wanted to use your library in their project and your license is not compatible with it they will just find another project or write a similar one themselves. The result for the user is the same: they will not get access to the code.
Java example:

if (logger.isDebugEnabled())
logger.debug("..." + ...);
How is Google supposed to address that? And why is it relevant to getting value from the conference?

The few female developers I know tend to resent the fact that the only women they meet at conferences are marketers, thereby ruining the chances other attendees will treat them as developers. It does not help developers to invite more marketers or recruiters in order to achieve gender balance.
It is possible investors are getting cautious seeing repeat of 1999 bull pattern.
Could use some syntax highlighting to make the code examples more easily read.
yeah, so many people use horses, don't make the horses angry
I guess you might have quite a short career as a market writer if you didn't want to link events to prices. You'd certainly write very short articles.
Social Hacking: Building a community around your startup with Tatyana Kanzaveli
Why Women Still Can't Have It All (2012)
Supevizer Node.js Application Manager
You don't think anonymous speech should be protected?

Voting?
Reporting crimes in your neighborhood?
Protesting an employer decision?

You can't think of any case where people would want their speech to be anonymous with just reason?
Retina MacBook Air COming This Year?
I run https://rrandomize.com (it ships random items to you). It's currently earning about $150 a month or so. Most of the money comes in through one-time payments, since I pocket the change after purchasing an item for the user. The idea is simple, so it didn't take much work coding at all. I'm still pretty new to web development so this was a chance to practice execution and security.
thanks @anorark!
Either that or day traders who have absolutely no idea what they're doing. Both are equally probable.
Growth Hacking isn’t just about the numbers
Is it possible to use a Leap Motion? I don't think it has a video camera in it, but could it still be used to do 3D scanning?
If I pay for this Pepsi only to learn later that I could have easily stuck it in my coat for free, I'm going to feel ripped off, even if it was only $1.25. Either make sure someone's watching me at all times and patting down my coat at the door properly, or let everyone have Pepsis for free.

Doesn't seem quite as appropriate when the context is changed, does it?
HN Show: Visualizing the Syrian Refugee Crisis Using D3
Exactly. My product was stolen by a competitor. In court I could show their product had the same bug as mine. That was the start of their downfall. They bankrupted.
>Palmer Luckey basically denied all of your concerns

Oh, you mean the guy who just cashed out is doing some damage control? No way! What would you expect him to say exactly?

You'd have to be utterly naive to think that Rift will be doing anything which doesn't directly contribute to FB's bottom line. FB is an add company. FB has a board to report to. They have investors to satisfy.

Of course there's nothing inherently wrong with this, but if you are under the impression that these facts will not steer the direction of Rift in the future then I don't think I'll be able to convince you otherwise as you have already swallowed the Kool-Aid.
I'd bet on unbable & abacus.

Both huge untapped markets. Unbable especially with providing translation services for customer support to allow earlier entry into European and Asian markets for american startups.

Abacus because expenses are a real pain and make employees unhappy.

If I could short algolia I would. Just seems to be generating buzz as it sounds developer cool, but is not a practical solution. Perhaps I misunderstand it.
Or people hoping to capitalize on others falling for this...
That's what I was saying--macros don't work for 90% of people, because 90% of people aren't willing to read the libraries they use. (I'm not a Clojure user, if you're curious.)
Thanks for the recommendation! Will have to check them out.
3 Blunders Facebook has committed
Because... err... umn... Micro$oft is the devil!

Seriously though, I don't care much for typescript either... I'm okay with CoffeeScript as it brings as much to the table without having to type twice as much to get it.

This just seems like a sick joke foisted on people who are too lazy to learn a slightly different paradigm.
It's getting a bit ridiculous how much effort and talent is now dedicated to preparing candidates for interviews.
I quit a PhD program in systems biology a few years back to become a programmer and now I contribute to an open source science project in systems biology in my free time. I feel like I am contributing far more to science now than I ever did as a grad student. After spending a couple of years in industry, I (undeservedly) feel like an engineering god working on this project. It's not that scientists aren't smart, it's that they haven't worked in a place where good engineering practices are vital, rather they have worked in the academic world where you typically hack together a bunch code that barely works, write a paper, and call it a day. Today science is at a point where many, if not most questions are answered with computers, and IMO there is a huge need for quality engineers to produce that software.
I loved last.fm back in the day but cancelled my account after CBS bought them.
Maybe investors are mad about their shares being diluted through these stock deals?
http://thegamingpc.webs.com/apps/blog/show/42000077-3-blunde...
less (among other unix tools) does this too (but you have to do one character, bs and the character again). There are more, like _, bs, character underlines (like cat there is ul that handles this specifically). If your terminal supports os (overstrike) in it's terminal description it handles that natively.
"[The lie supporting the chemical imbalance theory] is an astonishing betrayal of the trust that the public puts in a medical discipline; we don’t expect to be misled in such a basic way."

It's more than just being misled. These lies and misinformation by the psychiatric industry have destroyed millions of lives and killed countless people. And still they are being perpetrated. It's fucking outrageous!
Both great notes. Will workshop the question to include mention of constant-time ways to get the sum. Thanks!
...but I'm learning"
The solution is to do what everyone who actually needs authentication from a company does; require a posted signed letter from a director, possibly along with an outbound (from SendGrid to the director) phone call to confirm. There's plenty of low-tech ways to confirm that a company really wants to do something.
Gulp and AngularJS, a love story.
Any one has a link to all the solutions? It's annoying to get to those via hints all the time.
We don't have to chose between embedded DSL (meaning, a kind of fancy library), and a fully fledged external DSL. I was advocating source-to-source transformation, which I think is a nice compromise between the two: it feels almost like an external DSL, but doesn't require much more work than an internal one.

The way I see it, source-to-source transformation helps a lot with 2, 4, 5, and 7: we can rely on the host language for these. Actually, 5 is even better than an embedded DSL: you can implement additional checks. As for 6 and 8, you will generally avoid the issue altogether by letting your host language deal with them.

An example of source-to-source transformation at work is OMeta. The thing compiles itself to JavaScript, and its source code takes about 400 lines of JavaScript and OMeta. I'm currently working on a clone for Lua, and my prototypes so far are under 300 lines.

I agree that picking up a syntax is hard (parsing it is trivial). But with enough feedback, you can make a decent one. Just make sure to tell everyone that the first 5-10 versions of your language are all pre-alpha, and totally incompatible with each other. And source to source transformation isn't about building a whole new language. Most of the time, it is about extending the host language. This means much less syntax to worry about in the first place.

Actually, if you're smart about it, you can often write most of the semantics of your language in a library, then add a light layer of syntax sugar on top of it. That's what I did when implementing a PEG syntax for Haskell[1]. It's just syntax sugar over Parsec.

[1]: http://loup-vaillant.fr/projects/metacompilers/ (bottom of the page)

---

Now back to my Java example: It was just a matter of adding a nice syntax sugar over anonymous inner classes, and maybe allow a syntax for calling objects as if they were functions, C++ `operator()` style (Even so, writing obj.app(args) isn't that cumbersome). Not much work, really.
Actually Mozilla is a non-profit that has a corporate entity for legal purposes. It's not exactly a regular private corporation. See http://en.wikipedia.org/wiki/Mozilla_Corporation
Well less people will probably buy Tesla's now that they can try out their facebook friend's Teslas with their new Oculus' :)
I know shit facebook cannot innovate at all 3 blunders on what facebook made. LOL check it out
http://thegamingpc.webs.com/apps/blog/show/42000077-3-blunde...
I used to have a site like this but only show one hint. Love the concept of having multiple levels of hints though!

www.InterTechTion.com

Edit: Link to archive of all questions I sent out:
http://www.intertechtion.com/answers/
Alt-(3 digits)
Why is this unfortunate? I don't understand your perspective.
Doesn't matter what the actual need is; the point is that there is lot of demand for people who want to prepare for interviews.
The default ms-ratio used here (the golden ratio) has been criticized in recent years for being little more than wishful thinking -- see http://www.maa.org/external_archive/devlin/devlin_05_07.html for example. May be worthwhile playing with other values when looking for the best typographic results.
You guys are falling for crappy financial news and are up-voting it out of personal opinion vindication.
There are many annoyances in these new unfinished desktops, but one I miss the most was the Gnome2 clock applet. A must if you have people in other timezones:

http://i.stack.imgur.com/1Ftcd.png

Note the map with day/night marked. Allows one at a glance to figure out if it is a reasonable time to make contact.

I've managed to get a version almost as good on a Saucy laptop, but now Locations doesn't stay open by default, and has some new bugs.

These are the kinds of rich functionality that consistently get lost in the "reinvention shuffle" linux software goes thru every 5 years.
It's about time someone comes with a new and better version of a social media website. Facebook is now a thing of the past.
Honestly, your word of "BS" blind me of understanding the true meaning of your paragraph.
I feel what you asked is a really nice follow up question, as tricks to not get a overflow could be highly non-trivial.

One can do addition mod n. As long as 2n doesn't overflow, you are good.

You can further improve it by not using any number larger than n. Say we want to sum a+b mod n, wlog assume a<b. If a+b<=n, we are good. If not, then b>n-a. Note a+b mod n = a+(n-a)+(b-(n-a)) mod n = (b-(n-a)) mod n. Now the calculation doesn't overflow.

Here is something to show avoid overflow can be quite difficult...
http://cstheory.stackexchange.com/questions/19591/avoiding-o...
Well......

The next version of JavaScript will have you know
class. .. So I guess the javascript designers are going
against the nature of JavaScript by bolting on a class-based structure going against the language features the designers already gave JavaScript for things like inheritance.
Well said. I blame it partially on designer groupthink.

Of course design elements (color, typeface, white space, etc) are important...but visitors of your site are interested in consuming content NOW (not a few seconds form now). People are lazy.
You can't be saying that a search engine wouldn't be relevant to "Facebook's core business" which is data gathering. Can't you admit that you forgot something ?
Their mission might seem generic to you, but I hear they actually have synergistic agile processes with a laser focus on industry standard value-add technologies.
Say at Microsoft interviewers will drill you on edge cases (but it really is common in most shops). That means all empty / invalid input as well as overflow, floating point errors etc. Some places care about reliability vs speed or elegance more than others.
Yeah, stories like this are garbage. Nobody knows why day-to-day fluctuations in the market happen. (Mostly.)
That's nothing, AWS prices fell 60% upon hearing this news.
The Facebook Oculus acquisition: Weighing the pros and cons
My understanding is the Leap Motion is a wide-angle stereo IR camera. It's built to detect fingers/hands/pointers, and doesn't produce a depth map so can't do 3D scanning.

A sensor with a similar form factor is the CamBoard pico, which does produce depth maps. I don't think it's shipping yet.

http://www.pmdtec.com/products_services/reference_design_pic...
No, your reasoning is a common fallacy: assuming that A and B are independent probabalistic events.

Attackers are not earthquakes.

If we assume that both NSA and Huawei are intelligent actors (spare us the jokes please) and that both NSA and Huawei have the option of abusing a certain power, then

P(I get pwned) = P(NSA wants to pwn me) + P(Huawei wants to pwn me) + P(other)

Either NSA or Huawei can pwn you with this power, or both. Even if they both elect not to it's still possible someone else can and will.
My mistake and too late to edit now. Thanks for the correction.
Like so many others your brother encountered individuals that work to support the norm and live a comfortable lifestyle. Hacker News definitely brings out the instinct to leave a imprint in our respected fields. OP distress is understandable and the recommendation to seek consulting is a wonderful alternative.
Just how many Facebooks and AirBnBs are there? You can look at the biggest success stories on the internet, from Google to Salesforce, and you'll find that in the vast majority, the founders had what most people would reasonably call "domain expertise." If you want to debate or exclude the concept of "domain expertise" altogether, that's fine. The number of major internet companies founded by folks with no professional experience/accomplishment is even smaller.

In any case, I respect that you're looking at this from the perspective of a tech investor in Silicon Valley, but you're in a completely different boat than prospective startup employees like the OP.

The universe of opportunities for developers is significantly greater than the universe of investment opportunities for Silicon Valley investors. There are literally countless opportunities in literally countless markets to build companies that, if not pure "tech" companies by standard Valley definition, use technology and the web to gain advantage. A lot of these would not be viable investment opportunities for YCombinator, but they will still make those who are successful in exploiting them very financially "comfortable."

Bottom line: any developer motivated in some part by a desire to make real money is doing himself a disservice by considering that the best path to financial success is to join an early-stage Silicon Valley startup for basis points in equity.
We have received tons of positive feedback about our product, but we also want to have feedback of people like you. Can you give us the reason why you think this is not a practical solution ?
Chamath Palihapitiya: Bitcoin is Moving Past ‘Amateur Hour’
Sorry the site's a little slow guys. I'm up to 100 dynos on Heroku but things are still a bit sluggish at times. Looks like I need to move more stuff over to the CDN? Thanks for the load testing!
Are you saying that wouldn't be a good thing?

Automate this... <stock ticker> <fell|climbed> <x>% on <top company event of the day> - it's still be wrong but at least it wouldn't waste a writer's time.
But it kind of IS and the fact that the quality and quantity of questions is far inferior to some of the other books on interview prep I've looked at in the past.
Oh, thank you. The reference I found[1] only showed them as "device control." I thought I imagined them having that.

Also, the classic control-G is still in C. "\a" is "alert (beep)."

[1] http://www.asciitable.com/
Good execution on a simple premise. Another terrific resource that I've pointed a lot of friends to is Project Euler -- a little heavy on the math but a lot of interesting questions that are great prep for the Google (or Facebook, or Twitter, etc.) gauntlet.
Does open/click reporting still work for GMail with the changes to the way they load images?
LOL. Does anyone even use Klout any more? It always seemed a bit pointless.
The what now?

How is GPLv3 restrictive for a "class system"
whatever a "class system" is.

I would love it if the programming languages
I use were GPLv3. As a developer that would
give me a lot more freedom.
VR Game Development for the Oculus Rift: Dev Interview
That would be because sendgrid is lame.

I've recently tried to use their service to send emails, club member newsletters. I've never thought much about bulk e-mails before and I thought it was a "solved problem" by now. Sendgrid are well known so they were my first choice.

During initial testing I found both bugs in the API and missing functionality. I've worked over 20 years with IT and yet sendgrid support is easily on the top-3 list of my worst support experiences, a total waste of time.

We ended up using mailgun instead and so far it looks much better.
Twitter shares also fell by over 7% and the NASDAQ by 1.43%.

Most likely this is not "on Oculus deal" (at least not solely) but for many reasons only Mr. Market knows.
This time the technology is mature enough to support the vision, and isn't laughably poor and expensive.
In most graphical *nix environments that I'm familiar with, if you hold Control and Shift¹ and type U, you can type any Unicode character by its (hex) code point. For instance, if you want an em dash, which is U+2014, hold Control and Shift, and type "U2014".

¹You can release Control and Shift after typing "U", in which case the character will appear after you type a space. Or, you can hold Control and Shift while typing the code point, in which case the character will appear after you release either modifier key.
Ah, but the boot screen said "APPLE ]["
In light of recent revelations it's clear to me that the NSA employees have unsupervised access to an incredible amount of data. I am pretty uncomfortable with that.

I have no information on what sort of access Huawei employees have but I assume at the very least they are not recruited specifically to spy on me and find 'individuals of interest'. People who are recruited to spy on individuals will have a completely different mindset to your average network engineer.

But either way it's a less than ideal situation, and too much power is at the fingertips of these employees.
Dotcom starts political party
> "and it looks inspired by PHP."

You're getting the order wrong here.

- It was inspired by Java.

- PHP OOP was also inspired by Java.

It's hard to argue that Java's OOP model is bad. It encourages clear code structure and works especially well for large project (for tiny projects you don't need OOP at all, anyway). This is why C#, PHP, this library and many more are based on Java.

Oh, BTW, let's keep digging:

- Java's OOP was inspired by Objective C.

- Objective C was inspired by SmallTalk.

It's always Lisp or SmallTalk, isn't that fun?
Parker (creator) does a wonderful job of laying out the different techniques to preform well on technical interviews. The format is easily understood and flow of questions is gradual enough to traverse.
If the max profit involves buying at X and selling at Y, X is always the minimum price that occurs before Y in the timeline.
Does no affiliation generally translate to no funding? In my experience in physics, the lack of affiliation per se isn't a terrible barrier. All papers since 1992 are available for free on the arXiv, and journal editors actually make a pretty honest effort to evaluate unaffiliated authors based on the merits of the manuscript. (Of course, most unaffiliated submissions are of low quality, so it's hard to avoid a bit of prior probability slanted against them.)

Funding seems pretty impossible if you're unaffiliated, though.
1. The field can be desperate for software engineers.
OR
2. You need to take a pay cut if you want to join this field.

If it's both, someone at the top is very out of touch.
Medium – Are Radio Buttons still useful in Modern Web & Application Design?
The Art of Organizational Manipulation [video] (2012)
> I'm a developer and my workflow involves several different tools, Gnome Shell certainly doesn't hurt 'productivity'.

I'm also a developer whose workflow involves several different tools. One of those tools is Firefox, and I currently have several hundred tabs open in more than a dozen Firefox windows. I want to be able to instantaneously switch from Emacs to a specific Firefox window. I don't want to switch from Emacs to Firefox and then switch to a specific Firefox window (e.g., using Alt+`) like some desktop environments force their users to do.

The best solution I've found is to use a desktop environment or window manager that will display the Alt-Tab window list vertically with full titles displayed for all windows (which is similar to how I display tabs in Firefox using the Tree Style Tab extension). KDE and Openbox support this setup, and the last time I checked, Gnome didn't. So using Gnome would hurt my productivity.
I had a daisey wheel printer in the late '80s that had a few characters of buffer. I had to know that it took quite some time for every CR. It would do the niave bold of the full line with CR, but if it got X^HX it would hit the X and then slide the head over a bit to the right to smear and get the bold effect, which looked much better. It was not uncommon and that's another reason a lot code did it the BS way for OS capable HC devices.
Please, no.

Consider a determined attacker. A posted signed letter has zero cost and is easily forged and a phone call is free via Skype. There's plenty of low-tech ways to circumvent security.
Apologies for not adding value, but, well played my friend.
There are many tweaks that can help. For instance, I'm currently using gnome 3.10 on a 11.6 inch laptop at 1920x1080, without any major issues.

For my setup, I've done the following:

* Increased the font scaling in gnome-tweak-tool to 1.5

* Made the cursor larger with a setting in gconf (http://askubuntu.com/a/66216)

* Adjusted the zoom level in the firefox about:config. Updated layout.css.devPixelsPerPx to 1.6
What are the three top practical reasons to choose RDB over a traditional database such as Postgres?