Feed aggregator

erdfisch: Drupalcon mentored core sprint - part 2 - your experience as a sprinter

drupal.org aggregator - Sat, 05/12/2018 - 05:00
Drupalcon mentored core sprint - part 2 - your experience as a sprinter 12.05.2018 Michael Lenahan Body:  Drupalcon mentored core sprint - part 2 - your experience as a sprinter

Hello! You've arrived at part 2 of a series of 3 blog posts about the Mentored Core Sprint, which traditionally takes place every Friday at Drupalcon.

If you haven't already, please go back and read part 1.

You may think sprinting is not for you ...

So, you may be the kind of person who usually stays away from the Sprint Room at Drupal events. We understand. You would like to find something to work on, but when you step in the room, you get the feeling you're interrupting something really important that you don't understand.

It's okay. We've all been there.

That's why the Drupal Community invented the Mentored Core Sprint. If you stay for this sprint day, you will be among friends. You can ask any question you like. The venue is packed with people who want to make it a useful experience for you.

Come as you are

All you need in order to take part in the first-time mentored sprint are two things:

  • Your self, a human who is interested in Drupal
  • Your laptop

To get productive, your laptop needs a local installation of Drupal. Don't have one yet? Well, it's your lucky day because you can your Windows or Mac laptop set up at the first-time setup workshop!

Need a local Drupal installation? Come to the first-time setup workshop

After about half an hour, your laptop is now ready, and you can go to the sprint room to work on Drupal Core issues ...

You do not need to be a coder ...

You do not need to be a coder to work on Drupal Core. Let's say, you're a project manager. You have skills in clarifying issues, deciding what needs to be done next, managing developers, and herding cats. You're great at taking large problems and breaking them down into smaller problems that designers or developers can solve. This is what you do all day when you're at work.

Well, that's also what happens here at the Major Issue Triage table!

But - you could just as easily join any other table, because your skills will be needed there, as well!

Never Drupal alone

At this sprint, no-one works on their own. You work collaboratively in a small group (maybe 3-4 people). So, if you don't have coding or design skills, you will have someone alongside you who does, just like at work.

Collaborating together, you will learn how the Drupal issue queue works. You will, most likely, not fix any large issues during the sprint.

Learn the process of contributing

Instead, you will learn the process of contributing to Drupal. You will learn how to use the issue queue so you can stay in touch with the friends you made today, so that you fix the issue over the coming weeks after Drupalcon.

It's never too late

Even if you've been in the Drupal community for over a decade, just come along. Jump in. You'll enjoy it.

A very welcoming place to start contributing is to work on Drupal documentation. This is how I made my first contribution, at Drupalcon London in 2011. In Vienna, this table was mentored by Amber Matz from Drupalize.Me.

This is one of the most experienced mentors, Valery Lourie (valthebald). We'll meet him again in part 3, when we come to the Drupalcon Vienna live commit.

Here's Dries. He comes along and walks around, no one takes any notice because they are too engaged and too busy. And so he gets to talk to people without being interrupted.

This is what Drupal is about. It's not about the code. It's about the people.

Next time. Just come. As a sprinter or a mentor. EVERYONE is welcome, we mean that.

This is a three-part blog post series:
Part one is here
You've just finished reading part two
Part three is coming soon

Credit to Amazee Labs and Roy Segall for use of photos from the Drupalcon Vienna flickr stream, made available under the CC BY-NC-SA 2.0 licence.

Schlagworte/Tags:  planet drupal-planet drupalcon mentoring code sprint Ihr Name Kommentar/Comment Kommentar hinzufügen/Add comment Leave this field blank
Categories: Drupal

KnackForge: How to update Drupal 8 core?

drupal.org aggregator - Sat, 03/24/2018 - 01:01
How to update Drupal 8 core?

Let's see how to update your Drupal site between 8.x.x minor and patch versions. For example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0. I hope this will help you.

  • If you are upgrading to Drupal version x.y.z

           x -> is known as the major version number

           y -> is known as the minor version number

           z -> is known as the patch version number.

Sat, 03/24/2018 - 10:31
Categories: Drupal

What’s the best language to learn for data site backend?

webdev: reddit for web developers - 14 min 31 sec ago

I’m thinking of learning a language to develop some data related websites, may involving, stock charts, data quarry from DB, data visualization. So what’s the best choice here? Host expenses, maintained difficulty, development difficulty, what else to consider? I heard node.js is quite fast, is it true here? What PHP can’t do that python can? Some people said java was more efficient, while some said java cost more resources. How about go?

submitted by /u/blue-meteor
[link] [comments]
Categories: Web Development

Talk Me Off the Ledge: Overcoming Beginner's Slump

webdev: reddit for web developers - 18 min 56 sec ago

About 8 months ago, I set out to teach myself web development and starting from a basic understanding of HTML, worked my way through the MDN Learn Web Development docs and moved onto paid online courses. At this point, I think I have a good, though novice, grasp on the technologies, how the web works, how to build small things both from scratch and using frameworks, and have some basic programming skills which I've been working on improving with sites like CodeWars and LeetCode, etc.

