skysight-inc/HackerNews huggingface dataset:
Hmmm. Interesting. Wonder if it will survive. The old one didn't http://meta.stackexchange.com/questions/214315/what-happened...

The old one did get rebooted as http://www.brightjourney.com/ - but since they never clarified their content licensing http://www.brightjourney.com/q/licence-user-generated-conten... I never tracked it.
I just found out yesterday Chrome has one as well https://chrome.google.com/webstore/detail/chrome-dev-editor-...
Ask HN: Developer portfolio?
Hi HN,

I'm thinking of working on a "portfolio as a service" for developers as a side project and I would like to get some feedback.

I've always wanted to build a small personal portfolio website but the thought of having to constantly maintain it has kept me from doing so. I know there are several portfolio services out there but personally I have yet to find one that suits my needs. Most services seems to aggregate data from various social sites and automatically build my page. By doing so they basically duplicate my LinkedIn profile without adding much additional value. My hypothesis is that there are a few key elements missing that would be especially useful for developers:

1. Timeline-based. Instead of having a static page with a list of skills and projects I want to understand how the skillset and interests of someone have developed over time. What did you work on 5 years ago? 1 year ago? How was that influenced what you are interested in now? You may have a lot of Java projects on Github, but if you haven't touched Java code in 5 years there probably is a reason for it. Even though sites like LinkedIn and Github contain some of this data it usually isn't presented in a temporal manner.

2. Incorporating real-time data such as commits, posts, comments, etc into the profile to get a true sense of who you are and what you are interested in right now. Think of aprilzero.com, but for developer/professional data.

3. A project showcase. I think this is a pretty important (perhaps the most important) part of a portfolio, but hasn't received the proper attention on many portfolio sites.

4. It should be beautiful. If I use such as site as part of a job application I want it to look good. This may go without saying but many of portfolio services I looked at were not aesthetically pleasing enough for me to consider using them.

What are your thoughts? Are you using any portfolio websites/services? Why or why not? Would appreciate any feedback.
I disagree strongly with that.

Penlight is the closest thing there is to a Lua standard library (loosely modeled after what exists in Python). It is maintained by Steve Donovan who is one of the most active members of the community and the author of http://www.luafaq.org/, LDoc and lake.

Having contributed to Penlight myself I can say it is certainly not poorly maintained compared to most other Lua projects.

I agree, Penlight is not the best at everything it does, and it probably does too much (which is why there is microlight), but it is still a tool most Lua users need to know about.
Stanley Kubrick Photos
I prefer https://www.openshift.com/ . It's free for small apps.
My point is that none of the features are modern.

Comparing a later version of language to an earlier one to measure modernism seems rather pointless.
I am aware that some men are single parents. I was assuming readers had the ability to follow the context of the discussion.
I always wandered if someone would make that into a movie. Maybe something for a kickstarter campaign?
"If the code compiles without error on the new type, then there is a good chance that there is no need to worry about it"

Yeah well I'd rather not rely on 'chance' - if I would, I wouldn't be using C++.
The Suit is Back!

http://paulgraham.com/submarine.html

I wonder if we should start putting [Advertisement] tags onto submissions like this, in the same way we do for Videos, PDfs, YC submissions, and old blog posts.
Science is but a perversion of itself unless it has as its ultimate goal the betterment of humanity. - Nikola Tesla

Does this not nearly amount to "population-scale mass surveillance algorithms"? Do people not feel this is accelerating negative social impacts of technology?

Is it merely a coincidence that winning teams include many from countries criticized for their totalitarian social contracts: Hong Kong University of Science and Technology, National University of Singapore, Microsoft Research China, Southeast University (China), Chinese Academy of Sciences? There's also a presence from Holland.

Oh, and guess who won the category "with additional training data"? Google.

