优化一下， 减少重复分组
#encoding=utf-8
import random
#题目：随机将8名老师分配到3个办公室，且每个办公室至少有2名老师
#老师列表
teachers=["Mike","Tom","Harry","Rose","Jack","Frank","Pipe","Smith"]
#设置3个空的办公室列表
office=[[],[],[]]
#循环计算次数
roundCount=0
#办公室随机数
officeRandNum=0
#一次完成办公室分配工作，减少循环计算
for teacherName in teachers:
    #随机办公室序号
    officeRandNum=random.randint(0,2)
    #如果当前办公室人数已经大于2人，重新随机一个办公室数字
    while len(office[officeRandNum])>2:
        officeRandNum = random.randint(0, 2)
    #将老师名称放入办公室嵌套列表
    office[officeRandNum].append(teacherName)
#输入结果
print("-"*40)
num=1
for officeStaff in office:
    print("第%d办公室："%num)
    for members in officeStaff:
        print(members)
    num+=1
    print("-"*40)


study note from c1mone/Tensorflow-101


Convex optimization of trajectories without conflict resolution per Mueller.


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


Yes, if you update the version of sbcl, increase the revision of maxima and maxima-devel, as always.


的姐姐家里


Не совсем понятно зачем ты ввел эту переменную.


Oops checked it in by mistake


Now could not deploy this pull request since the `now.json` file explicitly sets `dotenv` to true.
However, there's no `.env` file in the repo.

Commit a `.env` file or unset the `dotenv` flag.
For secret environment variables, check out [Now Secrets](https://zeit.co/docs/getting-started/secrets).


Sleep timer was too short for travis, 150ms seems to work fine


Issues were being caused by the index.html not redirecting the user attribute to /books, fixed this temporarily by setting default user when viewing books.


repo，解决fatal: Cannot get https://gerrit.googlesource.com/git-repo
18年7月更新，清华镜像，完美解决 Yocto，Android fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle 错误，绕开GFW

地址：https://download.csdn.net/download/changer15309/10572809


Successfully aliased the URL <https://timezone-butler-rxfxkjxdrp.now.sh> to the following alias.

* https://timezone-butler.now.sh


This function only extract the point information where the point is served by the player


Бот размещен на сервере heroku.com
https://dashboard.heroku.com/apps/bot-online-shop


is issue 9997 an answer ? or is it just related ?


Что за `bollian` зачем нужен?


![](https://github.trello.services/images/mini-trello-icon.png) [(2) Remoção de informação do ficheiro config [2.5]](https://trello.com/c/VZ6KFXfU/31-2-remo%C3%A7%C3%A3o-de-informa%C3%A7%C3%A3o-do-ficheiro-config-25)


Thank you @vladpaiu  - is this bug related only to master? if not, should it be backported to 2.4 and 2.2 ? Thanks, Bogdan


Why not `line.strip!`?


`strip`ing again?


Зачем проверять number при выводе сообщения?


`bollian`?


Not very 'git-smart' so i deleted and reforked ya ;) hope you dont mind.


I have tried using fetch but for some reason did not work, will try that some more because I think we should limit libs imports;


Looks good overall, a couple notes:
1) Persistency class should be static (always available);
2) Customer field shouldn't be referenced to an object at class initialization (which won't work for a static class anyway). Instead, reference the object in methods that use it. Those could be: CreateAccount(), CheckAccountExists(), ModifyAccount();
3)  We need CheckAccountExists() method with a boolean return type for scenarios:
     a) User wants to login;
     b) User wants to create a new account;
     c) User wants to reset account;
4) We also need ResetPassword() method.


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @arnekr, @frodepedersen were added to conda-forge. Welcome to conda-forge!
  Go to https://github.com/orgs/conda-forge/invitation see your invitation.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


Используешь проверку поезда что бы показать вывод ? но создаем та мы станцию?


А где ты передаешь блок ?


If you declare `errors = Hash.new(0)`, then this line is not needed.


Дублирование, можно вынести вниз для двух поездов сразу


зачем?


Rozumiem!


а зачем на нужна валидация тогда?


Показывай ошибку из validate, которую указала в классе


У нас должен быть метод `valid?` а так же другой метод `validate!`, метод `valid?` должен возвращать лишь `true/false`, а validate! есть все `raise` и он должен выкидывать исключения если что то пошло не так


Там было написано, что path может быть пустой, и если он пустой, то слеша на конце не будет. В таком url'е https://fix-price.ru/stores/ path не пустой, он `/stores/`. В https://fix-price.ru/stores path тоже не пустой, он  `/stores`, и он отличается. Про то, что слеш в конце непустого path не нужен, там написано не было.

Примеры ссылок, ведущих на разные страницы в зависимости от количества слешей:
https://en.wikipedia.org/wiki/
https://en.wikipedia.org/wiki//
https://en.wikipedia.org/wiki///
https://en.wikipedia.org/wiki////
https://en.wikipedia.org/wiki/////


removing the Env File


import matplotlib.pyplot as plt
import numpy as np
from sklearn import datasets
from copy import deepcopy

iris = datasets.load_iris()

samples = iris.data

x = samples[:,0]
y = samples[:,1]

sepal_length_width = np.array(list(zip(x, y)))

# Step 1: Place K random centroids

k = 3

centroids_x = np.random.uniform(min(x), max(x), size=k)
centroids_y = np.random.uniform(min(y), max(y), size=k)

centroids = np.array(list(zip(centroids_x, centroids_y)))

