the full commit msg:

> refactored the `ApplicationHandler` to use `sensorID`, and added and Inquire method allowing getting the IDs of a given **comercialName**, to be implemented in bunny+. this closes #26

appearntly using backticks in a commit is a bad idea :sweat_smile:


aww, cute ;-;


Front End Development


they're so cute, poor bots ;-;


@EliaTraore uses ID instead of comm name, @SharonKL is happy


The original commit makes return before unlocking and releasing memory which is unsafe I think.
netif_tx_lock(dev);
...
return


Conflitos, gems de win32 e mais coisas do género. Que andas a fazer, @NearDeath? :)


Is it safe to return before unlocking netif_tx_lock ?
https://github.com/neobuddy89/shamu/commit/d9dfc5b21e999fb37abe82e767400b44e8333f31


It's "get back," not "go back."


Perhaps, your warning should be resolved by this commit.

Read this:

[  225.043103,0] [<c0163614>] (warn_slowpath_common+0x54/0x6c) from [<c016365c>] (warn_slowpath_fmt+0x30/0x40)
[  225.043144,0] [<c016365c>] (warn_slowpath_fmt+0x30/0x40) from [<c094c540>] (dev_watchdog+0x270/0x27c)


@gsdd - This will throw an error; consider this:

```
$oEmail->data = (object) [
    'user' => (object) [
        'username' => $aUserData['username']
    ]
]


פתחת וסרגת תג html לפני ההתחלה תמחקי את זה ואמור לעבוד


sim01 I(V1)


A couple of problems should be fixed by this commit.
1. The main problem fixed is there seems to have been a race condition with aprsmap where aprsmap would attempt to write to gettiles prior to the gm.sh script completing. The "read" in gettiles would then return odd results. The result was the osm tiles directory would be littered with out of place tile directories. The bug was provked by quickly panning the map and changing zoom factors. The gettiles file is now moved to a unique temporary file when is then processed allowing aprsmap to do a new write to gettiles.
2. Mixing map files from both openstreetmap.org and toolserver.org could result in wildly disjoint map styles. Stick with openstreetmap.org.   (I wasn't sure if the oe2xzr tile server was functioning but left it in.)
3. aprsmap has the option to specify a "Map directory" which seems to have been ignored by gm.sh. Luckily the map directory is passed as a command line argument to the script. Now, use this directory specified by aprsmap. If the directory does not already exist, then create it.


> I was going crazy trying to figure out why my options weren't working.

yeah, definitely an ugly bug, and harder to catch since only *some* constructor options were being ignored.  sorry about that.

i've tagged [`v2.2.2`](https://github.com/Esri/esri-leaflet-geocoder/releases/tag/v2.2.2) and i'll update the esri-leaflet website to start using it next week.


Все таки когда есть повторяющиеся действия лучше выносить их в функцию


最后再endrefreshing会有什么问题吗？


hahaha don't you worry, i'll be forcing you into adding an `comercialName` field to the sensor messages in bunny :smiling_imp:


Не стоит возвращать из функции console.log, лучше вернуть значение и только потом его выводить.
И по заданию надо было вернуть пустой объект


לא צריך את ההתחלה תנסי רק לעצב ביינתים אחרי זה כשנלמד javascript תמשיכי עם קבלת/מסירת מידע


все методы что ниже `private` - будут приватные


Конечно, через доп функцию было бы красивее


这些涉及所有viewcontroller的架构性问题，如果改就把所有文件全改了作为一个提交（或一个pr），从而保持一致性。增加不一致性的修改一般不予接受。


<header>


Пытайся писать меньше else:
if (num > 999) {
    return obj;
}
.... выполнение функции


이천 신동아 아파트


Options button.
![img](https://puu.sh/sTCIq/f124e07b0d.png)


so "Get back (to space) before we [kill you]."
I really don't see how that sounds good


如行内评论所说的，重构性质的修改要重构项目中所有文件作为一个修改单元。我觉得代码一致性比单个文件优化要重要。


Happens. Had to get some pie on my Victara last night, lol. Nice addition.


Oh, right. I just saw #3142. Thanks!
I'll try to see if we can add tests on commits' changes.


Consider either attaching the files or making the code independent. Later is better.


Pure bikeshedding, but I think unreachable! is more idiomatic here.


Ага, я понял, ты допустил ошибку в той строке из-за синтаксического сахара.


Oh, yeah, definitely; I didn't think of that.


retorno


Костыли нужно тоже учится писать красиво.
Во-первых, можно было написать в одну строку:
var string = JSON.stringify(obj).replace(/"/g,'').replace(/:/g,'=')....
Далее можно объеденить все реплэйсы в один.
Ну и совсем по-хорошему решать без регекспов


Hello, I haven't seen that you asked why to disable omap drivers. You need to do this because these drivers want to require the same resources as official omap drivers. Only when you disable omap drivers these drivers can take over the resources (irq, gpio, busses, etc).


вот тут не закрыт метод


This code has some issues.  The color changes mid blade and it doesn't do that in the old version.  May need to be reverted if there's no way to fix that.  I sent Sean a screenshot and asked him to forward it.  I had trouble finding an email with everyone's name on it.


Done: a13351ef456ca0d76ddb065f07acd58c0f9d6af0


thank you no problem pls donate to my paypal and check out my latest update pushed 2 seconds ago 8==|)


yes it was easy to mistake, i had doubt that -3, 1 is correct


Memory freeing.


рабочее состояние


@cjm00 would you agree that this would be correct behaviour?


Probably a macro could have written some of these boilerplate methods, but whatever...


Why not change all to wide variant? IME normally on Windows you choose one and stick to it. If you don't then there is a good chance that you will have oversights at some points and introduce subtle bugs.


clear only the delta backlog


Why? Unless the item doesn't work on floor/ceiling, it should be placeable on those surfaces. I am installing the dev version right now, so I will test it on these surfaces.


Nincs kinn az ftp-n. Nem lehet buildelni.


Itt sincs kinn. Csak 2.2 alatt van.


Please pattern the SSL certificate yaml after 'security-vm' which uses letsencrypt, and submit a Jira ticket for the DNS.


למחשב שלי יש בעיה מחר באים לתקן לי אותו ובתיקווה אני אתחיל מחר, ותודה לך
מאיר.
המשך יום נעים
                                                          דניאל .ק

בתאריך 18 בדצמ׳ 2016 18:09, "0123meir" <notifications@github.com> כתב:

> לא צריך את ההתחלה תנסי רק לעצב ביינתים אחרי זה כשנלמד javascript תמשיכי עם
> קבלת/מסירת מידע
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/MeirAmar/SchoolProject/commit/c08bb81e6920cfc9d029ff347ec382d07c8a40c6#commitcomment-20226566>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AXdnCfkuLj1yZ6MVT-VyjtgMFBVKlsniks5rJVqogaJpZM4LQIUx>
> .
>


Thank you for letting me know.
It was a bug of environment versioning.
I fixed it at https://github.com/sphinx-doc/sphinx/commit/673418e7701bc291679de5f41480cff62dec77ce.

The version of environment lets Sphinx know that the structure of environment has changed.
Then, Sphinx discards caches and start brand new building process.
In your case, Sphinx does not notice that because version has not been changed. So it loads old styled environment as new styled one. As a result, it had crashed.

>But I can not reproduce error now...

Maybe, you'd run `make clean`. It clears all caches...

Anyway, thanks a lot!


The main focus for this task is to demonstrate polymorphism: that is virtual method that is overridden in derived classes.
For this total square is supposed to be calculated using refs or pointers to base class.


fixes #2


And you may very well be right. I do bring in alot from CAF. I am hoping @harrynowl will have a lead for which I can take a look into.


eu pus um comentário na remoção num caso que eu não compreendi muito bem, dá uma olhada lá depois


Sim, você tem razão. Mas entendeu o que eu quis fazer?


I do not understand this fix.
1) on first loop, both "m_bFirstTime" and "1 == iteration" are true. Next both always are false.
2) always (even if m_bAcceptNewHardware  = false) we send data from switches. When we disable m_bAcceptNewHardware , domoticz creates this device. This behavior is incorrect, because user forbade adding new devices.

Maybe instead:
if (m_sql.m_bAcceptNewHardware || 1 == iteration)
do
if (m_sql.m_bAcceptNewHardware && m_bFirstTime )
?

Fantom
ps. I have many devices on 1wire, and i dont have problem with previonus code.


대표 문의☎1800-6418


i dont understand this code at all
The problem is here:
http://www.domoticz.com/forum/viewtopic.php?p=109468#p109468


Remember, accept new hardware is by default disabled


(and needs to stay disabled, also after a restart)


I refactored to use an error class instead as you suggested. At this point, since we are not writing a continuous program, I did not implement a rescue block (to, for example, ask for an updated user/password). This will become something to implement at a later date.


Seems also that this never happens again?
1 == iteration)


Fixes #4


@guilhermejacob R looks at the class of the value and tries to find a print method for it.  if it does (like `print.cvydstat`) then it uses that function.  if it does not (like `print.cvyquantile`), then it moves on to the second class to see if there's a `print.svyquantile` available.  having multiple classes for the `rval` is okay, because it looks for our custom functions first, then moves on to `survey` package functions if we didn't specify anything.


Done... one of those flashback holdovers from dealing with writing straight into memory registers, where you always clear your memory reg location before writing to it because you are never sure what it might contain...


That's fine.. I want to learn the correct way for this afterall...


Foi para fazer o merge do meu branch para o do Pedro. Só que ele ainda tinha o dele antigo.


:bug:


Maybe the commits aren't compatible with my Z5, I got kernel panic with this commit https://github.com/flar2/angler/commit/3d127163744eb5b934f42c5902ea4bf1354e9f43 (while doing backup in TWRP and once time in idle state) so I were wondering these commits too. Thanks anyway.


Repair nauczyciele gabinety CH and revch methods


@KorvinSzanto I can't find this class or `CollectionResponseFactory` in recent develop branch.


修复 dropdown，不是写 dropbox，写错了。


Ele não tinha o ficheiro do vagrant e disse lhe para fazer merge do master para o branch dele. É ele queria alterar o design das minhas tabelas. Mas como o meu pull requer ainda não foi aceite eu disse lhe para fazer um merge do meu branch para o dele para ele conseguir trabalhar. Mas não sabia que ia ter tantos conflitos.


it potentially can be inconsistent. this is better:
```
const int size = 20;
int array[size] = {};
```


Uploaded from GitHub 12/18/16


dlaczego robimy pętle, która ma się kończyć na n-1. Prawdopodobnie jak podam n=1 to program nie zadziała.


Consider this:
I am being chased by zombies.
In a futile attempt to stop them, I yell,
>G-get back, you monsters!


Не нужен else


Тут тоже


1 == iteration is happen again after xxx time (size of int * poolPeriod). This is not bug. Previously (a few months ago) list created each time.
But this user dont have problem with creating device list.
PollSensors and PollSwitches working after this "if".

Fantom


I don't understand some changes from decee https://github.com/domoticz/domoticz/commit/149d13d2b08ed6eca43154a8f3e79369a279eaf6
but now this code is wrong.

Fantom


Also break text around column 70-80 easing read on small terminals.


[test.R:2:57:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L2) *style:* **Commas should always have a space after.**
```r
  packagestoinstall_split <- strsplit(packagestoinstall,", ")[[1]]
                                                        ^
