Readit News logoReadit News
ARama commented on An Introduction to Solid Queue for Ruby on Rails   blog.appsignal.com/2025/0... · Posted by u/amalinovic
latchkey · 10 months ago
If this was part of reducing operational overhead, why not implement something functionally like GCP Cloud Tasks [0]?

Since this is part of Rails, all you would need to do is implement regular http endpoints, no need for workers/listeners. Submit a "job" to the queue (which itself is just a POST) and the message details: the endpoint and some data to POST to said endpoint.

The queue "server" processes the list of jobs, hits the specified endpoint and when it gets a 200 response, it deletes it. Otherwise, it just keeps retrying.

[0] https://cloud.google.com/tasks/docs

ARama · 10 months ago
We use to do this by making use of the cloudtasker gem.

However we've recently just migrated to Sidekiq. We regularly found that the time to enqueue a job with cloud tasks was anywhere from 200-800ms. We often have workflows from users where they need do something that would involve a batch of say 100+ jobs. The time to process each job was minuscule, but actually enqueuing them took a long time.

Time to enqueue with Sidekiq / redis was brought down to under 20ms. We can also make use of bulk enqueuing and enqueue all 100+ jobs in one redis call.

However when we were first starting out, it was a godsend. Made our infrastructure significantly more easy to manage and not have to worry.

ARama commented on VR   blog.ycombinator.com/vr/... · Posted by u/craigcannon
sgrove · 9 years ago
> That is easily the most physically demanding VR activity that I've found so far

Have you tried soundboxing? I'm on OSX so can't try it, but I really want to give it a shot - it seems awesome, and a good workout. Bringing back the glory days of DDR in the arcade...

[0] - https://www.soundboxing.co/

ARama · 9 years ago
I've played Soundboxing quite a lot, its a load of fun and you definitely get a solid work out. Its usually my go to game when I want some VR exercise. The leaderboard is a nice touch as well, makes me really try push myself because I want to be #1 on some of my favourite songs.
ARama commented on Advice for ambitious 19 year olds (2013)   blog.samaltman.com/advice... · Posted by u/Jarred
ARama · 12 years ago
> "be around smart people. "

I couldn't agree more. I'm 20 years old and dropped out of university after my first year. There was a large amount of people I was surrounded by who weren't motivated at all and didn't really seem to take interest in anything we were doing.

I moved to San Francisco ( from New Zealand ) after I dropped out in the beginning of 2013, attended a programming bootcamp and was surrounded by smart people who all shared the same drive and passion as me. It made a world of difference, my core group of friends were all people who breathed code. We all motivated each other to better ourselves and to learn new technologies. Moving to the valley was the best thing I've ever done, I learned so much in such a short amount of time and was even approached by some companies with some great offers. Unfortunately I had to move back to New Zealand as my year was up and US work visas require a degree or an extensive amount of experience. That was probably the biggest downside of dropping out, a degree can definitely open up many doors.

ARama commented on Why Everyone Should Not Learn To Code   coderslexicon.com/why-eve... · Posted by u/Martyr2
ARama · 13 years ago
This line stuck out to me: "Coding because you played a computer game once and want to make the next Assassin’s Creed in a few days of work"

When I was 13, I decided that I wanted to stop playing games and try to make my own. I was naive and thought that I could build one like WoW single handedly and I soon realized that I couldn't. However I did then come across private servers for games like World of Warcraft. From that I started to learn how to run them, I started to learn about SQL to manage the DB, then moved onto to learning LUA in order to script for my server. Even going onto looking into C++. Even then moving onto learning about web development and web servers in order to run the site for my server. That's what sparked my curiosity in coding and development at a young age.

That's why I disagree with this statement. People will learn that they can't build a game just like that, but they make start to take smaller steps and learn themselves. Don't discourage people from trying. They actually have a good mindset where they want to try build things themselves.

