skysight-inc/HackerNews huggingface dataset:
One should assume they are dealing with a manipulative psychopath. The only people who preach that you should not heed this advice are...you guessed it...manipulative pschopaths. =D All of the same behavioural stuff that makes people pay money to secure computer networks applies to business deals. It is just the way the world works.

That is not the same advice as condoning bad faith, manipulative behaviour. The advice is to act as if bad actors exist. The advice is <not> to act "as a bad actor".

When it comes to cancellations, it's way to facile to say something like 'cancelations are always possible, therefore all cancellations are always kosher'. Instead, markets are <always> structured along the lines of 'bad faith is always possible, therefore precautions are always taken'. Again, this parallels with network security so I'm sure I don't need to explain it from first principles.

If you want to argue "bad faith is always possible, but..." then that's fine. You need to explain why precautions should be discarded. The idea that we should look the other way to bad faith is not justifiable as a standalone idea. You would actually need to show that bad faith could do no harm because of XYZ technological protection.

If you want to make the argument that technology provides "perfect security", you are welcome to do this. But not only do you need to establish that, you also need to establish the social equivalent. That is, that all business contracts are "perfectly written" and all legal proceedings are "perfectly resolved", and that the costs of all this perfection are ~essentially zero.

That is the path of least resistance for your position.

see also:

https://news.ycombinator.com/item?id=7523186

esp sub thread

https://news.ycombinator.com/item?id=7524976
Hi there,

I am the author of the OOP library mentioned on the article.

> I'm very skeptical about OO frameworks for Lua

Me too :)

I think Lua OOP libraries are great in two particular circumstances: for people coming from OOP languages, when starting working with Lua, they serve as a "crutch"; they allow you to start working in a language with paradigms that you are not familiar with with a set of structures you are familiar with.

Later on, once you are familiar with Lua's metatables, you can do most things with plain Lua. 90% of the time, it's just enough.

The remaining 10% comes when you need really advanced stuff - for example, class methods called the same as instance methods in class. Or operator inheritance. Then using a library like middleclass is worth the increase in complexity and the extra dependency.

TL;DR: Use middleclass at the beginning, when you are learning, or at the end, when you need advanced stuff. Don't use it if you just need 1 line of metatable stuff and you know how to implement it in raw Lua.
The Mercedes F1 team appears to be one team that makes cars with engines that they also supply to other teams. However it is not quite like that. The engines part of the business has been going for a long time with McLaren since the mid 90's and before that they were 'Ilmor'.

Then, five years or so, Mercedes bought what was the Honda/Braun constructor team. Both the engine business and the car constructor part of the empire are in the UK albeit geographically separate.

It would be unsporting for Mercedes to supply their on-track rivals with lesser engines, particularly since they pay top money for them. So the official PR story for this is that the separate constructor part of the business came up with this innovation all on their own for packaging reasons, i.e. a more aerodynamic car.
E Cigarette: The New Poison?
Serious question from a guy made soft by garbage collection: how frequent is memory allocation failure nowadays, with large memories and virtual memory? Were I to guess from my state of ignorance I'd think that if allocs began to fail, there was no recovery anyhow... so leaking in this case would be one leak right before a forced quit.

Wrong? Are there lots of ways allocation can fail besides low memory conditions?
It has a slightly negative connotation.
My problem with SRS is that it is useless for the first stage of memorization. The "vocab sheet" (20 word+definition lines, on a sheet) style is much more effective for me, and if this was available for any of the SRS vendors I would start using it immediately.
Ask HN: HMAC Authentication?
Hey guys,

Writing an API here. In the past for authentication, I've had people include an Authorization: token token=blah in the header.

Since SSL might not be an option for some of our customers (yes, sigh), and to guard against replay attacks, we need to encode the token somehow.

I noticed amazon uses HMAC, so I set out to create something similar. No, I'm not trying to make my own crypto, I'm trying to use the cryptographic primitives as they were intended:

