skysight-inc/HackerNews huggingface dataset:
It's a well written version of, "our software design was sloppy and our programmers took shortcuts. Therefore language feature X is to blame."

def findAddress(userId: String): String
What does it do? Are you sure?

Now lets look at another:

def blah(foo: UserId): Address

What about

def find_address_of_user( UserID )

or even better

class User(Model):
…
address = our_models.AddressModel( … )

So you can use 'x = user.address' with no need to explicitly map between users and addresses because the mapping is part of your data structure?

In some scenarios, Hungarian notation might make sense:

def user_address(user):

In Hungarian notation you explicitly state what kind of data is expected, so that you can easily determine if mistakes are being made in the code:

billing_vcard = contact_vcard(customer.billing_contact)

as opposed to:

display_vcard = contact_email(customer.billing_contact)

Of course, cue the irrational knee-jerk reaction to "Hungarian notation" by people who don't understand what it actually is.

OO lore has it that pattern matching is evil, and that subtype-polymorphism is the answer to all questions.

Not the OOD that I've been taught. Polymorphism is a tool, and it is as much the answer to all questions as a screwdriver is the answer to all construction projects.

That the author of this piece has found various languages educational in presenting new ways of solving problems (with code smells, data model smells, or sloppy architecture) is the biggest take-home message for me: don't be a "Perl programmer" or a "Scala programmer". Be a software engineer, and make sure you are aware of all the available architecture rules, modelling guides and design patterns that have been developed over the years to make your job easier.

Perhaps I'm missing something due to having read through the article too quickly. Please educate me.
I agree, the German output was horrible. The German speaker spoke like a German lesson 101 speaker. Very simple sentences and she over-pronounced everything. Nobody speaks like that.
I wish I could use car sharing and the baby seat issue is a problem with that. It seems easy to solve, though - I don't see why those couldn't be integrated into the cars by default. A lot of taxis already have that, they are just sometimes too lazy to take them out.

I don't know what you mean by personalized car seats - I think there are merely some variations dependent on size of the child? But car seats can grow along with the child, usually you can leave more and more stuff out the older the child gets?

Not sure why car sharing services overlook that atm - maybe because most families tend to own a car, so it is not a big market for them?
Really useful, I've been Control-F'ing the thread each day which hurts my efficiency vein. Glad I found this before I wrote my own :)
Tory Burch Flip Flops
Speaking as someone nearing the end of their undergrad and looking for internships/full time opportunities, staying in Canada is simply not competitive or attractive enough for the talented students in each class.

Local companies are not "big of a name" enough for career advancement (aka resume padding) and do not pay nearly as well either for entry level positions (50k vs 70/80k - taxes).

Furthermore I have heard of local startups that relocate or migrate down to SV for some period of time to fund raise or experiment before pivoting/failing/moving permanently to the US or their talent leaves during their time there.
It fixes a short term cash-flow problem for authors so amazon has the time and goodwill to negotiate making things worse for them in the long term.
Agree to some extent. This applies to those ideas where execution is the most important part. That's the vast majority of ideas. However, occasionally you get an idea where the concept is almost more important than the execution.

For example, Twitter. They've obviously executed it well and grown over time, but the initial concept is simple, and you'd want to be first to market. 140 character messages, and you can follow people. It's a good idea, you can create a working beta in a weekend, and grow quickly from there. You don't want to tell people about those ideas.

On the other hand, you have something like the Microsoft post on the homepage, about real-time voice translations for Skype. You can share things like that with the world. Everyone knows this technology is going to exist one day, and everyone knows it's going to be widely used. There's no big secret there. It just boils down to a lot of work, and who executes the most accurate translations. It's not a race, it's a marathon that's open to anyone.
hey amrit, i think u should focus on solvable problems & not get swayed away by doing too many things which can be avoided.

for eg. in our earlier days, with less than 50 customers we used simple excel to manage invoices. we only came out with annual plans to contain the billing logistics.

we hired many interns from different fields like engineering & management (little cash & loads to get done by logically better people).

