skysight-inc/HackerNews huggingface dataset:
Lived in the south my entire life (currently in Nola).

There's definitely an I don't know...afterglow effect? with this stereotype at play in the south today. It certainly used to be highly isolated culture with it's own weird problems ("fanatics, racism, and overreaction").

These days though thanks to television, the internet, decades of immigration etc. it's pretty much the rest of the US...with better weather.
Can we use our own frontend stacks to design the frontend?
Don't make threats if you don't intend to follow up on them.

Also, from his lawyer: "They didn't find pentagrams and candles. He wasn't listening to Judas Priest."

WTF does that have to do with anything? Do only Judas Priest fans shoot up kindergartens? Is there something wrong with liking pentagrams and candles? I think that lawyer is the real creep here, and that kind of defense deserves to be ineffective.

In any case, if you threaten to shoot up a kindergarten, of course the police is going to look into you. Imagine the outrage if they got a tip like that, ignored it, and then the guy shot up a kindergarten? They have no option but to detain him, and the lack of candles in his home is utterly irrelevant to that.

And of course they then need to gather complete evidence, which includes the facebook conversation, details of his past, his mental health, etc. And maybe they messed up there. They clearly messed up some other stuff, in particular the jail where someone can get sexually molested, and the fact that they conned him out of a lawyer. The article does list a number of worrying aspects of US law enforcement injustice that seems way too common lately. But that doesn't change the fact that if you make a death threat, you should expect to get arrested.
Thank you! I also added a javascript example for everyone who doesn't read Haskell.
And this is one of a couple of reasons why, despite my generally pleasant experiences with the US, it would take an extraordinarily good opportunity to get me to live there. I am scared of your seemingly unaccountable quasi-military police.

The solution to the situation presented to the author of this article was, of course, simple: do whatever the people with guns say. Don't talk back. Don't make eye contact. Wait until it's over and hope it doesn't get worse.

But maybe sometimes I won't do that. And maybe then this will happen to me.
This is a typical rebuttal from programmers when they don't know how something works underneath.

You are correct about "why" libraries are created.

Since, I'm assuming you're talking about Open-source libraries: what happens when theres an issue you're having and wondering why the library isn't doing what you want?
What's API support like? IE if I wanted to create a search widget that uses JSON. Have you considered something like Django REST Framework?
It blew every other phone, but it wasn't that original over PDAs. I had a Windows 6.5 pda then, and I thought the iPhone was way cooler and well-designed. Of course it was inmensely superior to my PDA, but not so incredibly original. It didn't do anything at all I wasn't already doing with PDAs, it just did some of them (chiefly, web browsing) way better, most of them in a cooler way (pinch to zoom, animations), and even a few, slightly worse (browsing while listening to music).

Apple has this fame of original crazy geniouses that have invented X or Y. They have mostly taken other's ideas and perfected them. Perfected them a lot, admittedly; even may be taken them to a new level of awesomeness with a great vision of on which details it was better to improve.

I love apple products, don't take me wrong. They deserve a lot of credit for the iPod, the iPhone, iOS, the iPad...

I think it was extremely childish of Jobs to get so pissed.
> Do you use your browser because of it's user community? Your media player? Your IDE? Your VM manager? Your task tracker? Your IRC client? System APIs? The standard library of your favorite Language?

I'd actually say yes to many of those. The main reason I switched away from my previous browser was the absence of certain extensions/userscripts; the reason I use the IDE I do is entirely down to the plugins.
This would be one of the approaches to use if you wanted to squeeze the last pieces of performance out of this class. I would recommend using Cython for this though.

The problem with both of these approaches is that, well, use this too often, however, and you suddenly realise you are not really coding in Python anymore.

Also, correct me if I'm wrong, overuse of tricks like these is one of the key reasons why we cannot have nice things like PyPy for all modules.
Naturalistic Decision Making
New in the sense that they're newly available to the public. The agreement is dated Jan 2011.
The "Russel Brand" link (just before the footnotes) is pointing to the wrong url.
If that would work, I would have done that a long time ago. The thing is, that a clone with just the off-topic questions wouldn't work. It would never get the critical mass of users. I want to ask super narrow technical questions, and "What is the best messaging queue for python?" on the same site.

The thing is, if SO would be a bit looser, deletionists could just ignore the other questions, and everyone gets what they want. By forbidding them, they still get what they want, but inclusionists don't their questions (unless there is enough critical mass for a sub-site).
Yeah, the current packaging system is more of a download installer and less of a dependency management system. That should get a lot better in 1.0. As for Jade, https://atmosphere.meteor.com/package/jade-handlebars is working towards this. It also appears that Meteor is (or was) thinking of integrating Jade support in Meteor directly: https://github.com/meteor/meteor/tree/jade
I've moved on to Scala. I never liked the lack of typing in Python, but I thought it was the price one paid for an expressive, low-noise language; then I discovered it was possible to have it all.
Samsung’s Tizen Will Hit the Ground Running with Android Apps
You know one thing I've always missed on SO was to be able to subscribe to a question ...