Authorization: hmac_v0
time=urlEncode(iso8601(currentTimeStamp())),
username=urlEncode(username()),
nonce=urlEncode(base64(random(15))),
sig=urlEncode(base64(HMAC("SHA-512", base64^-1(secretKey()), bytes(time+":"+username()+":"+nonce))))

Thoughts welcome!
Minor correction: it was “d4d1a179c0f3” who reported and suggested that solution, not me (although I agree with their proposal). I’m just the guy who posted this on Twitter (https://twitter.com/mathias/status/452714683628527616) and Hacker News.
Aw, I was hoping Ebay was finally accepting BTC as payment.
Looks like that page has been there for at least a year: https://web.archive.org/web/20130410123114/http://www.sbi.co... [April 2013]
still you have the exact specification maybe with bugs.
Awesome! I'm still waiting for other sites like imgur to get with the program :D

Edit: Thread 2 (Yeah, 4chan, possibly probably nsfw, etc): http://boards.4chan.org/g/res/41215438#p41215438
Google Night Walk
CSS Flexbox in 5mins
also, you can't search, copy&paste, reply inline. That's not email, it's like sending someone a fax.
The most valuable lesson you will learn in college is "how to learn." Put the attitude away and start learning.
It's easy to read In fact, it makes much more sense than capitalism and think you are talking about it being a desirable situation.

(just because much of what "makes sense" about capitalism is the situation it puts the people in, especially modern regulated markets, as opposed to the worst examples of capitalism)
> By this same logic, Google is too late to the enterprise and will fail.

It very well might be.

Google had been making a huge push to try and get "enterprise" companies to use Google Docs in place of Microsoft Office. I can only imagine that effort suffered a major setback in the wake of NSA revelations.

I can't see how any serious business would trust private data to "the cloud" today.
A guide to building Lua modules
>The way I interpret it is as follows: it would be correct to label a poison which systematically kills any man who drinks it but not women as "sexist". The problem is that our culture tends to bundle intent with sexism, which is not the case

I completely disagree here. Intent is paramount--the concept of sexism, or any -ism/-ist, requires agency on the part of the actor. An unthinking process can no more be sexist as it can be a philanthropist. The ist/ism term describes a framework of thinking that informs behavior. Now that isn't to say that abstract things cannot be sexist, as institutions can be sexist. But they are created/sustained by individuals with agency, and so an application of that term is really an indictment on those individuals within the institution.
Can we not call this a "bug?" It's clearly a design weakness and "schofield" said it was working as intended, ergo not a bug, but just a poor choice of mechanism. Pretty humorous that "schofield" thought it was fine the way it is. Guess that has been cleared up by the internet. It's pretty trivial to generate a random, non-guessable, unique code to use as a lookup key for the invitation, and I guess that's what they've done.
The official name of the award is the "ACM A.M. Turing Award" if that eases your fears about global namespace pollution. :)