Come on people, we can do better than this! SHAME SHAME SHAME.
Don't forget D
(49 CE)
The usual way to earn with a blog
I understand static type annotations would be an extension to current Python semantics, it would require a flag such as "my type annotations are correct and please use them for optimizations" (this idea really only makes sense if PyPy can assume the annotations are not wrong, otherwise the arguments against this idea are just trivial). TypeScript is doing something similar for Javascript; it extends the language but is a strict superset. Type annotations can work together with JIT optimizations, because the annotations could simply provide a better starting point for JIT, requiring it to infer less, and perhaps providing information which would otherwise not be inferred from running the code. PyPy would still need to specialize further, e.g., from Int to int64 as you say, but already knowing that it's not float or str or list already seems useful.

Gradual typing is relevant in this regard, which makes it possible to combine static and dynamic types and do type inference. See e.g. https://github.com/tomprimozic/type-systems/tree/master/grad...

Now of course PyPy may hold the position that it's going to eschew static types on principle, but then it's a matter of ideology, not a technical reason, which causes these type annotations to "never have any value for PyPy".
Angular directive for giving an interactive tour of your website
The real problem with defaulting to virtual isn't the vtable pointer, it's the lack of inling.

Not being able to inline a method like (from vector)

T& operator[](size_t pos)
{ return data[pos]; }

Would kill performance.

In languages which do run-time optimisation you can inline such methods later, but in C++ that's not possible and proving when you can de-virtualise a method (which most compilers do) is very hard and often fails.
Since the developer(s) is/are anonymous - why would they need any elaborate way of telling people this? They could just state that they consider the code compromised and advise not to use it anymore.
Being European, I've never heard of a legal system where debt from legal procedures accumulated for being unable to pay it. America Land of the Free indeed, as long as you can afford the freedom. Unfortunately the bad ideas propagate - my country's government has recently created a similar system of fees for legal services, but here at least the lawyers and judges associations have protested it as immoral; and, at least in principle, fines should be proportional to the capability of people to pay them.
> MFC was the vilest, most horrible abuse of C++ from the day it was released.

MFC's greatest benefit was that it made returning to plain win32 C programming without MFC a pleasurable experience.
It's not something new, actually every language course has a lot of tables where words turn into another word forms.

And it's not called deconstructing, just morphology that you learn. Studying English yields some tables too, mostly for temporal forms.
Kind of sounded like you are going to learn Finnish after forever.
Your replacing what 'f' is bound to; this would include replacing any type annotations, and triggering any system that relies on type annotations to drop/reset its optimizations for 'f'. You're not actually rewriting the original function to return something different; this would probably also be possible, but would be considered as even more of a dirty trick.

It is unfortunate that such dynamicity is the default in Python, when in reality it is rarely needed. So it would be advantageous to be able to tell the optimization system: this function is not going to change dynamically (on an opt-in basis).
Untrue. This assertion is based on conflating the European Arrest Warrant (issued post-haste with probable US involvement) with inflated accusations with no grounding in evidence with the actual reality of the case. See http://justice4assange.com/extraditing-assange.html#ALLEGATI... for an explanation.
For what it's worth, I wrote https://lua-toolbox.com/ (a website referencing all Lua rocks which users can endorse).

A search engine will allow you to discover tools you are looking for, but sometimes you do not know exactly what to search. There are way fewer Lua modules than e.g. Python or Ruby libraries so exhaustive lists are still manageable.

Also, sometimes you want to know what people are actually using. A bit of "social proof" is always good when you are looking for Open Source libraries.

There is more to say about this and the Lua modules ecosystem, which is why I gave an entire talk about that topic at Lua Workshop last year http://files.catwell.info/presentations/2013-11-lua-workshop... :)
I don't think that's entirely true.

There are many tasks where the current levels of accuracy are sufficient (eg, registration plate recognition), and as recognition slowly improves more and more tasks become possible.

Pete Warden has written extensively on this topic[1]. His "hipster detection" algorithm is quite inaccurate by any conventional measurement, but is accurate enough to be useful.