But after 8 months (which admittedly is a very short amount of time) I feel overwhelmed by how much there is to learn, and what I do know seems miniscule and trivial. In the beginning I was chugging along, learning a lot but after I dove deep into JS and programming, I feel like I stepped into a massive universe where what I knew amounted to almost nothing. I'm still working through tutorials, doing code challenges every day, and I see myself improving but it feels like there's always something else I need to learn to get to where I want to go and the finish line keeps moving further and further away.

When you were starting, how did you power through? How long did it take you to move out of the sandbox and into the real world?

submitted by /u/brodega
[link] [comments]
Categories: Web Development

Can't get this notational plugin to work

vim - 25 min 41 sec ago

After having used the Notational Velocity app for many years I wanted to see if I could do something with just vim.

I found this plugin and followed the instructions, but I keep getting this error:

E121: Undefined variable: s:highlight_path_expr E116: Invalid arguments for function shellescape(s:highlight_path_expr) , '--previe w-window=' . join(filter(copy([ s:preview_direction, s:preview_width, s:wrap_text, s:show_preview, ]), 'v:val != "" ') ,':') ])})) E116: Invalid arguments for function join([ '--print-query', '--ansi', '--multi', ' --exact', '--inline-info', '--delimiter=":"', '--with-nth=' . s:display_start_index , '--tiebreak=' . 'length,begin' , '--expect=' . s:expect_keys , '--bind=' . join ([ 'alt-a:select-all', 'alt-q:deselect-all', 'alt-p:toggle-preview', 'alt-u:page-up ', 'alt-d:page-down', 'ctrl-w:backward-kill-word', ], ','), '--preview=' . shellesc ape(s:highlight_path_expr) , '--preview-window=' . join(filter(copy([ s:preview_dir ection, s:preview_width, s:wrap_text, s:show_preview, ]), 'v:val != "" ') ,':') ])} )) E116: Invalid arguments for function fzf#wrap({ 'sink*': function(exists('*NV_note_ handler') ? 'NV_note_handler' : '<80><fd>R13_handler'), 'source': join([ 'command', 'rg', '--follow', '--hidden', '--line-number', '--color never', '--no-messages', s :nv_ignore_pattern, '--no-heading', '--with-filename', (('' is '') ? ' "\S" ' : she llescape('')), s:search_path_str, s:format_path_expr, '2>/dev/null', ]), 'options': join([ '--print-query', '--ansi', '--multi', '--exact', '--inline-info', '--delimi ter=":"', '--with-nth=' . s:display_start_index , '--tiebreak=' . 'length,begin' , '--expect=' . s:expect_keys , '--bind=' . join([ 'alt-a:select-all', 'alt-q:desele ct-all', 'alt-p:toggle-preview', 'alt-u:page-up', 'alt-d:page-down', 'ctrl-w:backwa rd-kill-word', ], ','), '--preview=' . shellescape(s:highlight_path_expr) , '--prev iew-window=' . join(filter(copy([ s:preview_direction, s:preview_width, s:wrap_text , s:show_preview, ]), 'v:val != "" ') ,':') ])})) E116: Invalid arguments for function fzf#run

If I delete this line and this one I can get past the error. However, I'm not seeing any preview window.

I'm a fairly basic vim user, so not sure what to do :(

submitted by /u/differentcondition
[link] [comments]

Online Accredited Courses.

Learn Programming - 27 min 45 sec ago

Hey there. My question is... are there any online courses you all know of related to programming and computing that are actually worth something if I take the time to complete them. I am teaching myself Python right now but I have time to take some classes that don't cost much. Any ideas?

submitted by /u/PythonGod123
[link] [comments]

How to build a website that can purchase cryptocurrency?

Looking at building a website that will have some functionality involved in purchasing Litecoin, and we're at the research stage right now. Does anyone have any experience with cryptocurrency? Would using an API from an exchange like https://docs.gdax.com/#api be the way to go?

submitted by /u/J_ron
[link] [comments]
Categories: Web Development

Store an unary lambda expression in a variable?

Java help/tutorials/questions - 30 min 4 sec ago

I'm continuing the jorney on writing the same mini game in C++ and Java (university assignment).

My next problem is how to store a unary lambda expression into a local variable. I have found BiConsumer, BiFunction but no class supposed to hold a function that takes no parameters and has a non-void return value.

I'm trying to implement the equivalent code in Java as this C++ code (Vector2d is the equivalent of awt's Point):