```
[test.R:4:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L4) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(!packagename %in% rownames(installed.packages())){
      ^
```
[test.R:8:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L8) *style:* **Commas should always have a space after.**
```r
      print(paste(packagename,"already installed"))
                              ^
```
[test.R:10:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L10) *style:* **Put spaces around all infix operators.**
```r
    library(packagename, character.only=TRUE)
                                      ~^~
```
[test.R:14:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L14) *style:* **Commented code should be removed.**
```r
#update.packages(ask = FALSE)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:20:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L20) *style:* **Variable and function names should be all lowercase.**
```r
lagStockData <- function(stockdata) {
^~~~~~~~~~~~
```
[test.R:22:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L22) *style:* **Commented code should be removed.**
```r
#  companylist <- vector("list", NROW(companies))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:25:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(company in companies)
     ^
```
[test.R:26:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L26) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[test.R:28:51:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L28) *style:* **Commas should always have a space after.**
```r
    futurereturns <- c(returns[2:length(returns)],NA)
                                                  ^
```
[test.R:29:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L29) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (1 == NROW(returns)) {futurereturns <- c(NA)}
                            ^
```
[test.R:29:52:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L29) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    if (1 == NROW(returns)) {futurereturns <- c(NA)}
                                                   ^
```
[test.R:30:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L30) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[test.R:32:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L32) *style:* **Use <-, not =, for assignment.**
```r
    newdataset = rbind(newdataset, company)
               ^
```
[test.R:34:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L34) *style:* **Commented code should be removed.**
```r
#    companylist[[i]] <- company
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:35:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(i %% 1000 == 0) print(i)
      ^
```
[test.R:38:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L38) *style:* **Commented code should be removed.**
```r
#  companymatrix <- rbind(companylist)
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:39:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L39) *style:* **Commented code should be removed.**
```r
#  return(companymatrix)
   ^~~~~~~~~~~~~~~~~~~~~
```
[test.R:40:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L40) *style:* **Commented code should be removed.**
```r
#  newdataset <- as.data.frame(as.table(companymatrix))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:45:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L45) *style:* **Variable and function names should be all lowercase.**
```r
laggedDataSet <- lagStockData(stockdata)
^~~~~~~~~~~~~
```
[test.R:45:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L45) *style:* **Variable and function names should be all lowercase.**
```r
laggedDataSet <- lagStockData(stockdata)
                 ^~~~~~~~~~~~
```
[test.R:47:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/test.R#L47) *style:* **Variable and function names should be all lowercase.**
```r
saveRDS(laggedDataSet, file = "laggeddata.rds")
        ^~~~~~~~~~~~~
```


Копипаста такая копипаста ))


Oh, I see.
>And that makes then all mopey and depressing.


Если поставить return, то else не нужен


Тут точно не нужен


[data_exploration-12-5.R:9:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L9) *style:* **Put spaces around all infix operators.**
```r
hist(RETMONTH, breaks =60)
                      ^~
