Теперь эта команда гадит, потому что `check_progress()` вызывается из `_move_snake()`, и` _move_snake()` доходит до конца. То есть раньше было относительно славное завершение: всё замирало на canvas, теперь при сборе всех яблок всё замирает, а при крушении змеи появляется сообщение, но на заднем окне змея ползёт


Amazing job！


А в чём была неожиданность разворота раньше?


Oh, yeah, of course. Especially since I marked it in the "Public" API. :disappointed:
Do you want `API.md` updated as well?


nice!


ack


Значит, нужно решать эту проблему. Но согласись, странно, когда игра заканчивается после одного этапа прохождения?


Yes, indeed it's strange. I already did some tests with debug messages. If statement seems to pass OK but as soon as you assign XposedApp.getActiveXposedVersion() to int variable, its value is -1.


awesome mapping


das „u.a.“ wurde bei mir automatisch hinzugefügt. aber jetzt funktioniert es.

Am 29.06.2015 um 15:46 schrieb Johannes <notifications@github.com>:

'andothers' fügt 'u.a.' hinzu

—
Reply to this email directly or view it on GitHub <https://github.com/giovannotti/biblatex-archaeologie/commit/f5b3540bd610b068291b8f69ea558650febd32ac#commitcomment-11910384>.


**[unitTests_php_branches run failed](http://qa-s2.wikia-prod:8080/job/unitTests_php_branches/17100/testReport/) for this commit**


Ok, then this might indeed be some kind of optimization. But not sure why it's working fine for me then, after all I'm using the same ART libraries...


For now, nothing supports this pattern, see https://kangax.github.io/compat-table/es6/#new.target.


@tchap I see. Well, I was missing the context here, you don't mention anywhere that this function is only called during release start (of course, now I remember that you list all the new stories there). In that case it should be fine but the check would be helpful anyway.


actually this breaks coverage submission on circle :)


Us -> U
realease -> release


Регулярка мутная. Лучше [\w_]+


nevermind, I see it.


TeamCity libpalaso :: palaso-precise64-master Continuous [Build 2.6.398.319ba4b496a43c3fa4108f3206b8461e5fdfd859](http://build.palaso.org/viewLog.html?buildId=58992&buildTypeId=bt322) outcome was **SUCCESS**
Summary: Tests passed: 3187, ignored: 112 Build time: 00:07:08


constants -> constant


No word from @hansjorg.

@AngryLawyer @bvssvni Any idea why the rust-ci.org is seeing 4bc7fa69d1d8 as the last commit? That was from Tue May 26. Would be good to sort it out so that the linked documentation is up to date.


According to the PHP docs, PDO::quote might not exist for all drivers (it gives the example of odbc), but we only allow PDO if the PDO mysql driver is present. It's possible that PDO mysql doesn't have quote(), but in that case, falling back to escape_string might not be the appropriate response. It might be a good idea to make method_exists() part of the PDO/mysqli selection sequence.

We'll look into this.


@tchap by the way, do I understand it correctly that if some project converts to SF from GF, you'll return 1000 commits for all of the history? Is that really a sane thing to do? Perhaps returning an empty scommit list and just informing the user that all of trunk will be taken is a better experience?


Это прячет проблему, но не решает её. То, что потерялся warning является следствием усложнения анализа кода, а не отсутствия ошибки. Ошибка же в том, что изначально кортеж не содержит значений, а потом предполагает, что используются два значения. Предложения были указаны в прошлых сообщениях


Addressed in 8d68c0dc43d4a0270d9f00e5d971a28774005740.


Maybe it has something to do with method being static?
Handling of kSuppressMethodInlining flag seems to be the same in ART for 5.1


Ok I updated my branch, shall I make a new pull request?


Weird. How did it not throw an error ?


This introduces a dependency on pyyaml, if that's ok. Is there a dependencies list I should update?


@mbernat This is a good point, I should limit it to the commits that happened after the SalsaFlow bootstrap timestamp.


@KrunchMuffin add to all URLs. squash all commits


@lucasdemarchi  I did what you said except for adding the parameter to `detect()`.  My rationale:

- The method `detect()` is called by the front-end, which "considers" a unique signature (namely, `detect(AP_InertialSensor &)`).
- Furthermore, IMO, we should not expose sensor specific characteristics to the front-end.

Once I have all other changes done and tested, I'll push the code.


Nowadays is not flexible change the Authentication Endpoint for email and password.
I added another parameter to $auth.login so in this way you can change the login url
anywhere in your application


pushed fix


Этот код никогда не вернёт `False`, потому что если длина змеи равна количеству клеток, яблоко невозможно разместить.


Different on almost every device
On Jun 20, 2015 1:26 PM, "RenderBroken" <notifications@github.com> wrote:

> Curious if such a thing like this could be used on other devices. Is this
> pretty generic? Thanks for all you do!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/flar2/m8-GPE-5.0.1/commit/0be5ede6eb2b0ccdce67a4a12a85cadeca1242d2#commitcomment-11780990>
> .
>


It seems that this commit introduced another critical bug:
```
CF num,rat;
S n1,x;
L F = num(n1)*num(1/2);
id num(x?) = rat(x,1);
P "%t";
ModuleOption PolyRatFun=rat;
P +s;
.end
```
somehow gives
```
 + rat(n1,1)
   F =
       + rat(n1,1)
      ;
```


Зачем тебе и рекурсия, и цикл в одном месте? Оставь только цикл.


Я нашла ошибку. Она *очень* глупая. Или я.
`if line[2] == ['CDS']:`


Странный код. Думаю, если пользователь вырастил змею, то нужно говорить, что он победил, и обрабатывать это соответственно


On a side note, I think we also have some inconsistency here:
https://github.com/rovo89/XposedInstaller/blob/art/src/de/robv/android/xposed/installer/util/ModuleUtil.java#L194
If should check for -1 or <= 0. Shouldn't it?


I ran across a problem where images in the body that are already in 'cid:name' format generate warnings because PHPMailer still attempts to auto-convert them to 'cid:name' format (and fails, because the file does not exist). Is this a useful fix to merge?


@KrunchMuffin

First squash this:
https://github.com/KrunchMuffin/CouchPotatoServer/commit/b540aefaf135c8e8365516a0a85b2132016b9bfb

https://github.com/KrunchMuffin/CouchPotatoServer/commit/07bb8d4d688342e57eaf2a0172f56e382ff9fd7a

https://github.com/KrunchMuffin/CouchPotatoServer/commit/61f0eeacf32f3552d523f27ed5bb75dc78adb041

delete this:
https://github.com/KrunchMuffin/CouchPotatoServer/commit/0e5be88db67142d40192083a0ad3303f6e4f8da5

and squash the result of the #1 squash with
https://github.com/KrunchMuffin/CouchPotatoServer/commit/86bbc87da97a59e782344e345de5457f29fc88e6


This should be done on any exception and not just KeyboardInterrupt ?


Сообщения тоже лучше вынести из этих методов, предоставив возможность внешнему коду решать то, как это отображать


:ok:


Would it make more sense to use TODO or does Visual Studio provide a way to view "DOCTODO" in the Task List?


It did when I tested it, but it seems that there is a path collision between the dev and master installations so that one gets to the master code also when trying to reach the dev version. I'd like to avoid changing names of files, but it maybe cannot be avoided. Anyway, thanks for pointing it out. I'll fix it somehow.


thanks for the feedback! One question: I'm using `puts "---..."` for logging - should I use the `Logger` ?


Good plan.


Кажется build надо заигнорить для гита


Not sure if this is useful for anyone, but it's a potentially handy side-effect (which we can avoid by lowercasing the keys we create in app.config if preferable). The server admin should still be the only person editing the YAML file, of course.


Попробуй на больших змейках разные развороты. Если по ощущениям всё нормально, то можешь и так оставить. Может быть нормальным и просто запрещать такое движение


indentation differs from in "Common properties:" line 50


I thought about it, but then decided it's not the time to internationalize the project when just 1 person is using it. I don't mind if you do it, of course :)


I think `puts` is sufficient since the gem is standalone (i.e. not living inside Rails or some other framework that has logging functionality).


В чём была проблема?


Lots of unused imports, use netbeans for crying out loud.


Я даже больше скажу, если пользователь ввёл больше яблок, чем площадь поля, ему никогда все не собрать, змея в любом случае разобьётся.

Просто ты предположил, что такое может быть, а я обработал


Equal or higher in rankING


I've made a (very simple) script for replacing sha1 with saha256 in the meantime. It won't work for sufficiently complex cases, like patches and probably doesn't handle many corner cases well. Maybe someone will find it useful anyway so here it is:

