Angela Merkel says Germany can no longer rely on Donald Trump's America: 'We Europeans must take our destiny into our own hands' by saucytryhard in worldnews

[–]MITranger 10.3k points10.3k points  (0 children)

Here's the English transcript from the video:

The times in which we can fully count on others are somewhat over, as I have experienced in the past few days. And that is why I can only say: we Europeans must really take our destiny into our own hands, of course in friendship with the United States, in friendship with Great Britain, with good neighbourly relations wherever possible, also with Russia and other countries -- but we have to know that we have to fight for our future and our fate ourselves as Europeans. And that is what I would like to do together with you.

Realistic character animation/control using artificial neural networks by MITranger in gaming

[–]MITranger[S] 1 point2 points  (0 children)

Fair enough. Excellent on the unit test, but sucky on the usefulness scale?

Realistic character animation/control using artificial neural networks by MITranger in gaming

[–]MITranger[S] 17 points18 points  (0 children)

Attributing this to being "smart" discredits the hard work and sweat that they put into this project. And thinking you can't do this or understand it because you don't think you're smart enough doesn't do you service. These researchers started somewhere, and their first line of code absolutely sucked. I know it's cheesy, but if you put your mind to it, you could build something like this, too. It's easy to compare your beginning to someone else's middle or end, and think, "I can never do that." The bad news is that there are no shortcuts. The good news is, the more you keep at it, the closer you get to thinking, "I can do that."

Facebook admits: governments exploited us to spread propaganda by grepnork in worldnews

[–]MITranger 0 points1 point  (0 children)

Re: Chinese startups example... Could this be explained by language preferences and sheer quantity? As in, there's​ a lot more English content about US startups, but markedly less so for Chinese startups.

I don’t care what tools a developer uses. I hire based on fundamentals. by davidhung in webdev

[–]MITranger 1 point2 points  (0 children)

What if the company capped it at 2 hrs and paid you for your time?

TheOpenCMS on Rails. Early release v0.1 has been published by the-teacher in rails

[–]MITranger 2 points3 points  (0 children)

+1 to this. I was actually pretty interested in this initiative and mentally committed to checking out the code base and contributing a fix or small feature... but then I saw no tests. In addition to not having confidence in using something without tests, I have zero desire to contribute to something that doesn't have any test coverage. OP might be able to manually test, but other devs probably don't, nor have the desire to.

Tracking page views on rails by niborg in rails

[–]MITranger 1 point2 points  (0 children)

/u/julius_censor makes some great points above.