def distance(a, b):
  one = (a[0] - b[0]) ** 2
  two = (a[1] - b[1]) ** 2
  distance = (one + two) ** 0.5
  return distance

# To store the value of centroids when it updates
centroids_old = np.zeros(centroids.shape)

# Cluster labeles (either 0, 1, or 2)
labels = np.zeros(len(samples))

distances = np.zeros(3)

# Initialize error:
error = np.zeros(3)
error[0] = distance(centroids[0], centroids_old[0])

error[1] = distance(centroids[1], centroids_old[1])
error[2] = distance(centroids[2], centroids_old[2])

# Repeat Steps 2 and 3 until convergence:
while error.all() != 0:

# Step 2: Assign samples to nearest centroid

  for i in range(len(samples)):
    distances[0] = distance(sepal_length_width[i], centroids[0])
    distances[1] = distance(sepal_length_width[i], centroids[1])
    distances[2] = distance(sepal_length_width[i], centroids[2])
    cluster = np.argmin(distances)
    labels[i] = cluster

# Step 3: Update centroids

  centroids_old = deepcopy(centroids)

  for i in range(3):
    points = [sepal_length_width[j] for j in range(len(sepal_length_width)) if labels[j] == i]
    centroids[i] = np.mean(points, axis=0)

  error[0] = distance(centroids[0], centroids_old[0])
  error[1] = distance(centroids[1], centroids_old[1])
  error[2] = distance(centroids[2], centroids_old[2])

  colors = ['r', 'g', 'b']

  for i in range(k):
    points = np.array([sepal_length_width[j] for j in range(len(sepal_length_width)) if labels[j] == i])
    plt.scatter(points[:, 0], points[:,1], c = colors[i], alpha=0.5)

plt.scatter(centroids[:, 0], centroids[:, 1], marker='D', s=150)
plt.xlabel('sepal length (cm)')
plt.ylabel('petal length (cm)')
plt.show()


По использованию коллекций в нескольких потоках, лучше всего использовать потокобезопасные коллекции или использовать конструкцию lock


Я бы немного упростил этот код. Что скажешь насчет этого
                        if (list.Count > 0)
                        {
                            Console.Write(string.Join(" ", list.GetRange(i, n)));
                            Console.WriteLine();
                            i += n;
                        }


Successfully aliased the URL <https://coffee-bot-epcypsfijt.now.sh> to the following alias.

* https://coffeebot.now.sh


Нужно выводить сообщение из `raise`


блока нет


I think this should be in "cmd/migrate" no?


m


Ошибку из `raise` нужна


This commit introduce a python API change :
* rbprmBuilder.client.basic -> rbprmBuilder.client
* rbprmBuilder.client.rbprm -> rbprmBuilder.clientRbprm


Successfully aliased the URL <https://timezone-butler-ljtlosadtz.now.sh> to the following alias.

* https://timezone-butler.now.sh


PhpConcept Library - Zip Module 2.8.2 to PhpConcept Library - Zip Module 2.8.2 : any other difference ? Switch tab to space ?


On a dit, pourquoi pas en bonus.
Mais avant tout on veut pouvoir diffuser sur data.gouv.fr des fichiers que les gens sauront utiliser (CSV, SHP, GeoJSON...).


d) give it to `recipient1` 😈

If you want to make the invariants obvious, you can also do like:

```solidity
uint half = msg.value / 2;
uint remainder = msg.value - 2 * half;
```
Here, it is obvious I did not "create" money.


Good point.


The Coq fix works, thanks.


2 -> 3?


fetching data from web service is not implemented


Now could not deploy this pull request since the `now.json` file is empty.
It should be a valid JSON file.

    For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


Eller, hela det här stycket är väl fel för v3 :) Inga hus använder v3 än.


e) We have seen some students leave the remainder in the contract, and make it part of the next split. Not very strict, but not too sloppy either:

```
contract Splitter {
    uint remainder;

    function split(...) {
        uint half = (msg.value + remainder) / 2;
        remainder = (msg.value + remainder) % 2;
```


Looks like a typo here where `$this->refreshToken` should be used 👍


`.then(() =>` because `assert.equal` did not return a `tx`.


Hehe, läste denna häromdagen. Kanske inte ett problem för den här koden :) https://swizec.com/blog/a-day-is-not-606024-seconds-long/swizec/6755


I think it should return `False` otherwise, no?


Could you add embed to the locales.md checklist in Auctionet?


kindly change name to Qaisar Satti. Thanks


Ah, bra. 👍


If we move the embed code into Auctionet like I would prefer, maybe we could just use WTI. But maybe that's too much work?


Well, it is always `True` for now. :wink:


may be you should create separate resource file for Color values, like you already did for Strings


django tutorial step04까지

추상화된 상위클래스 Generic을 사용해 view 지정
view html 파일 생성


Most of the time, a `from:` is unnecessary on constant calls like `view` or `pure`, like here. Keyword: "most of the time".


Good catch.


Can you use `assert.strictEqual(`?