Just in case you add this feature I've already found a few interesting questions that don't have answers yet :)
This deserves to be higher up in this thread. My first thought exactly.
Cheers, I knew it wasn't very "go like" at the time. Will go and tidy it up at the weekend.
Use self.lookAlike(); It is a global method ;)
+1 for compiled CSS/JS. I'd love that and it would get me up and playing with it much faster, personally.
Ask HN: Things you do on the Internet once, twice a day?
What are some things you do on the Internet once, twice or at specific times in a day?
Learning to problem solve would be a much more important lesson than learning to code.

Problem solving transfers across disciplines and is a useful lifeskill.

It could be combined with how to assess the quality of information or how to find decent sources of information.
There are some https://github.com/torchbox/wagtail/blob/master/wagtail/wagt... - but not enough, we know. We're on it!
Not a criticism but how much time have you spent in the South?
See below - there are tests, see

https://github.com/torchbox/wagtail/blob/master/wagtail/wagt... and https://github.com/torchbox/wagtail/commit/a77977a31cdfcdf95...

but we need more, and to make it more obvious how to run them. You're right that we have to do more to attract contributors. In the meantime we're offering t-shirts for pull requests...

https://twitter.com/WagtailCMS/status/432166799464210432/
If you're afraid of where the question goes, don't answer.
Like... named tuples? That's the nice thing about python, you're not restricted to using one data type. If you have a data structure that doesn't change, and speed matters, you can use something better suited to the task at hand.

Of course, you're not restricted to using one datatype in C either, but the constant comparison this article makes between structs and dictionaries is misleading. Comparing hash map implementations with dictionaries would be much more apt.
This is the key. Very often, the app is IO bound, and moving to C will make little difference.

This is one reason why I'm very excited about Python's new AsyncIO module in Python 3 only. It's asyncore done right, and is a great way to write network applications. I look forward to seeing what is built on top.
sure in a fantasy world where the weapsons arent used.
Yep, I've noticed that sorry to propagate a trend that isn't the best. I think it's because you can do quite a lot in an afternoon with Go especially if your learning, like me.
Assuming you haven't already, just respond to them with a well-reasoned argument why they should let it through as-is. It occasionally works.

I've done it before when they tried to reject my company's app because we were using a webview in one section and they felt it should be native. We were doing a bunch of other stuff behind the scenes though and I told them it would be cost-prohibitive to redo that whole section right then. They let it through.
I'd say it depends. There's lots of things that can really throw people through a loop. Maybe you are using an editor they aren't familiar with, or perhaps you don't have your environment setup for gradle projects. There's so much more to this that we don't know. I'm willing to give the benefit of the doubt.

A way to get around excuses like these are to encourage people to bring in their own systems. Explain that you know how your setup might be awkward and it's probably better if they work on something they are familiar with. Besides, during the pairing session, you shouldn't be writing too much anyway.
Firefox fanboi here.

I use my browser as a reading list as well. And I like it.

I have had epic browser sessions with more than 500 tabs, until I discovered the Max Tabs extension, that let's you set a max limit. I use 100 now.

The extension Bartab Heavy lets you load only current page on start and automatically unloads tabs after x amount time. Otherwise 500 tabs wouldn't be possible.

Furthermore I use Tree Style Tab extension, that put them on the left side. I got used to this in Opera. Still miss the Ctrl + Tab (IIRC) feature, that only showed the list when you tabbed trough them akin to Windows' Alt-Tab window.

The existence of these extensions sooths me a bit since it means I am not the only one with these bad habbits.

Good to see Opera still attracks new users.
This is complete bollocks.

http://www.osnews.com/story/25264/Did_Android_Really_Look_Li...
Why startups choose: Python or Ruby?
Be careful. Some people might take that as a threat.

My country has lost its damn mind.
So let me get this straight. You can anonymously send police a picture of text next to someone's name and have that person arrested?!
If you make your living as a programmer you most certainly want to be thinking like one. Those patterns, best-practices, design principles, preference for static typing etc. all matter when you are paid to develop systems that perform well, are easy to maintain, have few bugs and are delivered on time. If however you are not burdened by such obligations, by all means, go full cowboy.
How Expedia Uses Bloggers to Boost Its SEO Prowess
> There are some seemingly nonsensical parts to the agreement, especially the prohibition against distributing an SDK derived from the Android SDK. I'm having a difficult time imagining what harm that might cause.

