Live data from Hacker News

Fighting spam with Haskell

code.facebook.com

91–98 of 98 posts

Re: Fighting spam with Haskell

#91
post #76

This is impressive, and in line with Haskell's philosophy to "avoid success at all costs". As a mere mortal programmer, who knows a little Haskell, my takeaway is that if you want to run Haskell in at web scale for a a large userbase, you need the language's primarily compiler author to help build the application and to modify the Haskell compiler to make it performant. And you also need your team led by a 20-year-ve…

> Haskell's philosophy to "avoid success at all costs". How? I think you are misunderstanding the philosophy. Like SPJ once explained, its 'avoid (success at all costs)' and not '(avoid success) at all costs'. It basically means, 'don't compromise on your principles in order to achieve success'.

I've always interpreted it as both "(avoid success) at all costs" and "avoid (success at all costs)" - the former as a joke and the latter a serious guideline.

Re: Fighting spam with Haskell

#92
post #84
post #82

Earlier quoted context omitted.

That's a bit sad a great language like Haskell (I haven't personally used it but heard great things about it) is used for a hippie thing such as Facebook. Facebook doesn't even have much of a future, its a hippie fad just like Myspace was, eventually they'll get bored and find some new hippiespace social network: Snapchat, Whatsapp, whatever.

You know, you're not alone in thinking along these lines, but, if you would have just put a wee bit more effort into your wording, you could have made a good point out of it. Too bad you kept it even way below average Facebook post quality. Oh and seeing how I'm actually responding now anyway, there's one more thing: use of the word "Hippie" does not actually qualify as name calling, you do know that, right? I do hop…

Oh sorry silly little me for not filly my post with euphemism's, polite wording and not adhering to the political correctness cough censorship cough code. I'm sorry for calling a spade and not referring to it as tool with a sharp-edged metal blade welded onto a long handle used for cutting into the Earth's surface and soil collection.

Please be the one to correct me if you ever see me on some political news article, I may lose meself and refer to gays as gays (HOW OFFENSIVE OF ME) instead of members of the LGBTQZAKGGKDGGGFD society, I may refer to Asians as Asians and Africans as Africans (HOW RACIST!!!!) instead of POC's People of colour.

Honestly, if you're so butthurt because you have a Facebook account at least try not to make it obvious.

Re: Fighting spam with Haskell

#93
post #71

Earlier quoted context omitted.

Yesod is awesome I can't see myself going back to less typesafe database schema tools. The choice I made seemed like a safer path, perhaps not ideal. The application that I am trying to put together is a realtime websockets application. Therefore, I am using yesod/websockets for the server. For the client, I chose haxe simply because of the targets available making it simpler to write plugins. On one of my irc chats…

Have you tried using Purescript for frontend stuff? There is apparently a purescript-websocket library: https://github.com/tekerson/purescript-websocket

I will have to take a look if fponticelli: https://twitter.com/jdegoes/status/471319014614892544 , thinks it is. My app is not a pure web app, it has some client components such as excel plugins that need to talk to the server. I was therefore looking for something that I can port to other targets with some support from the language, which is where imo haxe/nekovm seem to shine. Yes, there may be some parts missing from haxe, though, it seemed to work ok for my needs and if its good for salesforce or tivo, I thought I may not be a trailblazer afterall.

Re: Fighting spam with Haskell

#94
post #25
post #16

Damn you FaceBook. I dislike the underlying premise, the adverts, and (especially) the "real names" policy. But... between great bits of Open Source like React, cool infrastructure projects like this, and a technical culture which seems a whole lot more open than many other big companies, it's getting kind-of hard to go on hating. Walk back a bit from the obsession with open plan offices, and I might just cave...

Their commitment to open source is truly amazing - I am currently in the process of interviewing with them, and am increasingly in awe of the company. Surprisingly, their massive open office is the quietest office I have been in. It is a really nice workplace.

Quietest office? More quite than a proper office, with a door, with just you and you computer? Not being snarky, just trying to understand if I understood that correctly?

Re: Fighting spam with Haskell

#95
post #71
post #58

Earlier quoted context omitted.

Can you expand upon what you mean by complete Haskell stack ? What do you feel are currently missing from Yesod ?

Yesod is awesome I can't see myself going back to less typesafe database schema tools. The choice I made seemed like a safer path, perhaps not ideal. The application that I am trying to put together is a realtime websockets application. Therefore, I am using yesod/websockets for the server. For the client, I chose haxe simply because of the targets available making it simpler to write plugins. On one of my irc chats…

Have you looked at Elm[1]? Is that "too much web" and too far from Haskell for you?

https://github.com/elm-lang/elm-platform#elm-platform

Re: Fighting spam with Haskell

#96

This is impressive, and in line with Haskell's philosophy to "avoid success at all costs". As a mere mortal programmer, who knows a little Haskell, my takeaway is that if you want to run Haskell in at web scale for a a large userbase, you need the language's primarily compiler author to help build the application and to modify the Haskell compiler to make it performant. And you also need your team led by a 20-year-ve…

> web scale for a a large userbase

Yes, it might take some effort to scale things across a 1.4 billion users. Now, in what language wouldn't that be a challenge?

I suppose if you're one of the "many" other companies that are approaching 2 billion active users/month, you might need to put some thought into your systems too...

Re: Fighting spam with Haskell

#97
post #95
post #71

Earlier quoted context omitted.

Yesod is awesome I can't see myself going back to less typesafe database schema tools. The choice I made seemed like a safer path, perhaps not ideal. The application that I am trying to put together is a realtime websockets application. Therefore, I am using yesod/websockets for the server. For the client, I chose haxe simply because of the targets available making it simpler to write plugins. On one of my irc chats…

Have you looked at Elm[1]? Is that "too much web" and too far from Haskell for you? https://github.com/elm-lang/elm-platform#elm-platform

Elm was my first choice for a different side project. I went away because then elm did not have, or it was my lack of knowledge,support for crud widgets. I miss the elm signal approach in haxe for one thing. Here is the link to my repo so things are a bit concrete https://github.com/asm-products/ccar-websockets.git . Warning: this is still work in progress and there are way too many issues before I can even release this. The elm repo is here: https://github.com/dservgun/elm_projects .

Edit: added some repos to set a context. The original comment about 4th attempt hit home as the latest repo is my 4th(I am going to quickly lose count) attempt to achieve at a model that might work/scale. There are still some issues that I would like to solve: whether to use code generators or not. Code gens will save me some typing, but I found myself tweaking printfs or equivalents to fit it into a narrow model.

Edit II: Elm, iirc, is being supported by prezi that also happens to be using haxe quite actively. So I felt a bit more reassured about using haxe.

Re: Fighting spam with Haskell

#98
post #41

It seems like Facebook seems to be the one company developing a lot of the very interesting and useful tools for developers.

That is unnecessarily negative toward the efforts of literally everyone else.

I wrote it poorly my apologies. I guess I could see how my messages is misinterpreted.
Post reply on HN