CodeReddit: Cover UI for Reddit at Work
codereddit.com
codereddit.com
If you get on reddit at work for work-related reasons, you should be fine - and if you won't be, this isn't going to help with the problems in your office.
No, it just means you enjoy reading it and you're willing to break some rule you probably consider dumb and inconsequential.
Why do you think people have to have a "strong need" to be willing to break workplaces rules?
I've also been the person being asked "hey, just between us, how can I check my email/MySpace/LiveJournal/Facebook/Flavor-of-the-week?" Answer: Get a smartphone, use their app or check your email during breaks on your phone not on the company network. Some places are more rigid about this and some are less. I also tell businesses that I can do some measure of blocking, but that at its core things like this are a business and HR policy thing as much as they're a technical issue to be addressed.
And finally, I've been the person charging for cleaning up viruses, doing nuke-and-paves, and (fortunately only once) restoring from backup after what I'll still call "stupid user tricks" when a senior partner wanted a newer version of Office and went to download it. Ain't Cryptolocker fun?
Disclaimer: mine
1) Make a dark version. Who codes on white?
2) Remap H J K L to arrow keys
I thought "Cover UI" was going to be Reddit reimagined as album or magazine covers.
I've been IRCing from Emacs for many years; most of the people around look at my screen (and tiny font) and have no clue whatsoever about what I am doing. Sometimes the screen shows code, sometimes my notes or contents of a folder, other times an IRC or IM window, and it all looks the same.
But if you're banned from taking a reddit/HN/tumblr/FB break at work, maybe it's time to look for a job that values what you produce, not how you produce it.
I like this one more though, the code looks more realistic.
Hmmmm
However, if you do want an elegant solution for your problem, may I recommend ruby-install[1] and the companion for easily changing between versions, chruby[2]. Alternatively, you could try RVM[3].
There are a couple more versions (one is even specifically designed for Windows), but I found ruby-install and chruby to be the most convenient ones for both personal and professional use.
[1] https://github.com/postmodern/ruby-install [2] https://github.com/postmodern/chruby [3] https://rvm.io/
...except PHP.
I'm not trying to bash Ruby, but I haven't done any programming with it for about 6 years. I just want to get some web thing running on my home server, or get some gems installed for Compass or whatever (which to be fair is now a lot easier with bundler).
What I don't want to do is figure out how RVM works for the third time and how to install it globally instead of just for my user account so Apache site one can use one version and Apache site two can use another.
Everything in that world changes every year and if you're not keeping up it's a huge mess.
Unless you install PHP with a certain prefix—which you can do for other languages—I don't see how PHP solves the problem.
C?
Also, there's the problem with platform portability (in terms of compiler "oddities", not system libraries) which I won't get into, because it's a hairy subject. :)
I don't know how many times I tried to run a php web app just to find out a random php5-* extension was missing, and then having to guess which one.
i've seen site outages in large companies due to these sorts of bugs. multiple times. this is a major set of problems that you avoid by having a memory model that fits the domain (http services). php sort of did it by accident, but it works. BEAM gets this right as well.
But I've seen just as awful code in other languages throughout my career so far. I wish people would drop this elitist attitude towards PHP.
Cause, ya know, 4 years later there's probably nothing that is changed or improved. Better to just write it off completely than to do your own research and use relevant facts to shape an argument.
* It's 2016 and PHP still doesn't have a module system, Python had one in '91, Perl had one in '94, Ruby had one in '95
* inequality operators still have no === equivalent
* sorting is still indeterministic when you have null values because NULL < -1, and NULL == 0
* arrays are the only containers in the language and they simultaneously act as sets, lists, and associative arrays which fucks up almost all array functions because you don't know what they will do
* PHP has had exceptions for almost 10 years now and a lot of functions still require you to use their specific error function to tell if it failed. So if you don't call say json_last_error, your code will SILENTLY return the wrong thing
Composer is widely adopted and has been the standard for years now. It's not baked into the language, it's a community driven effort that has been wildly successful.
> * inequality operators still have no === equivalent
Still true. Pretty easy to deal with since there are functions for handling equality of all scalar types.
> * sorting is still indeterministic when you have null values because NULL < -1, and NULL == 0 > * arrays are the only containers in the language and they simultaneously act as sets, lists, and associative arrays which fucks up almost all array functions because you don't know what they will do
Both of these things are true. Neither of these things regularly snag me in my development, but like many other dynamic languages, they do need to be carefully designed for. Unit testing, strongly typed scalar vars (new in PHP7), or using SPL object data structures instead of language primitive help here.
* PHP has had exceptions for almost 10 years now and a lot of functions still require you to use their specific error function to tell if it failed. So if you don't call say json_last_error, your code will SILENTLY return the wrong thing
I can't think of a function I regularly use besides json_encode that has this problem.
Much of that article was originally a disagreement with the approach PHP generally takes and is subjective in the first place. I'm not trying to sway people's opinion to actually use PHP, I'm just saying that despite the worts it is a capable language with an incredibly positive and productive community. It's no longer the dumpster fire it once was.
Perhaps you're confusing HHVM with hack?
I'm not into php dev anymore, by any means, but glancing at the improvements that have come through lately, even i have to admit that there's been a massive leap from 5.3 or so.
Things have moved on. It's just another language.
I have yet to see a substantial answer to that question, even with all the PHP bashing, of issues with PHP that actually matter in the real world.
What makes PHP bad?
Overall the langauge reduces my productivity, encourages bad code and doesn't even perform well.
Some of these are addressed in PHP7. Performance is increased significantly, and exception handling has gotten some major improvements as well.
The encouragement of bad code I disagree with though, you can write bad code in any language. It isn't up to the language structures to force the developer into a certain way of writing.
For typing issues, there are strict modes as well, and type checking is something that's being improved in PHP7 again.
It's like people continuously patting themselves on their back for being so witty.
Having said that, if you are really so inclined to browse social media on your boss's clock and instead of looking at the real deal you have to cover it up by pretending to be working - you should sort your priorities.
Reddit is full of shitposts and otherwise terrible things, but no more so than any other "social media" type of site.
Others dropped in as well... like the girlfriend who designed some of the card art, as well as a roommate or neighbour.
That said, it's a weird position. HN is pretty much the same in structure as Reddit, only with (intentionally) worse UI. It doesn't make discussions shit. Yes, the common advice of "try other subreddits" is the key. Many topical subreddits have HN-quality discussions on them, and are frequented by experts in their particular domains. Those subreddits are probably one of the most trustworthy places on the Internet. You just have to check them out instead of judging everything in light of areas meant for the general population.
I find it curiously amusing that EVERY online community is "in decline" at all times.
I discovered Usenet and IRC back in September, 1993. An epoch known in Internet cultural history as Eternal September (https://en.wikipedia.org/wiki/Eternal_September). The Internet has literally been in decline since I discovered it!
Back in the day, even in its prime, every other comment on Slashdot was a meta discussion of how badly Slashdot was declining.
Reddit started out as a site for top-level post content only. When they added support for comments, 10 years ago, the VERY FIRST comment in Reddit history was a claim that Reddit was going downhill! (https://www.reddit.com/r/reddit.com/comments/17913/reddit_no...)
I believe that the "sweet spot" for on online community is one to three months after you've discovered it. Just long enough to get comfortable with its internal cultural cues and quirks and in-jokes, and feel like an insider. Once that point is reached, familiarity immediately starts shifting into contempt. You're never quite able to recapture that novel feeling of initial discover and inclusion, and so it feels like decline whether it is or not.
Different subs maintain different seriousness "set points" - for instance, to compare the two I hang out the most on, /r/SpaceX is almost HN-level serious. Stupid and low-effort comments get deleted, and you may get banned along with them. OTOH, /r/KerbalSpaceProgram is half-serious, half-silly (just like the game). It will upvote a joke, especially if it's good, but offensive and low-effort stuff gets downvoted to hell and then some. The community there likes to get some laugh, but is otherwise super-serious and super-kind.
One of the interesting things about Reddit is how easy it is to create a new subreddit. It's just few clicks away, and anyone can do that. So one of the effective ways of getting rid of particular kinds of comments and submissions is to just tell people to create a new sub for it. Like the /r/SomethingMemes I mentioned. /r/SpaceX has /r/HighStakesSpaceX, because people there like to bet way too much. /r/KerbalSpaceProgram has /r/HerbalSpaceProgram, because one day a popular YouTube video has spawned an unstoppable torrent of "dank" memes.
(OTOH if a subreddit goes beyond hopeless, people who long for higher levels of discourse sometimes restart it as /r/Serious... or /r/True..., and iterate as needed.).