skysight-inc/HackerNews huggingface dataset:
تحقيق صحفي/ القصر الملكي في الكوفة يستنجد لاستعادة هويته الضائعة / حيدر الجنابي
The CTFs I've played usually had a good mix of web stuff and binary exploitation.

Also, the best way to learn this stuff is to do it. Even if this seems out of your league, I'd suggest to just join a team and start playing - if that kind of thing seems interesting to you.
As someone who has had to maintain other people's code, please use an ORM. Usually the biggest thing to fix is a person didn't select related rows and ends up doing hundreds of queries inside a for loop.

Now the hand-written SQL people leave in SQL injection possibilities. They build up complex queries with crazy string concatenation. They either have no or a shitty data mapping layer (I mean, I really enjoy having to look at the database to figure out what fields select * from articles returns).

Obviously there are going to be queries outside of what any normal ORM can do, but every ORM I have used gives you an escape hatch to just write raw SQL when needed.
I was asking about that in another thread. Do you have any references about you N/p rule of thumb? Thanks in advance!
I remember, when Py3 first came out, everything was incompatible -- unnecessary incompatibilities like the u" notation for Unicode string literals that was dropped. Unnecessary incompatibilities in the C-extension-module implementation layer. And so on. The list of incompatibilities was just huge.

Later several of them where dropped, like the string literal trouble ... But than the trouble was already done. Many extension modules where not lifted to the new version, since the overhead was to big.

I think, many more projects would have adopted Py3, if more extension modules would support it.

The huge library of extension modules was always the strength of Python. Now we have many projects still running on Py2, because Py3 did ignore this strength.
I don't know if Android has the feature where you just tap the status bar to scroll to top but iOS does. With that feature I'd rather nav bars just stay at the top of the page, I'll just tap the status bar if I need to get back up there, which is almost never anyway.
I say we permanently join #hackernews and idle there if we want to gain any kind of momentum.
Must have been nice back when science was just making up fun stories like the one linked.
The author didn't really give any concrete examples. What kinds of major Python libraries still need to be ported over to Python3?
I'm confused by this title and the article here.

The graph in the linked shows that "Apache is used by 60.5% of all the websites." while nginx is at 20.7%...

How could these numbers possibly mean that nginx has replaced Apache as the most used web server? When is 60.5% more than 20.7%? IS it opposite day?
I worked on the licensing and IAP SDK's so not 100% about these features. It's a holiday in the UK today so I'm guessing it won't be an instant answer as usual.

I'll ask the question also, if those portions aren't ready yet I'm sure they'll be in the works though.
Blossom now integrates with Slack
I was hoping to read about a usability study done when I clicked the link. I do agree for blogs and articles but for web apps I'm not sold.
P.S. "rely on DRM on the walled garden of the Kindle store to lock consumers onto their platform,"

This is also nonsense. If your Kindle books are DRMed it's because your publisher insists on it. It's a checkbox in the publishing portal. Amazon doesn't actually care if you add DRM or not.
> You don't need to know a lot of advanced math... Google has developed a self-driving car. IBM’s artificial intelligent system, Watson, has defeated human champions on the quiz show Jeopardy.

Selling computer science as needing little math, then excite the reader with applications that are literally swimming in math.

Here's the truth: if you want to be in the group of people who make breakthroughs in technology and computer science, you're going to need lots of math.
I've never really understood these claims that Python 3 only offers minor improvements over Python 2. Some of the improvements in Python 3 are quite significant: the example that comes to my mind first and foremost is that strings are now Unicode by default. These days you should really be using UTF-8 as your default encoding right across the board (the only exception being when you have to interact with legacy systems), and any language that doesn't make it so is quite frankly a deal-breaker as far as I'm concerned.
Nice work releasing your FE environment setup; couple of questions:
"The most used preprocessor with a kick-ass mixin library"
Is this true? I haven't looked for actual numbers, but most FE devs I talk to use sass. We use node-sass + autoprefixer and it compiles orders of magnitude faster than compass+sass and means you don't have a dependency on ruby (or php like Less). Also, gulp is much faster than grunt which is especially noticeable on large projects.
Yes, exactly. The bugs have now become features that people depend on, and thou shalt never fix them. It's a horrible lesson, if you ask me.
It's a tempting hypothesis - it does feel instantly plausible if one has a decent grounding in ancient literature and history. But as others have said, short of building a time machine and kidnapping an Etruscan farmer... how could we ever disprove it?

