Details
-
SkillsPython, PHP, JS
-
LocationNigeria
Joined devRant on 8/17/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@BM32 I misunderstood the question. I thought the question was if it were possible for the phone to call an api when shutting down. Thanks for clearing it up for me.
-
I don't own an iPhone but I'd imagine number 5 is possible. I expect there should be an event that is emitted when the phone is about to shutdown, a background service could listen for this event and call the API.
-
Emacs😁
-
@AdrianD what age are you living in man? Who types spaces nowadays when even nano can be setup to use 2 (or 4) spaces when tab is pressed? Plus you never have to actually tap backspace a number of times just to remove indentation unless you're super paranoid. Just embrace spaces bro. Most JavaScript and Haskell style guides recommend 2 spaces where as the default tab size is 4 or 8, so if you'll reconfigure tab handling anyways why not just set tab to use spaces. Python recommends spaces instead of tabs too.
It is OK if you prefer tabs but wrong to imply that others who use spaces are somewhat bad. Even git can check in tabs/spaces and checkout spaces/tabs if you like. -
Give that man a beer!🍻😁
-
I use vscode with emacs key bindings so for me save is CTRL + X + S which makes it even worse. In WPS Office and most text editors CTRL + X deletes the current line, add this to my habit of saving multiple times and I end up deleting a couple of lines each time I am helping someone fix their code in their editor or editing a non code document.
-
For some it is Ctrl + G + /
-
Nigeria
-
@kaqqao a few days back I ran `pacman -Rcnsu gnome gnome-extras gdm` and then `pacman -S deepin deepin-extra deepin-extras lightdm` and with a bit of config had a very beautiful DE. But two days later I did `pacman -Syu` and deepin-daemon became unstable till I had to downgrade (it has been fixed in the official repo now). This is the sort of breaking I was referring to.
-
@gedankennebel it will make more sense if you're using deepin desktop environment too. I just install deepin DE and it is simply awesome!
-
Like deepin-terminal with ohmyzsh
-
It is fine (even required) to return an empty list if requesting a list of items. But if you're requesting for a specific id however a 404 should be thrown if the id does not exist. Eg.
/products should return a list
/products/some-id should return a 404 -
Wow, I just tried it in termux. I never new tac existed.
-
While we are still on the subject, has anyone here ever successfully unsubscribed from Odoo mailing lists?
-
@tisaconundrum nothing. My phone was in my pocket so it ended up sending some random text. But now that I think of it Kirkuk does sound like a place the NSA will be interested in -:) I hope they're not watching though.
-
If your ORM support migrations, use them! Use DB seeding/fixtures for default data.
-
@a Kirkuklgw ggwl
-
@Dev-Zero you have WiFi in the train? Awesome!
-
@OrestH you won't have any issue so long as you keep using -Syu but if you do a partial upgrade however, you'll find your system in an unexpected state.
How can you do a partial upgrade? Run `pacman -Syu` and right after it has synced the package repositories stop it with CTRL + X. Now install any package that depends on other core packages e.g. bash (i.e. `pacman -S bash`). There, you have yourself a broken arch install.
But if you stick with -Syu you're good. -
This is DEFINITELY NOT TRUE. So long as you don't do partial upgrades your Arch system is GUARANTEED to be stable. `pacman -Syu` does a full upgrade so you'll always have a stable system after running the command! Fuck!
-
@harkindey Beeni. But they mostly get interpreted (Python).
-
Ore baoni
-
@stuqshwk hello 30 I'm 32
-
@jackgreen php can't be that bad!
-
@bori0066 I didn't, just copied it from Wikipedia
-
@JammehCow I was just saying if there ever was a job that involved debugging BF that job would trump every other as the shittiest.
-
I should think that is beyond just storage. If you're on a slow network the images take too long to load and sometimes timeout.
Perhaps if there's an option to chose lower quality images then the default can be set to higher quality images. -
@meain Haskell
-
main :: IO ()
main = putStrLn "Merry Christmas" -
Have a look at vuejs. I haven't used it yet but the documentation is quite compelling.