Skip to content

u/Boye

In this archive from Mar 2008 to Oct 2026

17
posts
414
comments
2
media
1.1k
score

Top posts

Queuing locally - Redis or DB

Hiya guys and gals! UPDATE:: I used the sync-driver which was made for exactly my use-case. Somehow I hadn't noticed that one... I have a job that gets send to the queue, and right now, the queue is stored in the database locally, and on production, I'd like to store it on AWS SQS. This, however, me...

2 points5 comments
Open on Reddit

Send multiple notifications

So, I have this site where users can donate. I want to have several notifications go out, when someone donates;We have a slack-channel where we should get a notification with the amount, to whom it was donated etc. I would also like a pusher-notification go out, which can update our live status-boar...

2 points3 comments
Open on Reddit

Top comments

method overloading.

I want to be able to load a user by making two methods:

function getUser(String $email){}

function getUser(Int $userId){}

and then php figures out which method to run, by looking at the parameters.

Nore more of this getUserById(), getUserByEmail and all that...

41 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.