skysight-inc/HackerNews huggingface dataset:
They're for different applications. If you can't use a runtime or garbage collector, you can't use Go. If you don't want you or your team to have to be familiar with manual memory management, you shouldn't use Rust.

There are some applications for which you might conceivably use both, but I think the differences in design really outweigh stability issues right now in terms of "which language should I choose?"
More often than not, the slowness end users experience is problems in the front end - not the database. Think uncompressed assets, cache misses, or unused javascript and stylesheets. It's very likely most pages in your application are (or should) be served entirely from cache, so end users will benefit much more from front end optimizations.
Ask HN: [Survey] One Button Automatic Video Editing Cloud Service
Hello Hacker News,

I am a developer. I was wondering if any of you would be interested in an one button automatic video editing service. What you will do is upload your video on a cloud platform, and algorithms will automatically edit your videos to create interesting content for you. The key here is that this is not a tradition video editing software, and the UI will be minimal. The algorithms will automatically find the important parts of the video.

The assumption I have is that the current video editing software is too much hassle for everyone. Let me know if I am wrong or right! Thx

The following is a survey that will help me greatly!
https://docs.google.com/forms/d/1ZtQ7yWtCS9yLDtEGGunXKaDJoY7BAvOABSfSQrG6TqI/viewform
Java (if it had gotos) would not have compiled this code because it doesn't allow unreachable code.
> strong focus on safety (with guarantees provided by the compiler)

Two things comes to my mind immediately. Are there any known undefined behavior in the Rust language? Since UB is one of the most notable item that makes safety by compiler not a guarantee.

Also, how can we guarantee the compiler doing the check properly? Is it hard? My interpretation is that safety relies on the correctness of the compiler from that quote.
Like Deep Blue, Watson represented a major advance in the state of weak AI. However at its core, it's still just a text-based statistical search engine. It has no ability to "learn" new abilities. Its algorithms will use previous answers to adjust ranking of answers, but once a category is finished, that data is lost. For new data, its database needs to be re-indexed. For new behavior like recognizing pictures or playing a game, it needs to be programmed.

Watson played a simplified version of Jeopardy with no video or audio questions. This was a key compromise to allow a text based system to compete with humans. The AI problem of recognizing pictures is practically unsolved. It took Google's best researchers, a massive database of cat pictures, and a supercomputer just to train a computer to recognize when a cat was in a photo. So your sense of Watson's present abilities is a little skewed and unrealistic.
About the single and multiple expression if-statements, I couldn't agree more. Everyone says I'm an idiot always assuming multiple expressions (it is ugly), but in the end it is safer.
I strongly believe that there is only enough spectrum for three strong national carriers - Right now neither T-Mobile or Sprint has enough spectrum capacity on their own to be truly competitive, with AT&T and even more so, Verizon, if Sprint and T-Mo were to merge, it'd be a very different picture.

You cannot built a nationwide LTE network on 2.5 ghz - the required tower density is too great to ever get a workable rate of return on investment. You need 1900 mhz or lower - even at 1900, the tower spacing is close. Ideally, you'd have a mix of 800/1900 with 800 mhz providing a single LTE carrier, and a single 2G/3G carrier (or more where spectrum allows), then 1900 and 2.5 would be used in rural, urban and suburban areas to provide real capacity where needed. Sprint is doing this now, rolling out LTE and CDMA 1x on the former iDEN spectrum as it rolls out LTE, with CDMA2000 and LTE on 1900 as well - then in some places the 2.5 network from clearwire is being overlayed on top - the CW network has been upgraded for LTE, and the 2.5 deployment is starting for the new LTE hardware as well.

For true national reach though, they need more spectrum - its possible to provide at least 2/2mbps broadband to everyone nationwide - but not the way its being done - if this spectrum can be auctioned with some left aside for the smaller carriers, it might just change that game, otherwise merger is required.
5 Steps To Easily Create Successful WordPress Landing Pages
All captchas I have seen were used to stop spam. The problem with spam is that 1) it's noise and 2) appears in large amounts.