hope this helps.
Google does what I want, not what I say
In my Paris apartment the elevator does not stop on our floor; it used to be the servants quarters. After a long walk up 7 flights of stairs I always imagined what it would be like to have small aircraft, like a dirigible, pull up to my window and hop out. What a surprise to find out someone was doing that 100 years ago.
If you know the researcher, do you also know the patent situation here perhaps?

If I'm correct this is all using the deep neural nets matching on phonemes and I'm really wondering how I could use this if I wanted to.

Is it something they license? Is it something that's perhaps not patented and would end up in CMU sphinx eventually?
I use arrow keys/page up/page down. It works well, but that's hardly normal.
Will there come a time when you can just cross the road whenever you choose knowing that all traffic will stop, without fail, automatically?

I think the driverless car will actually make more of a difference to the typical pedestrian than the typical car occupier.
A panic button for unmount truecrypy containers and wipe the RAM
It could even be improved with printable self-driving cars, areas would have a base load of self-driving cars, but in case of need/rush the area center would just print new cars.

My biggest fear re. cars as a service is degradations, it's been an issue in at least some of the bicycle sharing systems.
Great, so having previously suffered a rash of sites that permanently took up valuable vertical screen space with fixed headers, they now will all have headers that disappear whenever you scroll down and appear when you scroll up, with slightly buggy behavior on iOS. Has anyone considered what non-technical users will think of this UX idiom?