as somebody who has had to deal with vendor proprietary SDKs for devices, I can assure you that only having to deal with one stock Android SDK that has not been tempered with by hardware-engineers under time pressure doing software is a very, very good thing.

This way the really ugly crap is contained within vendor specific SDK extensions (which can be abstracted away) instead of the crap being sprinkled all over the basic OS SDK which would require one SDK per device you're targeting and would inflict all sorts of bugs on you even when not touching vendor-specific parts.

In general, most of the terms mentioned in the article are, while being horrendous for the device maker, are very nice for both users and developers targeting these devices.

Yes, it's nowhere near "open", but also, yes, this ensures some level of quality for both users and developers.
People can change at human timescales. Businesses die at business timescales. Business timescales in technology are shorter than human timescales. So, lower downs could become higher ups, but not by the ship date.
Which they did when Comcast bought NBC.
By encoding the original URL in the key you can look up to see if a URL has been shortened already, and serve that.

Thanks for the info re scan I'll have a look and check my version of redis.
Do you mean CoinLab? Coinbase is an an unrelated YC backed company in California not involved with Vessenes at all as far as I know.
I actually agree with everything you write here. If I could re-write the post to include these points, I would.

I do think PyPy is very near to having full ctypes support, if they don't already.
Yes, absolutely! Our first principle for Wagtail is that it should in no way impede design decisions.

LESS is (currently) used for the admin UI, and the compiler / compressor is available to the front-end if you want it, but you can easily plug in your own compilers or use plain CSS if you prefer.
You're being very naive, Comcast has more control and access to government then 'we'.
I think the article stretches too far away the "think like a programmer" motto by including design patterns and TDD in there. You will have trouble learning if you do not think like a programmer, as in basic CS 101.

Thinking like a programmer is really near to mathematical thinking, just the basic stuff: logic, invariants and program correctness, in paper, and using pseudo-code. After a year one will be ready to throw that stuff through the window, not because it is not useful, but because it is already engraved on your brain and somehow, even if you do not use assertions at the start of your functions or do not write an invariant down for each loop, it will be there and will make your code cleaner and free of copy-pasted code.
Google Glass enthusiast: It's not worth the headaches
This article is from last November. The Google group response linked from the post https://groups.google.com/a/chromium.org/forum/m/#!topic/pro... implied many performance problems would be fixed within 2 weeks. I wonder how it's improved.
I'd have loved to read about your setup in detail, so that I can set up bitehype.com similarly. Care to share?
What are the specs of your Droplet?
For an audio app, I would really try and get a better microphone for the voice over and the demo audio. It would definitely help sell it.

Also, midi output would be a great feature.
I was thinking about deploying some Wordpress installations using Docker.
Can anyone recommend a good recipe or ideas to use Docker to deploy different wordpress installs on a VPS like DigitalOcean?
Write code for the fun of it: coding is really really really a fun activity, since you create something out of nothing. You don't need to show others that you are capable of coding. What you learned is part of you and even when you talk with your friends about other arguments, your background is part of what you say.

Most people will want to stay with you and have fun with you since you'll be able to: relax, make some joke, cook some great food, propose some activity to do. Focus on having fun with other people, it is your time to avoid thinking about code and programming.

I hate when people talk about programming to dinners or at the Pub. I took the habit of saying "Hey... I work all the day, no work talking now my friend ;-)".
Machine Learning & Energy Efficiency: Optimum Energy / Data Guild Interview
> Frankly, my moral and ethical code is quite different to what is legal.

Just an aside. This may be an incriminating statement to make, especially without anonymity. I don't know what it is like in Europe, but I doubt an American lawyer would feel well knowing that a client has littered the internet with weapons a future prosecutor could find online with a simple Google search for your name.

I'm not sure what the benefit is for revealing this attitude, even if you do feel strongly in this regard.
Show HN: We made Craigslist for the university that I will be attending.
Frameworks on frameworks on frameworks.
Future historian: the answer is no, we don't. (Just in case).
Redditor tears apart the current JavaScript thick-client landscape
I generally prefer SCSS to LESS as it's essentially a superset of LESS.

Relevant link: http://metaskills.net/2012/02/27/too-less-should-you-be-usin...
I had to do a pretty similar task in the interview process to land my current role. They provided me with an example of a poorly written program to parse the RSS feed.

Their example was using regex to parse. The first thing I did was rip it out. I think knowing when to use regex and when not to use it is a valuable skill.
This is probably a stupid question, why can't tier 1 providers (whom I suppose there are relatively few of and who I would expect to incorporate best practices) just decide to kill any NTP monlist UDP that ever crosses any of their NPUs?

Why would that not solve a large part of the problem?

Thank you in advance.
Response to edit: you may be right, I don't have time to do comprehensive benchmarking now. I never use ctypes on its own, but rather always with an external library. I assumed that the ctypes Structures in a ctypes array would be faster because its stored contiguously, but it's possible that is incorrect. I'll have to come back to this later when I have time.