Come to think of it, even that wouldn't do it - testing one farmer wouldn't tell us anything about his compatriots and rulers.
Yes. I forgot to mention that. Thanks!
There is a history article [1], but essentially, the founding developer made the MTASC AS2 compiler back in the day before making Haxe, and the SWF target (AVM bytecode) was the first target Haxe supported. To this day it remains popular with the 2D games market (ex-flash). The OpenFL [2] framework promises (with mild success) to give you the Flash API with the Haxe language on native targets. So flash still is part of the Haxe community, though less and less it involves the actual Flash Player runtime.

Personally I do web development in Haxe, using Neko or NodeJS on the server, and JS on the client. I've toyed with the Java and C++ targets, but so far haven't had a single project which compiled to Flash. I find the language on it's own has a lot of features that are appealing outside of the flash environment.

1: http://haxe.org/manual/introduction-haxe-history.html
2: http://www.openfl.org/
The thing about this is that there is, as far as I can tell, no good solution for the fact that it can take a long, long time to return to the top of a page with a lot of text on a mobile device. If I read 3/4 of a lengthy story on my phone and I want to navigate somewhere else on the same website my only practical option is to revisit the main page of the site and start navigating from there.

Do any mobile browsers have a "return to top of page" function? My keyboard has a "Home" key, my phone does not.
The solution presented there is the same used by Google Chrome on Android, it might surprise a totally new user, but one gets used to it pretty fast. Seems like it's the best solution all around.
nothing wrong with a little conjecture as long as you are aware that it is conjecture.

this has certainly made me want to read the book.
On reentry the tiles burn and degrade, and thus had to be tested and replaced on Earth if necessary. They are all numbered with serial numbers that uniquely identifies them and their location on the surface of the shuttle [1]. Like a real life hash table ;)

Smaller tiles are easier and cheaper to replace, and thus the uneven look.

[1] http://artifacts.nasa.gov/tile_serial_numbers.htm
Actually, a monopoly should remove problems like these. If Amazon is the only firm, it will bear all the costs if fewer good books come out in the future. Therefore, it has an incentive to create an ecosystem that maximizes it's long term profit.

For example, think about fishing. If there are lots of fishing boats they will tend to overfish. They can't leave fish in the ocean to reproduce because other boats will catch them. If there is just one boat (or all boats are owned by the same company) it will take out the optimal number of fish so that the fishery remains healthy and pays the highest dividends in the future.
The energy costs of melting snow are huge. It's done frequently for small areas (private driveways, parking lots) where cost efficiency isn't a concern (the wealthy) or where heat energy costs are very low (geothermal sources, i.e. Iceland).

To do it on a wide scale would require ridiculous amounts of energy. I guarantee that nobody would be prepared to foot the bill for that, and these solar panels are highly unlikely to produce even a tiny fraction of the amount of energy required, unless you amortize their production over a longer period and store it somehow.

Unfortunately, it's not just a "little more costly", it's massively more costly, to the point where it's just not a good idea.

http://www.concretenetwork.com/concrete/snow_melting_systems...
So you went from " if the team behind an exchange isn't capable of dealing with the complexity of individual, segregated wallets, you have to wonder whether they're competent enough to run an exchange in the first place" to "that inherent inefficiency"? Which is it, an inherent flaw in BTC, or ineptitude on the part of the exchangers?
So, here's something that I want as an occasional reader. I want a service that'll let me buy a different small-ish bundle of e-books of various genres every week/month/whatever, Humble Bundle style. I've had a look for such things, and haven't really found anything which does it properly.
+1 for client-side encryption in general^^.
Commonkey and Keystok.com both work well, CK just has a nicer UI and Keystok a better API.
>What are these "extremely onerous terms"? There aren't any. They will pay you 70% of retail, on time, every month.