And it really is the "Nobel Prize of computer science"; the fact that not all practitioners have heard of it is just another indication of the sad divide between researchers and practitioners in our field. :(
Ken Jeong: Doctor By Day, Comedian By Night
I went to a public law school and graduated early (2.5 years). I walked away with substantial debt, but like Rayiner said, I saved about $10K by graduating a semester early(depending on the tuition it could have been substantially more).

We were required to sign a pledge that we would not work greater than 10 hours per week. On the other hand I had no such pledge in undergrad, graduated a early (3.5 years) and worked my way through as a server graduating with no debt from undergrad. Law school was more expensive but I think I could have worked my way through law school and ended up with no debt, unfortunately I will never know.
Cloud66 is kind of incredible, I was an early beta tester for them and they really are hitting an interesting price/value point wrt managing complex systems.
Yeah. I won't touch these because of that license.

It's essentially CC-SA, but with this:
"You are not allowed to take our work “as-is” and sell it, redistribute or re-publish it, or sell simple “pluginized” versions of it."

NOPE.
mit/bsd/isc/lgpl/apl or compatible or bust.
I got my undergraduate degree in three years (because that was the way it worked), I then did my doctorate in three years.

For the undergraduate since three years was how things worked there wasn't really any choice, but the important thing was that in the first year everything I did at school I was assumed to have mastered plus the reading in the summer before. We went fast onto new stuff from day 1.

For my doctorate I did pure research in computer science and I had a grant that covered my expenses for three years. I damn well got the thing done in three years rather than run out of money.
I'm loving the direction F1 is going. Sure, for the hardcore fans, the noise just isn't the same, and the cars aren't going as fast anymore, but I love that they are trying to force the manufacturers to improve their lower spec engines. Maybe the next rule change we'll have CVT as a requirement instead of a gear box.
I've never seen the law stated that way, which is understandable: "no" is more succinct than "whatever conventional wisdom would say".
IOS Developer
We are a digital gift card platform that enables you to manage your gift cards. Users can upload, send and redeem gift cards from their phones. This is seamlessly integrated with Facebook to make sending gift cards convenient and fun!

For retailers, We create a meaningful new revenue channel and can help drive redemption. By using our solution, merchants can drive customer acquisition, increase shopper interaction and drive social engagement.

The ideal candidate will have at least 4 years of software development experience. A B.S. degree in a computer related engineering field (Electrical Engineering, Computer Science) or equivalent work experience.

Excellent Cocoa and Objective-C coding ability
Thorough understanding of UIKit
Experience working with Auto Layout, Core Data, Core Location and client-server communication
Understanding of UX/UI and how to realise it through code is essential
Excellent communication and organizational skills
Proven record of completing projects on-time
Experience of having released at least one app into the Apple AppStore

If interested send your resume and a link to your portfolio to (stevenwilliams@flwint.net)

We are in Redwood City, Ca.
Hi,

I am the author of the library mentioned in the article (not the article author, that's someone else). You seem to have missed the link to the OOP library used, so here it is:

https://github.com/kikito/middleclass

Also, notice that in other comments on this thread I mention that I don't think OOP in Lua it's a one-size-fits-all thing. I think middleclass has its uses, but most of the time plain Lua with some metatables does the trick just fine.
> By comparison, Microsoft asks for explicit permission for any information sharing in their OS and software.

By comparison, no, Microsoft doesn't stand up very well. That's what none of the Microsoft apologists don't seem to understand:

Microsoft Fined $731 Million by EU Over Browser Accord (http://www.bloomberg.com/news/2013-03-06/microsoft-fined-731...)

Microsoft sniffed blogger's Hotmail account to trace leak
(http://www.cnet.com/news/microsoft-sniffed-bloggers-hotmail-...)

Google: Bing Is Cheating, Copying Our Search Results
(http://searchengineland.com/google-bing-is-cheating-copying-...)

Microsoft is Attacking Free Software and Standards in the UK, Behind Closed Doors
(http://techrights.org/2012/04/17/leakage-of-dirty-tricks/)

Microsoft Has Hired 1,000 ‘Viral Marketers’ to Astroturf the Xbox One & PS4 Launches
(http://furiousfanboys.com/2013/11/microsoft-has-hired-1000-v...)

Microsoft changes its story, concedes death of Zune hardware
(http://appleinsider.com/articles/11/10/04/microsoft_changes_...)
This is a very big moment for WebM. I feel 4chan has become the 'porn' industry of the internet. With VHS vs Betamax the largely deciding factor was which standard porn supported (this was again to a lesser extent with bluray).

The general lack of adoption of animated png's is often pointed squarely on 4chan. Since it generated most of the web's viral funny content. And since most of it was in .gif, who needs to support .apng?

Hopefully we will see the opposite with WebM. More general funny content, more drive for it to be adopted on sites like reddit (which already to some extent uses gifcat on some subs), and imgur. Which will snowball its general adoption.
>sha1sum putty.exe

>google "44ac2504a02af84ee142adaa3ea70b868185906f"

>see results are mostly "putty.exe"

Three steps, all relatively painless.
How deep have you gone with the library and with an imap client implementation? There is definitely a lot of variation from imap server to imap server. Things come back with weird and broken encodings sometimes (the server will tell you that a message is unicode and then return invalid unicode), commands that seem to be read-only will have persistent effects, etc. IMAP is nowhere near as nice to work with as its standard and interface imply.
2048 Against Cancer
Tyler was 13 years old when he was diagnosed with Medulloblastoma, a form of cancer that often originates in childhood and attacks the brain and spinal cord. He underwent his first brain surgery while he was still in grade school. Tyler is still fighting cancer today, and we decided to make this help raise money for his latest treatment
> I feel 4chan has become the 'porn' industry of the internet.

This is the most flattering thing I've ever read about 4chan.
My gut reaction is that I'm not sold. With HTTP requests for example, I want to say `if 'id' in params`, whereas `if hasattr(params, 'id')` feels unnatural. But I also know that I'm accessing `params['id']` at programming time, so it would be great to shorten that to `params::id`.

(And this ignores converting to JSON. The library I use is designed to be passed dicts. You can teach it to accept arbitrary objects, but that's kind of a hack.)
thanks for sharing! I like how you mention the reasons, the importance of communities and blogs, and ultimately marketing.
Hope you can recover and start successfully with other projects
every car I've ridden in made in the past decade

You're in more up-market cars than I, apparently.
Npackd 1.18 functionality (screencast)
demo of the complete functionality of Npackd (https://code.google.com/p/windows-package-manager/) 1.18.7
More details here: http://blog.4chan.org/post/81896300203/webm-support-on-4chan
GNU units works offline ;-)
For a genuine cofounder position, I don't believe anti-discrimination laws apply; the members or directors of a company don't have an employer-employee relationship.

I've talked to people (read: lawyers, but casually) about this and haven't really gotten a clear answer.

I'm similarly interested in whether anti-discrimination laws apply to venture capital investment, given that it's clearly not unlawful for me to opt out of investing in the stocks of e.g. companies with female CEOs.
> Put another way, if they weren't "easy" then there wouldn't be a "high level" above them to make the concept of "low level" meaningful or concrete.

Yeah, the higher level is things that are also rejected at large by the industry and moribond in research like DSL, code generation, modelisation, algebra stuff and proved programs. Things that exists more or less at every level but widespread in CPU making.
I'd say Google has its own share of responsibility for the lack of adoption of APNGs. Chromium doesn't support them out of the box.
True, I am simpifying the issue. But medical device manufacturers should still be happy to take on new risks. See this article, even though it's an editorial:

http://www.nytimes.com/2013/10/17/opinion/the-myth-of-the-me...

It may be that existing products can simply be iteratively 'improved' and that doesn't cost much on the R&D side and is far less risky. I suppose market forces would favor the corporations that are protecting their existing revenue streams, at least in the short term. I would approach your university's IP office to discuss possibly funding the product. That's how large institutions do it. If you are in the private sector, then unfortunately it's up to you to 'sell' the idea to somebody. Maybe you could find some ventures capitalists who also 'coincidentally' happen to be diabetics?
Indeed. Especially so for children. In British schools in the 80's/90's at least, it was commonly used if you enjoyed class a little too much.
It's kind of hilarious how much easier it is to summon moot on HN than on, say, 4chan.
What you’re seeing right now is a composite of images past and present, study
I agree, but, I disagree that one needs to kill an animal to get the necessary nutrition in our modern society. Were I starving in the wilderness, I would likely make the choice to eat meat in order to survive. But, we live in a time and place where the decision is clearly not one of survival.

So, my decision to eat bugs would be considered on the ethics of the question, among others: Is it environmentally sustainable (and, in my case, it would need to be equal or greater than the sustainability of a plant-based diet)? Is it ethical (probably just whether the bugs suffer)? Is it healthy? Is it tasty?
I started as a software developer just around the time Intel released the 8080. I was in Bell Labs when Unix Version 7 was introduced. I was at IBM when they released AIX. I now working in scala and clojure and am active in a startup in the financial services and crypto-currency fields.

Do what you love, love what you do, throw in a generous helping of luck and you can have a stimulating, productive and enjoyable professional life well into your 70s if not later.

How does one's passion and aptitude for hacking evolve towards this part of one's life ?

Experience rulez.
Are you a company, a research group? Any references to those publications? A claim is much more credible when you are willing to give out proof to back it up ...
It's generally used by non-scientists to refer to scientists. People don't tend to use it to refer to themselves (though a few might, in a humorously self-deprecating fashion).

It might have a dismissive or mocking connotation, depending on the intention of the person using it. I guess in the worst case, its use could be described as 'othering'

https://google.com/search?q=define%3A+othering
> how frequent is memory allocation failure nowadays

I'd guess that it varies a lot by domain and project but from what I've seen, pretty common.

> I'd think that if allocs began to fail, there was no recovery anyhow

I think this is what both high-level languages and the Linux "over-commit-by-default" policy have convinced people is the normal behavior. However in my experience it's not that hard to make OOM simply bubble up the stack and have all the callers up the stack free their resources, then let the rest of the program keep running. It doesn't have to be a catastrophic event. You just have to be consistent about handling it, and write code expecting it.

> Are there lots of ways allocation can fail besides low memory conditions?

To think of a few, there's running out of memory, but there's also running out of address space. The latter is not so hard to accomplish on a 32-bit system. You could ask for a chunk of memory where, if you could coalesce all the free space throughout the heap, you may have enough space, but you can't make it into a contiguous allocation.

On Windows I've also seen the kernel run out of nonpaged pool, which is more space constrained than the rest of memory. I've seen this when a lot of I/O is going on. You get things like WriteFile failing with ERROR_NOT_ENOUGH_MEMORY.
Thanks, I've never heard about that project, imap was cyrus, courier or dovecot for me (I run the latter).
The dovecot developers claimed in various mailing list threads, that a SQL based backend would not make sense, not even performance wise. Interesting to see a different approach.

What irks me is the FAQ entry claiming "If you have trouble with user authentication, edit the pg_hba.conf to allow trust or md5"... I - don't think that this is a good idea?
Like a lemon's an idiom, sorry! I just meant that it takes a while to get good at scanning.
Hi there,

Thanks for writing this article.

I believe we spoke about this very subject in reddit not long ago. In that conversation I mentioned that I'd rather use composition instead of mixins for most of the examples you made.

Rather than repeating myself, here's the link, in case someone wants to see an alternative approach:

http://www.reddit.com/r/gamedev/comments/1uni58/the_power_of...
perhaps you could cite some sources that would calibrate those of us that agree with the GP's mindset.
That 'universals' guy seems actually to be Donald Brown, and his book is 'Human Universals'. http://www.amazon.com/Human-Universals-Donald-Brown/dp/00700...

The book is expensive, here's a list:

http://condor.depaul.edu/mfiddler/hyphen/humunivers.htm
It is left as an exercise for the reader to compare this mindset with those of software engineers at startups. 3 pages, 12 pt. font, due Friday.
Speedtest.net interface using Factor language
https://mediacru.sh (I helped make this)
Are you saying that vector<char> with 'grow()' is substantially slower than the given C macro ? By how much ?
My father probably qualifies too. In the early 80's we had a Bell Labs/Western Electric Energy management system with home sensors and links to the electric and gas companies. They used a Z80 microprocessor in a STD bus card rack. And at no point in the last 30+ years has he ever been without projects or machines to work on.

His skillset goes from the EPROM and PLC level, through C/C++, and on to actual 20 ton open die forging. I've seen him take a break from debugging a C++ driver for a hydraulic beam loader to replace live high voltage fuses with a hot stick rather than wait for the power company. It really puts what we refer to as 'full-stack' into perspective.
Very excited to see how this project progresses. It appears to be right in line with what I need right now. I've standardized my app architecture on Docker, but have not had the time to mature the instance management and deployment process.

I'm currently using capistrano, but it's feeling limited for my use case as I have to manage several "always running" servers plus hundreds of cpu intensive workers. Finding a good way to manage those workers across several cloud platforms and my own hardware has not been simple.
gram?
If I upvote this link am I "liking" it?
Surely Satya can't be given full credit, but he was not exactly an outsider before he was elected the CEO.Some if not most of the new stuff could very well be because of his direct/in-direct push, especially around open sourcing numerous dev stuff.