Vector2d World::generateRandomAdjacentPosition(Vector2d position) const { enum Direction { up, down, left, right }; std::uniform_int_distribution<std::underlying_type_t<Direction>> dist(0, right); auto generate = [&]() -> Vector2d { auto direction = static_cast<Direction>(dist(::rng)); // rng is a global random number engine object if (direction == up) return { position.x, position.y - 1 }; else if (direction == down) return { position.x, position.y + 1 }; else if (direction == left) return { position.x - 1, position.y }; else // if (direction == right) return { position.x + 1, position.y }; }; Vector2d result; do { result = generate(); } while(!isValid(result)); return result; }

So far I can write all the enum, random generation and isValid() but can't find an appropriate thing to store this lambda.

In C++ auto can be used (automatic type deduction) or template <typename R, typename... Args> std::function<R(Args...)>.

In Java I have found BiConsumer<T, U>, BiFunction<T, U, R> but nothing that would match with Point func() (no arguments, non-void return type)

Edit I mean nullary function but I will need unary too.

submitted by /u/Xeverous
[link] [comments]

The cost of games

Programming - 31 min 6 sec ago
Categories: Programming

Best way to mass-download a podcast?

I'm not trying to pirate anything and I'll even pay to do this. I'm deploying in a few weeks on a Navy ship...so no internet (on a personal device like a phone). My phone has limited storage to download them on iTunes and Spotify (plus, Spotify will remove your downloaded playlists after 30 days of no internet connection).

My preferred method is to store them on an external hard drive and then move them to my phone as I listen to them. That brings me to my question: what's the best way to mass download them and store them in that method? Is there a way?

submitted by /u/bobafeeet
[link] [comments]

Projects to get hired

I'm studying CS and i want to be a web developer after i graduate. What projects should i do in PHP to eventually get hired? I know some of html, css, javascript, php, mysql but i want to do some projects to learn more and get a job. i just dont have any ideas.

submitted by /u/dodo9670
[link] [comments]

ExFat hard drive always spinning?

Raspberry Pi - 35 min 43 sec ago

I have a Raspberry Pi 3 with Raspbian (latest stable) and an external hard drive (1TB) mounted on it.

I have transmission-daemon on it, currently it's just seeding 1 file.

The problem is that the hard disk is always running/spinning and doing noise, I suspect there's something wrong because when I connect the same hard drive to my Nvidia Shield TV the hard drive doesn't make all that noise.

How can I make it stop doing noise/work so hard?

submitted by /u/FezVrasta
[link] [comments]

Learning and starting to use webpack, few noob questions.

webdev: reddit for web developers - 37 min 17 sec ago

So I've implemented the usage of webpack and its optimization plugins for images and such and was able to cut down my requests on my basic portfolio by more than half and reduce the mb transferred from 8mb to 4mb (mainly image reduction).

  1. My first question is, when I call the css in my JS file it puts it inline in the header when the index file is produced, is that wrong or better than calling it from a CSS file? i.e. Do I want it to be inline or external and how would I make it external if so.

  2. My second question is, how would I apply this to wordpress, right now I transfer my sites over to wordpress so when it comes to deploying more pages or do SEO work I just use the addons and it makes life easy. My sites aren't particularly wordpress but I do split them up so my header.php and footer.php include the navbar and footer so when i create a new page it takes out the copy paste work.

I think I can enqueue the bundle.js file in the functions.php file but I'd have to input the html myself rather than generate it and have it optimized with webpack. Even then I'm not sure if that would work with the way it loads the css.

submitted by /u/toonwarrior
[link] [comments]
Categories: Web Development

Python tuple, new takes 2 positional arguments but 3 were given

Learn Programming - 37 min 25 sec ago

Tuple is defined like this

tweetAndTime = collections.namedtuple('tweet','dateTime')

Data for the tuple is handled like this

for dataPoint in data: Strtime = dataPoint["timestamp"] tweetTime = datetime.datetime.strptime(Strtime, "%Y-%m-%dT%H:%M:%S") tweetToBeStored = tweetAndTime(dataPoint,tweetTime) times.append(tweetToBeStored)

The error hits on tweetToBeStored assignment

"TypeError: __new__() takes 2 positional arguments but 3 were given"

I've seen this error pop up with object methods before, but not with tuple declaration. Any idea what's up? dataPoint is a tweet object with fields, tweetTime is a datetime object

submitted by /u/rektourRick
[link] [comments]

Hitting o on a commented line

vim - 37 min 59 sec ago

So when I hit o or O on a line that is commented it assumes the new line is also a comment. Is there a way to stop this? Or do people just deal with and just delete the #?

submitted by /u/jrock2004
[link] [comments]

rpi alternatives if i don't need the GPU or GPIO

Raspberry Pi - 39 min 51 sec ago

So I've been wondering, is the RPI 3 really the best-for-buck in this price class if you don't need the GPIO or GPU? i.e. if you just want cheap, silent, low-energy headless server that runs a webserver, email server or similar.

Anyone have a recommendation? Features I'm looking for here:

  • CPU at least as fast as RPI 3

  • at least 1 GB RAM (depends on price; if the device is twice as expensive, it better have twice as much RAM)

  • good ethernet performance; Gigabit is not that necessary, but still more interesting than a GPU

  • wifi works

  • decent support for Debian/Armbian, maybe even Ubuntu Server (not Core); this is probably the biggest issue with rpi alternatives

submitted by /u/FeatheryAsshole
[link] [comments]