No they won't.

70% royalties is only available if you sell your book for less than $9.99, otherwise it drops to 35%: https://kdp.amazon.com/help?topicId=A301WJ6XCJ8KW0

That's what you might call an "onerous term".
There are different statistics with different methods and outcomes. For example the netcraft server survey over 975,262,468 sites shows a market share of Apache: 37.58%, IIS 33.41%, nginx 14.60%. Source: http://news.netcraft.com/archives/category/web-server-survey...
Show HN: Compiled front-end dev resources
I don't actually see a chat here, even after requesting and following the link in the invite confirmation. Am I doing something wrong? If not, and this is not actually live right now, could 'gianluka put "Coming Soon" or similar text on the landing page? Less confusing all around.
This is exactly how Chrome for Android works with its toolbar and I think it works very nicely.
In my experience, the lack of support by common libraries is not nearly as bad as the author claims:

http://python3wos.appspot.com/
Expenditure reduction could be more important than you have yet considered, and give you more future flexibility in your financial and emotional life: assuming you save the money not expended, which is its own learning experience, life practice and meditation.

You could have a twenty-year mortgage for about a percentage point less interest, and for a mere 250 dollars a month more payment, a mere 5% increase of your present monthly expenditure. By paying down the loan 10 years sooner, you may expend an additional $60,000 over 20 years paying the loan off, and also avoid later expending $180,000 for years 21 through 30, for a net reduction of about $120,000 at the end of 30 years (in the variable value "current-year" dollars).

You also could decide to own the house outright now, debt free, and save a mortgage expenditure of $1,500 a month for a reduction in expenditure of $540,000 over 30 years, and still have $200,000 cash reserves today.

Investing a stream of avoided mortgage payments of $1,500 a month -- $18,000 a year is equivalent to creating a 30-year investment/saving program. Assuming a not-so-great three percent interest on that program, you would have around $850,000 in hand at the end of year 30, in future (inflated) dollars. You could probably do better than that in investment return, and learn more along the way slowly, with less risk.

All of this points to $500,000 to being not much money, and the rest of your life activities and financial choices might have a far greater influence on your possibilities and life flexibility.

The money you could save in expenditure reduction, and equally importantly set aside for investing, might be a more powerful financial and emotionally freeing future for you than investing the $500,000 lump sum you have now.
Yes, but the coding part is usually the easiest party about being a programmer. All the other skills and knowledge you mention are what makes me far more valuable than when I started 14 years ago.
well, that's kind of an issue with consciousness - it's so meta, and intangible.. sort of like trying to guess which OS a machine was running, just by looking at the CPU.
If "deprecated" allows a very long period of time before actual end-of-life, yes; Python 2.7's current scheduled EOL date is 2020:

http://legacy.python.org/dev/peps/pep-0373/
I love this idea. I suspect it is utterly wrong, but it is wonderful speculation nonetheless.

Both Snowcrash by Neal Stevenson and Distraction by Bruce Sterling make good use of some of the concepts from it, so even if it is wrong, it has helped in the genesis of some great fiction.
If they fear being left alone against amazon, why don't authors use their union to start directly collectively bargaining, or even starting business activities together ? In a world where a book store is just an app, there are a lot of opportunities open to authors, and they really hold the power in the book market, at least with regards to ebooks.
Android doesn't have that by default, you need an app for it, and I'm pretty sure you also need to be rooted. Definitely not something you can depend on users having.
Funny. In my experience it's been the difference between working on the problem, and working on 12 different files each full of several page-long functions (either containing raw SQL strings, or string fragments to be assembled based on arguments passed in).

Then, out of the 6 months you save by not-doing-that, you spend about 6 days dealing with bad performance, ORM bugs and limitations, and like matters. (And the bad-performance areas are the ideal place to put in your choice of raw SQL.)

