for instance: I don t know how I am gonna receive a coding sequence; whether the queries will give me a string with the sequence exons already connected or if the queries will just give me a full nucleotide sequence and an array of exons positions, and I will have to chop exons and connect them together in my middle layer. I will need the coding sequence for my codons calculations.Also, will it be me giving dolapo all the exons position to highlight them or the database directly? will i have to do something for that task in the middle layer?

I think one reasonable option could be that RIchard takes care of the initial queries, where calculations are not involved (so retrieving asc numbers, location etcc...);and I can take care of those secondary queries (which will be triggered by clickin an entry in our first result page), so i can make sure my calculations retrieve from the db whatever is needed. All i need to write the queries is the db physical model. That way would be much less confusing for me. I would have a module for each calculations. ie. a module for the codon frequencies which when an entry is clicked take a sequence from the database, extract the coding sequence, do the calculations e return an hash or something.i.e. same for the highlighting exons or restrictions sites task. I would have module which takes a sequence, takes the restriction sites or exon positions, arrange the data in some form and gives it to dolapo.

Date: Tue, 8 Mar 2016 03:57:32 -0800
From: notifications@github.com
To: Biocomp2Project@noreply.github.com
CC: g.nocchi@hotmail.com
Subject: Re: [Biocomp2Project] Removed another unused line. (e0a99ef)

Shouldn't this return an array of start positions and an array of end positions in the gene sequence to be given to @DolapoA 's layer where he adds the HTML?

—
Reply to this email directly or view it on GitHub.


I presume the "note:" in this line is a legacy issue (it should be "model:")?


Should be merged!


creo que la estrategia de desbloqueo debería ser solamente config.unlock_strategy = :time y no :both, porque no se utilizará el envió de mail, el cambio también afectaría db/migrate/20160307022745_devise_create_users.rb


I didn't like long long being in the function definition. If we were to typedef it to something like genericHandle, that may be better. Although, that's just my opinion.


There's a module with the same name. Renaming it to results.


what do you mean? the tabulator?


The `_BV` is standard part of the Arduino lib, so there's no need to add in our own.

What do you think broke MAX31855 support here? I would tend to suspect one of the places where `SBI` or `CBI` was used. But behavior should be the same for all these replacements.


Hello,
I see there is no commit since a few months, is this fork still updated?


We should use links without version numbers -
`http://docs.scipy.org/doc/numpy/reference/generated/numpy.dtype.html` and `http://docs.scipy.org/doc/numpy/reference/generated/numpy.vectorize.html`


Sgtm.


Product, in case the context is hard to follow, the question is: Can we get rid of the exports admin users filter, and instead return all those results with the unknown users filter?


On Tue, Mar 8, 2016 at 3:05 PM, Nick Anderson <notifications@github.com>
wrote:

> @jimis <https://github.com/jimis> Looks good to me. Does this need to be
> picked back through 3.7.x?
>
Cherry-pick was not requested, and alters behaviour, so I'd guess not.


Concuerdo, cuanto tiempo crees que tomaria el cambio?.
El 08/03/2016 11:17, "Adrián Agüero Faraldo" <notifications@github.com>
escribió:

> creo que la estrategia de desbloqueo debería ser solamente
> config.unlock_strategy = :time y no :both, porque no se utilizará el envió
> de mail, el cambio también afectaría
> db/migrate/20160307022745_devise_create_users.rb
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/afaraldo/casa-de-las-pinturas/commit/67b8bafad189ab254924c1384b4988bbda1046d6#commitcomment-16562510>
> .
>


@seanlip Thanks for the feedback!


No bo zacząłem coś wczoraj robić, ale błędy mi wywalało to wróciłem do
starej formy i musiałem comitować :P

2016-03-08 13:32 GMT+01:00 Jakub Kubacki <notifications@github.com>:

> Great commit ;D [image: :+1:]
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/fantasygame/concerts/commit/291ef20872fdb22deec85b9a0bc586de1b24c1cc#commitcomment-16560329>
> .
>


`effort_to_reach_maintainability_rating_a0`does not seem to work properly, the rest is good though!
the code review is high level and it looks good


Tracks can be very maintained, and even paved.


@ci test


