>The URL for the gitter.im channel is incorrect.

Urgh, yeah, sorry.... copy-paste error.

>http://stackoverflow.com/questions/ask?tags=shell+fish

Unfortunately, that link doesn't really make it clear how to read _previous_ questions, so it's possible we'd get a lot of duplicates that way.


# See README.md for instructions on running the code and output from it
# The assignment states that running the code is not part of the grading
# but I have the instructions anyway.

# makeCacheMatrix is a function that returns a list of functions
# Its puspose is to store a martix and a cached value of the inverse of the
# matrix. Contains the following functions:
# * setMatrix      set the value of a matrix
# * getMatrix      get the value of a matrix
# * cacheInverse   get the cahced value (inverse of the matrix)
# * getInverse     get the cahced value (inverse of the matrix)
#
# Notes:
# not sure how the "x = numeric()" part works in the argument list of the
# function, but it seems to be creating a variable "x" that is not reachable
# from the global environment, but is available in the environment of the
# makeCacheMatrix function
makeCacheMatrix <- function(x = numeric()) {

        # holds the cached value or NULL if nothing is cached
        # initially nothing is cached so set it to NULL
        cache <- NULL

        # store a matrix
        setMatrix <- function(newValue) {
                x <<- newValue
                # since the matrix is assigned a new value, flush the cache
                cache <<- NULL
        }

        # returns the stored matrix
        getMatrix <- function() {
                x
        }

        # cache the given argument
        cacheInverse <- function(solve) {
                cache <<- solve
        }

        # get the cached value
        getInverse <- function() {
                cache
        }

        # return a list. Each named element of the list is a function
        list(setMatrix = setMatrix, getMatrix = getMatrix, cacheInverse = cacheInverse, getInverse = getInverse)
}

# The following function calculates the inverse of a "special" matrix created with
# makeCacheMatrix
cacheSolve <- function(y, ...) {
        # get the cached value
        inverse <- y$getInverse()
        # if a cached value exists return it
        if(!is.null(inverse)) {
                message("getting cached data")
                return(inverse)
        }
        # otherwise get the matrix, caclulate the inverse and store it in
        # the cache
        data <- y$getMatrix()
        inverse <- solve(data)
        y$cacheInverse(inverse)

        # return the inverse
        inverse
}


LGTM


This commit helps to fix, for the time being issue #2


Heu chez moi ça marche pas du tout


The additions in this directory are a subset of the FCS tests, particularly those for the FCS symbol apis


Could get dictionary from the online text file instead of a file saved on your computer


Great :)


Con questo commit il numero della porta per gli snapshot di motion sono configurabili al momento della installazione e nella definizione del cronjob. Questo risolve l'issue #3


Наверное, надо как-то отдельно обозначать


这两个 IP 的 Whois 信息显示确实是 Fremont 的，为什么要改成 LA？
http://www.tcpiputils.com/browse/ipv6-address/2001:470:0:9d::2
http://www.tcpiputils.com/browse/ipv6-address/2001:470:20::2


Missing ";" (**<**)


Ah, cool.  Guess I missed that holiday party.  ;)

Thanks for the update.


Missing "`;`" (`>`)


This fixes a problem where the Unittests.dll could only be run from the directory where it is placed


A typical examplf of a renaming in the FCS API


The old API gave back an inconsistent mix of 0-based-line-number-integers and 1-based-line-number-ranges.  FCS uses the latter.


Are you sure? As soon as the content is added to `<body>` instead of after `</html>`, you need `absolute` to make sure the footer is on the bottom of the page even if the page is shorter than the browser height.


How about a link to http://fishshell.com/docs/current/tutorial.html#tut_autoload?


`footerwrapper` needs to wrap all elements on the page to make sure the footer is on the bottom of the page even if the content is shorter than browser height. Maybe the name was not chosen correctly


I suggest that __forceinline was strongly recommended here. If it is not compatible with LLVM then may be configure define FORCE_INLINE instead?


I added task for this, because I am pretty confused with changes made by this commit: https://github.com/DGLE-HQ/DGLE/issues/227


这个IP的PTR记录（tserv1.lax1.he.net）LAX 就是 Los Angeles
IP来源于 HE Tunnelbroker ，可以看到的确是 Los Angeles：
![image](https://cloud.githubusercontent.com/assets/9155358/12377189/14a48ef6-bd4f-11e5-8cc6-a682220ccd28.png)
用 HE 的 Looking Glass ，从 Fremont 节点 Traceroute ，也到了 Los Angeles 节点上：
![image](https://cloud.githubusercontent.com/assets/9155358/12377192/256526a6-bd4f-11e5-9131-7e5c61df2c12.png)


Should include access modifiers


観光スポッ　ト
謎の空白がある


Should include access modifiers and getters/setters for relevant variables.


literowka w linii 3


There is still some indenting issue here ;-) For the record, Git's documentation mentions the indentation with tabs that take up to 8 spaces [here](https://github.com/git-for-windows/git/blob/78ce6bc19e6b7ce9433b889b2a67d53b8fbeb557/Documentation/CodingGuidelines#L169-L170).


Bardzo dobrze!


świetna zmiana, będzie podwyżka


Having dev and stable at the same time is a great idea! :+1:


Could you move the definition of `prepare_update_index_argv()` here and just drop the forward declaration? Oh, and please surround the definition with empty lines.


図5.1bのとこで、
「ここには　〜〜　機能がある」っていうのは不自然な気がする
主語を、この吹き出しにはにすり替えたりすると良さそう？


_vm->_audio->setSoundGroup(speechFile);
_vm->_audio->playSound(speechNum - 1);


coś tu mogę dodać?


I am pretty certain that upstream would prefer to read `result = run_command(...) || setenv(...) || ...`.


Place constants on the left to avoid assignment errors


![image](https://cloud.githubusercontent.com/assets/9155358/12377221/b35d1670-bd50-11e5-82af-b916abfe6d98.png)

这是 2001:470:20::2 ，全球 Anycast


I think this may have broken the support for files that are larger than 2G.


Ślicznie


This file contains the majority of the updated FCS symbols API


Methods are public in interfaces by default. So do not need to add it


OK, It makes sense.


This is an FCS cleanup of the Reactor thread code


I understand your reasoning. AFAICT Git's source code only declares static functions if they call each other, and declares non-static functions in the header files (and the fact that they are marked non-static makes them stick out more to begin with). So I think this patch will have better chances to get accepted upstream if that coding style is followed.


comment to comment


But pixel perfect will be broken.


I'm just not sure whether calling code should handle the flags, action and data or the activity definition should contain it. There may arise cases where the same activity may have to be started with different flags. For example starting an activity from a background service requires an extra flag. So I was thinking may be the option to add these flags could be put on the calling code side. Provide `flags(int ...args)`, `data(String arg)`, `action(String)` on the generated `ActivityBundler.Builder` class would be more flexible ?


Hello~~ Can u help me? I want to make translate maplestory2 to chinese. Lots chinese player want play this game,But cant read Korean,I can read it and I have much time. So I think I can do it. But I cant unpack and pack the game file. Can u teach or help me ? Thank u ~My email ：wowzql@gmail.com. Wish your reply.


If the first call of `a() || b()` returns non-0, then the entire value evaluates to `1` without `b()` being called, no?


謎のスペースがはいっちゃってる


'NameError: name 'get_preferences' is not defined' when import object-files


Could check objects for null when objects are passed into methods via parameters.


@myakove This is the way how the author sees that as it should be. In my opinion it should be configurable.


@WiolaW bardziej oficjalna zmiana


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11791](https://teamcity.mesosphere.io/viewLog.html?buildId=106634&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 214 Build time: 00:04:15


Strings should use .equals() to compare.
.equals() checks the actual contents of the string
== checks whether the references to the objects are equal.


Good idea.


I tried so hard to mimic your code style.


フォトストーリーに関する意見のほうがよさそう


Small typo: preferred


Actually, this changeset makes tmux maintenance much harder in source-based distros ☹ Now, maintaners would need to make separate package for vim syntax file, while it was enough to install/not_to_install it conditionally on user's decision before ☹


Would make it ".." - the . needs to be part of the conditional.


good！！！u are  smart


Yeah, I actually thought about that. I decided to go with only "s" because I was afraid of false positives. But now that I try to come up with non-plural words ending with "es", it's really hard. We might as well go with "es" too.


Be carefull with this arguments. For now, you must apply this config:
```
arguments: [  ~, AppBundle\Entity\LottoNumber, ~ ]
```


is prefix should be used for Boolean variables and methods


This is already released also als 0.10.0-beta.7

These are the changes https://github.com/db-migrate/node-db-migrate/compare/v0.10.0-beta.6...v0.10.0-beta.7


But, I still unpasted it.


Checkmarx scan results 17 Jan 2016 03:36 UTC -08:00

High
Medium
Low
Info

New
2
0
0
0

Recurrent
0
0
0
0

Fixed
0
0
0
0

 Open Viewer
Included commits

Commit ID	Owner

3c43f9e6dcec6ad03b858f34b49ec8d76a473c67	@dortal


C.5.4 Always use braces for if statements


https://github.com/Shestak/ShestakUI/commit/3201f39a86e3334a53176becb5a223fd16558975
Now you can change scale.


Zapomniałem dodać plików (buttony, tło) do klienta ;/


Closes #4


God jwg geniys ya


好みかもしれないけど、
〜と〜は、画面右上にあるタブをタップすることで（表示を）切り替えられる。
とかのほうが綺麗だとおもう


Correct, but needs a tweak. Parser unfortunately doesn't do nested statements, so this needs a Text.Parse(..., parse) around the " on your [legs] and".


That seems to be an error here in line 74. There is a gap in the coding between KEY_F(10) and KEY_F(11), but we have no gap in between the buffer for F10 and F11. Please recheck.


yes


Actually no. Due to the >= 3, you are guaranteed to have at least 3, meaning 2 or more extras.


@FernetMenta dou have an idea if this is correct/needed for mainline?


Fix #4


Untyped here? its typed in line 172


But how will it help?
I have tons of code, so I just want to use new version of lodash in new modules and use old one in other. And to check and rewrite old modules one by one during about month.
We use not just one or two methods, but almost all the library


More enterprise code analysis and testing would of prevented this issue from occurring. Poor workflow.


@FernetMenta same question in regard to backport here


Oui, je ne suis pas sûr que ce soit une si bonne idée que ça... A la base, je pensais que l'on pourrait juste charger les données en mémoire, via une allocation dynamique (malloc en C, new en C++). En C, je suis à peu près sûr que ça aurait été la bonne solution, en C++, je ne sais pas... Ca pourrait peut-être éviter de copier des données un peu lourdes au moment de charger les données puis des les traiter mais le mieux est que tu fasses comme tu le sens (et à défaut que tu ailles au plus simple!). On pourra toujours raffiner après!


initialResponseTpicShouldBeReplacedByRealOneIfResponseIsNotYetCommittet ? :)


Sorry, I realized that mistake but forget to comment about it.

From looking at the poke transporter app's exheader it appears the service pxi:dev is probably the service that allows for NTR card access.
https://3dbrew.org/wiki/Gamecard_Services_PXI


... ResponseIsComitted


TeamCity MonoGame :: Develop (Win) [Build 3.5.0.1172](http://teamcity.monogame.net/viewLog.html?buildId=13653&buildTypeId=MonoGame_DevelopWin&guest=1) is now running


thx


You can avoid a lot of the `const_cast` madness by writing this function a bit better. Generally in C, the calling function passes in a buffer for the function to fill in. For example:
```c++
void JKG_xRGB_ConvertExtToNormal(const char *text, char *out, size_t outSze)
```
Q3's style of returning a static buffer is bad design IMO and should be avoided for any new functions you write.


now my package.json looks like:

'''
lodash-3: ^1.0.0,
lodash: ^4.0.0
'''

and I just replaced all my imports with "lodash-3" temporarily


Plz drop GDGUkraine from the module path, it's not needed here and also violates the codestyle


Checkmarx scan results 17 Jan 2016 03:54 UTC -08:00

High
Medium
Low
Info

New
0
0
0
0

Recurrent
2
0
0
0

Fixed
0
0
0
0

 Open Viewer
Included commits

Commit ID	Owner

3c43f9e6dcec6ad03b858f34b49ec8d76a473c67	@dortal


Тесты большие, и что значит слово "gen"?


Nice try! :+1: I'd also add event id and date here to make the filename more verbose :)


We add the current TPIC to the response to at least respond with the initial TPIC if the response is committed before afterCompletion is called.


Checkmarx scan results 17 Jan 2016 03:57 UTC -08:00

High
Medium
Low
Info

New
0
0
0
0

Recurrent
2
0
0
0

Fixed
0
0
0
0

 Open Viewer
Included commits

Commit ID	Owner

3c43f9e6dcec6ad03b858f34b49ec8d76a473c67	@dortal


@artur-shaik  the latest version disable this feature,the pom.xml can not be finded when open a new file in a new directory!


@SubJunk  sorry I can't help you. I have a Panasonic TV, but it is quite old and supports only mpegps, avi and divx plus images and no audio.


it's fixed now @bonii-xx for some reason intellij was still using an older forge after i updated my workspace, re-importing the project fixed it


@Maescool Tihi, @boy0001 did doo-doo


!backend.isEmpty can go into line 83 now


!backend.isEmpty() check can go to line 83 now


マイグレーションファイルを直に書き換えちゃったの？


It's better to use [n%9](https://github.com/MaSteve/UVA-problems/blob/master/UVA11332.cpp). If you want to know the result of adding all the ciphers in a number, use it.


dislike the name, especially the 'ifNeeded' :)  (but I think we use it in other bindings too). Mabe `writeHeaderIfUncommitted` ?


thank you very much


А не прифигел ли ты с пассов в открытом виде?
я думал ты годноту пишешь! а ты...


Heh, I totally forgot about those. Sorry!


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11792](https://teamcity.mesosphere.io/viewLog.html?buildId=106639&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 214 Build time: 00:08:32


Fact check this ryan before squashing.


could you be more specific? what backport?


:+1: Nice!


Jetzt speziell auf diesen Commit bezogen oder auf den Branch allgemein? Aber ja, das war der Plan ;)


