Skip to content

u/Johnny_Bit

In this archive from Sep 2013 to May 2024

1
posts
101
comments
0
media
589
score

I wonder how people are not getting it. There's a large space that matches a thumb of the hand that's supposed to open the door.

I'd also like to point out that previously car door handles worked differently than what's currently on most cars and people do had to "figure out" new ways. Some worked like normal home door handle, some you had to push in the key, some you had to pull to one side...

2 points

Why after buying Jelastic, had virtuozzo changed it's name to "Virtuozzo Application Platform"?

Jelastic was perfectly fine name, but they had to put their branding on it. And virtuozzo branding is soooo boring and uninspired... "Virtuozzo Hybrid Infrastructure", "Virtuozzo Hybrid Server", "Virtuozzo Hybrid Cloud", "Virtuozzo Application Platform", "Virtuozzo Cloud Platform", "Virtuozzo CDN Platform"... Totally soulless.

0 points

You know what would certainly help? Invoice. Loads of companies are willing and able to support OpenSource projects, just need invoice. I think on SubscribeStar companies supporting people are able to get invoice for that, but generally, any company that wants to support OpenSource would happily do so if they could get invoice to put into expenses. That's all it'd take for some.

4 points

In times before php 7 HHVM was nice idea. Now I don't see point in HHVM, especially now since it dropped php support. And current Hack language looks like somebody cross-eyed C++, PHP and Pascal then said "yeah, I want all of that" and went hacking ;)

4 points

Wait... what?

First you create array of datas from downloaded resources

then you smush array and remove spaces

then explode it back

then go unique on said array

​

Why doing this many array operations?

first - instead of `file_get_contents` use `file()` and pass `FILE_IGNORE_NEW_LINES` and `FILE_SKIP_EMPTY_LINES` as flags. Use array_merge to merge obtained data and then use `array_keys(array_flip($array));` to get super fast unique values. Last foreach is ok.

5 points

I do my generic scriptin in PHP too. For most of my projects the mental switch is not worth any extra. Also for most of my scripts php version is usually shorter and runs rather well, especially since PHP 7 (7.2 especially).

I can honestly say that more than 50% of my general shell scripts are php. Rest are in order: BASH, AWK, python, perl, go & others :)

5 points

It can run migrations, support for cloud is based on whatever yoi like - if it can run commands then it can deploy to it, versioning handled via git - you can deploy master, tags, branches etc. Handles develop/staging/testing/production and more environments, multiple server configurations and bunch of other stuff. Is something missing? do a PR against https://github.com/deployphp/recipes

5 points

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.