Captchas approach the problem 1), by assuring only people can post and then hopefully increase the signal quality. It sucks because it requires mental effort, is hard on people with disabilities, blocks potentially useful bots (see reddit bots) and leads to an arms race.

What if we tried to solve the problem 2)? One possible solution is requiring a proof of work. Some computation that requires a few seconds, easily disguised while the user is typing the comment or filling the fields. It's an old idea but I've never seen an implementation in the wild. (yes, it would fail for mobile devices. fall back to captcha or something)
TeamViewer is a lot faster, but Chrome Remote Desktop has its advantages.
> Are there any known undefined behavior in the Rust language? Since UB is one of the most notable item that makes safety by compiler not a guarantee.

There are bugs in the implementation, but the language is specified to have no undefined behavior. (Note that some things are left unspecified, such as the memory layout of enums and vtables and the sorting algorithm that `sort` uses, but there is no undefined behavior in the C sense.)

> Also, how can we guarantee the compiler doing the check properly? Is it hard? My interpretation is that safety relies on the correctness of the compiler from that quote.

We can't guarantee that the implementation is correct without writing a full-on certified compiler, but we're working on a theoretical proof of correctness of the type system.

Issues relating to compiler correctness do come up in the real world, and occasionally they lead to vulnerabilities. However, such issues are much rarer than issues stemming from undefined behavior documented as such in the C/C++ standards. So we're more focused on eliminating undefined behavior from the Rust language at the moment than proving the Rust implementation correct.
And that reminds me of a This American Life, where the show's producers were unable to actually uncover conclusive evidence that fried hog bung was being used as imitation calamari rings, but they did find in a blind taste test that you probably wouldn't notice if it were. So I wouldn't say it's the best part of a hog, but it certainly wouldn't be as awful as you might think. When prepared appropriately, of course. Nobody wants to eat raw swine manure as a condiment.
It's okay to initially ask what they want. It won't change if you use a broker (except the broker will add 10-30%). If they don't want to sell, which is what happens 99.9% of the time, it's over...

Another approach, kinda douche-baggy, is to file a trademark on the name and use the existing uniform dispute policy from ICANN to acquire it. It can be costly, and you may end up losing the trademark AND domain.. http://www.icann.org/en/help/dndr/udrp