adding newline


adding silly newline


Ja, aber build:js ist derzeit auch mehr Platzhalter. Erwartungsgenmäß kommt da noch wieder Minification, etc. Bin nur derzeit am Ausloten, wie ich das genau machen will und so ist es erstmal einfacher, weil ich bei der jetzt kommenden Modularierung das ganze JavaScript noch hin und her verschieben werde. Ein Buildscript, das sich auf irgendwelche Ordnerstrukturen verlässt, ist da nur hinderlich.


The exclusion of `.hypothesis/eval_source` was intentional.
In `.hypothesis` resides a database that you want to commit. It contains known test conditions that lead to a failure. hypothesis will then explicitely check those.


@Memphiz looks like the same as https://github.com/xbmc/xbmc/commit/4bd354cbc175d6485e704243a177b2e714943fb1

if so, it is required


创建进程


i hex edit it


We should try to remove the dependency  of imp as it's been [deprecated](https://docs.python.org/3/library/imp.html#imp.find_module). I'm trying to replace it using [imporlib.find_dspec](https://docs.python.org/3/library/importlib.html#importlib.util.find_spec) as suggests in the documentation. :grin:


ok


I think you should consider reverting this commit. The Forms are explicitly setup to handle escaping of HTML everywhere. Your change might fix some minor issues but it introduces a larger security issue instead. You're better off fixing these packages, rather then introducing an issue that'll be harder to fix in the future.

By centralizing escaping in the Forms classes you are also preparing your codebase for any other future changes such as introducing an API, or for example, JSON fetched forms.

If you really wanted to, you could possibly use the ``$double_encode = false`` parameter instead


Indeed, I was did it to fast.... (so much error I had to deal with). Corrected


I know it was a long time ago but I am finally merging this into master. Please can you elaborate on where it was too thin. IIRC I deliberately offset the outside to avoid the roof being too thin vertically when it slopes downwards. A long time ago the duct looked like this https://github.com/nophead/Mendel90/blob/414163467770fe6ed6f7dd1e2cbefb2e5894e2df/dibond/stls/x_carriage_fan_duct.stl, which is why the roof is so thick.


原来实现那个word prior可能有点问题
我曾经做过模拟实现，不能复原ground truth值。。。
topic prior是可以的。
考虑到word prior optimization不是非常重要，所以当时没有深究，直接关掉了


`moduleTemplate` appears to be defined twice.


Thank you very much my friend :)


`utilTemplate` doesn’t seem to be used.


koskhol


I think the filtering should indeed be in the displaying app only - libzypp is by now having info about appdata files and also reads the metadata, but it gets really confused if it finds an appdata.xml but this is not listed in the repo metadata... which currently happens for tracker-preferences: as-builder skips it


Great insight. Please submit a pull request and I'll gladly merge it. I think by ciphers you mean digits :)


this  question  is  answered   by  yourself ???


Should be `XmlPeekAliases` in comment.