The effect is exacerbated on mobile devices whose browser chrome follows this very same idiom (for arguably better reasons - at least it's not buggy). So you now have two "competing" user interface effects.
ARM systems are so diverse that, unless you define a specific operating system, ABI plus floating point calling convention, and CPU type (see http://blog.alexrp.com/2014/02/18/android-hard-float-support... for a tangentially related example I found in a quick search), a binary either doesn't do you any good, or doesn't take advantage of the SIMD CPU features of your platform.
How Apple Cheats
MySQL Fabric enables HA and scale-out but requires specialized connectors
It requires energy to move objects in space, you'd need to add velocity (in the order of kilometers per second) to move objects out to a graveyard orbit. And once they are at a graveyard orbit, nothing would make them "spiral out and away" from earth. The lunar gravity is not strong enough at practical altitudes to do this (this is known as a Lissajous orbit [0], used sometimes to put objects to Earth-Moon L2 point).

Geostationary satellites are put into a graveyard orbit a little bit above the geostationary orbit (but they stay there).

Moving objects from lower altitudes up is not feasible due to the propellant requirements and the fact that the old satellites/debris are not made for that.

And you can't just chuck stuff away from Earth either (that needs 11km/s of velocity w.r.t the Earth in the first place), they will remain in a heliocentric orbit near the Earth and perturbations from the Earth, the Moon, and the planets may bring those objects back, travelling at interplanetary velocities. For example, the S-IVB stages of Apollo missions were sent to heliocentric orbit (with a gravity assist from the Moon), but the third stage of Apollo 12 eventually came back to Earth orbit in 2002 (and may come again in 2040) [1]

[0] http://en.wikipedia.org/wiki/Lissajous_orbit
[1] http://en.wikipedia.org/wiki/J002E3
Yeah, and then you can also optimise the logging server's secondary storage setup for mostly appending writes. Or so I hear.
Serious WordPress Issue Bypasses The Two-Factor Authentication
What then? You tap the bottom of the screen to bring up the chrome instead.
New Features and Improvements to the Java Version of the Document Viewer
Introducing a major upgrade to GroupDocs.Viewer for Java. Now the library has a HTML5-based rendering mode, enhanced search and extended API functionality
> I think the driverless car will actually make more of a difference to the typical pedestrian than the typical car occupier.

Depends on the country really: in germany, if a pedestrian gets close to the curb all drivers will pile on the brakes.

Gets awkward when you just wanted to take a slightly better look at something on the other side of the road (I've more than once crossed only to cross back a minute later, because a driver had thought I wanted to get to the other side)
Yes, an article with "Controlling open source by any means necessary" in the very title (subtitle "Android is open—except for all the good parts.") sounds like a very detailed, factual analysis of the situation.

I asked my question because I believed that the original poster had been misled by that very article which has had it's already overstretched claims amplified in repitition.
Funny, I was in the IRC channel this evening having a chat to Simon and managed to work all this out! I'm actually quite excited by it, I think the type checking that's available + unit testing will catch most of the edge cases I was looking to catch, although that "doesn't check global scope" threw me for a bit when getting it all up and running!

I'm really interested to see what you end up coming up with UX wise. What sort of edge cases do you think the `hh_*` apps will miss? Running `hh_client` on save isn't a bad thing, IMO, and having it output JSON for easy integration is amazing :) But I'm curious what the type checker will miss currently?

Is there a public mailing list where these sorts of discussions happen or is it more internal to Facebook? I'm really interested in Hack (as is where I work, we push PHP to it's limits so we're keen to use something that can catch even more bugs from day 0) so thanks very much for pushing PHP even further forward!

Are the technical reasons for missing type errors that wouldn't be triggered at run-time insurmountable? Or is it more a "finding the right UX to expose it"?
Anyone else wonder why a self-driving car needs side-view mirrors?
Interesting timing with WWDC coming up.

Possible that Apple have been listening and present something new to make all these custom jobs redundant.

I'm hoping they do, as a developer who also has rolled a few custom sync solutions to avoid iCloud , we'd all be better off if the OS handled the dirty work properly
Around 1990 I wrote Basic programs on an Amiga 500 that moved sprites, draw lines etc.
> the German translation produced was very poor quality compared to the English one

They would have selected the best possible language pair for this demo, so we should expect it to have done very poorly if they picked, say, English<->Mandarin.

What stands out is that they didn't pick Spanish as the other language.

It's pretty universally agreed that Spanish[1] is the easiest language for English speakers to learn, and Portuguese is in the same ballpark[2], but German is significantly harder[3]. (And Russian, Chinese, and Arabic would be way to the right on an exponential graph.)

I'm guessing that machine translation of English<->German, for some reason, must be easier than English<->Spanish.

[1] There's a fairly authoritative study on this which I can't find it immediately.

[2] Just from personal experience I find that English<->Portuguese with Google Translate is astonishingly good (in either direction):
http://brazilsense.com/index.php?title=Getting_by_with_just_...

[3] The difficulty of German vs Spanish is confirmed by an NSA (!) document that says that "Next to Vietnamese, German may be the most difficult for English-speaking students to learn for German has a difficult syntactical feature, the discontinuity of the predicate, which the others lack. Among French, Italian, and Spanish, there also seems to be only a slight difference in difficulty. It appears that these three are the easiest languages for English-speaking students to learn":
http://www.nsa.gov/public_info/_files/cryptologic_spectrum/f...
Why Google Made Its Self-Driving Car So Darn Cute
I liked "Founders at Work".
Really good-looking illustrations. How did you make them?
That comment is brilliant, thanks for contributing it.

You'll probably have to ensure it applies sequentially too, at least to be sure As and Bs are stable in their matching, but it seems to me an elegant solution for the problem (not that I'm statistician, though).
This is a nice example of a user that does not quite understand what google does here. It uses the history of the user and displays a site recently visited as one of the results.

So, google does what you want because it remembers what you wanted before.

So much for the 'I don't'.
> Personally, I find it disappointing that this is perpetuating the inherent inefficiencies of the car concept, carrying a small number of people, usually a single person.

"Self-driving" systems for carrying big numbers of people have existed for centuries now: http://en.wikipedia.org/wiki/Public_transport
....when not using SSL
I'd never suggest it as a good starting point for learning Lisp. Clojure's design inherits some implementation details from Java and the JVM. ClojureScript has amother layer of limitations based on ECMAscript's specification. They make sense If one understands Clojure as a response to the JVM and has a similar understanding of JavaScript's specification. Without that it's going to be hard to have an intuitive feel for the ways in which it's been ported. And given its lack of standalone documentation the a programmer is even more on their own.
Which is relevant to the difficulty of designing a self-driving bus, but says nothing about any driver responsibilities outside of driving.
Forgetting WP? And even Android? Can you go out, buy a Lumia, and install a working copy of Android?

You can install Android on devices that are already running some version of Android. And some fringe cases like the HTC HD2 and HP Touchpad (I had both, the Touchpad didn't work too great). But that's far from what the OP was asking for.
Am I the only who actually enjoys driving (good cars)?
And for Jabbr, which is a Jabber implementation on Signalr (a realtime thingy of .Net).

It's actually pretty neat, you can try it out on : https://jabbr.net (+ it's opensource if you want to implement your own team chat )
Interesting, couldn't we document the private APIs and use them ourselves? Or would Apple just reject the app then?
You could add: https://jabbr.net , it's opensource, so people could customize it (it's on the .Net platform)
Twitter is a bad example; some ideas with simple initial concepts won't get stolen because it takes awhile for anyone to see the point to it.
Google Search/Web history disable does nothing for privacy
Skype to get 'real-time' translator
pipedrive.com
The last remark is baffling. There is no shortage of bad ideas in finance. GS collections isn't one of them.
Exactly. Well hell, I did most of my time doing 'big' perl (as distinct from a better awk) with 4.019 and 4.036.

Now _they_ were fine vintages :-)
Streamed lectures about Android development  29-05-2014, 6PM UTC+2
Anonymous' first stock tip: buy the Internet company Wall Street hates
Create web applications, rank as a web application.

