#FEWD Week #5 Project: More JavaScript

---

###Description

JavaScript is powerful: we're able to take user interaction and information and use it to update the page without requiring a refresh. This week, a new startup in your city, CitiPix, is looking to create a personalized picture app that allows users to store pictures they've taken around the world and quickly access them by typing in keywords or tags associated with each photo; they have asked for your help to start building the front-end prototype. You will begin by building a web-app that will take a user's input and update the background image of the page based on that input. Once again, you have been given the starter code that includes the HTML and the CSS. Use the images in the image folder and write JavaScript to make the background image reflect user input based on the Technical Requirements  below.

Student: JP

Project URL: https://jphorsfield.github.io/ga-hwk6-citipix/

|                                                                                |                                |                        |                          |
|-------------------------------------------------------------------------------------------------------------------------------|--------------------------------|------------------------|--------------------------|
| Technical Requirements                                                                                | Does Not Meet Expectations (0) | Meets Expectations (1) | Exceeds Expectations (2) |
| Call ```$.val()``` on inputs to get the string value of your user's input                                                     |                                |                        |              2            |
| Store user input in ```var city```                                                                                |                                |                        |                 2         |
| Use $.on(submit) or ```$.click``` to figure out when the user clicks the "submit" button                                      |                                |                        |                2          |
| Create ```if / else if / else``` conditionals to control the flow of your application                                         |                                |                        |             2             |
| Write at least six different lines of pseudocode and display them inline as JavaScript comments                               |                                |                        |             2             |
| Prevent a form submission using the ```event.preventDefault()``` function                                                     |                                |                        |              2            |
| Use the ```$.ready()``` handler to delay your code from executing until all DOM assets have been loaded                       |                                |                        |             2             |
| Get the first element from an attribute name using ```$.attr()```                                                             |                                |                        |              2            |
| Use the ```||``` operator in your conditionals to allow for multiple string values to execute ```if/else if``` statement code |                                |                        |           2               |
| If a user submits "New York" or "New York City" or "NYC" make the background of the page nyc.jpg                              |                                |                        |            2              |
| If a user submits "San Francisco" or "SF" or "Bay Area" make the background of the page sf.jpg                                |                                |                        |            2              |
| If a user submits "Los Angeles" or "LA" or "LAX" make the background of the page la.jpg                                       |                                |                        |             2             |
| If a user submits "Austin" or "ATX" make the background of the page austin.jpg                                                |                                |                        |          2                |
| If a user submits "Sydney" or "SYD" make the background of the page sydney.jpg                                                |                                |                        |               2           |
| TOTAL: 28/28                                                                                |                                |                        |                          |

Notes: Well done!

Consider passing your code through JSLint or another validator such as W3C CSS validator. It will show up a few ways that your code varies from the official documented ways.

Try going back to your code and adding in code to handle the edge cases. Bad input, when the user tries again...


Is there a real need for a default value at all? As far as I can see, `"alg": "…"` is mandatory; thus it would be reasonable to force the user to configure it.


This great! Thanks so much! :)


128792325-Issue5803 (rraustad) - x86_64-Linux-Ubuntu-14.04-custom_check: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png)


This commit makes `#tagline-lg` overlap `#mid-nav`, making it so that some nav links can't be clicked on at some widths.

![image](https://cloud.githubusercontent.com/assets/1965565/23918763/a786f4da-08ca-11e7-81a2-af76b9bd841f.png)


>I strongly urge you not to try to reword this on the fly with no context or knowledge of the history.
Agreed!  This is now in the hands of lwgchair.  When the issues come up in LWG, I hope you will be sympathetic to the arguments I made here.  For my sake or others?  :)


Sure. I should be able to get to that soon.


History is not what happened but what's in the history books (aka git log). And history books are always written by the winner :) But that's apparently not always true, see http://history.stackexchange.com/a/5599/6517


Hi Rick,

File is deleted, do you have a .txt file modified ?


sorry I don't know what to reply to that. that just makes no sense to me


lgtm


@TheOfficialFloW Are you sure that this function takes no arguments? Henkaku seems to give an argument: https://github.com/henkaku/henkaku/blob/2a72b467ea9f1773bef44230777e86681e862bc4/bootstrap/bootstrap.c#L524


Some dev's will ask you to put in an empty else here. Others will complain about an empty code block.


### Issues Resolved
---
This closes #2 and closes #4


Also needs peerDeps updated


develop (macumber) - x86_64-Linux-Ubuntu-14.04-clang-3.5: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-NA-red.png)


All I wanted to do was revert my update readme.md and this happens


Maybe you can use array.some here ?


@hartwork to be honest, not sure about what system But it did come up a couple times over the years. So I added it to the docs.


Bluemix [toolchain](https://dev-console.stage1.ng.bluemix.net/devops/toolchains/192c205f-d201-49b3-812b-fce116421ce5 "weatherapp-toolchain"): [Jenkins](http://localhost:4080/job/WeatherApp/  "Jenkins") deployed this commit to [staging](https://dev-console.stage1.ng.bluemix.net/apps/6f2fae90-7d71-429a-9d1a-477ef7550bd5 "ibm:ys1:us-south:kuschel@ca.ibm.com:staging")


You can use const on arrays and objects if you are not RE-ASSIGNING them


Looks like const to me


container1, container2 .... one day it will be container923498 huh? names matter! name it like "walkListContainer", "addWalkContainer" etc.


why would I want to do extra work, when git already syncs everything with one push, I am the only one working on the repo, if you want to take it forward, by all means go for it, I don't mind as long as the thing works


Okay... I'm quite sure it's not a Bash issue: Bash can handle multiple spaces just fine. So that item looks a bit weird to me :)


This commit makes the search bar hide behind the rest of the content at some widths.