I stand by my assertion that ctypes along with an external C library is a great way to do Python speed-ups. It's very simple to do, see here:

http://www.jiaaro.com/python-performance-the-easyish-way/

This is the kind of optimizations I usually use ctypes for, or for interfacing with a third-party shared library.
I know and I agree, but I feel tests often cover the wrong thing, or what the developers feel is most important. Unit testing libraries within the system: great. Leaving the rest: not so great. Or aiming for 100% code coverage: uggh.

Playing devil's advocate here: Testing the system throughout to ensure components play nicely together and that functionally the system works as expected - this is in my opinion more important than unit testing.
It froze right as I was defeating the first character.
Last friday night
Anonymous naughty dancer
I recently spoke to a guy who sells swaps for a major investment bank.

The basic idea is that he comes up with some trading strategy, and writes the code that computes the profit/loss associated with that strategy if it was executed at market fixing prices (typically the market open or close each day).

The bank sells a total return swap on this strategy, which means that in return for a fee from the client, they pay the client the stream of profits (or losses) each month that would have resulted from trading this strategy. Behind the scenes, the bank trades the strategy (or something like it) in order to hedge the risk associated with the swap, so that they can earn the fee approximately risk free.

There's an obvious problem with this, which is that the client basically has to take the bank's word for what the profit/loss of the strategy is. To counter that, the guy who came up with the strategy now has to write a 100+ page document in legalese, which outlines exactly how the profit/loss on the strategy is calculated. This has to be sufficiently detailed that someone couple re-implement the code themselves to check it. The guy I spoke to said that this documentation takes up >50% of his time.

I'm sure everyone here will appreciate how incredible it is that a bank will pay someone six figures every year to spend more than half their time writing documentation that literally does nothing more than reproduce a piece of code, except about 50 times more verbosely.

Different symbols, but it doesn't mean anything.
America is so backwards. Why not just pay your restaurant staff a reasonable wage. I hate the dishonesty of the pricing when you are expected to pay 10 -20% more than what you see. Who benefits from this system?
This is some solid advice, thanks!
Checking weather forecast twice a day is required for me.
Are there any developer docs? How extensible is it? How we do integrate 3rd party apps into the wagtail admin?
> I'd say it depends on the occasion.

But the "occasion" was not allowed as evidence (context of the posts).
I optimized the sites on the 512MB droplet for a few weeks (mysqltuner, nginx configs, plugin selection) and then recently stepped up to the 1GB RAM. The admin pages were chugging a little, especially with commerce plugins in the mix.
As it happens, the predictive search already returns JSON, but we don't have a general purpose API yet. It's on the list! Pages are just plain Django models under the hood, so Django REST Framework would be a good fit.
Weekend Posts Get More Interactions On Facebook
The Net Neutrality Loss Is as Bad as the SOPA Bill
I moved from AWS to DO and find the price performance much better for my WP sites. Whatever you do don't say that DO is better that AWS on HN or you will lose karma points from grumpy AWS admins. Of course AWS has better security and many more features but for many uses it's simply too slow and too expensive. Plus when is AWS going to make a GUI for its scaling tools?
OMG. 21000$/year? Are your kidding?!

Welcome to the former USSR:

civil aviation pilot: about 200,000 - 300,000 russian rubles monthly (5700 - 8500 $ / monthly). Aeroflot pays even more. (http://otvet.mail.ru/question/89104947/). 68000-102000$ yearly. And that's after taxes.

Dictatorship Belarus: 7000-8000 / monthly (84000-96000$ yearly). After taxes.
(http://charter97.org/ru/news/2011/12/6/45448/)
If the data was formatted like this:

<outer><inner>1</inner></outer><outer><inner>Content: This is some random content. Value: 500 SomethingElse: 23423</inner></outer>

and the problem was to extract the value, the somethingelse and the content, then a regex using extractors would probably help a lot.
Looks really cool.

I'm not sure if introducing inversions in the more advanced mode works for me: without a piano keyboard in front of you the concept wouldn't make much sense to a beginner. So the basic mode sounds kind of jarring as you jump around first inversions, I think I expected to hear a bass note and then the triad being the closest inversion to the root chord.

Just nitpicking though, congratulations on building this :)
Looks really nice.. I can't wait to pull and try it out. Just out of curiosity: Is the marketing site also built using Wagtail??
A Go webserver shouldn't need supervisord. If the program is crashing then that's a sign of a more serious exception which needs to be fixed (eg unsafe global variables) as most other exceptions will just force a stack dump but keep the parent process running.
That seems like a great idea, although it could become a slippery slope.
Oh, that's fantastic. Even more information at http://modern.ie/