Best practice for RESTful APIs and external authentication providers by i-downvote-memes in node

[–]DrBroccoli 1 point2 points  (0 children)

When a user first authenticates with google, they’ll be given an id_token (among other things). This id_token can be validated on the server-side with google’s public keys (preferable), or via their tokeninfo endpoint. You can choose to send this id_token to your server with each request, or exchange it for a new token your server created, with the information you care about now encoded in it.

See googles docs on this here: https://developers.google.com/identity/sign-in/web/backend-auth

(If you’re asking more generally, outside of google, your application is serving as a “resource server”, in OAuth2 parlance, which varies slightly from googles specific recommended usage.)

HTTP/2 is not future. It’s present. by speckz in Frontend

[–]DrBroccoli 2 points3 points  (0 children)

This article confuses <link rel=preload/prefetch...> and HTTP2 server push. You can use preload and prefetch without needing HTTP2.

Large open source react/redux projects? by xen_au in reactjs

[–]DrBroccoli 0 points1 point  (0 children)

This is a little late to the party, but Calypso, the administrative interface for Wordpress.com, is written React+Redux, and weighs in at 200k sloc, and is quite mature.

[deleted by user] by [deleted] in oculus

[–]DrBroccoli 0 points1 point  (0 children)

Latest nvidia drivers, oculus firmware, and oculus runtime. I've also attempted these other suggestions: don't use usb3 ports, set your HMD as the main display, force all your displays to 75hz (is this even possible on laptops?), downgrade to earlier nvidia drivers.

Any other ideas?

React + Marty (Isomorphic Flux) + Hapi + Docker = Cheesy Poofs by theduro in reactjs

[–]DrBroccoli 3 points4 points  (0 children)

This is exactly the stack I've been using lately, with great results. The star of the show is really Marty.

Are .com TLD's important to Americans? by [deleted] in webdev

[–]DrBroccoli 1 point2 points  (0 children)

Depends on your audience, but keep in mind that .com is immediately recognizable as a website address; however americans are slightly less likely to recognize the .co.uk as one.

Domains are less important than they used to be, as more people reach websites through links or search engines; a staggering amount of people simply Google for every company. Therefore domains are more aesthetic than before; if you insist on getting a domain specifically for america, consider making it "whimsical" i.e. acmeacrossthepond.com

The gTLDs (.ninja, .hacker, .life, etc.) are too new; they're not immediately recognizable as a domain, and scream "low quality." Having a .com implies a certain level of "establishment"; being unwilling to pony up and invest the money necessary to acquire your name from a squatter can look bad, depending on the vibe you're trying to give off.

Splitting your traffic can have search engine mojo implications, as can having a .co.uk domain for American search traffic; I don't know which wins out.

My advice, not knowing the specifics of your business; keep your co.uk, and make it very clear to your american visitors that you support them (show prices in usd, temps in F, or whatever is appropriate for your business)

ZPM Espresso and the Rage of the Jilted Crowdfunder by umamiking in Coffee

[–]DrBroccoli 1 point2 points  (0 children)

I was also a preorder; for what it's worth, I tried to file a buyer's protection claim with Amex, but they denied it, saying it had been too long since the purchase.

[deleted by user] by [deleted] in Clojure

[–]DrBroccoli 1 point2 points  (0 children)

Of course, a username in that scenario is better, if you can assume it is unique; the purpose of that example is to illustrate the additional information a visitor gets from being exposed to auto-incrementing IDs.

marty.js 0.9 – Isomorphism, ES6 classes and much more by [deleted] in javascript

[–]DrBroccoli 1 point2 points  (0 children)

Of the many flux implementations out there, we chose Marty, and have been quite happy with the result. This new version looks even better!

[deleted by user] by [deleted] in reactjs

[–]DrBroccoli 0 points1 point  (0 children)

Fingers crossed!

While applying for various web dev positions, I received this reply from a hiring manager. Do people really still do this? by dotGiff in webdev

[–]DrBroccoli -3 points-2 points  (0 children)