Actually "model" is the legacy name used mainly by Anki developers, and "note type" is the new term used in the Anki documentation. "note:" is the [correct syntax](http://ankisrs.net/docs/manual.html#searching).


Yes, their language is vague enough.


Yes I follow standards… but definitely old standards as I'm unable to retrieve them.
In short :
  - Indexes
    - mixin 2/3 chars prefix : `idx_` (index), `uni_` (unique index), `fk_` (index for foreign key)
    - strict 2 chars prefix : `ix_` (index), `ux_` (unique index), `fk_` (index for foreign key)
  - Foreign keys
    - `fk__<currentTable>__<foreignTable>`

But I'm able to find some "good practices" that suggest only 2 char prefixes + foreign key prefix :
  - `ix_` (index)
  - `ux_` (unique index) or `ak_` (alternate key that the same)
  - `fk_<indexType>_` (foreign key + index type : `fk_ix_`, `fk_ux_`, `fk_ak_`)


t-esc


Doesn't this break the `codegen-units` auto-tests?


yes, for sure, remember that we need to manage cards from backend (only with list & show actions, no create & update)


It crossed my mind too, I'll test asap.


Most of the ones I'm familiar with have trees fallen across them.


That's not the only thing wrong with it if I use php7
On Mar 7, 2016 11:52 PM, "legoboy0215" <notifications@github.com> wrote:

> Update it yourself... Just change the API version.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Falkirks/SimplePortals/commit/ed5cc806d8a5f69927c0241a20cf4bf26d0cfb63#commitcomment-16555314>
> .
>


I know then debian packages generate those on installation of a package.... I assume (but don't know for sure) that dpkg will also clean those up itself.
PS: thanks for doing that only in debian packaging scripts and not just don't generate those as lot of other distributions simply request to package the cache files (like Arch Linux)


I mean, that's really the difference between a track and a service road.  Tracks aren't cleared unless someone has a reason to do so.


span class="page-descr__title container". вот это я тебя запугала контейнером :) здесь этот класс не нужен, потому что максимальная ширина заголовка меньше, чем ширина контейнера страницы, и все нужные стили можно будет повесить на класс page-descr__title. на скриншоте зеленым отмечен этот блок-центровщик, https://www.dropbox.com/s/0deaggdb2wd4mat/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202016-03-08%2014.17.16.png?dl=0 - его ширина равна макетной ширине без боковых отступов. ну и page-descr__title это явно не он. а еще он не span, а вполне себе заголовок, h1


Just use `p0_idx--`?


thanks, PR imported in gerrithub.
review will happen at https://review.gerrithub.io/265558


Hi Saverio,

could you please push the changes also to the java8 branch? I think we should remain consistent among the code trees...any thoughts?


77 seems like a magic number here?


можно избавиться от внешней обертки page-descr, она здесь ничего не делает. фон будет лежать в блоке header, стили заголовка - на заголовке


Were there any more commits that came upstream that were also reverted
around the same timeframe and coincidence is making us think it was the
cpusets that caused it?

On Tue, Mar 8, 2016 at 2:44 AM, Fattire <notifications@github.com> wrote:

> I'm seriously confused now. I have no idea why GPS stopped working after
> nivron's recent commits-- could have been something upstream for all I
> know. I'll do another build tonight/tomorrow. The issue is very odd having
> to do with the GPS not even being detected. In google maps it asks
> repeatedly for the location permission, and GPS apps say there is no GPS
> detected. I'm gonna do another build and see if that fixes it..
>
> As for @CMRemix <https://github.com/CMRemix> 's comments above regarding
> adb/debugging and why it might interfere with SIM, again-- totally
> confused. Nivron said he tracked it down to the commits which he reverted
> (namely the one above) and that this fixed the no-SIM-on-first-boot. I'm
> starting to get skeptical because I've heard so many different
> accounts/causes in the last year. It's super super weird.
>
> I don't think it has anything to do with cpusets.. but the only one who
> has arduously test it from a clean/wiped system is @niv71
> <https://github.com/niv71> so... anyone have any thoughts?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/fat-tire/android_device_samsung_trlte-common/commit/b09a18eda95ea3c3e5848e2a8c2d0f1eefde01d5#commitcomment-16555163>
> .
>


I hate it when this happens!


What callstack ?


What does __merge here do?


Fixed _differently_ in https://github.com/spring-projects/spring-framework/commit/89cf4772d57145475797eb39bd2aa59d6c4e362f.


1. Let's set up a time to talk about how to handle TTLs correctly, just to make sure that whatever APIs you go with can later be modified to do this correctly.
2. OK.
3. We have a lot of tooling which assumes that `VAULT_ENV` is substituted into strings of the form `secrets/db/@ENV@/etc:url`. Changing that to `@VAULT_ENV@` is one more gratuitous difference to remember.

I'm tentatively OK with merging `Secretfile` into `package.json`. It increases the number of places that I need to look for stuff, so there's less Faraday-level standardization, but it increases the amount of standardization relative to the node ecosystem, so that's a win.


http://wiki.openstreetmap.org/wiki/Key:tracktype has a few examples of tracks. They're "roads for mostly agricultural use, [or] forest tracks".

![image](https://cloud.githubusercontent.com/assets/1190866/13604270/3fdd3a6c-e542-11e5-8acf-bbaf1d8e729a.png)
![image](https://cloud.githubusercontent.com/assets/1190866/13604282/53013972-e542-11e5-92b9-82c3d50c5018.png)
![image](https://cloud.githubusercontent.com/assets/1190866/13604298/5d5a9dd2-e542-11e5-9fcb-26f95f3c5654.png)
![image](https://cloud.githubusercontent.com/assets/1190866/13604331/7b7a58de-e542-11e5-96e9-ad2bf55de93b.png)
![image](https://cloud.githubusercontent.com/assets/1190866/13604324/6f2ab600-e542-11e5-9a28-84cf70432b31.png)


Ignore this commit. Problems with git / line breaks.


Looks like adding `mapnik@3.5.2` breaks things.

```
sh: 1: node-pre-gyp: not found
```

```
pm ERR! mapnik@3.5.2 install: `node-pre-gyp install --fallback-to-build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the mapnik@3.5.2 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mapnik package,
npm ERR! not with npm itself.
```


Thanks! I wrote that in the shell in a hurry since I thought it needed some context.

-M


Looks good, will test later :)


Adding \__props__ is good. Remove \__eq__ \__hash__ and \__str__. They are provided by \__props__


The code does not comply to PEP8.

*PEP8Bear, severity NORMAL, section `autopep8`.*


Was wondering about this before. What's the reason behind making the method `static`?


Goodness this is ugly...


I don't understand why this change was made to the API. The SourceOrSink will already have the ComponentProperties when getSchema() is called (it will have to be initialized), and I think the schemaName is much clearer.


Here, node is GpuFromHost. You should call _props_dict() on the AdvancedIncSubtensor1 op.


This will not work as expected if `color[3] = 0` (which would be a valid input).


This list is still missing a few items, I think.


Why was this removed? Is there a recommended alternative? In particular, I'm looking for the recommended method for running a 'demo instance' (regardless of whether that uses Vagrant) in a workshop setting.  Thanks!


... which is partly my fault, I guess ;)


I don't think it's a job for Smart Enter to create those declarations. You would need to provide meaningful names, and to provide in-place rename support so that the user could change the generated names, and this is simply too complicated for this class. Let the user type those parameters by hand.


You probably have to rename the file to .txt as well.


This is not pretty; as stated in linkedin/pyexchange#39, a redesign is needed to avoid the frankly ridiculous amounts of duplicated code I am introducing here. However, this _works_ for the time being, and an inelegant solution is better than none at all. Perhaps it will be enough of an eyesore to prod upstream into motion on the redesign.


"Make sure you explain your solution and **why** you're doing what you're
doing, as opposed to describing what you're doing. Reviewers and your
future self can read the patch, but might not understand **why** a
particular solution was implemented."

https://github.com/torvalds/subsurface/blob/master/README#L161


I narrowed it down to this specific commit.  With a build including the commit that has been reverted -- on a clean flash, the first boot will give you a "No SIM" issue.  If you reboot, the SIM is detected -- even without changing any settings.  It is specifically a first-boot ONLY issue.

A build with this revert in it does not have the same issue on a clean flash.  It's as simple as that -- I tested it numerous times.

I spent a good portion of a day committing/reverting, just to find that this was the particular commit that caused the issue.  There is likely something in the commit that causes timing issues with the radio stuff, and I plan on doing more diagnosis on that so that we can use cpusets again.

The GPS issues are caused by using the latest blobs and have nothing to do with this commit or what it has reverted.  On my personal builds, I revert that particular GPS blob change and have no issues at all with GPS.


в описании секции descr-section либо нужен центровщик внутри, либо можно само это описание поместить внутрь username-input-block. ну и это тег p скорее, чем div


Yeah 😁

M.

> On Mar 8, 2016, at 9:18 AM, uhu79 <notifications@github.com> wrote:
>
> what do you mean? the tabulator?
>
> —
> Reply to this email directly or view it on GitHub.
>


Doing this here is perfectly okay because it will be more expensive to always have to access `rating` from `subject` in each of the 3 test cases that you have. Setting a variable to hold `rating` makes sense in this case.


In the AOSP build, neither cmake nor ninja will be on the path.  That means the build configuration will have to add --cmake and --ninja arguments.  That adds complexity to the configuration.  The point of this script is to hide such details when possible, making the build configuration as easy as possible.


True. I'll make a change.


Have you tested with Cygwin?  This seems like it could be a regression in that case.


Why not use the method you created?


should be fine now


TeamCity Glyssen :: Glyssen-master Continuous [Build 0.2.4.2a278acb0248f05ab1e46ca2dba744577c686e5b](http://build.palaso.org/viewLog.html?buildId=70015&buildTypeId=bt431) outcome was **SUCCESS**
Summary: Tests passed: 1031, ignored: 12 Build time: 00:08:14


Php files added


Sure, done :)


This needs to be generated from the actual test data files, not written manually. See GenerateTests.kt for an example.


Reminder that our conversation here is public.

Regarding (3), I was divided on how to handle it. On the one hand, ENV is already used and likely the most useful, if not only useful, ENV var in these files. On the other, allowing any env var to be interpolated is less, I dunno, magic.

I'm also divided on the Secretfile thing. I was considering, in the longer term, trying for Secretfile and falling back to package.json.

Finally, this was mostly just a way for me to learn how vault works and have some fun w/ it, and mistakes, incompatibilities, etc are to be expected because of that.


The comments above say that revision have to start with "pass" or "fail" instead of "rpass" or "cfail", etc. Or is this something different?


You'll need to quote  ags.srcdir and args.installdir in case they have embedded spaces.


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 18636](https://teamcity.mesosphere.io/viewLog.html?buildId=156786&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:05:01


it should work if you move this code you've added to `layout.scss`


Ref #130


username-input-block, achievement-list, user-contacts-input-block, user-emotions-block - можно тут сделать более универсальные классы. это скорее элементы form-section, чем отдельные блоки, можно каждый из них назвать form-section__block, отличия в стилях задать через модификаторы типа form-section__block--gray для блоков с серым фоном. ну и соответственно поля и лейблы - это тоже элементы формы, а не отдельных блоков."form-section__text-input", "form-section__checkbox", "form-section__checkbox-label" и всякое такое


Can we add the small options too ('-C', '-G', '-A', '-P' maybe)


重构了工程结构


It seems like we could just eliminate this function, since it's so easy for people to just set `filtfilt=True` themselves.  I don't feel strongly about it either way.


Changing this default adds complexity to the AOSP build configuration.


Can we add another test to see if it works with two?


@zeridon It's only of use in my particular case. The more generic ability to ignore volumes based on some criteria is something that may have broader appeal.

This check is very useful and I appreciate the work you did on this project!


**SUCCESS** - TeamCity HotRod C# Client :: Release Windows 2 [Build 3](http://ci.infinispan.org/viewLog.html?buildId=37166&buildTypeId=HotRodCSharp_ReleaseWindows2&guest=1) for 9ddcf6b389ecdc8144348182d4faf966b2c9cee1
Tests: 0, 0 failed (0 new), 0 ignored. Build time: 00:14:11


Está tudo ok com a grafia. :+1:


You're welcome @gregjacobs, you can also consider to add the CDN info in the readme :smile:


noteFuture readme file


just playing at free time :)


a


descrp-block - это в общем-то не блок, это элемент блока, заголовок какой-то, form-section__title или form-section__block-descr, например. просто чтобы из названия класса было понятно, что это вообще


it should be `clusterState.getCollectionOrNull(name)` here to handle the race where collection gets deleted between reading a list of collection names and reading additional info for these collections.


Clean code - работа принята.
По UI - последние изменения видели. Работу мы еще в тот раз засчитали. Все хорошо, но иногда некоторые элемены немножко уплывают при изменении разрешения.


넵 이해했습니다!


ok!

2016-03-08 15:23 GMT+01:00 David Romaní <notifications@github.com>:

> yes, for sure, remember that we need to manage cards from backend (only
> with list & show actions, no create & update)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Flexible-User-Experience/hidraulica-disseny/commit/e5a94315ee20e80c885147e937eb38e10b0f18b3#commitcomment-16562663>
> .
>

--
Anton Serra Torta
616.50.13.32


@gavinking this and `first` don't look right, since not all indexes of `store` are always in use. The code in `HashSet` looks like it will work, but isn't optimized.


Yes, I think it breaks various tests.


See `@PreAuthorize("hasPermission(#componentId, 'COMPONENT', 'GeneralPermission.ADMIN')")` in `TransactionalBranchService`


On Tue, Mar 8, 2016 at 2:07 PM, Michael Hatherly
<notifications@github.com> wrote:
>
> Thanks for the mention @svaksha, much appreciated! Your repo is such a great benefit to the Julia community.
>

@MichaelHatherly, Thank you for the kind words :)

SVAKSHA ॥  http://about.me/svaksha  ॥


Sorry, I figured this was mostly internal. I've removed everything which might involve Faraday internal details, and saved an internal copy.

Yeah, if this is a general-purpose, non-Faraday package, definitely don't bother with `Secretfile`, and perhaps reconsider the `:foo` syntax as well.


You don't need to move it to a different file. Just move it to a top-level function (outside of the IntentionBasedQuickFix class) and make it non-private.


The method I created is to get the VPC offering ID from its name. Here we are getting the VPC offering from its ID.


status--success would be more appropriate than __   (BEM conventions)


TeamCity Glyssen :: Glyssen-master Continuous [Build 0.2.5.b02f82ba0151e23a916425568c04f1615dbd1289](http://build.palaso.org/viewLog.html?buildId=70016&buildTypeId=bt431) outcome was **SUCCESS**
Summary: Tests passed: 1031, ignored: 12 Build time: 00:06:29


It's just what emacs' rust-mode does by default. Would you prefer something else?


username-input-block container - в этих блоках тоже контейнер нужно в отдельную внутреннюю обертку вынести. с белыми блоками вроде бы все понятно, но посмотри на блоки с серым фоном - там нужен тянущийся на всю ширину блок, в котором лежит этот серый фон, а внутри него - центровщик для контента. и это не может быть один и тот же элемент


Hi @andrei4002. Thanks for sharing this information. I'll check if there is a way to install the old firmware on my device and I'll see if that helps. Would be great if it does.

Have you tested if this API works with your AVR170? Did everything go as expected?


tfkfgkg


Code standard explicitly [says to use `is not None`](http://developer.lsst.io/en/latest/coding/python_style_guide.html#if-x-should-not-be-used-when-you-mean-if-x-none).


@dimagi/product @NoahCarnahan

Yup, Admin is a Java phone only concept, so makes sense to group it in with Unknown users.


These should be `static`, otherwise the `--strict-warnings` builds will fail (e.g. on Travis).


Line 141 and line 144 makes the CI test fail


to test


A tutorial which shows how to use the Callable Flows nodes in Integration Bus v10.


submit-block - это тоже не отдельный блок, а элемент формы, обертка, какой-нибудь __row-wrapper.
и класс container от него, как и везде, лучше отделить


I suggest you only install the non-develop dependencies here by using `npm install --production`. Otherwise all the development dependencies are also installed.


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


写的不错


require-text - должен быть не отдельным блоком, а элементом формы


remove employee logic and add this always


то же самое с классом container, что и везде


Please add the interface name nonetheless:
`"... interface %q: %v", tmpName, err)`


## Task 1

Write a program to count word usage in the given text.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.  You should use a *standard* dictionary as part of your function(s) to accomplish this task (see Task 2, where you'll use a slightly different type of dictionary).

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program uses a dictionary to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)

## Task 2

Using [Counter](https://docs.python.org/2/library/collections.html#collections.Counter) from the `collections` module, write a program to count word usage in the same text as above.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program uses a `Counter` to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)

## Task 3

Write a program that processess the given data to create a dictionary that maps the ExaML run name (e.g. ExaML_info.T6 as the `key`) to the ExaML log-likelihood value (e.g. -82924194.67 as the `value`). Use this function or a function that calls this function to prettily print the run name followed by the log-likelihood value in two column format to the screen.  Also include a function that sorts the log-likelihood values and helps us determine which run name minimizes the negative log likelihood value (e.g. the run name having the LL value closest to zero). Also output the name of this "best" run to the screen.

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program prints run name/LL in two column format and correctly sorts and reports the "best" ML result (4 pts.)


great work!


很好，我提交了


from work computer


ack


недоразметил кнопки и дальше ссылку "разработано"
социальные кнопки - это ссылки, иначе какой в них смысл, не для красоты же они. и ссылка на html-academy - тоже, конечно, ссылка


Before anyone worries, I am just winding my boss up ;)


Oh. Right. That was very subtle change I made.
I should have mentioned it.

Thank you for merging it.

Regina
> On Mar 8, 2016, at 6:21 AM, Hans Johnson <notifications@github.com> wrote:
>
> @reginakim <https://github.com/reginakim> I did not see line 862. Previously looking only at the patch diff, I did not see where teh "onlyT1" variable was used.
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/BRAINSia/BRAINSTools/commit/6a1c18a4602eef00d97d7c8edc9aa583b296f799#commitcomment-16560074>.
>


This will need a license header


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


I think a comment including the link you posted about "web development with Docker os OS X" would be nice to keep in mind why we need that uid.


just fixed.


Thanks! Exactly what I need~


`kind` feels like a somewhat awkward/ambiguous name. Maybe `op_type` or something? Just spitballin'.


in osgjs files generated ?


What is `Removable`?


Not yet, still in progress


Change to:
SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO("9.0")

Reason: Does not use negative unary operator. It's preferable to use positive if conditions that negative ones when applicable (more straightforward to read).


I would suggest to declare a string format constant with the content `"net.ipv4.conf.%s.proxy_arp"` and fill in the interface name in the call using `fmt.Sprintf(...)`

Another thing I would like to ask you for, could you please prepare IPv6 support with a respective TODO where the IPv6 code will be?


давай уберем тут ссылку. логотип ссылается на главную страницу, а мы сейчас и так на ней


Note: GTEX-1477Z-0011-R10b-SM-5S2RF is a new sample (not present in previous RNASeqLibrary versions)


I don't like the renaming of the icons.


Acceptance done :+1:


Unneeded method since it only calls the super.didReceiveMemoryWarning(). Having it or not is the same :)

Solution: remove the method.


**Nitpick - Code Quality**
We have a similar issue here just as we did with `subject.comment` i.e. creating another variable to hold `user`.


I'd vote for keeping it; people know the `filtfilt` function from Matlab and SciPy so they will expect it to exist if they see `filt`. `syn.filt(x, filtfilt=True)` isn't as weird looking as I would have though, but `syn.filtfilt(x)` is definitely nicer.


**Nitpick - Code Quality**
We have a similar issue here just as we did with `subject.comment` i.e. creating another variable to hold `product`.


Note: GTEX-1477Z-0011-R5b-SM-5PNUO is a new sample (not present in previous RNASeqLibrary versions)


ご指摘ありがとうございます！発生していたので対応しました :sweat_drops:


Neither of these are ready for submission. I would close this pull request.


see examples here https://docs.puppetlabs.com/puppet/3.8/reference/yard/Puppet/Parser/Functions.html#newfunction-class_method


p.s. I mite have just understood what you mean with the restriciton site reverse transcription. Basically if a motif is for example 5-attcg-3 i need to search for that motif and also for its complementary, which is 5-cgaat-3, still in the DNA same strand right?

Date: Tue, 8 Mar 2016 03:57:32 -0800
From: notifications@github.com
To: Biocomp2Project@noreply.github.com
CC: g.nocchi@hotmail.com
Subject: Re: [Biocomp2Project] Removed another unused line. (e0a99ef)

Shouldn't this return an array of start positions and an array of end positions in the gene sequence to be given to @DolapoA 's layer where he adds the HTML?

—
Reply to this email directly or view it on GitHub.


irrelevant


I get an error here ```SyntaxError: EOL while scanning string literal``` on the 3rd replace.


https://youtu.be/SeVNwUKd8s0   // 9 week edit


Is this necessary to avoid circular imports?  It's definitely a bit awkward having a `process.py` and `processes.py`, it'd be nice if we could avoid that.


Thanks!


where -> were


はい、その通りでした…。このifによるチェックは不要そうだったので削除しました。


Gracias Álex.

Saludos.


I used the convention of all the other icons in the system folders, they're all snake_case and not CamelCase.

Feel free to not apply it.


Спасибо! Они уплывают, потому что на данный момент адаптивно только для телефона и для ноутбука. Для остальных разрешений оно не адаптивно, поэтому смотрится не столь адекватно


We want to keep both tests for some time.


This is great! Yet, we can do better:

You can extend these methods as they did in the 4rd response here:
https://stackoverflow.com/questions/24503001/check-os-version-in-swift

We can extract this methods to a separate static class that can be used elsewhere in the app. In other words, the PlanTripsController just handles the trips, the class does not have the responsibility to know how to compare iOS versions :)


can you add a fullstop at end ?


page-descr__title - это может быть не h1, но и не span


The blobs from https://github.com/niv71/proprietary_vendor_samsung/tree/cm-13.0-nivron? I don't see any changes to the GPS blobs in recent commits.


Definitely a win

On Tue, Mar 8, 2016 at 8:48 AM, sheelio <notifications@github.com> wrote:

> @dimagi/product <https://github.com/orgs/dimagi/teams/product>
> @NoahCarnahan <https://github.com/NoahCarnahan>
>
> Yup, Admin is a Java phone only concept, so makes sense to group it in
> with Unknown users.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dimagi/commcare-hq/commit/aaecbd02a982805dfdb645a6eeea346550ef63fb#commitcomment-16563236>
> .
>


公開状態でGroongaのインデックスを作成したあとに非公開にするケースをテストしたかったので、
一度公開状態で登録して、あとから非公開に更新したのでした。


Heh. This is why you don't pick from gerrit. I never finished it. Well atleast not publicly ;)


download-block__download-btn - в прошлый раз не написала, кнопки чаще всего делают отдельными блоками, а не элементами блоков, потому что это компонент, который часто используется повторно


Not necessary


@mjgiarlo Thanks, let's try that. PR submitted.


一度publishされたものをpublishでなくしたということを表現したかったのでした…


download-block__os-choose-btn - тут кнопка тоже отдельный блок


I love seeing who kangs shit and figures out later that shits broken.  Fits though in broken rom ;)


No, the blobs on CMRemix.  That's why you don't have any GPS issues -- you're using my blobs.


idem


probably we should send people to the "fn item types should be zero-sized" issue, and we can write-up something more explanatory there


hmm, yes
I'll redo this thing


-DCMAKE_INSTALL_KU --> -DCMAKE_INSTALL_PREFIX (I think).


@nickcatal Wait…wut? Really? Did you mention this on the API forums?


Nit: I might be wrong but is the final "." necessary for `@` clauses? This also applies to the vargarg method.


Fixes #13


Can we extend this comment with an example of what kind of code is being handled here?


Thanks!


rejected. do this.


any reason not to undefine the macro here?


it's still the better way to handle aircraft states (imo, but discussed at length), and I did say this would go back in after 101.


:notes: yo! :musical_keyboard:


It is totally a magic number. From the epmd docs:

```
NodeType
77 = normal Erlang node, 72 = hidden node (C-node),...
```


Replaced some vanilla javascript with build-in jQuery functions. Used the timing function in JS to determine when to hide navbar with a class (instead of the build-in fade function which sets an inline-style). Now every style in the navbar is controlled by the CSS.


This bug was preventing the course detail page to load if there was no user signed in. Good stuff!


(Don't actually need the null check here..)


@adamonduty given that this is a new component, consider adding some initial documentation (see additionalDetails.hrml files in other NARs)


Yeah, I'm aware of the work of @apaszke, but I have difficulties reading it... :sob:
I'm fine with macros, I simply thought that here `data` was a variable, that's all.


What about `Lists.newArrayListWithExpectedSize(others.length + 1)`?


Right, will remove it in the refactor.


These were updated after the beta.3 release. If nothing breaks in the framework this can be updated but it hasn't been thoroughly tested yet.


Thanks, this is why long descriptions are important. "Fix icons not installing" is then also the wrong short description. It only needs to be checked that the Python code and other parts don't use these differently.


fix this


Why does this line exist? Doesn't the rosserial process already block the hardware serial pins 0 and 1?


I know...will be fixed when the next bunch of files is ready.


Reviewing the code before releasing 2.0.1 later this week. I think the `autoptimize_separate_blog_caches` filter should not be a condition here (and further below), as in this function we're pruning wp super cache's cache (amongst ohters). the filter does not affect wp super cache and hence we should not check it when pruning the cache? or am I missing something?


Should we copy this file over to some backup file, with a timestamp in its name?


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 18637](https://teamcity.mesosphere.io/viewLog.html?buildId=156802&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:05:03


@gonzomir same here


@gmillz No kang...Picked, authorship present...Not broken anymore...Quit being so sensitive.... ;)


hahahahahaha you are so funny, you easily blame him for his mistakes (which he fixed later on) but you don't see all the work and time he put in the navbar customization.
I'd love to see you write your own nav customization better than @gmillz 's one.


You seem to be printing to the serial here. This will result in a ROS failure, with a lost sync.


Without the underscore having it like the "gameconqueror" script and package name looks even better to me.


I would rather not use pip to pull this, but use the appoved package for the test.

 yum-builddep atomic

Will install all packages needed by the atomic command.


The "best" ML result is not correct, the best run is -82924194.67. The sort method used is not working as expected.


I wrote a bit about it in the description of the PR, it seems more immediately helpful - but if you want to edit that issue's description, I can change this to point to the issue.


Also remove this.


Ignore this. I see that it has to be deleted.


@Thecrazyskull We dont need cheerleaders, thanks tho....


Clean code - лабораторная принята. Все здорово, молодец.
Как совет только, чтобы на разных платформах (ОС) перенос на новую строку был одинаковый, можно использовать System.lineSeparator(). Она возвращает для Mac OS \\n, для Windows - \r\n, для Linux - \n. Это не недочет, просто совет.
И внутрениие класс компаратор можно заменить на отдельное private поле, и сразу его инициализировать.


Yes, but if the test fails for any reason; it could be fine to have more logs on the response.
For we should add such logs in every _Then_ in Jmap


idem


Hy @gcallsen cf same question asked on twitter: https://twitter.com/ibuildthecloud/status/706533631905280000

@ibuildthecloud answered: "t was unmaintained largely.  We have a  more scalable docker-machine based setup we'll hopefully publish soon"

let's wait then :)


Uploaded the barebones, and a simple class prototype for the add-on. Nothing working at the moment.


@theomega Can you link me to some docs on this? Is there a case where someone running a `node` app in staging environment would want the development dependencies?


Sure!


From parsed string? The string should be properly color-handled.


so these other [info] outputs come from zinc and need to be replaced eventually. CBT has it's own logger that should be used instead. Replace

```scala
println(s"""[info] Cleaning ${compileTarget.toPath}""")
```

with
```scala
logger.lib(s"""Cleaning ${compileTarget}""")
```

(toPath seems not needed)


I agree to both your points.
I'm sorry my commit messages were unclear, I probably wanted to have another go at re-polishing, but had several issues in that week and I forgot about gameconqueror till now.


Goooooooood start!!!


The conditional check here should be "x$enable_bzip2" != "xno". This way, if neither --enable-bzip2 nor --disable-bzip2 is specified, the default is to enable the bz2 checks.


What about null cases? Null and the JsonNull instance? Do we possibly need to handle them here?


## Task 1

Write a program to count word usage in the given text.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.  You should use a *standard* dictionary as part of your function(s) to accomplish this task (see Task 2, where you'll use a slightly different type of dictionary).

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program uses a dictionary to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)

## Task 2

Using [Counter](https://docs.python.org/2/library/collections.html#collections.Counter) from the `collections` module, write a program to count word usage in the same text as above.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program uses a `Counter` to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)

## Task 3

Write a program that processess the given data to create a dictionary that maps the ExaML run name (e.g. ExaML_info.T6 as the `key`) to the ExaML log-likelihood value (e.g. -82924194.67 as the `value`). Use this function or a function that calls this function to prettily print the run name followed by the log-likelihood value in two column format to the screen.  Also include a function that sorts the log-likelihood values and helps us determine which run name minimizes the negative log likelihood value (e.g. the run name having the LL value closest to zero). Also output the name of this "best" run to the screen.

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program prints run name/LL in two column format and correctly sorts and reports the "best" ML result (4 pts.)


let's move this function up to the library level. Will be useful in other places, too.


@wsx96 :+1:


What's wrong with opx adreno blobs?
Are you trying to get better hw video support in 6.0?


(e173d61) The title of the commit doesn't respect guideline ("type(scope): title (refs #<number>[, ...])")


Let's not print this out to the logs.


It doesn't work, ABP still can hide them.


Renaming is still risky as it may break the packaging for many distributions. So this should be definitely only done for the v0.16 series and not for the v0.15 stable series.


private


No tests to make sure that bob also received the e-mail ?


This is funny. Glad I had my coffee this morning. And throwing the word kang out is funny. Lots of laughs.


Hmm, per RFC7230, 6.1 Connection: can actually control hop-by-hop'ness of things.


good job!


@rhatdan That would also need superuser privileges.

I think we should explicitly fail to run tests and inform the user that s/he needs to install dependencies. There we can mention `yum-builddep atomic` ( for Fedora / CentOS ). Similarly for any other distribution the message could change.

If on the other hand, if we have

 * a `virtualenv` setup,
 * and docker environment variable

Then we can just run all the test automatically on a remote machine ( or a VM for example )


else still not needed.


Sure, we can do that.


It creates a new object by deep merging the 2 args.

We need to do this for bb.util, goog.dom, and goog.userAgent because of how this script works.

1) If I'm loading the file bb.util.domUtil, the loader will first create for me an empty object at bb.util.domUtil (and any other location which I'm providing).
2) Next we add the code here, which sets a value for each require like this:
var bb.util = require('bb.util').bb.util;
3) Now we run our file which has lines like:
bb.util.domUtil.downloadToFile = function(linkContents, fileName) {
...

The problem is, our assignment in step 2 deleted the work of step 1 so bb.util.domUtil doesn't exist anymore. :(
Doing a merge fixes that issue which is what I had done in a previous review with the tempRequired stuff.
The merge is dangerous though because it means each file has a different copied object from the merge.  This caused triple equals checks on goog.iter.StopIteration to fail and iters to break.
This problem only occurs for namespaces which are required by a child of the namespace (bb.util, goog.dom, goog.userAgent).


@Minecrell: It was required before @windy1 moved the plugin-meta stuff back out of `SpongeGradle`. The asset manager updates were only present in the `SpongeGradle` repository, preventing SpongeVanilla from compiling.


best-photo-today и user-posts-block - это одинаковые блоки в общем-то, это какой-то например gallery-item. первый блок отличается в разметке тем, что картинка лежит вне центровщика и на ней какой-то флажок (которого я у тебя в разметке не вижу)


I think you are speaking about joda-time ;)


fixes https://github.com/kieranjol/IFIscripts/issues/20


@FreeCX, output is private?


TaskCluster-GitHub: https://tools.taskcluster.net/task-graph-inspector/#JJU3tddDQwuTlOiApb6Cdw


这里引发bug


Which Timezone ?


@FreeCX , if output is private field, how it works?


Does this code really need to check that the target name exists by doing a linear search? Can't you simply try parsing it and throw when all _targetParsers have been tried?


Aha, so you implemented this here.


Uhm, errr, no: `10*var(X) != var(10*X)`. Calculations should be based on `10*df.consolidated.gfnow$user_score` instead of multiplying the result.

(Also compare in the line comments how `sd^2!=var` due to this: 12.61^2 isn't 15.90, whereas 1.261^2==1.590).


кнопка - отдельный блок


Ок, пусть так. Так тоже не плохо.
Забыл Вас с 8 Марта поздравить. Счастья, здоровья и успехов!


If possible, I think it'll be safer to use the updateConfig method in GoConfigDao. Don't you think?

Also, we should do this within a lock (as in updateConfig). Otherwise, some other config change can get lost during this.


Hi eng.STK
OOS opx blobs won't boot on marshmallow,so I switched to bacon's .Bacon's adreno has this pixel alignment issue with camera(to work around that we need hacks).So safely sticking around with hammerhead's which doesn't have any of those issues.


Спасибо огромное! Очень приятно!!!)))


This fix is already merged.


:+1: Much clearer explanation. Whoever pointed that out must be an immutable genius.


Here the instructions for Debian:
https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-byte_compilation
It seems we need to generate/remove them ourselves.


I am a bit worried with a function like this what happens in case of a bug. We don't want to accidentally delete the wrong files. Maybe we can at least put a simple assertion into class Build

```scala
assert{
  val path = lib.realpath(projectDirectory).toString
  path.nonEmpty && path != realpath( new File( Option( System.getProperty("user.home") ).get ) )
}
```


@CrackerTeg still i'd love to see you write your own navbar customization which is (at the very least) as good as slims/ @gmillz 's


I noticed the relative path wasn’t resolving on the npm package page. For future reference, how did you get the `githubusercontent.com` URL?


'CreateAccountModal' repeated.


Great! Except a href still points to gudrunb@nams.is


This resolves the issue for me by restarting the netctl device on every boot. Not super elegant as it may already have been perfectly started and other services relying on it.


I uploaded the screenshot to github using the new issue page, that link never expires so used it here


Can you add a test case for this bug please?


nice fix!


Neat, thanks! :+1:


@Thecrazyskull no one said it was bad, or anyone was any better..Please stop with the poking..The message was worded poorly, Ill be the first to say that, but shit is what it is....We could move on easily without turning this into any more of a flame war....Trying to admit it couldve been worded better for sure and squash this shit early....


@12345ieee interesting, never noticed all debian python packages add those :confounded:


I am definitely out of mind when i read that! hehe. Sure,  is it increasing order of bit size you have in mind ?


We should extract all statements somewhere else.


All of this happens in a single thread during server startup,so don't need a lock yet. Will have to implement locking when/if I add an API to do this.


Is there an easy way of telling whether this is only called on the master? I note that Xapi_sr_operations.update_allowed_operations (which calls this code) is called from Xapi_pbd.plug. Presumably that code could be run on a slave...?

If the RPC overhead is higher than the overhead of iterating through all the VDIs then I agree that this could make things slower in the case of SRs with small numbers of VDIs.

If you could help me confirm that this code could be run on a slave then I will suggest some alternative approaches.


That's not quite what I meant. All you need is
`guard_move_is_on_board?(x_new, y_new)`
It won't return false, but it will throw an error, which is better because if it is possible for an off board move to be made, then there is an bug in our code and this lets us know about it.


What do you mean by 'all _targetParsers have been tried'? Calling brion::Target::parse returns 0 GIDs? If so, returning 0 GIDs does not mean that the target does not exist. Can you clarify?


:joy:


Sounds good to me.


@Aaron1011 Yes, but then you should have commented it out on SV similar to SpongeAPI, I did change it back from SpongeGradle on purpose. :)
Anyway, everything is fixed now so all is well.


license missing


`update_allowed_operations` calls `valid_operations` but wants to know about potential errors for *all* possible operations. In that case, there's no need to specify anything for `op` as the default behaviour is still to check for errors for all operations.


Was that during a fresh install or when re-deploying `tl`?


What about this was broken? I would expect the time uuid to have adequate resolution that 0.2 seconds is plenty.


Typo: s/detroy/destroy


Why not use the Cassandra implementation?


Проверил, посмотрел?


We actually set this in config. The reason for that is that often Akamai integrations have a separate edit domain to their public domain, so we want to make sure we are purging the correct domain path.

Can you update this to grab it from config?


Why? This is really useful for flagging where we're missing tests.


Instead of tying this to bash, could we remove the quotes in lines 841 and 865 for the same effect?


Estás bien idiota Mertín


@varund7726  this method already places on line 2713 . duplica call causes fc


https://github.com/spring/spring/commit/788c804e1e407fc1506036c308f40df948fb4c2e didn't have me convinced then, and I'm still not convinced now

I still think the pros (can you point me at a concrete one?) are far smaller than the cons (breaking compatibility with a large number of unit scripts that rely on the current behaviour).

Fire up BAR after your change, /give armbrawl, move it around and see how stupid it looks now.


Might be worth to pull this condition out into helper, to avoid repeating it?


@InkSlinger666 fair enough :)


Is it necessary to pass the mode to 'CreateAccountModal'?


thx


**Nitpick - Code Quality**
Please remove commented out code.


@richardversluis Are you also able to publish a new NuGet version including this change?

(I see that both the Changelog as well as the Nuget changelog have not been updated between 0.3.2 and this version)


This might cause older runs of [package materials](https://github.com/gocd/gocd/blob/430ada29781e0352c14b1d15744c7e295f67a342/common/test/unit/com/thoughtworks/go/config/materials/PackageMaterialTest.java#L155) and [pluggable SCM materials](https://github.com/gocd/gocd/blob/430ada29781e0352c14b1d15744c7e295f67a342/common/test/unit/com/thoughtworks/go/config/materials/scm/PluggableSCMMaterialTest.java#L170) to become unusable.


n/m, it was tessera that caused the problem. Fixed in https://github.com/AmericanRedCross/posm-build/commit/c4230648ee4dc229af129741cc7dcc76ab9d2455


We don't want to let the request proceed if URLs are invalid, as the Akamai API will just reject the request if we send it.  Can we kill the request somehow and log a message?


**Nitpick - Code Quality**
Add a newline before this line.


I'm surprised no one sees the humor in the message. This is just stupid already. And it ain't Griff's customization. It's kufi's. Griff did a squash and port of LP code and deleted the book. All I did was readd it and make a funny commit message.


Estoy de acuerdo


You may use joda + a given TimeZone


Thank you. I did a global search for these, but only in posm-admin.


Thanks for putting these docblocks in. Can we document the arguments too?


Is this a marker interface? Seems that has no methods on it. Is this really necessary?


user-text - это элемент блока, который gallery-item или как там ты его назовешь, обертка какая-то. внутри лежат соответственно gallery-item__user-name и так далее


do not to use any past tense in commit message.


caNceled


Actually we could probably fix this by adding anything our VPC's IP range as a trusted proxy in the config, but it's not worth doing. There's no real reason to keep supporting HTTP.


Oops, forgot the filename to grep against! Fixed in 3fbe1b5


bon il faut que l'on se mette à utiliser des outils pour appliquer automatiquement un style de code, parce que visiblement @david-cazier a du mal avec le placement des accolades :smiley:


Just so that it tests a little bit wider, can you use a p4 material here?


Hmm, in the second half of the conditional, what if up is more_names.end()? Quite possible even if more_names is non-empty.


In general, I'd like to see this functionality generalised across all URL purging functions, so its probably best to handle it via `purgeRequest()` or `createPurgeBody()`. It would be great to see this broken out into its own function too.


What do you think the correct I implementation should be?

Sent from my iPhone

> On 08 Mar 2016, at 15:46, John Vasileff <notifications@github.com> wrote:
>
> @gavinking this and first don't look right, since not all indexes of store are always in use. The code in HashSet looks like it will work, but isn't optimized.
>
> —
> Reply to this email directly or view it on GitHub.
>


I meant bool and not book.


Les surfaces peuvent être géniales, mais ce qui nous intéresse ici, c'est leur genre -> "genus" :-)


I can't get this test passing on my computer. The MAX/MIN Time returned always catch all rows. Let's remove this from this PR and investigate more later.


Ok (about the lock). The reason for mentioning `updateConfig` is so that it gets validated.


Why was this change necessary?

The new version will return `nil` instead of a libspec if the modification time doesn't match.  I don't see why that's a good idea.


Cool, I was using this: http://wiki.nesdev.com/w/index.php/Mapper, but I can check out the other documentation as well.


Align 2nd arg with 1st one.


likewise


Все здорова, работа зачтена. Замечание только, что пользователь A может редактировать и удалять сообщения пользователя B.


Since this is a Django app, what about using `django.utils.module_loading.import_string`?


gotta rename this test now


----

11. Parameter handling

Parameter handling has been significantly upgraded in ECMAScript 6. It now supports parameter default values, rest parameters (varargs) and destructuring.
ECMAScript 6에서 parameter handling은 크게 향상되었다. 이제 parameter 기본값, rest parameter(varargs : 가변인자?), 그리고 destructing을 지원한다.

For this chapter, it is useful to be familiar with destructuring (which is explained in the previous chapter).

앞 장에서 나온

11.1 Overview
Default parameter values:

function findClosestShape(x=0, y=0) {
    // ...
}
Rest parameters:

function format(pattern, ...params) {
    return params;
}
console.log(format('a', 'b', 'c')); // ['b', 'c']
Named parameters via destructuring:

function selectEntries({ start=0, end=-1, step=1 } = {}) {
    // The object pattern is an abbreviation of:
    // { start: start=0, end: end=-1, step: step=1 }

    // Use the variables `start`, `end` and `step` here
    ···
}

selectEntries({ start: 10, end: 30, step: 2 });
selectEntries({ step: 3 });
selectEntries({});
selectEntries();

11.1.1 Spread operator (...)

Spread operator (...)

In function and constructor calls, the spread operator turns iterable values into arguments:

functions이나 생성자에서 호출시, 이 spread operator는 iterable value를 argument로 변환한다.

> Math.max(-1, 5, 11, 3)
11
> Math.max(...[-1, 5, 11, 3])
11
> Math.max(-1, ...[-1, 5, 11], 3)
11
In Array literals, the spread operator turns iterable values into Array elements:

배열 리터럴에서 spread operator는 iterable 변수들을 배열 element로 변환한다.

> [1, ...[2,3], 4]
[1, 2, 3, 4]
11.2 Parameter handling as destructuring
The ES6 way of handling parameters is equivalent to destructuring the actual parameters via the formal parameters. That is, the following function call:

function func(«FORMAL_PARAMETERS») {
    «CODE»
}
func(«ACTUAL_PARAMETERS»);
is roughly equivalent to:

이는 대강 아래와 같다

{
    let [«FORMAL_PARAMETERS»] = [«ACTUAL_PARAMETERS»];
    {
        «CODE»
    }
}
Example – the following function call:

예를 들어 아래의 function을 호출하면

function logSum(x=0, y=0) {
    console.log(x + y);
}
logSum(7, 8);
becomes:

이렇게 된다.

{
    let [x=0, y=0] = [7, 8];
    {
        console.log(x + y);
    }
}
Let’s look at specific features next.

다음에서는  을 보도록 하자

11.3 Parameter default values
ECMAScript 6 lets you specify default values for parameters:
ECMAScript 6는 parameter를 위해 구체적인 default value를 가능하게 해준다???????

function f(x, y=0) {
  return [x, y];
}
Omitting the second parameter triggers the default value:
두번째 parameter를 생략함으로써 default value가 되도록 한다.

> f(1)
[1, 0]
> f()
[undefined, 0]
Watch out – undefined triggers the default value, too:

undefined 역시 default value를 발생시키는 것을 볼 수 있다.

> f(undefined, undefined)
[undefined, 0]
The default value is computed on demand, only when it is actually needed:

이 default value는 실질적인 필요가 있을때에는 언제든지 산출된다.

> const log = console.log.bind(console);
> function g(x=log('x'), y=log('y')) {return 'DONE'}
> g()
x
y
'DONE'
> g(1)
y
'DONE'
> g(1, 2)
'DONE'
11.3.1 Why does undefined trigger default values?

왜 undefined가 default value를 발생시키는가?

It isn’t immediately obvious why undefined should be interpreted as a missing parameter or a missing part of an object or Array.
The rationale for doing so is that it enables you to delegate the definition of default values. Let’s look at two examples.

왜 undefined가 missing parameter 혹은 object나 array의 missing part처럼 interprete되는지 아주 명확하지는 않다.
이에 대한 이론적인 근거는 default value의 정의를 위임할 수 있다는 것이다. 아래의 두 예제를 보자.

In the first example (source: Rick Waldron’s TC39 meeting notes from 2012-07-24), we don’t have to define a default value in setOptions(), we can delegate that task to setLevel().

첫번째 예제에서, 우리는 setOption()에서 default value를 정의내릴 필요가 없다. 우리는 이 작업을 setLevel()에 위임할 수 있다.

function setLevel(newLevel = 0) {
    light.intensity = newLevel;
}
function setOptions(options) {
    // Missing prop returns undefined => use default
    setLevel(options.dimmerLevel);
    setMotorSpeed(options.speed);
    ···
}
setOptions({speed:5});
In the second example, square() doesn’t have to define a default for x, it can delegate that task to multiply():

두 번째 예제에서 squrare()는 x의 default를 정의할 필요가 없다. 이는 multiply()에 위임하여 처리할 수 있다.

function multiply(x=1, y=1) {
    return x * y;
}
function square(x) {
    return multiply(x, x);
}
Default values further entrench the role of undefined as indicating that something doesn’t exist, versus null indicating emptiness.

null이 빈 값을 지칭하는 것과는 대조적으로. default value는 undefined가 존재하지 않는 어떤 것을 보여주는 역할로 자리잡게 해준다.

11.3.2 Referring to other parameters in default values

default value에서 다른 파라미터 참조하기

Within a parameter default value, you can refer to any variable, including other parameters:

default value parameter에서 당신은 다른 parameter를 포함한 어떤 변수든지 참조할 수 있다.

function foo(x=3, y=x) { ··· }
foo();     // x=3; y=3
foo(7);    // x=7; y=7
foo(7, 2); // x=7; y=2
However, order matters: parameters are declared from left to right and within a default value, you get a ReferenceError if you access a parameter that hasn’t been declared, yet.
??
그러나 order matter는 parameter는 왼쪽에서 오른쪽으로 정의되어야 하는데 default value내에서는 아직 정의되지 않은 parameter에 접근했다는 referenceError를 얻게된다.

11.3.3 Referring to “inner” variables in default values
default value에서 내부에 있는 변수들을 참조하기

Default values exist in their own scope, which is between the “outer” scope surrounding the function and the “inner” scope of the function body. Therefore, you can’t access “inner” variables from the default values:
????
default value는 그들의 고유한 scope에서 존재한다. 이 영역은 function으로 둘러싸인 외부 영역과 functions의 내부 영역 사이에 있다.
따라서 당신은 default value로부터 내부 변수에 접근할 수 없는 것이다.

const x = 'outer';
function foo(a = x) {
    const x = 'inner';
    console.log(a); // outer
}
If there were no outer x in the previous example, the default value x would produce a ReferenceError (if triggered).
위 예시에서 만약에 외부의 x가 없었다면 default 값 x는 ReferenceError를 발생시킬 것이다.

This restriction is probably most surprising if default values are closures:
만약 default 값들이 닫혀있다면 이런 제약은 아마 아주 놀랍게도 :

function bar(callback = () => QUX) {
    const QUX = 3; // can’t be accessed from default value
    callback();
}
bar(); // ReferenceError
To see why that is the case, consider the following implementation of bar() which is roughly equivalent to the previous one:

??
그런 이유를 확인하려면, 이 전의 것과 거의 유사한 다음의 bar() 구현을 고려하여 :

function bar(...args) { // (A)
    const [callback = () => QUX] = args; // (B)
    { // (C)
        const QUX = 3; // can’t be accessed from default value
        callback();
    }
}
Within the scope started by the opening curly brace at the end of line A, you can only refer to variables that are declared either in that scope or in a scope surrounding it.
Therefore, variables declared in the scope starting in line C are out of reach for the statement in line B.

line A의 끝쪽에 중괄호로 시작된 scope 내에서, scope내부나, } 로 둘러쌓인
따라서 lineC에서 시작되는 scope에 정의된 변수들은 lineB의 정의식에서는 접근할 수 없다.

11.4 Rest parameters
Putting the rest operator (...) in front of the last formal parameter means that it will receive all remaining actual parameters in an Array.

function f(x, ...y) {
    ···
}
f('a', 'b', 'c'); // x = 'a'; y = ['b', 'c']
If there are no remaining parameters, the rest parameter will be set to the empty Array:
만약 남아있는 parameter가 없으면, rest parameter는 빈 배열이 될 것이다.

f(); // x = undefined; y = []
The spread operator (...) looks exactly like the rest operator, but it is used inside function calls and Array literals (not inside destructuring patterns).
spread operator (...)는 rest operator와 매우 유사하지만, 이는 내부 함수 호출과 배열 literal에서만 쓰인다.(destructuring pattern의 내부는 아님)

11.4.1 No more arguments!
더이상의 argument는 음슴!

Rest parameters can completely replace JavaScript’s infamous special variable arguments. They have the advantage of always being Arrays:
Rest parameter는 완벽하게 javascript의 악명높은 가변인자(varargs)??를 대체할 수 있다. 언제나 배열로 존재한다는? 장점을 가지고 있다.

// ECMAScript 5: arguments
ECMAScript 5의 argument
function logAllArguments() {
    for (var i=0; i < arguments.length; i++) {
        console.log(arguments[i]);
    }
}

// ECMAScript 6: rest parameter
ECMAScript6의 rest parameter
function logAllArguments(...args) {
    for (const arg of args) {
        console.log(arg);
    }
}

11.4.1.1 Combining destructuring and access to the destructured value
destructing과의 결합과 destructed value로의 접근

One interesting feature of arguments is that you can have normal parameters and an Array of all parameters at the same time:
arguments의 한 가지 재미있는 면은 동시에 일반적인 parameter와 모든 parameter의 배열을 동시에 가질 수 있다는 점이다.

function foo(x=0, y=0) {
    console.log('Arity: '+arguments.length);
    ···
}
You can avoid arguments in such cases if you combine a rest parameter with Array destructuring. The resulting code is longer, but more explicit:

만약 당신이 rest parameter와 Array destructing을 결합하는 경우 argument를 방지할 수 있다??.  code는 길어지지만 보다 명확하다.

function foo(...args) {
    let [x=0, y=0] = args;
    console.log('Arity: '+args.length);
    ···
}
The same technique works for named parameters (options objects):
같은 기술이 named parameter에서 동작함:

function bar(options = {}) {
    let { namedParam1, namedParam2 } = options;
    ···
    if ('extra' in options) {
        ···
    }
}

11.4.1.2 arguments is iterable
argument가 iterable함.

arguments is iterable1 in ECMAScript 6, which means that you can use for-of and the spread operator:
ECMAScript 6에서는 argument는 iterable하다. 이는 당신이 for-of와 spread operator를 이용할 수 있음을 의미한다.

> (function () { return typeof arguments[Symbol.iterator] }())
'function'
> (function () { return Array.isArray([...arguments]) }())
true
11.5 Simulating named parameters
named parameter simulate

When calling a function (or method) in a programming language, you must map the actual parameters (specified by the caller) to the formal parameters (of a function definition). There are two common ways to do so:
function(혹은 method)를 개발언어에서 호출할 때, 실제 parameter-실제 인자(호출시에 정의되는거) 를 formal parameter-형식인자(function이 정의의)와 mapping해주어야 한다.(짝지어줘..)
두 가지 일반적인 방법이 있는데:

Positional parameters are mapped by position. The first actual parameter is mapped to the first formal parameter, the second actual to the second formal, and so on.
위치변수? 는 위치로 지정된다. 첫 번째 실제 인자는 첫번째 형식parameter와 짝지어지고, 두번째는 두번째 .. 계속 그렇게 됨.

Named parameters use names (labels) to perform the mapping. Names are associated with formal parameters in a function definition and label actual parameters in a function call.
명명된 parameter는 mapping을 위해 이름(label)을 이용한다. name은 선언된 함수의 formal parameter, 호출된 함수의 실제 인자 label과 연관된다.

It does not matter in which order named parameters appear, as long as they are correctly labeled.
이는 스펠링이 맞던지 명명된 파라미터가 나타난? 순서랑은 관계가 없다.

Named parameters have two main benefits: they provide descriptions for arguments in function calls and they work well for optional parameters.
named parameter는 두 가지 이점이 있는데: function 호출된 argument의 description을 제공하고 optional parameter를 위해 아주 잘 동작한다. ?????????????????

???

I’ll first explain the benefits and then show you how to simulate named parameters in JavaScript via object literals.
이득을 보여주고 나서 javascript에서 named parameter어떻게 쓰는지 object literal로 시범을 보여줄게.

11.5.1 Named Parameters as Descriptions
As soon as a function has more than one parameter, you might get confused about what each parameter is used for.
functions이 하나 이상의 parameter를 가짐에 따라, 각 파라미터가 어디에 이용되는지 혼란스러울 수 있다.

For example, let’s say you have a function, selectEntries(), that returns entries from a database. Given the function call:
예를 들어 너가 database로부터 entry를 반환하는 selectEntries()라는 functions을 가지고 있다고 치면, function 호출:

selectEntries(3, 20, 2);
what do these three numbers mean? Python supports named parameters, and they make it easy to figure out what is going on:
이 3 숫자들이 의미하는게 무엇일까? 파이썬은 네임드 파라미터를 지원하고, 또 무슨일이 벌어지는지 쉽게 알수 있게 해준다.

# Python syntax
# 파이썬 문법
selectEntries(start=3, end=20, step=2)

11.5.2 Optional Named Parameters
선택적 네임드 파라미터

Optional positional parameters work well only if they are omitted at the end. Anywhere else, you have to insert placeholders such as null so that the remaining parameters have correct positions.
선택적 위치의 네임드 파라미터는 마지막에 생략되었을 때는 아주 잘 동작한다. 다른 곳에서, 당신은 파라미터들이 올바른 위치를 유지할 수 있도록 null과 같은 자리표시 힌트를 넣어주어야 한다.

With optional named parameters, that is not an issue. You can easily omit any of them. Here are some examples:
선택적 네임드 파라미터에서는 이것은 문제되지 않는다. 당신은 그 중 어떤것이라도 생략해도 된다. 여기 예제가 있는데:

# Python syntax
파이썬 문법
selectEntries(step=2)
selectEntries(end=20, start=3)
selectEntries()

11.5.3 Simulating Named Parameters in JavaScript
자바스크립트에서 네임드 파라미터 써보기

JavaScript does not have native support for named parameters like Python and many other languages.
자바스크립트는 파이썬이나 다른 많은 언어처럼 네임드 파라미터를 근본적으로 지원하지는 않는다.

But there is a reasonably elegant simulation: name parameters via an object literal, passed as a single actual parameter. When you use this technique, an invocation of selectEntries() looks as follows:
하지만 꽤 멋진 시뮬레이션이 있는데 : 오브젝트 리터럴을 통한 네임드 파라미터는 하나의 실제 파라미터로 통한다. 니가 이 기술을 이용하면, selectEntries()의 호출은 아래와 같겠다:

selectEntries({ start: 3, end: 20, step: 2 });

The function receives an object with the properties start, end, and step. You can omit any of them:
이 function은 start, end, step의 property를 가진 object를 받는다. 너는 이중에 암거나 생략할 수 있다:

selectEntries({ step: 2 });
selectEntries({ end: 20, start: 3 });
selectEntries();

In ECMAScript 5, you’d implement selectEntries() as follows:
ECMAScript5에서는 selectEntries()를 아래처럼 구현했어야 했다:

function selectEntries(options) {
    options = options || {};
    var start = options.start || 0;
    var end = options.end || -1;
    var step = options.step || 1;
    ···
}
In ECMAScript 6, you can use destructuring, which looks like this:
ECMAScript6에서는 destructing을 이용할 수 있고, 아래와 같다:

function selectEntries({ start=0, end=-1, step=1 }) {
    ···
}

If you call selectEntries() with zero arguments, the destructuring fails, because you can’t match an object pattern against undefined.
만약 너가 인자 없이 selectEntries()를 호출하면 destructuring은 실패한다, 왜냐면 undefined에 대해 오브젝트 패턴을 매치할 수 없기 때문이다.

That can be fixed via a default value. In the following code, the object pattern is matched against {} if there isn’t at least one argument.
이는 default value를 통해 고정할 수 있다. 다음의 코드에서,만약 단 하나의 인자도 없다면 오브젝트 패턴은 {}랑 매치된다.

function selectEntries({ start=0, end=-1, step=1 } = {}) {
    ···
}

You can also combine positional parameters with named parameters. It is customary for the latter to come last:
또한 네임드 파라미터와 positional 파라미터를 결합시킬 수 있다. 보통은 뒤에 온다????

someFunc(posArg1, { namedArg1: 7, namedArg2: true });

In principle, JavaScript engines could optimize this pattern so that no intermediate object is created, because both the object literals at the call sites and the object patterns in the function definitions are static.
원칙적으로, 자바스크립트 엔진은 이 패턴에 최적화 되어 어떠한 중간 객체도 생성하지 않는다. 왜냐면 호출하는 곳에서의 두 객체 리터럴과 함수 정의시의 객체 패턴은 정적이기 때문이다.

In JavaScript, the pattern for named parameters shown here is sometimes called options or option object (e.g., by the jQuery documentation).
자바스크립트에서, 여기서 보여주는 네임드 파라미터의 패턴은 옵션 혹은 옵션 객체라고 불리워진다.(제이쿼리 도큐먼트 예시)

11.6 Examples of destructuring in parameter handling
파라미터 핸들링할때 destructuring 예시

11.6.1 forEach() and destructuring
forEach()와 destructuring

You will probably mostly use the for-of loop in ECMAScript 6, but the Array method forEach() also profits from destructuring. Or rather, its callback does.
ECMAScript 6에서 아마 for-of loop문을 가장 빈번하게 쓸텐데, destructuring에서의 배열 메쏘드 forEach()  역시 쓸만하다. 특히 콜백.

First example: destructuring the Arrays in an Array.
첫 예제: 배열에서 배열의 destructuring

const items = [ ['foo', 3], ['bar', 9] ];
items.forEach(([word, count]) => {
    console.log(word+' '+count);
});

Second example: destructuring the objects in an Array.
두번째 예제 : 배열에서 객체의 destructuring

const items = [
    { word:'foo', count:3 },
    { word:'bar', count:9 },
];
items.forEach(({word, count}) => {
    console.log(word+' '+count);
});

11.6.2 Transforming Maps
맵의 변형

An ECMAScript 6 Map doesn’t have a method map() (like Arrays). Therefore, one has to:
ECMAScript 6의 맵은 (배열처럼) map() 이라는 메쏘드를 가지지 않는다. 그래서 할수 있는건 :

Convert it to an Array of [key,value] pairs.
[key,value] 쌍의 배열로 전환 한다.

map() the Array.
배열을 map()하고

Convert the result back to a Map.
결과를 다시 Map으로 전환한다.

This looks as follows.
아래랑 같을 것이다.

const map0 = new Map([
    [1, 'a'],
    [2, 'b'],
    [3, 'c'],
]);

const map1 = new Map( // step 3
    [...map0] // step 1
    .map(([k, v]) => [k*2, '_'+v]) // step 2
);

// Resulting Map: {2 -> '_a', 4 -> '_b', 6 -> '_c'}

11.6.3 Handling an Array returned via a Promise
Promise 를 통해 리턴되는 배열 핸들링

The tool method Promise.all() works as follows:
Promise.all() 이라는 메쏘드는 아래와 같이 작동한다:

Input: an Array of Promises.
넣음: Promises의 배열

Output: a Promise that resolves to an Array as soon as the last input Promise is resolved. The Array contains the resolutions of the input Promises.
Output : 배열에 들어간 프라미스의 마지막 프라미스가 들어가자 마자. 배열은 집어넣은 프라미스들을 지니게 됨.

Destructuring helps with handling the Array that the result of Promise.all() resolves to:
Destructuring은 Promise.all() 의 결과로 만들어진 배열 핸들링을 하게 해준다 :

const urls = [
    'http://example.com/foo.html',
    'http://example.com/bar.html',
    'http://example.com/baz.html',
];

Promise.all(urls.map(downloadUrl))
.then(([fooStr, barStr, bazStr]) => {
    ···
});

// This function returns a Promise that resolves to
// a string (the text)
이 함수는 String으로 된 프라미스를 리턴함.

function downloadUrl(url) {
    return fetch(url).then(request => request.text());
}
fetch() is a Promise-based version of XMLHttpRequest. It is part of the Fetch standard.
fetch()는 XMLHttpRequest의 Promise 베이스 버전이다. Fetch 표준의 한 부분이다

11.7 Coding style tips
코딩 팁

This section mentions a few tricks for descriptive parameter definitions.
이 섹션에서는 파라미터 정의의 기술적인 몇가지 트릭을 언급할것이다.

They are clever, but they also have downsides: they add visual clutter and can make your code harder to understand.
괜찮은데, 단점도 있다: 시각적으로 혼란을 가중하고 니 코드를 이해하는데 더 어렵게 할 수 있다.

11.7.1 Optional parameters
옵션 파라미터

I occasionally use the parameter default value undefined to mark a parameter as optional (unless it already has a default value):
나는 때때로 옵션처럼 기본값 undefined를 파라미터를 마크하기 위해 이용한다. (이미 default value를 가지지 않았을 때에만) :

function foo(requiredParam, optionalParam = undefined) {
    ···
}

11.7.2 Required parameters
필수 파라미터

In ECMAScript 5, you have a few options for ensuring that a required parameter has been provided, which are all quite clumsy:
ECMAScript5 , 필수 파라미터가 제공되어짐을 보장하기 위해 몇가지 옵션을 가진다 . 이건 정말 모양빠진다:

function foo(mustBeProvided) {
    if (arguments.length < 1) {
        throw new Error();
    }
    if (! (0 in arguments)) {
        throw new Error();
    }
    if (mustBeProvided === undefined) {
        throw new Error();
    }
    ···
}
In ECMAScript 6, you can (ab)use default parameter values to achieve more concise code (credit: idea by Allen Wirfs-Brock):
ECMAScript 6에서 좀더 간결한 코드를 위해 default파라미터를 이용(남용)할 수 있다. (Allen Wirfs-Broc이사람 아이디어임):

/**
 * Called if a parameter is missing and
 * the default value is evaluated.
 * 파라미터가 없을때 호출하고 DEFAULT value가 평가됨.
 */
function mandatory() {
    throw new Error('Missing parameter');
}
function foo(mustBeProvided = mandatory()) {
    return mustBeProvided;
}
Interaction:
상호작용:

> foo()
Error: Missing parameter
> foo(123)
123

11.7.3 Enforcing a maximum arity
최대의 인자 실행하기??

This section presents three approaches to enforcing a maximum arity.
이 섹션에서는 최대 인자 실행을 위한 3가지 접근을 보여줄것이다.

The running example is a function f whose maximum arity is 2 – if a caller provides more than 2 parameters, an error should be thrown.
실행되는 예제는 최대 인자수가 2인 함수 f가 - 2 이상의 파라미터를 주면서 호출하면 에러를 던지게 될 것이다.

The first approach collects all actual parameters in the formal rest parameter args and checks its length.
처음에는 정규의 rest 파라미터 args의 모든 실제 파라미터를 수집하고, 그것의 길이를 체크한다..

function f(...args) {
    if (args.length > 2) {
        throw new Error();
    }
    // Extract the real parameters
    실제 파라미터를 산출한다.
    let [x, y] = args;
}

The second approach relies on unwanted actual parameters appearing in the formal rest parameter empty.
두번째는 원하지 않는 실제 파라미터가 rest 파라미터인 empty에서 나타났을 때

function f(x, y, ...empty) {
    if (empty.length > 0) {
        throw new Error();
    }
}

The third approach uses a sentinel value that is gone if there is a third parameter. One caveat is that the default value OK is also triggered if there is a third parameter whose value is undefined.
세번째로는 3번째 인자로 보초값(플래그같은거?)를 이용한다. 3번째 파라미터가 undefined이면, OK라는 default value 역시 실행됨을 경고한다.

const OK = Symbol();
function f(x, y, arity=OK) {
    if (arity !== OK) {
        throw new Error();
    }
}

Sadly, each one of these approaches introduces significant visual and conceptual clutter. I’m tempted to recommend checking arguments.length, but I also want arguments to go away.
안타깝게도, 각각의 방법들은 명확하게 시각적으로나 이론상으로 정신없다. 그래서 인자의 갯수를 체크하는걸 권하고 싶지만, 인자들이 가버렸으면 좋겠다????????

function f(x, y) {
    if (arguments.length > 2) {
        throw new Error();
    }
}

11.8 The spread operator (...)
스프래드 연산자

The spread operator (...) looks exactly like the rest operator, but is its opposite:
스프래드 연산자는 rest 연산자랑 완전 똑같아보이지만 완전 반대다:

The rest operator collects the remaining items of an iterable value into an Array and is used for rest parameters and destructuring.
rest연산는 배열의 반복 가능한 값의 나머지 항목을 수집하고 rest parameter와 destructing에 이용한다.

The spread operator turns the items of an iterable value into arguments of a function call or into elements of an Array.
반복가능한 값의 항목들을 함수 호출 인자나, 배열의 요소로 전환시킨다.

11.8.1 Spreading into function and method calls
함수와 매쏘드 호출에서의 스프레딩~~

Math.max() is a good example for demonstrating how the spread operator works in method calls.
Math.max()는 메쏘드 호출시에 스프래드 연산자가 어떻게 작동하는지를 보여줄 아주 좋은 예제이다.

Math.max(x1, x2, ···) returns the argument whose value is greatest.
Math.max(x1, x2, ···)는 가장 높은 값의 인자를 반환한다.

It accepts an arbitrary number of arguments, but can’t be applied to Arrays. The spread operator fixes that:
임의의 숫자 인자들을 받지만, 배열에는 적용할 수 없다. 스프래드 연산자로 그걸 수정해보면 :

> Math.max(-1, 5, 11, 3)
11
> Math.max(...[-1, 5, 11, 3])
11
In contrast to the rest operator, you can use the spread operator anywhere in a sequence of parts:
rest연산자와는 대조적으로, 아무 순서에서나 스프래드 연산자를 이용할 수 있다.

> Math.max(-1, ...[-1, 5, 11], 3)
11

Another example is JavaScript not having a way to destructively append the elements of one Array to another one.
또 다른 예시로, 자바스크립트는 한 배열이 다른 배열의 요소로 파괴?되어 붙을 수 있는 방법을 가지고 있지 않다.

However, Arrays do have the method push(x1, x2, ···), which appends all of its arguments to its receiver. The following code shows how you can use push() to append the elements of arr2 to arr1.
하지만 Arrays는 push(x1, x2, ···)라는 메쏘드를 가지고 있는데, 이는 받는쪽에 모든 인자들을 붙일 수 있다. 아래의 코드는 arr2를 arr1에 어떻게 push()할 수 있는지 보여준다.

const arr1 = ['a', 'b'];
const arr2 = ['c', 'd'];

arr1.push(...arr2);
// arr1 is now ['a', 'b', 'c', 'd']
arr1은 이제 ['a', 'b', 'c', 'd'] 임.

11.8.2 Spreading into constructors
생성자에 스프래딩..

In addition to function and method calls, the spread operator also works for constructor calls:
이외에도 함수나 메쏘드 호출에서, 생성자 호출에도 스프래드 인자는 동작한다.

new Date(...[1912, 11, 24]) // Christmas Eve 1912

That is something that is difficult to achieve in ECMAScript 5.
이는 ECMAScript 5 로 하기에는 정말 어려운 대단한거임.

11.8.3 Spreading into Arrays
Arrays에 스프래딩

The spread operator can also be used inside Array literals:
Arrays 리터럴 안에도 스프래드 연산자를 쓸 수 있다.

> [1, ...[2,3], 4]
[1, 2, 3, 4]
That gives you a convenient way to concatenate Arrays:
Arrays를 연결하는데 아주 편리함을 준다.

const x = ['a', 'b'];
const y = ['c'];
const z = ['d', 'e'];

const arr = [...x, ...y, ...z]; // ['a', 'b', 'c', 'd', 'e']
One advantage of the spread operator is that its operand can be any iterable value (concat() does not support iteration).
스프래드 연산자의 한가지 이점은 그것의 피 연산자는 그 어떤 iterable 값도 될 수 있따는 것(concat() 은 iteration을 지원하지 않음).

11.8.3.1 Converting iterable or Array-like objects to Arrays
iterable이나 배열스러운 객체를 Arrays로 전환.

The spread operator lets you convert any iterable value to an Array:
스프래드 연산자는 아무 iterable 값을 배열로 전환할 수 있게 해준다.

const arr = [...someIterableObject];

Let’s convert a Set to an Array:
Set을 Array로 전환하자.

const set = new Set([11, -1, 6]);
const arr = [...set]; // [11, -1, 6]

Your own iterable objects can be converted to Arrays in the same manner:
iterable 객체는 같은 방법으로 Arrays로 전환할 수 있다.

const obj = {
    * [Symbol.iterator]() {
        yield 'a';
        yield 'b';
        yield 'c';
    }
};
const arr = [...obj]; // ['a', 'b', 'c']

Note that, just like the for-of loop, the spread operator only works for iterable values.
주목할 것은, for-of loop같이, 스프래드 연산자는 오로지 iterable 값에서만 동작한다.

Most important objects are iterable: Arrays, Maps, Sets and arguments. Most DOM data structures will also eventually be iterable.
가장 중요한 객체는 iterable : Arrays, Maps, Sets 그리고 arguments. 다. 대부분의 DOM 데이터 구조 역시 결과적으로는 이터러블 하다.

Should you ever encounter something that is not iterable, but Array-like (indexed elements plus a property length), you can use Array.from()2 to convert it to an Array:
만약 iterable하지 않지만 배열스러운(length 속성을 가지고 순서를 가진 요소들을 가진) 무엇인가랑 맞딱뜨리게 된다면, Array.from()을 이용해서 Array로 변환시킬 수 있다.

const arrayLike = {
    '0': 'a',
    '1': 'b',
    '2': 'c',
    length: 3
};

// ECMAScript 5:
var arr1 = [].slice.call(arrayLike); // ['a', 'b', 'c']

// ECMAScript 6:
const arr2 = Array.from(arrayLike); // ['a', 'b', 'c']

// TypeError: Cannot spread non-iterable value
const arr3 = [...arrayLike];

Iterables are explained in another chapter.↩
Iterables은 다른 챕터에서 설명될 것이다.

Explained in the chapter on Arrays.↩
Arrays에서 설명될 것이다.


это button type="reset"


`proselint`’s JSON flag always returns `status: success` in the output: https://github.com/amperser/proselint/blob/696f86e09781d8d67269952fd57d4ad287afa00d/proselint/command_line.py#L143, so we’ll need a different condition here.


LaTeXDummy (Myoldmopar) - x86_64-MacOS-10.9-clang: OK (2117 of 2127 tests passed, 205 test warnings)

 * 214 tests had: AUD diffs.
 * 10 tests had: Table big diffs.

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


доразметить футер


Haha, ça s'en va dans le prochain commit.


Yes please.


'showSignupRationale' is no longer used.


r+


Would be interesting to have this modification as a PR in openMVG/develop


change


> It doesn't work, ABP still can hide them.

It does, but it also hides everything else.


What was the reason for the rename? I think a lot of continuous integration tests broke because of this.


wouldn't this overwrite for beta too which we don't want?


`else store.coalesced.first?.element;` and `variable value bucket = store.reversed.coalesced.first;` but I haven't tried any of this; trying to get Eclipse to work.


いや、貫通しているなぁ。


Is it necessary to pass the mode to 'CreateAccountModal'?


Fixed in https://github.com/steelbrain/linter-proselint/commit/879fb684585396d6b3533353f5609f4f54cdc277


it will be undefined inside ```impala/tokenlist.h```


既にキューに追加されている分は実行されるようです


that capcha not working properly in irctc tatkal time do the some modification,then the code is correct , i download  & checked it but not


File should be locked someway, before writhing in it


Although it's easy, we'll stop ...

Or do I get it completely wrong?


Small stylistic thing – we'd usually put selectors like this on two lines (ie: line break after the comma).


Parada, diky.


Is it necessary to pass showRequiredError to 'CreateAccountModal'?


For sure, you are commenting an already merged pull request (JSIEVE-103) :-)


なんてマトリョーシカだ


Whaaat?  Beautiful.   Thanks @kbenne!


Note: `jquery-rails 4.1.0` contains `jQuery 1.12.0`: https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#410

And `jQuery 1.12` is the last release to support Internet Explorer 6 and 7: https://blog.jquery.com/2014/04/02/browser-support-in-jquery-1-12-and-beyond/


Good call


Set directly through Vector2 ;) It would be better, in original code it is the same..
Rest all is fine.


Any reasons, why const*const and not a const&?


Why does the legend and label have the same info?


lgtm

@bdero can we test?


So this paragraph is describing an Okasaki-Functional-Double-Ended-Queue. This is not comparable with Doubly-Linked-Lists in any way.

Perhaps we should split this exercise up into this one and describe it in a imperativ way only while creating another exercise which does require you to implement a dequeue.

Another way to interprete this paragraph is very similar to a zipper as in [zipper.md][zipper]. If it is meant like a zipper we should probably don't do this exercise in languages which are immutable only.

[zipper]: https://github.com/exercism/x-common/blob/master/zipper.md


Only legacy winx64 builds (< 0.8.0) will access the releases/winx64 folder. All beta clients will access /multi-channel/releases/beta/winx64. So I don't think this should be a problem.


Awesome!!!!

Thanks a lot Ross.

Regards


- Applied the suggestions made by Andres and Jeff
- included all files modified (tests/)
- Removed lines between nested css declarations
- Replaced single by double quotes in html attributes


Maybe add .DS_Store to gitignore? For any developers using Mac


belongs to an other PR


很期待啊


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 18638](https://teamcity.mesosphere.io/viewLog.html?buildId=156829&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:05:06


@Retest this please


Rest looks good


Is removing ``c2corg_ui/templates/waypoint/helpers/create_edit_summary.html`` such a minor change? :P


I don't understand this comment
+
this commit belongs to an other PR. I didn't rebase my history as there is no conflicts. + is linagora/master up to date ?


(9479ec5) The title of the commit doesn't respect guideline ("type(scope): title (refs #<number>[, ...])")


Ah yes, my solution only would have worked if you had your modifiers on no more than one layer. If you want your modifiers to be transparent across some but not all layers, you might want to do this.

    case /*case*/:
        if (record->event.pressed) {
            if (!biton32(layer_state)) {
                register_code(/*code*/);
            }
            else if (biton32(layer_state) == 1) {
                register_code(/*another code*/);
            }
            else if (biton32(layer_state) == 2) {
                register_code(/*yet another code*/);
            }
        }
        else {
            unregister_code(/*code*/);
            unregister_code(/*another code*/);
            unregister_code(/*yet another code*/);
        }
    break;


same thing...


Dlaczego musiałeś commitować? Jak chcesz cofnąć po prostu wszystko do ostatniego commita możesz użyć `git reset --hard`


non vedo spec in questo commit ;-)


I thought I'll just leave it in the commit message, but it makes a total sense to include it in the code, too. Otherwise it's just a magic number.


yep, it's been just moved ../ :P

On Tue, Mar 8, 2016 at 4:52 PM, Alex Saunier <notifications@github.com>
wrote:

> Is removing c2corg_ui/templates/waypoint/helpers/create_edit_summary.html
> such a minor change? :P
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/c2corg/v6_ui/commit/c83a2b0c5efbd86607fbe5493c0ab7d369aeb1ca#commitcomment-16565040>
> .
>

--

*Adam Gina*JavaScript Developer
adam.gina@camptocamp.com

*Camptocamp SA*EPFL Innovation Park
Bâtiment A
1015 Lausanne

Tel + 41 21 619 10 10
http://www.camptocamp.com


Are you sure that this is long? The spec says int.


first commit


What is the backlink for?


FixCrashWithZoneAndSystemERV (JasonGlazer) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed, 0 test warnings)

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


OMG


note: GTEX-13FHP-2826-SM-5IJFW added sample (not present in previous RNASeqLibrary versions)


chciałbym prosić o poprowadzenie w sprawie funkcji getAircraftsRepairs


I have done this in an other commit, as @matthieu already reviewed it...


Michał Pankowski


Extra 'p' in comment


Thanks ;-)


Just capitalize the first word, add a period and I think we're good to go. Sorry for all the nit-picking.


Remove these


This a case for static method.


why is sudo needed ? isn't this run as root anyway ?


Does it means the SVG file is directly embedded in the HTML?
Doesn't prevent it from being cached in the user's browser? Shouldn't it be loaded as a separated file?


static func


remove these lines of copyright and all that


You already have .log().ifValidationFails(), it is not sufficient?


I will not remove the PACKAGE_STRING for windows building


hooray


` f.email_field`  @Tomaco , you may want to make this a text field instead.


what the fuck is this even for?


Cassandra driver expects a date object.
For internal date, it seems logic to me to have the server default timezone, no ? (Which we have here)
And I find a call to new Date more readable than a strage convertion from yoda-time to Date


It appears you are missing the CUnit development package for your distribution - please see README.md for a list of required dependencies.  Also, please use the issue tracker or mailing list for reporting problems.


@joelfranusic-okta can correct me, but I thought I saw plenty of stuff that's not going to fit in the template. I was responding to your and other requests to highlight the differences, esp. so customers don't get confused when the user they created a second ago doesn't show up in the search (we had that issue at SFDC too).

I'm expecting once we get Joel's template that we'll be breaking up these large files a little bit, so I'm not too worried about it for now. Again, @joelfranusic-okta should correct me if that's a bad assumption.


Could not you just do one indentation less instead of adding an empty group?


Ok


К сожалению, у меня все равно не работает загрузка из файла. Здорово, что разложили код по пакетам. Это правильно. Работа с clean code принята.

И да, с 8 Марта Вас! Счастья, здоровья и успехов!


Thanks...as noted in the PR, I'm going to put it back and wrap it in a _win32 ifdef


I've used this solution but for my product I get the chain error


snyggt!


are you sure that returning null here won`t cause an exception like was happening?


No. `FS` is a selector. You cannot know anything about the hidden `base` and `limit` fields from userspace.


Sorry, I misunderstood the last call. The only possible way to do what I say is to simply call parse and make it throw. As a matter of fact brion::Target::parse and brion::Target::get don't specify what happens when the target is not found. The fact that you have to do a linear search yourself to detect the error condition shows that brion::Target::parse should throw in my opinion. The client code is then simpler and more efficient.


@elirenato , I think I changed the only place where it was used


I would recommend you to turn on this `config.order = :random`, and get used to it.
You may not get the idea still why is needed, but make sure you get used to the rspec behavior when this is turned on.


This was indeed related to this PR. This tweak deactivates any hallojs rich text field when any modal is opened. This prevents the hallojs toolbar, which doesn't deactivate as you might expect, from appearance above the newly opened modal.


https://github.com/net-ninja/ATutor/pull/1 https://github.com/net-ninja/ATutor/commit/ef762a4cd451ead72276949a314e07e04f023b21


That could work. What was your runtime and server config? I'm interested to see if I can repro.


Responding here:

> [lock/lock_linux_arm.go:a61](https://review.gerrithub.io/#/c/265558/1/lock/lock_linux_arm.go@a61)
> how is this bit taken care of by golang.org/x/sys/unix?

This was fixed in go [here](https://github.com/golang/go/commit/5d3033c5907956fd982409dd4a543f6866dd675e) and fixed in the same manner in golang.org/x/sys/unix [here](https://github.com/golang/sys/blob/342d6a85aa15bcd2ec54803cdffe90d52b6f35a7/unix/flock_linux_32bit.go).

---

> [lock/lock_freebsd.go:50](https://review.gerrithub.io/#/c/265558/1/lock/lock_freebsd.go@a50)
> we're losing that one in the process. Does it not matter?

Nope. That field is present in the [struct definition](https://github.com/golang/sys/blob/342d6a85aa15bcd2ec54803cdffe90d52b6f35a7/unix/ztypes_freebsd_amd64.go#L126) and go will initialize it to zero.

---

> [lock/lock_unix.go:49](https://review.gerrithub.io/#/c/265558/1/lock/lock_unix.go@49)
> Can you explain that bit to me please? Why do we not need the pid anymore?

From `man 3 fcntl`:

> The `l_pid` field is only used with `F_GETLK` to return the process ID of the process holding a blocking lock.

---

The other comments have been addressed in the code/commit message.


@Shazwazza ace work nice to see an Angular test & something for me to learn from :+1:


This is a ROS package for generating a three dimensional mesh from the images captured by an Unmanned Aerial Vehicle.


When i run task 1 and 3, it shows:"UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 10430: illegal multibyte sequence". i'm not sure about the reason


I'm quite confident that the test sometimes failed because of this ^

The error when it failed: ` failed - expected to have ["Client 1": <ARTPresenceMessage: 0x7ff331ff8770> {id: (null),clientId: Client 1,connectionId: afvS5EAbLG,timestamp: (null),encoding: (null),data: (null),action: 2}] with count 2, got 1`. The `presenceMap` wasn't updated at that time.


Example Card


Getting close to 2.8 ... cool :-). Keep the good work!


This is not correct.

The ei.attackedBy[Them][ALL_PIECES] is not yet completed at that point of the code.
Moreover, when you evaluate Black Rook,
ei.attackedBy[Them][ALL_PIECES] will not contains WHITE ROOK attacks
but when you will compute White Rook,
ei.attackedBy[Them][ALL_PIECES] will contain BLACK ROOK attacks.

One alternative is to explicitly say instead
b & mobilityArea[Us] & (ei.attackedBy[Them][KNIGHT]|ei.attackedBy[Them][BISHOP])

or probably better, saving a call to popcount with
if (!trapped && (b == (pos.pieces(Us) | ei.attackedBy[Them][KNIGHT] | ei.attackedBy[Them][KNIGHT] | ei.attackedBy[Them][BISHOP])))


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 18639](https://teamcity.mesosphere.io/viewLog.html?buildId=156833&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:10:10


Have you verified (by inspection) that all callers of these functions are able to handle a return value of `nil`?


Exciting, Python 3 support!


Fair enough, if you were following my kernel i moved it https://github.com/roguesyko/the_reaper_g3 branch 6.0.1


Ok, thanks for the clarification. I am happy to change brion::Target::parse but do we want to do it in this PR?


Well for most cases the off state would use the _led_off value, but I know that is because the led type that we have on minlure is inverted.

I think would be better have the RCOutputRGBLedOff constructor with: uint8_t led_off, uint8_t led_bright, uint8_t led_medium, uint8_t led_dim... or change the name of this class to something that tells that this class is for inverted leds.


yup, true


@MartinBalerio

> Nossa @fabiozaffani você não faz ideia dos DIAS que passei procurando por algo assim!

Passou dias procurando por algo e não reportou isso aqui ou no fórum do plugin?
Não é atoa que isso não esta no plugin ainda, pois é a primeira vez que vejo alguém reportando aqui e até agora não tem nenhuma prioridade pra mim ou para os usuários, já que apenas uma pessoas precisa.


corrects #334


Good try. You should try adding at after_failure target that shows the content of config.log.


A good practice to help reading the code is to declare the _private functions_ inside the implementation at the beginning

```
@interface NSString(FontAwesome) {
    + (NSArray *)fontAwesomeUnicodeStrings;
     ....
}
```

This helps to have a quick look of what methods are being described and implemented inside the implementation.


nope. I trusted our test coverage and added that empty .clj file to trigger any possible errors.


I'd prefer `String(chunk)`


I'm happy to use "property" here and Profile Attributes when talking about it from UD perspective. Good to be consistent!


There is no authorship information. You can't use this code without identifying the copyright.


yup you might be right here. will fix.


nice piece of code been took off tho... bwahahahaha


xD git status didn't show me there first lol


Quite a few calls to _underscore JS in this implementation that I have never used & need to understand fully to review whats going on & my brain fried for today. So will pick this up in the morning @Shazwazza


What is the extra parameter `IBlockState state`?


UIII


Please open a Pull Request so we can merge this


nothing special in my env. usually using python 2.7 without an external_cass.


TeamCity OSS :: Kubernetes Mesos :: 4 - Smoke Tests [Build 18640](https://teamcity.mesosphere.io/viewLog.html?buildId=156834&buildTypeId=Oss_KubernetesMesos_5SmokeTestsDockerMesos&guest=1) outcome was **FAILURE**
Summary: Exit code 1 Build time: 00:09:41


The domain may or may not be NULL (if the domain is enforced via
use_domain parameter).
I would say to leave it as it is.

On Tue, Mar 8, 2016 at 4:21 AM, Bogdan Andrei IANCU
<notifications@github.com> wrote:
> @ovidiusas , if NULL is allowed in "domain", maybe the default constraint
> should be removed or switch to NULL.
>
> —
> Reply to this email directly or view it on GitHub.

--
VoIP Embedded, Inc.
http://www.voipembedded.com


Не всегда хорошая практика навигацию делать ввиде списка, можно просто сделать nav->a либо внутри nav вставь div если нужно


Would it make sense to just test for qof_backend_can_rollback here instead of rewriting the same test ?


## Task 1

Write a program to count word usage in the given text.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.  You should use a *standard* dictionary as part of your function(s) to accomplish this task (see Task 2, where you'll use a slightly different type of dictionary).

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program uses a dictionary to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)

## Task 2

Using [Counter](https://docs.python.org/2/library/collections.html#collections.Counter) from the `collections` module, write a program to count word usage in the same text as above.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program uses a `Counter` to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)

## Task 3

Write a program that processess the given data to create a dictionary that maps the ExaML run name (e.g. ExaML_info.T6 as the `key`) to the ExaML log-likelihood value (e.g. -82924194.67 as the `value`). Use this function or a function that calls this function to prettily print the run name followed by the log-likelihood value in two column format to the screen.  Also include a function that sorts the log-likelihood values and helps us determine which run name minimizes the negative log likelihood value (e.g. the run name having the LL value closest to zero). Also output the name of this "best" run to the screen.

- [ ] Program is correctly formatted (0.5 pt)
- [ ] Program includes `main()` function and "ifmain" statement (0.5 pt)
- [ ] Program prints run name/LL in two column format and correctly sorts and reports the "best" ML result (4 pts.)


Hey, one suggestion: better add the page number, b-coz ppl r la-z!


TeamCity Kurma :: Integration Tests :: CentOS 7.2 [Build 1](http://ci.kurma.io/viewLog.html?buildId=87&buildTypeId=Kurma_IntegrationTests_CentOS72&guest=1) is now running


кнопка это отдельный блок, для них лучше сделать отдельный класс где кнопка это блок и у нее есть модификаторы


This is not quite right. Fixed upstream.


No, not important.


`RSpec::Core::World#register` returned the arg it was given.  During this change as part of renaming `register` to `record` (since the actual registration happens elsewhere now...) I decided to not have it return the arg anymore.  After all, the caller already has a reference to the group since it's passing it in.  This makes it more explicit that `RSpec.describe` returns an example group.

We have many specs that rely on the fact that `RSpec.describe` returns the group (so they can create a group and get a reference to the created group).


task 1: program is not working when I run in command prompt, it does not give desired output
task2: it can not import counter and program is not working
task3: it shows syntax error

but all the task has ifmain function.


@sol, this branch doesn't build with GHC8 anymore (it used to, with commit id d042176d41e8466de664198ef473bc2ae280e3e4):
```
[10 of 16] Compiling Extract          ( src/Extract.hs, dist/build/Extract.o )

src/Extract.hs:234:31: error:
    Not in scope: type constructor or class ‘HsWithBndrs’

src/Extract.hs:235:31: error:
    Not in scope: type constructor or class ‘HsWithBndrs’

src/Extract.hs:236:31: error:
    Not in scope: type constructor or class ‘HsWithBndrs’

src/Extract.hs:237:31: error:
    Not in scope: type constructor or class ‘HsWithBndrs’
builder for ‘/nix/store/vzi34pr499gz0qsf0ml0hp3kjsamxg7b-doctest-0.10.1.drv’ failed with exit code 1
```