ARama commented on We are 2 Italians, in Treasure Island, and we are launching CoffeeStrap.   blog.coffeestrap.com/2012... · Posted by u/mahesh_rm
danso · 13 years ago
So did anyone else think this referred to something involving CoffeeScript and Twitter Bootstrap?
ARama · 13 years ago
That's what I thought it was going to be when I saw the title.
ARama commented on Think Like a 5-Year Old   inc.com/jeff-hoffman/inno... · Posted by u/treskot
segmondy · 13 years ago
I enjoy cartoons more than regular TV shows because they can be wild with the imagination. A lot of people think this is childish. They rather watch "Reality TV" shows.
ARama · 13 years ago
I'm the same, I watch a lot of anime because it sparks some great thoughts. What if the world was like X, what if we could do this, why is this like that etc. It gets me questioning a lot of things. It definitely gets my imagination going a lot more then reality shows like you said. ( although I do enjoy mellowing out and watching them every now and then )
ARama commented on A Whole New Code Search   github.com/blog/1381-a-wh... · Posted by u/bencevans
donretag · 13 years ago
Someone is interested in what you and I have to say: https://github.com/ruggeri/hn-local-copy

Found via Github search

ARama · 13 years ago
I'm one of the students of App Academy ( which Ned Ruggeri is co-founder of ). The reason for that is because today one of the tasks was to create a version of HN in ou terminals. HN was blocking people due to repeated requests and thus Ned made a local version of HN for students to use.

Deleted Comment

ARama commented on Kim Dotcom’s plan to give New Zealanders free Internet could just work   thenextweb.com/au/2012/11... · Posted by u/Cbasedlifeform
veb · 13 years ago
I've always wondered why big tech companies haven't used New Zealand as an experimental place for their "plans".

What I mean by that is, we have 4 million people, and we're not a large place by any means (2,000km in total length, something like that).

If Google wanted to show the world their "vision", they could simply come to NZ, buy a mobile carrier (for millions, not billions of dollars) and give everyone free plans (or whatever their vision is) and lay down fibre to everyone in the country (much faster than the stupid government imo) . They'd even be able to get their awesome self-driving cars on the roads fairly easily, without having to spend so much damn money lobbying.

As per the NZ public, we love new stuff. Right now, we're ripped off in every aspect (consumer-wise). Some massve corporation would change this country in a heartbeat, and for the better. (I'd hope anyway).

New Zealand, in my opinion, has an awesome "sample" size (regarding population). We were one of the first countries in the world to go from cash to using EFTPOS (http://en.wikipedia.org/wiki/EFTPOS) extremely fast.

>> "EFTPOS is highly popular in New Zealand, and being used for about 60% of all retail transactions.[23] In 2009, there were 200 EFTPOS transactions per person"

To me, it makes so much sense for massive corporations to come to NZ, trial their stuff _easily_, and for half the cost (made up number) than it would be to do it in the US.

Once people see how awesome NZ is when it comes to all these self-driving cars, cheap/free internet, cheap phones, and cheap/free phone data/calls/sms surely the rest of the world would want to be just like us? :]

My two cents. :]

ARama · 13 years ago
I definitely agree with you, I'd love to see more tech companies entering the NZ market. Sadly we are lagging behind other countries when it comes to technology.

One of my own goals is to help introduce a better environment for technology in NZ. Hopefully encouraging more people to start their own startup and base their operations in NZ ( I'm planning on basing my startup here in NZ ).

ARama commented on Kim Dotcom’s Mega goes online at Mega.co.nz   mega.co.nz/... · Posted by u/denzil_correa
pyrotechnick · 13 years ago
Yeah, because that old trick still works.

Assange is still chill-banging. Sipping Aguardiente. Schmoozing Ecuadorian diplomats. Yelling shit about the commander-in-chief out from the balcony to the glassy-eyed press [1].

As for Mr. DotCom, don't hold your breath. NZ is still busy kissing his arse [2].

[1] http://www.heraldsun.com.au/news/world/julian-assange-labels...

[2] http://rt.com/news/zealand-apologize-dotcom-spy-108/

ARama · 13 years ago
The NZ courts have been quite good in the MegaUpload case. However the NZ government has shown that its happy to essentially overrule decisions of the courts if it doesn't like the decision.

Although Kim has become a bit of a celebrity in NZ now, he's even looking at funding a program to bring free fibre optic to NZ. ( http://www.stuff.co.nz/technology/digital-living/7904696/Dot... ) So the government may not do something too hasty as it would cause a large amount of public backlash.

u/ARama

KarmaCake day22October 20, 2012View Original