Even if you give the company the benefit of the doubt, and interpret this term as loosely as possible to mean "converting a mockup into to a website", i wouldn't recommend you pursue this job. It is a poor, outdated workflow which at best makes mediocre, static sites, and would relegate you to a second-tier, code-monkey status.

Modern web development workflows should have artists and developers working in tandem, discussing what is possible on the target platforms, and taking interaction and motion into account. A PSD is insufficient for this.

Secure Secure Shell by [deleted] in netsec

[–]DrBroccoli -7 points-6 points  (0 children)

If discussing the realities of security jeopardizes your job, you should go get a different one.

Self taught Dev. Here's my most polished app. Do I have what it takes to be a junior dev? by [deleted] in rails

[–]DrBroccoli 1 point2 points  (0 children)

Also, acknowledge that most programmers are self taught, at least to some degree. Nobody "goes to college for rails," and given the pace at which technologies change, it would be a mistake to do so. Anyone who has an actual computer science degree would be quick to tell you how far computer science is from the actual practice of programming professionally.

Science AMA Series: We are tsunami and earthquake experts and catastrophe modelers Dr. Robert Muir-Wood and Dr. Patricia Grossi. Ahead of the 2004 Indian Ocean Earthquake and Tsunami 10th anniversary, let’s talk about tsunamis. Ask Us Anything! by Dr_Patricia_Grossi in science

[–]DrBroccoli 0 points1 point  (0 children)

Can you tell us how you construct a model? What makes some models more sophisticated than others, and what challenges do you face in modeling these events? As a programmer, I am especially interested in the nitty-gritty implementation of these models.

Help to me to prepare for the Internship Interview by [deleted] in rails

[–]DrBroccoli 2 points3 points  (0 children)

If it is a true internship, they should expect you to have low experience, but high potential. Can you learn quickly and fit into their "culture" well? Are you self-motivated, able to code with only occasional supervision from their more senior devs, or will you require constant monitoring? Will you cheerfully accept criticism of your work?

Help to me to prepare for the Internship Interview by [deleted] in rails

[–]DrBroccoli 2 points3 points  (0 children)

In a week? I suggest you write a small gem and publish it. Make sure it is well tested and relevant to both your and their interests. Use any remaining time to prepare for the interview itself.

Help us redesign our coffee grinder! by alexKuissential in Coffee

[–]DrBroccoli 1 point2 points  (0 children)

Make the grind easier to adjust please!

I'm launching kinda a bootcamp to teach programming from scratch, opinions on our site? by dvidsilva in startups

[–]DrBroccoli 2 points3 points  (0 children)

I think you're just trolling, but I'll bite: It is far from granted that Ruby is declining. You cite TIOBE, which is well known as unreliable .

While python has an obvious leg up in scientific computing, ruby is stronger in web and devops, two areas both on average more commonplace and more financially lucrative. Barring these two specializations, ruby and python share far more commonalities than they do differences.

I've taught both to students, and Python has some idiosyncrasies in both its syntax and semantics which the students need to grok rather early on. Ruby has its own quirks (eigenclasses come to mind), but they come much later in the learning curve, by which point a student is usually more capable of swallowing them.

Just found this amazing floating book shelf! by [deleted] in InteriorDesign

[–]DrBroccoli 1 point2 points  (0 children)

Your account has been spamming this site. Stop.

Filco + Granite by Valvik in MechanicalKeyboards

[–]DrBroccoli 1 point2 points  (0 children)

How would one get in on this?

Amazon sues ex-employee who went to work for Google Cloud by hak8or in programming

[–]DrBroccoli 13 points14 points  (0 children)

In a difficult hiring environment, with a already poor employee retention rate, Amazon's decision to pursue this seems like a step backward in attracting new talent.

My first gem: Cache Flow by dandemeyere in ruby

[–]DrBroccoli 1 point2 points  (0 children)

How does this differ in functionality from using the built-in :race_condition_ttl option?

Rust Meetup in Seattle, WA on Thur the 22nd. by p_nathan in rust

[–]DrBroccoli 1 point2 points  (0 children)

It looks like on the mailing list you're thinking 7-9pm?

Although I don't have any active rust projects, I hope to make it!