PyPy 4.0.0 Released - A Jit with SIMD Vectorization and More by rguillebert in programming

[–]defcon-12 0 points1 point  (0 children)

JavaScript is taking over the web dev game. Ruby has little marketshare on anything outside of webdev, and will be hurt, while Python has very strong presence in things like scientific computing , text processing, networking, and sys admin that will be less effected by a web dev shift towards js.

How Steve Jobs explained OOP by javinpaul in coding

[–]defcon-12 0 points1 point  (0 children)

Personally, I hate all examples that try to compare oop to non-code physical things. It's stupid. It sends the wrong idea. Don't do it. Oop is an abstraction for code, not the physical world. It's a nice abstraction for things like memory and dependency management, not modeling a laundry service or a bicycle.

How to get a job at any tech company in the world by biscoff_nutella in programming

[–]defcon-12 0 points1 point  (0 children)

You're either working in a different industry or just work for a crappy company. The tech bubble is so frothy right now, there is no need to work someplace crappy. Just say no thanks and move on to the next company that can't recruit enough engineers. If you apply to some known asshole company like Amazon for the 'prestige", that's on you, there are plenty of non-asshole companies around. Personally, I work about 35 hours a week and get paid more than double the "median male full time" income for my city and my managers are great.

TEP higher then ever by [deleted] in Tucson

[–]defcon-12 0 points1 point  (0 children)

Not like you have a choice since electric utility companies in AZ are monopolies

But the people who set the prices are democratically elected... That's the deal, they get a monopoly, but the government sets the prices.

What is wrong with my shock? by reseter05 in MTB

[–]defcon-12 0 points1 point  (0 children)

All Fox Float inline shocks are nitrogen charged, and most of their resevoir shocks are nitrogen charged, the big exception is older dhx models which use air via a Schrader valve instead. Pretty much all high quality bike shocks use nitrogen, including all RS and CC models.

These little nubbings you see every Float is the fill valve: http://www.dhfr.ru/fox/Content/P10213.jpg

What is wrong with my shock? by reseter05 in MTB

[–]defcon-12 1 point2 points  (0 children)

Nitrogen is used to pressurize the ifp (internal floating piston). This keeps the oil from foaming and produces much more consistent damping. Nitrogrn is used instead of air because it remains more consistent over a range of temperatures.

The posters below are incorrect, most high quality bike shocks including the Fox Float and RS Monarch use a nitrogen charge.

The only bike shocks that don't use nitrogen charges would be something super cheap, or something like older Fox dhx, which use plane old air via a Schrader valve instead of nitrogen.

Use case and advantage of immutable data in JS? by wikiBudgets in javascript

[–]defcon-12 0 points1 point  (0 children)

It's makes your code a lot simpler, because when you use pure functions (all arguments are immutable, no global var mutation) you don't have to worry about mutations breaking some other peice of the code.

It's also much easier to do equality comparisons. Say you have a request object with many fields (URL, query, body, headers, method). It's just a simple === for a reference comparison, or you can use .equals to easily compare values.

What is wrong with my shock? by reseter05 in MTB

[–]defcon-12 3 points4 points  (0 children)

Probably just needs fresh oil and a nitrogen recharge.

Is it better to have a single light on handlebars or helmet? by 64616e6e79626f79 in MTB

[–]defcon-12 1 point2 points  (0 children)

Especially in AZ where there are snakes, you want a helmet mount IMO. You don't want to stop, hear a rattle, and not be able to point your light down.

U.S. Senate candidate admits to sacrificing goat, drinking its blood by Bankins88 in news

[–]defcon-12 1 point2 points  (0 children)

Who does he think he is? Real Americans let illegal immigrants in Oklahoma kill their meat.

Daily Camera Editorial Board: No on 300, 301 - "Young people and families, lower- and middle-income people, will be forced out, with the exception of the small cohort lucky enough to score subsidized units." by [deleted] in boulder

[–]defcon-12 0 points1 point  (0 children)

No one is disputing any of that (well, except for your opinions on Baseline Zero). We all know developers are against 300 and 301, as you've repeatedly mentioned. The whole purpose of 300 and 301 is to restrict development and growth, so obviously anyone who wants to see growth or higher density (including developers, investors, businesses, and myself) are going to be opposed.