But your project may have different needs. Depends on how many tables you're managing and how many different ways you need them and how easy you need the "get me a test object for my integration test" to be.
Why is this link so highly ranked on HN when it leads me to a page which simply links to another page?
This was my first adult pop-sci read. A little bit thick but after middle-school me read one crazy science book I went on a tear: Richard Dawkins, Steven Pinker, Dan Dennett, Hofstader, and never really stopped. Fun to wake up and see it on HN.
"Creeper" nav bars (an appropriate term, I think) are partly a consequence of mobile devices not letting you instantly jump to the top of a page. Mobile devices should offer a snappy, intuitive way to jump to the top or bottom of a page.
Meet UBR-1, a robot that can stock shelves, work alongside people
I don't know what mobile phone you use, but on iOS tapping the status bar scrolls back to the top of the page (or anything else that scrolls in the system).
> You must have a, ah, very narrow conception of what a lie is.

I'm quite aware of all the various types of lies people tell.

> The most common substantive lie, I think, is the "tell them what they want to hear" lie.

No, I don't tell that kind of lie either.

> "how are you?" Quite often, I will say "fine" even if it is a lie.

These really annoy me, because it's a waste of time. It conveys no information. Worse, it can encourage burring problems under a facade of being "fine".

Again, I understand that most people habitually tell "little white lies". That doesn't mean everybody does.
The problem is not only Unicode.

If it only where for unicode, the problem would not so big. But they seemed not to bother at all about backwards compatibility at all in the first Py3 version. Later, they did try to change some things, that unnecessarily(!!) blocked adoption, but many projects already decided to ignore Py3.

I guess, you don't mean what you said in the last paragraph? Was it just a joke?

Unless you can replace all libraries that exist only as Python 2 version, you can not move -- you can use zero Python 3. That is a huge problem to real projects -- of course, if you only have some University (educational) - projects, all is fine and you can play around as you like.

Also there is the problem, that it is not trivial to have Python2+3 on the same installation. Most Linux distros still run with Py2.
science has always about taking random guesses (some less random than others) and using evidence to determine wether those guesses are true. perhaps this makes no falsifiable claims. maybe it does, but we have no means to test them.

sound familiar? string theory.
For those of us who don't follow this discussion in detail, why are you thinking the protocol needs to be scrapped outright rather than modified? Is it simply the complexity Greg Wilkins mentioned or are you really thinking about bigger philosophical changes like dropping cookies as we know them? Dropping HPACK seems like a great engineering call but that seems like a relatively minor change rather than starting over.

http://lists.w3.org/Archives/Public/ietf-http-wg/2014AprJun/... made me wonder what your standby plan would be – let the people who really need to care about performance use SPDY until a more ambitious HTTP 2.0 stabilizes? One of the concerns I have is that many people want performance now and it seems like HTTP 2.0 might turn into the next XHTML if it takes too long to emerge.
A classic. I remember when my english teacher first mentioned this. It was a first step towards the much larger world of hypothetical neuroscience.
For me, the ideal solution is just get rid of the fixed bar, and have a clickable menu drop down.

I don't want a page to analyze every of my behaviors and try to predict what I want to do. Sometimes I just like to scroll up and down to look for stuff, and I don't want some bar flashing in and out.
Right. Breadcrumbs and/or nav bars on apps are nice.
I'd always thought Financial Times was a very decent news journal outlet, sure a little right-inclined but generally trustable much like the Economist. I thought they wouldn't be up to dirty tricks, then I saw the image they used for the Piketty article: http://www.ft.com/intl/cms/s/2/e1f343ca-e281-11e3-89fd-00144...

They deliberately used that image (scratching his head, looking confused, etc.) to paint a certain narrative. That's just a really low way to go.
While I think this book has a beautiful premise, even 15 years ago when I read it, falsifiable parts already had been falsified from what I understood before reading it
That depends. Use a well known library in Python or Perl, and they usually are well documented and tested.

