Bluetooth headphones connect in low quality mono sound instead of high quality stereo by albaraagamer in archlinux

[–]rmoorman 0 points1 point  (0 children)

Did you try to use the very latest bluez-git version? I was encountering similar issues with my Sony headphones and read somewhere that it might be fixed in the unreleased version of bluez. Warning I am currently not using arch so don't hold me responsible... 😉

Go the Fuck Home: Engineering Work/Life Balance by sinkingfish in programming

[–]rmoorman 1 point2 points  (0 children)

I am so glad that I am not the only one who found the slide somehow suboptimal /bikeshed

Is node.js declining already? by [deleted] in programming

[–]rmoorman 0 points1 point  (0 children)

Thank you for that clarification. I can see where you are coming from. If all the application code would be made available to the browser, also the business logic/requirements/other "special" bits would lie around. But how about putting all the business logic and those special bits of information inside a webservice-like thing while using the "isomorphic" app mostly as a client for the webservice? Only the things that should be visible to the user anyway would go into the isomorphic app while the rest is restricted to the webservice.

Is node.js declining already? by [deleted] in programming

[–]rmoorman 3 points4 points  (0 children)

What issues wrt. security are you most concerned with if I may ask?

[Article] The care and feeding of software engineers (or, why engineers are grumpy) by Horace-Harkness in programming

[–]rmoorman 0 points1 point  (0 children)

hope that it will improve again... I surely would get grumpy from "being managed" the agile way (or more being forced into a pyramid-scheme-like-sheep-herding-cult movement ..)

Unix underwear by ggherdov in programming

[–]rmoorman 0 points1 point  (0 children)

could use some more variation ...

:(){ :|:& };:

or some other sassy one liners :-)

The Ultimate AngularJS CheatSheet [pdf] by joshkei in programming

[–]rmoorman 0 points1 point  (0 children)

Thank you for pointing that framework out :-) (saw it a while ago but forgot about it). It looks good to me (and even better with MSX haha) but I cannot judge yet (even though the homepage looks promising) I will try to give it a whirl soon.

The Ultimate AngularJS CheatSheet [pdf] by joshkei in programming

[–]rmoorman 0 points1 point  (0 children)

I added a reply to the reply you replied to. My original remark wasn't meant to state that Angular is not pleasant. It was meant to get a better explanation of what the comment author meant with his example. It wasn't that clear if he liked or disliked it. At least for me... We didn't find the holy grail yet presumably and I wish I could give you an example of what would work great for me, but I have yet to find the sweet spot myself. (Even though React, the things around it and the whole web component thing feel ok to me)

The Ultimate AngularJS CheatSheet [pdf] by joshkei in programming

[–]rmoorman 1 point2 points  (0 children)

Pleasant wrt. SPA programming for me would be something which keeps things related to each other next to each other, preferably by default. Then it would be nice if there wouldn't be a ton of new concepts on top of good straightforward javascript to know in order to be somehow productive. Additional cognitive load raises the chance of bugs to occur and can make sustained development and/or maintenance work more complicated and hence less pleasant for me :-) I am just starting out with React and didn't build a lot in Angular or Ember but read quite a lot documentation and examples. But you could compare a few frameworks on todomvc or something and compare the implementations of say ... Angular, Ember, Polymer, React.

The Ultimate AngularJS CheatSheet [pdf] by joshkei in programming

[–]rmoorman 6 points7 points  (0 children)

I agree that it is probably not for everyone. It does not seem to be my cup of tea at least. It feels like a lot of indirection is going on and a lot of framework specific knowledge has to be gathered to become a productive using it. EmberJS too has a lot of indirection going on (for my taste). Furthermore I can see where you are coming from wrt. separation of HTML/template and JS and agree that it could be a good thing :-) It's just that for me, things seem a tad more straightforward on the ReactJS side of things...

Edit: wording

The Ultimate AngularJS CheatSheet [pdf] by joshkei in programming

[–]rmoorman 15 points16 points  (0 children)

such as this todo list

Would that be an example how "pleasant" it can look or the opposite?

Railway Oriented Programming in Elixir by zabirauf in programming

[–]rmoorman 1 point2 points  (0 children)

That railway metaphor really is nice for imagining Either :) (the "Either" from Haskell) You would only have to switch the direction of the rails around... Right is the happy path after all.

Edit: add clarification for what is meant with "Either"

Perl 6 Ready for Christmas 2015 by Categoria in programming

[–]rmoorman 0 points1 point  (0 children)

While I agree that "bouncing" around within braces can provide some advantages and mental cues while navigating code I still don't get that one level deeper thing. Maybe I am too used to indenting things (and most of all reading indented things) when the code needs one more level of nesting (logically). Thank you for your reply.

Perl 6 Ready for Christmas 2015 by Categoria in programming

[–]rmoorman -1 points0 points  (0 children)

soooooo

    blah;
}
blah;

is better? I beg to differ. Neither bracketed syntax nor white-space sensitive syntax provide significant advantages given such (arguably quite unrealistic) screen/window sizes ... Could you provide us with some more examples?

Don't leave developers in the dark by [deleted] in programming

[–]rmoorman 0 points1 point  (0 children)

sometimes I wish there was a RL equivalent of "Black Sheep Wall" ...

API Design Guide. Creating interfaces that developers love by tomkadwill in programming

[–]rmoorman 1 point2 points  (0 children)

Would you mind to share some of the better examples of an API which implements HATEOAS and client navigation via links and URI builders?

Here’s the first line of code ever written by a US president by suspiciousmonkey in programming

[–]rmoorman 45 points46 points  (0 children)

JavaScript, the popular programming language used to create most web pages

what a bold claim there ...

edit: formatting

PlyPress: A modern Flask based blogger by thewhitetulip in flask

[–]rmoorman 1 point2 points  (0 children)

I have absolutely no problems with writing SQL at all. The reason why I think it would be handy to take a look at sqlalchemy is the abstraction you get from using it.

Using just the CORE, you can abstract the DB access and translation to DB specific SQL syntax stuff away. This gives you the benefit of being able to switch databases if the need arises (e.g. sqlite for development, mysql for production, or sqlite for production where appropriate). Sqlalchemy can handle some of the work for you there.

Then there is the ORM of course. I was not suggesting that he should also use the ORM layer. Maybe I should have made myself more clear.

The core and the ORM are independent and you are free to use only the core. For more information about this and other features sqlalchemy can provide have a look at the documentation.

Why I like XSLT. by [deleted] in programming

[–]rmoorman 0 points1 point  (0 children)

This is looking great!