(BTW, If you do this, you'll burn in hell)

That said, make sure you use the patent&trademark office http://www.uspto.gov to check to see if there is a trademark on the name AND THEN MAKE SURE YOU ACQUIRE IT WITH THE DOMAIN. If they won't sell the trademark, DO NOT buy the domain.

In the end, the "fair" price you have in mind is probably 1/10th of what they'll want.
The Function of Zombies
Applied, but didn't get invited for an interview.

We are creating a door to door travel itinerary search engine. (www.travelmacho.com) Currently, most of the travel website only provides you with one leg of the travel such as flights, but there is still the problem of figuring out how to get to the airport. So what the users typically do is open up multiple windows to plan their travels.

We would like to create a platform that aggregates all modes of transportation (bus, train, flight, airport shuttle, taxi etc) into one search engine. The users will be able to find the best way to travel in one website.

Let us know what you think!
http://www.travelmacho.com
Preventing Heat From Going To Waste
It's from CA Cert, which isn't trusted in most browsers but I'd consider it valid for this case.
It needs an easy but obscure way your friends could "hack" your trove account and find out how much all your stuff was worth. Or maybe make it like a sign-off of some sort... "verify your friend's trove". Maybe then it doesn't show what your stuff is valued at, but your friends can 'hack' it by viewing source.

Then it'd be nice for vouyerism and conspicuous consumption, maybe it'd go 'viral' when view source made it to twitter. Otherwise you better pay people for filling out an advertising survey.
How would one create a document type page with a canvas? I'm generally curious and would love an example. I've use canvas before, but strictly for image manipulation and exploring animation.

My experience and limited knowledge of it don't lead me to believe it'll replace HTML/CSS documents anytime soon (which are really the starting point before blogs/apps).

What about resizing causing the whole canvas to be wiped away (thats a default behavior right?).

Edit: Also, how do you achieve separation of content and style?
The Angular Tutorial App is an excellent demonstration of Angular's off-the-shelf features. In fact, it's designed precisely to demonstrate Angular's strengths. Angular reduces boilerplate but it's a heavier, more opinionated framework. The price you typically pay for less boilerplate is higher complexity when you need to alter the framework to fit your needs.

This is an extremely common (neccesary?) tradeoff. Think Rails vs. Sinatra or Django vs. Flask. Django gives you a great off-the-shelf backend that's perfectly suitable for most jobs. But I don't want to go under the hood to bend Django to fit an atypical project, and for those I'll use a minimal framework like Flask.

My issue with Angular is that I really want to avoid looking under the hood because the complexity is so high. Backbone is just a small, modular, well-documented library that invites you to look under the hood. If Angular doesn't fit my project, I'm happy to have Backbone in my toolkit, and I know the additional boilerplate up front will pay off down the road. Yes, it'll force me to think more up front about how to organize and architect my app, and that's not a bad thing.
I wouldn't describe anything tptacek has done as "cheerleading for the NSA". He is less apt to get riled up than a lot of people, but "cheerleading" implies more active support than just not being convinced that somebody is the Devil.
Shiny quantum dots brighten future of solar cells
Typography is a practice
New “solar thermal fuel” has energy density of lead batteries
Generative Impressionism
Go has an extremely well-developed library for writing networked clients and servers, and a concurrency model that prioritizes being performant for large numbers of mostly-non-interacting tasks that should yield on blocking (eg network requests, DB access, IO in general).

It has not-very-good support for things like custom data structures, type-based programming, and high-performance math, and prioritizes using its own idioms in code to the detriment of any other model of programming. Rust has better support for all of these.

I've only toyed with Rust, although I've written a fair amount of Go, but honestly, I don't think they're trying to do the same thing at all. It's not C++ vs. D, it's more akin to Scala vs. Haskell.
The Internet of Things and Humans
Great resource.

Anyone know of something like this for Javascript or PHP?
I just came here to say fuck reCAPTCHA! I hate it, I can't read it with my human eyes.
Just to add my own personal anecdote, melatonin supplements did not work for me. This is not to say it won't for others, but it isn't magic for everyone.
And you have added a lot to the conversation so thank you for that.
Your reply is what I was hoping to see when I saw the title of this post.
Inconsistent sleep patterns can also cause circadian rhythm disorders. I struggle with delayed sleep phase syndrome as a result of years of poor sleep hygiene. I use what is called chronotherapy (http://en.wikipedia.org/wiki/Chronotherapy_(sleep_phase)) every few months or so in order to put my sleep schedule back at a reasonable time.
Crazy Ballhandling Skills
Ricky Roberts
I sympathise with you, being in a a similar situation (two kids under 5).

What I have found works best for myself is the exercise. It does simply come down to discipline. Do not allow it to be pushed aside. I ensure that I am up at 6:30 each morning to hit the gym and then I am good to go for the day on that natural high. It is harder to stay up in the evenings, and my sleep is interrupted, but when I sleep I sleep well.

Good luck!
Quantum Entanglement Drives the Arrow of Time
Basketball Skills
Ricky Roberts
Les seniors s’inquiètent pour leur logement selon une étude
Découvrez l’étude de TNS Sofres concernant les seniors, qui indique que ces derniers ont une certaine inquiétude concernant le logement et la mobilité.
Immobilier : ce qui attend le secteur du logement en 2014
Découvrez ce qui attend le marché de l’immobilier pour cette année 2014. La simplification des normes de construction de logements serait primordiale.
Ruby OpenSSL private key spoofing?
Man, I'm a bit frustrated with this whole JS situation in recent days. There are so many frameworks, recommendations, hype - it keeps confusing me.

I mean I don't want to spend time learning a framework that might be dead 2 years from now (remember prototype ?).
I really don't see a fit for Angular in my practice. However I'm not sure if I'm just saying that because of pure ignorance.
Most of my client side code is pretty much jquery (that I try to keep organized), and it works most of the time. Then I see people referring to that practice as "jquery soup" and I'm starting to think I'm doing it wrong.

A lot of the web apps I write consist of pages with ajax sprinkled here and there (where it makes sense). I think a framework like Ember, Angular or Backbone is an overkill in my case. I don't write SPAs, but then again I see people using it everywhere these days.

Honestly, for my scenario I feel that a framework such as Knockout or ReactJs is a lot more "fitting". I'm sure other devs have been where I am, I wonder what you guys think.
I went to 4 colleges, applied to a number of others (not all US based), taught at a few and am giving advice to friends kids now going to college. With minor variations (3-digit v 4-digit course numbers) I've never, ever seen a college course with a single digit course number. Or 2 digit. But then, I've never met an English speaker so culturally tone deaf that they would question the idiom "Foo 101" as being anything other than "intro to Foo".
It is only a security problem is somebody keeps track.

You can be issued a secure key ('a passport') to make new ids ('HN registration') but nobody needs to know who ('the passport') generated the website specific ids once your key has been used. The passport only gives access to generate further keys.
You might want to have a look at DSLRDashboard (https://play.google.com/store/apps/details?id=com.dslr.dashb...) which is free, frequently updated, has high reviews, works with any PTP compatible camera, and is also open source.
What if you invested in learning a shell that was installed on all servers you lack control over?

What if you invested in learning POSIX sh?

Wouldn't your scripts and one liners written in POSIX sh work in zsh, bash, etc.?

You could be comfortable on any server, no matter what the shell.

Even servers that default to tcsh still have /bin/sh.
The Dollar-And-Cents Case Against Hollywood’s Exclusion of Women
Unfortunately, as a non-professional photographer, I think this article very disingenuous. Most of the shots aren't taken from the same distance, angle, nor lighting. "Here we are, closer to the subject and from a different angle; notice that we don't have to deal with distinguishing our focused subject from subjects that no longer exist!" "Sure these look the same, but this one is done with optics and is definitely better!"
Since there is no such thing as unlimited anything in this universe, it would be unreasonable to assume that "unlimited" is anything but an exaggeration.

Then we enter the same territory as any other case where technically incorrect claims are used in the media. Like GB vs. GiB, or "hacker" vs. "cracker", or "hashing" vs. "encryption", you name it. When we nerds complain about people who fail to make such distinctions, it makes no difference whatsoever and they'll just look at us funny. Because vagueness and exaggeration are integral features of natural language and it is we who are being anal retentive about it.

In common parlance, "unlimited" is just a shorthand for "we're going to give you a large amount that we believe will be more than enough for the vast majority of our users, and we're not going to set up a specific limit, but we reserve the right to put up a limit if you do something that anyone with common sense should realize is an abuse of our policies". This works just fine in a world where people actually use common sense. You instinctively know that backing up your 200TB iSCSI array would be an abuse of Backblaze's policy, just as you know that grabbing a hundred napkins at the local McDonald's every morning and using it for all your personal hygiene needs throughout the day would be an abuse of McD's napkins-are-free policy. As long as everyone only uses as many napkins they need to wipe the ketchup off their fingers, McD's can continue to offer free "unlimited" napkins.

Typically, the actual quality of service and quantity of available resources does not depend on whether or not the service advertises "unlimited" something. Rather, it depends on the quality and integrity of the people who provide the service. A typical EIG-owned web host with an "unlimited" plan will kick you out if you use 100GB of bandwidth. YouTube, on the other hand, will happily let your homemade full HD music video consume 10PB of bandwidth.
I saw Greg give a nice talk at Racket Con this year. He was really humble and talked about the challenges of writing a Markdown parser. Didn't know he wrote Cakewalk! Cool!
As someone who had quit coffee cold turkey a month ago, this thread is pure torture for me to read.
Various job openings in Engineering, Design, Marketing, Sales at Caviar (YC S11)
Not endorsing this thread or anything, but getting that film to Instagram is trivial: it's called Costco. They'll develop that film, print it, scan it for you and give you digital files. Easy, cheap and high quality.
http://curveprotect.org/howto-vpn.html
>You'll only really grasp a true understanding of CSS like this if you sift through a lot of (dull) specification.

You'll likely only need this "true understanding" if you're editing said specification. Or implementing it.
MiniProfiler supports this and more. It exists for:

ruby: https://github.com/MiniProfiler/rack-mini-profiler

.net: https://github.com/MiniProfiler/dotnet

go: https://github.com/MiniProfiler/go (w/ support for app engine, revel, martini, and others)

If there is a python dev who wants to port MiniProfiler to python, I would love to help (I'm a MiniProfiler maintainer and did the go port). The UI is all done, you just spit out some JSON and include the js file. Kamens has a good port, but it's not based on this new UI library.
i don't fear macros, but i am wary of them: when there are only a few macros, it seems as though replacing them with functions makes more sense, even if the syntax is slightly messier. when there are so many macros that you've essentially made an entirely new language, writing a REPL feels like a cleaner separation, even if it is more work.

i would be interested to see links to libraries, particularly clojure libraries, that make heavy but judicious use of macros. it totally makes sense that macros are useful because they capture part of this "code as data" idea that's so central to, esp., lisps. but having more examples of actual problems that they solve would be helpful.
The Core Beliefs of the Delightfully Successful
That's a fine and good idea, but don't exclude the front end time.

SQL servers can be faster places to carry out certain types of operations on data, and it may be quicker to write the right kind of query for the server, than choose a very quick query and have to spend time on the front end processing that data.

The ultimate goal is time to eyeballs, not fastest query time. The best achieve that is to measure every stage not just queries, and spend time profiling and experimenting with various operations.
This isn't actually true. The majority of successful applicants have not started companies in the past, and the vast majority of accepted applicants have not gone through YC in the past. YC is in fact a place for learning about how to build a company, given that you already know how to build a product. You see this reflected in the fact that YC will often accept smart "hacker" types that have never run companies (or even held leadership positions at all).
A hundred tech companies are still an exception. Yes building an amazon type of business requires more than your savings, but it is not what most businesses are doing. Joel Spolsky made a very interesting post about it[1].

A lot of companies, that are clearly not going to be Amazon sized one day, are looking for investors just so they can make another bufferapp type of deal.

We always list Twitter, Facebook, Google, and those hundreds you are refering to, but those are a handful compare to everything that is out there.

[1]: http://www.joelonsoftware.com/articles/fog0000000056.html
I use ADT as well, and IIRC there are certain kinds of unreachable code that won't compile:

public int foo(int i) {
return 2;

return i;
}
Microsoft slashes Windows XP custom support prices
Saying YC employees have boosted stats implies that HN boosts those stats inherently. But that's not true. What happens is the same as what happens when people post their HN submissions on twitter/Facebook and tell all their friends about their HN post.
Maybe Levison didn't want the FBI to track down and capture Snowden and throw him in jail for the rest of his life.
> The only thing they need, really, is a contract with a delivery company that runs refrigerated trucks.

Like Schwan Foods, who has been doing this for decades.
Despite Lavabit contempt order, e-mail privacy stalled in Congress
What do you use for things that matter?

Do you have something else to create L2 overlays that is more secure?
I'm not saying don't do that, and I'm comfortable using and scripting for anything from POSIX sh to zsh, can get by in fish, etc, etc.

But if you're going to dive deep on any of them, bash has a pretty unique and strong argument for being quite likely to be available on most of the machines you work with on a day to day basis.
DVDFab 2D to 3D Converter works perfectly for all kinds of 2D to 3D Conversions
Are you looking for a 2D to 3D video converter which can provide perfect 3D video resources for your specific 3D devices? You just come to the right place. DVDFab 2D to 3D Converter is the first full-featured 2D to 3D conversion software in the world which can convert a normal 2D DVD/Blu-ray/video to fantastic 3D video available in a variety of formats like AVI, MP4, MKV, FLV, M2TS, TS, etc.You can learn more about this site at: http://dvdfab.cn/2d-to-3d-converter.htm?ad=hcj
Help modernize apartment searching – RentHop (YC S09) is hiring mobile, web devs
If you're not using an alarm clock, then it's probably sunlight (or warmth) that wakes you up. The sun rises earlier in the summer.