```
[data_exploration-12-5.R:11:35:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L11) *style:* **Put spaces around all infix operators.**
```r
(re_up <- length(RETMONTH[RETMONTH<0]))
                                 ~^~
```
[data_exploration-12-5.R:12:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L12) *style:* **Put spaces around all infix operators.**
```r
(re_down <- length(RETMONTH[RETMONTH>0]))
                                   ~^~
```
[data_exploration-12-5.R:12:42:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L12) *style:* **Trailing whitespace is superfluous.**
```r
(re_down <- length(RETMONTH[RETMONTH>0]))
                                         ^
```
[data_exploration-12-5.R:14:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L14) *style:* **Put spaces around all infix operators.**
```r
re_up/(re_up+re_down)
    ~^~
```
[data_exploration-12-5.R:14:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L14) *style:* **Place a space before left parenthesis, except in a function call.**
```r
re_up/(re_up+re_down)
      ^
```
[data_exploration-12-5.R:14:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L14) *style:* **Put spaces around all infix operators.**
```r
re_up/(re_up+re_down)
           ~^~
```
[data_exploration-12-5.R:16:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L16) *style:* **Put spaces around all infix operators.**
```r
up_down <- ifelse(RETMONTH >0, 1, 0)
                           ^~
```
[data_exploration-12-5.R:27:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L27) *style:* **Commas should always have a space after.**
```r
uniqueness <- apply(data,2,numb_unique)
                         ^
```
[data_exploration-12-5.R:27:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L27) *style:* **Commas should always have a space after.**
```r
uniqueness <- apply(data,2,numb_unique)
                           ^
```
[data_exploration-12-5.R:29:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L29) *style:* **Put spaces around all infix operators.**
```r
length(uniqueness[uniqueness<50])
                           ~^~
```
[data_exploration-12-5.R:31:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L31) *style:* **Put spaces around all infix operators.**
```r
which(uniqueness <50)
                 ^~
```
[data_exploration-12-5.R:35:32:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L35) *style:* **Only use double-quotes.**
```r
plot(RETMONTH[n_low:n], type = 'l', col= 'red', lwd = 2)
                               ^~~
```
[data_exploration-12-5.R:35:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L35) *style:* **Put spaces around all infix operators.**
```r
plot(RETMONTH[n_low:n], type = 'l', col= 'red', lwd = 2)
                                      ~^
```
[data_exploration-12-5.R:35:42:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L35) *style:* **Only use double-quotes.**
```r
plot(RETMONTH[n_low:n], type = 'l', col= 'red', lwd = 2)
                                         ^~~~~
```
[data_exploration-12-5.R:36:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L36) *style:* **Put spaces around all infix operators.**
```r
abline(h= mean(RETMONTH[n_low:n]), col = "blue", lwd = 2)
       ~^
```
[data_exploration-12-5.R:38:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L38) *style:* **Put spaces around all infix operators.**
```r
MSE_i <- (RETMONTH[n_low:n]-mean(RETMONTH[n_low:n]))^2
                          ~^~
```
[data_exploration-12-5.R:38:53:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L38) *style:* **Put spaces around all infix operators.**
```r
MSE_i <- (RETMONTH[n_low:n]-mean(RETMONTH[n_low:n]))^2
                                                   ~^~
```
[data_exploration-12-5.R:44:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L44) *style:* **Put spaces around all infix operators.**
```r
n_low <- n-1000
         ~^~
```
[data_exploration-12-5.R:44:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L44) *style:* **Trailing whitespace is superfluous.**
```r
n_low <- n-1000
               ^
```
[data_exploration-12-5.R:65:21:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L65) *style:* **Commas should always have a space after.**
```r
xs <- pca$x[n:n_low,1:9]
                    ^
```
[data_exploration-12-5.R:71:30:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L71) *style:* **Commas should always have a space after.**
```r
data2 <- data_no_ind[n_low:n,]
                             ^
```
[data_exploration-12-5.R:79:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L79) *style:* **Put spaces around all infix operators.**
```r
fit <- glm(updown~., data= data3, family = "binomial")
                        ~^
```
[data_exploration-12-5.R:83:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L83) *style:* **Put spaces around all infix operators.**
```r
cv_est <- cv.glm(data3, fit, K= 10)$delta[1]
                             ~^
```
[data_exploration-12-5.R:85:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L85) *style:* **Put spaces around all infix operators.**
```r
1-cv_est
~^~
```
[data_exploration-12-5.R:86:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/data_exploration-12-5.R#L86) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


BasicDataSource creates Connection Pool for datase. After that you need just configure some properties.

public DataSource dataSource() {
          BasicDataSource dataSource = new BasicDataSource();
          dataSource.setDriverClassName(environment.getProperty("jdbc.postgresql.driverClass"));
          dataSource.setUrl(environment.getProperty("jdbc.postgresql.url"));
          dataSource.setUsername(environment.getProperty("jdbc.postgresql.username"));
          dataSource.setPassword(environment.getProperty("jdbc.postgresql.password"));
          dataSource.setInitialSize(1);
          dataSource.setMaxTotal(5);
          return dataSource;
      }


Nope. That's a bug


[GPUAcceleratedClustering.R:4:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L4) *style:* **Only use double-quotes.**
```r
install.packages('rpud')
                 ^~~~~~