![image](https://cloud.githubusercontent.com/assets/1965565/23919099/e6a07a82-08cb-11e7-96db-13a8b23b05fc.png)


#6023-HVACTemplate-5ZoneUnitarySystem-shows-RH-greater-than-100% (mjwitte) - x86_64-MacOS-10.9-clang: OK (2478 of 2478 tests passed, 5 test warnings)

 * 5 tests had: ERR diffs.

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


You can use the const here


Hey, we can't always get everything right :D


If you know what's wrong why not try fixing it... and submitting a PR


hello my device is huawei mate 8 nxt-l29c636b211. i had installed latest xposed and i found the problem is phone settings cant go in, i need to restart the device until the settings ok. after that i found this version https://www.dropbox.com/s/lawouxf6psgvhqd/xposed-v86-sdk23-arm64-test2.zip?dl=0  its seem like better but only sometime the phone settings not working. do u have others version that can solve the problem? thank you sir


This is how it gets used, which feels clunky.

      (builder.new_clause_builder(
           'Security Group Created', retryable_for_secs=30)
      .collect_resources('security group show', args=['-c', 'name','--format', 'json',self.TEST_APP])

I'm not sure what ['-c', 'name'] is. I assume it has something to do with the attribute you want back or are trying to match or something. I'm sure it is important (and it changes with different calls) but am going to ignore it to make a point.

Setting up the API so it is used like this feels more readable:
      (builder.new_clause_builder(
           'Security Group Created', retryable_for_secs=30)
       .show_resource('security group', self.TEST_APP)

Internally you know this is "security group show --format json self.TEST_APP". The -c thing can be handled with a keyword argument if I knew what that was. And it is either a string or a list of strings depending on whether -c is a singleton parameter or not (I cannot find docs for it).

Your primary vocabulary seems to be list and show. There's also probably create and delete but you probably dont have any tests doing that so dont need to worry about that. json format is likely always the case. Otherwise you could have a format='json' keyword argument. If some flags can have additional args you could have an "extra_args=None" keyword argument.

Besides being simpler, it will be easier to move to a python API in the future since it isnt so commandline argument based.


develop (macumber) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png)


So far I know Instances of Classes shouldn't be named in Capitalize but camelCase


![](https://github.trello.services/images/mini-trello-icon.png) [Redirect old VuFind Plus 'My Account' link to the Pika one.](https://trello.com/c/Jmpjgzf4/74-redirect-old-vufind-plus-my-account-link-to-the-pika-one)


Roshan is seeing this:

 openstack returns "Error while executing command: No SecurityGroup found for openstacksmoke160123"

Not sure if that is a different regexp or this one is wrong.


This is almost the same as above.

You can use `Object.assign({}, inactiveOrdersMock[0], { status: 'inactive' })`

And the same for the below.


Affichage de prix dynamique lorsqu'une taxe est sélectionnée.


Awh, so alpha 12 will be the only one to work on arm64?

Camera2 doesn't seem to work on Alpha 12, though.

I have a 64-bit device, and am not afraid of compiling my own apps. Is there anything I can do to help get things working?


I am not sure about that but You could use this:

`const boughtOrderId = inActiveOrdersMock[0].order_id`


The base usage scenario of the lib was unsigned tokens (ages ago).
That feature is still supported, although of arguable use (basically, using all claims without a signature).

A possible suggestion is to enforce a signature at all times, removing support for unsigned tokens completely.

If that's enough to fix it, we could do that now, since 4.0 is still unreleased. @lcobucci that also means losing the "JWT spec compliant" here (only JWE)


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


The ones tagged OK should be good enough I suppose. I'm still learning the language so it might not be 100% accurate, but it's better than nothing at all.


Ah sorry, I didn't see the comment in the commit. 125000 points should be generated in few seconds on any OS... It may be a bug due to some difference between the two OSes. I'll investigate on it!


Perhaps we should switch to managed disk.
This will also mitigate the issue with non-unique global resource names.


Updated: https://github.com/JacobFrericks/infrakit/commit/ef3c5da672e9a805a0b9c553ce17074526c1d300


You are just iterating here so use `.forEach` maybe


@dbyrns : le commit qui a réglé le build?


First


BMT diagram


Yep, that works for me!


user


For all of this ids in this file


Signin-issue


cloud

and will redirect

setup


cloud


That's the reason why I didn't optimized the images of the recent showcase additions. While  @rdwatters is merging the latest changss to the his revision we would optimize/crop them on the go.


Change * with numbers to indicate it is a set of steps.


Why do we need that already?


Instead of "Updating README", try to say what you are adding to README.


anjharwati@gmail.com


I love it! You are really getting into this localisation.
<img width="541" alt="screen shot 2017-03-14 at 19 32 10" src="https://cloud.githubusercontent.com/assets/19293337/23919710/ccb8d302-08ef-11e7-85bc-2219c98e5522.png">

Consider using
`<html lang="en">` if you want to get rid of this message or checkout [this](https://www.w3schools.com/tags/ref_language_codes.asp)


Similar code found in atividedes_controller.rb:55, locais_controller.rb:26 (mass = 94)


Has approx 10 statements (TooManyStatements)


Similar code found in atividedes_controller.rb:71, locais_controller.rb:42 (mass = 88)


Has approx 9 statements (TooManyStatements)


Similar code found in atividedes_controller.rb:85, locais_controller.rb:56 (mass = 42)


Has approx 6 statements (TooManyStatements)


Yess


Similar code found in schema.rb:44, schema.rb:51, schema.rb:64 (mass = 78)


Prefer single-quoted strings when you don't need string interpolation or special symbols.


Similar code found in atividedes_controller_test.rb:3, locais_controller_test.rb:3 (mass = 200)


Git commit message should start with a capital letter


Git commit message summary (first line) should be 50 chars or less


Calls 'format.html' 2 times (DuplicateMethodCall)


Line is too long. [93/80]


Calls 'format.json' 2 times (DuplicateMethodCall)


Remember the 'alt` properties


Assumes too much for instance variable '@atividede' (InstanceVariableAssumption)


Has no descriptive comment (IrresponsibleModule)


Missing top-level class documentation comment.


Yesd


Has the name 'a' (UncommunicativeMethodName)


Use snake_case for method names.


In general there is some strange tabbing behavior going on in your index.html which makes parsing the DOM hierarchy a little more difficult. Try to keep elements that are children tabbed within the parent elements.


Yess on


Drools should only be used for good, not evil


The wording in the paper is wrong.  In the spec, we don't talk about "a _type_ parameter" (where _type_ is used as an adjective), instead, we talk about "a parameter of type _type_".

I say we go with either:
"... the constructor that takes the single parameter of type `pointer` in the primary template ..."
Or:
"... `explicit unique_ptr(pointer p) noexcept` ..."
I think the latter makes it obvious which constructor we're talking about, so I prefer it, but the former is closer to the original wording.  I'll go with the former and fix both places...

Thanks for working with me to get the wording right!


Method `AtividedesController#A` is defined at both /home/sti/programar/rails/inscricao/app/controllers/atividedes_controller.rb:4 and /home/sti/programar/rails/inscricao/app/controllers/atividedes_controller.rb:13.


Nice work on bringing the maps through!


Method `AtividedesController#A` is defined at both /home/sti/programar/rails/inscricao/app/controllers/atividedes_controller.rb:4 and /home/sti/programar/rails/inscricao/app/controllers/atividedes_controller.rb:22.


Hello @maludee
cc: @reshama @julialintern @Vinoad

Hey Malu,

Your project looks good. The pdf presentation is excellent. I like that you had several slides on your process and steps taken.

It is good that you tried lots of models and even used a grid search to find optimized parameters. I would like to have seen the results of all models together, for easier comparison. Some commentary on strengths and weakness of each model would also be helpful.

Your work looks good, the story you tell with it could be tightened up.


Line is too long. [85/80]


Assumes too much for instance variable '@locai' (InstanceVariableAssumption)


Does this mean only macros can be :postfix/:prefix etc?


Missing top-level module documentation comment.


I have installed and started testing this application.
It is a great one. Congratulations to the builders.
I found some errors and bugs while using the application, so I started working on it to make a contribution.

My first contribution concerns the initialise.php file that creates the database and tables during installation. Here are modifications I would like to introduce:

The database that is created during the installation process (through the initialise.php) is source multiple bugs or errors.
1-	“Error23” when a user wants to get a ride, is due to the fact that the column “timestamp” was missing in the “notifications” table. If the application is already installed, create a column named “timestamp” in the table named  “notifications”. That column's type will be “TIMESTAMP”. No need to specify Length/Size.
   If the Application is not installed yet, you can modify the initialise.php file by adding the following line at the line 54:   `timestamp` TIMESTAMP NOT NULL,

2-	It was not possible to approve or disapprove a service request. That was because no “status” column was created in the “notifications” table during application installation (missing is initialise.php file). That column need to be created. If the application is already installed, you can directly insert that column in the table using phpMyadmin. If the Application isn’t installed yet, modify initialise.php file by inserting the following code at line 55 (after the previous insertion) :  `status` varchar(24) NOT NULL,
3-	The database named « cities » was not created during application installation.
If the application is already installed, modify your database by creating a new table as:
CREATE TABLE `cities` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `city_name` varchar(32) NOT NULL,
    `address` varchar(96) NOT NULL,
    `postal_code` varchar(12) NOT NULL,
    `latitude` varchar(32) NOT NULL,
    `longitude` varchar(32) NOT NULL,
    PRIMARY KEY(`id`))");
(table created from line 73 to 80.

I am not using Postal code, latitude and longitude yet, but I am working on it to get something done with these parameters.

Here is below the modified initialise.php file:

<?php
/*
 * DB Initialisation PHP Script
 */
  require_once('functions.php');
  if(isset($_POST['host'])) {
    // create file 'dbinfo.php'
    $fp = fopen('dbinfo.php','w');
    $l1 = '$host="'.$_POST['host'].'";';
    $l2 = '$user="'.$_POST['username'].'";';
    $l3 = '$password="'.$_POST['password'].'";';
    $l4 = '$database="'.$_POST['name'].'";';
    fwrite($fp, "<?php\n$l1\n$l2\n$l3\n$l4\n?>");
    fclose($fp);
    include('dbinfo.php');
    // connect to the MySQL server
    mysql_connect($host,$user,$password);
    // create the database
    mysql_query("CREATE DATABASE $database") or die('Error creating database' . mysql_error());
    mysql_select_db($database) or die('Error connecting to database.' . mysql_error());
    // create the users table
    mysql_query("CREATE TABLE IF NOT EXISTS `users` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(25) NOT NULL,
  `random` varchar(6) NOT NULL,
  `hash` varchar(80) NOT NULL,
  `email` varchar(100) NOT NULL,
  `gender` varchar(10) NOT NULL,
  `contactno` bigint(50) NOT NULL,
  `description` text,
  `credits` int(11) DEFAULT '0',
  PRIMARY KEY (`uid`)
  )") or die('Error creating table users;' . mysql_error());

  mysql_query("CREATE TABLE IF NOT EXISTS `offers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `from` varchar(250) NOT NULL,
  `to` varchar(250) NOT NULL,
  `uptime` datetime NOT NULL,
  `downtime` datetime NOT NULL,
  `people` int(11) NOT NULL DEFAULT '1',
  `price` int(11) NOT NULL DEFAULT '0' ,
  `vehicle` varchar(250) NOT NULL,
  `description` text,
  PRIMARY KEY (`id`))") or die('Error creating table "offers".' . mysql_error());

  mysql_query("CREATE TABLE IF NOT EXISTS `notifications` (
    `slno` int(11) NOT NULL AUTO_INCREMENT,
    `sender` int(11) NOT NULL,
    `receiver` int(11) NOT NULL,
    `type` int(11) NOT NULL,
    `cid` int(11) NOT NULL,
	`timestamp` TIMESTAMP NOT NULL,
	`status` varchar(24) NOT NULL,
    PRIMARY KEY(`slno`))") or die('Error creating table "notifications".' . mysql_error());

  mysql_query("CREATE TABLE IF NOT EXISTS `comments` (
    `slno` int(11) NOT NULL AUTO_INCREMENT,
    `sender` int(11) NOT NULL,
    `comment` text NOT NULL,
    `cid` int(11) NOT NULL,
    PRIMARY KEY(`slno`))") or die('Error creating table "comments".' . mysql_error());

  mysql_query("CREATE TABLE IF NOT EXISTS `route` (
    `routeid` int(11) NOT NULL AUTO_INCREMENT,
    `cid` int(11) NOT NULL,
    `place` varchar(250) NOT NULL,
    `serialno` int(11) NOT NULL,
    PRIMARY KEY (`routeid`)
    )") or die('Error creating table "route".' . mysql_error());

	mysql_query("CREATE TABLE IF NOT EXISTS `cities` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `city_name` varchar(32) NOT NULL,
    `address` varchar(96) NOT NULL,
    `postal_code` varchar(12) NOT NULL,
    `latitude` varchar(32) NOT NULL,
    `longitude` varchar(32) NOT NULL,
    PRIMARY KEY(`id`))") or die('Error creating table "cities".' . mysql_error());

    // create the user 'admin' with password 'admin'
    $random=randomNum(5);
    $pass="admin";
    $hash=crypt($pass,$random);
    $sql="INSERT INTO `users` ( `username` , `random` , `hash` , `email` , `gender`) VALUES ('$pass', '$random', '$hash', '".$_POST['email']."',M)";
    mysql_query($sql);
    header("Location: initialise.php?installed=1");
  }
?>
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Car Pool</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
    <link href="css/common.css" rel="stylesheet">

    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
      <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
                    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
                                   <link rel="shortcut icon" href="../assets/ico/favicon.png">

            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">

            </button>
            Car Pooling

        <?php
      if(isset($_GET['installed'])) {
    ?>

car-pool is successfully initialised!

        You can login to the car-pool panel here.
          <?php  }else if(!file_exists("dbinfo.php")){ ?>

DB Details

    <form action="initialise.php" method="post">
      Database Host: <input type="text" name="host" value="localhost"/>

      Username: <input type="text" name="username"/>

      Password: <input type="password" name="password"/>

      Database Name: <input type="text" name="name" value="carpool"/>

      Email: <input type="email" name="email"/>

      <input type="submit" class="btn btn-primary" value="Initialise"/>
    </form>
      <?php } else {?>

Database is already initialised. Please remove the dbinfo.php and re-initialise it.

    <?php } ?>

Built with love by @sushant @ashish @nilesh.


Refers to 't' more than self (maybe move it to another class?) (FeatureEnvy)


Has the variable name 't' (UncommunicativeVariableName)


Ahh, thanks for catching this! I manually fixed all of these previously, but there must have been some issues when rebasing.


Useless assignment to variable - `hola`.


I think what maybe should have happened here is that you used the article tag as the container for all of the content in each blog post. So the title(which you could have used an h2 or h3 element) the img, the post content, and the 'Read More' link would all be placed within the article tag. And then each post would be contained within one article tag as opposed to the section tag.


Check out what other meta tags there are. Handy to have as much info as possible easily available for SEO etc...


Extra blank line detected.


Put empty method definitions on a single line.


Line is too long. [97/80]


Keep a blank line before and after `private`.


Inconsistent indentation detected.


Line is too long. [88/80]


Line is too long. [81/80]


Line is too long. [89/80]


Final newline missing.


Prefer single-quoted strings when you don't need string interpolation or special symbols.


Why'd you move the location? IMO, its useless.

Also, since its getting commented out, why have it here.


Any reason for you to change the capital letters or not?


Oh god.

Don't be a copy paste of NSMBHD,


TeamCity Reactive.Streams :: Pull Requests (Windows) [Build 53](http://petabridge-ci.cloudapp.net/viewLog.html?buildId=23409&buildTypeId=ReactiveStreams_PullRequests&guest=1) is now running


you can use the @ symbol in pattern matching like `all@(x:xs)` to avoid having to reconstruct `(x:xs)` below (e.g. `length all == validGrid' all`


<link rel="stylesheet" type="text/css" href="/css/main.css">


This main class should probably have existed as the parent element of the aside element and the section that contained the articles. This would make sure that the two elements would fill the container. So here's what the hierarchy maybe should have been set up as `<main class="clearfix"><section><article></article><article></article></section><aside></aside></main>`


Lessons for Udacity Data Visualization segment.


Great start! Good to see it all coming together. Consider putting your HTML code through [w3c](http://jigsaw.w3.org/css-validator/) and CSS code through [w3c](http://validator.w3.org/) and Javascript through something like [jslint](http://www.jslint.com/)


Turns out, we have options. from the linux man page
```text
       --variable=VARIABLENAME
              This returns the value of a variable defined in a package's  .pc
              file.  Most  packages define the variable "prefix", for example,
              so you can say:
                $ pkg-config --variable=prefix glib-2.0
                /usr/

       --define-variable=VARIABLENAME=VARIABLEVALUE
              This sets a global value for a variable, overriding the value in
              any  .pc  files. Most packages define the variable "prefix", for
              example, so you can say:
                $ pkg-config --print-errors --define-variable=prefix=/foo \
                             --variable=prefix glib-2.0
                /foo
```


这里的家庭跟我平时理解的家庭是一个概念吗


Add function to change web page with button next and previous
Change input in text area for address and English and Maori details
remove unnecessary comments


The question is why it isn't working for you? The whole point of `cygpath` is to return paths that MSYS2 will understand based on the user's MSYS2 environment. It uses your own `PKG_CONFIG_PATH` and translate the `/mingw32` references (include and linker paths) according to your MSYS2 path shorthands. It should know where your stuff is just like it knows where mine is.


TeamCity Code :: 1. Development :: DDK :: Feature [Build 215](http://mp-ci.centralus.cloudapp.azure.com/viewLog.html?buildId=17381&buildTypeId=Code_Development_Ddk_Feature) outcome was **SUCCESS**
Summary: Tests passed: 41 Build time: 00:06:39


add an echo on status of sites done after one of the last done to show where it is progress why, can be ran in both verbose and non-verbose mode


Add English and Maori profile
Create three divisions for different web page
Change input "addr" in textarea


done deal, thanks for catching those


wtf?


I see it - it's there :)


It s mee call me +359896751137


![](https://github.trello.services/images/mini-trello-icon.png) [Understand 2D bounding box labels. Do spot checks by drawing boxes on random images to confirm (or another method of checking)](https://trello.com/c/vkM1ZbVt/10-understand-2d-bounding-box-labels-do-spot-checks-by-drawing-boxes-on-random-images-to-confirm-or-another-method-of-checking)


Call


Call fire 113


Call fire 112


develop (kbenne) - x86_64-MacOS-10.10-clang: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-NA-red.png)


See


ㅋㅋㅋㅋㅋ
이건 완벽한 코드군
깔끔하다~


Fire call112


Call 112


You shouldn't need to change `diff` itself to teach Maple about PARTITION.  All you should have to do is to add a `diff/PARTITON` (global) routine.


Call me


I'm troubleshooting this now, but I believe this totally breaks/crashes  when running on Android (stdout appears to be a LogFile, which has no .encoding)


At the end of the day, it still doesn't make sense that the language specified by the URL takes precedence over the preferred language specified in the cookie. From the moment I go to a website in a certain language (eg. English), I don't want this language to change just because I followed the URL of someone else who speaks Chinese. The cookie language, if it exists, should ALWAYS take precedence.


Siri it me Veliko


Hewol


I got crash in SystemUI. And I reverted it for now.
https://www.hastebin.com/xozojevozi.cs


tener cuidado con widfly


That's great! I'll give it a try.


# best-game


That's really weird...  as far as I know, `diff` is syntax-driven, so it shouldn't matter what is inside the PARTITION!


Siri it' me cal me bac +359896751137


$ curl https://qxea58oupc.execute-api.us-west-2.amazonaws.com/dev/
{"hello": "world"}


Debe ponerse en un archivo CSS


0896751137 call home


This is so we can to the nice `is_ios` instead of several checks all over


update babel


Hello, @forabi!
I'd like to know your opinion on stripping out the Assyrian names, as the outputs are a big long and it is just not right to have several names in one sentence. In this case, we have to add Morrocan and Algerian as well, if we need to generalize the output.
Is it possible to pass a parameter to `moment` for choosing the month name (To be used in a setting in the website or so)?


Call him Veliko 0896751137


Users get issues even after adding all the mentioned API keys in `config.py`. The API key (`mailboxlayer_api`) is not mentioned in `config_sample.py`.
Issue: #103


Updated with note for class on March 14, 2017


Detailed description of this change is documented here - https://github.com/Murali-group/GraphSpace/wiki/JSON-structures-stored-in-GraphSpace-databases


这个问题  我已近修复了， 你可以看下 直接下载jar包使用，或者等待更新


Feel free to add to it boys.


I chose to have `tvos` be both `ios` and `tvos` since (for skia) tvOS is really a stricter subset. If this is not really desired, then we have to change all the locations for `is_ios` to have a corresponding `is_tvos`. There are also some in the externals (zlib and another I recall)


Great stuff


Smooth Sailing...


This is more for me as I need smaller, not faster code.


Correctly map skia architectures to what xcode expects


Make sure we select the correct xcode sdk based on the skia being built


@isegal @dylanwenzlau disabled log for now.  If we do start using it should be rewritten as noted in config file as it basically just stores the entire cookie, secure data and all, in a flat file.


tvOS requires bitcode. It is optional for iOS, so I leave it out.


finally worked!


Its a little practice to learn about git


This actually closes #236 not 259... typo on the commit message


Drop the comment


TeamCity Code :: 1. Development :: DDK :: Feature [Build 216](http://mp-ci.centralus.cloudapp.azure.com/viewLog.html?buildId=17386&buildTypeId=Code_Development_Ddk_Feature) is now running


个人理解这里的无产者是马恩时代的无产者，当今时代阶级被模糊了，阶层的分化更明显。


Only issue with the code is that AIservice does not exist in current context. I can not find it anywhere


这里 加一个 ...props

```js
const { disabled, placeholder,  ...props} = this.props;
```


restore stub


Check hangouts if you get a chance @xyyx


déjà `HdlcDefs.SNUM_SIZE_COUNT`


TeamCity Code :: 1. Development :: DDK :: Feature [Build 216](http://mp-ci.centralus.cloudapp.azure.com/viewLog.html?buildId=17386&buildTypeId=Code_Development_Ddk_Feature) outcome was **SUCCESS**
Summary: Tests passed: 41 Build time: 00:03:43


```js
<FormControl
{...props}
```
把扩展的 props 给FormControl 方便其他用户添加属性或者事件


#6059-Crash-in-UnitarySystem-when-heating-only-DX-multispeed-coil-is-used (rraustad) - x86_64-MacOS-10.9-clang: OK (2475 of 2478 tests passed, 0 test warnings)

 * 3 tests had: EIO diffs.
 * 2 tests had: ESO big diffs.
 * 3 tests had: Table big diffs.
 * 1 test had: MTR big diffs.
 * 1 test had: AUD diffs.

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


Related to: backdrop/backdrop-issues#2504


My concern of this before is that `actable/specific` involves one more query to load the record and it's unnecessary, but now think about it again, `submit_answer` action already loads the actable.

Will delegate this to the specific model then, but will probably default to true, cause only programming answer has a different behavior.

Thanks !


这里默认这样写，default， babel 会做处理
```js
export  default from './component/AutoComplete'
```


无产阶级和资产阶级同时产生，在发展初期被资产阶级利用，这个观点第一次看到。敌人的敌人有没有可能成为盟友？


That's interesting. I didn't realize that there was that kind of instruction level parallelism in the x86, at least in the first case.


Bravo


敌人的敌人果然成了盟友。


What


Do *not* check this file into git.


这里让外面的className 可以设置进来
```js
<div className={`${className} auto-complete-wrap`}>
```


code generated by fluid


政党产生的内部障碍不容小觑。


Sure!

    result = a * 2

    mov eax,a
    add eax,eax

    or

    mov eax,a
    lea eax,[eax*2]

    result = a * 3

    mov eax,a
    lea eax,[eax*2 + eax]

    result = a * 4

    mov eax,a
    lea eax,[eax*4]

    result = a * 5

    mov eax,a
    lea eax,[eax*4 + eax]

    result = a * 6

    ; think a * 6 = a * 2 * 3
    mov eax,a
    lea eax,[eax*2 + eax]
    add eax,eax

    result = a * 7

    ; think a * 7 = a * 8 - a
    mov eax,a
    lea ebx,[eax*8]
    sub ebx,eax

    result = a * 8

    mov eax,a
    lea eax,[eax*8]

LEA can be used this way in a much more limited fashion using BX+DI and BX+SI on the 8086 and 286.


“都有是一样的”多了一个“有”字？


Add an else clause so that the user knows why download did not start.


This should probably throw an error if the version is not supported or not a valid HTTP version number.


#6059-Crash-in-UnitarySystem-when-heating-only-DX-multispeed-coil-is-used (rraustad) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (2509 of 2518 tests passed, 0 test warnings)

 * 3 tests had: EIO diffs.
 * 2 tests had: ESO big diffs.
 * 3 tests had: Table big diffs.
 * 1 test had: MTR big diffs.
 * 1 test had: AUD diffs.

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


可以想见，早期革命者看到此文时有多么兴奋，完全是一篇无产阶级革命操作教程。


Hello World!!!


TeamCity Language Forge :: Language Forge SIL Students (master-taylor) [Build 0.2.260.6046bf33f2a3b1356ec136eccd7838c0205c796b](http://build.palaso.org/viewLog.html?buildId=86014&buildTypeId=LanguageForge_LanguageForgeSilStudentsMasterTaylor&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 338 Build time: 00:06:29


So much boilerplate. I assume it's unavoidable in PHP.


资产阶级即资本；无产阶级即人力劳动的提供者。


hey Daniel, I install git command prompt, and it works


Bluemix [toolchain](https://console.ng.bluemix.net/devops/toolchains/b80aa1d0-3e6d-48f8-94fe-21ebaffe2b64 "kenplayground"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/df051ab2-1dbf-48f6-92a4-189745a516b7 "kenplayground") deployed this commit to [dev](https://console.ng.bluemix.net/apps/63dd3218-7765-4288-b102-0caa02e743f8 "ibm:yp:us-south:kenperalta32@gmail.com:dev")


“因为它不得不让自己的奴隶落到不能养活它反而要它来养活的地步。”三个“它”都指资产阶级吗？有点糊涂了。


@begedin would you like the AuthToken model to also change from value to `token`?


![](https://github.trello.services/images/mini-trello-icon.png) [Camera image not rotated](https://trello.com/c/K0Nljt0K/321-camera-image-not-rotated)


@owings1 thank you


have any mandatory tasks?


env.rb:72:
```
ENV['PKG_CONFIG_PATH'] = `cygpath -u #{ShoesDeps}/lib/pkgconfig`.chomp
```
Fixes half the problem.


Never mind, this has since been fixed in e768d48ae19f4fd2452fe7cd6b3409d9cb7dc296.


개쩐다;;;;;;


#6059-Crash-in-UnitarySystem-when-heating-only-DX-multispeed-coil-is-used (rraustad) - 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.png)


does this deserve its own commit, since it's a separate NPE bug?


网站查找到的一些有益于学习的demo


When is `array $params = []` evaluated? This would be a poor practice in Python because the default value is instantiated once when the class is defined.


はい、修正しました。


Having to add an empty `.catch()` to everything seems excessive!!


原来掘墓人出处在此。


fix #1573


yup, that's why I did it.  It didn't seem big enough to justify mentioning in the git commit comment.


Changed the file type


すみません、この辺についてですが、ヒントいただけますでしょうか。


AFN_duct_update (mitchute) - i386-Windows-7-VisualStudio-14: OK (2478 of 2483 tests passed, 0 test warnings)

 * 4 tests had: EIO diffs.
 * 1 test had: ERR diffs.
 * 4 tests had: ESO big diffs.
 * 2 tests had: MTR big diffs.
 * 3 tests had: Table big diffs.

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


**gendeng mas iki, juago poll... :P**


chuyển từ bản gitHub cá nhân sang nhóm


合辑名称? 使用昨天的顺序原则哪....

用从小到大的内在情绪变化,
那我们的合辑就可以是:

    渐怼辑

大家还有什么建议?


I don't believe this fix is sufficient on Android. In this case sys.stdout appears to be of type LogFile:
```
03-13 16:56:05.268  5128  5143 I python  :    File "/home/llfkj/.local/share/python-for-android/dists/glexp_reader/private/lib/python2.7/site-packages/kivy/core/window/window_sdl2.py", line 580, in _mainloop
03-13 16:56:05.268  5128  5143 I python  :  AttributeError: 'LogFile' object has no attribute 'encoding'
```


In blarg, they're useless.

But in ABXD, there is code being called for them, so no, they aren't useless.


TeamCity Language Forge :: Language Forge SIL Students (master-taylor) [Build 0.2.261.2b7e372b41abbd72c66f2b074c7d6f2d788bd80e](http://build.palaso.org/viewLog.html?buildId=86040&buildTypeId=LanguageForge_LanguageForgeSilStudentsMasterTaylor&guest=1) outcome was **SUCCESS**
Summary: Tests passed: 338 Build time: 00:06:53


Final newline missing.


Prefer single-quoted strings when you don't need string interpolation or special symbols.


Block has too many lines. [57/25]


Separate every 3 digits in the integer portion of a number with underscores(_).


I moved PATCH after PUT. They're grouped by the "rest" verbs vs remaining methods.


I object to naming this validGrid' - the type of this function is grid -> integer. however, see below...


Extra empty line detected at block body end.


Line is too long. [104/80]


Line is too long. [114/80]


You can't eat pi, but you can eat pie!


develop (macumber) - x86_64-MacOS-10.10-clang: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-NA-red.png)


TeamCity Reactive.Streams :: Pull Requests (Windows) [Build 53](http://petabridge-ci.cloudapp.net/viewLog.html?buildId=23409&buildTypeId=ReactiveStreams_PullRequests&guest=1) outcome was **SUCCESS**
Summary: Running Build time: 00:02:32


TeamCity Reactive.Streams :: Pull Requests (Windows) [Build 54](http://petabridge-ci.cloudapp.net/viewLog.html?buildId=23411&buildTypeId=ReactiveStreams_PullRequests&guest=1) is now running


@juanCarlos123 este commit debe solucionar el tema de la serialización de objetos en el PUT.


Indeed, if running 8 threads the program blocks for minutes, while when running on **one thread** it does the same job in **less than one second**! I'd say that the problem is in the `rand()` calls as they are the only points where the threads can interact together.


Hello,
I tried to run this simulation but unfortunately i couldn't.
Please, where to find the MCSimulator.exe and the input files?
If i well understand, to run this simulation i need to creat 2 folders, one for the MCSimulator.exe and input files and the other for data with PEGS4 input file.
---folder1:
                 -MCSimulator.exe
                 -input files
---folder2:
                -data with PEGS4
Thanks in advance for your assistance.
Toufik.


Never a bad idea to use the tag that would actually allow the user to click on the images. So instead of a div tag you could use an `<a>` tag instead


TeamCity Reactive.Streams :: Pull Requests (Windows) [Build 54](http://petabridge-ci.cloudapp.net/viewLog.html?buildId=23411&buildTypeId=ReactiveStreams_PullRequests&guest=1) outcome was **SUCCESS**
Summary: Running Build time: 00:01:06


TeamCity Reactive.Streams :: Pull Requests (Windows) [Build 55](http://petabridge-ci.cloudapp.net/viewLog.html?buildId=23412&buildTypeId=ReactiveStreams_PullRequests&guest=1) is now running


Oh, I noticed now that there's some marked OK with grammar/spelling mistakes which I'll fix later. Also note that there's some duplicate lines which is not a mistake and be sure to replace both entries in the source.


Why'd you go with gray for the background color of the button?


Created multidev environment [example-wordpress-composer#pr-behat](https://dashboard.pantheon.io/sites/46afe9ed-ebf0-44fe-acac-229694bfd8b3#pr-behat).

[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://pr-behat-example-wordpress-composer.pantheonsite.io/)


Which system has gcc44? Ww officially required c++11 support for kwiver and I think gcc44 has maybe partial support.


By me guess and submit a pull-request :)


TeamCity Reactive.Streams :: Pull Requests (Windows) [Build 55](http://petabridge-ci.cloudapp.net/viewLog.html?buildId=23412&buildTypeId=ReactiveStreams_PullRequests&guest=1) outcome was **SUCCESS**
Summary: Running Build time: 00:01:04


I'll wait for the fixes then, and yeah I do a "search all" when I check those.


Are you going to use the telegram API?


These are menu items and thus should also be links. That way you could have played around with hover effects and had more responsive user interaction.


Isn't this `not_rpython`?


my mistake)


@OctoNezd still wait a bit more please :P I want to handle multiple title id first (I haven't got time this days before :P )


Unhandled Failure


this effectively deletes information about the the thing being checked, if there is a mismatch in the row length but not in the first two I believe the grid will still be considered valid

Maybe try to reconceive this problem more simply - instead of doing it all at once, start by reducing the information from the entire grid, to just the lengths of the rows. How would the validity check look in that case? I suspect it'll be easier to follow/read

```haskell
validGrid grid@(x:xs) = ...
where
    lengths = map length grid
```


Because an ad unit is an actual element of the page and not just page decoration instead of using background image using the img tag itself to place the ad is a better practice.


I see what happened actually. This is an old commit that you're looking at currently. The code in master is correct. It was fixed here: https://github.com/tensorflow/models/commit/4bd29ac0ba1004d7393b7d029b05257dffd5cbe6#diff-5ae64cf077db8f00686ff8b5d7748604R125


@viktorradnai do you also agree? If so I can handle this.


+1 Broke for us as well. Cost me about a day.


@zhangcandrew, feel free to overwrite this commit  360253fff


@aldro61 when b=0 does this yield INFINITY or 0? it may clarify the code to special case (if b=0 then ...)


@divideby0 Fixed!


Parameter matching should be optional. If I don't pass in any `required` params when I declare my routes, then this should return `true`.


As per the exercise requirements, try to add some examples that might challenge validGrid - is what I said above true? don't take my word for it but add a test for that scenario and ensure that the function returns false when appropriate. Tests are a wonderful feedback mechanism, they allow you to capture little bits of progress with a high confidence. They are even more useful in languages with a weaker type system than Haskell.


Ack, this conflicts with the existing acmart package in the package repos!

That one would be:
```
#lang scribble/acmart @format["acmsmall"] ...
```


Hello, sorry for the missing details, I was in a hurry.

config.log:
https://gist.github.com/anonymous/79cf55119baf7e20e0945bf04eaa3c08

zconf.hash.c:
https://gist.github.com/anonymous/1b0255a128249ffc27138f85637eb622

This is the error message:

```
  ...
  BISON  'zconf.tab.c'
  GPERF  'zconf.hash.c'
  LEX    'zconf.lex.c'
  DEP    'zconf.tab.dep'
  CC     'zconf.tab.o'
In file included from zconf.tab.c:212:0:
zconf.hash.c:167:1: error: conflicting types for ‘kconf_id_lookup’
 kconf_id_lookup (register const char *str, register size_t len)
 ^~~~~~~~~~~~~~~
zconf.hash.c:34:31: note: previous declaration of ‘kconf_id_lookup’ was here
 static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
                               ^~~~~~~~~~~~~~~
```

This is the gcc version I'm using:
```
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.3.1 20170306 (GCC)
```


Awesome! :+1:


I agree. We probably will need another mode that does full font export for more accurate testing, it probably should be a multiline widget that does script itemization, bidi etc. While at it, I think we need simple RTL support here; just an option (check box or so) to set the direction, nothing fancy.


git init


Bruh, idek what that does


kiva-init (nealkruis) - 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.png)


`scope-ids`, the body parameter is plural


I would recommend using `min_pos*min_pos` (and saving the result if you need it again below) instead of `pow(min_pos, 2)` -- I think it is faster


If you feel you have made improvements please contribute back to shahen94/react-native-video-processing


(still being tested)


(Just so we're clear, I'm happy either way, just letting you know about the conflict.)


Maybe "Events are updated using the SQL UPDATE command. Alarms and exdates, however, are deleted and newly added, so the id changes."


NO!!!

This absolutely should not be there. Not at all. This is completely different from every other scribble language in the core distribution. And its too tied to latex. Like, why is this a separate command anyway?


Setting a width within a div that has a percentage is a weird decision because you are basically saying you want this to container to be responsive and adjust width, but this interior item shouldn't change at all. If you do want to specify a width so that it doesn't grow too large, you should go with max-width


Hmm,  thanks for this info, i will follow you on that.


Same comments as above


Formation passt nicht  mehr poedit hat die etwas durcheinander geworfen erkennt das spiel alle Übersetzungen?


develop (macumber) - x86_64-MacOS-10.10-clang: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-NA-red.png)


@MrSerth what was this "does not check for id" thing?


Sam, can you please add the license header to both files, change header guards  CIHASH_H -> _cihash_h_, and run the code through clang-format?


Just refer to the other route?


display:none is why map is not loading at the begining


I'll update the file again when all lines have been translated and are okay enough for inclusion, so you can just add all of them at the same time. Thanks for keeping Elona Custom up to date as well!


nie stosuj * w importach


a gdyby tak dodać png do init'a?


Great start,

I found the following error in the console:

<img width="586" alt="screen shot 2017-03-14 at 20 13 33" src="https://cloud.githubusercontent.com/assets/19293337/23920485/cdb468c2-08f2-11e7-8c89-0b50ecf93787.png">

Looks like a CSS file for UI is missing or incorrect.


Amazing 👍


Would it make sense to turn the package into en empty package that depends on this (or a synthesis of the two)? So we can keep it for compatibility, but they end up referring to the same code.


It would just be a straight up port if not for you guys doing the translation, so I'm the one that has to be thankful here.
Keep up the good work and thanks :)


I know where the problem is, but I don't know how to fix it exactly.
For now, I simply comment out the following two lines, it works for me.

		//osg::DrawArrays* drawArrays = static_cast<osg::DrawArrays*>(geom->getPrimitiveSet(0));
		//drawArrays->setCount(vi);


Ok, @funnydog , according to the contents of your config.log and especially the following line in it:
> It was created by crosstool-NG configure crosstool-ng-1.22.0-55-gecfc19a5, which was

you haven't rebuilt configure script in your crosstool-ng. Please try running bootstrap script followed by configure followed by make.


I think you are confused about what use_db is. It is really just a key in the handler's dictionary. So with the code you have here it is trying to determine the backend type from the use_db attribute.


did you want to use puts? or printf with a trailing \n?

where/how do we see this output?


add tests

Demo: quicktests | fiddle


why did you remove this?


Feel free to put your name by your code


:clap: :clap:


You want cls.get_db().backend_id instead I think


w pliku firstpost.py masz klasę o identycznej nazwie?


Mozilla and Webkit browsers now use `box-sizing: border-box;`


If you're not using things, feel free to clear it away.


<details>

<summary>No TaskCluster jobs started for this pull request</summary>

```js

The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.
```

</details>


Only real changes down here, rest is formating


Whoops - here is a comment on the changes I made


This document is written in English. Consider adding lang="en" (or variant) to the html tag.


@jernejsk
It may be better to make VIDEO_DE2 depend on VIDEO_HDMI (without dependency on VIDEO_COMPOSITE for now)
```
config VIDEO_DE2
	bool"Display Engine 2 video driver"
	depends on  (MACH_SUNXI_H3_H5 || MACH_SUN50I) && VIDEO_HDMI
	select DM_VIDEO
	select DISPLAY
	default y
	---help---
	Say y here if you want to build DE2 video driver which is present on
	newer SoCs. Currently only HDMI output is supported.
```
and disable VIDEO_HDMI in defconfigs to disable DE2 driver on boards without HDMI connector like it's currently done for DE1 boards
```
configs/A13-OLinuXinoM_defconfig(8): # CONFIG_VIDEO_HDMI is not set
configs/A13-OLinuXino_defconfig(10): # CONFIG_VIDEO_HDMI is not set
configs/Ampe_A76_defconfig(10): # CONFIG_VIDEO_HDMI is not set
configs/difrnce_dit4350_defconfig(10): # CONFIG_VIDEO_HDMI is not set
configs/Empire_electronix_d709_defconfig(11): # CONFIG_VIDEO_HDMI is not set
configs/Empire_electronix_m712_defconfig(10): # CONFIG_VIDEO_HDMI is not set
configs/inet98v_rev2_defconfig(10): # CONFIG_VIDEO_HDMI is not set
configs/iNet_86VS_defconfig(8): # CONFIG_VIDEO_HDMI is not set
configs/q8_a13_tablet_defconfig(10): # CONFIG_VIDEO_HDMI is not set
configs/UTOO_P66_defconfig(12): # CONFIG_VIDEO_HDMI is not set
```


RSpec report is available at https://2a45cd55.ngrok.io/sessions?search_term=1760ed020409d404e6f024edb9806dcb07e488ea&commit_only=1


Why is this an inline script?


oops undo manual version changes

Demo: quicktests | fiddle


this would be a good block to pull out into its own function


may can I ask you if you want to share the vmaps and mmaps?


może wprowadzić klasę Colony zbierająca grupę bakteri


his loop is sooooo bad.... i =1 :(((((((((((((((((((((((((((((((((((((((((((((((((


нам не нужен этот счётчик, используй отрицательные индексы, Люк


Of course yes :)


Bluemix [toolchain](https://console.ng.bluemix.net/devops/toolchains/ab60ac96-876e-4cb6-a67b-1877001fa700 "jiraPipelineDemo-prod"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/cb46e174-ac0b-433f-ac00-ee426ee03608 "jiraPipelineDemo-prod") deployed this commit to [dev](https://console.ng.bluemix.net/apps/33095d17-ba7e-4938-a7a0-1d9863c2bf95 "ibm:yp:us-south:patrick.joy1:dev")


Yes. Also RTL needs special casing in the widget like start drawing from the right edge, right? That's todo as well.


This commit makes the search box appear twice in some widths when the menu is opened

# This commit
![image](https://cloud.githubusercontent.com/assets/1965565/23920785/64dbf1d2-08d2-11e7-8100-d27af76d6b9e.png)

# Most recent commit (837118d)
![image](https://cloud.githubusercontent.com/assets/1965565/23920826/967379b8-08d2-11e7-9d7b-661206dea5b1.png)


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

http://www.oracle.com/technetwork/java/codeconvtoc-136057.html


Dear Albert,
I am a student of University of Houston. I am trying to install the repository using anaconda command prompt. To install this I have all the necessary and required package installed previously. However, running pip install git+git://github.com/albertbup/deep-belief-network.git is genrating error

" **Command "C:\Users\snayak3\AppData\Local\conda\conda\envs\tensor\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\snayak3\\AppData\\Local\\Temp\\pip-build-ok4w2qp4\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\snayak3\AppData\Local\Temp\pip-d0uoojix-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\snayak3\AppData\Local\Temp\pip-build-ok4w2qp4\scipy\**"

Would you like suggest me something ?

Regards
Sukanti


teste


new line!


Btw, the socks proxies will be socks5://, socks4://, etc.. (if there are more socks lol)

Should add more switches for those or just switch it to if statements


Please don't throw the baby out with the bathwater. `Signer\None` is useful – especially during development.

IMO, unsecured tokens are not bad per se – e.g. one may want to store a valid JWT as template; thus `"alg": "none"` would be reasonable.


Resolves #18


Bluemix [toolchain](https://console.ng.bluemix.net/devops/toolchains/32f91bf1-132d-47af-a273-8af9ee2fe822 "jenkinsGitJiraDemo-prod"): [Jenkins](http://9.37.138.183:8080/ "jenkinsGitJiraDemo-prod") deployed this commit to [dev](https://console.ng.bluemix.net/apps/d16dc581-2998-472c-aea9-621ff23d85da "ibm:yp:us-south:patrick.joy1:dev")


<details>

<summary>No TaskCluster jobs started for this pull request</summary>

```js

The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.
```

</details>


sorry correct is Gate function ;)


Bluemix [toolchain](https://console.ng.bluemix.net/devops/toolchains/ab60ac96-876e-4cb6-a67b-1877001fa700 "jiraPipelineDemo-prod"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/cb46e174-ac0b-433f-ac00-ee426ee03608 "jiraPipelineDemo-prod") deployed this commit to [dev](https://console.ng.bluemix.net/apps/65c716b2-b9b2-4e24-9055-0635dc6df571 "ibm:yp:us-south:patrick.joy1:dev")


and those <tbody> <tr> <td> are the reason why nothing is shown here- those are NOT html tags. change it to ul/li/ p/h/ whatever standard, and it will show here (if you are logged)


All modified files are valid yaml. So that is not the issue


As I said in other comments, I would be happy to insert it automatically, I just don't know how to do it well since it has to follow many other commands.


do this by container id, not by empty css class


Вот теперь стало намного лучше. Эту переменную лучше объявлять поближе к месту непосредственного использования, т.е. перед вторым циклом. Либо оставить здесь, но все расчёты выполнить в одном цикле, а не в двух


Yeah, `sweart`, Swarley.


Maybe I wanted to say `sweat`.


I think
```c
if (c != '\0') break;
```
is a bit more in line what you actually want to check.


D'oh! You're right, I've merged the readme without noticing. Thanks for pointing it out, I'll fix that.


teste


I'm still very unhappy with this.


TeamCity Glyssen :: Glyssen pull requests [Build *.*.473.9807bfece0271a129bb9b58ccfa076820e4bc502](http://build.palaso.org/viewLog.html?buildId=86042&buildTypeId=Glyssen_GlyssenPullRequests) outcome was **SUCCESS**
Summary: Tests passed: 1648, ignored: 18 Build time: 00:08:46


Will do immediately.


Apparently, it is (unfortunately) only possible to add comments to lines to commits and pull requests, so I'll try that now. I'm afraid it's way harder to get on the same page while discussing code on Twitter.


Yes working on this right now, but wanted working `HTTP` and `SOCKS` committed and tested on travis rather sooner than later :smile: .


Bluemix [toolchain](https://console.ng.bluemix.net/devops/toolchains/ab60ac96-876e-4cb6-a67b-1877001fa700 "jiraPipelineDemo-prod"): [Delivery Pipeline](https://console.ng.bluemix.net/devops/pipelines/cb46e174-ac0b-433f-ac00-ee426ee03608 "jiraPipelineDemo-prod") deployed this commit to [dev](https://console.ng.bluemix.net/apps/484e75d3-a20c-44bd-bf65-6c2b4c2a1ee1 "ibm:yp:us-south:patrick.joy1:dev")


Hm, in my understanding skipQuiets is true only on late moves (quietCount > 1) and never true already at the first (non-killer) quiet when QUIET_INIT stage is executed. But the bench is different, so I might miss something...


kiva-init (nealkruis) - x86_64-MacOS-10.9-clang: OK (2474 of 2478 tests passed, 0 test warnings)

 * 4 tests had: EIO diffs.
 * 4 tests had: ESO big diffs.
 * 4 tests had: Table big diffs.
 * 1 test had: AUD diffs.
 * 1 test had: ERR diffs.
 * 1 test had: MTR big diffs.
 * 1 test had: SSZ big diffs.
 * 1 test had: ZSZ big diffs.

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


I forgot this checkin also has some more code cleanups.  I'm trimming away code that doesn't seem to be needed anymore.


That's an improvement here, but the second place (line 8822) should really talk about a constructor taking a parameter of type `pointer` and a deleter, so if you change it to "a single parameter ..." it would be even worse than what we have now.


This will probably break things for Grid. This is just a prototype.


Great start!

This index file is written in English for an English audience. Consider adding lang="en" (or another variant) to the HTML start tag.

Your CSS file is called 'styles' not 'style'.

Your `<div id="map" style="width:1024px;height:400px">` map doesn't need to have inline styling. Add the styling to your stylesheet.

Consider running your code through validators such as the [HTML](https://validator.w3.org/nu/#textarea) and [CSS](http://jigsaw.w3.org/css-validator/) validators over at w3c or JSLint etc... These help pick up small mistakes.


The BusStopCatalog will hold all of the BusStop objects we create with the stm data.


#include<iostream>
using namespace std;
int main(){
    Int n;
    Cout<<”how big the triangle is?”;
    Cin>>n;
    For (int row=1;row<=n; row++){
        For(int col=1;col<=num; col++)  cout<<”*”;
        Cout<<endl;
    }
return 0;
}


I agree we should for ease of use with the database.


`item_sum` чётче, как мне кажется ) Можно даже сделать ещё одно улучшение в названиях переменных. Допустим, сумму за позицию обозвать как `sum`, а итоговую сумму как `total` :)


Here you go https://github.com/WyriHaximus/react-guzzle-http-client/commit/5bafeec9020790cded75d82d1352a39a9e57b214


The BuStopService is a service that will read json data and split all of the records so that BusStop objects can be created.


`> 0`


Current tests never pass on 32bit windows, but I haven't had time to test it locally. I decided to disable it in order to see if 64bit passes from the badge.


kiva-init (nealkruis) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (1284 of 1284 tests passed, 0 test warnings)

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


@DTAIEB using the branch `david-v1.01` instead of `master`?


Sent email to lwgchair and cc'ed you.  I included my rephrasing in there.  See latest version, pushed.


Your fix would exit the loop at the first character, or am I missing something?

The test is currently strictly equivalent to:

```c++
if (c == '\0') break;
```


Thanks for the quick fix guys.  Working fine now!


This is the most important line for those of us that have already been working on K2 and the way this change will have any affect.


develop (kbenne) - x86_64-MacOS-10.10-clang: Build Failed

![Build Badge](http://img.shields.io/badge/build%20status-failing-red.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-NA-red.png)


I did it this way initially, but the aside would not line up correctly
until I moved the asides above the main.
Changing the html fixed this for me, but I am sure I could have/should have
done this differently.

On Tue, Mar 14, 2017 at 12:59 PM, Brian Cama <notifications@github.com>
wrote:

> This main class should probably have existed as the parent element of the
> aside element and the section that contained the articles. This would make
> sure that the two elements would fill the container. So here's what the
> hierarchy maybe should have been set up as  class="clearfix">

</
> article>

>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/tgolf4fun/homework-relaxrblog/commit/b7f99ed38ae8d567dc3958728f3596df62cbfbc7#commitcomment-21317423>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AK570-nZZOaL3uGtjQlXXXyULyxqMXnYks5rlvGogaJpZM4MdEth>
> .
>


Done.


I'll modify the code and try with the rand_r() funcion. I'll be here with the results in minutes :)


<details>

<summary>No TaskCluster jobs started for this pull request</summary>

```js

The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.
```

</details>


Don't see any reason for that.


Если захочешь оставить с `unless`, то можно так:
```
unless symbol.scan(/[aeoui]/).empty?
```


You shouldn’t need to, HarfBuzz will output the glyphs in the visual order.


Ещё можно обойтись без регулярок, используя `Array#include?`


table for the exercise in Release 0


Perfect, it seems that it worked.

So, what I actually meant on Twitter is that you hardcoded the number of pages we have right now (`8`). This will change as we add more teams to our database and the most annoying part is that your scraper will continue to work, but will deliver wrong results, because it will miss the last page! It's annoying enough if it just starts to fail, but keeping on working, but delivering wrong results is even worse.

Now, you have the total count of results (`count`) and the `limit` parameter, so some come to the idea of computing how many pages there can possibly be and trying to fetch them all. Don't do that, we've already done everything for you :-) !

Specifically, we have introduced pagination links to our API, so that you can crawl all of our pages without knowing how many do we have in advance and without doing error-prone pagination offset / limit computations yourself. First you should fetch

https://api.masterleague.net/teams/

and then find the link here:

```json
{
    "count": 152,
    "next": "https://api.masterleague.net/teams/?page=2",
    "previous": null,
    "results": [
        { ... }
```

If there are no more pages, `next` will be `null`, or else just follow the link.


Si hubieras comiteado mas te hubiera cagado a pedos antes, para que importas esto aca?


In der Apfel.png Textur ist noch soviel Platz, da ich dachte da noch mehr Items mit rauf zu packen.
Diese Textur ist derzeit für Apfel und Brot.
Könnte man beizeiten auch umbennenen.


You're right. Need to add to my todo.


Having that said, I'm totally for ditching for loops in favor of foreach loops (apparently called lapply in R), but that's not really what I meant... ;-)


Now I get it, and I'm a little embarassed since it seems I wasted your time :(

esp-open-sdk which I tried to build, checks out the commit: ecfc19a597d76c0eea65148b08d7ccb505cdcac6
of crosstool-NG and the build fails.

But if I checkout the xtensa-1.22.x branch everything is ok.

I'm sorry for the noise, I'll report the bug to esp-open-sdk.


Sorry. My bad. You're right, of course.


у меня еще вопрос возник, в связи с применением гема rubocop: стоит ли делать по его рекомендации "Use (year%400).zero? instead of year%400 == 0." ?


That's no problem. Just need to have 2 items to iterate.


mezclaste tabs man, usa espacios siempre


I'm looking at these now telephon. Thanks for the great suggestions, I'm cleaning them up now. I used pitch2 to make it possible for people to use the standard arguments without having to setup new ones. Or maybe I missed something here? Your suggestion definately makes more sense


128792325-Issue5803 (rraustad) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1708 of 1890 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-90.37%25-yellow.png) ![Coverage Badge](http://img.shields.io/badge/coverage%20status-69.14%25-yellow.png)


Just a gentle reminder: if you change the title, the URL of the post will change accordingly. Because the Disqus comments are associated with the URL, that means comments will be gone (not lost) under the post after the URL is changed.


yes, this is only for testing until I get a chance to deliver to master at which point I'll remove the david-v1.01 tag


Done.


This won't work if the range boundary is modified.


no uses var, usa `let` si vas a mutar / cambiar el valor de channels o usa `const` si no cambia.
Tenes que meter un linter (googlea eslint) a esto y a tu editor.


volviste a usar tabs


Could you just have the last of the "it must follow" commands insert it? And if that one never happens, then have something raise an error somehow?


Я тут застрял, если честно - не понял, что нужно сделать. С третьей попытки вроде понял, что требуется


Este tiene que estar más atrás.


kiva-init (nealkruis) - x86_64-Linux-Ubuntu-14.04-custom_check: OK (0 of 0 tests passed, 0 test warnings)

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


te faltó indentar aca


молодец


fyi, I think this change might be problematic. I was running some tests with Bazel head and TF head and this change results in the following error:

Extracting Bazel installation...
.......
____Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
.......
____Loading package: tensorflow/compiler/tests
ERROR: /tensorflow/tensorflow/core/platform/default/build_config.bzl:220:6: name 'WITH_GCP_SUPPORT' is not defined.
____Loading package: tensorflow/tools/graph_transforms
ERROR: error loading package 'tensorflow/core/distributed_runtime': Extension 'tensorflow/core/platform/default/build_config.bzl' has errors.


Да, к заданию это не относится. Я неправильно написал. Даже не проверку, а просто приведение к типу можно сделать в этом месте, а не в функции `average_rating`. Т.е. написать что-то вроде:
```
scores = []
for score in input('Оценки: ').split(' '):
    scores.append(int(score))
```

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

Это не ошибка, просто я хотел на этом примере показать как изменение порядка кода может сделать его немнго более удобным.

P.S. можно еще проще записать получение оценок с приведением типов, с помощью списковых включений, но мы пока это не проходили: `scores = [int(score) for score in input('Оценки: ').split(' ')]`


Hi Min Soo,

Just saw you deprecated this library.  Is there a similar library you'd recommend that is still supported?

Thanks for creating this library.


@fafhrd91 Sounds reasonable. Do we need tests for these 2 cases?


Looks good!

Should change the be*_t defines in libibumad to be __be*?  I don't think we can just remove the defines.  I think others up the stack may be using them.  But perhaps this is another place for deprecation?


Si pones las props en diferentes lineas, ponelas todas en diferentes lineas, no algunas, y cerra donde arrancaste
```
<Channel
  name={channels.name}
  key={channels.key}
/>
```
PD: Si los nombres fueran unicos podias hacer que la key sea el name


Extremely Efficient Algorithm. The algorithm intelligently calculates N value for each iteration thus, it can actually, go to the right member of array and perform the rest of the operation.
My good moves were calculation of n, and while using, the other thing that does not make sense is actually, the calculation of the when while stops, which within this implementation, there is no need to do so, because you are solely relying on the n value.


Missing `)` at the end of `$(MFEM_MPIRUN_CMD`.


And a pipe is now correctly closed.


Не критично. Можешь оставить как есть.


personally, I don't care. it is rear situation and then is developer replaces filesystem content on working server, it is his problem


Looks good to me


`const ordersValue = orders.reduce((sum, order) => {
    return sum += parseFloat(order.buyValue)
  }, 0)`

Done.


<details>

<summary>No TaskCluster jobs started for this pull request</summary>

```js

The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.
```

</details>


Отрицательные индексы помогут тебе достать последнее и предпоследнее число в массиве. Вот, например, последнее: `ar[-1]`


Should SparkUtils.java use getContextUnsafe() ?

public static Dataset<Row> resultSetToDF(ResultSet rs) throws StandardException {
.....
        StructType schema = DataTypes.createStructType(fields);
        return SpliceSpark.getSession().createDataFrame(rdd.map(new LocatedRowToRowFunction()), schema);
    }


But now that command must be the last of the "it must follow" commands.  That seems just as bad as requiring maketitle.  Maybe worse.

Another alternative is doing something like this, but it also doesn't seem like an improvement to me:
```
@topmatter{
  @title{...}
  @author{...}
}
```


@DTAIEB maybe we can make the message a little clearer, not sure if this is clearer but something like: `Controls the X-Axis of the chart. Rows will be grouped by the column(s) assigned to the Keys field. Columns may be numeric or string.`


да, я догадался (сильно лаконичнее получается):

array = [0, 1]
while (array[-2] + array[-1]) <= 100
  array << array[-2] + array[-1]
end
puts array


Does not compile without error including after fixing rook-> queen in line 160


Discovered I was passing json to song_lyrics insted of a string. Used json.dumps


Let's take this comment out @leochrisis


TeamCity Glyssen :: Glyssen pull requests [Build *.*.474.9a67aa525ee3ef4b4952760fc4aeffebbf0f6baa](http://build.palaso.org/viewLog.html?buildId=86043&buildTypeId=Glyssen_GlyssenPullRequests) outcome was **SUCCESS**
Summary: Tests passed: 1648, ignored: 18 Build time: 00:08:04


Very nice code


We should file an issue about this.


is there a way to see that logs on screen, at least with debug mode enabled?


I don't understand the first half of your response. What I'm saying is that you can have the macro implementation of each of the commands that must precede the latex `maketitle` check to see if it is the last one. If it is, then it would expand into the `maketitle`.

If you did do `topmatter`, you would probably do it with `[]` not `{}`, since text won't be allowed there, just the specific commands?


That is unfortunatelly not possible. Symbol VIDEO_HDMI depends on VIDEO. Symbol VIDEO has two parts, one defined in board/sunxi/Kconfig and second in drivers/video/Kconfig:
`config VIDEO
	bool "Enable legacy video support"
	depends on !DM_VIDEO
	help
	  Define this for video support, without using driver model. Some
	  drivers use this because they are not yet converted to driver
	  model. Video drivers typically provide a colour text console and
	  cursor.`

As you can see, it is not compatible with DM_VIDEO... In short, VIDEO means old framework (cfb console) and DM_VIDEO new framework, which are exclusive.


Looks good to me. cc/ @bradnoble


close #12
added static settingsManager


Ne bi trebalo praviti query za sve uzere iz baze i onda proveravati da li postoji neki sa tim emailom. Bolje napraviti u repozitorijumu metody "User GetUserByEmail(string email) - SELECT * FROM USERS WHERE EMAIL == {EMAIL}". Isto nije najbolje da metoda vraca string, bolje bi bilo da ta metoda baca neki service exception, tipa "thorw new UserAlreadyExists()". Svi exception-i se handle-aju u presentation sloju (najbolje bi bilo da postoje neki global exceptinon handler kako ne bi http 500 otisao do korisnika i kako ne bi morali svuda da radite try-catch).


I'm getting annoyed by the lack of concrete examples.

In *what* situation would you draw a false conclusion while debugging from seeing the same line appear at most N times instead of infinitely often?


Yep. Fix here: https://github.com/tensorflow/tensorflow/pull/8408


Koristiti View Model ovde umesto da uzimate parametre iz request-a


Тут лучше переиспользовать объекты а не создавать их каждый раз


В случае исключения его нужно обязательно логировать


Не хватает JavaDocs


Oh wow. Just noticed this.

Love the new structure! :+1:


Zasto je status string? Mozda bi bilo bolje da je enum


New number


good idea!


pending due to https://github.com/prawnpdf/prawn/issues/1011


hi eq, r u rebranding ? ♻


А для чего нужен тот класс?


People, we're still confusing things... 😭

> The inclusion of the "None" option, AND making it default (as it appears, or appeared to be) is a bit worrisome.

> This is exactly the problem with JWT as a whole, by the way.

1. The [JWA RFC does not require the `none` algorithm](https://tools.ietf.org/html/rfc7518#section-3.1). That's up to the implementations to support or not.
2. I didn't introduce it on the v4, it was supported since v1. @Ocramius and I spotted that DESIGN FLAW  (and others) during the major redesign we're working on.

The problem was (and yes, let's speak code) - using the version that @paragonie-scott analysed btw:

```php
// Unsecured token
use Lcobucci\JWT\Builder;

$token = (new Builder())
    ->setIssuer('http://example.com')
    ->setAudience('http://example.org')
    ->setIssuedAt(time())
    ->setNotBefore(time() + 60)
    ->setExpiration(time() + 3600)
    ->set('uid', 1)
    ->getToken();

// Signed token
use Lcobucci\JWT\Builder;
use Lcobucci\JWT\Signer\Hmac\Sha256;

$token = (new Builder())
    ->setIssuer('http://example.com')
    ->setAudience('http://example.org')
    ->setIssuedAt(time())
    ->setNotBefore(time() + 60)
    ->setExpiration(time() + 3600)
    ->set('uid', 1)
    ->sign(new Sha256(), 'my-random-and-secure-key') // <-- here's where the signing happens
    ->getToken();
```

As you can see is not so good to have `Builder#sign()` as a separate call since someone can basically remove it and nothing would break (however the new tokens would be unsecured, which is completely naive).

This issue is addressed by `4.0-dev` by FORCING the developer to ALWAYS pass a `Signer` on the `Builder#getToken()` method (and creating the `None` signer):

```php
// Unsecured token
use Lcobucci\Jose\Parsing\Parser;
use Lcobucci\JWT\Signer\None;
use Lcobucci\JWT\Signer\Key;
use Lcobucci\JWT\Token\Builder;

$now = new \DateTimeImmutable();
$token = (new Builder(new Parser()))
    ->issuedBy('http://example.com')
    ->permittedFor('http://example.org')
    ->issuedAt($now)
    ->canOnlyBeUsedAfter($now->modify('+1 minute'))
    ->expiresAt($now->modify('+1 hour'))
    ->withClaim('uid', 1)
    ->getToken(new None(), new Key(''));

// Signed token
use Lcobucci\Jose\Parsing\Parser;
use Lcobucci\JWT\Signer\Hmac\Sha256;
use Lcobucci\JWT\Signer\Key;
use Lcobucci\JWT\Token\Builder;

$now = new \DateTimeImmutable();
$token = (new Builder(new Parser()))
    ->issuedBy('http://example.com')
    ->permittedFor('http://example.org')
    ->issuedAt($now)
    ->canOnlyBeUsedAfter($now->modify('+1 minute'))
    ->expiresAt($now->modify('+1 hour'))
    ->withClaim('uid', 1)
    ->getToken(new Sha256(), new Key('my-random-and-secure-key'));
```

> Is there a real need for a default value at all? As far as I can see, "alg": "…" is mandatory; thus it would be reasonable to force the user to configure it.

There was NEVER a default value for the token builder but we TEMPORARILY had a default signer for the configuration object, which serves JUST as a tiny dependency injection container to simplify and group dependencies. That object was created to help our users to have kind of a "single point" of interaction with the library.

The design of that object EVOLVED on the `master` branch and currently there are 3 ways to create a configuration object:

1. People using symmetric algorithm should go with `Configuration::forSymmetricSigner($signer, $key)`
2. People using asymmetric algorithm should use `Configuration::forAsymmetricSigner($signer, $privateKey, $publicKey)`
3. People who are not really creating tokens that are transmitted publicly (or simply don't care about security at all) `Configuration::forUnsecuredSigner()`

So using that configuration object (regardless of which signer you're using) the token creation would be (and we'll have only ONE way to create a token):

```php
use Lcobucci\JWT\Configuration;

$config = Configuration::for*(); // using the config option you want to have
$now = new \DateTimeImmutable();
$token = $config->createBuilder()
    ->issuedBy('http://example.com')
    ->permittedFor('http://example.org')
    ->issuedAt($now)
    ->canOnlyBeUsedAfter($now->modify('+1 minute'))
    ->expiresAt($now->modify('+1 hour'))
    ->withClaim('uid', 1)
    ->getToken($config->getSigner(), $config->getSigningKey());
```

The point of the design of the current `Configuration` object is to make sure that people are aware that they are using the correct `Signer` (even it's the unsecured one).

> you can just encrypt the output string of the original JWT using something like libsodium :P but idk why you would want to.

JWT doesn't have the intent to prevent people from reading information of your token, it just cares about integrity (when the token is signed, obviously). JWE is the one to go with to encrypt your token (and thus creating a nested token).

I would love to have a `Signer` that implements libsodium signing and that should be quite straightforward to build, the only thing we need is to propose the addition to the algorithm list (JWA). That proposal should probably be done via the [mailing list](https://www.ietf.org/mail-archive/web/jose/current/maillist.html).

I do have plans to support nested tokens (JWE) but that's not gonna happen anytime soon.


Completando dados das tabelas: _autores_, _obras_ e _acervo_, conforme notificação do **administrador**.