News for hackers. Stuff that matters.

ny2244111

"Neuroscience shows that that in our brains the neural circuits neither have nor need content to do their jobs."
Just a developer, but is this author subtly arguing that in the end, behaviorism has some sort of validity?
You get a foreign maid, and you get a foreign maid. Everyone gets a foreign maid!
Re:Ask HN: What should we fund at YC Research? on Saturday January 30, 2016 @08:55AM (#11001795)
I would say they invest heavily in narrow AI like Apple and Microsoft, Amazon, etc. However, AGI is rarely dealt with.
Re:Ask HN: What should we fund at YC Research? on Saturday January 30, 2016 @02:36AM (#11000965)
AGI. It's nearly impossible to get a big company to invest in AGI due to the historically bad ROI. That's also the reason there probably won't be a successful startup in this space for a while. The private sector is not particularly great at exploration where ROI is uncertain. OpenCog is a great start, but it would be nice to have another project in parallel that utilizes different ideas.
Re:Show HN: A simple note-taking app built in React on Wednesday April 01, 2015 @11:19AM (#9304290)
Now I remember why I made it expire and/or only usable once. Consider public places or caching. Since the temporary authentication token is exposed in the URL there is a risk that someone else can reuse it. Whereas if it's a one time temporary token then you should be OK. I think I need to be more explicit in that this is a one time token. The whole passwordless thing is new so there are some pain points.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @02:16PM (#9298659)
Thanks! I'm sticking to it. Why trust anyone with passwords these days. I may add social logins though.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @02:15PM (#9298648)
Point taken. The animations are just pure CSS3 although the fades still use jQuery. I got the gulp folder idea from this blog post as a way to decouple gulp tasks from individual projects: http://viget.com/extend/gulp-browserify-starter-faq
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @12:06PM (#9297379)
Frustrating. Not able to recreate. There are some unnecessary repaints but can't see much other than that.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @11:32AM (#9296985)
I still have to implement that. Not sure how to represent that in the UI yet. Maybe drag it back to the open box. Not sure yet.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @11:29AM (#9296960)
Can you hold the title box instead of tapping to see if that allows you to type? Not sure why that is the case.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @11:09AM (#9296761)
I hear you. It was actually supposed to be like you're looking down at a desk and then seem as if you were moving your head up at the bookshelf. The bookshelf doesn't move so it's a bit odd right now.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @10:29AM (#9296407)
I honestly just wanted to try flux. I ran into some problems with my architecture however and maybe reflux would of helped me simplify it. I think you made a fine choice.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @10:28AM (#9296392)
If you could tell me some of the specs of your system so I can check why it is so laggy that would be great.

One thing that is hacky/a problem with the app is that I wanted to be able to hash tag notes and have the hashtags a different color. Also very soon i'd like to add the ability to highlight text. It's pretty hard to do that smoothly even with the contenteditable attribute.

I decided on a transparent textarea over a div and I sync and transform the content. It is a bit clunky as you say but I anticipate it will get better.

Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @09:36AM (#9296013)
+1. Thx.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @09:24AM (#9295940)
Thx, will fix.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @09:23AM (#9295934)
I was developing it on assembly and therefore there's this repo: https://github.com/asm-products/notello. It's quite a few commits behind so there's probably tons of bugs but at least it's a start. I'm still learning this stuff myself.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @09:17AM (#9295898)
I just used CSS3 tbh. Some of the animation stuff was painful due to timing issues. There's also some jQuery fadeIn/fadeOut stuff but I'm trying to get rid of that.
Re:Show HN: A simple note-taking app built in React on Tuesday March 31, 2015 @08:52AM (#9295787)
Hmm, yea I made it so that each password token can only be used once in case someone gets a hold of your email. I can see how that can be annoying. I'll work on a solution to that. Thanks for the feedback.