```shell
#!/usr/bin/env bash

# Usage: ./brew-rehash.sh formula-file.rb

if [[ $1 == *".rb" ]]; then
  formula=$1
else
  formula="$1.rb"
fi
echo "Rehashing $1"
url=$(cat $formula | grep -m1 "url ['\"]http" | sed "s/.* ['\"]//" | sed "s/['\"]$//")
wget $url -O- > /tmp/formula
if [ $? -ne 0 ]; then
  echo "Download of $1 failed from URL: $url"
fi
actual_sha1=$(shasum -a1 /tmp/formula | sed "s/ .*$//")
expected_sha1=$(cat $formula | grep -m1 sha1 | sed "s/.* ['\"']//" | sed "s/['\"]$//")
if [ "$actual_sha1" = "$expected_sha1" ]; then
  sha256=$(shasum -a256 /tmp/formula | sed "s/ .*$//")
  sed -i.bak "1,/sha1/s/sha1 [\"'].*[\"']/sha256 \"$sha256\"/" $formula
  rm *.bak
else
  echo "SHA-1 for formula $1 do not match; URL: $url"
fi
```
Also posted as gist [here](https://gist.github.com/raindev/694ec67994aad001d2d9).


@LPTK The other part fixed and works fine.
However, this one produces the given runtime error. Can you investigate the reason?


That looks really bad?


@tommystendahl lgtm but could you log the same information line 541? Thanks!


Again, formatting looks really bad.


Можно поставить проверку соответствия числа яблок площади поля.


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


any other exception is completely uncatched and needs debugging anyway.


We are planning sha256 all of checksum. See https://github.com/Homebrew/homebrew/issues/40877 for more detail.


I set the default to 'False' here (not strictly necessary, argparse will return 'None' if the default isn't specified) so we can detect whether somebody's tried to set it on the command line. If it's not set in config OR the command line, the default is set below.

Perhaps there's a neater way to do that?


Sorry for the messy diff. The GitHub differ doesn't like that I changed all line endings to CRLF.


Yes, it "works". But it is still messy and prone to unintended errors.

Rather than adding tests which build on each other, I would much prefer that to see you reset the configuration at the start of each test.

I don't think that we should have to create the backup configuration in order to restore it.
The configurator already has a copy that isn't being affected. We should use that reference version as the basis for EVERY individual test. (even the first one). By that strategy, we can assure that we keep the tests independent of each other.


Actually it also can have auto mode that will try to convert only  if content type is application/json
now on call FetchValue over maps datatypes it  return "application/riak_map"  and attempt  co convert it fails.

Also need to handle this conversion, because it crash application,  but should call
```
 this._callback(err);
```
at line 161 in fetchvalue.js


Finished table with ccodes


oops D:


@ozlerhakan Perfect


:clap:


@hregis Can you describe the use case a bit more. What kind of data is that? Simply storing a simple UUID in the cookie to retrieve the related infos from the database is not enough?
(Can't be bothered to look at the multicompany source code right now…)


The bad behaviour is if the supplied model for scoring is exploratory and
therefore not sufficiently identified; confirmatory models are perfectly
fine. Scoring a test when the structure of the test is still unknown is
rather bad, and is subject to rotational problems (hence why fscores
accepts a rotate argument. Results can change dramatically by choosing
different rotations, and therefore the process of scoring is not
invariant). How can you safely rank order individuals when the test itself
is still subject to a great amount of identification uncertainty?

Phil

On Mon, Jun 29, 2015 at 6:26 AM, irshad001 <notifications@github.com> wrote:

> Hello Phil,
>
> In what sense is this (single response pattern as an input ) a bad
> behavior?
>
> Consider the scenario where one has calibrated whole items based on manyy
> response patterns (given by many examinees). However when estimating the
> ability if he/she is interested in knowing intermediate and final ability
> of only one student; in this case also it is a bad behavior? If yes why not
> in the case of one dimensional its not considered to be bad?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/philchalmers/mirt/commit/4068704a777c81b6d5fbfb16bec93f63efc39532#commitcomment-11907227>
> .
>


Так это тоже плохо, 99 яблок на поле из 100 клеток невозможно собрать


Should we replace pseudo-kwargs in `client/execute` with a regular map? Or support both, like Elastisch does? (it's pretty straightforward)


This looks untested. Is it meant to create the entities for the line items, or the line items themselves?


I'm not an expert at all in CSS/HTML, but does it break long titles composed of several words at the spaces or at any character (ugly ;-) ) ?


Great ideaQ


regular maps sound good


Ah gotcha - actually I fix it in a later change, but I didn't think of that for some reason. Thanks!


This commit fixes a typo in the [original spec](https://github.com/mysociety/alaveteli/commit/f71658e9223f954177a5cacb8c7ad43605c264cd#diff-6fc3696b6ce520d39252fe128cb00b4cR172).

The spec in question was calling `put :show` instead of `put :update`.


LGTM, but please wait for the owners to comment.


ack


What happens if the user isn't logged in?


What if there is no self.theme in theme file?


vytvareni elementu bych klidne vytahl do funkce. Tak jsme to delali treba u ReactButton.
Priklad:
function renderButton(options) {
    let button = renderIntoDocument(
        <Button {...options} />
    );

    let buttonElement = findRenderedDOMComponentWithTag(button, 'button');

    return { button, buttonElement };
}


Reviewed-by: Pascal Brand <pascal.brand@linaro.org>


Проблема была в том, что `if line[2] == ['CDS']`, а не `if line[2] == 'CDS'`.


Там всё более менее нормально, в худшем случае змея останавливается поспать, но при следующем нажатии ползёт куда надо


@tchap oh yeah, that makes sense too. Will you do it as a part of this story?


Why does this one repeat the dependencies in both places?


Vyuzit tu funkci, viz vyse


What stopping us from using this definition:
```scala
def apply[A, B](pf: PartialFunction[A, Task[B]]): Service[A, B] = {
  val lifted = pf.lift
  lift { a => Task.now(lifted(a)) }
}
```

Since `PartialFunction[A,Task[B]].lift` is `A => Option[Task[B]]` we just need to lift the `Option[Task[B]]` one more time into the `Task` monad.

Maybe you've tried this and it doesn't work... I've not actually tested it.


@andreasnoack, there's no ``B`` defined here


I would check `if !is_string($content) && is_callable($content);` Sending a php function name as content is perfectly valid


Same here


That was the initial commit done at the end of the day. Later i have modified the code at commit https://github.com/JMAConsulting/civicrm-core/commit/92653c5dbbffb5634c51b021dd1ff517c256cf8a


I had a relative path that went up unneccesarily far. Now it should work and you should see a difference between /livesim/ and /livesim-dev/


We should really be using prepared statements for any SQL that includes user-supplied values, to help avoid SQL injection attacks.  This is particularly important because its running as a web app.  I saw you're using prepared statements elsewhere for INSERTS, which is great.  Please use these for SELECTs as well.


Misread this on the first pass, thought you went with "plasma blaster". I don't think you meant "plasma castor", unless, you use plasma to move your wardrobe around?

From google search "define castor" - http://lmgtfy.com/?q=define+castor
>castor noun
1. each of a set of small swivelling wheels fixed to the legs or base of a heavy piece of furniture so that it can be moved easily.
2. a small container with holes in the top, especially one used for sprinkling sugar or pepper.


In the after build, I would have done this:

```ruby
FactoryGirl.create(:comment, user: user)
FactoryGirl.create(:post, user: user)
``

Then you don't need lines 10 and 9.


Then we may label the next release 3.0, as it has enough breaking changes to be too much for a minor release for some.


インデントがおかしいです


lol woops


Test utils jsme importovali na zacatku:
let {
    renderIntoDocument,
    findRenderedDOMComponentWithClass,
    scryRenderedDOMComponentsWithTag,
    findRenderedDOMComponentWithTag,
    Simulate: {
        click,
        doubleClick,
        blur,
        change,
        keyDown
    }
} = React.addons.TestUtils;


Ack.


No, again it just did work for a moment. Seems that mod_python is caching the modules somehow :-(


@mbernat Yup.


Да, я просто не сразу увидел, что добавился комментарий на прошлом коммите. Теперь всё отлично =)


**[unitTests_php_branches run failed](http://qa-s2.wikia-prod:8080/job/unitTests_php_branches/17102/testReport/) for this commit**


LGTM


no expect?


Perhaps add it to gitignore.


It would be a bit more efficient to typecast the index once to a string before the coding function is called (within selscan.py), so that the casting does not occur repeatedly for each call to the coding function as every value in the GenoRecord list is codes. This would also makes the argument types consistent for current_value and idx.


My build works now :)


this is invalid json


same here, string not escaped or even quoted


@Wackerbarth
Why should we put so much effort in this, when a maybe better system is showing up at the horizon?


Primeira página no gitHub


Можно много ещё чего добавить, даже закомментированные строки файла tk.py говорят об этом.
Но это всё, как видно из одного из предыдущих комментариев, занимает дикое количество времени


Please include a copyright statement for all license headers, so it looks like this:

~~~
/*
 * Copyright (C) 2015 Nipuna Gunathilake
 *
 * Licensed under...
~~~

On a related note, please include a LICENSE file in the root of the project that also includes the header - see https://github.com/OneBusAway/onebusaway-android/blob/master/LICENSE for an example.  Thanks!


Поменял regex


Проверил, возможно. Создал линейное поле и задал на одно яблоко меньше.


"Debugger target information" instead of "backend information"


it's not listing, it's displaying or showing


My bad for not searching for it before :expressionless: Thanks for pointing out. That's a good idea to change hashes all at once.


Yeah, that's a bit of a pain point right now, but I haven't figured out a good way to get around it except to provide a multitude of `to_X() -> Result<X>` functions.


Looks like this introduces a new dependency.  'git grep xmlstartlet' does not show it being used anywhere else.

You'll likely need to update the ceph dependency list.


Actually, in this context this is fine because I end up returning `valueDeclaration` anyway.


Ок, в любом случае, всё довольно неплохо. Сделай так, чтобы последний коммит содержал качественную версию и я выставлю оценку.


Я, видимо, плохо понимаю после суток змеи. Зачем мы это делаем?
Пользователь не задаёт число яблок


_break-all_ is breaking the word at any character. I am agree with you, that's not the sexiest fix.
Now the sidebar's width allows 16 characters. If it's too short we still can increase the width's size.


Не тот ты поменял, я про первый


Может, ты просто знаешь команду, чтобы убить все `after`?


I'll accept that viewpoint. -- Provided that we agree to make some major improvements SOON.


:+1: :D


reack


Nice addition! If you add, say, 3 dashes between posts it makes for a nice visual separation on the main page. Like this:

    {{ if eq .Site.Params.truncate false }}
    {{ .Content }}
    ---
    {{ else }}

There may be a smarter way to do that, of course.


Well, I was wrong about it not being used anywhere else.  I had a typo (*startlet* instead of the correct **starlet**).

Carry on. Nothing to see here.


@k-okada
You seemsed to comment on my repository.... Is it right?


accidentally pulled form other machine forgotting --rebase.


this weekend I was looking at this script... for now it's ok, but IMO it's a horrible way to update dependencies. We shouldn't need to update a helper script in order to update dependencies, check decls, etc.


The targeted monster's position changes, but when it's flipped from face-down defense position to face-up attack position it cannot attack, also, when another monster attacks the targeted monster, DEF points are applied for damage calculation instead of ATK points.

I'm using this instead and it's working :

if tc:IsRelateToEffect(e) then
		Duel.ChangePosition(tc,POS_FACEUP_DEFENCE,POS_FACEUP_ATTACK,POS_FACEUP_ATTACK,POS_FACEUP_ATTACK)
	else
		Duel.ChangePosition(tc,POS_FACEUP_DEFENCE,POS_FACEUP_ATTACK,POS_FACEUP_ATTACK,POS_FACEUP_ATTACK,true)
	end


Arduino Workshop, NTU, Nottingham, April 2015.


Ну это пока. Не считать же, что ты написал игру про то, как змея собирает 5 яблок на поле 10 на 10 с шагом в одну четверть секунды? Это не обязательно делать в следующем коммите (и для курса), но просто важно понимать и обрабатывать крайние случаи, которые возникают при разработке программ. Задание количества яблок, как по мне, является одним из первых пожеланий при использовании. Собирать 5 яблок быстро наскучивает =)

Ну и тем более, что ты таки задаёшь количество яблок.


I think I see where you were going with this now: you don't want to evaluate ```pf.apply``` at all until the end, which is probably a good idea. We currently don't have that behavior. My example above would continue the current, possibly incorrect, behavior.


Comment your code


I now changed the name of the module for dev, and there seems to be no interference any longer. Before I got the dev version one out 5 times (Visible in the HTTP header DASH-Live-Source-Simulator).


Или команду, завершающую функцию, из которой выполнялась функция.
Не `return`


Нет, без поиска сам не знаю


This looks fine. Please add unit tests covering the different branches.


ack


I have one comment: should we check the key size also when not initialized?


also add
using System.Globalization;


sowwy

I will do so tonight (probably)


@royalharsh

The output I need is JSONP, basically this is an example of how to output JSONP with PHP (Having in mind Cross Domain AJAX calls), so copy and paste it just changing the parameters uin the array

$array = array("guid" => "Hello World");

if (isset($_GET["callback"])){
    echo $_GET["callback"] . '(' . json_encode($array) . ')';
} else{
    echo json_encode($array);
}


It has some problems:

./src/lib/common/sol-log-impl-linux.c: In function ‘sol_log_print_function_journal’:
./src/lib/common/sol-log-impl-linux.c:640:21: warning: extra tokens at end of #ifdef directive
 #ifdef HAVE_SYSTEMD && HAVE_SYSTEMD_JOURNAL
                     ^
./src/lib/common/sol-log-impl-linux.c:658:5: warning: implicit declaration of function ‘sd_journal_send_with_location’ [-Wimplicit-function-declaration]
     sd_journal_send_with_location(code_file, code_line, function,


remove blank space


True. Can we wait until I finish integration with new Query API? I'm done with travelling on Saturday, and can start finalizing it.


Hi Takahiro,

And some more that is similar and happens in poly_ratfun_normalize.
I am not sure yet what happens exactly. I am working on t.

Jos

> On 29 jun. 2015, at 15:59, Takahiro Ueda <notifications@github.com> wrote:
>
> It seems that this commit introduced another critical bug:
>
> CF num,rat;
> S n1,x;
> L F = num(n1)*num(1/2);
> id num(x?) = rat(x,1);
> P "%t";
> ModuleOption PolyRatFun=rat;
> P +s;
> .end
> somehow gives
>
>  + rat(n1,1)
>    F =
>        + rat(n1,1)
>       ;
> —
> Reply to this email directly or view it on GitHub <https://github.com/vermaseren/form/commit/a795a9c315dc75d1f5ca0f380becba8e2259d774#commitcomment-11910685>.
>


why is this optional? It doesn't seem we're affording it to be optional (nor do I think we could).


HINTMSG_POSCHANGE and not HINTMSG_DESTROY


Посмотри всё-таки закомментенные строчки tk.py.
Я пытался сделать выбор трёх уровней (Easy, Med, Hard) и там изменять число яблок и скорость (value = [100, 25]


% This program simulates and analyzes linear circuits.
% Equation formulation is done using Modified Nodal
% Analysis (MNA). This program supports following analyses:
%     * Time Domain Analysis
%     * Frequency Domain Analysis
%     * Sensitivity Analysis
% Following user made functions are called from this program:
%     * function [Tmod,row,col] = lud(T)
%     * function Xmod = fbs(Tmod,W,row,col,t_flag)

% Ask user name of the circuit file to analyze
circuit = input('\n Please enter the input file name:  ','s');

% Load the circuit file
T = load(circuit);

fprintf('\n Simulating the circuit file %s , please wait ... \n',circuit);

flops = 0;

% Number of rows in the input matrix T
l = size(T,1);

% Count the number of elements ('m') until end of the
% circuit description i.e. '-1' is reached
for i = 1:l
    if T(i,1) < 0
       m = (i-1);
    end
end

% Initialize the number of nodes
n = 1;

% Find out the number of nodes ('n') in the circuit
% by searching for the the largest number in columns 2 to 5
for i = 1:m
    for j = 2:5
        if T(i,j) > n
           n = T(i,j);
        end
    end
end

% Initialize the number of extra variables needed
p = 0;

% Find out the number of extra variables ('p') needed
% for the MNA formulation
for i = 1:m
    switch T(i,1)

      % If it's a short circuit (zero resistance), for MNA
      % one extra variable is needed.
      case 1, if (T(i,6) == 0)
                 p = p+1;
              end
      case {2, 5, 6, 9, 10}, p = p+1;

      % Two extra variables needed for CVT
      case 8, p = p+2;
    end
end

% Initialize all the matrices with zero elements
G = zeros(n+p, n+p);
C = zeros(n+p, n+p);
W = zeros(n+p, 1);

% Partial Derivative of Matrices G and C with respect to
% m'th element (for Sensitivity Analysis)
DG   = zeros(n+p,n+p,m);
DC   = zeros(n+p,n+p,m);

% Variable 'q' denotes extra row and column wherever needed
% in the formulation to eliminate frequency from the denominator
q = n+1;

% Analyze the elements by scanning rows
for i = 1:m

    % Find out the type of element by evaluating entry in first column
    switch T(i,1)

      % Resistor (R)
      case 1,

           % Both terminals of resistor are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal resistor is entered, please check the input file.')
           end

           % Short circuit (zero resistance)
           if ((T(i,6) == 0)&(T(i,3) == 0))
                   G(q,T(i,2)) = G(q,T(i,2)) + 1;
                   G(T(i,2),q) = G(T(i,2),q) + 1;
           elseif ((T(i,6) == 0)&(T(i,2) == 0))
                   G(q,T(i,3)) = G(q,T(i,3)) - 1;
                   G(T(i,3),q) = G(T(i,3),q) - 1;
           elseif (T(i,6) == 0)
                   G(q,T(i,2)) = G(q,T(i,2)) + 1;
                   G(q,T(i,3)) = G(q,T(i,3)) - 1;
                   G(T(i,2),q) = G(T(i,2),q) + 1;
                   G(T(i,3),q) = G(T(i,3),q) - 1;
           end
           if (T(i,6) == 0)
              G(q,q) = G(q,q) - T(i,6);
              DG(q,q,i) = -1;
              q = q+1;
           end

           % Conductance (G) = 1 / Resistance(R)
           if ((T(i,6) ~= 0)&(T(i,3) == 0))
                   G(T(i,2),T(i,2)) = G(T(i,2),T(i,2)) + (1/T(i,6));
                   DG(T(i,2),T(i,2),i) = 1;
           elseif ((T(i,6) ~= 0)&(T(i,2) == 0))
                   G(T(i,3),T(i,3)) = G(T(i,3),T(i,3)) + (1/T(i,6));
                   DG(T(i,3),T(i,3),i) = 1;
           elseif (T(i,6) ~= 0)
                   G(T(i,2),T(i,2)) = G(T(i,2),T(i,2)) + (1/T(i,6));
                   G(T(i,3),T(i,3)) = G(T(i,3),T(i,3)) + (1/T(i,6));
                   G(T(i,2),T(i,3)) = G(T(i,2),T(i,3)) - (1/T(i,6));
                   G(T(i,3),T(i,2)) = G(T(i,3),T(i,2)) - (1/T(i,6));
                   DG(T(i,2),T(i,2),i) = 1;
                   DG(T(i,3),T(i,3),i) = 1;
                   DG(T(i,2),T(i,3),i) = -1;
                   DG(T(i,3),T(i,2),i) = -1;
           end

      % Inductor (L)
      case 2,

           % Both terminals of inductor are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal inductor is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               C(q,T(i,2)) = C(q,T(i,2)) + 1;
               C(T(i,2),q) = C(T(i,2),q) + 1;
           elseif (T(i,2) == 0)
               C(q,T(i,3)) = C(q,T(i,3)) - 1;
               C(T(i,3),q) = C(T(i,3),q) - 1;
           else
               C(q,T(i,2)) = C(q,T(i,2)) + 1;
               C(q,T(i,3)) = C(q,T(i,3)) - 1;
               C(T(i,2),q) = C(T(i,2),q) + 1;
               C(T(i,3),q) = C(T(i,3),q) - 1;
           end
           C(q,q) = C(q,q) - T(i,6);
           DC(q,q,i) = -1;
           q = q+1;

      % Capacitor (C)
      case 3,

           % Both terminals of capacitor are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal capacitor is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               C(T(i,2),T(i,2)) = C(T(i,2),T(i,2)) + T(i,6);
               DC(T(i,2),T(i,2),i) = 1;
           elseif (T(i,2) == 0)
               C(T(i,3),T(i,3)) = C(T(i,3),T(i,3)) + T(i,6);
               DC(T(i,3),T(i,3),i) = 1;
           else
               C(T(i,2),T(i,2)) = C(T(i,2),T(i,2)) + T(i,6);
               C(T(i,3),T(i,3)) = C(T(i,3),T(i,3)) + T(i,6);
               C(T(i,2),T(i,3)) = C(T(i,2),T(i,3)) - T(i,6);
               C(T(i,3),T(i,2)) = C(T(i,3),T(i,2)) - T(i,6);
               DC(T(i,2),T(i,2),i) = 1;
               DC(T(i,3),T(i,3),i) = 1;
               DC(T(i,2),T(i,3),i) = -1;
               DC(T(i,3),T(i,2),i) = -1;
           end

      % Independent Current Source (J)
      case 4,

           % Both terminals of independent current source are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal current source is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               W(T(i,2),1) = W(T(i,2),1) - T(i,6);
           elseif (T(i,2) == 0)
               W(T(i,3),1) = W(T(i,3),1) + T(i,6);
           else
               W(T(i,2),1) = W(T(i,2),1) - T(i,6);
               W(T(i,3),1) = W(T(i,3),1) + T(i,6);
           end

      % Independent Voltage Source (E)
      case 5,

           % Both terminals of independent voltage source are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR:E Illegal voltage source is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               G(q,T(i,2)) = G(q,T(i,2)) + 1;
               G(T(i,2),q) = G(T(i,2),q) + 1;
           elseif (T(i,2) == 0)
               G(q,T(i,3)) = G(q,T(i,3)) - 1;
               G(T(i,3),q) = G(T(i,3),q) - 1;
           else
               G(q,T(i,2)) = G(q,T(i,2)) + 1;
               G(q,T(i,3)) = G(q,T(i,3)) - 1;
               G(T(i,2),q) = G(T(i,2),q) + 1;
               G(T(i,3),q) = G(T(i,3),q) - 1;
           end
           W(q,1) = W(q,1) + T(i,6);
           q = q+1;

	  % Voltage to Current Transducer (VCT)
	  case 7,
	       % Both terminals of any port of VCT are grounded
		   if ((T(i,3) == 0) & (T(i,2) == 0)) | ((T(i,5) == 0) & (T(i,4) ==0))
		       error('Error: Illegal VCT is entered, please check the input file.')
		   end
		   if (T(i,3) == 0) & (T(i,5) == 0)
		       G(T(i,4),T(i,2)) = G(T(i,4),T(i,2)) + T(i,6);
			   DG(T(i,4),T(i,2), i) =1;
		   elseif (T(i,3) == 0) & (T(i,4) == 0)
		       G(T(i,5),T(i,2)) = G(T(i,5),T(i,2)) - T(i,6);
			   DG(T(i,5),T(i,2), i) = -1;
		   elseif (T(i,2) == 0) & (T(i,5) == 0)
			   G(T(i,4),T(i,3)) = G(T(i,4),T(i,3)) - T(i,6);
			   DG(T(i,4),T(i,3), i) = -1;
		   elseif (T(i,2) == 0) & (T(i,4) == 0)
			   G(T(i,5),T(i,3)) = G(T(i,5),T(i,3)) + T(i,6);
			   DG(T(i,5),T(i,3), i) = 1;
		   else
		       G(T(i,4),T(i,2)) = G(T(i,4),T(i,2)) + T(i,6);
			   G(T(i,5),T(i,3)) = G(T(i,5),T(i,3)) + T(i,6);
			   G(T(i,4),T(i,3)) = G(T(i,4),T(i,3)) - T(i,6);
			   G(T(i,5),T(i,2)) = G(T(i,5),T(i,2)) - T(i,6);
			   DG(T(i,4),T(i,2),i) = 1;
			   DG(T(i,5),T(i,3),i) = 1;
			   DG(T(i,4),T(i,3),i) = -1;
			   DG(T(i,5),T(i,2),i) = -1;
		   end

		   % MOSFET
	  case 11,
	       % Both terminals of any port of VCT are grounded
		   if ((T(i,3) == 0) & (T(i,2) == 0)) | ((T(i,5) == 0) & (T(i,4) ==0))
		       error('Error: Illegal VCT is entered, please check the input file.')
		   end
		   if (T(i,3) == 0) & (T(i,5) == 0)
		       G(T(i,4),T(i,2)) = G(T(i,4),T(i,2)) + T(i,6);
			   DG(T(i,4),T(i,2), i) =1;
		   elseif (T(i,3) == 0) & (T(i,4) == 0)
		       G(T(i,5),T(i,2)) = G(T(i,5),T(i,2)) - T(i,6);
			   DG(T(i,5),T(i,2), i) = -1;
		   elseif (T(i,2) == 0) & (T(i,5) == 0)
			   G(T(i,4),T(i,3)) = G(T(i,4),T(i,3)) - T(i,6);
			   DG(T(i,4),T(i,3), i) = -1;
		   elseif (T(i,2) == 0) & (T(i,4) == 0)
			   G(T(i,5),T(i,3)) = G(T(i,5),T(i,3)) + T(i,6);
			   DG(T(i,5),T(i,3), i) = 1;
		   else
		       G(T(i,4),T(i,2)) = G(T(i,4),T(i,2)) + T(i,6);
			   G(T(i,5),T(i,3)) = G(T(i,5),T(i,3)) + T(i,6);
			   G(T(i,4),T(i,3)) = G(T(i,4),T(i,3)) - T(i,6);
			   G(T(i,5),T(i,2)) = G(T(i,5),T(i,2)) - T(i,6);
			   DG(T(i,4),T(i,2),i) = 1;
			   DG(T(i,5),T(i,3),i) = 1;
			   DG(T(i,4),T(i,3),i) = -1;
			   DG(T(i,5),T(i,2),i) = -1;
		   end

      otherwise,
           disp('ERROR: Illegal element is entered, please check the input file.')
    end
end

disp(['No. of floating point operations in Equation Formulation (MNA) = ' num2str(flops)]);

% Initialize row and column vectors for LU decomposition
row(1:n) = 1:n;
col(1:n) = 1:n;

% Analyze the given circuit according to the specifications given
% in the user entered file
for i = (m+2):l
    switch T(i,1)

      % Time Domain Analysis
      case 1,

           % Reset the floating point operation count to zero
           flops = 0;

           % For linear circuits the Backward Euler simplifies to:
           % (G + C/h)*V(t+h) = W(T+h) + (C/h)*V(t)
           Tm = G + ((1/T(i,3))*C);

           % LU decomposition
           [Tm, row, col] = lud(Tm);

           % Number of steps in Time Domain Analysis
           r = round((T(i,4) - T(i,2))/T(i,3));

           % Initialize 'V' which stores values of all the
           % variables at all (r+1) time instants
           V = zeros(n+p,r+1);

           % Same LU decomposition is used to solve the system at
           % every time instant as the LHS remains unchanged
           % (constant time step)
           for k = 1:r

               % RHS changes at every time instant
               Wm = W + ((1/T(i,3))*C*V(:,k));

               % Forward-Backward substitution for every time instant
               V(:,k+1) = fbs(Tm,Wm,row,col,0);
           end

           % Initialize the time (on X-axis)
           X = 1:r+1;
           X = T(i,2) + T(i,3)*X;
           X = X';
           figure;
           plot(X,V(T(i,5),:));
           title(['Time Domain Analysis of Voltage at node ' num2str(T(i,5))]);
           xlabel('Time (s)');
           ylabel('Amplitude (V)');
           disp(['No. of floating point operations in Time Domain Analysis = ' num2str(flops)]);

      % Frequency Domain Analysis
      case 2,

           % Reset the floating point operation count to zero
           flops = 0;

           % Number of steps in frequency domain
           r = round((T(i,4) - T(i,2))/T(i,3));

           % Initialize 'Y' which stores values of all the
           % variables at all (r+1) frequency points
           Y = zeros(n+p,r+1);
           for k = 0:r
               Tm = G + j*2.0*pi*(T(i,2) + k*T(i,3))*C;

               % LU decomposition
               [Tm, row, col] = lud(Tm);

               % Forward-Backward substitution
               Y(:,k+1) = fbs(Tm,W,row,col,0);

               % Magnitude of the complex values
               Y(:,k+1) = abs(Y(:,k+1));
           end

           % Initialize the frequency (on X-axis)
           X = 1:r+1;
           X = T(i,2) + T(i,3)*X;
           X = X';
           figure;
           plot(X,Y(T(i,5),:));
           title(['Frequency Domain Analysis of Voltage at node ' num2str(T(i,5))]);
           xlabel('Frequency (Hz)');
           ylabel('Amplitude (V)');
           disp(['No. of floating point operations in Frequency Domain Analysis = ' num2str(flops)]);

      % Sensitivity Analysis by adjoint method
      case 3,

           % Reset the floating point operation count to zero
           flops = 0;

           % Initialize the 'd' vector for adjoint method
           D = zeros(n+p,1);

           % Sensitivity of one node voltage
           if (T(i,6) == 0)
              D(T(i,5)) = 1;
           elseif (T(i,5) == 0)
              D(T(i,6)) = -1;

           % Sensitivity of the difference between two voltages
           else
             D(T(i,5)) = 1;
             D(T(i,6)) = -1;
           end
           D = -D;

           % Number of frequency steps
           r = round((T(i,4) - T(i,2))/T(i,3));

           % Initialize the matrix 'S' to store the un-normalized
           % sensitivity w.r.t. all the 'm' elements at all 'r+1'
           % frequency points
           S = zeros(m,r+1);

           % Initialize the vector of node voltages and extra variables
           X = zeros(n+p,1);

           % Initialize the vector of unknowns in adjoint method
           Xa = zeros(n+p,1);
           for k = 0:r
               Tm = G + j*2.0*pi*(T(i,2) + k*T(i,3))*C;

               % LU decomposition
               [Tm, row, col] = lud(Tm);

               % Normal Forward-Backward Substitution
               X = fbs(Tm,W,row,col,0);
               Tm = Tm';
               % Forward-Backward Substitution with transpose system
               Xa = fbs(Tm,D,row,col,1);
               Xa = Xa';
               for l = 1:m
                   S(l,k+1) = Xa*(DG(:,:,l) + j*2.0*pi*(T(i,2) + k*T(i,3))*DC(:,:,l))*X;
               end
           end

           % Initialize the frequency (on X-axis)
           X = 1:r+1;
           X = T(i,2) + T(i,3)*X;
           X = X';

           % Plot the un-normalized sensitivities w.r.t. all the
           % nodes in different colors and styles
%           Sc = ['m' 'c' 'r' 'g' 'b' 'k'];
%           Ss = ['-' ':' '-.' '--'];
%           for j = 1:m
%               if (j < 7)
%                  figure;
%                  plot(X,S(j,:),strcat(Sc(j),Ss(1)));
%                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') %%w.r.t. element ' num2str(j)]);
%                  xlabel('Frequency (Hz)');
%                  ylabel('Sensitivity');
%               elseif (j < 13)
%                  figure;
%                  plot(X,S(j,:),strcat(Sc(j-6),Ss(2)));
%                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') %%w.r.t. element ' num2str(j)]);
%                  xlabel('Frequency (Hz)');
%                 ylabel('Sensitivity');
%               elseif (j < 19)
%                  figure;
%                  plot(X,S(j,:),strcat(Sc(j-12),Ss(3)));
%                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') %%w.r.t. element ' num2str(j)]);
%                  xlabel('Frequency (Hz)');
%                  ylabel('Sensitivity');
%               elseif (j < 25)
%                  figure;
%                  plot(X,S(j,:),strcat(Sc(j-18),Ss(4)));
%                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') %%w.r.t. element ' num2str(j)]);
%                  xlabel('Frequency (Hz)');
%                  ylabel('Sensitivity');
%               else
%                  figure;
%                  plot(X,S(j,:));
%                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') %%w.r.t. element ' num2str(j)]);
%                  xlabel('Frequency (Hz)');
%                  ylabel('Sensitivity');
%               end
%          end;
%           disp(['No. of floating point operations in Sensitivity Analysis = ' num2str(flops)]);
%    end
%end

fprintf('\n Simulation of circuit file %s is completed \n\n',circuit);

next = lower(input('\n Do you want to simulate another circuit file?   [y/n]: \n','s'));
if (next == 'y')
   simulate;
else
   disp('Thanks for using Nitin"s circuit simulator...Have a good day !!! ');
end


I presume there wasn't an existing test that broke because of the addition of Belgium in this commit? Would it make sense to add a test here?


BTW do you mind doing another 2.0.x release with an updated driver dependency? 2.0.1 uses driver v2.1.3, which has its issues. I can prepare everything for that today probably.


This does indeed fix the issue, at least the behaviour.

I don't see yet how everything works together here (have only started to use Atom and don't have serious experience with the used technologies), but it seems to be a cure and not a workaround. So I suggest merging this @defunkt.


Conditional overly complicated.  Try:
```php
if (!empty($address->getStreet1())) {
```


@alexkalmuk Please review this change, is it ok to delete p_fragmented_support=0?


Kannst du mir erklären, warum du die Bilder lieber nach files/qr-codes/ und nicht assets/images/


cancancan のドキュメントをざっと見てみました。
ユーザーの権限チェックを Ability に集約できるのがメリットですね。


Minor comment. Your commit comment mentions "ss_affirmation_outcome" but the outcome is named "outcome_ss_affirmation".


Creating clouddataobject.github.io - no need for CDO content


I think "in favor" is two words, even in canadian english?


I understand. As a suggestion, maybe

word-wrap: break-word;
overflow-wrap: break-word;

instead could help. But, you're the boss ;-)


oops, actually it reverts e626fcda


I don't see any changes to clients of foldr based on this change.  It seems like there's at least one in `desugar-check.arr` (but this doesn't seem to cause an error there, so I'm doubly confused).  Is there a commit where existing calls to foldr were changed, or were there none to find?


% This program simulates and analyzes linear circuits.
% Equation formulation is done using Modified Nodal
% Analysis (MNA). This program supports following analyses:
%     * Time Domain Analysis
%     * Frequency Domain Analysis
%     * Sensitivity Analysis
% Following user made functions are called from this program:
%     * function [Tmod,row,col] = lud(T)
%     * function Xmod = fbs(Tmod,W,row,col,t_flag)

% read the txt file and save the data as strings
% preassign s to some large cell array
s = cell(10000,1);
sizS = 10000;
lineCt = 1;

% Ask user name of the circuit file to analyze
circuit = input('\n Please enter the input file name: ','s');

fid = fopen(circuit);
tline = fgetl(fid);
while ischar(tline)
   s{lineCt} = tline;
   lineCt = lineCt + 1;
   % grow s if necessary
   if lineCt > sizS
       s = [s;cell(10000,1)];
       sizS = sizS + 10000;
   end
   tline = fgetl(fid);
end
% remove empty entries in s
s(lineCt:end) = [];

% convert strings to numbers
max_row = length(s);
l = 1;
flag = 0; % check weather the string contains the '=' or not
while(l ~= max_row+1)
   if mod(l,2) == 0 % the even rows save the circuit data
      i = 1;
      a = s{l,1};
	  t=1;
          while(strcmp(t,'-2') ~= 1) % -2 : end of string
          [t, r] = strtok(a);
          a = r;
          t_len = length(t);
             for (k = 1:1:t_len)
                if (t(k) == '=')
                    [t2, r2] = strtok(t, '=');
                    t3 = strtok(r2, '=');
                    T(l/2,i) = str2num(t3);
					i = i + 1;
					flag = 1;
                end
             end
		     if (flag == 0)
		         T(l/2,i) = str2num(t);
                 i = i + 1;
		     end
			 flag = 0;
          end
   end
   l = l + 1;
end

fprintf('\n Simulating the circuit file %s , please wait ... \n',circuit);

flops = 0;

% Number of rows in the input matrix T
l = size(T,1);

% Count the number of elements ('m') until end of the
% circuit description i.e. '-1' is reached
for i = 1:l
    if T(i,1) < 0
       m = (i-1);
    end
end

% Initialize the number of nodes
n = 1;

% Find out the number of nodes ('n') in the circuit
% by searching for the the largest number in columns 2 to 5
for i = 1:m
    for j = 2:5
        if T(i,j) > n
           n = T(i,j);
        end
    end
end

% Initialize the number of extra variables needed
p = 0;

% Find out the number of extra variables ('p') needed
% for the MNA formulation
for i = 1:m
    switch T(i,1)

      % If it's a short circuit (zero resistance), for MNA
      % one extra variable is needed.
      case 1, if (T(i,6) == 0)
                 p = p+1;
              end
      case {2, 5, 6, 9, 10}, p = p+1;

      % Two extra variables needed for CVT
      case 8, p = p+2;
    end
end

% Initialize all the matrices with zero elements
G = zeros(n+p, n+p);
C = zeros(n+p, n+p);
W = zeros(n+p, 1);

% Partial Derivative of Matrices G and C with respect to
% m'th element (for Sensitivity Analysis)
DG   = zeros(n+p,n+p,m);
DC   = zeros(n+p,n+p,m);

% Variable 'q' denotes extra row and column wherever needed
% in the formulation to eliminate frequency from the denominator
q = n+1;

% Analyze the elements by scanning rows
for i = 1:m

    % Find out the type of element by evaluating entry in first column
    switch T(i,1)

      % Resistor (R)
      case 1,

           % Both terminals of resistor are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal resistor is entered, please check the input file.')
           end

           % Short circuit (zero resistance)
           if ((T(i,6) == 0)&(T(i,3) == 0))
                   G(q,T(i,2)) = G(q,T(i,2)) + 1;
                   G(T(i,2),q) = G(T(i,2),q) + 1;
           elseif ((T(i,6) == 0)&(T(i,2) == 0))
                   G(q,T(i,3)) = G(q,T(i,3)) - 1;
                   G(T(i,3),q) = G(T(i,3),q) - 1;
           elseif (T(i,6) == 0)
                   G(q,T(i,2)) = G(q,T(i,2)) + 1;
                   G(q,T(i,3)) = G(q,T(i,3)) - 1;
                   G(T(i,2),q) = G(T(i,2),q) + 1;
                   G(T(i,3),q) = G(T(i,3),q) - 1;
           end
           if (T(i,6) == 0)
              G(q,q) = G(q,q) - T(i,6);
              DG(q,q,i) = -1;
              q = q+1;
           end

           % Conductance (G) = 1 / Resistance(R)
           if ((T(i,6) ~= 0)&(T(i,3) == 0))
                   G(T(i,2),T(i,2)) = G(T(i,2),T(i,2)) + (1/T(i,6));
                   DG(T(i,2),T(i,2),i) = 1;
           elseif ((T(i,6) ~= 0)&(T(i,2) == 0))
                   G(T(i,3),T(i,3)) = G(T(i,3),T(i,3)) + (1/T(i,6));
                   DG(T(i,3),T(i,3),i) = 1;
           elseif (T(i,6) ~= 0)
                   G(T(i,2),T(i,2)) = G(T(i,2),T(i,2)) + (1/T(i,6));
                   G(T(i,3),T(i,3)) = G(T(i,3),T(i,3)) + (1/T(i,6));
                   G(T(i,2),T(i,3)) = G(T(i,2),T(i,3)) - (1/T(i,6));
                   G(T(i,3),T(i,2)) = G(T(i,3),T(i,2)) - (1/T(i,6));
                   DG(T(i,2),T(i,2),i) = 1;
                   DG(T(i,3),T(i,3),i) = 1;
                   DG(T(i,2),T(i,3),i) = -1;
                   DG(T(i,3),T(i,2),i) = -1;
           end

      % Inductor (L)
      case 2,

           % Both terminals of inductor are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal inductor is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               C(q,T(i,2)) = C(q,T(i,2)) + 1;
               C(T(i,2),q) = C(T(i,2),q) + 1;
           elseif (T(i,2) == 0)
               C(q,T(i,3)) = C(q,T(i,3)) - 1;
               C(T(i,3),q) = C(T(i,3),q) - 1;
           else
               C(q,T(i,2)) = C(q,T(i,2)) + 1;
               C(q,T(i,3)) = C(q,T(i,3)) - 1;
               C(T(i,2),q) = C(T(i,2),q) + 1;
               C(T(i,3),q) = C(T(i,3),q) - 1;
           end
           C(q,q) = C(q,q) - T(i,6);
           DC(q,q,i) = -1;
           q = q+1;

      % Capacitor (C)
      case 3,

           % Both terminals of capacitor are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal capacitor is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               C(T(i,2),T(i,2)) = C(T(i,2),T(i,2)) + T(i,6);
               DC(T(i,2),T(i,2),i) = 1;
           elseif (T(i,2) == 0)
               C(T(i,3),T(i,3)) = C(T(i,3),T(i,3)) + T(i,6);
               DC(T(i,3),T(i,3),i) = 1;
           else
               C(T(i,2),T(i,2)) = C(T(i,2),T(i,2)) + T(i,6);
               C(T(i,3),T(i,3)) = C(T(i,3),T(i,3)) + T(i,6);
               C(T(i,2),T(i,3)) = C(T(i,2),T(i,3)) - T(i,6);
               C(T(i,3),T(i,2)) = C(T(i,3),T(i,2)) - T(i,6);
               DC(T(i,2),T(i,2),i) = 1;
               DC(T(i,3),T(i,3),i) = 1;
               DC(T(i,2),T(i,3),i) = -1;
               DC(T(i,3),T(i,2),i) = -1;
           end

      % Independent Current Source (J)
      case 4,

           % Both terminals of independent current source are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR: Illegal current source is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               W(T(i,2),1) = W(T(i,2),1) - T(i,6);
           elseif (T(i,2) == 0)
               W(T(i,3),1) = W(T(i,3),1) + T(i,6);
           else
               W(T(i,2),1) = W(T(i,2),1) - T(i,6);
               W(T(i,3),1) = W(T(i,3),1) + T(i,6);
           end

      % Independent Voltage Source (E)
      case 5,

           % Both terminals of independent voltage source are grounded
           if (T(i,3) == 0)&(T(i,2) == 0)
               disp('ERROR:E Illegal voltage source is entered, please check the input file.')
           end
           if (T(i,3) == 0)
               G(q,T(i,2)) = G(q,T(i,2)) + 1;
               G(T(i,2),q) = G(T(i,2),q) + 1;
           elseif (T(i,2) == 0)
               G(q,T(i,3)) = G(q,T(i,3)) - 1;
               G(T(i,3),q) = G(T(i,3),q) - 1;
           else
               G(q,T(i,2)) = G(q,T(i,2)) + 1;
               G(q,T(i,3)) = G(q,T(i,3)) - 1;
               G(T(i,2),q) = G(T(i,2),q) + 1;
               G(T(i,3),q) = G(T(i,3),q) - 1;
           end
           W(q,1) = W(q,1) + T(i,6);
           q = q+1;

	  % Voltage to Current Transducer (VCT)
	  case 7,
	       % Both terminals of any port of VCT are grounded
		   if ((T(i,3) == 0) & (T(i,2) == 0)) | ((T(i,5) == 0) & (T(i,4) ==0))
		       error('Error: Illegal VCT is entered, please check the input file.')
		   end
		   if (T(i,3) == 0) & (T(i,5) == 0)
		       G(T(i,4),T(i,2)) = G(T(i,4),T(i,2)) + T(i,6);
			   DG(T(i,4),T(i,2), i) =1;
		   elseif (T(i,3) == 0) & (T(i,4) == 0)
		       G(T(i,5),T(i,2)) = G(T(i,5),T(i,2)) - T(i,6);
			   DG(T(i,5),T(i,2), i) = -1;
		   elseif (T(i,2) == 0) & (T(i,5) == 0)
			   G(T(i,4),T(i,3)) = G(T(i,4),T(i,3)) - T(i,6);
			   DG(T(i,4),T(i,3), i) = -1;
		   elseif (T(i,2) == 0) & (T(i,4) == 0)
			   G(T(i,5),T(i,3)) = G(T(i,5),T(i,3)) + T(i,6);
			   DG(T(i,5),T(i,3), i) = 1;
		   else
		       G(T(i,4),T(i,2)) = G(T(i,4),T(i,2)) + T(i,6);
			   G(T(i,5),T(i,3)) = G(T(i,5),T(i,3)) + T(i,6);
			   G(T(i,4),T(i,3)) = G(T(i,4),T(i,3)) - T(i,6);
			   G(T(i,5),T(i,2)) = G(T(i,5),T(i,2)) - T(i,6);
			   DG(T(i,4),T(i,2),i) = 1;
			   DG(T(i,5),T(i,3),i) = 1;
			   DG(T(i,4),T(i,3),i) = -1;
			   DG(T(i,5),T(i,2),i) = -1;
		   end

		   % MOSFET

      otherwise,
           disp('ERROR: Illegal element is entered, please check the input file.')
    end
end

disp(['No. of floating point operations in Equation Formulation (MNA) = ' num2str(flops)]);

% Initialize row and column vectors for LU decomposition
row(1:n) = 1:n;
col(1:n) = 1:n;

% Analyze the given circuit according to the specifications given
% in the user entered file
for i = (m+2):l
    switch T(i,1)

      % Time Domain Analysis
      case 1,

           % Reset the floating point operation count to zero
           flops = 0;

           % For linear circuits the Backward Euler simplifies to:
           % (G + C/h)*V(t+h) = W(T+h) + (C/h)*V(t)
           Tm = G + ((1/T(i,3))*C);

           % LU decomposition
           [Tm, row, col] = lud(Tm);

           % Number of steps in Time Domain Analysis
           r = round((T(i,4) - T(i,2))/T(i,3));

           % Initialize 'V' which stores values of all the
           % variables at all (r+1) time instants
           V = zeros(n+p,r+1);

           % Same LU decomposition is used to solve the system at
           % every time instant as the LHS remains unchanged
           % (constant time step)
           for k = 1:r

               % RHS changes at every time instant
               Wm = W + ((1/T(i,3))*C*V(:,k));

               % Forward-Backward substitution for every time instant
               V(:,k+1) = fbs(Tm,Wm,row,col,0);
           end

           % Initialize the time (on X-axis)
           X = 1:r+1;
           X = T(i,2) + T(i,3)*X;
           X = X';
           figure;
           plot(X,V(T(i,5),:));
           title(['Time Domain Analysis of Voltage at node ' num2str(T(i,5))]);
           xlabel('Time (s)');
           ylabel('Amplitude (V)');
           disp(['No. of floating point operations in Time Domain Analysis = ' num2str(flops)]);

      % Frequency Domain Analysis
      case 2,

           % Reset the floating point operation count to zero
           flops = 0;

           % Number of steps in frequency domain
           r = round((T(i,4) - T(i,2))/T(i,3));

           % Initialize 'Y' which stores values of all the
           % variables at all (r+1) frequency points
           Y = zeros(n+p,r+1);
           for k = 0:r
               Tm = G + j*2.0*pi*(T(i,2) + k*T(i,3))*C;

               % LU decomposition
               [Tm, row, col] = lud(Tm);

               % Forward-Backward substitution
               Y(:,k+1) = fbs(Tm,W,row,col,0);

               % Magnitude of the complex values
               Y(:,k+1) = abs(Y(:,k+1));
           end

           % Initialize the frequency (on X-axis)
           X = 1:r+1;
           X = T(i,2) + T(i,3)*X;
           X = X';
           figure;
           plot(X,Y(T(i,5),:));
           title(['Frequency Domain Analysis of Voltage at node ' num2str(T(i,5))]);
           xlabel('Frequency (Hz)');
           ylabel('Amplitude (V)');
           disp(['No. of floating point operations in Frequency Domain Analysis = ' num2str(flops)]);

      % Sensitivity Analysis by adjoint method
      case 3,

           % Reset the floating point operation count to zero
           flops = 0;

           % Initialize the 'd' vector for adjoint method
           D = zeros(n+p,1);

           % Sensitivity of one node voltage
           if (T(i,6) == 0)
              D(T(i,5)) = 1;
           elseif (T(i,5) == 0)
              D(T(i,6)) = -1;

           % Sensitivity of the difference between two voltages
           else
             D(T(i,5)) = 1;
             D(T(i,6)) = -1;
           end
           D = -D;

           % Number of frequency steps
           r = round((T(i,4) - T(i,2))/T(i,3));

           % Initialize the matrix 'S' to store the un-normalized
           % sensitivity w.r.t. all the 'm' elements at all 'r+1'
           % frequency points
           S = zeros(m,r+1);

           % Initialize the vector of node voltages and extra variables
           X = zeros(n+p,1);

           % Initialize the vector of unknowns in adjoint method
           Xa = zeros(n+p,1);
           for k = 0:r
               Tm = G + j*2.0*pi*(T(i,2) + k*T(i,3))*C;

               % LU decomposition
               [Tm, row, col] = lud(Tm);

               % Normal Forward-Backward Substitution
               X = fbs(Tm,W,row,col,0);
               Tm = Tm';
               % Forward-Backward Substitution with transpose system
               Xa = fbs(Tm,D,row,col,1);
               Xa = Xa';
               for l = 1:m
                   S(l,k+1) = Xa*(DG(:,:,l) + j*2.0*pi*(T(i,2) + k*T(i,3))*DC(:,:,l))*X;
               end
           end

           % Initialize the frequency (on X-axis)
           X = 1:r+1;
           X = T(i,2) + T(i,3)*X;
           X = X';

           % Plot the un-normalized sensitivities w.r.t. all the
           % nodes in different colors and styles
           Sc = ['m' 'c' 'r' 'g' 'b' 'k'];
           Ss = ['-' ':' '-.' '--'];
           for j = 1:m
               if (j < 7)
                  figure;
                  plot(X,S(j,:),strcat(Sc(j),Ss(1)));
                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') w.r.t. element ' num2str(j)]);
                  xlabel('Frequency (Hz)');
                  ylabel('Sensitivity');
               elseif (j < 13)
                  figure;
                  plot(X,S(j,:),strcat(Sc(j-6),Ss(2)));
                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') w.r.t. element ' num2str(j)]);
                  xlabel('Frequency (Hz)');
                  ylabel('Sensitivity');
               elseif (j < 19)
                  figure;
                  plot(X,S(j,:),strcat(Sc(j-12),Ss(3)));
                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') w.r.t. element ' num2str(j)]);
                  xlabel('Frequency (Hz)');
                  ylabel('Sensitivity');
               elseif (j < 25)
                  figure;
                  plot(X,S(j,:),strcat(Sc(j-18),Ss(4)));
                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') w.r.t. element ' num2str(j)]);
                  xlabel('Frequency (Hz)');
                  ylabel('Sensitivity');
               else
                  figure;
                  plot(X,S(j,:));
                  title(['Sensitivity Analysis of Voltage (V' num2str(T(i,5)) ' - V' num2str(T(i,6)) ') w.r.t. element ' num2str(j)]);
                  xlabel('Frequency (Hz)');
                  ylabel('Sensitivity');
               end
           end;
           disp(['No. of floating point operations in Sensitivity Analysis = ' num2str(flops)]);
    end
end

fprintf('\n Simulation of circuit file %s is completed \n\n',circuit);

next = lower(input('\n Do you want to simulate another circuit file?   [y/n]: \n','s'));
if (next == 'y')
   simulate;
else
   disp('Thanks for using Nitin"s circuit simulator...Have a good day !!! ');
end


I'm not sure that it's worth updating these checksums twice (here and in the last commit on this branch). I think it might be good enough to update them once, as the final commit on this branch.


(1) Add VCT (2) Read the txt file by string


@emord, looks like this is now unused


for Arduino Workshop, NTU, April 2015.


Is it worth adding an index to `locale` since you're doing lookups on it?


We still have a lot of deprecations to fix before we can do that. I might turn on raising exceptions on deprecations in development mode to speed it up.


This is the full-sized card. Do you mean to remove it or simply rename it?


A lot of people are posting about problems with the Xposed Installer at xda and reddit with the official build as well, so it's not just something regarding the unofficial builds.


I'd find it useful to see the command you used to generate norway_organisations.json in the commit note.


bonecard-zoomed was the bigger version.


Please start assigning all instance variables in your controller. Any assignments in views is considered bad practice. Thanks! :)


Tabs aren't consistent.


fix this


I would like to try to use this, as this is a more general issue than just IoT integration, it makes your MQTT stuff Phoenix-specific. Basically, everything works exactly how I would expect, things bind properly using #/+, routing works, etc. The only thing that is not working is sending a message from something other than Phoenix, as it has to go through binary_to_term.

I'm not sure what you mean by the phoenix transport layer, but it seems like it should be possible to handle this usecase without having to have a completely separate worker for converting binaries differently, then pushing it back through Phoenix's pubsub layer.


Does this require a documentation update?
It'd be nice we could start adding XML Comments to the public methods in Hyde (like the method you added :smile: ). I find it frustrating to work with because I get zero intellisense.


fix this (closure)


Should this be called 'bonecard-tutorial.js' or simply 'bonecard'? Aren't all bonecards tutorials?


Thanks!


Nice.  I was going to go this same route.


same


I'd change it to `options.remoteUrl || getRemoteUrlFromCookie() || window.location.href` not to erase the cookie if remoteUrl is provided in options, so other PuppetDOM instances could get the cookie.


Requieres: https://github.com/cmangos/mangos-classic/commit/103e1eb12916d44981baf6b0feb2a4f6686f4b1b


Agreed


./src/lib/common/sol-log-impl-riot.c we have other log implementations, no?


Update


Just being picky here but could we reword this spec to read a little better `it 'associates with a category'` or something?


Needs a new translation file


Sadly those 2 properties are not compatible with Firefox.
Thanks a lot for the suggestion.
If you have an other one, I'm all ears :)


Good addition but I recommend it be hardened a bit.  Namely, to:  `18F projects should participate in both services.`


thanks! will make it a positional option.


This should be a ```class``` with the members being private. Also, why is it named ```ScoutingPFCandidate``` when it does not inherit from ```PFCandidate```? Why not just ```ScoutingParticle```?


Without me compiling the code and checking the change actually affected, what does "fix" mean in this context?


will fix the indent here.


Only templated classes need to be explicitly declared here


Since this is a new class, you should start with version 2.


wtf


**[unitTests_php_branches run failed](http://qa-s2.wikia-prod:8080/job/unitTests_php_branches/17107/testReport/) for this commit**


This already fails in case the timestamp is not set. This can be the case for projects that has been using an older version of SalsaFlow where this timestamp was not being set. But I don't think that this problem is ever going to occur since I don't know any such a project, but let's do things correctly...


probably an unintentional change


test


Seems like the descriptions for `PREP_JOB` and `CRON_JOB` are switched?


Yeah, so `printConfigWarning` is not needed any more since `LoadConfig` is doing that...


There is no reason to use ```explicit``` here since ```explicit``` is only needed if the constructor takes one argument.


I mean having like static/bootstrap-3.x


yep, I think it's related what you asked me in pvt. The USE_SYSTEMD flag tells we're going to use if if systemd is available.


It looks like the change to marriage_abroad_test.rb should've been in a previous commit.


use Dialog.confirm


@mmhelloworld I will try to document this better this week.  Ping me on Friday if I have not updated the issue.


Basically moved and slightly refactored into `repo/config.go`...


This is already checked in "get_pre_requisite_courses_not_completed".


use dialog.confirm


ok... I was just thinking it would be good to move the ifdefs up in the call chain, letting the driver to be "parameterized" enough.  I'll wait for new version to take a better look into this.


#bios
@@ -0,0 +1,2 @@
legacy update enable


Done, I've added the index


I missed the fact that the ```ScoutingPFCandidate``` isn't a new class. In that case you should keep the old class version checksum and up the new checksum to be 11.


Please fix the commit message explaining what options are not needed and why


Not sure if we need this check if we are already calling "get_pre_requisite_courses_not_completed"


Checksums should not be changed. Instead keep the old one and update to version 11 instead.


Nice flattening.


Now the exceptions are caught.


Type of trade


If you used ```emplace_back``` instead you would not have to make a temporary ```ScoutingPFJet```.


offset and pos seems a bit strange here, in order to work the resource must then also have a reference to the Model::Program's information about offsets to line map - how are they used?


Тимофей, в этой функции внешне всё хорошо.
Исчезнет canvas, появится кнопка.
Но after выполнится до конца всё равно. Поскольку canvas уже нет, выпадают exceptions в терминал. Может, их просто обработать, чтобы не выпадали?


@dorileo Will it use it if systemd is available or if platform=systemd is selected?


Hatte die Bilder zuerst unter assets/images/ abgelegt, hatte aber beim leeren des Cache dann das Problem das ich eine Fehlermeldung bekommen habe das es den Ordner nicht gibt (Dateiname des QRCodes) und der Cache-leeren-Vorgang abgebrochen wurde. Ich vermute das man zum erstellen der Bilder die Contao eigene Funktion verwenden muss oder die erstellten Bilder irgendwie Contao mitgeben/bekanntmachen muss.


Definitely.

> On 29/6/2015, at 17:32, Max Barnash <notifications@github.com> wrote:
>
> BTW do you mind doing another 2.0.x release with an updated driver dependency? 2.0.1 uses driver v2.1.3, which has its issues. I can prepare everything for that today probably.
>
> —
> Reply to this email directly or view it on GitHub.
>


We will wait, since that's the key release highlight ;)

> On 29/6/2015, at 17:30, αλεx π <notifications@github.com> wrote:
>
> True. Can we wait until I finish integration with new Query API? I'm done with travelling on Saturday, and can start finalizing it.
>
> —
> Reply to this email directly or view it on GitHub.
>


The definition above masks not properly guarding away side effects in the Task.

If the action is rewritten as:

```scala
    case r if r.pathInfo == "/launch-the-nukes" =>
      for {
        _ <- Task.delay(launchTheNukes)
        resp <- Response(Gone).withBody("oops")
      } yield (resp)
```

then we can keep a more natural use of the partial function:

```scala
  def apply[A, B](pf: PartialFunction[A, Task[B]]): Service[A, B] =
    lift { pf.lift.andThen(Task.now) }
```

In my commit, we're trading performance to allow people to abuse the types, which, as the caffeine takes effect, I'm realizing is not a good thing to do.


The problem I'm facing is projectile uses truename function so the root-dir is real path and original-buffer-file-directory is symlinked one which yield wrong relative-buffer-path. E.g.
root-dir and returned by projectile-project-root: /realpath/project
original-buffer-file-directory: ~/project which symlink to /realpath/project.
Let me check if I can ask projectile-project-root to return symlinked path


Will do


I see now it was an existing class name and not a new class.


dann schaue ich mir das noch mal an, denn das mit dem Ordner hat bei mir ne Fehlermeldung verursacht, so das ich das erstmal gepatcht habe ;-)
Wenn es keinen Grund wegen irgend welchen Downloadmöglichkeiten gibt, dann würde ich die lieber nach Assets schieben, da files bei mir eh auch gesperrt ist.


to improve


@anselmolsm if systemd is available


@vpisarev, is it okay to add this kernel method? This ensures that the reduced ops kernel is used in calculations below.


Yep, good point. The other option is `if ($content instanceof Closure)`, but then you couldn't use a class/method in an array (`array($anObject, 'someMethod')`).


For consistency, should this be

`if _has_group_access(descriptor, user, course_key)
return ACCESS_GRANTED`


The duplication was needed to process all --term-* options before we start using $TERM_GOOD and $TERM_BAD. But I went another way, changing the code before to avoid this.


You are most likely correct, PR?


I'm not convinced yet - I also like short names. But these longer ones show that these labels are special and they also happen to match the exact text you need to use later to trigger the status change (which I kind of liked).


Защо "title"?


@mrtracy I think that info about interfaces is out of date. See the go 1.4 release notes: https://golang.org/doc/go1.4#runtime

"The implementation of interface values has been modified. In earlier releases, the interface contained a word that was either a pointer or a one-word scalar value, depending on the type of the concrete object stored. This implementation was problematical for the garbage collector, so as of 1.4 interface values always hold a pointer. In running programs, most interface values were pointers anyway, so the effect is minimal, but programs that store integers (for example) in interfaces will see more allocations."


any way, it's used by sol-log-impl-linux.c so it's a linux specific implementation for systems with systemd available, so I think - for now - it's ok.


*great* catch!


On another note, your updates seem to work :+1: Go ahead with the release.


Може да си е "e". Няма практика да се кръщават с буквата на exception-a.


Тук също има ReservationException.


+1
Minor: would be nice to also remove this comment since it happens. Otherwise this would not be a dereference fix ;-)


I see, then I guess this change is OK for now.


why have you removed this info about clause 0? I think it is quite useful...


**[unitTests_php_branches run failed](http://qa-s2.wikia-prod:8080/job/unitTests_php_branches/17111/testReport/) for this commit**


seems a bit brittle as it relies on naming convention instead of API of a type - they could know their names as frozen strings instead


10.2.2 201 Created


Please bump to 0.4.1 even though 0.4.0 was never visible to the outside world.


You may want to note in the docstring what this method raises.


I see the problem here. I actually followed logic from sr-speedbar-toggle just changed sr-speedbar-open to projectile-speedbar-open-current-buffer-in-tree but sr-speedbar-open has more logic (delete other window etc). Your logic makes sense. I'll send a new pull request


The images were optimized/compressed without losing quality


I did it this morning.  I worked great!
Moreover, now that I am not so worried about bricking the router, I am working my way through your rachelplus commands in Linux. on the unit which I will send to Julian in the UK.  I am keeping logs with Putty which I use for SSH.
I will keep you updated.

Re: MPT Tool issue about connecting over CAP's WiFi network -- not urgent
I tried again to use the MPT Tool over WiFi when CAP was the gateway and DHCP server to the PC running MPT Tool.  The CAP did not show up on the list in the MPT Tool even though the CAP shows up on copy of the Tool running on my desktop which connects through the wired Ethernet jack on the CAP with my home router acting as DHCP and gateway and providing addresses to both the desktop and the CAP.
This is consistent with a tight reading of Step 3. on Page 1 of the CAP manual and with the drawing after that step.  Since Intel is vague, I think we should alert our team if your tests show the same result.


I think you forgot to remove the `-` here.


Както на резервацията и тук може да се върне друг статус - ACCEPTED. (Само информативно)


I think there is a problem with the semantics of block matching.
How am I supposed to write the following? It raises a `ClassCastException`:
```
dsl"{(i:Int) => 2}" match { case dsl"{(i: Int) => ($b:Int)}" => }
```
But I can reproduce your error with:
```
dsl"{(i:Int) => 1; 2}" match { case dsl"{(i: Int) => $a; ($b:Int)}" => }
```


Why are you making the `gcc` use `libc++` here? Most people don't have that installed, so it's going to fail.


Sorry, in the future I'll try to document something like this a little bit better.

The problem is that the "full display name" is something like `"tests/cases/fourslash/renameForDefaultExport08".DefaultExportedFunction`. If I try using the `@Filename` meta-tag, it becomes `"tests/cases/fourslash/foo".DefaultExportedFunction`

@mhegazy might be able to judge whether or not this is the desired behavior.


Im very confused did u remove this ??


change ".key" to ".key1" in order to align with text above.


How does this impact the optimization run time? if we have a plan that takes x seconds in y iterations how much longer is it because of plotting overhead?


WOW. When combining this and the next change, everything passes perfectly. Nice work!


Done


@tchap why is this interface here? You expect the config to be stored elsewhere in the future? Or what's the advantage compared to just having a struct as before?

Even more, all these configs seem too baroque to me. Aren't they all just reading from disk and print some warnings and descriptions sometimes? Seems to me you're reimplementing the same functionality every time you add a new field.


as mentioned above, this file does not need to be located at the top level.


I can try and make a prototype with the functionality I would call
`map_channels` which would basically be a mapping between MQTT topics
and channels. That would mean that any MQTT message coming in on a topic
on the map_channels table would be converted into a
Phoenix.Socket.Message type which can then be broadcast into the pubsub
layer.

I think I might have time to try that tomorrow afternoon.

Cheers,
Lars

On 06/29/2015 04:40 PM, Preston Marshall wrote:
> I would like to try to use this, as this is a more general issue than
> just IoT integration, it makes your MQTT stuff Phoenix-specific.
> Basically, everything works exactly how I would expect, things bind
> properly using #/+, routing works, etc. The only thing that is not
> working is sending a message from something other than Phoenix, as it
> has to go through binary_to_term.
>
> I'm not sure what you mean by the phoenix transport layer, but it seems
> like it should be possible to handle this usecase without having to have
> a completely separate worker for converting binaries differently, then
> pushing it back through Phoenix's pubsub layer.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/larshesel/phoenix_pubsub_vernemq/commit/3b6c02ce1df6357616520af30120d2f851b2d4a6#commitcomment-11911551>.
>


sure :) I just checked on your repo, both are fine really. I guess we can let the others decide


aća deberíamos validar por el valor numerico de respuesta, recordá que el SP de LOGUIN devuelve el id del usuario si fue exitoso, y un mensaje. si no encuentra al usuario. devuelve -1. entonces debería quedar:

if (value > 0){
      return new UserDao().dameTuModelo(value);
}


They could, or we could limit the need for that to whatever type that deviates from the naming convention.


please write better commit messages - I know that you make some minor changes, but it helps a lot in navigation between commits.


Hey Derek,

some how your last comment has been thrown away by my revert of the second comit. Sorry for that, I am not really used to GitHub. Well, I am quite sure we are now on the same level of understanding :)

1. MSVC will not create stadard .a files neighter can it create one nor it can link to mingw created .a files. Let's say, that are .a-msvc files :)

2. MinGW will only work with archive files. Those are "real" .a files.

What it makes pretty awkward is the point that this .a-msvc file looks the same as a normale .a file from the user. That even does not matter as long as you use the correct .a files since MSVC just links files and it does not take care of the naming. I just read the configure file from ffmpeg and it is producing .a files "hardcoded".

I found your script "makedef" and it looks like your are not changing any names and that leads msvc to create the .a files . Back time, I think it was 2010 or earlier I had an entire build system for ffmpeg but it was so extremenly incompatible to the autoconf approach, so I could not submit it. 5 years later things changed and I am thankful that people like you found a better way :)

Well, now I understand what is going on and it is fine to me to revert this pull request.

The only thing what I want to make clear is, that this is not the standard way to link MSVC libs. I think there must be a hint in the ffmpeg and libav (it is the same there) compile remarks.

Thanks
Matthias


RIP


apiInfo ist die Beschreibung der Anwendung + noch zusätzliche Informationen


typo


securityContext und defaultAuth ist für uns relevant. Ich muss mir dazu aber noch die Doku durchlesen


@mbernat Well, it's distributed across multiple Go packages, which is bit of a pain, but on the other hand the things that fix together semantically are really together in a package. Yeah, probably I was thinking that in the past, but now it's more like that I am doing it simply because it's like that everywhere... And also, there is a single interface returned and you don't need to care what is stored in the local config and what is in the global config.


动力源于生活


Yes, I have quite a few extensions to this script coming up to make it more useful. It's not a good idea to compare them on number of steps. Will move to number of func evals instead since that is a better way to compare.


Done!

On 06/29/2015 04:57 PM, Preston Marshall wrote:
> On another note, your updates seem to work :+1: Go ahead with the release.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/larshesel/phoenix_pubsub_vernemq/commit/3b6c02ce1df6357616520af30120d2f851b2d4a6#commitcomment-11911988>.
>


**[unitTests_php_branches run failed](http://qa-s2.wikia-prod:8080/job/unitTests_php_branches/17113/testReport/) for this commit**


This is a markdown file


learnyApi() baut die Swagger Datei zusammen.


There is another identical "when-not" 36 lines below this one. Also, it should be "core/defmacro when-not" anyways (causes build failure without that).


Hey... I create this for quick name change if you want you can use in the program :D

// Line 61
if (78 == e.keyCode) { // N
  console.log("New Name on Die: " + originalName);
  setNewName();
}

// And function setNewName()
function setNewName()
{
  getNewName(); // Random choose a new name of array "names". I create a new array for comfort
  originalName = NOME; // getNewName define a new var "NOME" with random nick
  setNick(originalName); // When die the name change
}

// Line 851
debugStrings.push("Name: " + originalName)

/*
I'm italian so sorry for error D:
*/


:+1: Works great! I'll merge this in in a bit and then add a demo for it. I already have one whipped up for it.


Защо UNAUTHORIZED? Ексепшъна се хвърля заради друго.


add line


Use https://github.com/edx/edx-platform/wiki/Python-Guidelines for docs


2015-06-24 2:18 GMT+07:00 kilua zoldic <zoldic2nd@gmail.com>:

> Struktur tulangnya berubah ??
>
> Overallnya gimana ?
>
> Thank,
> Best Regards
> Ageng Maulana
> +6281905060891
> On 24 Jun 2015 02:01, "gunawanwp" <notifications@github.com> wrote:
>
>> bwt admin page hold dulu. jng terusin dulu yak.. ada kenadala di dealing.
>>
>> meeting nya jadi kita fokus ke home page responsive.
>> kembali ke jobdesk lu ke awal.
>>
>> total page yang dia minta 3 (termasuk homepage).
>> front end nya doang yg bnyk perubahan design.
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/h2omaster/noras/commit/1be5851a277973b7020d887f0cf45622b6144c0c#commitcomment-11823419>
>> .
>>
>


I realised there's another thing that needs taking care of in here - what happens when placeholders for children are removed? I guess we should "forget" the state for those.


il me semble qu'un exit code != 0 signifie qu'il y a eut une erreur. Il vaudrait mieux mettre exit 0 non?


typo: "explicitly"


Why is this here? Can't you just use `onFetched` directly below?


How do you handle it now? Using a match statement?


I think the worry is of the password moving around in the code and then
leaking out unintentionally. It nice to see the code accept the password
and then hash it immediately.

On Mon, Jun 29, 2015 at 7:06 AM MBerhault <notifications@github.com> wrote:

> we could, but if you're worried about someone doing direct memory access,
> there are much simpler ways. After all, we're reading all this from stdin.
> This is also done by an admin user, which means the http transport will
> have read the client certificate key, and is still holding the certificate
> in memory.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cockroachdb/cockroach/commit/30c958ea54bad6fc767060681a007d076d8a6b69#commitcomment-11907722>
> .
>


You misunderstood him. Not need edit main language files. This is an including feature. Would be better create a separated box language file.


I opted against using constants for some tags because I wanted to keep the creation of different QML objects encapsulated within the functions that create them. I also feel that making constants would hinder readability more than help.


I'd actually prefer it if you simply replaced the body of `finger` with this code instead. I don't know of any browser where the `if` here will return false.


Merci!


Do you think your ack.vim is worth bundling up as a standalone plugin?


@snoyberg Is this related to https://github.com/fpco/stackage-dot/issues/1?


I'm not sure this is correct in the presence of nested VAST responses. What if a deeper response does not contain any ads, but the top-level does?


Looks :ok: so far :+1:
What is still missing is of course an extensive section in the README.md. It should include

* requirements. Like where to place your keys, that you should add a passphrase-less key...
* an example of an yaml with an encrypted entry
* an example (shell or python I guess) on how to encrypt any yaml input correctly.

Really looking forward testing this!


Just a doubt, we are checking for < 0 in many functions that state that will return -1 in case of fail. I probably wrong but for me the fcntl documentation state in a very subtle way that only -1 is an erro:

```
RETURN VALUE
       Upon successful completion, the value returned shall depend on cmd as follows:

...

       ***F_GETFD     Value of flags defined in <fcntl.h>.  The return value shall not be negative.***

       ***F_SETFD     Value other than −1.***

...

       F_GETOWN    Value of the socket owner process or process group; this will not be −1.

       F_SETOWN    Value other than −1.

       Otherwise, −1 shall be returned and errno set to indicate the error.
```

Dont you think that is better to explicitly check for -1 in this case?


"Try to decrypt an encrypted value" :smile_cat:


To make this less brittle, you could test against the number of groups instead of a static value:

```objective-c
XCTAssertTrue([dataSource.collapsedGroups count] == [dataSource.groups count]);
```


So with this commit, I broke the Discovery page. I still need to build a better 'Load More' feature. I also need to upgrade i18n.


Last few commits are really poor and were used for testing.
Sorry about that.


Yes, will remove.


ok


@bachir151 We do not have spoken about reports.
please ask @wkyoshe to know how to do it.


It can be a separate box,or it can be an extension to an existing box.  In both cases, the language should not be added to the main language file - the language goes into a language file for the box (or the extended box).

**Summary and Conclusion**
- can be a *new box* with accompanying language file, it drops into the menu with no core changes
- can be an *extension to an already existing box* with accompanying language file, it drops into the menu with no core changes.


nitpick: "Access denied because the user hasn't fulfilled a milestone (pre-reqs/entrance exams)."

"Fulfilled" is what we usually for milestone completion.


I'm wondering if we shouldn't log an information that `"Asset ... is not available"`. It might help debugging the problems.


Isn't it considered bad to use classes from the `com.sun` package? They only work on Oracle JREs and not OpenJDK.


"User has unfulfilled milestones."


develop (kbenne) - x86_64-MacOS-10.9-clang: OK (1160 of 1160 tests passed)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.svg)


And here, you are declaring this method as `@NotNull` and you still return `null` when the id is greater than the number of slots.


yes


I see. Then it's a problem with Block semantics inside a lambda expression.


@smolkaj: Should delete the tracing again!


Why are you checking a `@NotNull` annotated item for `null` when there is no need for that?


The code of the function `get_guest_os_info_list` already logs an error right before raising the ValueError.


You should use tabs for indentation. Tab indentation width should be set to 4 spaces


Так тоже потеряется ошибка :)

```
.fail(function (err) {
    borschikProcessor.dispose();
    throw err;
});
```


Watch out for NullPointerExceptions here


Well, the idea here is to always call Render(mode, offset) and get rid of the conditional (default offset value should be 0).


Why not just remove "if (level_names[level])" instead of change the type of the array? I do prefer the old array for a static information.


:ok:


Забавно смотрится столбец прошлых игр, ну да ладно =)


Why is it a FP? There is a potential severe truncation of the value.


@rudigiesler Please review when you're back.


@btovar please cherry-pick this for 5.0.


I set this left margin to 0 which leads to the result shown in the screen shot
![arrow_alignement](https://cloud.githubusercontent.com/assets/1460598/8411480/6fa384d4-1e84-11e5-869c-8609e661f71d.png)
.


Ugh, so implementing interfaces on pointers is indeed more efficient. Bring on the `nil`s.


Сейчас гляну


Done.


Ok


Carrément, merci de l'avoir vu ;)


Я могу его удалить, это не сложно, добавлением canvas.destroy() в список lambda


TeamCity Wordpress :: CorpSite :: CorpSite-Staging :: Deploy Update [Build 11](https://bsr.ict.je-labs.com/viewLog.html?buildId=30462&buildTypeId=Wordpress_CorpSite_CorpSiteStaging_DeployUpdateWordpressCoreDirect) is now running


Right -- this was making the argument order consistent with regular lists, so that concat-lists could be more of a drop-in replacement whenever we wanted them...


Yes, I already noticed this, sorry.


Alright, thank you.

Regards
Praise Ndebele

On Mon, Jun 29, 2015 at 4:39 PM, Ian Schoonover <notifications@github.com>
wrote:

> Please start assigning all instance variables in your controller. Any
> assignments in views is considered bad practice. Thanks! :)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/PraiseNdebele/session0202_exercises/commit/13464dc2f4c00025c2cf616198aba5d6037392ec#commitcomment-11911514>
> .
>


В целом нормально, но есть проблема в том, что окно неограниченно растёт вниз


I am still trying to sort this out. Currently, there is no requirement to explicitly create the metric or the tenant. If we keep it this way, I see a couple of options.

First, we could provide an endpoint to update the metric, which would allow you to inform the server that you want rates to be computed. This of course is not all that different than explicitly creating the metric up front; however, it does provide some additional flexibility.

Another option is to handle it on the server side. We have a job that runs periodically runs to determine what  metrics are in the system. The job would see that your counter does not have rates generated for it since the metric was not explicitly created. The job at that point could schedule the task to generate the rates.


Обновил оценку за курс


Helvetin hyvin sanottu!


I still don't understand what you're trying to say, Scott. It doesn't matter what `var` is set too:

```julia
julia> v = "
           "
"\n    "

julia> s = """
           a
           $v

           b"""
"a\n\n    \n\nb"
```

(this is true on 9cd6ad45977a5ce98621ff9a47f885f222889591, 333bb876dcf0208a4a7c9a03a0b741211103cce6, and 4f4938e066cc995f70bec801a3073e3d0277abe5)

4f4938e066cc995f70bec801a3073e3d0277abe5 fixes a *very* obscure corner case, only triggered when interpolating raw string literals.


There already are at least one or two standalone plug-ins that wrap ack, so probably not. (Years ago when I first set this up, I didn't install a plug-in because they were hundreds of lines and my own integration consisted of about a dozen lines... of course, since then, this has grown...)


Hi niXman, i tried to build gcc 5.1.0 i686 after this commit, and it failed. This is the error:

../../../../src/gcc-5.1.0/gcc/config/i386/host-mingw32.c:98:29: error: 'pch_VA_max_size' was not declared in this scope
   res = VirtualAlloc (NULL, pch_VA_max_size,


You need a space character, in the string, after the last word or the result will be "[...] leadsto [...]"


Thanks for responding!


Idem


Muy genial!


develop (kbenne) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (1163 of 1163 tests passed)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.svg)


Yep, which can lead to a lot of nested matches / boilerplate.


I did; look above.


TeamCity Wordpress :: CorpSite :: CorpSite-Staging :: Deploy Update [Build 11](https://bsr.ict.je-labs.com/viewLog.html?buildId=30462&buildTypeId=Wordpress_CorpSite_CorpSiteStaging_DeployUpdateWordpressCoreDirect) outcome was **SUCCESS**
Summary: Running Build time: 00:06:01


Yeah... I was debating about that, but I think you're right.


Why not use `data.getListValue("reports_history")`?


Suggestions for content to add?


would leave this “tl;dr” out has it has shown to be problematic in the past.

Maybe replace this and the next head line with “the short version” and “the not so short version” as on confcodeofconduct.com


Indentation.


That was "integers", not "ints".


Add class comment.


@aheinze, what is the reason of `title` argument here? It is not passed anywhere, looks like it should be just local variable.


Actually, instead of simply correcting the implementation I think you should simply remove the part of the comment that would raise the exception and instead make the comment more descriptive of the issue


these are changes that affects the agent side


The username and key should not be hard coded.
They should be properties read from gradle.properties file


develop (kbenne) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.svg)


@AbdullahAlger Yep, this is good and fixes the problem from earlier, well done.


This affects the agent side as well


Maybe put Danilla fist.


Looks good.


Thanks! Sure thing.
Thanks! Sure thing.
Thanks! Sure thing.


The problem is that `onFetched` is changed to a new callback for the second `queryVast` call here: https://github.com/jonhoo/vast-vmap/blob/master/src/vast-vmap.js#L439

This is so we can store the original callback and execute that on any nested failure as well as the original failure.


The reason we made a check here was in case someone was using this in a non-browser implementation such as a Titanium mobile app.


Спасибо! Это было очень интересно, хотя временами и трудно


I am getting the following error when i load this project into android studio:

Error:(16, 0) Gradle DSL method not found: 'minifyEnabled()'
Possible causes:

The project 'app-app-calling-android-master' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper file

The build file may be missing a Gradle plugin.
Apply Gradle plugin


The filepath should not be hard coded.


Merged https://github.com/joni2back/angular-filemanager/commit/c92079c55b0fafb5e4b322e936815684fa5c2ca0


30   iterations - with plot: 23,85s  without plot 23,58s  --> overhead 0.27s
60   iterations - with plot: 44,14s  without plot 43,50s  --> overhead 0.64s
100 iterations - with plot: 70,88s  without plot 69,50s  --> overhead 1.38s
times are based on photon liver case using 5 beams and a bixel width of 5mm


TeamCity Wordpress :: CorpSite :: CorpSite-Staging :: Deploy Update [Build 12](https://bsr.ict.je-labs.com/viewLog.html?buildId=30463&buildTypeId=Wordpress_CorpSite_CorpSiteStaging_DeployUpdateWordpressCoreDirect) is now running


Do you have any plans to send pull to request to original repo?


Wrong grammar, it should be "There are no subscriptions".


Because it saves a line of code!
Just forgot about that method.


An additional input parameter returnType has been added to the parser 'parseRaddoseInput' to determine whether crystal object, beam object list, or {crystal object, beam object list, wedge object list} should be returned from function


@fchollet this isn't quite right. For instance: the Embedding layer has an output mask, but does *not* support masked input (though it would not be hard to extend it so that it would). Right now if I hooked up an Embedding after a masked layer it would not raise an Exception, though the Embedding would then alter the mask inappropriately and let previously masked values through unmasked.

This is why I have the `supports_masked_input()` method, which tells you whether a given layer can be passed masked input and respect the mask on its output.


Just an example showing that you can use arbitrary data types as keys, iterate over them, and the "key/value" terminology.


Possibly. The issue we ran into that brought about these changes was we are now serving remnant ads if we do not actively fill an ad slot, so the google DFP VAST response doesn't have any ads in it and instead produces a new VAST URL to follow (which sometimes has no ad in it). So I don't know if you would actually have an ad in the top level response because why then would you be requesting new VAST urls?


You can use the Release with Tests project configuration rather than editing the Release to have ```ENABLE_TESTS```.


Yes indeed
LGTM

I'll also check the OH1 version if the same issue is there


Why are runtime exceptions being thrown if there aren't any subscriptions? .. shouldn't a "disconnect" operation just disconnect from whatever there is .. Or else, this will throw probably unnecessary exceptions if someone tries to disconnect this when no subscriptions are there ..


Actually I was thinking about this, so yeah, this will be pushed in next commit 👍


when cat to version.sh write this:

{"error":"Not Found"}custom_exit(){
echo "no" > /tmp/SH-OTA.info
exit
}

if [ "if [ "`grep $version $0 2>/dev/null`" ]; then
		sed -i 's/$version/$version/' $ota" ]; then

next lines are good...


Good idea. Will do that.


Wouldn't this make "cu@" just "c"?


It should perhaps be made more clear in the documentation for FFmpeg (http://ffmpeg.org/platform.html).

However:

> I found your script "makedef" and it looks like your are not changing any names and that leads msvc to create the .a files .

`makedef` is only invoked on shared (DLL) builds, since it generates the `.def` files for each libav* library. It has no impact the filename of the static builds. That is set in `configure` and `Makefile`, etc.


Updated it in 2f6a282


@financeCoding nice! If you're interesting in getting this into the main tree (which would be great), here is what I like to see before I merge: https://github.com/kanaka/mal/blob/master/docs/FAQ.md#will-you-add-my-new-implementation

I pulled down you implementation to play with it a bit. Here are the current issues I ran into (you might be aware of them, but just wanted to give feedback on what I found):

* Can you add a section to the README for Dart that indicates what minimum version of the dart compiler is required. I used 1.11.0 stable (which might possibly explain some of the other failures if you are using the dev stream).
* A bunch of test failures related to string handling/output.
* println doesn't seem to work.
* A fatal failure in step2 where undefined symbol isn't caught
* Some extraneous output in step4 and newer ("MalFunction" printed to console).
* *host-language* set to "racket" in stepA

Anyways, hope to see a PR soon :-)


Done, what I don't like is that this way a method with the name of a getter will set some default values.


@thepickpocket The Java Date API is not very good, and because of this the Biometric module uses the Java 8 LocalDateTime. I suggest you change your class to also use it for consitency.


TeamCity Wordpress :: CorpSite :: CorpSite-Staging :: Deploy Update [Build 12](https://bsr.ict.je-labs.com/viewLog.html?buildId=30463&buildTypeId=Wordpress_CorpSite_CorpSiteStaging_DeployUpdateWordpressCoreDirect) outcome was **SUCCESS**
Summary: Running Build time: 00:05:13


`users.coffee` and `users.scss` can be safely deleted.


Class level comments, don't put random whitespace ..


Not sure if 0x7FFFFFFFFFFFFFFF - 0xFFFFFFFFFFFFFFFF gives the same impression. Also I may be saying too much to refer to the max and min values in this way at all.


Yeah, I have read the ongoing discussion in the pouchdb issue and absolutely see your point.

Thanks for starting this discussion!


Blank `UsersHelper` can be safely deleted.


Looks good!
Just in case this class is a Transporter class
Take a look to following link
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB0QFjAA&url=http%3A%2F%2Fautotestguy.com%2Farchives%2FDesign%2520Patterns%2520for%2520Customer%2520Testing.pdf&ei=3WiRVZ3PM4ixsAXSg7tA&usg=AFQjCNHpdYdFWn-K47h6U8AazTZE8B9zMA&sig2=j5x2e_sN4sbSIGgRff8JEQ&bvm=bv.96783405,d.b2w


Start a comment line like here with a capital letter ..


Right. I'd add a specific comment about that.


Clarify between python 2 and 3?

I was thinking of finding a link or two about how to use pip, so they can check it out on their own time.

I was a little worried about namespaces and methods being confused for each other, but I think I have an idea for how to make the difference and similarities clear.


This should not hit the main repo.
Git provides a mechanism for local ignores: $HOME/.config/git/ignore
https://git-scm.com/docs/gitignore


If this route isn't being used, it can be removed, as can its associated view template.


This isn't a big one, but I think the previous formatting is better for standard templating. The updated formatting kinda makes sense for all that's there now, but standard WP formatting separates out the PHP logic wrappers from the HTML inside them. Prefer to keep this as was.


Hi,

I have not testsd this patch, I have just got it from here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940#c47

Can you fix this bug, please? ;)