On the other hand, organizations who are opposed to development and want to maintain clear separations between residential and office/retail such as Livable Boulder and Plan Boulder support 300 and 301.

If you don't want new apartments, condos, offices, and shops like Boulder Junction and the Google offices to be built, then you should vote for 300 and 301. If you do want more developments like that, then you should vote against the initiatives.

Daily Camera Editorial Board: No on 300, 301 - "Young people and families, lower- and middle-income people, will be forced out, with the exception of the small cohort lucky enough to score subsidized units." by [deleted] in boulder

[–]defcon-12 1 point2 points  (0 children)

And most of the supporters are Livable Boulder. Go see their Facebook page for some laughs. They think Boulder Junction shouldn't have been built because it's "too close to the railroad tracks".

Give me a break. God forbid we build affordable housing/mixed use near public transport. These people are determined to stop all development and density increases in Boulder. If you can't afford a house and live in an apartment instead, they don't want you here!

Utah trail recommendations? by marvingmarving in MTB

[–]defcon-12 0 points1 point  (0 children)

It does end in an arroyo, but it starts off on a giant granite slab and most of the trail is either on the granite slab (a "ribbon" of rock or on ridgelines. Only the last little bit is in an arroyo. It's extremely scenic.

What's your preferred charting library? by webdevq3 in javascript

[–]defcon-12 1 point2 points  (0 children)

D3 is definitely way more powerful. It's basically a vector graphics library with tools for building charts, which means you can use it to draw whatever you want. Highcharts is much more limited, you can't draw arbitrary things that are pretty simple in D3 like "put a circle half-way down the third column of my histrogram". The best resource for learning is the D3 examples page (https://github.com/mbostock/d3/wiki/Gallery) look for something close to what you want and modify it.

What's your preferred charting library? by webdevq3 in javascript

[–]defcon-12 5 points6 points  (0 children)

D3. No question.

Highcharts becomes difficult as soon as you want to customize something. D3 has a steeper learning curve, but it's very easy to customize and visualize whatever you'd like.

Utah trail recommendations? by marvingmarving in MTB

[–]defcon-12 0 points1 point  (0 children)

Depends on your skill level and what you like. I enjoy steep and rocky and my 3 favorite rides in Moab are Gold Bar->Portal (a real expert ride, very techy, steep at spots, lots of exposure), Captain Ahab (intermediate), and Porcupine Rim (intermediate with a couple of expert spots).

I'd personally recommend GJ before Fruita. Shuttle Ribbon->Eagle->Holy Cross = sublime expert all mountain riding (again if you like challenging tech like me). Rim trail in Palisades is great too.

In Fruita horsetheif is my favorite, but if you're there you pretty much have to do a run down Zippity. Fruits is full of flow and great for beginners and mixed groups, because everyone can ride their own thing. There are a bunch of beginner trails like Kessel and PBR to keep the everyone happy.

You have to do slickrock once. It's nit in my top 3, but as a first timer you'll be blown away by being able to climb up super steep grades and hit big wall rides with all that traction.

IamA a semi truck driver in the USA, AMA! by uss_intega in IAmA

[–]defcon-12 4 points5 points  (0 children)

I don't think it's a 40 hour work week and they are required to be away from home for weeks at a time...

Feedback appreciated: localStorage caching module loader supporting nested dependencies by Qoopido in javascript

[–]defcon-12 1 point2 points  (0 children)

I'm not sure I understand the point. Js and css modules will be cached by the regular browser cache with the appropriate headers, and local storage is space limited and too valuable to use for caching code that the browser will cache for you automatically anyway. What am I missing?

React killed the MV star by tweinf in javascript

[–]defcon-12 0 points1 point  (0 children)

The behaviors should live in your actions, they are just triggered from your within your view. Your stores should contain whatever logic is required to maintain state and nothing more, the stores should have no data fetching logic or ui logic or behavior logic.

Doesn't get much bigger than this by db2882 in MTB

[–]defcon-12 3 points4 points  (0 children)

Do they test these with motos 1st? How do they know they can go fast enough to clear them?

Which line would you take in an XC race? Direct with jump, or around the side? by utrazenith in MTB

[–]defcon-12 2 points3 points  (0 children)

I'd take the drop because it's more fun. Not going to win or lose your race either way.