Introducing a Programming QnA Community on Steemit. #steemdevqna
Foremost I'd like to thank and welcome all the people who are interested in this idea who either commented and\or who up-voted the previous post(s):
@jesta, @mcsvi, @cryptogee, @disbelieve, @n3bul4, @cybercodetwins, @drpuffnstuff, @discernente, @velourex, @mohyeh, @kevinwong, @xeldal, @donkeypong, @liberosist, @dunia, @vcelier, @pharesim, @leongkahn, @wijuwiju, @theb0red1, @paulc, @sidwrites, @allyouneedtoknow, @sethlinson , @midnas-howler, @coocoocachoo, @qed, @hilarski, @succ33d11, @jimmyhmiller, @thatsweeneyguy, @jo3potato, @kakradetome, @xdauqzaru, @gbonikz
Special thanks to @jesta, @hilarski, @liberosist, and @vcelier for either sharing and\or up-voting the previous post.
As we all know software questions and answers may take hours of our time to write up and solve. Thanks to @Steemit we have the opportunity to be compensated for those lost hours. We will be building a QnA section similar to StackOverflow using the #steemdevqna tag as a sub-forum to @jesta's already established #steemdev community. The goal of this QnA sub-forum is to build incentive for software engineers and users to post thorough questions, and to allow others to propose their working answers.
Here is a complete e.g. of what a post should look like on the #steemdevqna forum, (pulled from my StackOverflow):
Elixir Laravel SyntaxError: Unexpected token
I made some changes to my gulpfile.js.
Then I received the following syntax error in my terminal after executing the gulp
command:
'version' errored after 657 μs SyntaxError: Unexpected token } at Object.parse (native) at VersionTask.deleteManifestFiles (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/VersionTask.js:114:29) at VersionTask.gulpTask (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/VersionTask.js:72:18) at VersionTask.run (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/Task.js:139:31) at /var/www/html/work/node_modules/laravel-elixir/dist/tasks/GulpBuilder.js:60:37 at Array.forEach (native) at Gulp. (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/GulpBuilder.js:59:54) at module.exports (/var/www/html/work/node_modules/orchestrator/lib/runTask.js:34:7) at Gulp.Orchestrator._runTask (/var/www/html/work/node_modules/orchestrator/index.js:273:3) at Gulp.Orchestrator._runStep (/var/www/html/work/node_modules/orchestrator/index.js:214:10)
Looking in my public/build/css directory I noticed all my css versions are incorrect.
My gulpfile.js
file:
const elixir = require('laravel-elixir');How can further debug or fix this `gulp` error?require('laravel-elixir-vue');
elixir(mix => {
// for the application, after login
mix.sass(['styles.scss','imports.scss'])
.version(['css/styles.css','css/imports.css']);
});
TAGS: steemdevqna laravel gulp json css
Here is a complete e.g. of what an answer should look like:
After opening the rev-manifest.json
file in the public/build/ directory, I discovered it was somehow missing css/imports-xxxxxxx.css
in the json list. I deleted rev-manifest.json
and entered the command gulp. Now after opening rev-manifest.json
all the css files are listed and the error is gone.
Using the #steemdevqna tag post the questions with your code followed by additional tags e.g.
steemdevqna php functions email imap
steemdevqna python django image file
Thanks to @whd who demonstrated that we can use triple backticks ``` to post html code. e.g.
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
To post other programming languages such as php, python, c++, java, sql, etc. I would suggest using the <pre> </pre> tags e.g.
if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { $protocol = $_SERVER['SERVER_PROTOCOL']; if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ) ) ) { $protocol = 'HTTP/1.0'; } }
QnA Community Rules:
- We must keep the community ethical.
- If someone gives you a working answer you should upvote their answer to build community incentive!
- Let's keep #steemdevqna a question and answer thread only!
- The title should state the topic in a sentence or question.
- The post should include a question or two, and it's a good idea to bold the question.
- The post should include resources needed to solve the question such as providing code, or an errormessage using <pre></pre>, or backticks ``.
- The answer should be in the comments of the post.
- The answer should fully solve the question's problem.
- Posts and answers should be written in a format so that others may benefit from the knowledge.
Here are numerous tags to use in our questions to help get us started!
Programming languages:
php, cplusplus, python, rubyonrails, csharp, c, java, xcode, android, bashWeb development:
php, html, css, javascript, ajax, nodejs, jquery, json, wordpress, django, laravel, class, oop, functions, enum, variable, syntax, arrays,Database management should include:
sql, mysql, postgresql, sqlite, phpmyadmin, mysqlworkbenchOperating Systems:
linux, ubuntu, debian, macos, android, windows10, windows8, windows7, windowsvista, windowsxp, windowsdos, osApplications:
office, openoffice, word, powerpoint, excel, thunderbird, outlook, chrome, firefox, photoshop, adobe, sublime, visualstudioNetworking:
http, https, ftp, ftps, ssh, ssl, tlt, udp, ciscoHardware:
macbookpro, hdd, ssd, asus, hp, acer, dell, server, router, switch, motherboard, hdmi, vga, soundcard, graphicscardCryptocurrency/Blockchain:
crypto, cryptocurrency, blockchain, bitcoin, ethereum, litcoin, ripple, fastcoin, eos, steemApplication-Programming-Interface API:
api, steemapi, facebookapi, twitterapi, instagramapi, pinterestapi, tumblrapi, spotifyapi, visaapi, paypalapi, mastercardapi,Content Management Systems CMS and Frameworks:
wordpress, joomla, drupal, typo3, laravel, django,@cybercodetwins wanted me to add:
ar, vr, lot, virtualreality, augmentedreality
These are just some example tags of things I've worked with (long list).
Of course we need hundreds of additional members before we can receive answers to our questions. So my advice is get your programming friends on @Steemit, convert people from StackOverflow, and direct the newbies to the community as well!
View the first sample question and answer I made here!
Cheers to our new idea #steemdevqna and expanding the #steemdev community!
Thomas Fink
P.S. If anyone has contact to the @Steemit platform developers please ask them to add a nicer <html> tag we can use to display code.
Hey, great effort setting this up! One question though, do you know how I can subscribe to certain tags on steemit? Right now it seems like I would have to search each tag each time I wanna see if there are new posts.
I don't believe it is possible to subscribe to tags on Steemit yet, however you can checkout @jesta's BBchain. Perhaps in the future I'll develop a site similar to StackoverFlow on the steem blockchain api. I have lots of other work to do for the next month or two before I have the time to.
you can display code with markdown even with syntax highlight (but idk if highlight works here) :)
<pre></pre>
and<code></code>
work for all code except for html. Backticks `` work for html, but only if there are no breaks in the html.what about tripple ` ?
Thanks man this was what I was looking for!
Awesome! :)
Followed!
This post has received a 9.30 % upvote from @booster thanks to: @finkavenue.
Thanks!