Create web pages, rank as a web page.

This is a band-aid by Google. Developers created inaccessible websites (JS-only, no HTML fallback) and Google still wanted to give those sites a chance to be in the index. Like when Google made it possible to index text inside .swf movies. This did not mean that flash sites suddenly ranked alongside accessible websites. No, it only meant that you could now find content with a very targeted search query.

Don't think you are gaining any SEO-benefit from one-page JS-only applications, just because Google made it possible for you to start ranking.

And don't forget your responsibility as a web developer to create accessible content. Forgetting progressive enhancement, fallbacks, a noscript explanation for why you need JS, ARIA is devolution. If Google can index your site, but a blind user has a problem with your bouncy Ajax widget, then you failed catering to all your users. If you lazily let Google repair your mistakes, then soon you will be a Google-only website.
New way how to plan your holiday in fully responsive and app-like interface
I'm sure the idea has been considered - and then ignored as completely ridiculous when you do the math.

The biggest rocket ever built (the Saturn V) could take 140,000kg to low earth orbit. That's nowhere near big enough to have any kind of significant gravitational attraction to "mop" objects away from their orbits. Some kind of magnet would be more feasible, but still not practical because operating a huge magnet in the Earth's magnetic field would affect the spacecraft itself.

Finally, once you would have "mopped" these objects into neat bunches, it would take 4 km/s additional velocity to escape the earth and a whopping 30 km/s to send things towards the sun (without any gravitational slingshot). Now you can calculate the amount of propellant (using the Rocket Equation) that it would take to send any meaningful payload that distance.
Given that constructors can't conform to interfaces, if you want to be able to pass a constructor around you pretty much have to do this. I agree it's probably overkill, but if you wanted really strong compatibility guarantees I can see how this would make sense.
Didn't test it as much in other browsers, but seemed to be buggy w/ Safari 7.0.1 on OS X - wasn't seeing the header appear again while scrolling up.
Open a new incognito window and try. Its the same!
Integrating Continuous Delivery into a Large Organisation
Past members from the tech world include Marissa Mayer, Sheryl Sandberg, Sergey Brin, Peter Thiel, Elon Musk, and Larry Page.
> I think only some one far detached from reality would expect, a Perl 5 like ecosystem ready on the day of Perl 6.0.0 release.

I think it's still plausible that someone (it'll have to be one or more serious P5 guts hackers) will soon start implementing something like diakopter's plan for P5+XS interop. (That's the plan for having P6 code calling P5 code and back again, including XS modules on CPAN.) If that works out well, a 6.0 release could be viewed as including all of the P5 ecosystem or, conversely, as an experimental part of P5.