```
[GPUAcceleratedClustering.R:11:17:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
  set.seed(seed)
                ^
```
[GPUAcceleratedClustering.R:12:32:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L12) *style:* **Put spaces around all infix operators.**
```r
  matrix(rnorm(dim * num), nrow=num)
                              ~^~
```
[GPUAcceleratedClustering.R:21:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L21) *style:* **Variable and function names should be all lowercase.**
```r
  dgpu <- rpuDist(matrix)
          ^~~~~~~
```
[GPUAcceleratedClustering.R:21:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L21) *warning:* **no visible global function definition for ‘rpuDist’**
```r
  dgpu <- rpuDist(matrix)
          ^~~~~~~
```
[GPUAcceleratedClustering.R:22:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
  rpuHclust(dgpu)
  ^~~~~~~~~
```
[GPUAcceleratedClustering.R:22:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L22) *warning:* **no visible global function definition for ‘rpuHclust’**
```r
  rpuHclust(dgpu)
  ^~~~~~~~~
```
[GPUAcceleratedClustering.R:35:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L35) *style:* **Put spaces around all infix operators.**
```r
print(system.time(cpuhclust <-run_cpu(m)))
                            ^~~
```
[GPUAcceleratedClustering.R:43:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/GPUAcceleratedClustering.R#L43) *style:* **Commas should always have a space after.**
```r
plot(gpuhclust,hang = -1)
               ^
```


[NeuralNet.R:6:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L6) *style:* **Only use double-quotes.**
```r
install.packages('neuralnet')
                 ^~~~~~~~~~~
```
[NeuralNet.R:12:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L12) *style:* **Use <-, not =, for assignment.**
```r
stockdata = read.csv("mf850-finalproject-data.csv")
          ^
```
[NeuralNet.R:13:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L13) *style:* **Use <-, not =, for assignment.**
```r
stockdata$Date = NULL
               ^
```
[NeuralNet.R:14:20:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L14) *style:* **Use <-, not =, for assignment.**
```r
stockdata$Industry = NULL
                   ^
```
[NeuralNet.R:15:14:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L15) *style:* **Use <-, not =, for assignment.**
```r
scaled_Stock = scale(stockdata)
             ^
```
[NeuralNet.R:16:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L16) *style:* **Use <-, not =, for assignment.**
```r
y = stockdata$RETMONTH_SPX
  ^
```
[NeuralNet.R:17:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L17) *style:* **Use <-, not =, for assignment.**
```r
x = stockdata
  ^
```
[NeuralNet.R:18:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L18) *style:* **Use <-, not =, for assignment.**
```r
x$RETMONTH_SPX = NULL
               ^
```
[NeuralNet.R:24:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L24) *style:* **Commas should always have a space after.**
```r
trainingdata <- cbind(traininginput,trainingoutput)
                                    ^
```
[NeuralNet.R:25:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L25) *style:* **Commas should always have a space after.**
```r
colnames(trainingdata) <- c("Input","Output")
                                    ^
```
[NeuralNet.R:31:36:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L31) *style:* **Commas should always have a space after.**
```r
net.sqrt <- neuralnet(Output~Input,trainingdata, hidden=100, threshold=0.01)
                                   ^
```
[NeuralNet.R:31:56:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L31) *style:* **Put spaces around all infix operators.**
```r
net.sqrt <- neuralnet(Output~Input,trainingdata, hidden=100, threshold=0.01)
                                                      ~^~
```
[NeuralNet.R:31:71:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L31) *style:* **Put spaces around all infix operators.**
```r
net.sqrt <- neuralnet(Output~Input,trainingdata, hidden=100, threshold=0.01)
                                                                     ~^~
```
[NeuralNet.R:38:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
testdata <- as.data.frame((1:10)^2) #Generate some squared numbers
                          ^
```
[NeuralNet.R:38:33:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L38) *style:* **Put spaces around all infix operators.**
```r
testdata <- as.data.frame((1:10)^2) #Generate some squared numbers
                               ~^~
```
[NeuralNet.R:48:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L48) *style:* **Commas should always have a space after.**
```r
cleanoutput <- cbind(testdata,sqrt(testdata),
                              ^
```
[NeuralNet.R:50:36:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L50) *style:* **Commas should always have a space after.**
```r
colnames(cleanoutput) <- c("Input","Expected Output","Neural Net Output")
                                   ^
```
[NeuralNet.R:50:54:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cd2d21536c4fd19ce571ec1877b77a7ad77d8214/NeuralNet.R#L50) *style:* **Commas should always have a space after.**
```r
colnames(cleanoutput) <- c("Input","Expected Output","Neural Net Output")
                                                     ^
```


Hey Vivek, thanks for the suggestion. However, this isn't needed because Java uses [short-circuit evaluation](https://en.wikipedia.org/wiki/Short-circuit_evaluation). Essentially, if `mTvShowSubscription` is null, the `!mTvShowSubscription.isUnsubscribed()` will never be run. The program realizes there's no point in doing the `isUnsubscribed` check because the first check was already false.


The deep river is the Wanderer equivalent of a bulk freighter, but yeah, it should say something like
>requisitioned a Deep River freighter

instead.


Если поставить return, не нужен будет else


И тут не нужен


@xcarol i si poso un comentari explicatiu? perquè amb les ors que hi ha hauria de veure's autoexplicatiu, no?
prioritat 1: cookie (configuració usuari aplicada a nivell aplicació)
prioritat 2: investigació configuració client browser/OS a partir dels llenguatges acceptats al nostre sistema
prioritat 3: agafa el default configurat al nostre sistema


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/155671b28e30c64124706af6515d9b0de3a4de47/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


@darkowlzz don't u think typing github-cli is too much of typing 🗡


אמ... ידעתי שזה יגרום לבעיות אני זה מאיר התלמיד לא המורה...

בתאריך 18 בדצמ׳ 2016 18:32, "Danieli84" <notifications@github.com> כתב:

> למחשב שלי יש בעיה מחר באים לתקן לי אותו ובתיקווה אני אתחיל מחר, ותודה לך
> מאיר.
> המשך יום נעים
> דניאל .ק
>
> בתאריך 18 בדצמ׳ 2016 18:09, "0123meir" <notifications@github.com> כתב:
>
> > לא צריך את ההתחלה תנסי רק לעצב ביינתים אחרי זה כשנלמד javascript תמשיכי
> עם
> > קבלת/מסירת מידע
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub
> > <https://github.com/MeirAmar/SchoolProject/commit/
> c08bb81e6920cfc9d029ff347ec382d07c8a40c6#commitcomment-20226566>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/AXdnCfkuLj1yZ6MVT-
> VyjtgMFBVKlsniks5rJVqogaJpZM4LQIUx>
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/MeirAmar/SchoolProject/commit/c08bb81e6920cfc9d029ff347ec382d07c8a40c6#commitcomment-20226636>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AXdnM9t2A2zQlOilEkaoJK0C82YX_VBBks5rJWABgaJpZM4LQIUx>
> .
>


The suffix "Z" indicates UTC and should not be used in combination with %z (+/-HHMM).

In cases where the system time zone is set to something other than UTC, for example US Mountain Standard Time, this change to line 21 (i.e. "Z%z") will result in nonsensical timestamps, such as "2016-12-18T16:42:03Z-0700."  ("Z" indicates UTC, but -0700 indicates UTC-0700, so which is it?)  As line 21 is calling the method utcnow(), you are assured that the timestamp is expressed in UTC, so the "Z" suffix will always apply.  The "%z" should be removed from line 21.

Similarly, on line 11, introducing the suffix "Z" in combination with %z leads to confusion when the system time zone is not set to UTC.  In this case, one is not guaranteed that the timestamp will be expressed as UTC, and so the suffix "Z" should not be included.

I recommend that these changes be rolled back.

Cordially,
Aaron


Зачем передавать эту переменную?


Filter returns pointer to newly allocated array.
Don't forget to free it before reassigning to another pointer.


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/e236f12e6290e4076f00ae51f94114fe2235cb90/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ace3ed7504e1bb44e11a459705bdf92e472d090e/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


This is actually Wrong, the indices will wrap around once we iterate into the next leaf node. We'll need to write our own `char_indices` iterator that tracks the character's index in the global `Rope`...


Перейти на страницу


Great change, thank you.


tutaj lepiej myślę było by zastosować pętlę while. Bardziej eleganckie rozwiązanie


I kept a copy of command line output, and from it here is, for the record, the sequence of events on my side. Yes I did `make clean` but that was after the I could not reproduce the error...

```
git checkout master (it was at ffa6f5a)
git merge stable (it was at 3a4175c)
git push
To https://github.com/sphinx-doc/sphinx.git
   ffa6f5a..3099150  master -> master
cd doc
make html
   --> crash
git checkout stable
make html
   no error
git checkout master
make html
   --> crash
git checkout 79fa2836
make html
   no error
git checkout ffa6f5a8
make html
   --> crash
git checkout master
make html
   no error !!!
at this stage I was very confused and I did
make clean html
   no error.
```


need more useless cvars


Musimy sobie poprawić wszędzie to size() - 1 lepiej, będzie użyć back lub rbegin. Przetestujemy to sobie


NOT THE :bee:S!


@orikon it seems to unzip fine for me. Maybe there was corruption in the download? Try unzipping a fresh download.


Submitted https://github.com/OrbitzWorldwide/consul-client/pull/197 to correct it.


blame blizz for bad datas :)


OK


Нумерация StrErrI-я_... в таком варианте решения не нужна, Префикс StrErr говорит о том, что это строка с ошибкой, суффикс, идущий после подчеркивания - сигнализирует (ну, насколько может) о том, какая это ошибка.


I would make this `private` to ensure other classes can't accidentally access it. Also spelling 😉


teste


@aembler What's this?


Why you remove this? This sovle problem with systemjs package manager...


Just running the new demo.py to test texture extraction gives a different isomap compared to the fit-model from C.
See the good isomap obtains from C and the bad one from python:
![isomap](https://cloud.githubusercontent.com/assets/1094525/21295112/61767610-c54e-11e6-9969-272fca28977d.png)
![isomap_py](https://cloud.githubusercontent.com/assets/1094525/21295113/617989ea-c54e-11e6-8827-58900a7202e8.png)


Nobody said anything about bug?
Glad you found a fix


Hmm that's interesting, on the example image it worked on my machine. Can you try with the example image? (i.e. the original demo.py without modifications)


Funckja createMenu2 jest używana zanim jeszcze została zadeklarowana


Thanks for this. However, for me the temp is being set to an incorrect value. For example I set to 20.5; DriverTempSetting:17.8. I set to 24, DriverTempSetting:20.6. Wonder what's going on?


Вижу намного больше одной пары вызова printf() с данными и следом вызова printf() с переводом строки.


nie wiem czy używanie setRGB jest dobre, jak uzywałem jej przy negacji, to powodowała zwiększenie kontrastu na obrazie, jak zmieniłem na WritableRaster.setPixel to zaczeło działać dobrze.


zróbmy sobie stałą tablicę parametrów, gdzie wartości dla jednego atrybutu są od 1-100.


We moved the preparation of the callback parameters between onPreDispatch and onLoading, so your onPreDispatch event handler is still disabling the dropdownlist too early. just remove your onLoading, rename your onPreDispatch to onLoading and it should work like expected:
~~~xml
<com:TActiveDropDownList ID="cmbStatus" OnCallBack="changeStatus">
<prop:ClientSide.OnLoading>
       Pace.stop();
       Pace.start();
       $('#<%=$this->cmbStatus->ClientId%>').prop('disabled',true);
</prop:ClientSide.OnLoading>
<prop:ClientSide.OnComplete>
         $('#<%=$this->cmbStatus->ClientId%>').prop('disabled',false);
</prop:ClientSide.OnComplete>
</com:TActiveDropDownList>
~~~


Added to master in
https://github.com/gramps-project/gramps/commit/bb919efec78ac6fc59a843a8bf63e87c2035cf25


funkcję pokazują dane menu dlatego też lepiej było by w nazwać dawać show zamiast create. Nazwy powinny również mówić jasno jakie to jest menu czy pierwsze, czy główne (main, first itd).


@gerardcl totes dues estan bé, són dos estils. Els comentaris sempre ajuden ;)


Все отлично, только наверное эти тут подчистить?


Нет.
Берем самую первую версию файла, где было специально написано ! в условии if, чтобы система шла по пути с ошибкой. Вспоминаем зачем вообще я писал эту My_perror() и нужно ли было ее саму вообще дорабатывать. Берем все мои комментарии по этому месту.
И находясь именно в заданных условиях, представляем, что это не наша функция вызывается, а библиотечная, в которую нельзя влезть, которая работает именно так как ее написали разработчики компилятора, там изменяем СВОЙ код, что в итоге и эта библиотечная функция выводит все так как нужно нам (описано в комментариях ранее).


конкретно тут для использования в rgb2hex, не надо, но для того, чтобы эта функция была универсальная и ее можно было использовать для других нужд. Padding получается не захардкожен длиной 2 и поэтому, допустим в задачах, где нужно использовать числа больше 255 и отступы нужны допустим 3 символа, то можно написать dec2hex(345, 3) и получим 159 или dec2hex(25, 3) ==> 019, следовательно для новой задачи не надо писать новый dec2hex или как-то добавлять новый код.


hi!


Is this supposed to be `this.data.title` ? I don't see where else the state might have been set.


I have changed it for a reason. My addon would not be efficient on the floor and specially ceilling. It will be better for you to just use the valve´s pedestal button instead, since it remains in "Vertical" position, while mine is always reclined upon surface.


Fixes #27


## Lipsum really?

So we __really__ were not able to find better filler text?


@sfornengo It works fine for me on several images. My guess is you forgot to adjust `image_width` and `image_height`?


## Lipsum really?

So we __really__ were not able to find *better* filler text?


prefomance!


squashed a commit to remove a project that I was using only for debugging purposes. The result is a shell commit above this and three commits squashed into this one. Oops.


Please use sprt based off the master


fixes #2


### [Codacy](https://www.codacy.com/app/ntorgov/mBlog/commit?cid=65540574) detected an issue:
#### Message: `Strings must use doublequote. (quotes)`

#### Occurred on:
+ **Commit**:  8e693b52d00711bf1167bc01beafd445bdbaef47
+ **File**:    [client/shared/layout.js](https://github.com/ntorgov/mBlog/blob/8e693b52d00711bf1167bc01beafd445bdbaef47/client/shared/layout.js)
+ **LineNum**: [28](https://github.com/ntorgov/mBlog/blob/8e693b52d00711bf1167bc01beafd445bdbaef47/client/shared/layout.js#L28)
+ **Code**:    `starting_top: '4%',`

#### Currently on:
+ **Commit**:  5ffee4e8fefb239d2ef97f1c2dfc817d38e8f47c
+ **File**:    [client/shared/layout.js](https://github.com/ntorgov/mBlog/blob/5ffee4e8fefb239d2ef97f1c2dfc817d38e8f47c/client/shared/layout.js)
+ **LineNum**: [22](https://github.com/ntorgov/mBlog/blob/5ffee4e8fefb239d2ef97f1c2dfc817d38e8f47c/client/shared/layout.js#L22)


prefomance everywhere


В этой версии проекта, т.к. мы разрабатываем свою систему печати всех ошибок (это к заданию в master не относится, его нужно сделать само по себе) логично оставить вызов strerror(errno) прямо в параметрах функции.


Wofür braucht man das?


### [Codacy](https://www.codacy.com/app/ntorgov/mBlog/commit?cid=65540574) detected an issue:
#### Message: `Expected method shorthand. (object-shorthand)`

#### Occurred on:
+ **Commit**:  53d5d9d0a75146df548b57888d62bde36a3d2115
+ **File**:    [lib/controllers/edit.js](https://github.com/ntorgov/mBlog/blob/53d5d9d0a75146df548b57888d62bde36a3d2115/lib/controllers/edit.js)
+ **LineNum**: [12](https://github.com/ntorgov/mBlog/blob/53d5d9d0a75146df548b57888d62bde36a3d2115/lib/controllers/edit.js#L12)
+ **Code**:    `onAfterAction: function () {`

#### Currently on:
+ **Commit**:  5ffee4e8fefb239d2ef97f1c2dfc817d38e8f47c
+ **File**:    [lib/controllers/edit.js](https://github.com/ntorgov/mBlog/blob/5ffee4e8fefb239d2ef97f1c2dfc817d38e8f47c/lib/controllers/edit.js)
+ **LineNum**: [12](https://github.com/ntorgov/mBlog/blob/5ffee4e8fefb239d2ef97f1c2dfc817d38e8f47c/lib/controllers/edit.js#L12)


Примерно так. Только нужно заменить константы enum на заглавные с подчеркиванием.


was more informative


In the case that I'm using it, runsv is the foreground program that's preventing the container from exiting - traditional runsv setup doesn't work for multicontainer-docker EB, a foreground 'entrypoint' has to stay running. I'll change that to `grep runsv /etc/service/steemd` so that we're sure it's the proper pid to kill. Since it's not being launched as a background process, I can't trap the pid with `$!` as you'd normally do when launching as a background program - this was intentional to have it run in the foreground. Let me know if you want me to use a different workaround.


Implemented and about to test


Если можно, то желательно обновления файлов делать одним коммитом. Неудобно искать потом изменения.


And btw, Clean Style for now, haven´t maded the styled versions yet. Beemod should hidde unstyled items but it doesn´t...


Thank you for your very quick reply! I cross checked with this [FreshPorts](https://www.freshports.org/astro/libosmium/) site and found out that libosmium port for FreeBSD has the following patch in place:

```C
-#if !defined(_WIN32) && !defined(__APPLE__)
+#if defined(__FreeBSD__)
+# include <sys/endian.h>
+#elif !defined(_WIN32) && !defined(__APPLE__)
```

I would assume this fix has been added by Dmitry @AMDmi3, the port maintainer. So I guess no further action needed, just use the libosmium port on FreeBSD, rather than the plain git repo.


Тут та же история. Мы переходим на кодирование ошибок специальными (нашими) константами и связываем константы и строки с ошибками, поэтому нумерация в середине имен переменных со строками не нужна.


salut, tout le monde, je m"appelle Aurel


You have 8 variables but only 4 distinct values (eg. `m1` is the same value as `l3`). Maybe you can come up with different names for them and get rid of the duplicates.

Rather than using string concatenation, you can use an ES6 template string.

```
let x1 = 12 + 20 * this.props.string;
let y1 = 18;
let x2 = 28 + 20 * this.props.string;
let y2 = 2;

let stringPath = `M${x1} ${y1} L${x2} ${y2} M${x2} ${y1} L${x1} ${y2}`;
```


@VoyagerOne, this is not the final version of the patch. The purpose of the test is verify how much we'll get if we use values from TT also at PV nodes, and to verify if the new version contains bugs. Testing this makes sense with the TT, because now we can trust data from it, and we must use all benefits of it.


This key was revoked.


@alok87 tab auto-completion


Технически все ОК, но:
1. по стандартам оформления кода константы перечислений обычно записываются большими буквами с разделителями в виде подчеркиваний.
2. Кроме того, обычно константы располагаются каждая на своей строке.
3. И еще момент, т.к. ты размещаешь enum в заголовочном файле, то он виден всем модулям, куда включается файл, а значит у него должно быть достаточно уникальное имя, чтобы не налететь на перекрытие какой-нибудь локальной переменной error.
4. То же относится к самим константам, часто у них префикс совпадает с началом enum-а. В локальных (в пределах модуля) enum-ах, бывает что так не делают, либо сокращают префикс до пары символов.
4. const писать для enum излишне, enum всегда константен, никто так не делает
5. extern ему тоже не нужен, enum где описывается, там и определяется.

Итого, в итоге должно получиться что-то типа:
// MV_ от movement
enum MV_ERRORS {
MV_ERR_NOT_A_WORLD_SIDE = 1,
MV_ERR_ONE_WORD_ONLY,
...
};

Разумеется после замены нужно заменить использование констант по коду.


Oh @draperjames  i see you changed it..


add badges


planet's surface*


Про перенос функция я [уже писал](https://github.com/Ivan746/MoveByCoords/commit/93df25280a159327ef7bcfc81d76138139c21cbb#commitcomment-20190495).


Looking at the file diff, looks neat. Magic Apple blah I guess.


Trochę psuje to ładowanie nowego obrazka do workspace'a bo rozmiar panelu się nie zmienia. Poprawię. Jeszcze, jeśli wynik operacji nie zostanie zapisany to po cofnięciu się do wyboru operacji obraz powinien być przywrócony do stanu wyjściowego.


I don't understand, how could "auth[name]" ever be a boolean when the values of the "auth[]" table contain a table data type? I would think it highly unlikely that a user could inject a true or false value into auth[name], unless the server itself was compromised.


Related to: backdrop/backdrop-issues#1757


aaa


Dude, seriously?


Why was this made btw?
I noticed this change in both Android and iOS versions too...


Ok, tak czy inaczej dane w rastrze oraz w tablicy hsv powinny być zawsze spójne. Coś się wymyśli.
Tak na marginesie, nie wiedziałem, że zakresy wartości HSV są następujące: H{0-360}, S{0-100}, V{0-100}.


@Dancanplay done


Certo, mas têm de resolver os conflitos e testar se ficou a funcionar antes de enviar para o repositório. Funciona? :)


ok !


What Blade said.
"Get back [to space]" is not what is being said here. What is being said is "Get back [from me]."
"Back away" or "get away" would be examples of phrases with the same meaning as "get back."


Closes #28


@LautaroL20 Unstyled items shouldn't be hidden. Instead, they should have some sort of indicator that the item is unstyled. BEE2.2 hid unstyled items, and it was very annoying.


I am commenting here as I cannot comment on the release page.

I can't really claim full Gtk 3.22 compliance for GC, because of #228 . It's minor, but it's there.
Gtk 3.20 is perfectly supported, though.


I think these items should be able to be placed on all surfaces. Even if it is not efficient, it should still be allowed.


This was because the readme got inside the chatbot branch for some reason. I have no idea what I'm doing.


nie wiem czy powinny być zawsze spójne, jak będziemy wykonywać operacje na rgb to nam hsv nie będzie potrzebne. w drugą stronę będzie potrzebne żeby generować podlgąd, wiec faktycznie przy ustawieniu jakiegoś piksela hsv, można odrazu aktualizować RGB.
Operacje rgb możemy wykonywać na zwykłym bufferedimage, a tylko hsv na tym rozszerzonym, ale to chyba trzeba sprawdzić w praktyce jak będzie lepiej.


This seems to have broken kin simulation of both holo & diff driven robots :-(
Working on it... it should be something very stupid (a missing rotation or alike), because robots tend to move a lot (in excess) sideways, even the Diff/Ackerman model...


You are right ! I reversed width and height in my code...
Sorry for the noise, thanks again.


Isso não deveria estar abaixo da tabela? Esta informação localizada aih em cima ta esquisito, eu acho.


Cool! :-)


@wschweer Appears to not work past a line break.


I was thinking that it'd be a special case for certain makers.  Like `neomake#makers#ft#c#set_default()`.  I see now that java and python has global variables to set values, but those are still user variables.

I think `c` *might* warrant a special case because the defaults are naive and "automatic" flags might be very different from what the user would actually want (see the `objc` flags below).

In hindsight, it's probably better that this plugin just creates a `clang2` maker that the user can enable.


Здесь и далее. Зря вытащил универсальную функцию My_PrinterV2() наружу. Она грамотно сводит всю функциональность в одно место, пользуясь механизмом значений аргументов по умолчанию. Вот и сидела бы в своем модуле как static, а используя механизм перегрузки нужно было вторым слоем абстракции оставить в деле семейство My_Printer(), с помощью которых ты реализовал бы красивый интерфейс (чтобы в каждом случае вызов сообщения об ошибке в этом вот модуле был без всяких магических чисел, даже нуля). My_Printer(), видимые в прикладных модулях собирали бы параметры и звали бы универсальную My_PrinterV2() разбираясь уже в деталях сто ей передавать и в каком порядке, какие там значения по умолчанию, а какие нет и т.д. и т.п.


@Counter-pain
1 thing
if you want 1 star to die use passive to defend all and set leader to support
1 star will never die in 1 font 4black


I copy/pasted this directly from the Qasper setup...


*fix


имхо это гениально


Сделаны разные уровни


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/c59e15d418159ece506c2eebe7b04098bbbc731f/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


1. That solved the problem.

2. I checked the gmail account setting and the "Access for less secure apps" is actually on.
Any other ideas?


I kept getting `UNMET PEER DEPENDENCY istanbul@^0.4.3` (and nothing working) until I added that. After I installed it, things started working.


Probably none. Copied it over too...


How about you use your own fucking work you lazy fuck


Do your own fucking work


*This* is where it all begins.


Yes, I already did it,

but for God sake. In 50 turn some hero at no 2th with *1 (or 3rd with *1)
will die first, then it's not same rate leveling up, so they take long time
to re check hero lv up, if I around my PC, it's fine, but when I go
somewhere and back in 2-3 hours, actually it's just save 30-1 hours playing
(total playing farming time is 6-7 hours for me to get 100/100 heroes). Not
so that emergency tough.

On 19 Dec 2016 1:17 a.m., "dreammed" <notifications@github.com> wrote:

> @Counter-pain <https://github.com/Counter-pain>
> 1 thing
> if you want 1 star to die use passive to defend all and set leader to
> support
> 1 star will never die in 1 font 4black
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/dreammed/SevenKnightsAI/commit/94e9f7814316da5bcbecf1bbcafbf408f2b234cc#commitcomment-20226906>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ATP93DslPZMBl1XnVObrqKTQ7W0U-dv0ks5rJXivgaJpZM4LNrxi>
> .
>


You are 1 seriously lazy mofo


uhhhhhh..... i did... i had my own vendor forked from slim and then it fucked up somewhere so i forked this one and reverted all your shit an in base too and in settings so this isnt even your rom. i used non of your commits or anything and i talked to seraph about it


Pretty sure I used that for some experiments in the DAIPP tech report (not sure if they made it into the 'final' version, though). There are probably some references to it in the daipp repo.


No, I don't think that you need this tr_flux_index type.  The indices are always sequential in the flux type, so it is easy get the corresponding index by simply starting at 1 and incrementing this number after each flux is used.  In your case where is a logical branch, you would need to add an else branch that also increments ind:

 ```
  !Do not handle air_sea_deposition fluxes here, they need to be handled after atmos_down
  ind = 1
  do n=1,ABT%fluxes%num_bcs ; if(ABT%fluxes%bc(n)%flux_type  .ne. 'air_sea_deposition') then
    do m=1,ABT%fluxes%bc(n)%num_fields
      do k=0,ncat ; do j=jsc,jec ; do i=isc,iec
        i2 = i+i_off ; j2 = j+j_off ; k2 = k+1
        FIA%tr_flux_top(i,j,k,ind) = FIA%tr_flux_top(i,j,k,ind) + &
              ABT%fluxes%bc(n)%field(m)%values(i2,j2,k2)
      enddo ; enddo ; enddo
      ind = ind + 1
    enddo
  else
    ind = ind+ABT%fluxes%bc(n)%num_fields
  endif; enddo

```


lol wtf is your deal...i did the same exact shit as you in another repo then i just redid it cleaner here.


Project started!!


`Rope` is now `convert::From<&str>` so you can make them from string literals directly now. Not a big deal, but `Rope::from("aaaaa")` is sliiiiiiiiightly less boilerplate.


@benubois why not https://api.diffbot.com/?


You probably don't care about it (and probably shouldn't), but setting all of %ENV would break terribly on VMS.


do my own work...except i have non of your commits here...? cool especially here of all places


I see alright I'll take a look there. Thanks!


You are full of bs
David just showed me your convo


Just for clarification, will this commit be automatically applied so the about:home snippet is updated? It fixes one of my typos, sorry about that.


Ces changements permets le bon fonctionnement du site sur IE et Safari sur iOS


??? what part becsaue im legitamitly confused then...


Again with the lies


the only reason i did it like this was so people would know you cleaned out slims shit


send_arp 과제에서 callback이 왜 필요하죠?


Issue #27


The conversation where you said "I hope you don't mind but i forked reapers repos"
You have reverted nothing by the way
i can see all my work so try again


795 Columbus Ave


이건 뭐에요? pcap_compile의 용도는 이해하고 있나요?


Check the commit history, you have not reset anything


See : https://bugs.limesurvey.org/view.php?id=12010#c42559


Blue from American Express


I prefer it like this. If anything were changed, I would even remove the namespace altogether as it is evident from the following example.


2.1 Puzirkovaya Sortirovka (Array.List)/2.1 Puzirkovaya Sortirovka (Array.List)/Program.cs

Во имя единого стиля и святого кода, призываю ангелов дать люлей за отсутствие пробелов слева и справа от знака равно - аминь=)


um https://github.com/Radon-X7x/frameworks_base/commit/de8ca46f49c305c8abd91b07214ea0d0ec2c2a59 REVERT OF SHIT YOU ADDED and i kept you cleaning out slims shit becasue either way i would have done it on stock slim and followed your commits. at least here your getting the credit for the work


There's no automation sadly (cc @TheoChevalier)


Restarting server solved the problem. Thanks!


Adding all the basis functionality for a canvas.
1 Creating a canvas.
2 Drawing line in the canvas
3 rawing rectangle in the canvas


зачем нужен инкремент этой переменной?


If you consider the newsletter or all the formats you are right, so I should change it to `ebooks`? Right


а это где юзается?


1 commit rofl
why not just follow my work and pick what you need
I see this as a total lack of respect for my work


git trial


callback은 뭐고 pcap_next_ex는 뭐에요? 지금 과제의 본연의 취지는 이해하고 있는 건가요?


changed something again?


5.1 S_n_W SAVE_and_READ (Utf-8)/5.1 S_n_W SAVE_and_READ (Utf-8)/Program.cs

слишком большая лесенка


слишком большая лесенка


объявление переменных разрешено только в самом вверху


i figured youd be more pissed off by that than this considering then you dont get notified that im using it...i figured you were cool because its not like you added a ton of shit here but fine i creat a new repo and redo it on stock slim but im gonna end up using practically all base commits because without it it doesnt build. its not like i started here i started with stock slim but the op3 wouldnt get past the first second and since i sqaushed alot of commits i ifugured i messed up somewhere. but either way im sorry ill try and correct it


Else is not required here, you can write:
 if (dir)
    return new ArrayList<>(attributesRepository.findAll(new Sort(Sort.Direction.ASC, sortBy)));
 return new ArrayList<>(attributesRepository.findAll(new Sort(Sort.Direction.DESC, sortBy)));


форыч?


а как это сделать без юсинга тра кетчем?

ответ лучше в лс в вк или коментом комитом отдельным залить сюда


For more info read this: http://williamdurand.fr/2013/06/03/object-calisthenics/  2. Don’t Use The ELSE Keyword


give me a couple hours to deal with real life shit and ill reset the heads back to here 49b2b260e40293e4d60ce0640cd442a76b0fa474 and then pick everything back


костыль какой-то, почему не просто через while? do while тут явно лишний


mozesz tak
```
(0 to towers.size - 1).map(i =>
        towers.map(t => towers_map(t(i))).mkString(" ")
).mkString("\n")
```


Don't use printStrackTrace. Try to use a logger. Lombok is providing the logger for you. The annotation is called @Slf4j
and then instead of e.printStrackTrace you will have  to write `log.error("We have an error during file reading!", e);`


Where you say "given to a developer", I'd dub it as too restrisctive. Shouldn't the GDD drive the effort of all the team, from creatives to  developers (maybe to testers)?


이거 언제 사용해요?


I commented before finishing the paragraph ^_^'


fixes #1


That was probably due to a bad merge - I had moved that, but I think it reappeared in the merge.


bardziej pasuje nazwa ```GameMove``` bo tutaj procz wiezy masz ruchy 'from' 'to'


@asterite Linux (4.2.0 x86_64) (sorry for delayed response :smile:)


not sure "with order" is a good version of "con ordine". It may be but I'd go with "in the right order" to avoid is sound odd


tutaj ten ```var score = ``` niepotrzebny


Isn't a \forall 'independence of choice'?

I am fine with 'packing' and 'instantiating' as terminology too.  I do prefer synchronization, but I won't fight over it.


pozmieniaj wszedzie `_` na camelCase


Elkészültek az utolsó simítások is.


No i nie doczekałem się Buildera :(((((((((((((((((((((((((((((((((((((((((((


[data_exploration-12-5.R:13:69:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/data_exploration-12-5.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
hist(y_train, breaks = 60, col = rgb(1, 0, 0, 0.5), probability = T,
                                                                    ^
```
[data_exploration-12-5.R:16:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/data_exploration-12-5.R#L16) *style:* **Commas should always have a space after.**
```r
legend("topleft",c("Train Set", "Test Set"),
                 ^
```
[data_exploration-12-5.R:16:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/data_exploration-12-5.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
legend("topleft",c("Train Set", "Test Set"),
                                            ^
```
[data_exploration-12-5.R:73:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/data_exploration-12-5.R#L73) *style:* **Commented code should be removed.**
```r
# pairs(xs_df)
  ^~~~~~~~~~~~
```
[data_exploration-12-5.R:92:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/data_exploration-12-5.R#L92) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/test_train_split.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test1 <- mean((y_test - mean(y_train)) ^ 2)
                  ^
```


Good point! I believe I copied and pasted that from [the docs](https://www.diffbot.com/dev/docs/article/) which use `http` for some reason. Thanks!


[random_forest_cat.R:9:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L9) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:10:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_cat.R:28:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_cat.R:29:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 300*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_cat.R:31:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L31) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = 500)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  # Temporary confusion matrix for in sample
                                            ^
```
[random_forest_cat.R:34:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L34) *style:* **lines should not be more than 80 characters.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:5:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L34) *style:* **Commented code should be removed.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:84:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
                                                                                ^
```
[random_forest_cat.R:39:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  # Out of sample accuracy
                          ^
```
[random_forest_cat.R:41:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_cat.R:42:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L42) *style:* **lines should not be more than 80 characters.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:42:91:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
                                                                                ^
```
[random_forest_cat.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_cat.R:49:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L49) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_cat.R:58:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L58) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:59:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_cat.R#L59) *style:* **Trailing blank lines are superfluous.**
```r

^
```


commit gone wrong, files weren't added


Not sure "with order" is the right idiom for "in ordine". I'd use "in the right order" to avoid sounding odd.


лучшая оптимизация всех времён и народов!


[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:14:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L14) *style:* **lines should not be more than 80 characters.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:14:12:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L14) *style:* **Variable and function names should be all lowercase.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
           ^~~~~~~~~~~~
```
[random_forest_reg.R:17:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_train_rf <- mean((fit_rf2$predicted - y_train) ^ 2))
                      ^
```
[random_forest_reg.R:21:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
((abs(MSE_train_rf - MSE_train)) / MSE_train) * 100
 ^
```
[random_forest_reg.R:24:17:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_rf <- mean((fit_rf2$test$predicted - y_test) ^ 2))
                ^
```
[random_forest_reg.R:30:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/random_forest_reg.R#L30) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[data_exploration-12-5.R:13:69:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/data_exploration-12-5.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
hist(y_train, breaks = 60, col = rgb(1, 0, 0, 0.5), probability = T,
                                                                    ^
```
[data_exploration-12-5.R:16:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/data_exploration-12-5.R#L16) *style:* **Commas should always have a space after.**
```r
legend("topleft",c("Train Set", "Test Set"),
                 ^
```
[data_exploration-12-5.R:16:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/data_exploration-12-5.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
legend("topleft",c("Train Set", "Test Set"),
                                            ^
```
[data_exploration-12-5.R:73:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/data_exploration-12-5.R#L73) *style:* **Commented code should be removed.**
```r
# pairs(xs_df)
  ^~~~~~~~~~~~
```
[data_exploration-12-5.R:92:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/data_exploration-12-5.R#L92) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/test_train_split.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test1 <- mean((y_test - mean(y_train)) ^ 2)
                  ^
```


[random_forest_cat.R:9:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L9) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:10:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_cat.R:28:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_cat.R:29:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 300*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_cat.R:31:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L31) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = 500)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  # Temporary confusion matrix for in sample
                                            ^
```
[random_forest_cat.R:34:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L34) *style:* **lines should not be more than 80 characters.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:5:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L34) *style:* **Commented code should be removed.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:84:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
                                                                                ^
```
[random_forest_cat.R:39:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  # Out of sample accuracy
                          ^
```
[random_forest_cat.R:41:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_cat.R:42:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L42) *style:* **lines should not be more than 80 characters.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:42:91:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
                                                                                ^
```
[random_forest_cat.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_cat.R:49:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L49) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_cat.R:58:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L58) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:59:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_cat.R#L59) *style:* **Trailing blank lines are superfluous.**
```r

^
```