Evgenii Legotckoi
Evgenii LegotckoiAug. 26, 2016, 3:56 a.m.

RubyUser Guide #28 - Ruby - Nuts and bolts

Ruby, ruby lesson, ruby уроки, user guide, руководство пользователя

This chapter addresses a few practical issues.

Statement delimiters

Some languages require some kind of punctuation, often a semicolon (

;
), to end each statement in a program. Ruby instead follows the convention used in shells like
sh
and …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 26, 2016, 3:52 a.m.

RubyUser Guide #27 - Ruby - Object initialization

Ruby, ruby lesson, ruby уроки, user guide, руководство пользователя

Our Fruit class from the previous chapter had two instance variables, one to describe the kind of fruit and another to describe its condition. It was only after writing a custom

inspect
method for the class that we realized it …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 26, 2016, 3:21 a.m.

RubyUser Guide #26 - Ruby - Accessors

Ruby, ruby lesson, ruby уроки, user guide, руководство пользователя

What is an accessor?

We briefly discussed instance variables in an earlier chapter, but haven't done much with them yet. An object's instance variables are its attributes, the things that distinguish it from other objects of the same class. It …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 26, 2016, 3:18 a.m.

RubyUser Guide #25 - Ruby - Exception processing: ensure

Ruby, ruby lesson, ruby уроки, user guide, руководство пользователя

There may be cleanup work that is necessary when a method finishes its work. Perhaps an open file should be closed, buffered data should be flushed, etc. If there were always only one exit point for each method, we could …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 26, 2016, 3:09 a.m.

RubyUser Guide #24 - Ruby - Exception processing: rescue

Ruby, ruby lesson, ruby уроки, user guide, руководство пользователя

An executing program can run into unexpected problems. A file that it wants to read might not exist; the disk might be full when it wants to save some data; the user may provide it with some unsuitable kind of …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 25, 2016, 1 p.m.

LinuxTop 10 Developers and Companies contributing to the Linux kernel in 2015-2016

Linux, 25 лет, Linux Kernel

Сообщество ядра Linux закрыло год установлением нового рекорда по числу изменений влитых в один релиз, по сравнению с предыдущим отчётом разработки Linux Kernel .

В версии ядра 4.6 можно увидеть около 13,517 патчей влитых за 63 дня, что равно рекорду, …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 25, 2016, 11:47 a.m.

QtОт Visual Studio Add-In к Qt VS Tools (Beta)

Add-in, Qt VS Tools

It's been almost three years since the last official release of the Qt Visual Studio Add-in , but now the Qt developers are coming up with something new: Qt VS Tools. The beta version can be downloaded from Qt Downloads …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 25, 2016, 11:04 a.m.

QtQt/C++ - Lesson 053. Building IBASE SQL driver Qt 5.7 on openSUSE Leap 42.1

FireBird, SQL, Leap, Qt, IBASE, openSUSE

Installing Qt 5.7 on openSUSE Leap 42.1

Download the latest version of Qt in Linux:

wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run

Making the file executable

chmod +x qt-unified-linux-x64-online.run

Install gcc, make, and other necessary libraries:

sudo zypper install --type pattern devel_basis

Next, install the …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 25, 2016, 3:05 a.m.

RubyUser Guide #23 - Ruby - Class constants

class, constants, Ruby, Ruby уроки, user guide, руководство пользователя

A constant has a name starting with an uppercase character. It should be assigned a value at most once. In the current implementation of ruby, reassignment of a constant generates a warning but not an error (the non-ANSI version of …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 30, 2016, 12:03 p.m.

QtQt WinAPI - Lesson 004. QtIFW - Automation WinDeployQt and build installers with Qt Installer Framework

Qt, QtIFW, Qt Installer Framework, windeployqt

Correct programmer - it is a lazy programmer. If you can automate something, you definitely need to do this. For example, it can be run automatically with the collecting windeployqt online and offline installers, as well as the preparation of …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 28, 2016, 11:40 a.m.

QtQt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers

Qt, MSVC, Boost, MinGW

Initial acquaintance with Boost on Windows start to build precompiled libraries and connecting them to the project on Qt. This code will use one of the Hello World-s from the Boost documentation, namely the installation locale using boost.

Building Boost …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 14, 2016, 5:57 a.m.

QMLGame on QML - Lesson 1. Games arena and dynamic objects

JavaScript, QML, Qt, динамические объекты, игровая арена

After the first experience of writing games on Qt for Android, I want to share this experience together and offer to write a simple game in the style of "kill the mole." This is a game in which you need …

Read
AD

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:50points,
  • Rating points-4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:20points,
  • Rating points-10
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 10:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiNov. 1, 2024, 12:37 a.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 6:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 5:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 9:02 p.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
m
moogoNov. 22, 2024, 6:17 p.m.
Mosquito Spray System Effective Mosquito Systems for Backyard | Eco-Friendly Misting Control Device & Repellent Spray - Moogo ; Upgrade your backyard with our mosquito-repellent device! Our misters conce…
Evgenii Legotckoi
Evgenii LegotckoiJune 25, 2024, 1:11 a.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 5:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]
NSProject
NSProjectJune 4, 2022, 1:49 p.m.
Всё ещё разбираюсь с кешем. В следствии прочтения данной статьи. Я принял для себя решение сделать кеширование свойств менеджера модели LikeDislike. И так как установка evileg_core для меня не была возможна, ибо он писался…

Follow us in social networks