[1] http://petewarden.com/2014/07/31/how-to-get-computer-vision-...
HOAs sound totally messed up. How do they have any legal power?
C++ is no faster than any other language, it's the code that is written which is measurable.

The real wins in performance for real world applications are in terms of algorithmic complexity. A poorly implemented solution in C++ will still be slow, the language does not make it fast.

Any micro optimization you can make with C++ will be an order magnitude less significant than O(log n) vs O(n).

The likes of Janestreet will likely need high performance software yet have great success with Ocaml for example, which incidentally can be very fast.

Just saying C++ is fast does not make programs written in C++ actually fast.
The Other Side of Work. A Logline. A Synopsis
Lightweight threads are missing, as are tail calls. Both (especially the second) prevent C/C++ from being a viable target for functional compilers.
This is something I've never understood about the US, that people collect their post from unlocked boxes by the roadside instead of a lockable box on the wall or a letterbox in the door. Is there any specific reason, or just tradition? I would never be comfortable leaving my post lying around for anyone to take; you might as well write your bank details, name and date of birth on your wall.
How can you not use manual memory management in C++? Say you're writing a compiler, which uses a quite complex, possibly circular, graph structure of objects for its AST representation. You can't use SharedPtrs (cycles), can't use UniquePtrs (sharing of graph nodes), can't use RAII (unpredictable lifetime). I see no better solution than a GC.
It depends where the money goes to now. I doubt that he'll just keep it.
in what cold, clinical terms could the parent have expressed him or herself so that you wouldn't accuse him or her of dramatizing the situation?

Their fear is the result of the analysis explained earlier in the post. A negative outlook on the proposition after analysis seems anything but 'dramatic'.
Early C++ implementations used setjmp/longjmp to support exceptions, and then each try block would lead to settting the setjmp context. So there definitely was a runtime overhead, even with no exceptions thrown.

I don't think it's very popular today. Modern implementation don't use this anymore and do not incur run-time overhead when no exception are thrown. However, they do incur some space overhead: the implementation need to maintain pretty large tables to know what needs to be unwound (which destructors to call, in which order) when an exception is thrown. In most environment this space overhead shouldn't be a problem (PC, server). But for embedded development it may be a problem. And then disabling exception to save space brings back the issues with error checking (or the lack of it...).

For more details, search for C++ exception implementation and you should find all the info you need. Or look into G++ documentation for example, this topic is covered somewhere.
If it is very similar, it shouldn't be patented as it's public domain technology.

You should definitely submit this to the USPTO as a prior art they may not have considered. They are able to re-open examination for this sort of thing.
Electromagentic Field – UK hacker camp next week
Munich considers switching back to Windows and Office
Because no criminal can ever be reformed, right?

If they're released, it generally implies they no longer pose a threat, and are monitored if not the case.
The English language is a nonsense.

For example, “Black box”:

In French this would be called a “boîte noire” or literally a “box black”. This seems more logical as first you identify that it is a box you are looking for, secondly that it is black.
Spies Like Us: Germany Spies on Allies, Too
When is "Login with Facebook" ever not a scam?

I agree it's a good marker for "This site probably shouldn't be trusted with personal data" though.
Having googled a bit, I still think what I wrote is correct. Judging by the downvote I guess at least one person thinks otherwise. I'd be interested to know what the situation is, if it's not that.
Am I the only one who immediately wondered how Atom was doing when seeing this article? :D
How are neighbourhoods defined? What are the areas based on?
"cost advantage of fission" -- you state this like a fact, but it is actually a subject of much discussion.
JQuery down for 12 hours
The funny thing being that the impetus for a lot of people moving to Sublime in the first place was that happening to TextMate 1.
In many (most?) OS X applications you can right click the toolbar and chose "Use Small Size". Perhaps so in this app too...
That would be the Daily Mail whose Richard Littlejohn wrote in March:

> There are currently a number of cases in which an assortment of

