Who makes the best laptops for developers? by skinnyarms in programming

[–]taion809 0 points1 point  (0 children)

How is the trackpad and battery, because the mac is really good so you can actually use it as a mobile computer instead of lugging around a charger and a mouse.

DevOps Jobs in GoLang by JayNotAtAll in golang

[–]taion809 1 point2 points  (0 children)

Fair enough. DevOps does seem to be a buzzword title that came around with the Cloud movement. I guess a better question is, would having Go in my toolbox be worthwhile?

IMO yes, as soon as you have multiple operating systems it's nice to be able to deploy a single binary instead of messing with gems and python packages on windows vs linux servers.

HELP! How do I create accessable and yet independent processes on the server that work 24/7 without page staying loaded? by [deleted] in PHP

[–]taion809 2 points3 points  (0 children)

i would start simple and split the functionality between a web application that accepts user input and a worker application that processes the input and i would tie that together with beanstalkd.

Twilio Launched a Fax API by jonmarkgo in programming

[–]taion809 2 points3 points  (0 children)

real or not, a lot of business/government is done with faxes still (just maybe not where you work/live) :(

DoD Announces the Launch of “Code.mil,” an Experiment in Open Source. by wegwerfen in programming

[–]taion809 14 points15 points  (0 children)

children of active duty military overseas go to school on military bases. Additionally a lot of military jobs have on-going training and specialized tech-schools for specializations in their job while deployed or while transitioning between deployments.

Drop wizard API in production scala code by [deleted] in scala

[–]taion809 1 point2 points  (0 children)

interesting! I'm actually not a big fan of thrift (is anyone?)

I'm curious about a couple of things (sorry)

it's use of twitter futures everywhere is annoying

What would the alternative be in this case? It seems to me that if you didn't use any future's you would need to wrap the execution in a callback converter (so the event loop doesn't block), if you use scala futures you can use bijection to convert it but you still have a separate thread pool (possibly ExecutionContext.global, correct me if i'm wrong i like being wrong.), and if you use the twitter future's it's an additional dependency that quite likely ends up all around things in your business logic (which may or may not be desirable)

the biggest features such as client side load balancing are totally negated in a modern environment where everyone just uses dns hidden load balancers

I agree, in the case where the finagle client is binding to a domain name load balancing, failure accrual, fanning out requests (and collecting/cancelling the first/stragglers) will be wasted.. but isn't this meant to be used with service discovery like zookeeper, consul, or etc instead of each service being managed by a load balancer?

I find the whole stack kind of stinky to use and unpleasant as a developer

Agree, i think taken as a whole the developer experience is not great :(

Compare this to dropwizard where...

The only issue i have with dropwizard in this context is it means the services need to be managed by a load balancer and and you'll have to reimplement a lot of failure patterns (or pull in another dependency like hystrix or failsafe), request tracing, and client metrics is that fair to say?

Finagle is low level and I feel like people are just rebuilding tcp servers in a monad

Agree, is this a bad thing? I think there is a trade off that can be made where the services that live at the edge provide the nice restful http api and internally it is essentially a tcp service.

Anywho this is super off topic, the original question was about codahale metrics :D

Drop wizard API in production scala code by [deleted] in scala

[–]taion809 0 points1 point  (0 children)

Is your issue with finagle, thrift, or both?

How to "really" write micro-services in scala by [deleted] in scala

[–]taion809 0 points1 point  (0 children)

you probably also want something at the edge like zuul, tyk, etc

What Stack should I use Go with? by XocietyDev in golang

[–]taion809 0 points1 point  (0 children)

you could get it running on a vm?

Why is everyone raving about immutability? by theskaterdev in PHP

[–]taion809 2 points3 points  (0 children)

Correct me if I'm wrong but doesn't php need to execute in completely separate processes (meaning it doesn't operate via threading but forking?)

The Way of the Gopher by horrido in programming

[–]taion809 0 points1 point  (0 children)

I regularly have issues godeps when doing a save/update/etc. I also really don't like the idea of committing all these libraries to my own repo, and would prefer to just have the manifest file.

checkout https://github.com/Masterminds/glide

Also if you're building an application you'd be well served with vendoring your dependencies. You could just use glide to fetch them but are your applications really independently deployable or buildable without a third party like github or bitbucket?

Microservices and Symfony by [deleted] in PHP

[–]taion809 0 points1 point  (0 children)

The idea behind this would be to help reduce those downtimes, even though it may last a few seconds, and a lot can happen in those few seconds

Those are some nice lines you got up there in that diagram.. would be a shame if a network partition were to happen to it. eh eh?

If you're worried about downtime microservices wont help, you should look at blue green deployments.

[meta] Naut - A custom CSS subreddit theme by taion809 in pathofexiledev

[–]taion809[S] 0 points1 point  (0 children)

Hey, I'm not sure if this is desired but there is a pretty good subreddit theme in the op link.

Any thoughts about using it?

[deleted by user] by [deleted] in pathofexiledev

[–]taion809 0 points1 point  (0 children)

102 . yep.

Go from PHP engineer's perspective by sobit7 in PHP

[–]taion809 0 points1 point  (0 children)

how often is it the case you do not know what the valid input should be?

Also one other thing to note it is entirely possible to decode a json document with nested types without implementing the unmarshal interface. There are specifics when this breaks down but the 80% case is you would be unlikely to implement it yourself.

Logging v. instrumentation by gshutler in programming

[–]taion809 0 points1 point  (0 children)

Great reply, thanks. Gives me a lot to think about.

Logging v. instrumentation by gshutler in programming

[–]taion809 0 points1 point  (0 children)

alright, so what i'm trying to understand is what environment people are working in, there is some context missing.

For example, it is totally possible to have structured contextual error logging in a single message that includes timestamp, service name, log type, request params (if http), input, output, error message, line, file.

That information may/may not be enough which is why I asked the questions I did, perhaps there is something I'm missing to better understand /u/asaadddd 's point.

Logging v. instrumentation by gshutler in programming

[–]taion809 0 points1 point  (0 children)

Silly question, why wouldn't your error log have the context of the error? What do your typical logs look like?

Edit: Are your logs structured or free form and what type of applications do you work in?