But perhaps I'm far detached from reality.

I certainly wouldn't expect the project to wait for such interop. If 6.0 has to ship without support for P5+XS modules, so be it.

> So I guess your "a list of big ticket items remaining" hopefully won't be "a big list of ticket items remaining".
> Besides I was of an opinion even after the 6.0.0 release the spec won't be complete.

It sounds like the plan is to mark particular bits (paragraphs?) as either 6.0 or post 6.0 and associated spectests will determine whether or not Rakudo is compliant.

For more of the discussion see http://irclog.perlgeek.de/perl6/2014-05-23#i_8767026

> Esoteric features a, b, c, d are left for next 6.* releases.

I don't know about the esoteric aspect being the decider, but yes, I'm assuming the basic idea will be to defer as much as is reasonable.

> Either way, I wish you guys all the very best. And hope to soon see a closure soon on this.

{ "this" }

Maybe not what you're after?

Seriously, while I hope for a 6.0 spec this year I think there's about zero chance of a 6.0 Rakudo this year. And unless a few dozen more contributors turn up maybe not in 2015 either.
Like many, I am suspicious of the rather overbearing claims made on behalf of the SPA architecture.

I just launched a website. It's a weekly periodical with political analysis, word-count on articles 1500-6000. It needs to carve up the content in a few different ways (categories, issue numbers etc), decorate an article with links to other relevant content, and provide a nice CMS for non-tech people to use. So it's on Django, with the regulation sprinkling of JQuery. (If it were only techies updating it, you could probably do it with a static site generator...)

To me, the idea that you'd try and force something that is plainly a big collection of pages into a 'single page' is just philosophically bizarre, like printing Moby Dick on a square mile of paper, using some amazing origami skills to present it to the reader, all in order to save a bit of effort at the paper mill.

The googlebot business is one aspect of a bigger issue, which is that a website needs to be consumable by a host of different clients. I don't see how you can do the SPA thing without making major assumptions about those clients.

Sometimes, of course, those assumptions can be justified - it depends on the job. And Angular etc are enormously fun to play with, and handled well can enable a great UX for certain jobs. But I don't think it's 'the future'. It's another tool in the box.

Relevant here, a nice talk by John Alsopp from Full Frontal 2012:

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

EDIT: clarification
Finally someone! I thought I'm the only one here who loves driving.. Some people go as far as suggesting that manual cars will be banned at some point in the future - to be honest it sounds like some kind of dystopian vision where you have no control over anything.
Apple systematically rejects apps that use private API's
SMELL – Geolocated anonymous message app for Android
What you think about?
It seems he has a bit of misplaced sensitivity when it comes to the Japanese: https://news.ycombinator.com/item?id=7555232
Great hacking directory
This looks pretty great.

For future visitors to this thread:
I've discovered that toutapp and yesware have integrated email receipt + click tracking along with a pseudo pipeline which actually fits my purpose of tracking email leads pretty well.

My only hesitation with toutapp/yesware/boomerang is data gravity - I don't think the information from any of those can be exported, effectively locking you in.

Alphabetical Summary of Results:

* BoomerangGmail - boomeranggmail.com

* ContactMonkey - contactmonkey.com

* MyPhoner - myphoner.com

* PipeDrive - pipedrive.com

* Radius - radius.com

* SalesForce - salesforce.com

* Streak - streak.com

* ToutApp - toutapp.com

* Yesware - yesware.com
I have been trying to do that by simply typing "remote" in the search bar on the page. works good enough i suppose
TypeScript powered game framework for HTML5 games
An Anonymous Rich Person Is Hiding Money All Around San Francisco
Spotify's been hacked, but only one user is affected so far
It's hard to ask of the publishers, especially the long tail, to keep everything 100% consistent. Just like how brands, models and other metadata of the same consumer goods are wildly inconsistent across Amazon, Sears etc. Perhaps a more realistic solution would be if the handful of major stores expressed some goodwill and supported something like onepf.org, or maybe allowed publishers to list URLs to versions on other platforms and not just pretend like they are the only appstore in the world, but until then...