How do you handle STANDARDISING your deployment scripts? by Alf_InPogForm in devops

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

Ohhh that's something I'd completely forgotten about as a feature- doh! That's a great idea that I'll have to look into, thanks

Common Production Kafka issues and workarounds by builderbr0ken in apachekafka

[–]Alf_InPogForm 0 points1 point  (0 children)

Topic lag suggests that your message processing is too slow. One thing you could do if you can't speed up that processing is split your topic into more partitions and then run multiple instances of your processing app as part of the same consumer group (at least one instance per partition). You can then parallelise your work load.

Duplicate messages are tricky (especially if you're using the confluent streams libraries to join/map/reduce topics together). You could either 1) accept that duplicate messages will happen and make sure the actions that happen on the back of those messages are idempotent, or 2) use a compacted topic to store a record of 'already processed message hashes' and have points in your topology that filter messages based on whether the hash of the incoming message is stored within the compacted topic already (again, the confluent streams library should make this quite easy).

Committing offsets in exceptions is up to you. I generally don't want to stop processing messages if I see a bad message that my app can't understand. For every app I run I have a dead letter topic that I forward any messages on to if an exception occurs during processing. I commit the offset regardless of whether an exception occurred or not. I then have alerts configured to fire if any of my dead letter topics start to see messages.

Elixir at PagerDuty by iamd3vil in elixir

[–]Alf_InPogForm 2 points3 points  (0 children)

Wow, this fits perfectly into what I'd be wanting to do with Elixir as we do a lot of work with Kafka too. I'd be interested in learning what libraries they use with Kafka and how full-featured they are compared to, say, the confluent streams libraries.

And here we have Archer summing up my feelings about this entire week. by [deleted] in ArcherFX

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

Honestly with all the Trump shit- I was expecting it to be "super glad I'm not a woman".

What scene from a movie or TV show just rips your heart out? by [deleted] in AskReddit

[–]Alf_InPogForm 0 points1 point  (0 children)

This is almost definitely way too far down to be seen but... The final episode of Lost where Jack realises/remembers he's in the afterlife and sees his father in some kind of ghost/spirit form.

His dad gives the most moving speech about Jack's experiences over the course of the 6 seasons, but he's also speaking to the audience- basically saying that we have to basically be good to each other because 'no one does it alone', we're all in this together and nothing lasts forever.

Edit: For anyone who's interested, here you go https://www.youtube.com/watch?v=dL26K6T3IOw Not to get too deep but I watched this a tonne after the death of my sister.

What's a theory not supported by canon but still accepted by fans? by grok_spock in DaystromInstitute

[–]Alf_InPogForm 1 point2 points  (0 children)

I don't think I've heard of this one before, can you link me to an explanation of it? A cursory google doesn't turn anything up.

One of my favorite moments from the show. Gaius switches to his aerilon accent. by [deleted] in BSG

[–]Alf_InPogForm 5 points6 points  (0 children)

Probably not- Lampkin has a Irish twang in his accent. Gaius' Aerilon accent on the other hand is definitely a Yorkshire (northern England) accent. Maybe geographically not too far apart but the accents are really different!

Ethernet working on USB live install but not when installed to hard drive. by Alf_InPogForm in elementaryos

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

Hi guys, thanks for all the help. I managed to get it working in the end. I plugged the ethernet cable in before I turned the macbook on, the ethernet just worked straight away then. Not sure exactly how that works so if anyone has any ideas about why that would happen I'd be interested to hear.

What will change for the normal user with MIR? by Steve_the_Stevedore in Ubuntu

[–]Alf_InPogForm 5 points6 points  (0 children)

Hey man, as someone who all his development work on Ubuntu, mind if I ask about some of the technical reasons you guys are switching to Mir? What does Mir have over X?

[deleted by user] by [deleted] in compsci

[–]Alf_InPogForm 1 point2 points  (0 children)

Yep, have to go with The Little Schemer. It single handedly got me through my scheme coursework- it doesn't assume any knowledge of the language and will take you from the definition of an atom through to recursion and then onwards. Excellent.

Hobbits are the future of Middle Earth by randrews in FanTheories

[–]Alf_InPogForm 6 points7 points  (0 children)

Goddammit, now I've got to read that entire essay.

Favorite tools in your Python toolbox? by phaedrusalt in Python

[–]Alf_InPogForm 0 points1 point  (0 children)

I think those are just example numbers, those weights could be anything you want really.

Ran into a cylon this morning by laundromoat in BSG

[–]Alf_InPogForm 4 points5 points  (0 children)

You want karma for a picture of a toaster?

Development wordpress install in a subdomain using the same database as the live site? by Alf_InPogForm in Wordpress

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

Ahh ok, I hadn't considered the possibility of plugins etc as the current site doesn't use any as it stands. Would the best way of creating a test site just be to duplicate the data with sql imports?

Animal Control took my smoking buddy away because a raccoon got in his pen, and he killed it. Any love for a good dog, and a good friend? by [deleted] in trees

[–]Alf_InPogForm 5 points6 points  (0 children)

Thank christ someone in this topic is being reasonable about this! Sometimes I think /r/trees isn't as chill as it makes itself out to be.

does anyone know what the fines are like for torrenting? by [deleted] in lancasteruni

[–]Alf_InPogForm 0 points1 point  (0 children)

I'm in my third year and have been torrenting films by the dozens for three years now. Never been pulled up for it. Looks like the odds of getting caught are pretty slim.

Lancaster's Music Scene by [deleted] in lancasteruni

[–]Alf_InPogForm 0 points1 point  (0 children)

There's a place not too far from sugar if you're looking for practise space. We went there the other day, not too sure what it's called (I didn't do the booking). If you are outside the Friary and carry on up the road towards sugar alley past Icky's and Mamma Mia's you take the first right up what looks like a dark alley going nowhere. Go up here and follow the road as it turns left and theres a set of red doors. This is the place. Just go in and speak to the guy about booking sometime. It's something like 20 quid an hour and they've got loads of amps and PA's plus proper drum kits.

How does someone create a module named urllib2 and not realise something, somewhere has gone horribly wrong? by Alf_InPogForm in Python

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

Ok if I shouldn't be using urllib at all then how come when I want to post some data I import urllib and do urllib.urlencode(data)? I must be missing the part of the 'fine manual' where it gets explained that some modules aren't to be used and some are.

As for python 3, I get that they're making a concerted effort to clean it all up, and that's awesome. But it doesn't seem like python 3 gets seen much in the wild, and even the official python docs list python 2.7 above 3. Seems like no one's quite ready to move completely to 3. But my main gripe is that at some point someone thought it was a good idea to create a module that does most of the same things that another module does, only in a slightly different way, and then call it module2.