> unwashed dopey birds who slept with undercover officers are seeking

> compensation, even though no force or coercion was involved.

>

>Oh, do grow up.

http://www.dailymail.co.uk/debate/article-2580603/RICHARD-LI...

and in 2012:

> It sounds as if the women were well up for it.

>

>And, anyway, have you seen the state of some of these birds, caked in mud, looking

> as if they haven’t been near a bath in months?

>

> Having sex with them is nothing less than heroic, way beyond the call of duty. It’s

> a dirty job, but someone had to do it.

http://www.dailymail.co.uk/debate/article-2081428/Abdullah-M...
Ask HN: How to develop the creative side of brain?
Entrepreneurship is as much as problem solving as coming up with creative solution. How to bring that side of brain to use, and to further grow it
Is there a binary somewhere?
Know What To Do When Pursuing Affiliate Promotion
> How did your Windows XP upgrade go?

About three weeks of frustration, but now I'd never want to go back. As a developer, Linux is so much more flexible.
How will David Cameron's online music video classification system work?
For the ubercool interactive charts, you need to install the Adobe Flash Player
I don't really understand this notion -- I usually get this kind of question from Americans: that if you consent to something, it makes it OK, regardless of the circumstances under which you gave your consent. I think this ideas usually comes from people playing life in "easy mode" (white, well educated, middle or upper middle class), that have never been forced to consent to humilliating or exploitative demands of the kind billions of people often have.

If I burn down your house (and kill your cousin and your Jew neighbors), and you or your kid, starving, accepts to come work for my company, and I treat you like shit on top, that doesn't make it OK in my book.
'Video-less' 3D games developed for blind players
> The real wins in performance for real world applications are in terms of algorithmic complexity. A poorly implemented solution in C++ will still be slow, the language does not make it fast.

Yet a well written implementation in C++ will still be faster than an equally well-written implementation in, say, Python or Haskell or whatever. Not in an asymptotic sense, but easily by a factor ranging between two and 200. For me, this can be the difference between waiting a couple of weeks or half a year for some computation to complete :)

> Just saying C++ is fast does not make programs written in C++ actually fast.

Of course not, but C++ makes it possible for programs written in C++ to be fast.
Is it just a troll or did you really upgrade from Windows XP to a Linux distribution at your office recently?
How to focus on usability when we design UX/UI?
Yes, you are right. That's also a problem. I didn't think about that one.
This is why I keep coming back to HN. Everyday I find weird and wonderful surprises on the front page.
Defrozo got updated
But if we win, how will we fit newness into the world?

Old men should die, their children should be allowed a tilt at creating a better future for themselves.
As we promised, we’re adding new features and updates to Defrozo. Wonder what’s in the box? Here we go! Client Galleries, new themes and more.
Sure, but OTOH. doesn't it strike you weird that allegations of past sexual "crimes" pop up exactly at the moment he pissed of the US Government the most? Why not before?
Ok that's interesting. The following features are also crucial to me:

* Tree view

* Split window with synchronized views when showing the same file

* Regex search over file or selection, results can be turned into multicursors (!)

* Regex search over multiple files or directories

* Multicursors at each line for a selection

* Auto-update of views when file underneath changes (editor should ask what to do in case of edits)

I'm sure all of this can be achieved with Emacs - my question is: How long will it take me to set up? Will the result be portable, e.g. can I copy some config file unto any POSIX machine and use it from there in an ssh terminal? That last point would be the main draw for me on why to switch to Emacs, since with Sublime I have to mount the drives (with Expandrive) which works well for the essential things, however there are details like the treeview not updating in that case.
I use HackerNode to read HN on my iPhone.
So do you rent the buildings from the HOA? Or do you own them? And surely if you own them, they have no legal right to tell you want to do unless it breaks the law?
I suppose being open source doesn't stop you from giving user licenses for money, though. True, people can just use your program by violating your license. From coder to coder that is way less likely than, for instance, between the movie industry and the movie viewers, though. And being open source, even the violating users might add value to your product by fixing bugs and adding features.
"We haven't vetted anything other than Java 1.4 on our BigAutoCorp PCs, so if you want to write a desktop app..."
Development has not stopped, there were some distractions to the developer. For the July 2014 status update, see http://www.sublimetext.com/forum/viewtopic.php?f=2&t=16517
I don't feel bad for all those businesses that bought applications built with ActiveX software and had to stick on Windows XP and IE6 forever.