![](https://github.trello.services/images/mini-trello-icon.png) [Junit(0.75/1)](https://trello.com/c/wG63cdAA/26-junit075-1)


It is not a good idea to couple the `EditorFormGroup` with the structure of fragment. If we rename the field we have to change the code in two places. It would be better to use a property, e.g. `showHelp` and set it below where the component is used: `<this.EditorFormGroup property='transliteration' error={this.state.error} showHelp />`.


Successfully aliased the URL <https://cool-camper-jolcvrzor.now.sh> to the following aliases.

* https://coolcamper.ro
* https://www.coolcamper.ro


may be you should create separate resource file for Dimensions values, like you already did for Strings


This should have rung your alarm bells. `51 + 51 == 101`?


![](https://github.trello.services/images/mini-trello-icon.png) [JavaDoc(0.75/1)](https://trello.com/c/uVEm0Ab7/27-javadoc075-1)


that cat tho <3


It does not hurt to wrap this long one-liner, for clarity.


When I did something similar, no test coverage was collected


Successfully aliased the URL <https://simon-kjellberg-njcngsfbnx.now.sh> to the following aliases.

* https://simonkjellberg.com
* https://www.simonkjellberg.com
* https://simonkjellberg.se
* https://www.simonkjellberg.se


버블 정렬


![](https://github.trello.services/images/mini-trello-icon.png) [Implementar Email (6/8)](https://trello.com/c/HJkW9eNU/11-implementar-email-6-8)


For a future reference, the check should actually go to the fragment model (which we do not have yet). Then the component only needs to check `this.props.fragment.hasHits`. When the model is eventually created we should remember to implement the check there.


You'd better break it down for clarity.
In particular, `web3.eth.getTransactionPromise(txObject.tx).gasPrice`? No, `web3.eth.getTransactionPromise(txObject.tx).then(txInfo => txInfo.gasPrice)` perhaps.


`.then(gasCost => ` if the code above was correct.


Using Repeated Squaring with Modular arithmetic


Don't need this variable.


![](https://github.trello.services/images/mini-trello-icon.png) [(2) Edição de informação do ficheiro config](https://trello.com/c/AwKGA7Sa/32-2-edi%C3%A7%C3%A3o-de-informa%C3%A7%C3%A3o-do-ficheiro-config)


@Kim-Gayoung
이름을 SWLab Parsr Builder라고 지었고,
라이브러리로 사용하는 성격에 맞추어 디렉토리 구조를 바꾸었다.
RPC parser를 예제 디렉토리 아래로 옮겼으며,
새로 Solidity의 lexical rules을 구현해서 추가했다.


alt attribute?


That part I kind of dislike. Can we ping something instead? Because where did you get 5 seconds and what guarantees it is not needed 6.3 seconds or whole 10 if load is too heavy?


Can you please create a PR to merge these changes to the main repo? This may be useful for other people.


Actually nothing is implemented :c


Try not to upgrade nuget packages unless absolutely needed. "-preview" or "-beta" packages can often have nasty bugs :bug:


Отсутствует проверка на введенный пользователем текст.


`ingredient.name` provient de l'extérieur.


We might need to URI-escape this value.


It can be just:
```python
was_blocked = not was_blocked
```
But you're unblocking it time-based, not fact-based. That is something I think we need to still discuss how to make it better.


I had that fear too, but I compared the coverage report against the one that is generated without it in my machine and it looks good, let's see what happens on CI


n можно занести в блок while


Maybe "Visibility" ?


You created a hashing function to advertise to your users how to create a hash. That's good, that's the way to go.

Now, however, to verify that your users have not lied, and used the proper hash, what do you do? You do **not** use the advertised hashing function... You use a carefully crafted local hash instead.
Oh it yields the same results you say? No, I say, because in the future, you are going to make a change in the advertised hashing function and forget to update it here. Locking your users out.
If you have a single source of hashing truth, make it so.


It might be. See whether you get a compile error when `NO_LCD_MENUS` is enabled.


Лучше использовать для этого селекторы, абстрагируясь  от immutable


Great! I haven't thought about necessity of name mangling. This way scope won't mess up with inheritance.


we have the section for mail.ru rules - search for `! START: mail.ru` in this file


The recipients should be determined at the box creation, right? If there are determined at the box creation, they need not be mentioned again at the box unlocking, right? So why do you mention the recipients at the unlocking time?


@dppalomar I like the bigger figures 👍


`address(this).amount` will not work. `aRemittance.amount` will work.


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


> There is a lot going in this commit, without splitting it in smaller logical commits is almost impossible to review, as it is very hard to guess an intention.

I would prefer to have reviews on my next PR.

I know that there is a lot going on but it is the result of fixing many crashes.
I will rebase in smaller and more logical commits as soon as I fix the leaks (and we wrap the discussion that we are having by email).
After rebasing I'll open a PR and ask for a review.


builds fine for me. what is your environment?


можно и так)
for (int i = 1; i <= n; ++i)


Yes, I'll add it to the list. No, I think we'll save that until we do the re-write. But I totally agree that we should have these in WTI later on.


у тебя здесь луп рвется после первой же итерации, проверяет в итоге только первый элемент


I'm sorry, seems you're checking an obsolete commit. Please see https://github.com/golang-migrate/migrate/commit/5f88d4bf22bf04a5cf258ff633e6a839f1ff12d0


> 1.


sortings


my test


Now could not deploy this pull request since the `now.json` file does not contain valid JSON.

	Click here to see the contents of `now.json`

{]

For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


You want to require `amount >= 0`, which is always true anyway because a `uint` is always `>= 0`.
Perhaps you meant that you want to require `amount > 0`, which is not always true. Ok.
But because `amount` is in the function arguments, it is in control of the caller. So you are checking whether the caller is able to craft a transaction with a `> 0` argument. This is a very low bar.

Notice how often you have added requires that check the ability of the caller to craft a correct transaction. There are situations where you indeed need to check that the parameters passed were valid. However this is not the whole story. Sometimes you require things on the contract status, or on authorised stuff. In this case passing such a require should not be just a matter of crafting arguments correctly. What you need to do is for each parameter and variable, clearly understand who / what is in control of it, and who / what could try to game it for advantage.


That one was still crashing for a specific setup; (hopefully) final fix by https://github.com/oe-alliance/oe-alliance-plugins/commit/70f3be6d0359433307761b2aee9fe17998132f36


Ah, I get it. Mozilla changing the way MOZ_ASSERT works.


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @arnekr, @frodepedersen were added to conda-forge. Welcome to conda-forge!
  Go to https://github.com/orgs/conda-forge/invitation see your invitation.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/conda-forge_gotchas.html#using-a-fork-vs-a-branch-when-updating-a-recipe)


ok pourquoi pas


и вообще это не будет работать :(
Т.к. процессы постоянно запускаются и убиваются, ты будешь идти по слепку дерева процессов, которое уже не актуально и в какой-это момент получишь это:
```
Exception has occurred: psutil._exceptions.NoSuchProcess
psutil.NoSuchProcess no process found with pid 16676
```


Typo: s/certiain/certain/ :slightly_smiling_face:  (also present in multiple places below).


Final version


is this should be `float maxDuration = 0.0F;` ?


Is it broken right now?


You have a condition checking at the very beginning now, is this checking still needed?


features and attributes are kinda the same, maybe we can change to possibleValues


You're right, there is an error: https://github.com/MarlinFirmware/Marlin/blob/f22e227d9b1e1eee58deb316e10e4b05d585239f/Marlin/src/lcd/ultralcd.cpp#L320

```MenuItem_back::action()``` is not init!

my suggestion:

	if (keypad_buttons) {
        #if HAS_ENCODER_ACTION && HAS_LCD_MENU
          refresh(LCDVIEW_REDRAW_NOW);
          if (encoderDirection == -1) { // ADC_KEYPAD forces REVERSE_MENU_DIRECTION, so this indicates menu navigation
                if (RRK(EN_KEYPAD_UP))     encoderPosition += ENCODER_STEPS_PER_MENU_ITEM;
          else if (RRK(EN_KEYPAD_DOWN))   encoderPosition -= ENCODER_STEPS_PER_MENU_ITEM;
          else if (RRK(EN_KEYPAD_LEFT))   { MenuItem_back::action(); quick_feedback(); }
          else if (RRK(EN_KEYPAD_RIGHT))  { return_to_status(); quick_feedback(); }
          }
          else if (RRK(EN_KEYPAD_UP))       encoderPosition -= ENCODER_PULSES_PER_STEP;
          else if (RRK(EN_KEYPAD_DOWN))     encoderPosition += ENCODER_PULSES_PER_STEP;
          else if (RRK(EN_KEYPAD_LEFT))     { MenuItem_back::action(); quick_feedback(); }
          else if (RRK(EN_KEYPAD_RIGHT))    encoderPosition = 0;
        #endif
        next_button_update_ms = millis() + ADC_MIN_KEY_DELAY;
        return true;
    }


👍

Predicate whether translator can be used for a given transform (URN is just "preselection" of translation candidates from which the first matching candidate would be used). For example we can have a better translation for GBK on nonMergingWindows.

example:
```java
    TRANSLATORS
        .put(PTransformTranslation.GROUP_BY_KEY_TRANSFORM_URN, new NonMergingGroupByKeyTranslatorBatch(), t -> t.getWindowingStrategy().isNonMerging);
    TRANSLATORS
        .put(PTransformTranslation.GROUP_BY_KEY_TRANSFORM_URN, new GroupByKeyTranslatorBatch());
```

does it make sense?


So, Pulse overlay can't be enabled on devices with hw keys enabled? (Without having Nav buttons, that is, as hw keys already handle nav bar options, though having transparent pulse overlay wou;d be great.)
That would be a shame, yet most new devices have foregone hw keys on display. So devs would not be spending time on adding feature, I guess.


# Progress
Ouais continue comme cela !


I think this change https://github.com/mpashkovskiy/express-oas-generator/commit/1ccdddab30ad8d0b381aab677b24c7bd6bde1e76 should work in your project. Could you try version 1.0.3?


example from old Euphoria based runner

https://github.com/seznam/euphoria/blob/master/euphoria-spark/src/main/java/cz/seznam/euphoria/spark/SparkFlowTranslator.java#L83

selection:
https://github.com/seznam/euphoria/blob/master/euphoria-spark/src/main/java/cz/seznam/euphoria/spark/SparkFlowTranslator.java#L106


Sorry, no need to write it here in the client documentation!  Only `docs/reference/query-dsl/span-queries.asciidoc` is enough


AbstractContainer because only concrete subclass (Pyramid Container) will know how to use sessions or requests.

Or maybe not!? Maybe the way to know how to use a request and session is to use a Policy pattern, introduced to the Container instance by argument. Seems the way to do the Clean Architecture :wink:


my bad. Should have been a MOZ_ASSERT_IF -- probably only snags on debug builds.


Hi, just to be sure, is it "Qaisar" as you wrote or "Qiasar" as in your GitHub page?


Can you tell me why this is a meaningless require?


We try to aim lines at docs at 80 characters. This looks longer


Collaborator: Review for this commit was created. [Link to review](http://5529cba2.ngrok.io/ui#review:id=654)


Also, `date` is in the function arguments, what is it you were trying to achieve, or report, here?


With that change and `NO_LCD_MENUS` enabled it looks like the Feedrate on the Status Screen can't be changed with the Zonestar buttons.


shouldn't we also mention the maximum of 255 for batman iv and that banman v uses kbit (for example `1500`) instead of a number between 1..255 ?


Collaborator: Review for this commit was created. [Link to review](http://5529cba2.ngrok.io/ui#review:id=655)


Let's try this instead:
```cpp
if (keypad_buttons) {
  #if HAS_ENCODER_ACTION
    refresh(LCDVIEW_REDRAW_NOW);
    #if HAS_LCD_MENU
      if (encoderDirection == -1) { // ADC_KEYPAD forces REVERSE_MENU_DIRECTION, so this indicates menu navigation
             if (RRK(EN_KEYPAD_UP))     encoderPosition += ENCODER_STEPS_PER_MENU_ITEM;
        else if (RRK(EN_KEYPAD_DOWN))   encoderPosition -= ENCODER_STEPS_PER_MENU_ITEM;
        else if (RRK(EN_KEYPAD_LEFT))   { MenuItem_back::action(); quick_feedback(); }
        else if (RRK(EN_KEYPAD_RIGHT))  { return_to_status(); quick_feedback(); }
      }
      else
    #endif
    {
           if (RRK(EN_KEYPAD_UP))       encoderPosition -= ENCODER_PULSES_PER_STEP;
      else if (RRK(EN_KEYPAD_DOWN))     encoderPosition += ENCODER_PULSES_PER_STEP;
      else if (RRK(EN_KEYPAD_LEFT))     { MenuItem_back::action(); quick_feedback(); }
      else if (RRK(EN_KEYPAD_RIGHT))    encoderPosition = 0;
    }
  #endif
  next_button_update_ms = millis() + ADC_MIN_KEY_DELAY;
  return true;
}
```


好。。。我都加上
```python
maintainers = [{'github': 'petronny'}]
```
是不是就可以了？


inside PopularViewModel?

func getReactionTags(completion: @escaping ([ReactionTag], Error?) -> Void) {
        service.getReactionTags { (result) in
            switch result {
            case .success(let tags):
                completion(tags, nil)
            case .failure(let error):
                completion([], error)
            }
        }
    }


`linkchar` peut contenir des `\'n`. Dans ce cas il faut appeler `Lexing.new_line lexbuf ;` autant de fois qu'il y a de `\n` dans `s`.

Je n'ai pas vérifié si c'était mis à jour partout ou peuvent se trouver des `\n`, mais même si ce n'est pas crucial pour le parsing, ça l'est pour avoir des message de bons messages d'erreur :)


This does not compile. There is no `amount` field on `this`. There is one on the `Remittance` struct though.


You can assign a `bytes32` to a struct type. This does not compile.


1. 15th edition of crazy murdering robots. Can you see it?
2. Can you tell me why this is a meaningless check that no sane user will ever fail?
3. If you don't like a situation, don't do `if` with an implicit `else`, because this implicit `else`, this is where you will have bugs.

Just use `require`. Remember Rob's "Find any excuse to fail early and hard". Any excuse will do.


For more details people should really look into the batctl manpage, duplicating documentation is not reasonable.


Maybe "Difference" and not "Differences" ?


`amount`? Can I say how much I would like to claim?


Я бы чистил форму где-то в redux, в будущем это должно происходить после успешного добавления на сервер


Is ```NO_LCD_MENUS``` ENABLED -> The display does not show an option with Feedrate

``` MenuItem_back::action();``` causes a compiler error. menu.h it is not enabled.

```
[...]
#if HAS_LCD_MENU

#include "menu.h"
[...]
```


@aleron75  thanks for correction. it is **Qaisar**


Лучше использовать для этого селекторы


The display doesn't show "FR 100%" on the Status Screen?


Poczytaj sobie
https://medium.com/flawless-app-stories/how-to-use-a-model-view-viewmodel-architecture-for-ios-46963c67be1b
Fajny opis tematu

Albo tutaj
http://www.andrewturkin.com/swift/2018/3/14/mvvm-without-overhead troche inne podejscie.

Wybralbym chyba pierwsze


@rtheunissen This commit results in a static extension when PHP is built with --enable-snapshot-build with this repo cloned in ext\ds. Please revert the changes in the no/yes handling.


@josteinaj Ble ikke helt klok på dette, tråd og sånn er greit, men skal jeg bruke logPipeline?

```self.logPipeline = DummyPipeline(uid=self.uid + "-auto", title=self.title + " automatisk", inherit_config_from=Newsletter)```


CSS FILES


No tag creation, because that's usually done within Github.


いやmove: 375だ！


L.LineUtil.isFlat instead of L.Polyline.isFlat


JavaScript files


@johnou

Good point! This is a bug. Will fix that.


suprise super function

change this

```c++
     if (RRK(EN_KEYPAD_UP)   || RRK(EN_KEYPAD_LEFT))  encoderPosition -= ENCODER_PULSES_PER_STEP;
else if (RRK(EN_KEYPAD_DOWN) || RRK(EN_KEYPAD_RIGHT)) encoderPosition += ENCODER_PULSES_PER_STEP;
```


@artem-malko yes

And error with tars.require `webpack/lib/RequestShortener`

I installed locally `uglifyjs-webpack-plugin` & `webpack` and make small hot fix in /tars/tars.js
it is resolve problems

![image](https://user-images.githubusercontent.com/18213789/48900416-22aa4000-ee74-11e8-8d77-e16c96056c91.png)

tars cli: 1.10.4
tars: 1.0.1


Successfully aliased the URL <https://backyourstack-nxbnbxuovb.now.sh> to the following aliases.

* https://backyourstack.now.sh
* https://backyourstack.com
* https://www.backyourstack.com


Hope this helps
[power_spectrum.txt](https://github.com/stiwarih/hssyp/files/2607865/power_spectrum.txt)


[R/pbd_numspec_checked.R:57:1:](https://github.com/richelbilderbeek/becosys/blob/ca77cacfefe409d3583410c78d3fa16934e7f02c/R/pbd_numspec_checked.R#L57) *style:* **Lines should not be more than 80 characters.**
```r
  if (length(ergs) != length(eris)) stop("ergs' and 'eris' must have same length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/pbd_numspec_checked.R:58:1:](https://github.com/richelbilderbeek/becosys/blob/ca77cacfefe409d3583410c78d3fa16934e7f02c/R/pbd_numspec_checked.R#L58) *style:* **Lines should not be more than 80 characters.**
```r
  if (length(ergs) != length(scrs)) stop("ergs' and 'scrs' must have same length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/pbd_numspec_checked.R:59:1:](https://github.com/richelbilderbeek/becosys/blob/ca77cacfefe409d3583410c78d3fa16934e7f02c/R/pbd_numspec_checked.R#L59) *style:* **Lines should not be more than 80 characters.**
```r
  if (length(ergs) != length(sirs)) stop("ergs' and 'sirs' must have same length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/pbd_numspec_checked.R:60:1:](https://github.com/richelbilderbeek/becosys/blob/ca77cacfefe409d3583410c78d3fa16934e7f02c/R/pbd_numspec_checked.R#L60) *style:* **Lines should not be more than 80 characters.**
```r
  if (length(ergs) != length(crown_ages)) stop("ergs' and 'crown_ages' must have same length")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-pbd_calc_max_lik.R:56:3:](https://github.com/richelbilderbeek/becosys/blob/ca77cacfefe409d3583410c78d3fa16934e7f02c/tests/testthat/test-pbd_calc_max_lik.R#L56) *style:* **Variable or function name should be snake_case.**
```r
  laPBDa <- 0.3
  ^~~~~~
```


Yes... That would be good..


PR added: https://github.com/php-ds/ext-ds/pull/126


Ok, patched the PR with that. I guess that's it!


[R/dataset_dimensions.r:22:41:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/dataset_dimensions.r#L22) *style:* **Commas should always have a space after.**
```r
  query_data <- SPARQL::SPARQL(endpoint,query)$results
                                        ^
```
[R/dataset_dimensions.r:23:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/dataset_dimensions.r#L23) *style:* **Lines should not be more than 80 characters.**
```r
  query_filter <- query_data[query_data$componentProperty=='<http://purl.org/linked-data/cube#dimension>',]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/dataset_dimensions.r:23:58:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/dataset_dimensions.r#L23) *style:* **Put spaces around all infix operators.**
```r
  query_filter <- query_data[query_data$componentProperty=='<http://purl.org/linked-data/cube#dimension>',]
                                                        ~^~~
```
[R/dataset_dimensions.r:23:60:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/dataset_dimensions.r#L23) *style:* **Only use double-quotes.**
```r
  query_filter <- query_data[query_data$componentProperty=='<http://purl.org/linked-data/cube#dimension>',]
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/dataset_dimensions.r:23:107:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/dataset_dimensions.r#L23) *style:* **Commas should always have a space after.**
```r
  query_filter <- query_data[query_data$componentProperty=='<http://purl.org/linked-data/cube#dimension>',]
                                                                                ^
```
[R/get_categories.r:4:36:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_categories.r#L4) *style:* **Commas should always have a space after.**
```r
get_categories <- function(dataset,dimension) {
                                   ^
```
[R/get_categories.r:9:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_categories.r#L9) *style:* **Lines should not be more than 80 characters.**
```r
  query <- paste0("PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> select distinct ?category ?spaceFill where { ?data qb:dataSet <http://statistics.gov.scot/data/", dataset, ">. ?data ", dimension, " ?categoryURI. ?categoryURI rdfs:label ?category.}")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:18:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L18) *style:* **Lines should not be more than 80 characters.**
```r
get_dataset_query <- function(dataset,start_date=NULL,end_date=NULL,geography=NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:18:39:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L18) *style:* **Commas should always have a space after.**
```r
get_dataset_query <- function(dataset,start_date=NULL,end_date=NULL,geography=NULL) {
                                      ^
```
[R/get_dataset_query.r:18:55:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L18) *style:* **Commas should always have a space after.**
```r
get_dataset_query <- function(dataset,start_date=NULL,end_date=NULL,geography=NULL) {
                                                      ^
```
[R/get_dataset_query.r:18:69:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L18) *style:* **Commas should always have a space after.**
```r
get_dataset_query <- function(dataset,start_date=NULL,end_date=NULL,geography=NULL) {
                                                                    ^
```
[R/get_dataset_query.r:19:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L19) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:20:3:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L20) *style:* **Variable or function name should be snake_case.**
```r
  TEMP_locations <- dataset_dimensions(dataset)
  ^~~~~~~~~~~~~~
```
[R/get_dataset_query.r:21:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L21) *style:* **Lines should not be more than 80 characters.**
```r
  locations <- data.frame(lapply(TEMP_locations, as.character), stringsAsFactors=FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:21:81:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L21) *style:* **Put spaces around all infix operators.**
```r
  locations <- data.frame(lapply(TEMP_locations, as.character), stringsAsFactors=FALSE)
                                                                               ~^~
```
[R/get_dataset_query.r:22:56:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L22) *style:* **Commas should always have a space after.**
```r
  dimensions <- gsub("[()%]", "", get_names(locations[,]))
                                                       ^
```
[R/get_dataset_query.r:23:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L23) *style:* **Lines should not be more than 80 characters.**
```r
  question_marked_dimensions <-unlist(lapply(dimensions,function(x) paste0('?',x)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:23:30:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L23) *style:* **Put spaces around all infix operators.**
```r
  question_marked_dimensions <-unlist(lapply(dimensions,function(x) paste0('?',x)))
                             ^~~
```
[R/get_dataset_query.r:23:57:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L23) *style:* **Commas should always have a space after.**
```r
  question_marked_dimensions <-unlist(lapply(dimensions,function(x) paste0('?',x)))
                                                        ^
```
[R/get_dataset_query.r:23:76:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L23) *style:* **Only use double-quotes.**
```r
  question_marked_dimensions <-unlist(lapply(dimensions,function(x) paste0('?',x)))
                                                                           ^~~
```
[R/get_dataset_query.r:23:80:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L23) *style:* **Commas should always have a space after.**
```r
  question_marked_dimensions <-unlist(lapply(dimensions,function(x) paste0('?',x)))
                                                                               ^
```
[R/get_dataset_query.r:24:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L24) *style:* **Lines should not be more than 80 characters.**
```r
  uri_dimensions <-unlist(lapply(question_marked_dimensions,function(x) paste0(x,"URI")))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:24:18:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L24) *style:* **Put spaces around all infix operators.**
```r
  uri_dimensions <-unlist(lapply(question_marked_dimensions,function(x) paste0(x,"URI")))
                 ^~~
```
[R/get_dataset_query.r:24:61:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L24) *style:* **Commas should always have a space after.**
```r
  uri_dimensions <-unlist(lapply(question_marked_dimensions,function(x) paste0(x,"URI")))
                                                            ^
```
[R/get_dataset_query.r:24:82:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L24) *style:* **Commas should always have a space after.**
```r
  uri_dimensions <-unlist(lapply(question_marked_dimensions,function(x) paste0(x,"URI")))
                                                                                ^
```
[R/get_dataset_query.r:25:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L25) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:27:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L27) *style:* **Lines should not be more than 80 characters.**
```r
  select_line <- paste(paste("select",paste(question_marked_dimensions,collapse=" ")),"?value")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:27:39:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L27) *style:* **Commas should always have a space after.**
```r
  select_line <- paste(paste("select",paste(question_marked_dimensions,collapse=" ")),"?value")
                                      ^
```
[R/get_dataset_query.r:27:72:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L27) *style:* **Commas should always have a space after.**
```r
  select_line <- paste(paste("select",paste(question_marked_dimensions,collapse=" ")),"?value")
                                                                       ^
```
[R/get_dataset_query.r:27:80:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L27) *style:* **Put spaces around all infix operators.**
```r
  select_line <- paste(paste("select",paste(question_marked_dimensions,collapse=" ")),"?value")
                                                                              ~^~
```
[R/get_dataset_query.r:27:87:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L27) *style:* **Commas should always have a space after.**
```r
  select_line <- paste(paste("select",paste(question_marked_dimensions,collapse=" ")),"?value")
                                                                                ^
```
[R/get_dataset_query.r:28:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L28) *style:* **Lines should not be more than 80 characters.**
```r
  data_line <- paste0("?data qb:dataSet <http://statistics.gov.scot/data/",dataset,">.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:28:76:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L28) *style:* **Commas should always have a space after.**
```r
  data_line <- paste0("?data qb:dataSet <http://statistics.gov.scot/data/",dataset,">.")
                                                                           ^
```
[R/get_dataset_query.r:28:84:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L28) *style:* **Commas should always have a space after.**
```r
  data_line <- paste0("?data qb:dataSet <http://statistics.gov.scot/data/",dataset,">.")
                                                                                ^
```
[R/get_dataset_query.r:29:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L29) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:30:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L30) *style:* **Lines should not be more than 80 characters.**
```r
  query<- paste("PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:30:8:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L30) *style:* **Put spaces around all infix operators.**
```r
  query<- paste("PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>",
      ~^
```
[R/get_dataset_query.r:34:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L34) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:36:33:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L36) *style:* **Commas should always have a space after.**
```r
  for (i in 1:length(locations[,])) {
                                ^
```
[R/get_dataset_query.r:38:42:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L38) *style:* **Commas should always have a space after.**
```r
                             locations[i,],
                                         ^
```
[R/get_dataset_query.r:46:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L46) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/get_dataset_query.r:49:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L49) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:51:5:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L51) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is.null(start_date) & !is.null(end_date)) {
    ^
```
[R/get_dataset_query.r:52:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L52) *style:* **Lines should not be more than 80 characters.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date && ?refPeriod <= '",end_date,"'^^xsd:date)")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:52:56:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L52) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date && ?refPeriod <= '",end_date,"'^^xsd:date)")
                                                       ^
```
[R/get_dataset_query.r:52:67:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L52) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date && ?refPeriod <= '",end_date,"'^^xsd:date)")
                                                                  ^
```
[R/get_dataset_query.r:52:100:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L52) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date && ?refPeriod <= '",end_date,"'^^xsd:date)")
                                                                                ^
```
[R/get_dataset_query.r:52:109:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L52) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date && ?refPeriod <= '",end_date,"'^^xsd:date)")
                                                                                ^
```
[R/get_dataset_query.r:54:12:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L54) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  } else if(!is.null(start_date)) {
           ^
```
[R/get_dataset_query.r:55:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L55) *style:* **Lines should not be more than 80 characters.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date)")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:55:56:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L55) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date)")
                                                       ^
```
[R/get_dataset_query.r:55:67:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L55) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod >= '",start_date,"'^^xsd:date)")
                                                                  ^
```
[R/get_dataset_query.r:57:12:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L57) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  } else if(!is.null(end_date)) {
           ^
```
[R/get_dataset_query.r:58:56:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L58) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod <= '",end_date,"'^^xsd:date)")
                                                       ^
```
[R/get_dataset_query.r:58:65:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L58) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER (?refPeriod <= '",end_date,"'^^xsd:date)")
                                                                ^
```
[R/get_dataset_query.r:61:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L61) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:63:5:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L63) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(!is.null(geography)) {
    ^
```
[R/get_dataset_query.r:64:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L64) *style:* **Lines should not be more than 80 characters.**
```r
    query_addition <- paste0("FILTER( regex(str(?refAreaURI), '",geography,"' ))")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:64:66:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L64) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER( regex(str(?refAreaURI), '",geography,"' ))")
                                                                 ^
```
[R/get_dataset_query.r:64:76:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L64) *style:* **Commas should always have a space after.**
```r
    query_addition <- paste0("FILTER( regex(str(?refAreaURI), '",geography,"' ))")
                                                                           ^
```
[R/get_dataset_query.r:67:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L67) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_dataset_query.r:69:8:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L69) *style:* **Put spaces around all infix operators.**
```r
  query<-paste(query, "?data ?measureTypeURI ?value. }")
      ~^~~
```
[R/get_dataset_query.r:70:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L70) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~~~~~~~~~
```
[R/get_dataset_query.r:72:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_dataset_query.r#L72) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[R/get_structure.r:26:6:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_structure.r#L26) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in 1:length(dimension_set[,])) {
     ^
```
[R/get_structure.r:26:36:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_structure.r#L26) *style:* **Commas should always have a space after.**
```r
  for(i in 1:length(dimension_set[,])) {
                                   ^
```
[R/get_structure.r:28:64:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_structure.r#L28) *style:* **Commas should always have a space after.**
```r
    categories[[i]] <- get_categories(dataset, dimension_set[i,])
                                                               ^
```
[R/get_structure.r:32:49:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_structure.r#L32) *style:* **Commas should always have a space after.**
```r
  names(categories) <- get_names(dimension_set[,])
                                                ^
```
[R/get_structure.r:34:32:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_structure.r#L34) *style:* **Commas should always have a space after.**
```r
  result <- list(dimension_set,categories)
                               ^
```
[R/get_structure.r:35:38:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/get_structure.r#L35) *style:* **Commas should always have a space after.**
```r
  names(result) <- list("dimensions","categories")
                                     ^
```
[R/list_sg_datasets.r:44:10:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/list_sg_datasets.r#L44) *style:* **Only use double-quotes.**
```r
  result['dataset_name'] <- sapply(result['URI'], function(x) get_names(x))
         ^~~~~~~~~~~~~~
```
[R/list_sg_datasets.r:44:43:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/list_sg_datasets.r#L44) *style:* **Only use double-quotes.**
```r
  result['dataset_name'] <- sapply(result['URI'], function(x) get_names(x))
                                          ^~~~~
```
[R/list_sg_datasets.r:45:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/list_sg_datasets.r#L45) *style:* **Trailing whitespace is superfluous.**
```r

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/scotgov_get.R:49:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L49) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/scotgov_get.R:51:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L51) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[R/scotgov_get.R:52:45:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L52) *style:* **Commas should always have a space after.**
```r
  query_data <- try(SPARQL::SPARQL(endpoint,query),silent = TRUE)
                                            ^
```
[R/scotgov_get.R:52:52:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L52) *style:* **Commas should always have a space after.**
```r
  query_data <- try(SPARQL::SPARQL(endpoint,query),silent = TRUE)
                                                   ^
```
[R/scotgov_get.R:53:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L53) *style:* **Lines should not be more than 80 characters.**
```r
  if( query_data[1] ==  "Error : XML content does not seem to be XML: 'Response too large'\n"){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/scotgov_get.R:53:5:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L53) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if( query_data[1] ==  "Error : XML content does not seem to be XML: 'Response too large'\n"){
    ^
```
[R/scotgov_get.R:53:6:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L53) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if( query_data[1] ==  "Error : XML content does not seem to be XML: 'Response too large'\n"){
     ^
```
[R/scotgov_get.R:54:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L54) *style:* **Lines should not be more than 80 characters.**
```r
    stop(Error = "Dataset is too large to be downloaded like this. Try adding filters to reduce size")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/scotgov_get.R:55:4:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L55) *style:* **Trailing whitespace is superfluous.**
```r
  }
   ^~~~
```
[R/scotgov_get.R:56:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L56) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[R/scotgov_get.R:57:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/R/scotgov_get.R#L57) *style:* **Trailing whitespace is superfluous.**
```r

^
```
[tests/testthat/test_scotgov.R:6:1:](https://github.com/thomascrines/scotgov/blob/edae047f5ba624e8b85d031088062b1b0ced4eb8/tests/testthat/test_scotgov.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
  expect_silent(scotgov_get(dataset = "average-household-size", geography = "S12000039"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


![](https://github.trello.services/images/mini-trello-icon.png) [As user viewing route and speed data.](https://trello.com/c/QN9Cy2rA/35-as-user-viewing-route-and-speed-data)


@Veence you should probably fix the issues @ryandesign has pointed out above.