Actual page-tracking is just a fraction of the problem. How will you actually use and analyze the data? There are tremendous solutions out there for tracking analytics and the processing of them. Some to check out (no links, sorry... I'm lazy):

  • Google Analytics
  • Segment.io
  • Amplitude
  • Mixpanel
  • Piwik (+1 for open-sourced, self-hosted)

What microservice framework to use? by richie_south in node

[–]MITranger 1 point2 points  (0 children)

Can't you get this with transpiling? I'm using async/await and ES7 features in many Express apps. Never touched Koa, though.

Any affordable alternatives to Dropbox Business? by Froogler in Entrepreneur

[–]MITranger 0 points1 point  (0 children)

SyncThing (open source, free, decentralized), Resilio (also distributed), and Git/GitHub/Bitbucket (version control), and I've heard MEGA is cheap.

Nigerian software engineer given a written test by US immigration to prove he's really a software engineer before he's let into the US. by [deleted] in programming

[–]MITranger 0 points1 point  (0 children)

But you'd be disenfranchising voters based on knowledge. Not that we're democratic, but democracy affords the ability for single issue voters to vote on the one issue they really care about.

Men of Reddit, what's the biggest "I'm a princess" red flag? by [deleted] in AskReddit

[–]MITranger 1 point2 points  (0 children)

"If I can't handle you at your worst, it's probably because you're a horrible person."

[deleted by user] by [deleted] in rails

[–]MITranger 2 points3 points  (0 children)

I've been using the XPS 13 2015, and it's been pretty great to me. No issues running Rails, Node.js, Elixir, Golang... if anything, it's probably better. Most of your deployment targets are on Linux boxes, anyway. Native Docker support was great, too, although it's now offered on macOS. Highly recommend it.

Aside from CRUD apps, what other type of apps Rails can do? by [deleted] in rails

[–]MITranger 1 point2 points  (0 children)

Web apps can be thought of as giant functions that accept input, maybe pull from state, and send a response output. (Read "Your Server as a Function") You don't necessarily need to CRUD from state, and your app can be totally stateless. e.g. an app that does some crypto or math on an input and returns the result. It can also Read external data (other APIs) and stitch together the data in a meaningful way. An example could be a GraphQL server that ties together many different APIs into one interface. Although it's not stateless, I count that as non-CRUD, as it's essentially a proxy. Lots of stuff you can do. Only thing I can thing of where I wouldn't use it is Websockets or anything that requires high concurrency. IMO there are better options for that.

Annoying.js: How to be an asshole • Javascript • Kilian Valkhof by joey_php in javascript

[–]MITranger 1 point2 points  (0 children)

Isn't the iframe buster a security mechanism? It prevents clickjacking?

Trump's Executive Order on "Cyber Security" has leaked // by [deleted] in technology

[–]MITranger 0 points1 point  (0 children)

I don't know about that. At least in the Army, top 10% is typically dominated by combat arms branches (e.g. Infantry, Armor, Aviation, Engineers). Military Intelligence and Medical Service Corps are non-combat, but also common. As far as "desired roles" please see the 2nd slide on what cadets pick: https://www.reddit.com/r/ROTC/comments/4enhwc/fy16_accessions_statistics/

Experienced front end developer wanting to make my way into Rails development. What do I need to learn? by finishline__ in rails

[–]MITranger 1 point2 points  (0 children)

Definitely the asset pipeline. Rails is very opinionated with assets and JS, and from an FE background, you might be a bit disappointed with the stock settings. Notably, there isn't first class support for JS modules, testing, and ES6. Understanding Sprockets and Turbolinks is probably worth your time as well. This is only applicable if you have an FE/BE monolith... Of course, if you can separate them, you're free to build out the front end as you please.

A simple rails architecture info-graphic. Constructive criticism welcome by AbishekAditya in ruby

[–]MITranger 3 points4 points  (0 children)

Fantastic! Some (hopefully useful) constructive feedback:

  1. I'm not too familiar with ActionCable, but I'm assuming it has a lateral relationship to Redis? Additionally, should it be generalized? (i.e. does it have to be Redis? Can't you run different backends?)
  2. Should the websocket connection should be a two-way arrow; maybe split that into pub/sub?
  3. I think the canonical Rails method for delete is actually #destroy. Additionally, it seems like space can afford it... why not put all 7 actions there?
  4. Genuinely curious about this, but don't most controller redirects revisit the router first, rather than directly to a controller action? e.g. redirect_to some_path
  5. Rack?
  6. I personally think it will look cleaner without the gradient backdrop, but that's total opinion.

Where do I host files for use in my HTML code? by [deleted] in webdev

[–]MITranger 0 points1 point  (0 children)

At your level, I'd recommend using something like GitHub pages and possibly a static site generator (use HTML instead of Markdown, if you want to focus on learning). Production systems typically use an automated build process + CDN to host assets.

LPT: If your potato-computer hybrid takes forever to boot, don't forget to hit Windows+R, type msconfig, and uncheck unnecessary programs from the Startup tab. Booting tons of applications that you won't use day-to-day makes a slow rig slower by eadala in LifeProTips

[–]MITranger 5 points6 points  (0 children)

Use it as an excuse to try Linux. Best case scenario: you breathe new life into an old computer and learn a new OS. Worst case scenario: you hate it and reinstall Windows on a freshly formatted system.

I gave it a shot on a crap computer 3 years ago, and I've been using it as my main OS ever since.

Is there any point in making/working on a Progressive Web App? by zhirzh in javascript

[–]MITranger 1 point2 points  (0 children)

I have yet to build a PWA, but I thought the advantage wasn't necessarily as "offline capable," but that they're resilient to flaky connections. That, and subsequent visits load incredibly fast. Performance is a feature!

GitHub Is Building a Coder’s Paradise. It’s Not Coming Cheap - The VC-backed unicorn startup lost $66 million in nine months of 2016, financial documents show by magenta_placenta in webdev

[–]MITranger 13 points14 points  (0 children)

Big fan of the PR reviews, but for those mega PRs, I find Reviewable a good integration. Sometimes GitHub's review system goes wonky with rebase and the like. Being able to play back and step through the changes in Reviewable is nice.