A lot of that software had horrible UIs, causing severe stress for employees. Imagine hand entering detailed orders where just the tiny wrong thing was off, the wrong order, a typo in a SKU number, the wrong quantity would costs thousands lost in shipping and product returns. The employee gets the blame when that happens. No undo, no saving progress, no validation, no checking of any kind, just HTML input boxes powered by ActiveX and the employee gets the blame for things that could have been automated better.

You ever had your taxes done at H&R Block? They still use some ancient software where you can't even copy and paste out of an input box. In 2014. On a desktop.

I'm talking about PeopleSoft software and ugly, clunky and buggy software by some local developer written in their garage at rock bottom prices for a company that could have afforded more but just didn't care about what it was putting its employees through. I'm glad they're having to pay through their teeth now. It's companies like this that kept IE6 around so long.
Agreed on guaranteed tail call optimisation, but it seems[0] that it is at least possible to get it in some cases on some compilers. It seems that calling dtors after the return (somewhat obviously) makes it impossible to do it, although appropriate scoping might help. I however didn’t play around with it, merely rephrasing what [0] wrote.

I’m not sure about threads (and how light/heavy those currently in C++11 are).

[0] https://stackoverflow.com/questions/34125/which-if-any-c-com...
Yes, me too. The last time I looked it was only for Mac users, which is totally wrong for a HTML based editor. Didn't mind looking a second time (until I hear some great buzz, I guess).

I'm also curious about this vim reimplementation some guys are working on. I'll go and check that out right now!
Err, also, a err, axe?
Yes, I was aware about amon.cx. However, I thought they were in different enough domains to not be confusing.
As I understand it, it can be either case. Not sure how they can screw you around if you own it, probably some obscure law, but it's obvious enough if you're renting from them.
>three weeks of frustration

So what did you do, stare at a wall for 20 days and then finally do the upgrade on the 21st day? This makes absolutely no sense to me.
I'm not sure, but wasn't Go a JIT compiler?
60 bucks for an editor is quite expensive I think. There are nice alternative to such an editor.

I wonder what features makes sublime text so much valuable...
No, not an entire office, but I do use Linux for work.
Please go into more details why you think that. After the first buzz of the semi open beta I didn't hear _anything_ about Atom. And last time I checked it only worked on Mac and I couldn't even compile it myself on Linux. Beside having a great idea it is also important how a project is executed.
I have a "log file" for each week, broken down by day where I keep track of my TODOs and check them off. I put little notes next to the todos that describe what exactly I did, but not in much detail. But I can easily go back to 12/05/2011 and see exactly what I did that day. I usually plan one week in advance, but I only put task details there once I actually figure them out.

"What did I do last time I worked on that project or for that client?" is more difficult. I'm a fan of using blossom.io + Slack (slack.com) for large projects or startups. Usually there is only one such project I am working on. If you have lots of different project then these tools may cause too much overhead...
Try to use it and fail to do basic tasks, like, typing "run.sh" assuming it would do the same as "run.bat", forgetting that it should be "./run.sh". Then it still doesn't work because, even as root, you "don't have permissions". Turned out you needed to give it executable permissions too. That kind of frustration of getting things to work.

Edit: To clarify, this was in my first weeks of Linux. I'm no longer this noob (in fact, teachers and classmates regard me as the local linux guru, even the teacher that is teaching us linux basics).
Research Paper Writing Help