882 karma · joined Sep 4, 2012 (14y ago) · 181 submissions
[ my public key: https://keybase.io/alwaysbcoding; my proof: https://keybase.io/alwaysbcoding/sigs/ES-ODI1v11tS_xq38nxpRtSoFMBs30d--AiC25_1s3g ]
comment 10y ago · link · parent
Imagine you have a 2x2 matrix where the x-axis is positive value added to the world and the y-axis magnitude of impact. You want your job to be in the top right corner, high impact, high value added to the world but there's two ways to get there. You could do something that has high value but low impact like working at a non-profit in DC helping with excel spreadsheets or whatever, you're delivering value to the world but making a very small impact. The other approach is that you could learn how to build a large scalable system for delivering a solution to millions of people first. Maybe you're making the 100th best photo sharing app and it will never add large value to the world, but you're learning how to deliver impactful solutions you just need to figure out how to deliver real value. I'm not sure why there's a bias against the second approach. I lived in DC for five years and most of my friends are doing less interesting things than my friends in SF. Someone who gets experience at a startup that builds interesting technology but never takes off could be the next CTO of a political campaign for all you know.
Also, it's a complete myth that San Francisco is expensive to live in. You can leave cheap or expensive in any city. SF has a culture where being poor is totally cool. Everyone gets it, you're in tech you're an entrepreneur etc... There's no pressure to go to nice restaurants for social status like there is in New York. I spend much less money in SF than I did living in DC just because of the lifestyle I'm living. Buying a house in SF is impossible due to the insane prices, but it's really not that bad living in an apartment here.
I don't think people are spoiled here, I think your perceptions are off. First, programming takes place entirely inside a persons head. Mental state is really important, and the 9-5 office job with a commute to and from the office every day doesn't work very well for engineering. I like to break up my day into two halves. The first half of the day and the second half of the day, this gives me two discrete time periods where I can do work and I like to take a bike ride in between because I can think about the problems, and then not have to go to the gym later in the day. When I was working for a company in DC there was no way I could have left at 2:00 to take an hour bike ride, even if that's how I work best. I think it's ridiculous to say that people working in their optimal workflows makes them spoiled.
And again, it takes probably 3 years to become a high-quality engineer. So I'm not sure what you would want coding bootcamp graduates to do after 3 months, get together and talk about how hopeless life is? I'm glad that people are getting into the industry, the only way you're going to get better is by getting real world experience. So what someone with 8-months experience isn't a great engineer yet? By continuing to get better over the next couple years he will become a better engineer and then be able to add significant value to the world, I'm not sure why you would want to discourage developers from perfecting their craft. This would be like heckling a Med School student for not being a great doctor yet.
comment 10y ago · link · parent
Julia seems promising, I haven't used it on a real project yet though, but I really like how easy it is to do data visualizations in the browser with Clojurescript and don't see Julia really having an answer for that.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
For building stateful UI's Clojurescript + Reagent beats anything else out there.
For data science and algorithms Clojure beats anything else I've used.
For backend web development Rails is still miles ahead of any Clojure workflow.
Datomic is interesting but there's still too much incidental complexity to be super productive with it. It's hard to build a startup on Datomic because of the pricing and productivity hit, but could see it being useful in the enterprise where speed is less important.
I'm very interested in mobile development with Clojurescript on top of React Native, but haven't found a tutorial that wasn't written in hieroglyphics, so assuming that needs some more time to mature.
comment 10y ago · link · parent
React is a rendering engine, it's covers the final piece of your web app (rendering a data structure into DOM). But whatever you do to create the data structure that gets passed to React is up to you. This keeps most of your domain logic outside the context of the React framework, you just use React as a tool to render you final data structures into DOM. So basically the API you need to know for your domain logic is just Javascript, which most people know already and it's really easy to lookup answers to your questions etc...
With Angular your domain logic exists inside the context of the framework. i.e. if you ng-repeat something you can't just filter that collection with Javascript you have to use an ng-filter to do it which is a special Angular construct. So the API you have to learn to manipulate data isn't just Javascript it's Angular-specific. And what if you don't know how ng-filter works? Well, you're tied to the Angular docs to figure it out. The Angular docs are of particularly poor quality so this coupling turns into a really serious problem if you're trying to be productive, because you're constantly reading docs to figure out how you do something in Angular.
I'm not sure how Angular2 is since I haven't used it, but to me React vs. Angular1 is a no-brainer win for React, since it's much easier to be productive in React + you can target mobile now with React Native. Something I've noticed also, there are basically no developers who have switched from React to Angular and now evangelize Angular, yet there are thousands of people who have switched from Angular to React and now evangelize React. I think that speaks for itself in the sense that anyone who has used both extensively prefers to use React.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
I've been using ClojureScript/Reagent for about a year now and all this JS tooling talk goes way over my head, I haven't needed to use any tooling other than lein cljsbuild for a while now, and it's glorious. If the Clojure community / ClojureScript was more approachable to beginners I think ClojureScript would be taking over right now.
comment 10y ago · link · parent
Would have made so much money.
comment 10y ago · link · parent
Stop publically calling Edward Snowden a traitor, stop trying to pass nonsensical cybersecurity legislation through congress, remove the ridiculous ban on working for an intelligence agency if you've smoked Marijuana in the past year, have a quicker and more transparent background investigation process for security clearences, and start winning some goodwill with the developer communities if you want help with political conflicts.
comment 11y ago · link · parent
Why on earth would you want to use Swift when it's harder and more time consuming to implement, takes longer to learn, has worse library support, is harder to hire for, and only targets one platform? Apple really dropped the ball with Swift.
I suppose that "performance mandates it" is a valid reason for wanting to use Swift. But I think for 95% of apps Swift is the wrong technology choice.
comment 11y ago · link · parent
It's actually a pretty fucked up system. The rules for qualification into the debates are decided by Wasserman Schultz and her alone, so the "rules" end up being in practice "will this make Hillary Clinton look good or bad?". Lessig's inclusion ran the risk of making Hillary look bad - by calling her out on her corporate donors - so he was excluded. Clearly this is not how we should have public debates about the future of our country.
For what it's worth, Wasserman Schultz is already under fire for restricting the Democrats to only 6 national debates. Almost every other executive in the party thought this was a bad move since it gives the Republicans significantly more airtime, but remember the rules are decided by Hillary Clinton's campaign co-chair.
Also Trump just called her out, which is pretty funny. http://www.mediaite.com/online/trump-takes-aim-at-highly-neu...
I don't think she's going to keep her job.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
The becoming president and then resigning thing was weird. I'm glad he's dropping it, because you can hate the method all you want, and I too think he comes off really distant out of touch sometimes, but what he's saying needs to be heard.
comment 11y ago · link · parent
Their hypocrisy about saying gambling is a major threat to the league, while simultaneously lobbying congress for fantasy sports loopholes in gambling legislation and ramming FanDuel commercials down our throats.
Ignoring concussion research for three years and actively trying to intimidate researchers. Then pretending to care about player safety while simultaneously pushing for a longer season schedule.
Making everyone in the NFL wear pink for a month to market to women, while simultaneously sweeping multiple cases of domestic abuse under the rug.
Ignoring federal labor law while trying to suspend their best player for something he didn't do wasting millions and millions of dollars in the process.
And now, declaring war against media companies and making it harder for fans to follow the sport because they want to run 30-second pre-roll ads in front of 6 second video clips which will never even come close to working. It's an utter disaster. I have no faith in the NFL to conduct itself competently in the modern media landscape. They are such an embarrassment of an organization. I've never felt that way about a sports league before but the 2011-present NFL is just so awful.
116.
Thresholds of Violence: How School Shootings Catch On(newyorker.com ↗)
2 points · by AlwaysBCoding · 11y ago · discuss
comment 11y ago · link · parent
If they change the terms of service to prevent hot loading app updates via JavaScriptCore they're going to isolate a lot of developers, since so much cool stuff is being developed around JavaScriptCore right now. The rnplay playground app that's currently in the App Store dynamically loads entire apps onto your phone to play around with -- it's so cool, why block things like that from existing?
If they do nothing, it's clear a rogue app store distribution ecosystem is going to evolve (case in point ^) which seems like a sub-optimal outcome for everyone.
Isn't the only eventuality for Apple to change their app store approval process to allow dynamic updates? I mean it's obviously better for developers, and probably ultimately better for end users as well. I just don't see any way around it with the momentum writing iOS apps in Javascript has right now.
comment 11y ago · link · parent
comment 11y ago · link · parent
But inside the UI component you're really just defining the schema of the data to be returned from the server, you're actually implementing how to fetch that schema from the database somewhere else in your codebase.
Clojure 1.7 introduces a new file-type with extension .cljc that can load in both Clojure and ClojureScript. Which means you should be able to define both your React component AND the Server side implementation of the data fetching schema all from one file. Pretty frickin' cool if you ask me. One file, one component, that knows how to render itself, fetch it's data and serialize it's data.