Now choose some obscure JavaScript library from Joe Random on github, and what you say is probably true.
Depends, but from an application and development perspective, which I'm sure most are assuming here, no. If you can remove nginx and still serve your site/application, then nginx is not your web server. If nginx is acting as a reverse proxy or a cache, then that is all it is.
Technically it has taken cues from ActionScript (which is also an EcmaScript language).
That N/p rule of thumb is ultimately subjective, except for the fact that when N/p < 1, you can't use OLS anymore (because there is an infinitude of zero-training-error solutions). It depends on correlations of predictors and signal/noise ratio as well. Those are just approximate guidelines.
Run don't walk from a cofounder who refuses vesting. Vesting is non-negotiable. This is the easiest and most painful formation mistake you can make with a new venture.
I'm not sure where you're getting these ideas, but I'd venture to guess that you don't actually believe in the things you're attributing to other people.

You could find plenty of guys willing to defend sports on their own terms. I don't think, if you let them talk for a day, they'd come out with anything like what you're putting in their mouths. I do think the things they'd tell you about sports are plausible enough as the "real reasons" they're fans. In my (admittedly not deep) experience, analysis of the action is a big thing. Criticizing the performance might rise to the level of a minor phenomenon. People are perfectly happy enthusing over great things that their heroes have done.
So you want a Humble Bundle, but for books? Maybe they could call it the "Humble Book Bundle"! And maybe they could give it a humblebundle.com URL too!

Oh, it already exists...

https://www.humblebundle.com/books
A little late, but my post is in comparison to Cleveland, OH where for the same prices you could get something much nicer. I would also have many more living options available in Cleveland proper compared to the few areas in Detroit proper worth living.

I will say that if you are moving away from a coastal area then Detroit is pretty cheap and has some interesting things to offer. However, being from Cleveland I can enjoy the positives of Detroit with a 2 hour drive without having to live there.
Smalltalky Control Structures in Objective-C
Every 5 years the concept of the application port will be re-invented at the higher level of the stack.
Kevin Rose sits down with Jackson Palmer the founder of Dogecoin
Stross is almost certainly getting 15% or less from his publisher, so no, 35% isn't an "onerous term".

The Kindle editions of virtually all of Stross's books are less than $9.99 anyway, so this doesn't even apply.
Great! So they can add a full blown ALTER. But so far, the only indication we can get is, "never".
Aside: Is there a way to detect that happening in JavaScript? Just thinking that detecting the user doing that and then showing the site's nav bar again would be groovy...
This is hands-down the best introduction to monads:

http://blog.sigfpe.com/2006/08/you-could-have-invented-monad...

It starts with some motivation, then gives some specific examples, then generalizes to monads. It gave me a TON of insight about monads when I was first starting out, and I'm genuinely surprised that it doesn't get mentioned every time the monad discussion comes up.

Monads are so difficult to approach because they're so abstract and general -- all the theory in the world won't help you understand how they're useful. Once you've got the basics, the only way to grok monads is to use them. The IO monad alone is a good start but it's not enough. Try using a bunch of them to get a feel for what they have in common. The Maybe and Error monads come in handy a lot.

While most tutorials introduce monads with return and bind, monads can also be characterized by fmap and join. I'd recommend learning about that as the next step towards monad enlightenment. It helped to give me more insight into what a monad is, conceptually speaking. It's not strictly necessary but I found it interesting and helpful.

As an aside, if you find yourself struggling with Applicative Functors, try playing around with Elm [1] (Signals are applicative functors, and the <~ and ~ operators are the same as Haskell's <$> and <*> operators). That's what did it for me :)

[1]: http://elm-lang.org/Elm.elm
Agreed, Python 3 is in almost all aspects better and I really prefer 3 over 2. Most of the bigger 3rd libraries are already ported, at least all the ones I care about.

Numpy seems to be the biggest issue for most, but I guess it must be in some special area, I never found a need for it doing web development.

The unicode support removes so many of our problems, although I can understand the issues strings vs. bytes that a some people run into.