HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spinlock

no profile record

comments

spinlock
·9 jaar geleden·discuss
I'd rather use Redux without React than React without Redux. Sure there's some boilerplate but we use typescript so the redux boilerplate seems trivial in comparison.

Redux keeps your app _simple_. That's not the same as easy. It means that you can reason about your app as it grows and new features are added. When you run into problems like: this page is taking too long to load because we do calculations x, y and z on the server to push the data to the app. But z takes forever to compute and makes the initial page load painful. With Redux, you can move z to an async endpoint and just load x and y on page load (put the component that needs z in a loading state). Then, fire an ajax request when the component mounts to get z. When that call returns, it updates your store and the component that needs z transitions from loading to loaded.

I took me a couple of hours to do the above in a Redux app and decrease the page load from 2 seconds to 300ms. And it didn't add complexity to the app that would make it difficult to maintain. I don't even want to think how long that refactor would take if the state had been managed with React.

And ... don't even get me started on how easy -- and fast -- it is to test a Redux app. Zero side-effects means zero setup and teardown between specs.
spinlock
·9 jaar geleden·discuss
The web is not the internet
spinlock
·9 jaar geleden·discuss
You're talking about an era when Gopher was still the dominant protocol on the internet.
spinlock
·9 jaar geleden·discuss
You're talking about an era when Gopher was still the dominant protocol on the internet.
spinlock
·9 jaar geleden·discuss
If you're writing apps that work in i.e. And not chrome you're not going for a big user base. I.e. Is 2% of our traffic and 50% of my time.
spinlock
·9 jaar geleden·discuss
If you're writing apps that work in i.e. And not chrome you're not going for a big user base. I.e. Is 2% of our traffic and 50% of my time.
spinlock
·12 jaar geleden·discuss
Why are you misrepresenting what Andreesen was saying? Are you not capable of addressing his assertion that the Snowden leaks are being used as political cover?
spinlock
·12 jaar geleden·discuss
>You're telling me that, pre-snowden, you assumed that governments were inserting moles into open-standards processes and working to weaken ciphers ?

Yes. The first conversation I had about this was in the 90s

>Or, pre-snowden, you assumed that they were intercepting cisco shipments to alter network gear ?

Yes. I know the TSA goes through my luggage when I fly, why wouldn't the NSA go through my mail? Intercepting physical communications/packages has literally been going on for thousands of years.

>Or, pre-snowden, you assumed that on-chip crypto functions from Intel and VIA were intentionally flawed ?

Hadn't thought of that but it's really not a revelation. We do know that when companies are contacted by the NSA, they are barred from even acknowledging that they were contacted. Again, the first conversation I had about the NSA inserting back doors into consumer technology was in the 90s. This is a novel approach but the general modus operandi is expected.

I think most people just don't appreciate what the NSA is. This is the organization that invented public key cryptography a decade before Ron Rivest and didn't publish the results. It wouldn't surprise me if they had made large advances in quantum cryptography that let them crack any cipher based on finite fields. I can imagine that all of this conventional spying is just a red herring to distract from much more insidious capabilities.

I can imagine their capabilities extend beyond computer networks to the power grid...

The point is that we funnel huge sums of money into an organization that hires the best and the brightest to spy on us. Why would you assume they aren't doing that well?

But, at the end of the day, I just look at the Snowden "revelations" as another Bengahzi or Sgt. Bowe Bergdahl. The political opposition will use it as a tool to further their interests but no one really cares. No domestic representative is going to cut funding to the NSA and no foreign government is going to act any differently when it comes to their security. They will get on the news and make a lot of noise as they use this as political cover to advance whatever ax they have to grind. But, I can't imagine them actually caring that the NSA spies on US citizens.
spinlock
·12 jaar geleden·discuss
Listen to his statement again. He believes that foreign governments -- who already knew about US spy operations -- are using Snowden's leaks as political cover to enact protectionist policies. After all, every other wold power engages in exactly the same type of behavior. But, without a Snowden of their own, they don't have the PR problem that the US does.
spinlock
·12 jaar geleden·discuss
Andreesen and I have the same perspective that Snowden's leak was definitely not a "revelation." We both already assumed the NSA was spying because it's a spy organization. So, without any benefit, the only affect of Snowden's leaks are harmful to the US.

I took a venture capital class at Berkeley where I got to meet government groups from Russia, China, Poland (and a few others that escape me right now). They all shared a common goal of learning how Silicon Valley works so they can setup their own technology hubs in their home countries. Right now, Silicon Valley is a magnet for the best and the brightest in the world. Why wouldn't you be concerned that we're loosing that edge for no benefit?