TeamCity MonoGame :: Develop (Win) [Build 3.5.0.1172](http://teamcity.monogame.net/viewLog.html?buildId=13653&buildTypeId=MonoGame_DevelopWin&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 560, ignored: 6 Build time: 00:41:11


in a way, but only in a small way


This comment is a bit out of context here. I think it fits better in the implementation.


This is you don't believe me?


mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create


If you write `/*/*` instead of `/*` the outcommented section will not be part of the compiled `alasql.js`


Oh... Sorry... It's because I can't just host.... a [PRIVATE] only brazilian server with this source... Somewhat when I try appears errors....


This whole bit looks kind of ugly. Needs to be incorporated better before shipping, any ideas?


I puzzled over that for a while until I ran 'showkey -a' and saw the reasoning behind the original code.  The Xterm (and other terminals except Xfce Terminal which traps F11)  keycode sends for F10 and F11, respectively:

^[[21~   27 0033 0x1b
         91 0133 0x5b
         50 0062 0x32
         49 0061 0x31
        126 0176 0x7e
^[[23~   27 0033 0x1b
         91 0133 0x5b
         50 0062 0x32
         51 0063 0x33
        126 0176 0x7e

As the original code was testing the fourth octet it had to make the adjustment.  With Ncurses keypad enabled, the key value returned is the same as listed in ncurses.h--KEY_F(0) + 10, and those values are consecutive.


Como dije, el tiempo va a seguir pasando y te las vas a arreglar para seguir saliendo en los créditos desgraciado xD


@thijstriemstra published, thanks!


these are data stream of ford engine


Test code:
```python
from events import Event
from filters.players import PlayerIter

@Event('round_end')
def set_values(game_event):
    for player in PlayerIter('human'):
        print('Old:', player.name, player.kills, player.deaths, player.assists)
        player.kills += 2
        player.deaths += 2
        player.assists += 2
        print('New:', player.name, player.kills, player.deaths, player.assists)
```
Then, check the scoreboard on round_start to verify the values are still correct.

I have not verified the assists instance_attribute on Linux, so I would appreciate it if someone would verify that one for me and post here.


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11793](https://teamcity.mesosphere.io/viewLog.html?buildId=106645&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 214 Build time: 00:08:16


NO！ just   this  question  is  very  interesting


Nice! I was trying to find something like the `-B` option but it seems to be undocumented.


this is not correct, if the file returns 0 it will also proceed...
That method returns None if there was something wrong

If it returns 0 is means the file rating is indeed 0


测试


please leave picture in there.... I've modified the code so it will only return the pictures library when called as picture addon.

With this change the user will not be able to access the pictures from emby


赞


You should make sure that you use unicode for all strings within your python code.
Alll xbmc method return utf-8 encoded strings, so this change is no solution. You can better check if you're using unicode at all times


really???In fact,I see the answer.🐒


```javascript
        if (!this.disabled && this.action) {
            this.action();
            UI.mouseMenu.close();
        }
```


Missing (or extra?) single-quote (`'`) around `$(TARGET)-cmake`.


```javascript
        this.disabled = type;
        this.domElement.classList[type? 'add' : 'remove']('disabled');
```


Po co właściwie to `respond_to`?


[type? 'add' : 'remove']('hidden');


Yeah, i saw it. Will fix it later.


Hi @beledouxdenis ,
It would be nice if a SQL unique key would be implemented as well as a python constraint.
As we know what must not appears, preventing it by code is a good practice.

regards


We still need this copy right issue. It was one of the condition for using the picture.


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11794](https://teamcity.mesosphere.io/viewLog.html?buildId=106654&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 214 Build time: 00:06:47


大家不着急。goagent还可以用
贴一个教程http://bbs.landiannews.com/thread-446-1-1.html


```javascript
this.titleElement.innerText = title || '';
this.keyElement.innerText   = key   || '';


It was intentional to omit this binding, as the lancie-ajax requires the CSRF token. This token is only available after a call to `/api/v1/users/login`. Once the token is received, the ajax call is fired: https://github.com/AreaFiftyLAN/lancie-frontend/blob/master/app/elements/lancie-login/lancie-ajax.html#L105


Should this be `mapping.alias`?


Fixed in 9d09e67443f318f54e0f93a4018e008743e4c994


I czym to właściwie odpowiada? Dlaczego jsem?


Bądź konsekwentny jeśli chodzi o whitespace. `= render`.


You can use print for writing data to a file


wew


Auf den Branch allgemein, ja :) Ich hab bei mir ja allein schon lokal das ein wenig anders eingerichtet (ohne den externen Webserver), würd das gern ausprobieren :)


This would also fix similar issues with Ritual of Souls :)


Źle wcięte.


To jest ajax, odpowiada szukając nazwa_metody.js.erb z tego co wiem i to renderuje ponownie listę postów i ewentualne błędy po akcji

W dniu 2016-01-17 14:13:50 użytkownik Marek Lipka <notifications@github.com> napisał:
I czym to właściwie odpowiada? Dlaczego jsem?
—
Reply to this email directly or view it on GitHub.


Z apką testową na fb powinno chyba działąć oauth również lokalnie?


En fait les slugs ne sont plus utiles, c'est remplacé par l'attribut data-article. Le focus passe par le scope angular qui est déjà géré correctement quand il vient d'un lien extérieur.

Le scrolltop est à restaurer par contre.


po co `friend`? Wystarczy właściwie `create`, `destroy` (zgodnie z RESTem) i ewentualnie jakieś `accept`/`reject` jeśli chodzi o ten cały kontroler.


Why is warning and alert switched?


No problem.
I didn't notice until mailing list people complained.


Package wordt dan phi-js-diff. Of phi-js-dom-diff.


I found references stating that autocapitalize="off" is now deprecated and should be changed to autocapitalize="none"

http://stackoverflow.com/questions/5171764/how-do-you-turn-off-auto-capitalisation-in-html-form-fields-in-ios

https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize


Unicode characters in artist/song names print an error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 9: ordinal not in range(128)


오타 있어요!
<meta charset="utf-8"> 이 맞죠.


To samo tutaj. Kontroler już jest `invitations`, więc wystarczy samo `accept`/`decline`?


Public function warning = warning
Public function alert = alert
Common sense. @KillerXtream must have mucked it up -_-


To też popraw.


I like.


Thanks for the nice variable names.


@Andriamanitra : if you have a fix, a pull request or a script update on weechat.org is welcome!
(sorry, not enough time on my side, and I'm not using last.fm)


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11795](https://teamcity.mesosphere.io/viewLog.html?buildId=106661&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 214 Build time: 00:03:30


Thank you for fixing, are you planing to open pull request?


TeamCity pull requests :: netty [Build 1045](https://garage.netty.io/teamcity/viewLog.html?buildId=4822&buildTypeId=pulls_netty&guest=1) is now running


Should this line be moved after the if-block that sets the title? Is this not the same problem as in line 2123 (autocommands triggered but title not set)?


I found this: https://github.com/jriecken/sat-js
We can use a svg element that represent the collider and use it. Like this : http://forum.unity3d.com/attachments/d4455d09d853bfb29827b9e61722af45-png.74400/


Hey @AlexTr noticed this fork and figured I'd drop by and give you some advice.
This fork isn't necessary, this is not how Ansible is supposed to be used.

Defaults are there to be overridden within users' inventories - that can be done at several levels.
For instance, you can achieve what you're trying to do with these changes here by setting these values in the playbook you're using to deploy Rocket.Chat, like so:

``` yaml
- hosts: chat_servers

  vars:
    rocket_chat_version: 0.13.0
    rocket_chat_tarball_remote: http://ci.boonex.com/chat/ChatPlusServer-v.{{ rocket_chat_version }}.tgz
    rocket_chat_tarball_sha256sum: 422a3ef88486bf843bed37e4cf869d29b37c2341a9695d4d4074bdb4fce05030

  roles:
    - RocketChat.Server
```

Or, if you want to override these variables for just a specific host, you'd do it in `host_vars/my.host.yml` (where `my.host` is the name of the server you're deploying to), like this:
``` yaml
rocket_chat_version: 0.13.0
rocket_chat_tarball_remote: http://ci.boonex.com/chat/ChatPlusServer-v.{{ rocket_chat_version }}.tgz
rocket_chat_tarball_sha256sum: 422a3ef88486bf843bed37e4cf869d29b37c2341a9695d4d4074bdb4fce05030
```

This is how Ansible's variable structure is supposed to be used and means you won't have to maintain a fork of the project. I suggest you familiarise yourself fully with Ansible's structure, implementation, and practices properly if you're going to be deploying using it.

[Ansible's official docs](http://docs.ansible.com) are excellent, so, make sure to go give them a read :+1:


Soon™ ;D


Неправильно работаешь с моделями. для этого есть методы load() и validate()


It looks like this should be escaping the value's characters here as well, similar to how `tagEscapeReplacer.Replace` unescapes them parsing a raw string above?


@yukisaibai
positionは会社での役職ですので、positionのままでいいかと思います！


This is not entirely compatible.


ночью попробую пофиксить


Revert: DOES NOT WORK


Thought so... How about fetching it locally?


This fixes PR #8869


I think that path src/pocketmine/resources/imagicalmine.yml is broken


@phil65 why do you close the dialog `movieinformation` and later re-open it? This results in an odd close/open animation and you lost the focused control within the movieinformation dialog.


The second parent is PLL6 / 2. You should have a fixed factor clock with div=2 as this parent.

See sun8i-h3.dtsi, clk pll6d2.


It really is situational in whether the calling class should need to specify these fields. I think the action would for the post part be constant as to a specific activity, flags and data may vary. With that said i don't think a flags(), data(), action() would hurt, but i would still like a way to specify these to be automatically added to generated code, as there are a situations where u would want all calling classes to use specific flags/data/action. May just be me tho :\.


Неоптимальные алгоритмы, дублирование кода, неверное именование переменных.
Для чего два раза делать foreach($_SESSION['products'] ? Что мешает сделать один раз?
Почему нельзя написать  foreach($products as $product)? Для чего тебе ключ, если ты его не используешь?
В модели нет валидации, см. документацию, как правильно описывать модели.


Of course it is because it doesn't exist locally. Are you sure you deleted the old imagicalmine.yml before testing the later build? Travis build seems to have passed.


Maybe:
TraceEE modules used on the same class-path are compatible among each other in the same minor version.
The wire protocols used by Tracee are compatible in the same major version.
If you use different TracEE modules you should consider...


It's not really a problem, but you forgot to update the ingame changelog :)


closes #5


Используется сессия не средствами Yii.


Path to 'scala' directory must not contain spaces!


comment comment ....


Komitas turi per daug pakeitimų. Siūlyčiau bandyti daryti "atomiškus komitus": http://www.freshconsulting.com/atomic-commits/


blah blah


UndefinedError: 'manage.models.Message object' has no attribute 'image_info'  Попробую ночью поиграть  c декораторами полей sqlalchemy


[logo ff 5 i.zip](https://github.com/fossasia/gci15.fossasia.org/files/93418/logo.ff.5.i.zip)


Yes I am sure


Сервак перезапусти


was there an error in the logic, or did it correctly implement a one-shot on the rising and falling edges of armed.lockdown? Not sure what "on/undefined" means.


*yet


sizes are all wrong this way. Multiply with 1024.
13312 * 1024


Plaatje in de footer wordt niet meer goed weergegeven, mss iets aan doen


Yes, your code is shorter. But then please add a sorting to the `fetchAlbumList()` with your shorter code. And just read 5 entries per page. You will need to rewrite the code. In the end some of your methods will use the `selectWith()` methods and some probably wont.

With my approach all methods will be consistent even if we add orders and limitations. The main reasons why I prefer the `Zend\Db\Sql` stuff is extensibility and consistency. So in the end it is a matter of taste how to do it.


Well this very commit i commented at here :)


Ok, can you re add please. (I thought the one on the pic itself is enough )
On Jan 17, 2016 3:12 PM, "Roy Segall" <notifications@github.com> wrote:

> We still need this copy right issue. It was one of the condition for using
> the picture.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Gizra/Gizra/commit/19110b3426cb6886503e91ce328109c0ea4646dc#commitcomment-15494888>
> .
>


Ahh ok - then this is in mainline already - thx for that info :)


http://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=11190

■「ファイヤー・ハンド」を元々の持ち主がコントロールしていない状態で破壊され墓地へ送られた場合には効果を発動できません。


Ouch, indeed, this should be >=!

Hmm, but it would be MIN, not MAX, wouldn't it? My suspicion that the MAX/MIN way to express this is a bit more confusing otherwise...


```php
// testing hilighting code
function bla() {
    return null;
}
```


Try it now... Should hopefully be fixed in latest build


done


@JustAkan 그 부분은 좀 더 알아봐야 할 것 같습니다


Why only `symfony.routing`? Why not the whole Symfony cache?


Nominated for best use of interrobang 2015‽


Try this: http://www.mckerley.com/Tamsen/TOPConverter.html


エラー内容

|重大度レベル|コード|説明|プロジェクト|ファイル|行|
|---|---|---|---|---|---|
|エラー|C3646|'conv_hacm_yula': 不明なオーバーライド指定子です|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|6|
|エラー (アクティブ)||'{' が必要です|common|c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\iosfwd|612|
|エラー (アクティブ)||PCH 警告: ヘッダーの停止はファイル スコープが対象ではありません。IntelliSense PCH ファイルは生成されませんでした。|common|g:\Visual Studio 2015\Projects\manakonso\common\convyula.h|14|
|エラー|C3646|'ROMAN_KANA_CONV': 不明なオーバーライド指定子です|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|6|
|エラー|C2270|'_SearchHacmByYula': メンバーでない関数が、メモリ モデル修飾子を伴って宣言されています。|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|6|
|エラー|C2059|構文エラー: '['|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|6|
|エラー|C2143|構文エラー: ';' が '{' の前にありません。|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|7|
|エラー|C2447|'{': 対応する関数ヘッダーがありません (旧形式の仮引数リスト?)|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|7|
|エラー|C2601|'ConvYulaToHacm': ローカル関数の定義が正しくありません。|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|57|
|エラー|C2601|'_SearchHacmByYula': ローカル関数の定義が正しくありません。|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|92|
|エラー|C2601|'ConvHacmToYula': ローカル関数の定義が正しくありません。|common|g:\visual studio 2015\projects\manakonso\common\convyula.cpp|108|
|警告|C4838|'LONG' から 'DWORD' への変換には縮小変換が必要です|common|g:\visual studio 2015\projects\manakonso\common\common.cpp|297|


The server feature level only goes up when the grace period is over, which is at least 5min... But our lookups time out earlier than that (5s * 16 = 80s), hence a unbound loop is impossible.


No doesn't work (maybe u should revert this commit lol)
And pocketmine.yml isn't generated too!


I don't think I had a better idea at the time‽


ouch! true!


Looks good, was confused about the ID suddenly being decimal instead of hex.

A spot check of the CSV shows one less field output (counting commas) on humidity than temperature.   Doesn't look like something you are doing,

The CSV header is 24 columns long so I would say CSV output is somewhat broken, but that is likely be a problem in the pretty printer.

I don't intend on using CSV, but just checked it.


и действительно


找不到库了


I inserted https://raw.githubusercontent.com/ImagicalCorp/ImagicalMine/master/src/pocketmine/resources/imagicalmine.yml
manually in imagicalmine.yml and the server started (But crashed after that because you broke slapper again)


The current version, takes the url from the [Boerse Stuttgart](https://www.boerse-stuttgart.de/) website.
And prints the performance in the terminal. You would have to put in the urls in the arrray and then prints.


Heroku was throwing an an unwanted error


Если честно, я не вижу в этом смысла. Я не собираюсь делать интро каждому ученику, и это всё - лишнее усложнение кода.
А если я захочу статусам без эвентов добавить небольшой эвент? Типа кто то идёт, небольшая сценка как ГГ окрикивает и запускается show_stat. В общем нет, мне это не нравится.


I figured we better filter them out, as they might confuse us otherwise. For example we use SOA to detect zone cuts when proving rightful unsignedness, and we better should not even get this far. Checking the these types when verifying signatures is suggested on http://www.george-barwood.pwp.blueyonder.co.uk/DnsServer/NotesOnDNSSSEC.htm which is why I thought this would make sense.


That's correct. I would also suggest moving the escape/unescape to a separate function for clarity, even if they're only used in Bytes() and ParseTags().


'without any adjustments' - might be too confusing here, maybe just drop it?


Not compatible. The dividers are different.


In order to transfer object LostInfo, add Serializable to LostInfo model.


I think I'd rather avoid using `DeclareGlobalFunction` here -- I only really recommend using it when the function is to be documented (not the case here).
Instead, you can replace `InstallGlobalFunction( FOO, ...)`  by `BindGlobal( "FOO", ...)`


This is not a "method", so the info string is misleading. Also, based on its name, I would have expected that this function takes a size (an integer) as argument -- indeed, it only ever uses `s`, not `G` (except to get `s`), so perhaps change the function accordingly?


You can probably just remove `getListeningExecService` now that `submitAsyncTask` is used.


This should be in "ARM: dts: sun8i: add clock nodes to re-use for A83T" patch.


I think this should be setModelBinding() (and this->_modelBinding) as setBindModel() might be confusing (it sounds like it accepts a Model as a parameter).


Where are the rest of the reset controllers? Please add them.


O BC @akhilnarang , RR Update Kar


sure...


I'm not completely sure but should "in the same time" be "at the same time"?


ces


I know, and that's why I just fix it in my own time and don't go on whining about it :p
If you're interested: the only place where I (believe I) place syntactically unnecessary spaces, is where braces touch bare words.


This is not a method, so the info string is misleading.

I also find the name confusing -- what does this function do?


You should just add all the system bus related clocks and resets (PLL6/AHB/APB) in the same patch.
It really doesn't matter if you are using old compatibles or new ones. The DTS is separate from the drivers.


Will this work on XP?


![](http://memesvault.com/wp-content/uploads/Meme-Faces-Troll-Gif-12.gif)

Bhaiya Ji @varund7726 kese Ho ?


行末にセミコロンが抜けてる。
aiosさんご指摘ありがとうございます。


Wait, this can't be correct, can it? At this point, all we know is that the orders of the generators of the group are powers of a single prime. But that doesn't mean that the group is a nilpotent. In fact, there are non-abelian simple groups generated by involutions. What am I missing?


What about the other mmc controllers?


At the end you look at some fp groups, which turn out to be nilpotent -- but you do not invoke IsPGroup on them, is there a reason?

I would add a few more negative ones. I.e. tests where the group turns out not to be a p-group, or even not nilpotent. The idea here being to try and trigger the paths in your code for those negative cases. But perhaps your tests already do that, in this case, just ignore me :-)


The commit message should "Add PRCM related clock and reset device nodes"

In the commit message body, you then explain that the clocks/resets found on the A83 are
compatible with ones found in earlier SoCs, hence you are reusing the compatibles.

This makes it much clearer what you are doing in the shortlog. Otherwise you have
2 "extend clocks for A83t" patches.


This should be a separate patch.


@kasper93 @XhmikosR: Any idea about how to phrase this dialog?


@wsdjeg, ok. I will test it.


辛苦了~继续加油哦！


Can you null-check the get(...) and please use the Headers constants from undertow. Should be something like Headers.ACCEPT_LANGUAGE. Thanks!!!


么么哒~继续加油哦！


I guess this FC
java.lang.NullPointerException
at net.osmand.plus.liveupdates.ReportsFragment$2.onResponse(ReportsFragment.java:101)
at net.osmand.plus.liveupdates.ReportsFragment$2.onResponse(ReportsFragment.java:97)
at net.osmand.plus.liveupdates.network.GetJsonAsyncTask.onPostExecute(GetJsonAsyncTask.ja

Though it is fixed as I see.


Example:
```
from players.entity import Player

player = Player(1)
info = player.type_info

print(info.is_derived_from('CBaseEntity'))
info.dump()
```
Output:
```
True
CCSBot
-CBot<class CCSPlayer>
--CCSPlayer
---CBaseMultiplayerPlayer
----CAI_ExpresserHost<class CBasePlayer>
-----CBasePlayer
------CBaseCombatCharacter
-------CBaseFlex
--------CBaseAnimatingOverlay
---------CBaseAnimating
----------CBaseEntity
-----------IServerEntity
------------IServerUnknown
-------------IHandleEntity
-----CAI_ExpresserSink
---ICSPlayerAnimStateHelpers
```


WhenItsDone™


I had to apply this patch to get boost 1.60.0 on ppc64le to pass its tests. Is there a reason why this has not been merged into master?


I've verified only this one as working.

It is ok to add mmc1 and mmc2 event if not verified?


When trying to build for imx platform you get error 404. So could you please add the sources to sources.openelec.tv.

--2016-01-17 15:11:36--  http://sources.openelec.tv/devel/brcmfmac_sdio-firmware-imx-0.1.tar.xz
Resolving sources.openelec.tv (sources.openelec.tv)... 82.220.2.33
Connecting to sources.openelec.tv (sources.openelec.tv)|82.220.2.33|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-17 15:11:37 ERROR 404: Not Found.


> Why not using half-precision then? Any downsides or side effects (besides of that it's recommended for audio/video-processing)?

first of all: the assumption that -funsafe-math-optimizations is needed in order to vectorize is wrong.
According to many articles -ftree-vectorize is enough for NEON.

some applications needs even double-precision... the result is then just wrong.
Actually i don't know how to check if all installed apps need double, single or half precision.

some interesting links:

http://stackoverflow.com/questions/7269946/cortex-a9-neon-vs-vfp-usage-confusion

http://forum.odroid.com/viewtopic.php?f=54&t=1643

some users from stackoverflow says even that mixing neon and vfp isn't a good idea in terms of performance. And some say that it makes no difference in terms of performance if only using vfpv3 or neon... but it improves Video/audio coding/encoding. The NEON is like the SSE 3DNow! instructions set.

basically half-precision is used for graphic cards ...
Of course our Phone also performs Video/Audio .. but not only this .. we've also apps and an filesystem.
in the worst case it just mess it up with filesystem and data.. maybe also can cause reboot (what we've very rare.. maybe this is the reason)

https://en.wikipedia.org/wiki/Half-precision_floating-point_format

https://en.wikipedia.org/wiki/Single-precision_floating-point_format

but the english wikis are crappy explained .. i suggest to translate the german wikis to your language:

Single Precision:
https://de.wikipedia.org/wiki/Einfache_Genauigkeit

Half-precision:
https://de.wikipedia.org/wiki/Minifloat

some important quotes:

Half:

> Mini Floats are not suitable for numerical calculations, but are sometimes used for special purposes or in training.

Single:

> In the numerical analysis consists, for example. at sums and scalar products the need to save intermediate results in more detail, in order to calculate a final result with sufficient accuracy. Therefore, there is in most computer architectures a number format double precision, the least more memory, but often really provides twice as much memory.


Sorry issue is not fixed


hm, that code still needs cleanup, I'm not checking whether the allocation in the constructor was successful, for instance. I won't have time to do anything on this for the next couple of weeks, though, if you want you can take a look, or (if all else fails), you can revert my commit for the time being.


For lacrosse/01/gfile001.data & lacrosse/01/gfile002.data I get
```
time,model,id,rid,channel,battery,button,temperature_C,humidity,state,rain_rate,rain_total,wind_speed,wind_gust,wind_direction,code,device,temperature_F,rc,flags,maybetemp,binding_countdown,depth,power0,power1,power2
@0.524288s,LaCrosse TX Sensor,48,,,,,,31.000000,,,,,,,,,,,,,,,,,

time,model,id,rid,channel,battery,button,temperature_C,humidity,state,rain_rate,rain_total,wind_speed,wind_gust,wind_direction,code,device,temperature_F,rc,flags,maybetemp,binding_countdown,depth,power0,power1,power2
@0.524288s,LaCrosse TX Sensor,48,,,,,20.500000,,,,,,,,,,,,,,,,,,
```


I've verified only mmc0  as working.

It is ok to add mmc1 and mmc2 and their clock nodes event if not verified?


I don't really like that you dropped the "seen" here. After all there are two masks in play: the mask of what shall be watched for, and the mask of what actually has been seen. In this case the latter is meant, not the former, and that needs to be clarified, since we early reference the former instead. Hence it really should say something like "... to reset the of events seen" or something equivalent.


Why?


I'm not sure this works entirely correctly. For instance, for a tag like this: `"exampletag=te\\st"` it looks like it would incorrectly unescape the `"\s"` when that's not actually an escape sequence, ie the value would end up as `"te\ t"` when it's supposed to be `"te\st"`, which seems hard to do unless you iterate char-by-char or `strings.Replacer` can handle that sort of stuff more smartly. As well as the requirement in the spec [here](http://ircv3.net/specs/core/message-tags-3.2.html#escaping-values) that all other escape characters get output as the escape character itself.

It doesn't look like this handles the `"\\" -> "\"` escape sequence, unless that's somewhere else.

I've got how I do the unescaping in my junky little lib specifically [here](https://github.com/DanielOaks/girc-go/blob/master/ircmsg/tags.go#L12) and [here](https://github.com/DanielOaks/girc-go/blob/master/ircmsg/tags.go#L30) (though I'm very new to Go, there's probably a much nicer way to handle it). Still, feel free to take any of that data/function I linked under public domain if it can be useful in your code.


`and your drivers are up-to-date.`can be confusing.
They are many ɢᴘᴜ models that support latest version of Direct3D 11 and can theoretically support D3D_FEATURE_LEVEL_11_0 in Direct3D. But this isn’t the case.

I can already imagine users filling a bug because they would complain their driver is already at the latest version and their ɢᴘᴜ support Direct3D 11 along Windows® 10.
I would mention the required ᴡᴅᴅᴍ level.

Also does it let selecting the Microsoft software rendering in the case of an unsupported card when D3D12.dll is available ?


Notice
> Square Cash is only available in the United States at this time.


The list of parents is wrong.


Where exactly is action.data coming from? Something seems to give me "TypeError: action.data is undefined" on this line when my open games time out.


Here you dropped the "to watch" too, which is particularly confusing as you dropped the "seen" where I indicated it above. We really need to make sure we are clear on which mask we mean each time: the "mask to watch" or the "mask seen"... aka "events" vs. "revents".


Please do not use automatic translators. No need to strive to translate everything, including technical terms and concepts. It turns out nonsense. Examples:

host => Host
host => Господар
The value of this translation into English: owner, proprietor, master, boss, wallah, baas

nopopup => nopopup
nopopup => немає вискочити
From Ukrainian to English: "there is no jump"

feeds => Feeds
feeds => Канали
To English: channels  (TV or river channel?)

yyyy-mm => yyyy-mm
yyyy-mm => рррр-мм
From Ukrainian to English: RRRR-mm   This is a dog? Or who is growling?  ;-)

From attempts to translate these lines would be more trouble than good.
category_subcategory => /category/subcategory
clean => /clean/
id_title => /id/title
section_id_title => /section/id/title
section_title => /section/title
title_only => /title


@webknjaz what date are you talking about? Current one or the event date?


same here...


Please use a new compatible. The gates for A83's apbs is not the same as on A80.


@BhavikBarai  chu here also spam WTF :|


Dropping the plural "s" here is a problem actually. It's really only run in one of the next iterations, not in *the* next iteration, after all there might be higher-priority event sources pending, or equally-high event sources, which where already pending...


## this is a secondary heading


There is no apb0_1wire.


mmm...
interactive is the default gov for almost any device now, it should be a good and safe choice for performance and battery.

i think we don t need an alternative to it


import java.util.Scanner;
import java.io.*;
import java.util.ArrayList;
import java.util.List;

/**
 * @(#)Muse.java
 *
 *
 * @author
 * @version 1.00 2016/1/16
 */

public class Muse {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        String fileName = "data.txt";

        List<Double> values = new ArrayList<Double>();

        for(int i = 0; i < fileName.length()-18; i++)
        	if(fileName.substring(i, i+5) == "/eeg ")
        	{
        		values.add(Double.parseDouble(fileName.substring(i+10,i+18)));
        	}

        int size = values.size();
        double total = 0;
        for(int i = 0; i < size; i++)
        {
        	total += values.get(i);
        }

        double average = total / size;

        double diffTotal = 0;
        for(int i = 0; i < size; i++)
        {
        	diffTotal += Math.abs(values.get(i) - average);
        }

        double keyNumber = diffTotal / size;

        if(keyNumber < 1)
        	System.out.println("Clair de Lune, by Debussy");
        else if(keyNumber < 2)
        	System.out.println("Clean, by the Japanese House");
        else if(keyNumber < 3)
        	System.out.println("Love Yourself, by Justin Bieber");
        else if(keyNumber < 4)
        	System.out.println("I Took a Pill in Ibiza, by Mike Posner");
        else if(keyNumber < 5)
        	System.out.println("Good Life, by OneRepublic");
        else if(keyNumber < 6)
        	System.out.println("Let's Get Started, by Dylan Gardner");
        else if(keyNumber < 7)
        	System.out.println("Fight Song, by Rachel Platten");
        else if(keyNumber < 8)
        	System.out.println("Paper Planes, by MIA");
        else if(keyNumber < 9)
        	System.out.println("Shots, by LMFAO");
        else
        	System.out.println("Turn Down for What, by Lil' John");

    }
}


Fixed in 4de7783022934d2b86129c364fa4df1f8e864be9 :smile:


todo: user feedback on upload


TeamCity MonoGame :: Develop (Win) [Build 3.5.0.1173](http://teamcity.monogame.net/viewLog.html?buildId=13657&buildTypeId=MonoGame_DevelopWin&guest=1) is now running


lol xD


@sevoku What's the default value of `darker ()`?


心跳包和兴趣包的时间间隔设置是分离的


Corresponds to PR https://github.com/joomla/joomla-cms/pull/8832


The DTSI is based on datasheets and/or Allwinner code.
And one would assume that all the controllers are more or less the same.
So if it's listed in the datasheet, we tend to add all of them,
if you at least verified one works with the compatible string you're using.


Done. ;)


Try now.


no, I definitely don't want that back: https://github.com/xbmc/xbmc/pull/7258


I'd prefer if we didn't make this one const... I'd leave it open whether this changes things internally, for example rechecks the epoll state. Specifically, it might make sense to do this one day if this is called before the first iteration or so...

(I am not really proposing to make it change things, but I'd better stay away from making this really strictly const. Or to say this differently: I'd rather make the event source const only const when data is queried that is really just 1:1 stuff that the user configured in the first place. Everything else are values we could possibly generate dynamically, and hence might change the event sources state...)


I'm open to alternate fixes but this was the only place in packages that encoded the labels that I saw. Other package form fields rendered HTML fine in their accompanying text, but only checkboxes wouldn't put through HTML. For an example, if you revert this commit and load the Squid package, several items on various tabs would have HTML showing as text on the page, and many others are fine.


This one similar, as above: it's something where we dynamically generate a value, and we might want to change sd_event for this (for example, I actually think it would make a ton of sense, to cache the value we return if the function is called before the first iteration, so that we can give the guarantee that the call always returns the same value, until the next start of an even loop iteration)...


Similar, here...


similar here... (after all we turn off event sources automatically under certain circumstances, and I'd leave the door open to doing that implicitly in the getter here, in some lazy mode or so)


好吧，把这套东西写在aux里面好了。


Perhaps add a header with author and copyright/protective markings (opt)


I would have probably simply make the assignment on the previous line - makes the code clearer IMO.


Exporting classes explicitly is good.


Use destructuring here.


I've just had a play with it using the example data. The plugin seems to break if there aren't at least two columns. There's also a weird thing where it outputs the table header row _twice_. Not sure what's up with that...

Also, the sidebar extends below the footer, there's probably an issue with the `flex` property on the container.

Quick question - why use this plugin and notyour own table markup? It would be a lot cleaner than adding another dependency for what's seems to be a simple list..?


Good use of exception handling.


This whole discussion is a consequence of my bad timing - nothing else. I wanted to offer the best possible start to Thanood, so he can focus on Materialize issues only and at the same time use the results of my work for the next Bridge project. In order to do that I had to create the **[Skeleton bridge](https://github.com/aurelia-ui-toolkits/skeleton-bridge/blob/master/README.md#skeleton-bridge)** project which could be alternatively defined as **[KendoUI bridge](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-plugin)** with  **all KendoUI "bits" are removed**.

In addition, I wanted the Skeleton Bridge to use the **[Plugin builder](https://github.com/aurelia-ui-toolkits/plugin-builder)** as a configurable Aurelia feature (plugin) component - which turned to be a difficult task due to the current Plugin builder status (waiting for new jspm)

Combined with easy to occur miscommunications (as this thing was too difficult to describe until I created my three colored boxes) my desire to help Thanood started to look as if I am trying to micromanage him.

In summary - the Skeleton bridge can now continue its evolution without having side-effects on Materialize bridge project. Thanood should be wise to watch for the moment when Skeleton bridge is mature enough to allow a full Materialize bridge refresh (which means to stuff the Skeleton's bridge **orange** box in then current Materialize Bridge project).

Hope that this makes sense to everyone.


Normalization code to convert features to range 0-1 added, *.mat files added to be ignored in the .gitignore


Perhaps keep if statement formatting consistent, i.e. use three lines rather than one for readability.


Wo ist der Vorteil?


Thanks a lot


Happened for me to, I had to write the pocketmine.yml and the imagicalmine.yml by myself...


Dass es nicht öffentlich ist. So kann jeder den Account nutzen...


Good to see maxErrors as opposed to an int value used here so that it can later be changed without requiring rewriting the code.


But then you're limiting yourself to npm... would be easier for everyone to directly fetch from GH, for development at least.


Woop - got git working.


change gitignore


Don't worry about that file. Its not done.


TeamCity MonoGame :: Develop (Win) [Build 3.5.0.1173](http://teamcity.monogame.net/viewLog.html?buildId=13657&buildTypeId=MonoGame_DevelopWin&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 560, ignored: 6 Build time: 00:23:13


@shucknjiveturkey DWMR of checkpoints 25 and 26. Good work here. Ship code.


Sure, I didn't bother modifying these methods much as I moved them from the cop classes.


this will not work if you, like me, copy the binary to another place, instead of building in-place.

Something like https://skia.googlesource.com/buildbot/+/master/doc/go/docserver/main.go#54 has to be made, like I learned today when trying to use template.ParseFiles.


사용자 정의형이 이루어지기 전에 이미 구조체 내부에서 사용자 정의가 된 것이라 상정하고
Tree (여기서 Tree는 typedef 이후라 상정한 struct Tree{})를 사용하였는데, 보통의 컴파일러는
이를 struct Tree라 잡아주지 못하기 때문에 조금 더 꼼꼼하게 아래와 같이 정의해주는 것이 필요합니다.

typedef struct Tree
{
  struct Tree *left;
  struct Tree *right;
}


@shucknjiveturkey DWMR of checkpoints 27-28. Nice work.


corresponds to PR https://github.com/joomla/joomla-cms/pull/8830


잘 짰어요!

특히 Inorder / Preorder / Postorder 를 고민 끝에 잘 완성했네요 :-)


It says "Failed to find JustCause3.exe process." what can I do?


oops, didn't work


I didn't on purpose in case the URL is preceded by something


this causes a bug when creating a new document.
1) Go to new document.
2) Press save.


Also can't load those documents


I'm currently thinking about revising this. The problem is that it does make sense for a plugin to have a "publish" attribute(?). Further I don't think its very descriptive of what the signal implies.

So I'm thinking of changing it to two separate signal; "instanceToggled" and "pluginToggled". By having two signals we can also look into integrating plugin states storage in each host. The host would subscribe to "pluginToggled" signal, and store which plugin needs to be active.
This might involve more work, as we would need to have a mechanism for overriding the toggle state in pyblish-qml; http://forums.pyblish.com/t/un-toggle-plugin-by-default/153.

Implementation wise I would refer to how Deadline stores its data within each host. For example in Maya they store the Deadline data on the "renderGlobals" node. We could make a "network" node that stores the data as a json string on an attribute, or just store the data on an existing Maya default scene node.


Maybe try to avoid while(true) constructs, often ambiguous to people reading code what the halt condition is.


Yes, I tested in VM. They implemented support in SP2.


Try not to leave unnecessary comments in the code.


Great. :)


We had other issues for 1.60 that were higher priority. This patch is on develop already. The regression dashboard was dead, but now it looks good again. The patch should be part of 1.61.


missing an end here :)


missing an 'end' right here.


Right, fixed.


I was editing the wrong css file... done, thanks!


This commit seems to have created 120 lines in DBErrors.log, first these 2 lines:
```
SmartAIMgr: Entry 2385900 SourceType 9 Event 1 Action 12 creature summon: There is a summon spell for creature entry 9526 (SpellId: 14313, effect: 0)
SmartAIMgr: Entry 2385900 SourceType 9 Event 2 Action 12 creature summon: There is a summon spell for creature entry 9526 (SpellId: 14313, effect: 0)
```
then 118 lines looking like this (referring to 118 Flight Master NPCs, I suppose):
```
SmartAIMgr::LoadSmartAIFromDB: Entry 18942 SourceType 0, Event 2, Link Source Event not found or invalid. Event will never trigger.
```
Full list of DBErrors.log text lines: https://gist.github.com/tkrokli/699adf850fcc7da120b3#file-dberrors-log


I think it's nice for this to actually fail locally too (perhaps we could start doing this by making coverage the default option)?


quick typo, missing a '>' at the end of the last line


This was causing parse_input to invoke retro_fail -

http://stackoverflow.com/questions/10242115/os-x-strange-psn-command-line-parameter-when-launched-from-finder


To-dos:
- video formatting should allow accompanying text
- single comics: comics image & galleries have differing space between content & navigation bar
- single comic navigation bar should be aligned with content wrapper (?)
- streamline CSS more


I think this file should be changed to match the other two files:
Source/Tests/TrackableEntities.EF.5.Tests/App.config


A neater way to do this (to avoid all the if statements) would be to use the switch statement.
In the best case the compiler will optimise your code. Could also put the most frequently used cases first too.
e.g.
        switch (error) {
            case 1:  drawGraphics.setColor(new Color(1, 1, 0));
            		 drawGraphics.drawLine(250, this.getHeight() - margin, 450, this.getHeight() - margin);
                         break;
}


Err I'll fix vim soon hehe


i think you want `d_tcp ? "TCP" : "UDP"` here, otherwise this happens:

```
> addAnyTCRule()
> showRules()
#     Matches Rule                                               Action
0           0 (qtype==ANY) && (TCP)                              tc=1 answer
```

which is contrary to your docs (and I think behavior) :smile:


Not sure what you mean. But I doubt it. Simplicity is the watchword and this doesn’t seem like something I’d find in the toolset of a 7-year-old.

> Den 10/01/2016 kl. 18.34 skrev Andreas <notifications@github.com>:
>
> Nice, and will there be (at least in theory), another operator for working with higher-order functions, like aSet.size.function?
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/jcoplien/trygve/commit/d8795b1d8166ad53f5230b1f7d7c70073880a132#commitcomment-15360684>.
>


Configuration for EF 5 is different then for EF 6. That's the reason, why these files are different.


Ta "Fota rozcestníků". nebo "Fotky/Fotografie/Snímky rozcestníků"


Oh yes, my bad. :smile: In that case, we are alright, and I can just merge the PR.  I'll do that now ...


Totally forgot to commit, hence these are not only comments.


I'll do so with cobra's hotfix.


What is the difference broh?


I would just return success as all we check for (if we check at all) is whether or not the return is "success". I'd rather not have to go and change those checks to look for some positive number that doesn't mean anything to me


comment?


Yes sure. But the same method is used in copyModuleMessagesIntoWebapp_shouldNotPrefixMessagesWithModuleIdIfOverrideSettingIsSpecified testcase. Infact, I think it is enough to have one method as the same thing is tested in both. Can you please explain the reason to remove that from the test method?


Good catch! Now fixed, thanks!


The following should have access modifiers, at the least protected, so that package can still access them.


git commit --amend
3rd line- Fix some variable derps :p
git push origin master -f


Did this actually prevent double spending in XT?
Do we have any empirical results on this?


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11796](https://teamcity.mesosphere.io/viewLog.html?buildId=106664&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 212 Build time: 00:09:05


Am Sun, 17 Jan 2016 04:55:12 -0800
schrieb Nate Bargmann <notifications@github.com>:

> I puzzled over that for a while until I ran 'showkey -a' and saw the
> reasoning behind the original code.  The Xterm (and other terminals
> except Xfce Terminal which traps F11)  keycode sends for F10 and F11,
> respectively:
>
> ^[[21~   27 0033 0x1b
>          91 0133 0x5b
>          50 0062 0x32
>          49 0061 0x31
>         126 0176 0x7e
> ^[[23~   27 0033 0x1b
>          91 0133 0x5b
>          50 0062 0x32
>          51 0063 0x33
>         126 0176 0x7e
>
> As the original code was testing the fourth octet it had to make the
> adjustment.  With Ncurses keypad enabled, the key value returned is
> the same as listed in ncurses.h--KEY_F(0) + 10, and those values are
> consecutive.
>
>
Ah well, thanks for pointing it out. Than we have to check the other
places where we check for  F-keys. Maybe we can use the same logic
there.

Tom.

> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/N0NB/tlf/commit/89f0764c463d8e40886607a4c1ca1a7c1db64f94#commitcomment-15494853

--
"Do what is needful!"
Ursula LeGuin: Earthsea
--


Thanks it worked.


! testing issue on commit


Yes !
I think I need to rewrite the *runtime* permissions *checks* and of course, also the *README* that is not up to date with those elements.
Can you open an issue for that ?

Thanks !


Avoid leaving commented out code.


Perhaps clean up this whitespace.


보통 가능하면 변수가 어떤클래스로 만들어져있는지 명시해주는게 좋음
_delayHandler 이런식으로


@prudhomm my first feeling is to say that it's quite strange, it means that you have an active element which want to transform into a ghost element or there are duplicated ghost elements.
What is the context? you use internal faces?
When I wrote this code, I have done a lot of test without any issues, but probably I have only tested with boundary faces.
However, this change is not a problem for me!


I'm not sure if I have seen it used in any of the other classes this early, so I'll just stick to ES5 for now. But encouraging Babel later might be a good idea for more advanced students who want to play around with that :)


Why do we need this?


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 11797](https://teamcity.mesosphere.io/viewLog.html?buildId=106665&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 1, ignored: 214 Build time: 00:03:39


#1  移除 LOFTER 相关的资源：使用 font-awesome 代替图片


I'll try to reproduce this and fix it.
On Jan 17, 2016 8:58 AM, "grisha-kotler" <notifications@github.com> wrote:

> Also can't load those documents
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ayende/ravendb/commit/478628af650fe352038f9745c3b2540959b58747#commitcomment-15495267>
> .
>


얘도 고쳐야지


major :key:


리소스이름에는 스네이크 표기법을 쓴다고 했음


변수명을 길게적어도 되는 이유는 실제로 코딩할때 IDE를 통한 자동완성기능을 사용하기때문에
가독성이 어마무시하게 나빠지는 변수명이 아니라면 차라리 변수를 통해 어떤건지 확실히 알수있게 해주는게 더 좋음

+리소스명, 클래스명도 표기법에 의해수정필요


I mean when calling a method that takes a function as a parameter, how to access the function itself? But maybe we're in the wrong paradigm now. Events and callbacks could easily lead to intergalactic GOTOs...


to jest do wyjebiania


Thanks.


Depending on the Java version you are using (1.7+) you could use [try-with-resources](http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html) here.


Because we no longer prefix messages with module id. So our tests should not have such.


Saint-Martin & Sint Maarten in Joomla?
I can't agree more ;)


This didn't work on Ubuntu:

```
module.js:340
    throw err;
          ^
Error: Cannot find module '.'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/dan/tyrasd/overpass-wizard/overpass-wizard:27:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3
```

I used the following workaround here:

```
    wizard = require('./');
```


How are you creating the document? I can't seem to reproduce this.
On Jan 17, 2016 9:21 AM, "Stacey Lynn" <stacey.cielia.lynn@gmail.com> wrote:

> I'll try to reproduce this and fix it.
> On Jan 17, 2016 8:58 AM, "grisha-kotler" <notifications@github.com> wrote:
>
>> Also can't load those documents
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/ayende/ravendb/commit/478628af650fe352038f9745c3b2540959b58747#commitcomment-15495267>
>> .
>>
>


this should be
```java
if (length <= 1) {
  return;
}
// no else statement
...
```


Probably better than huge, periodic global updates is to track the gradient (ie error) in each player's estimated strength history and perform a whole-history Newton step on the player with the largest error periodically with a relatively higher frequency. Of course this has the overhead of maintaining the gradients, but otherwise should involve a lot less wasted work by the server, since only playing games and rating changes in one's opponents can increase one's error. And perhaps to combine this with the goal of quick preliminary updates in the wake of a game, a finishing game can spawn a dozen updatePlayerWithLargestError requests, or however many we deem to be appropriate. Another approach would be to not run these updates periodically as a background process, but repeatedly after the finish of any rated game until the largest error is below some threshold. This last idea especially would want some fairly serious testing before we put it in place, of course. I'll probably play around with the latter on my own time and see how it fares. :)


뭔가 잘못되고있어 :8ball:


related to #579


the repo for this app can be found at: https://github.com/igweckay/Health_Builder_Final


Oh sweet, can't wait to give this a try.


What is the purpose of collecting names in a separate container?


Yes I just noticed this.  It looks like VS 2015 adds a project.json file to new PCL projects.  I'll go ahead and remove it.


packages/apps/Settings/res/values-zh-rCN/rr_strings.xml:491: error: Error parsing XML: mismatched tag


@rainautumn пассы пока в открытом виде. Это ж все тесты.


In computer integer arithmetic, you always automatically round down. This statement could also be `(head + tail) / 2`


Even better: I have a link! :D
http://repo.xposed.info/module/com.devin.islowramdevice


@cmgiven @emanuelfeld just wanted to ping you all to see what I've done here.  I'm open to feedback on this, of course.


Alright awesome! Sounds good man. I'll try it out now. Thank you!!!


You could work the other way and include all the v4 stuff as individual modules until your code base can be shifted.


I removed it because the sync dev was getting upset I used his library @okungnyo


TeamCity Xbim :: Xbim Essentials :: XbimEssentials [Build 211](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=682&buildTypeId=XbimEssentials_XbimEssentials) is now running


I am fine with that, and I will make the changes tomorrow
(and pr everything to v2.0)


This commit change some name of the file and add site column to the data file! so the conflict is normal. Just Replace It !


kalo cuma cloud.libscode.com dikira direktori mas broh @zhiephie


TeamCity Xbim :: Xbim Essentials :: XbimEssentials [Build 211](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=682&buildTypeId=XbimEssentials_XbimEssentials) outcome was **SUCCESS**
Summary: Running Build time: 00:01:48


Ah ok thanks. I thought when nobody added this file yet, it can't be important :D


Thanks, yapp benar.. biar both natara HTTP dan HTTPS sebaiknya gunakan `//`


~10 requires per module with no namespace isn't that comfortable as _ with all functions :{


TeamCity pull requests :: netty [Build 1045](https://garage.netty.io/teamcity/viewLog.html?buildId=4822&buildTypeId=pulls_netty&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 6372, ignored: 23 Build time: 02:10:49


thank you, keep the spirit on


For this case we already have the negative_errno() macro, no?


Btw, I don't know if you noticed this or not but on 5.0.1(touchwiz)/5.1.1 (cm) mpdecision keeps 2 cores online always(core 0 and 1). After the update, 5.1.1 touchwiz and 6.0.1 CM mpdecision keeps 1 core online. This makes the cpu to keep core 0 on higher frequency more time than if keep 2 cores online at minimum frequency.
I added this commit to my kernel (andip wrote it I just changed the cores that stay online).
What do you think about this?
https://github.com/Emotroid-Team/emotion_tw_caf_kernel/commit/55b2ba483c4c0128bb8616d412e5671fb49c3614


Ups oke master :+1:


Adding that link would help those who are new to fish. Replace the existing "To save custom..." text with something like:

To create custom keybindings put the desired `bind` statements in an autoloaded function named `fish_user_key_bindings`.


Awesome UI :+1:


Here is where the skip in F key values came from.  As you can see 139 is missing from the list.


merged


First commit


sd_event_add_time() returns EOPNOTSUPP if it doesn't support the specified clock, I am pretty sure we should do the same here!


Your code base is in v3 so I doubt you're using that many v4 modules. Just include the v4 modules that aren't covered by v3.


이 것도 초기화 코드인데 GameLoop 함수보단 Init 함수에 있는게 좋지 않을까요?


To validate king's move:

Call is_check(x,y) function, which takes in destination cell's x and y value.
Returns True if there is a check or rules not valid and False if it is safe move.


ENOENT is a bit surprising, no? Maybe rather -EINVAL? (or even ENXIO is better than ENOENT I think)


> Unfortunately, that link doesn't really make it clear how to read previous questions, so it's possible we'd get a lot of duplicates that way.

Yes, but a) we're going to get a lot of duplicate questions no matter what we do (consider the current situation with GitHub issues) and b) the point of that URL is to make it more likely people will create issues that we can find with the /questions/tagged/fish URL. Both should be documented.


Ambil dari sini :joy: https://raw.githubusercontent.com/laravel/laravel/master/resources/views/welcome.blade.php


Also a candidate for negative_errno()?


I can probably optimize this into the previous test now that I know why F11 was treated separately.


wkwk


I think I caught any such other places in the code, although this one seemed unique. I've commented at the relevant line in ui_utlis.c about the missing 139 value.  There is at least one other place this could be optimized just a bit now that I am aware of what the reasoning was.


沒有看到「第一集」


I missed your previous comment about this. Fixed all indenting in e7b9ff8f.


이거 Calculate Rest Bits 를 의미하는 건가요? 함수명이 CalcRestBits가 맞는듯 한데.. 위에 BitCarc도 마찬가지 BitCalc가 맞는듯..?? 다른 의미라면 Pass


Corresponds to https://github.com/joomla/joomla-cms/pull/8874


List<T> 本身有 Count 的 property, 不需要用 LINQ 的 Count()


What are you getting at here? I am not sure I understand the need for it.


> May not make much sense though as currently it would require a rewrite of the engine.

Indeed.  The rewrite would require duplicating most (>80%) of the libp11 functionality into engine_pkcs11.  I'm not sure what you mean by "safety", but neither libp11 nor engine_pkcs11 do any PKCS#11 module discovery: this feature already solely relies on p11-kit.


Right. I had some inverted logic in mind yesterday. This has to work, because De Morgan...


Need sanity check here. i.e. ensure maxLength does not exceed the maximal word length in the dictionary used.


:smile:


This file is only created when hypothesis finds something. I assume it hasn't been used that much until now.


這一步以後就該重構了。


Nice efficient way of creating keyboard.


TeamCity Xbim :: Xbim Essentials :: XbimEssentials [Build 212](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=683&buildTypeId=XbimEssentials_XbimEssentials) is now running


개인적으로는 enum class를 쓰시는걸 더 추천하는데.. Color 이놈이 정수형이랑 같이 연산될 일이 많아서 코드 작성하기 너무 번잡스러울 거 같아서 enum 쓰신거면 이 코멘트는 걍 무시하셔도 무방합니다


Not a fan of "Inverted booleans"... Shouldn't this rather return a boolean called "unicode" rather than an inverted one that is called "non_unicode"?

Or alternatively, shouldn't we rather return it as a bool "eight_bit" or so? After all, there's actually no reason to invoke utf8_encode_unichar() if we know the value is actually in the 8bit character range...


TeamCity Xbim :: Xbim Essentials :: XbimEssentials [Build 212](http://xbimbuilds.cloudapp.net/viewLog.html?buildId=683&buildTypeId=XbimEssentials_XbimEssentials) outcome was **SUCCESS**
Summary: Running Build time: 00:01:36


this is always false. perhaps a remnant of older version of loopback dependencies.


@justinlueders @jreeme This prevents the confusing server log message 'running on localhost:3000' when often it is not. also removes the function body that was being logged.

I didn't remove the 'url' setting in config.js although I'd like to if we're not using. Perhaps it is needed by node-red?


package com.download.tools.test;

import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.color.ColorSpace;
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import java.awt.image.ColorConvertOp;
import java.awt.image.CropImageFilter;
import java.awt.image.FilteredImageSource;
import java.awt.image.ImageFilter;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

/**
 * 图片处理工具类：<br>
 * 功能：缩放图像、切割图像、图像类型转换、彩色转黑白、文字水印、图片水印等
 * @author Administrator
 */
public class ImageUtils {

    /**
     * 几种常见的图片格式
     */
    public static String IMAGE_TYPE_GIF = "gif";// 图形交换格式
    public static String IMAGE_TYPE_JPG = "jpg";// 联合照片专家组
    public static String IMAGE_TYPE_JPEG = "jpeg";// 联合照片专家组
    public static String IMAGE_TYPE_BMP = "bmp";// 英文Bitmap（位图）的简写，它是Windows操作系统中的标准图像文件格式
    public static String IMAGE_TYPE_PNG = "png";// 可移植网络图形
    public static String IMAGE_TYPE_PSD = "psd";// Photoshop的专用格式Photoshop

    /**
     * 程序入口：用于测试
     * @param args
     */
    public static void main(String[] args) {
        // 1-缩放图像：
        // 方法一：按比例缩放
        ImageUtils.scale("e:/abc.jpg", "e:/abc_scale.jpg", 2, true);//测试OK
        // 方法二：按高度和宽度缩放
        ImageUtils.scale2("e:/abc.jpg", "e:/abc_scale2.jpg", 500, 300, true);//测试OK

        // 2-切割图像：
        // 方法一：按指定起点坐标和宽高切割
        ImageUtils.cut("e:/abc.jpg", "e:/abc_cut.jpg", 0, 0, 400, 400 );//测试OK
        // 方法二：指定切片的行数和列数
        ImageUtils.cut2("e:/abc.jpg", "e:/", 2, 2 );//测试OK
        // 方法三：指定切片的宽度和高度
        ImageUtils.cut3("e:/abc.jpg", "e:/", 300, 300 );//测试OK

        // 3-图像类型转换：
       ImageUtils.convert("e:/abc.jpg", "GIF", "e:/abc_convert.gif");//测试OK

        // 4-彩色转黑白：
        ImageUtils.gray("e:/abc.jpg", "e:/abc_gray.jpg");//测试OK

        // 5-给图片添加文字水印：
        // 方法一：
        ImageUtils.pressText("我是水印文字","e:/abc.jpg","e:/abc_pressText.jpg","宋体",Font.BOLD,Color.white,80, 0, 0, 0.5f);//测试OK
        // 方法二：
        ImageUtils.pressText2("我也是水印文字", "e:/abc.jpg","e:/abc_pressText2.jpg", "黑体", 36, Color.white, 80, 0, 0, 0.5f);//测试OK

        // 6-给图片添加图片水印：
        ImageUtils.pressImage("e:/abc2.jpg", "e:/abc.jpg","e:/abc_pressImage.jpg", 0, 0, 0.5f);//测试OK
    }

    /**
     * 缩放图像（按比例缩放）
     * @param srcImageFile 源图像文件地址
     * @param result 缩放后的图像地址
     * @param scale 缩放比例
     * @param flag 缩放选择:true 放大; false 缩小;
     */
    public final static void scale(String srcImageFile, String result,
            int scale, boolean flag) {
        try {
            BufferedImage src = ImageIO.read(new File(srcImageFile)); // 读入文件
            int width = src.getWidth(); // 得到源图宽
            int height = src.getHeight(); // 得到源图长
            if (flag) {// 放大
                width = width * scale;
                height = height * scale;
            } else {// 缩小
                width = width / scale;
                height = height / scale;
            }
            Image image = src.getScaledInstance(width, height,
                    Image.SCALE_DEFAULT);
            BufferedImage tag = new BufferedImage(width, height,
                    BufferedImage.TYPE_INT_RGB);
            Graphics g = tag.getGraphics();
            g.drawImage(image, 0, 0, null); // 绘制缩小后的图
            g.dispose();
            ImageIO.write(tag, "JPEG", new File(result));// 输出到文件流
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    /**
     * 缩放图像（按高度和宽度缩放）
     * @param srcImageFile 源图像文件地址
     * @param result 缩放后的图像地址
     * @param height 缩放后的高度
     * @param width 缩放后的宽度
     * @param bb 比例不对时是否需要补白：true为补白; false为不补白;
     */
    public final static void scale2(String srcImageFile, String result, int height, int width, boolean bb) {
        try {
            double ratio = 0.0; // 缩放比例
            File f = new File(srcImageFile);
            BufferedImage bi = ImageIO.read(f);
            Image itemp = bi.getScaledInstance(width, height, bi.SCALE_SMOOTH);
            // 计算比例
            if ((bi.getHeight() > height) || (bi.getWidth() > width)) {
                if (bi.getHeight() > bi.getWidth()) {
                    ratio = (new Integer(height)).doubleValue()
                            / bi.getHeight();
                } else {
                    ratio = (new Integer(width)).doubleValue() / bi.getWidth();
                }
                AffineTransformOp op = new AffineTransformOp(AffineTransform
                        .getScaleInstance(ratio, ratio), null);
                itemp = op.filter(bi, null);
            }
            if (bb) {//补白
                BufferedImage image = new BufferedImage(width, height,
                        BufferedImage.TYPE_INT_RGB);
                Graphics2D g = image.createGraphics();
                g.setColor(Color.white);
                g.fillRect(0, 0, width, height);
                if (width == itemp.getWidth(null))
                    g.drawImage(itemp, 0, (height - itemp.getHeight(null)) / 2,
                            itemp.getWidth(null), itemp.getHeight(null),
                            Color.white, null);
                else
                    g.drawImage(itemp, (width - itemp.getWidth(null)) / 2, 0,
                            itemp.getWidth(null), itemp.getHeight(null),
                            Color.white, null);
                g.dispose();
                itemp = image;
            }
            ImageIO.write((BufferedImage) itemp, "JPEG", new File(result));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    /**
     * 图像切割(按指定起点坐标和宽高切割)
     * @param srcImageFile 源图像地址
     * @param result 切片后的图像地址
     * @param x 目标切片起点坐标X
     * @param y 目标切片起点坐标Y
     * @param width 目标切片宽度
     * @param height 目标切片高度
     */
    public final static void cut(String srcImageFile, String result,
            int x, int y, int width, int height) {
        try {
            // 读取源图像
            BufferedImage bi = ImageIO.read(new File(srcImageFile));
            int srcWidth = bi.getHeight(); // 源图宽度
            int srcHeight = bi.getWidth(); // 源图高度
            if (srcWidth > 0 && srcHeight > 0) {
                Image image = bi.getScaledInstance(srcWidth, srcHeight,
                        Image.SCALE_DEFAULT);
                // 四个参数分别为图像起点坐标和宽高
                // 即: CropImageFilter(int x,int y,int width,int height)
                ImageFilter cropFilter = new CropImageFilter(x, y, width, height);
                Image img = Toolkit.getDefaultToolkit().createImage(
                        new FilteredImageSource(image.getSource(),
                                cropFilter));
                BufferedImage tag = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
                Graphics g = tag.getGraphics();
                g.drawImage(img, 0, 0, width, height, null); // 绘制切割后的图
                g.dispose();
                // 输出为文件
                ImageIO.write(tag, "JPEG", new File(result));
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 图像切割（指定切片的行数和列数）
     * @param srcImageFile 源图像地址
     * @param descDir 切片目标文件夹
     * @param rows 目标切片行数。默认2，必须是范围 [1, 20] 之内
     * @param cols 目标切片列数。默认2，必须是范围 [1, 20] 之内
     */
    public final static void cut2(String srcImageFile, String descDir,
            int rows, int cols) {
        try {
            if(rows<=0||rows>20) rows = 2; // 切片行数
            if(cols<=0||cols>20) cols = 2; // 切片列数
            // 读取源图像
            BufferedImage bi = ImageIO.read(new File(srcImageFile));
            int srcWidth = bi.getHeight(); // 源图宽度
            int srcHeight = bi.getWidth(); // 源图高度
            if (srcWidth > 0 && srcHeight > 0) {
                Image img;
                ImageFilter cropFilter;
                Image image = bi.getScaledInstance(srcWidth, srcHeight, Image.SCALE_DEFAULT);
                int destWidth = srcWidth; // 每张切片的宽度
                int destHeight = srcHeight; // 每张切片的高度
                // 计算切片的宽度和高度
                if (srcWidth % cols == 0) {
                    destWidth = srcWidth / cols;
                } else {
                    destWidth = (int) Math.floor(srcWidth / cols) + 1;
                }
                if (srcHeight % rows == 0) {
                    destHeight = srcHeight / rows;
                } else {
                    destHeight = (int) Math.floor(srcWidth / rows) + 1;
                }
                // 循环建立切片
                // 改进的想法:是否可用多线程加快切割速度
                for (int i = 0; i < rows; i++) {
                    for (int j = 0; j < cols; j++) {
                        // 四个参数分别为图像起点坐标和宽高
                        // 即: CropImageFilter(int x,int y,int width,int height)
                        cropFilter = new CropImageFilter(j * destWidth, i * destHeight,
                                destWidth, destHeight);
                        img = Toolkit.getDefaultToolkit().createImage(
                                new FilteredImageSource(image.getSource(),
                                        cropFilter));
                        BufferedImage tag = new BufferedImage(destWidth,
                                destHeight, BufferedImage.TYPE_INT_RGB);
                        Graphics g = tag.getGraphics();
                        g.drawImage(img, 0, 0, null); // 绘制缩小后的图
                        g.dispose();
                        // 输出为文件
                        ImageIO.write(tag, "JPEG", new File(descDir
                                + "_r" + i + "_c" + j + ".jpg"));
                    }
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 图像切割（指定切片的宽度和高度）
     * @param srcImageFile 源图像地址
     * @param descDir 切片目标文件夹
     * @param destWidth 目标切片宽度。默认200
     * @param destHeight 目标切片高度。默认150
     */
    public final static void cut3(String srcImageFile, String descDir,
            int destWidth, int destHeight) {
        try {
            if(destWidth<=0) destWidth = 200; // 切片宽度
            if(destHeight<=0) destHeight = 150; // 切片高度
            // 读取源图像
            BufferedImage bi = ImageIO.read(new File(srcImageFile));
            int srcWidth = bi.getHeight(); // 源图宽度
            int srcHeight = bi.getWidth(); // 源图高度
            if (srcWidth > destWidth && srcHeight > destHeight) {
                Image img;
                ImageFilter cropFilter;
                Image image = bi.getScaledInstance(srcWidth, srcHeight, Image.SCALE_DEFAULT);
                int cols = 0; // 切片横向数量
                int rows = 0; // 切片纵向数量
                // 计算切片的横向和纵向数量
                if (srcWidth % destWidth == 0) {
                    cols = srcWidth / destWidth;
                } else {
                    cols = (int) Math.floor(srcWidth / destWidth) + 1;
                }
                if (srcHeight % destHeight == 0) {
                    rows = srcHeight / destHeight;
                } else {
                    rows = (int) Math.floor(srcHeight / destHeight) + 1;
                }
                // 循环建立切片
                // 改进的想法:是否可用多线程加快切割速度
                for (int i = 0; i < rows; i++) {
                    for (int j = 0; j < cols; j++) {
                        // 四个参数分别为图像起点坐标和宽高
                        // 即: CropImageFilter(int x,int y,int width,int height)
                        cropFilter = new CropImageFilter(j * destWidth, i * destHeight,
                                destWidth, destHeight);
                        img = Toolkit.getDefaultToolkit().createImage(
                                new FilteredImageSource(image.getSource(),
                                        cropFilter));
                        BufferedImage tag = new BufferedImage(destWidth,
                                destHeight, BufferedImage.TYPE_INT_RGB);
                        Graphics g = tag.getGraphics();
                        g.drawImage(img, 0, 0, null); // 绘制缩小后的图
                        g.dispose();
                        // 输出为文件
                        ImageIO.write(tag, "JPEG", new File(descDir
                                + "_r" + i + "_c" + j + ".jpg"));
                    }
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 图像类型转换：GIF->JPG、GIF->PNG、PNG->JPG、PNG->GIF(X)、BMP->PNG
     * @param srcImageFile 源图像地址
     * @param formatName 包含格式非正式名称的 String：如JPG、JPEG、GIF等
     * @param destImageFile 目标图像地址
     */
    public final static void convert(String srcImageFile, String formatName, String destImageFile) {
        try {
            File f = new File(srcImageFile);
            f.canRead();
            f.canWrite();
            BufferedImage src = ImageIO.read(f);
            ImageIO.write(src, formatName, new File(destImageFile));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 彩色转为黑白
     * @param srcImageFile 源图像地址
     * @param destImageFile 目标图像地址
     */
    public final static void gray(String srcImageFile, String destImageFile) {
        try {
            BufferedImage src = ImageIO.read(new File(srcImageFile));
            ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_GRAY);
            ColorConvertOp op = new ColorConvertOp(cs, null);
            src = op.filter(src, null);
            ImageIO.write(src, "JPEG", new File(destImageFile));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    /**
     * 给图片添加文字水印
     * @param pressText 水印文字
     * @param srcImageFile 源图像地址
     * @param destImageFile 目标图像地址
     * @param fontName 水印的字体名称
     * @param fontStyle 水印的字体样式
     * @param color 水印的字体颜色
     * @param fontSize 水印的字体大小
     * @param x 修正值
     * @param y 修正值
     * @param alpha 透明度：alpha 必须是范围 [0.0, 1.0] 之内（包含边界值）的一个浮点数字
     */
    public final static void pressText(String pressText,
            String srcImageFile, String destImageFile, String fontName,
            int fontStyle, Color color, int fontSize,int x,
            int y, float alpha) {
        try {
            File img = new File(srcImageFile);
            Image src = ImageIO.read(img);
            int width = src.getWidth(null);
            int height = src.getHeight(null);
            BufferedImage image = new BufferedImage(width, height,
                    BufferedImage.TYPE_INT_RGB);
            Graphics2D g = image.createGraphics();
            g.drawImage(src, 0, 0, width, height, null);
            g.setColor(color);
            g.setFont(new Font(fontName, fontStyle, fontSize));
            g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_ATOP,
                    alpha));
            // 在指定坐标绘制水印文字
            g.drawString(pressText, (width - (getLength(pressText) * fontSize))
                    / 2 + x, (height - fontSize) / 2 + y);
            g.dispose();
            ImageIO.write((BufferedImage) image, "JPEG", new File(destImageFile));// 输出到文件流
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 给图片添加文字水印
     * @param pressText 水印文字
     * @param srcImageFile 源图像地址
     * @param destImageFile 目标图像地址
     * @param fontName 字体名称
     * @param fontStyle 字体样式
     * @param color 字体颜色
     * @param fontSize 字体大小
     * @param x 修正值
     * @param y 修正值
     * @param alpha 透明度：alpha 必须是范围 [0.0, 1.0] 之内（包含边界值）的一个浮点数字
     */
    public final static void pressText2(String pressText, String srcImageFile,String destImageFile,
            String fontName, int fontStyle, Color color, int fontSize, int x,
            int y, float alpha) {
        try {
            File img = new File(srcImageFile);
            Image src = ImageIO.read(img);
            int width = src.getWidth(null);
            int height = src.getHeight(null);
            BufferedImage image = new BufferedImage(width, height,
                    BufferedImage.TYPE_INT_RGB);
            Graphics2D g = image.createGraphics();
            g.drawImage(src, 0, 0, width, height, null);
            g.setColor(color);
            g.setFont(new Font(fontName, fontStyle, fontSize));
            g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_ATOP,
                    alpha));
            // 在指定坐标绘制水印文字
            g.drawString(pressText, (width - (getLength(pressText) * fontSize))
                    / 2 + x, (height - fontSize) / 2 + y);
            g.dispose();
            ImageIO.write((BufferedImage) image, "JPEG", new File(destImageFile));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 给图片添加图片水印
     * @param pressImg 水印图片
     * @param srcImageFile 源图像地址
     * @param destImageFile 目标图像地址
     * @param x 修正值。 默认在中间
     * @param y 修正值。 默认在中间
     * @param alpha 透明度：alpha 必须是范围 [0.0, 1.0] 之内（包含边界值）的一个浮点数字
     */
    public final static void pressImage(String pressImg, String srcImageFile,String destImageFile,
            int x, int y, float alpha) {
        try {
            File img = new File(srcImageFile);
            Image src = ImageIO.read(img);
            int wideth = src.getWidth(null);
            int height = src.getHeight(null);
            BufferedImage image = new BufferedImage(wideth, height,
                    BufferedImage.TYPE_INT_RGB);
            Graphics2D g = image.createGraphics();
            g.drawImage(src, 0, 0, wideth, height, null);
            // 水印文件
            Image src_biao = ImageIO.read(new File(pressImg));
            int wideth_biao = src_biao.getWidth(null);
            int height_biao = src_biao.getHeight(null);
            g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_ATOP,
                    alpha));
            g.drawImage(src_biao, (wideth - wideth_biao) / 2,
                    (height - height_biao) / 2, wideth_biao, height_biao, null);
            // 水印文件结束
            g.dispose();
            ImageIO.write((BufferedImage) image,  "JPEG", new File(destImageFile));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    /**
     * 计算text的长度（一个中文算两个字符）
     * @param text
     * @return
     */
    public final static int getLength(String text) {
        int length = 0;
        for (int i = 0; i < text.length(); i++) {
            if (new String(text.charAt(i) + "").getBytes().length > 1) {
                length += 2;
            } else {
                length += 1;
            }
        }
        return length / 2;
    }
}


There is a much easier way to assign all of these parameters. Put a private method in your controller called wiki_params. It should look like this:

```
def wiki_params
  params.require(:wiki).permit(:title, :body, :private)
end
```

Then, you can replace lines 48-50 with:

```
@wiki.assign_attributes(wiki_params)
```

Similarly, you can replace lines 26-30 with:

```
@wiki = current_user.wikis.new(wiki_params)
```

This makes everything a lot more efficient, especially when you have long forms.


Stub 在命名上不要亂用


wozu das? :o


TeamCity MonoGame :: Develop (Win) [Build 3.5.0.1174](http://teamcity.monogame.net/viewLog.html?buildId=13661&buildTypeId=MonoGame_DevelopWin&guest=1) is now running


@StevenLeech Why is the SAAF framework duplicated into locationFinder/framework?

@CHAZICLE


There is actually a much simpler way to do this, if you are intent on using this method:

```
user.wikis.update_all(:private, false)
```

update_all will do the saving for you in one shot. You wouldn't need any of the other lines in this method.


I tried to add "dist/" to ```.git/info/exclude``` and it's not showing me any "dist" changes anymore now. I can't commit that since the whole point of ```exclude``` is to be able to have local-only ignored files.

Git took a while to "notice" that change so I'm not completely sure of the inner workings. But it seems to solve it.


Since you used an emum for your roles, you can simplify this slightly:

```
<% if current_user.premium? || current_user.admin? %>
```


i agree with @comedinha


Have you ensured that maximal length fits the window dimensions?


This is now API, it shouldn't be removed, even if we don't use it anymore.


I recently updated .dir-locals.el in the repo, which should make the above lines unnecessary, as it configures the above settings plus some more.


Nice code. Format is consistent, only a few things that could be refactored; maybe use switch statements and add sanity checks as mentioned.


Still not as good as async MySQL ;)


> Besides, would you terribly mind measuring before and after this patch? On the Git mailing list, the accepted method is to use best-of-5 measurements (it is actually technically not sound, but Good Enough (ntm)).

No, not at all. What is the prefered measuring method for this? `time ./t3903-stash.sh && time ./t3904-stash-patch.sh && time ./t3905-stash--include-untracked.sh && time ./t3906-stash-submodule.sh`? Should I provide measurements for Linux and Windows (same Hardware)?


Since this only removes empty genes and variants, I wouldn't call it "empty objects remover", since it sounds more generic than it is.


ad


asdsa


I'll improve also MySQL database thread soon :)
But now I must continue my OS in Assembly


Why not `public`?


I am not sure, but I suppose that you are referring to new instance of wiki controller? It has been made because I wanted to call method form another controller. This whole thing around Devise gem and Stripe gem and trying not to change anything in their controllers makes some things a little more difficult to solve.


Olá! Tá corrigido, não me lembro do que tinha feito, mas agora verifica pff
se já está bem.
Em 16/01/2016 6:47 da manhã, "Psaltério" <notifications@github.com>
escreveu:

> Ola @neburpedrosa <https://github.com/neburpedrosa> porque mudaste o A
> para Em na linha 28 e 55?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/psalterio/repository/commit/82d58a579f37292acc8052d1d717b837e28e45c6#commitcomment-15488651>
> .
>


@Josh-G  not sure, i think i might have accidentally done that when linking the app to the framework, i'll fix it soon


See also 6afabac.  This reverses some of the changes made by that and does it a better way - simply do not do ModelPlayerBaseGC.afterRender() if Smart Render is installed, as that renders in a different way.


1. So from an impartial point of view, is SpoilerRobotoTextView better or worse than ActiveTextView?

2. I didn't know Sync was open source??


Should be `71490`.


Yes, It is shorter. Cool..


good catch, I first meant to set the creators here, but then wanted the conditional. will fix.


ok looks ok i will merge


Just one thing I wanted to point out in case it went unnoticed: people might have scripted their tooling around `pootle start` (along with gunicorn or fcgi), and this might be a breaking change for them. We might want to be prominent and explicit with breaking changes in docs and version numbering (this motivated me to open #4396).


thx, I'll try...


coś dłuższego chyba


will fix