skysight-inc/HackerNews huggingface dataset:
Thanks! I think you're right, it's about empowering anyone to bring their ideas to life, regardless of tech or design skill.

We're seeing Marvel being used to teach kids how to make apps https://twitter.com/futurice/status/449186891837890560 massively exciting!
Maybe Go will get fixed if Google is trying ppc...
I'll leave it as an excercise to you. Promise me that I don't have to maintain your C++ code until you completed it.
Everything a PR pro should know about SEO in 10 minutes
NoSQL? No, SQL – How to calculate running totals
Yes 100%, one of my co-founders is a iOS dev so made sense to get the iPhone out first but Android is definitely coming

If you use the official Dropbox app, you could upload your sketches into the web app in the mean time however :)
Show HN: first real co-shopping app (for iPad)
feedback? thanks!
Sweet. I'm sold :-)
The submission deadline for the 2014 contest is today, but otherwise Hello World Open (https://helloworldopen.com/) would have been an interesting programming challenge to participate in.

Positioned as a sort-of World Championship for programmers, it is a virtual slot car race. The challenge is to create an AI and drive a slot race car on a track against other racing bots. Very entertaining... Finals will be played on June 10th in Helsinki, Finland.
Open Sourcing super expensive proprietary software
NPR's Planet Money had a great story on this: http://www.npr.org/blogs/money/2013/01/18/169719749/episode-...

Agree though that there is a difference between a pyramid scheme (Herbalife imo) and a fad (Groupon) though they have similar growth trajectories.

There are lots of startups that could arguably be considered fads e.g. snapchat, it's yet to be seen whether or not it's a novelty or solving a basic human interaction problem as Facebook did.
Great work. What I really like about this is how it lowers the barrier of entry for non-tech people. It is the sort of application I can show my wife or kids and let them play.
The counter-idiom is "Excellence is good enough.". I have used it as a mantra to counter the paralysing need not to act on things unless perfection can be achieved.
> "Two MIT students have raised half a million dollars for a project to distribute $100 in bitcoin to every undergraduate student at MIT this fall."

> "The organizers admit they do not know how students will decide to use their bitcoin. However, they plan to use the time between now and when the bitcoin is distributed to build up the Bitcoin ecosystem at MIT."

I've been waiting to hear about the next phase of bitcoin development; beyond exchanges and marketplaces. What would be the easiest way to keep tabs on the bitcoin projects at MIT? Is there a publicly accessible message board for this project?

Edit:

Reorganized this post a bit. Didn't mean to side track so much from the content of the article.

Side note:

Please stop hijacking the native browser scrolling. I don't know if it's because I ate guláš for lunch, but the custom scroll effect on this site makes me feel nauseous. Additionally, the site doesn't work at all without JavaScript. Why? The site could probably very easily be built to static HTML files for faster load times, decreased load on the server(s), and wouldn't require JavaScript to render views.
Very nice! It took me roughly 2 minutes to upload the sample photos I had on my dropbox account, and link between them like a little game. Very intuitive interface.
If compilers don't understand inline Asm, maybe instead of avoiding it, why not try improving the compiler so it can understand? I know this can't be done if e.g. you use newer instructions that it doesn't know about and wouldn't emit anyway, but in the case of faster, shorter sequences using existing instructions and having an equivalent in C, I don't see why it can't "decompile" the instructions you write and use that information for optimisation. Even better if the compiler can learn from it and use that faster/shorter instruction sequence when it sees that expression in the future.

Better yet, imagine that the compiler has performed value range propagation [...] This would be infeasible if it were written in assembly.

VRP doesn't depend on the instruction set; it could be LLVM IR or it could be x86 or ARM or 6502 or anything else. It's just looking at values and operations on them.
As a moderate libertarian, I share your aversion to things like this being done in law. I default to the assumption that the free market is the right way to solve problems, and I accept the need for government intervention only when compelled to do so by an overwhelming weight of evidence.

This is an area where I now accept the need for government intervention because I am compelled to do so by an overwhelming weight of evidence. We now know that the optimum working week for economic output, let alone quality of life, is substantially less than forty hours. We also know that it cannot be left to individual employees to negotiate with their employers. In a perfect world perhaps it could, but in the real world it cannot. It's one of those problems that just has to be solved by collective rather than individual action.
The post goes to great lengths to say they're doing a big, meaningful overhaul instead of a UI tweak. However, the examples given are nothing more than a bunch of tweaks (and not necessarily ones I like). It sounds like someone is trying to build up hype over nothing.
Yes - the original article mentions this at the end of the first paragraph.
I see plenty along the pattern of "Ad300x250", but not general ones.
So I have been open sourcing the heart of a super expensive IBM software product, which IBM currently/today sells regularly for 100 tsd (Dollar or Euro, doesn't matter much) per CPU core (discounts of 40% to 95% usually apply). This product is IBM WebSphere Message Broker or now IBM Integration Bus (IIB) and was thought to be IBM's "SOA" offering. Let's say mildly that SOA failed and unfortunately the remaining parts are not "a lot" (also not worth that much). I was in fact able to understand them and it's been possible for me to open source the very most important parts in a POC. So the very most important part is the message processing and transformation language "ESQL". IBM implemented it in c and I implemented it in Java. I called the project "use-the-tree" and open sourced it on github. A deployed version is online at www.use-the-tree.com.

Actually it turned out that I added a couple of improvements which makes my implementation superior to the one IBM has.

There are open source ESB's and Broker's, but I did not find (and I think it is unlikely that there are) comparable proper implementations.

I managed to work in this SOA trouble and Integration world for about 8 years and I am the contributor of important components to IIB which I open sourced as "GenericESQLUtilities". My contributions are confirmed (by IBM Hursley) and by the community (on www.mqseries.net) and are actually used. Basically I proved that xslt is a performance disaster and on the other hand I showed how to properly do message transformation and processing. I also just implemented stuff that IBM didn't know how to (implement), since they bought the product from another company (NEON) and certainly had some brain drain during that process.

Main areas of future work are (also documented in the git hub wiki):

- Add support for JSON
- Add all quirks that XML has
- Investigate if JavaScript can be used (instead of Java) (and implement it)
- Sorting (super cleverly with Tree Map ofc)
- On-Demand Parser (would be awesome, probably to hard for 3 months)
- Investigate on open source solutions for parsing flat files standards like EDI/EDIFACT or HL7/ORM formats and it's usability together with use-the-tree

The project is very new (a couple of weeks old), it's a POC and there is nothing in production. Though it is confirmed to hit the point.

So... I have already successfully contributed to open source (in this area) and there is constant change in the IT world (I see a clear decline of SOA and a push towards open source), so that I think that this project can have a significant success in the future. Again ... "use-the-tree" is the only thing which is left of SOA if you remove all the bad parts or the ones that have just failed... it is "SOA - the good parts" :). It provides strong guidance on how to do message transformation (to end up with the most efficient transformation code) as opposed to IBM's approach, which is "we provide you with every possibility and you better choose wisely".

Xslt would look like it, if xslt would be done properly.
The pace of innovation was greater on x64 side and software support, especially the build tools in general. Also PS3 game developers had a hard time dealing with the cell processors.
This is great news for the community (and for the students)! I wonder if MIT is actively investing in coins or using pre-mined ones.
Students get 100$ each for silk road shopping, damn!
While Australis is neat, doesn't bother my experience much since I use pentadactyl heavily and most things seem to just work.

My pet bug still lays untouched though. https://bugzil.la/444284
1. Kernel: Ever heard of LTS enablement stacks? https://wiki.ubuntu.com/Kernel/LTSEnablementStack

2. Upstart: Works for me. I like systemd too, but I'm not going to switch distros to get it.

3. Auto-restart: As you said, it's a Debian thing. If you really don't like it, look into /usr/sbin/policy-rc.d

4. MySQL: sudo apt-get install mariadb-server (yeah, it's in the official repo)

5. Pollinate & AppArmor: If you don't want them, disable them.

6. Compiz & Mir: Use another desktop environment. Also, in case you missed the news, Mir has been postponed indefinitely.
Apps combat phobias and anxiety
Time and again, a term associated with a good and rare quality gets picked up by the business world, and then the marketing machine, in the process of using that term to sell everything and the kitchen sink, turns it into something annoying and worthless.
Why Ukraine Has Already Lost The Cyberwar, Too
> It also let you sync through your own server rather than Mozilla's which I don't think the new version does yet

This is possible with the new version, but it's not (yet) as simple as it was with the previous one:

https://docs.services.mozilla.com/howtos/run-fxa.html
https://docs.services.mozilla.com/howtos/run-sync-1.5.html

(edit: actually IIRC there's an open bug around allowing android devices to use a custom sync server; desktop devices definitely work fine with it via some about:config settings)
> A single DNA test costs thousands of dollars. Donations mean everything here.

Maybe get them on Jerry Springer / Jeremy Kyle, they have DNA test shows every week.

That makes me truly sad.
Dont understand your issue.
the only javascript served by this page should be

<script type="text/javascript">
function byId(id) {
return document.getElementById(id);
}

function vote(node) {
var v = node.id.split(/_/); // {'up', '123'}
var item = v[1];

// hide arrows
byId('up_' + item).style.visibility = 'hidden';
byId('down_' + item).style.visibility = 'hidden';

// ping server
var ping = new Image();
ping.src = node.href;

return false; // cancel browser nav
} </script>

for the <a> links, as such:

<a id=up_7666264 onclick="return vote(this)" href="vote?for=7666264&amp;dir=up&amp;xxxx">

and this makes it surely works correctly even without javascript.
Of course, if it's good code, then you're good. The issue is getting good code in the first place. ;) That's where static analysis can help: compilers are tireless. Humans are faulty.

Memory management issues cause tons of security issues in C++ applications. In the recent Pwn2Own, all of the security vulnerabilities in Firefox would have not been possible had Firefox been implemented in Rust.
How to eat an elephant, turning a side project into a viable startup
Unfortunately this server is not compatible with the new sync protocol. It will continue to work while there is still old-sync support in the browser (a few versions after FF29 at least) but will eventually need to be upgraded to the new system.
Amazing automation from the early 1800's – You won't make these with a RepRap
There is checkio.org for Pythonistas. As I know, there is no language choice for now but there will be on the future.It motivates coders with gamification and also level of problems.
The EU has a track record of defying US extraterritoriality so I would be surprised if the data gets handed over.

Also, this ruling was made by a magistrate judge, which is prett low down on the judicial totem pole. This ruling will be appealed, which means that it'll be reviewed by a judge who doesn't, in fact, have his head up his ass.
You mean metatastic prototype?
Blood test can predict men at risk from cancer
> the caterers said they weren't allowed to give the food to charity

Smells like BS to me. Just an excuse to not have to do the logistics.
15 Best Node.js Frameworks for Developers
Android betrays tethering data
The Internet of Things: enabling the era of precision manufacturing
Nature video backgrounds
The third production deployment of Rust is a Ruby extension written in Rust. https://air.mozilla.org/sprocketnes-practical-systems-progra... (You'll have to scroll forward)

And technically, it's a Ruby extension written in C. But the C is very small, and is mostly written in Rust. This is because Ruby's cexts use so many C macros, it was easier to make a shim then try to port them all to Rust.
Interesting. Centurlink could have easily blocked acccess from outside their own internal network to that IP and port but instead chose to allow the whole internet to have the possibility to play 20 questions with the web admin interface.

Maybe someone even got lucky. What about all the other customers of that ISP with that particular modem, are those still open?
Exactly. The first step for replacement is decommissioning existing coal plants.

As there's no (or little) political will to do this, the private sector (and specifically those that recognize the problem) can act directly.

And since it's the 21st century, it seems like Kickstarter is the way the private sector can do it.
Did you make that up? There's like 10 jquery plugins loaded in the bottom of the body, including jquery.nicescroll
> It is in the best interest of everyone to make applications use less memory, since all the applications (and the OS) have to share what the system has.

There is always a trade-off between speed and memory usage. For my use cases, I prefer this particular trade-off for a browser. I realize you might not have the same preference.
In Denmark we have a bunch of problems with prisons costing too much. So much, in fact, that people from other countries comes to Denmark to get caught doing a crime. Or homeless people walk into a bank and use the "Pointy finger in pocket" tactic to go to jail through the winter.

We do, however, do a very good job at getting people into the "right" prison. We put hardened criminals into jails with other hardened criminals, which has many restrictions on your daily life, while keeping teenagers who just fucked up big time in prisons that are much less violent, and also keep the restrictions to a minimum. We even allow some of them to go out and to work together with normal employees at the end of their sentences.

We let everyone get an education or start an education while inside, too.

It costs a lot while the individuals are "locked up" but I'm very certain that it's doing a good job, at least compared to other systems, such as the US one.

We do fuck up, though, putting hardened criminals into low security prisons, which lets them escape. I also don't like having people coming from other countries come to Denmark to take an education in a Danish jail, paid for by my tax money. But I think that is the lesser of the two evils.
Show HN: Let's improve ratings
Why not hack breakfast altogether? Let's do lunch.
From `The CERT Oracle Secure Coding Standard for Java`

public static int safeAdd(int l, int r) throws OverflowException
{

if (r > 0
? l > Integer.MAX_VALUE - r
: l < Integer.MIN_VALUE - r)
throw new ArithmeticException(String.format(
"Integer overflow: %d + %d", l, r));
return l + r;

}

https://www.securecoding.cert.org/confluence/display/java/NU...
Marlin, I believe he is talking about the linked page not the HN page.
The assembly subroutine is not optimal because the compiler can not inline it. A ASM expression [1] is much better.

Also, it is weird to write the result to memory just to avoid to repeat the addition. A memory operation is quite complex, but there a few things simpler than adding two registers. A better abstraction would be to write a function that returns the overflow bit and nothing else. The addition itself is (almost) free anyway.

[1] http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Extended-Asm.htm...
Apple's MacBook Air is now faster and $100 cheaper
I'll stick with something more modest, something that appeals to the masses and allows for crowdsourced feedback.

http://codecondo.com/coding-challenges/

You get more than enough.
> The old one let you run your own server.

This is still possible with the new system, although I'll admit the ease and usability of such a setup needs work (and IIRC there are some changes required before android devices can properly use a third-party server; it may take a few releases before this become as easy as it was with the old system).

> As it is, it's possible the new sync has a backdoor,
> even one many people at Mozilla don't know.

Both the client and server are open-source, and you can verify that the client follows the protocol [1] and doesn't leak anything more than a PBKDF2-stretched password derivative to the server. It's about as backdoor-proof as any client/server system is likely to get.

But yes, it is more dependent on the strength of your password than the previous sync system.

[1] https://github.com/mozilla/fxa-auth-server/wiki/onepw-protoc...
Another interesting question if I may:
Why does one feel the need to be successful?
Or maybe one needs to simply be satisfied?
Beautiful Dynamic Laser Beams for Your THREE.js Space Game with threex.laser
It's because both jQuery and Velocity suck at animation. DOM is not designed for fast animation. Use the right tools, like WebGL, and your can have thousands of sprites animated simultaneously at 60fps.
We have kind of forgotten this.

Anyone old enough to remember the early browsers - Mosaic and Netscape - will remember how every platform was supported, regardless of CPU (including MIPS, SPARC, Alpha etc.) and regardless of OS (IRIX, AIX, System whatever, VMS, Windows, etc.). Furthermore you didn't have to wait two years for the non-Windows version to be updated.

Only when Microsoft made NT Intel only did you get this arrangement where software was locked to a given architecture/OS. Thank goodness Linux came along.
I always though the crux of business is to make money for the shareholders.
I'd expect something along the lines of:

> Several recent studies have introduced lightweight versions of Java: reduced languages in which complex features like threads and reflection are dropped to enable rigorous arguments about key properties such as type safety. We carry this process a step further, omitting almost all features of the full language (including interfaces and even assignment) to obtain a small calculus, Featherweight Java, for which rigorous proofs are not only possible but easy.

> Featherweight Java bears a similar relation to Java as the lambda-calculus does to languages such as ML and Haskell. It offers a similar computational "feel," providing classes, methods, fields, inheritance, and dynamic typecasts with a semantics closely following Java's. A proof of type safety for Featherweight Java thus illustrates many of the interesting features of a safety proof for the full language, while remaining pleasingly compact. The minimal syntax, typing rules, and operational semantics of Featherweight Java make it a handy tool for studying the consequences of extensions and variations.

You can see a few of his pubs on his website: http://www.ncameron.org/papers/index.html
Nice work on the website. Went in, saw the video, got exactly what it's about, all in 30 seconds.

Especially compared to all those scrolling websites that move things around while you scroll and leave you with no idea about the product.
I wonder if POWER8 based servers will be available for the mass market? I'm not sure whether Google is interested in commoditizing POWER8 servers or just participates in the OpenPOWER foundation to ensure that POWER-based servers will suit their needs. The fact that Google is open about their new motherboard hints at the former, but it's not much.

I wonder how non-Google-scale developer could even potentially get to use POWER-based servers. Will they be available from the regular dedicated server hosting companies? What OS could they run? RHEL does support POWER platform, but for a hefty price: https://www.redhat.com/apps/store/server/ CentOS doesn't, presumably because all the POWER hardware CentOS developers could get is either very expensive or esoteric. That likely means I don't have to consider using POWER-based servers for at least 3 years, right?
Posting from a throw-away account.

Here I am, somewhere in the autistic spectrum. Quick learner, scores well on IQ-tests but I have a lot of problems understanding, interacting and connecting with other people. Although my mental illness is somewhat different and probably not as severe as yours I recognize my own situation very much from what you describe.

I don't have an official diagnose, and I'm not overly eager to get my mental illness on paper as that can be to your disadvantage in many situations and besides there isn't really much help available for someone like me within the public health-care system of my country.

From the outside I appear to be functional. I have a job, a home and a car, although I'm in my forties and don't have any family.

But I have to fight really hard with myself just to get by some days. Sometimes using self-medication, I've found SSRIs to be helpful. Although I'm not always sure why I should bother to get through that day, I still keep fighting. I'm thinking about suicide at least a few times every year and sometimes I have gone quite far with the actual preparations.

And you are so extremely spot on when you describe how nobody cares.

I try very hard to perform well at job, besides my illegal medications, which doesn't even have any narcotic effects, I abide every written law of society, I try to help and give kind words whenever I can, I donate money to charities every month.

And nobody would even care to listen, answer a question or give an advice, at least not with any truthfulness or honesty. Hey guys I'm not asking for your money, only a moment of your time and some honesty that I really could use to find my way onwards in life.

Some people around me, both at work and my neighbors have noticed my condition and are willing to talk about it when I'm not around. But they are obviously not prepared to give me 15 minutes of their time and just brief moment of truthfulness, they just want to get rid of the crazy guy and move on.

Nobody cares, for real!
Sun's Niagara line of processors had similar numbers of threads (64/128), but they often had lacklustre performance. With this amount of parallelism, it becomes very difficult to keep all the threads busy, even for highly scalable programs. You'd get hit by all kinds of problems, like blockages due to memory throughput, or shared resources (IIRC the Niagara threads shared FPUs and other processing blocks, so to get them all running 100% of the time you'd have to manage the workload of your tasks insanely carefully)

On top of that, so much stuff just doesn't scale well. On the early Niagaras, even ssh-ing into the machine was noticeably slow. Oh? your crypto doesn't use all 64 threads? Hard luck!