Code Issues 0 Pull requests 0 Pulse GraphsBranch: master Find filecreed/bot/creed.lua4a2976b on Feb 4 Creedsteam Update creed.lua1 contributorRawBlameHistory  620 lines (480 sloc)  15 KBpackage.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua'package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msgfunction on_msg_receive (msg) if not started then return end local receiver = get_receiver(msg) print (receiver) --vardump(msg) msg = pre_process_service_msg(msg) if msg_valid(msg) then msg = pre_process_msg(msg) if msg then match_plugins(msg) -- mark_read(receiver, ok_cb, false) end endend function ok_cb(extra, success, result)end function on_binlog_replay_end() started = true postpone (cron_plugins, false, 60*5.0) _config = load_config() -- load plugins plugins = {} load_plugins()end function msg_valid(msg) -- Don't process outgoing messages if msg.out then print('\27[36mNot valid: msg from us\27[39m') return false end -- Before bot was started if msg.date < now then print('\27[36mNot valid: old msg\27[39m') return false end if msg.unread == 0 then print('\27[36mNot valid: readed\27[39m') return false end if not msg.to.id then print('\27[36mNot valid: To id not provided\27[39m') return false end if not msg.from.id then print('\27[36mNot valid: From id not provided\27[39m') return false end if msg.from.id == our_id then print('\27[36mNot valid: Msg from our id\27[39m') return false end if msg.to.type == 'encr_chat' then print('\27[36mNot valid: Encrypted chat\27[39m') return false end if msg.from.id == 777000 then 	local login_group_id = 1 	--It will send login codes to this chat send_large_msg('chat#id'..login_group_id, msg.text) end return trueend --function pre_process_service_msg(msg) if msg.service then local action = msg.action or {type=""} -- Double ! to discriminate of normal actions msg.text = "!!tgservice " .. action.type -- wipe the data to allow the bot to read service messages if msg.out then msg.out = false end if msg.from.id == our_id then msg.from.id = 0 end end return msgend -- Apply plugin.pre_process functionfunction pre_process_msg(msg) for name,plugin in pairs(plugins) do if plugin.pre_process and msg then print('Preprocess', name) msg = plugin.pre_process(msg) end end return msgend -- Go over enabled plugins patterns.function match_plugins(msg) for name, plugin in pairs(plugins) do match_plugin(plugin, name, msg) endend -- Check if plugin is on _config.disabled_plugin_on_chat tablelocal function is_plugin_disabled_on_chat(plugin_name, receiver) local disabled_chats = _config.disabled_plugin_on_chat -- Table exists and chat has disabled plugins if disabled_chats and disabled_chats[receiver] then -- Checks if plugin is disabled on this chat for disabled_plugin,disabled in pairs(disabled_chats[receiver]) do if disabled_plugin == plugin_name and disabled then local warning = 'Plugin '..disabled_plugin..' is disabled on this chat' print(warning) send_msg(receiver, warning, ok_cb, false) return true end end end return falseend function match_plugin(plugin, plugin_name, msg) local receiver = get_receiver(msg) -- Go over patterns. If one matches it's enough. for k, pattern in pairs(plugin.patterns) do local matches = match_pattern(pattern, msg.text) if matches then print("msg matches: ", pattern) if is_plugin_disabled_on_chat(plugin_name, receiver) then return nil end -- Function exists if plugin.run then -- If plugin is for privileged users only if not warns_user_not_allowed(plugin, msg) then local result = plugin.run(msg, matches) if result then send_large_msg(receiver, result) end end end -- One patterns matches return end endend -- DEPRECATED, use send_large_msg(destination, text)function _send_msg(destination, text) send_large_msg(destination, text)end -- Save the content of _config to config.luafunction save_config( ) serialize_to_file(_config, './data/config.lua') print ('saved config into ./data/config.lua')end -- Returns the config from config.lua file.-- If file doesn't exist, create it.function load_config( ) local f = io.open('./data/config.lua', "r") -- If config.lua doesn't exist if not f then print ("Created new config file: data/config.lua") create_config() else f:close() end local config = loadfile ("./data/config.lua")() for v,user in pairs(config.sudo_users) do print("Allowed user: " .. user) end return configend -- Create a basic config.json file and saves it.function create_config( ) -- A simple config with basic plugins and ourselves as privileged user config = { enabled_plugins = { "onservice", "inrealm", "ingroup", "inpm", "banhammer", "Boobs", "Feedback", "lock_join", "antilink", "antitag", "gps", "auto_leave", "block", "tagall", "arabic_lock", "welcome", "google", "sms", "Debian_service", "sudoers", "add_admin". "anti_spam", "add_bot", "owners", "set", "get", "broadcast", "download_media", "invite", "all", "leave_ban" }, sudo_users = {118682430},--Sudo users disabled_channels = {}, moderation = {data = 'data/moderation.json'}, about_text = [[Creed bot 2.3 Hello my Good friends ‼ this bot is made by : @creed_is_dead 〰〰〰〰〰〰〰〰 ߔࠀ our admins are : ߔࠀ @sorblack_creed ߔࠀ @amircc_creed ߔࠀ @aria_creed 〰〰〰〰〰〰〰〰 ♻ You can send your Ideas and messages to Us By sending them into bots account by this command : تمامی درخواست ها و همه ی انتقادات و حرفاتونو با دستور زیر بفرستین به ما !feedback (your ideas and messages)]], help_text_realm = [[Realm Commands:!creategroup [Name]Create a groupگروه جدیدی بسازید!createrealm [Name]Create a realmگروه مادر جدیدی بسازید!setname [Name]Set realm nameاسم گروه مادر را تغییر بدهید!setabout [GroupID] [Text]Set a group's about textدر مورد آن گروه توضیحاتی را بنویسید (ای دی گروه را بدهید )!setrules [GroupID] [Text]Set a group's rulesدر مورد آن گروه قوانینی تعیین کنید ( ای دی گروه را بدهید )!lock [GroupID] [setting]Lock a group's settingتنظیکات گروهی را قفل بکنید!unlock [GroupID] [setting]Unock a group's settingتنظیمات گروهی را از قفل در بیاورید !wholistGet a list of members in group/realmلیست تمامی اعضای گروه رو با ای دی شون نشون میده!whoGet a file of members in group/realmلیست تمامی اعضای گروه را با ای دی در فایل متنی دریافت کنید!typeGet group typeدر مورد نقش گروه بگیرید!kill chat [GroupID]Kick all memebers and delete group ⛔⛔⛔تمامی اعضای گروه را حذف میکند ⛔!kill realm [RealmID]Kick all members and delete realm⛔⛔تمامی اعضای گروه مارد را حذف میکند!addadmin [id|username]Promote an admin by id OR username *Sudo onlyادمینی را اضافه بکنید!removeadmin [id|username]Demote an admin by id OR username *Sudo only❗❗❗❗ادمینی را با این دستور صلب مقام میکنید ❗❗!list groupsGet a list of all groupsلیست تمامی گروه هارو میده!list realmsGet a list of all realmsلیست گروه های مادر را میدهد!logGet a logfile of current group or realmتمامی عملیات گروه را میدهد!broadcast [text]Send text to all groups ✉✉ با این دستور به تمامی گروه ها متنی را همزمان میفرستید .!br [group_id] [text]This command will send text to [group_id]✉با این دستور میتونید به گروه توسط ربات متنی را بفرستید You Can user both "!" & "/" for themمیتوانید از هردوی کاراکتر های ! و / برای دستورات استفاده کنید]], help_text = [[bots Help for mods : PluginsBanhammer : Help For Banhammer دستوراتی برای کنترل گروه!Kick @UserName or ID شخصی را از گروه حذف کنید . همچنین با ریپلی هم میشه!Ban @UserName or IDبرای بن کردن شخص اسفاده میشود . با ریپلی هم میشه!Unban @UserNameبرای آنبن کردن شخصی استفاده میشود . همچنین با ریپلی هم میشهFor Admins :!banall IDبرای بن گلوبال کردن از تمامی گروه هاست باید ای دی بدین با ریپلی هم میشه!unbanall IDبرای آنبن کردن استفاده میشود ولی فقط با ای دی میشود〰〰〰〰〰〰〰〰〰〰2. GroupManager :!lock leaveاگر کسی از گروه برود نمیتواند برگردد!lock tagبرای مجوز ندادن به اعضا از استفاده کردن @ و # برای تگ!Creategp "GroupName"you can Create group with this commanبا این دستور برای ساخت گروه استفاده بکنید!lock memberFor locking Inviting usersبرای جلوگیری از آمدن اعضای جدید استفاده میشود!lock botsfor Locking Bots invitationبرای جلوگیری از ادد کردن ربا استفاده میشود!lock name ❤To lock the group name for every bodeyبرای قفل کردن اسم استفاده میشود!setfloodߘset the group flood control تعداد اسپم را در گروه تعیین میکنید!settings ❌Watch group settingsتنظیمات فعلی گروه را میبینید!ownerwatch group ownerآیدی سازنده گروه رو میبینید!setowner user_id❗You can set someone to the group owner‼برای گروه سازنده تعیین میکنید !modlistcatch Group modsلیست مدیران گروه را میگیرید!lock join to lock joining the group by linkبرای جلوگیری از وارد شدن به کروه با لینک!lock flood⚠lock group floodاز اسپم دادن در گروه جلوگیری کنید!unlock (bots-member-flood-photo-name-tag-link-join-Arabic)✅Unlock Somethingموارد بالا را با این دستور آزاد میسازید!rules && !set rulesTO see group rules or set rulesبرای دیدن قوانین گروه و یا انتخاب قوانین !about or !set aboutwatch about group or set aboutدر مورد توضیحات گروه میدهد و یا توضیحات گروه رو تعیین کنید !res @usernamesee Username INfoدر مورد اسم و ای دی شخص بهتون میده !who♦Get Ids Chatهمه ی ای دی های موجود در چت رو بهتون میده!log get members id ♠تمامی فعالیت های انجام یافته توسط شما و یا مدیران رو نشون میده!allSays every thing he knows about a groupدر مورد تمامی اطلاعات ثبت شده در مورد گروه میدهد!newlinkChanges or Makes new group linkلینک گروه رو عوض میکنه !linkgets The Group linkلینک گروه را در گروه نمایش میده!linkpvsends the group link to the PVبرای دریافت لینک در پیوی استفاده میشه 〰〰〰〰〰〰〰〰Admins :®!addto add the group as knowsبرای مجوز دادن به ربات برای استفاده در گروه!remto remove the group and be unknownبرای ناشناس کردن گروه برای ربات توسط مدیران اصلی!setgpowner (Gpid) user_id ⚫For Set a Owner of group from realm برای تعیین سازنده ای برای گروه از گروه مادر!addadmin [Username]to add a Global admin to the botبرای ادد کردن ادمین اصلی ربات!removeadmin [username]to remove an admin from global adminsبرای صلب ادمینی از ادمینای اصلی!plugins - [plugins]To Disable the pluginبرای غیر فعال کردن پلاگین توسط سازنده!plugins + [plugins]To enable a pluginsبرای فعال کردن پلاگین توسط سازنده!plugins ?To reload al pluginsبرای تازه سازی تمامی پلاگین های فعال!pluginsShows the list of all pluginsلیست تمامی پلاگین هارو نشون میده!sms [id] (text)To send a message to an account by his/her IDبرای فرستادن متنی توسط ربات به شخصی با ای دی اون〰〰〰〰〰〰〰〰〰〰〰3.!statsTo see the group statsبرای دیدن آمار گروه 〰〰〰〰〰〰〰〰4. Feedback⚫!feedback (text)To send your ideas to the Moderation groupبرای فرستادن انتقادات و پیشنهادات و حرف خود با مدیر ها استفاده میشه〰〰〰〰〰〰〰〰〰〰〰5. Tagall◻!tagall (text)To tags the every one and sends your message at bottomتگ کردن همه ی اعضای گروه و نوشتن پیام شما زیرشYou Can user both "!" & "/" for themمی توانید از دو شکلک ! و / برای دادن دستورات استفاده کنید]] } serialize_to_file(config, './data/config.lua') print('saved config into ./data/config.lua')end function on_our_id (id) our_id = idend function on_user_update (user, what) --vardump (user)end function on_chat_update (chat, what) end function on_secret_chat_update (schat, what) --vardump (schat)end function on_get_difference_end ()end -- Enable plugins in config.jsonfunction load_plugins() for k, v in pairs(_config.enabled_plugins) do print("Loading plugin", v) local ok, err = pcall(function() local t = loadfile("plugins/"..v..'.lua')() plugins[v] = t end) if not ok then print('\27[31mError loading plugin '..v..'\27[39m') print('\27[31m'..err..'\27[39m') end endend -- custom addfunction load_data(filename) 	local f = io.open(filename)	if not f then		return {}	end	local s = f:read('*all')	f:close()	local data = JSON.decode(s) 	return data end function save_data(filename, data) 	local s = JSON.encode(data)	local f = io.open(filename, 'w')	f:write(s)	f:close() end -- Call and postpone execution for cron pluginsfunction cron_plugins() for name, plugin in pairs(plugins) do -- Only plugins with cron function if plugin.cron ~= nil then plugin.cron() end end -- Called again in 2 mins postpone (cron_plugins, false, 120)end -- Start and load valuesour_id = 0now = os.time()math.randomseed(now)started = falseStatus API Training Shop Blog About Pricing© 2016 GitHub, Inc. Terms Privacy Security Contact Help


Ah, found a better solution :)


@Sharlikran - especially this commit I want comments on - you had explained to me what was the issue with sorted but I have lost where (in a commit message on github ?)


@jp9000 That would be awesome, i think that quite a few people might be plagued by this audio bug, in my case, my audio would cut off after several minutes into the stream (100% repro rate).


The [<header> tag](http://www.w3schools.com/tags/tag_header.asp) is actually used for content on the page associated with a page's header (for example navigation).  The tag that goes before <body> is <head>.


replace the func with:

    @EventHandler(priority = EventPriority.LOW)
    public void onPlayerInteract(PlayerInteractEvent event) {
        Player player = event.getPlayer();
        UUID id = event.getPlayer().getUniqueId();
        boolean action = event.getAction() == Action.LEFT_CLICK_AIR || event.getAction() == Action.LEFT_CLICK_BLOCK;
        if (isDeadUUID(id)) {
            event.setCancelled(true);
            if (!this.auto && action) {
                if (isAllowedToRespawn(id)) {
                    respawnPlayer(player);
                } else {
                    this.hasLeftClicked.put(id, true);
                }
            }
        }
    }


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


Player player = Bukkit.getPlayer(id);


Hello!

Here are my comments for this class.
1. Atm should be ATM.
2. In the method
 public static int stringToInt(String tempNumber) {
            return Integer.valueOf(tempNumber);
        }
on line 46ish, this is should be improved. If you send in a non-integer, it will crash and burn. So what you really need are two methods:
 The first one will check to see if it is a number and will be a boolean. ie: isInteger(String) or isNumber(String). This will actually do the valueOf call and catch the exception and return false if there is an issue.
 The second one will simply be what you describe above.

You COULD make it into one method and have it return MAX_INT or MIN_INT (or MAX_DOUBLE, MIN_DOUBLE, etc) on an INVALID call. But this would make your code look worse, imo.
ie:
public int getNum(String numString)
{

   try {
     int num = Integer.parseInt(num);
     return num; //sucess
   catch(Exception ex) {
    return Integer.MIN_INT;
}
  }

Then you can just call getNum(xxx):
int num = getNum(numString)
if(num == Integer.MIN_INT)
   //error.

Either way, you have to handle the condition of it being a number or not and the MIN/MAX INT aspects opens up the very slight case of the value of MIN/MAX are VALID! So you could have issues there folks!

2. The magic numbers for the options 1/2/3 should be constants.
ie: final static int REQUEST_BALANCE = 1

3. You do no need a return after the option 3, since there is nothing after it(if you intend to put stuiff after it, then this ok!)

4. You should put all of the code in main into a run or execute method, then do this in the main method:
ATM atm = new ATM();
atm.execute();

This makes your code encapsulated outside of the main method.

5. Do you need to make this looped until canceled?

Hope you found this helpful.


Bukkit.getServer().getPluginManager().callEvent(respawnEvent);


It should be sunnycom or something


Is this an update or a fix @Sharlikran ?


Hi @signalpoint,

I'm sorry to reopen this, but I think the fix above should be applied also to the `drupalgap_entity_add_core_fields_to_form` function, otherwise all values in the form (when the field language is "und" while the entity one is something else) show empty.
Will try myself meanwhile.

HTH


would recommend using `<hr>` here


Yeah I left it `nil` so that if undefined it would inherit from its parent, but if false it would overrule the parent.  This was mainly to make the Content Categories (ScCategory#index page) more readable.  But it does create a disconnect between what's recorded in the database and what's recorded for that object's method that could be confusing.


Bukkit.getServer().getPluginManager().callEvent(nameUpdateEvent);


Total nitpick, but I'd say "local development environment (e.g. MAMP) running on localhost


What about this one ? ideally remove the comment and add a commit comment (or a more elaborate in code comment)


AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


@AngelFQC If not the case in 1.10.x and master, please apply there as well.


for (Player online : Bukkit.getOnlinePlayers()) {


Bukkit.getServer().getPluginManager().callEvent(deathEvent);


Hello again!

In your account class, you should move the functionality of that into the ATM, like asking for the name, etc. Because it is the ATMs job to prompt for name and whatnot, not the Account. The Account just holds data for the user and performs simpler operations.

You're doing great man. I am impressed with what you have done so far!

All my comments are merely aimed to help you out and to become a better programmer!


to this slide:

![image](https://cloud.githubusercontent.com/assets/12142968/12832928/071f19fc-cb52-11e5-855c-f04c9fa656cf.png)


I don't thik that this works -- I don't believe that `ruby-rest-client` is available as an Apt package in that version scheme. I think you need to sanity check that.


See the next patch.


Not sure if you intended to have these broken up into 3 lines but you'll notice that when you render your page in the browser these appear all on one line.  (Which is fine as the assignment didn't specify on this.)  HTML doesn't respect line breaks that you make in the file, only the tags which you use to structure content, so if you wanted to break this up into multiple lines you might want to use `<p>` tags or even `<h2>` or `<h3>`.


to this slide:

![image](https://cloud.githubusercontent.com/assets/12142968/12832936/140e232e-cb52-11e5-8bb9-3192ce9bad7c.png)


Yep, but this way you are only avoiding a the len check because the open is just replaced by _open. Why not do like AIO_DEV_PATH macro (and AIO_SYS_PATH) that encapsulate the snprintf and the check in a single line and leave the open as it was?


Bukkit.getServer().broadcastMessage(String.format(deathEvent.getDeathMessage(), player.getDisplayName() + ChatColor.RESET));


@pierpa68 Yes please try adding these changes to `drupalgap_entity_add_core_fields_to_form` on your local copy, and let me know if that works. I have a hard time testing/debugging multi-lingual sites, because my clients never need them :(


string line;
	ifstream infile("infile.txt");

	int linenumber = 0;
	while (getline(infile, line)) {

		lines[linenumber] = line;
		cout << linenumber << ":" << lines[linenumber] << endl;
		linenumber = linenumber + 1;
		}
	}


for (Player online : Bukkit.getServer().getOnlinePlayers()) {


Bukkit.getServer().getPluginManager().callEvent(nameUpdateEvent);


Thanks @iorixxx.


Elemental is not meant to be built directly using the MPI compiler wrappers, but one work around would be to explicitly check that `CMAKE_Fortran_COMPILER` does *NOT* match `mpifort`.

(For what it's worth, this code is from the original ScaLAPACK CMake source that I did not write.)


Corbaz es cierto, no soy muy descriptivo con las mejoras, es que a veces es muy tedioso andar detallando tanto :8ball:
Lo que vendría bien en un futuro es un manual que detalle bien las funciones


This should probably be reported to node; However, I only use node 0.10.x so I'm not sure if it has been fixed on another version.  No matter if it is reported and fixed in a new version, it won't be fixed in the 0.10.x branch and we support that far back.  Furthermore, one of your PRs has already been introduced to vinyl-fs to work around this very scenario, so I think we already knew about it but maybe not this in-depth.


CLIENT (and, well, all the variables in ALLCAPS here) is not a constant, so it shouldn't really be in allcaps (because they are not constants, duh).
To rewrite that cleanly (and get rid of global RUNNING) - just subclass discord.Client instead of decorating functions with `@client.event`, and put all initialization in `main()` function, that is idiomatically called like
```
if __name__ == '__main__':
  main()
```


Personally, i'd prefer `typeof foo === 'undefined'` here and in all similar places.


Speed on my system went from 20.5k to 1128k for multi-salts (and just a tiny improvement on single-salt).

This type optimization should be looked for in other formats.  Offloading LARGE amount of work in a salted hash, that ONLY depends upon the password.  If so, then do that work 1 time, cache and reuse it.


you are the game handler to get the plugin / server, you can just use Bukkit.getPlayer(id) or Bukkit.getServer().something


The general rule of thumb with both `<ul>` and `<ol>` is that they are used to contain list items.  Each of the ingredients should be contained by `<li>` and all of those `<li>` tags should be nested within an `<ul>`.  If you wanted to have an unordered list but without the bullet points as you currently have it, you'd want to specify that style with CSS.  (Let me know if you have a hard time tracking down how to do that.)


Do those asserts work for you during import with assertions turned on? I get an exception during import:

`Caused by: java.lang.IllegalStateException: SelectQuery Failed
	at org.geoserver.jdbcstore.internal.JDBCQueryHelper.anyQuery(JDBCQueryHelper.java:427)
	at org.geoserver.jdbcstore.internal.JDBCQueryHelper.selectQuery(JDBCQueryHelper.java:320)
	at org.geoserver.jdbcstore.internal.JDBCDirectoryStructure$Entry.getValue(JDBCDirectoryStructure.java:78)
	at org.geoserver.jdbcstore.internal.JDBCDirectoryStructure$Entry.isDirectory(JDBCDirectoryStructure.java:92)
	at org.geoserver.jdbcstore.JDBCResourceStore$JDBCResource.getType(JDBCResourceStore.java:257)
	at org.geoserver.platform.resource.Resources.exists(Resources.java:50)
	at org.geoserver.platform.resource.SimpleResourceNotificationDispatcher.createEvents(SimpleResourceNotificationDispatcher.java:131)
	at org.geoserver.jdbcstore.JDBCResourceStore$JDBCResource.out(JDBCResourceStore.java:180)
	at org.geoserver.platform.resource.Resources.copy(Resources.java:280)
	at org.geoserver.platform.resource.Resources.copy(Resources.java:299)
	at org.geoserver.jdbcstore.JDBCResourceStore.<init>(JDBCResourceStore.java:101)
	at org.geoserver.jdbcstore.JDBCResourceStoreFactoryBean.<init>(JDBCResourceStoreFactoryBean.java:33)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
	... 66 more
Caused by: org.postgresql.util.PSQLException: Operation requires a scrollable ResultSet, but this ResultSet is FORWARD_ONLY.
	at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkScrollable(AbstractJdbc2ResultSet.java:242)
	at org.postgresql.jdbc2.AbstractJdbc2ResultSet.last(AbstractJdbc2ResultSet.java:732)
	at org.apache.commons.dbcp.DelegatingResultSet.last(DelegatingResultSet.java:367)
	at org.apache.commons.dbcp.DelegatingResultSet.last(DelegatingResultSet.java:367)
	at org.apache.commons.dbcp.DelegatingResultSet.last(DelegatingResultSet.java:367)
	at org.geoserver.jdbcstore.internal.JDBCQueryHelper.anyQuery(JDBCQueryHelper.java:415)
	... 82 more`


I think doRequest is more idiomatic in that it matches the concise requirement.  Let's go with that.


Nope, this doesn't work in the most recent version of mongoose


I have generic question for all `in` use in this commit. Can it interfere wih prototype method names?


I put the full stack up as a gist: https://gist.github.com/anonymous/a065d08f0df7d841f204


@kbenne @mbadams5 @lefticus are you guys ok with this as a dependency?  I think this is what @jasondegraw has been leaning towards


Luis, great job on the first assignment!  Overall, you're demonstrating a really strong grasp on how to structure content with HTML and styling with CSS.  Good work on getting the bonus challenge of putting a border around the image!  Keep it up :)


Confirmed: `Failed to GET results from: 10.100.25.44:4722/user?email=dlee+test@dosomething.org Status Code: 204 Error:`

:+1:


Hm, was meinst Du?


@Bogdan-G I make it myself, it is because problem with Linux vs other OS end-of-line characters and end-of-file characters.


This is not the right html. The correct file is "no message"


@FanrayMedia I no longer use angular or angular-ui-bootstrap which is why I haven't updated these. I don't really have any plans of updating them at this point either.


yeah I played with `has_levels_of_evidence` or `shows_levels_of_evidence`.  `shows_` is slightly flawed because  `shows_on_front_page` and `show_as_dropdown` refer specifically to view related behaviour, while `evidential` actually changes the data model for the ScItem by including evidence for Sc Items that have it.  I avoided phrasing it as a question since I thinks it's better to declare than ask.

Once you understand what `evidential` I also found it to be quite a succinct and nice way of talking about the concept.  e.g. "Those are not evidential / searchable categories."

But I'm probably over thinking this. :P


@lukecampbell renamed the other one in #209, but this is fine


This code works, but become difficult to understand. At least, comment needed. Or, may be worth to collect such boring methods to utils file.


Dunno what it is. New language?


Firstly, it's unnecessary to store AndroidPlatform. If you need it, you can get it from FWContextBase, which as an accessor:

FWPlatformBase & getPlatform();

Secondly, since this is a cross-platform library, you cannot use anything Android specific in example code, so that example code can also be run on iOS. So, instead of AndroidPlatform, you should use FWPlatformBase.


Actually in closed beta, I know a guy in the working group but i can only tell you the first four letters of his name to not disclose his identity, or he will get spammed by jobs opportunities: keru.


Seems to be ok according to Docker...

![screenshot from 2016-02-04 15-24-33](https://cloud.githubusercontent.com/assets/3616282/12833142/895bf48e-cb53-11e5-87f6-329c4edba5f4.png)


`String` vs `string`


Issue #8: Yet another cool feature


You should clone the repo and test this code in your browser (should work for all of them)


@dmitri-carpov sounds reasonable, please create an issue regd it, link it here, and mark the above tasks relating to it as completed


:thumbsup: This is going to be awesome.


listo ^^


I just noticed I miss this when fixing my merge conflict, I will fix this asap


TeamCity LabKey :: LabkeyRelease15.3 :: CDS postgres 9.4 [Build 139](https://teamcity.labkey.org/viewLog.html?buildId=301107&buildTypeId=LabkeyRelease153_CdsPostgres94) outcome was **FAILURE**
Summary: Tests failed: 8 (2 new), passed: 42 Build time: 01:24:05
### Failed tests
```
org.labkey.test.tests.CDSTest.verifyGrid: <no details avaliable>

org.labkey.test.tests.CDSTest.verifyFilters: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifyLogGutterPlot: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifyDensePlotBrushing: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifyTimeAxisWithMultipleSchedules: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifySubjectCountsWithFiltersAdvancedOptions: <no details avaliable>

org.labkey.test.tests.CDSTest.testLearnAboutStudyProducts: <no details avaliable>

org.labkey.test.tests.CDSTest.clickOnLearnAboutStudyProductsItem: <no details avaliable>

```


toto má být v generic_views package views složí pro views které se negenerují a jsou stále


needs more token use any site


@dmitri-carpov
- [ ]  please add a comment in the code regd it


Naja, vorher war die Mechanik „reduziert die Dauer von aktiven Effekten, bzw. erhöht die Resistenz gegen neu Belegung mit dem Effekt“ plus ein bisschen Einleitung warum der Zauber das so toll macht.
Jetzt ist es „macht immun PUNKT“ mit der selben Einleitung, und das passt nicht mehr so wirklich zusammen.


Oops. Thanks!


:christmas_tree: :santa: :gift:

I hope @jdtornow finished the cookies and milk I left out for him


toto je přidané, bere to schválně rest edit form, jelikož ten určuje jaké pole jdou editovat


This is my first session


toto jsem chtěl udělat už dávno


``` python
if not year:
  utc_now = datetime.utcnow()
  year = utc_now.year
  month = utc_now.month
  day = utc_now.day
```


pohrobek trošku už je to zbytečné lepší rozdělit na edit a add view


"Other" is now "All Apps"


wow, wonder what `ds` it was getting...


new buttons look cool


Updated control roles with tags.


I'd suggest instead using ChaiScript's new JSON capability and loading it there, then binding those objects to C++ objects that you need to access...


@dmitri-carpov i don't think i was able to communicate my point accurately. let me try again. we are setting `DateFormat` options here. i am assuming the date parsing fix that is being done is important, but it's utility it limited to the extent people use this helper (if people forget to use this helper then the date parsing bug may resurface). note that this observation is made with very little understanding of the impact of the date parsing bug.

if this is an important bug, then we would want to ensure (easiest is by enforcing it from the compiler) that people use the the `DateHelper` utility. that's the point i was trying to make above.


Updates roles with tags


Octree (DeadParrot) - x86_64-MacOS-10.9-clang: OK (2063 of 2063 tests passed, 3 test warnings)

 * 3 tests had: AUD diffs.
 * 2 tests had: EIO diffs.
 * 2 tests had: ESO small diffs.
 * 1 test had: SHD diffs.

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


or
``` python
if not year:
  year, month, day =datetime.utcnow().isocalendar()
```


Beleza. Sim. correto. Devia estar lá porque a gente copiou e colou :x
Curti as mudanças que você fez. As estampas exatamente não sei como são, mas na prática vai dar pra conferir. Ele printa tudo antes de resolver mesmo...


# FIXME: Should text to ensure this worked!


Haha.. :)
Could this somehow detect a (broken) Java client?

If I understand it correctly, it now does extra things all the time - to work around the Java Hulk?!


use CloseableThreadLocal ?


In all seriousness, my only real comment is that some of those cpp files are missing newlines at the end of them - you can see it here in the github listing. That will cause warnings on some compilers as technically the standard requires it.


Need to convert coordinates -Z


Cool :+1:  I hired an esperanto transator. :) Hope he will make it...


The above link results in a 404 error.


TeamCity MonoGame :: Develop (Win) [Build 3.5.0.1298](http://teamcity.monogame.net/viewLog.html?buildId=14347&buildTypeId=MonoGame_DevelopWin&guest=1) outcome was **FAILURE**
Summary: Tests failed: 1 (1 new), passed: 591, ignored: 6 Build time: 00:25:43
### Failed tests
```
MonoGameTests.exe: MonoGame.Tests.Visual.SpriteBatchTest.Draw_with_filter_color("Teal"): <no details avaliable>

```


Should read gridsize**2 + 2


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


deleting gradle


@FireFart : please see https://github.com/andreashappe/mod_security_importer/commit/9ab6322efbbfb5d90a1e9af28b8edc8b00d3be09#commitcomment-15870023 . This should speed-up import by a factor of 20 (I can do ~60k inserts/minute with postgres). Also can we move discussion to that file? (;

I do have two things that are tickling me:

* the write process (import-side) takes approx 100% cpu time, the DB sits around 20% on my computer. Parsing is a rather no-op. Need to look if there's still some ``weird'' sqlalchemy stuff going on but the input-side cpu utilization is IMHO still way too high (or the db utilization too low)

* sqllite does not work with a too high batch size on my computer (sqlite exception about too many sql query parameters). This is extra weird as this was copied from the sqlalchemy manual (including the sqlite part). There would be a 10-20% speedup by switching to sqlite.


What if `operator new` allocated a pointer `p` that compares less than `buf_ - n`?


For clarity: grid[dummytop] = grid[dummybottom] = 1


@mlubin this probably warrants a new release


my bad.. 2013 o.o"


should I create a branch and fix codeanalysis errors?


OMG this is so tight.

On Thu, Feb 4, 2016 at 5:40 PM, Jennifer Thibault <notifications@github.com>
wrote:

> Correction.
>
> @rtwell look! i changed it!
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/18F/brand/commit/c6cc14222b6a69593b7e45f3de1d403e8202c2e3
>


I think I read that Java doesn't do 0 == false


This bit adds a default flower populator if one isn't found


Sets the flower types that can be found in this Biome


`daemon=True`?


OK beta2 is out and I have to update many patch. I wonder what's in store for me from change of documentation building tickets....


use `initctl status` to check the status of the service instead.


Use `logging` for logging


If no flower types added, assume the Default (according to http://minecraft.gamepedia.com/Flower)


Need to do something in here to allow for spawning dead bushes/cacti etc. on sand


I think you want exit code of 0 though


FWIW I think if we're going to merge Android support into mainline, there should be a

```swift
#if os(Android)
```
that we can do in [AssertCommon.swift](https://github.com/SwiftAndroid/swift/blob/master/stdlib/public/core/AssertCommon.swift#L69) instead of this.


@teckjon DWMR. Good stuff here Teck. Go go!


Alright, changes made like we actually mean it. :-) See 5682631.


What kind of warnings does this remove?


Yep, thanks! It's been fixed.


Great to have. +1 to merge.


@joecaintic DWMR. Looks good Joe. Ship code.


Is the dockervolumedriver immediately ready when the process starts?

Docker's upstart file, for example waits until it gets some sort of response over the socket. Not sure if it's needed here, but thought I'd mention it in case it has a non-trivial initialization and you think others might chain other upstart jobs off of this one.


test


LGTM.


@IggHub DWMR of # 30. Ship code. Nice.


I can't seem to figure out how the "NewChart" component (which is what is used in the Python code) is tied to TwoAxisLinePlot which is created in static/jsx/twoAxisLinePlot.js

- i.e. how does the framework know that NewChart is really the TwoAxisLinePlot component? Any help would be appreciated.


still *NOT, dammit


open in background is the normal / usual behaviour. BTW I don't thin Chrome even has this but Firefox does.


This is shorter, but much less clear to understand than:
```
in ['true', 'True']
```


Indent lines 4 to 13


All will but ignore deafaults for now.  I'll do those in 1 commit after.


I think this change should be moved to the previous commit.


uncapitalized first letter, then capitalize every first letter of word after that:
unCategorizeValue or uncategorizeValue

line 98:
categorizeValue


Thanks! :+1:


"componement and is"-> "component which are"


This is the assignment text update.


Indent lines 101 to 116 (<nav>...</nav> so its easier to read.


@americool #40 is done. Good work.


occurance -> occurrence


"will ensure" -> "which ensures"


Using `from package import function` is generally discouraged (not strongly discouraged, but just discouraged).
`from package import module` is fine though.

The reason for that is when you see unqualified name - you know that it's a local variable, and when you see qualified (that is `somethihg.name`) - you know it's imported (and instantly know from where exactly it is imported).

To give a concrete example: There's a `quote` function in both `shellx` (quoting shell arguments) and `urllib.parse` (urlencoding). When you use qualified names, you can't accidentally misquote things the wrong way.


"CDATA"?


**Api Mobile Golang com acessando ElasticSearch*

App feito em Golang cria um endpoint rest acessando o elasticSearc


Removed


But was set_session_variables() part of the commit? I don't think I see it


Indent lines 121 to 142. Remove space in the inline text, so it easier to read.


TeamCity LabKey :: LabkeyRelease15.3 :: CDS postgres 9.4 [Build 140](https://teamcity.labkey.org/viewLog.html?buildId=301116&buildTypeId=LabkeyRelease153_CdsPostgres94) outcome was **FAILURE**
Summary: Tests failed: 7 (1 new), passed: 43 Build time: 01:30:45
### Failed tests
```
org.labkey.test.tests.CDSVisualizationTest.verifyColorStudyAndTreatmentVars: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifyLogGutterPlot: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifyDensePlotBrushing: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifyTimeAxisWithMultipleSchedules: <no details avaliable>

org.labkey.test.tests.CDSVisualizationTest.verifySubjectCountsWithFiltersAdvancedOptions: <no details avaliable>

org.labkey.test.tests.CDSTest.testLearnAboutStudyProducts: <no details avaliable>

org.labkey.test.tests.CDSTest.clickOnLearnAboutStudyProductsItem: <no details avaliable>

```


@cmacfarl That would explain it, thanks!


@davidworn Let's get a .gitignore file into your git folder. There are files that ought not to be included in the pushes to Github. Shall I send you one?


I agree, I've updated this so it now has a bool parameter that by default updates the value mask (pushed onto master).


I'm looking at the ply source source, and they all seem kind of relevant. I assume this is driven by a real-world need. What kind of warnings pop up the most? IIRC i had pretty much zero of those when developing with ply.


It would have been good if you explained in your commit message why the span tag needed to be removed


@atroche notified about the notification app? haha


add comments


missing final "`". It's not clear to me how this is suppoed to be formatted?

\`blacklisted_cddata_regex\` perhaps?


form for 'food truck cat'


Agreed


Isn't there a `$services.consents` API that can do this, instead of accessing the XObjects?


Is this list meant to be exhaustive? Might be good to add something like "Some examples are..." so people don't expect it to be.


:+1: to Alistair's :+1:


Yeah. Just noticed that when doing 44. I've got one going with 44 and will
push with next merge.

On Thu, Feb 4, 2016 at 6:54 PM, dothework <notifications@github.com> wrote:

> @davidworn <https://github.com/davidworn> Let's get a .gitignore file
> into your git folder. There are files that ought not to be included in the
> pushes to Github. Shall I send you one?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/davidworn/bloccit/commit/0ce281d5551c3d38e0011afdf76bf92939d80c19#commitcomment-15901666>
> .
>


Difficult to understand.


One of the best commit messages, ever?


This might read easier if more verbose:

`doctype` is required to have parent tag `root`


What is going on here... do you realize you're using three different styles for naming?
username, UserName, newRole

Since it looks like you're creating an associative array with { }, using "username: username" will probably be valid. If it conflicts then make one of the variables more detailed like was done with 'newRole' (i.e. the addition of the word 'new').


Could you please add .project file?


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


See previous note about being more verbose in this kind of situation. Just a suggestion as this is totally functional as-is.


sexy @felpel


This needs to be changed, `%s` -> `{}`


Voce foi mais rapido :smiley: [fac9fef0339d3be8dbc2be9f59372b2af8c4de24](https://github.com/pauloalem/galeb-statsd-logstash/commit/fac9fef0339d3be8dbc2be9f59372b2af8c4de24)


I know that my comments are, realistically, directed towards the example given in LCTHW but I think they're important to be aware of nevertheless. I hope you don't mind the unsolicited feedback and understand that I gave it with the intention of being helpful and giving hints on how you might improve the code given in LCTHW


Thanks for that!


Артефакт)


As a bonus, it might be good to also investigate the function _strtol_() which has the advantage over _atoi_() that it can detect errors in the input stream.


Does it really fix #1270?


Haha, awesome! Thanks fornthe shout-out :-)

Sven

On Wednesday, February 3, 2016, Katy Huff <notifications@github.com> wrote:

> better swedish words from @svenchilton ...
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/katyhuff/fundamentals-paper/commit/318fb43545abe5de61615439ad54092eeac4b197
>


Thanks for the clarification.  My code is a lot cleaner now.  Sometimes it is scary to have to go back and cleanup early coding attempts, but almost always worthwhile.


@af7 you can set `style={{flex: 0.9, alignSelf: 'center'}}` and it will fit `Text`. Why isn't there an `onPress` for tapping an annotation though? @nicklockwood thanks for the hard work


is there suppose to be 88 errors? is it just me


what ?


@asadiqbal08 I was wondering if you could explain the need for this past line change?  Thank you!


Cheee estaria bueno que las cosas del primer informe lo separes en una carpeta distinta


I can't accept this because of this language.  Please remove the console.log here.


yes. i have a laptop


The only "right" indentation is tabs, Guido is wrong, fnarr fnarr fnarrrrr!


Sony vaio, Windows 8, 2 GB Ram


Similar to the other PR, it should be explicit that the input is the SVN repo http://www.unicode.org/repos/cldr/trunk/common/main/ that build.sh will check out for you, and the output should move into a subdirectory for consistency (even though here it's less confusing than with entities).


@devcsrj @jerrickpua Are you still good with the duration of your topics? 1.5hrs for Jerrick and 1hr for RJ.


In case it was unclear, my comments were in favour of this commit.


Yup. There are 88 errors. I was working on my laptop and just needed to commit so I could continue on my desktop :P


noop


What's really needed there is to tell the developers that it'll definitely not work with python2, I think putting this clarifies it. I don't think anyone will miss the bold text.


看到github给我的邮件提醒的时候吓懵了。 @GalvinGao


Понимаю, что так смотрится более локанично, но это не единообразно: если мы будем добавлять свойства, то придётся переделывать стиль, а это — опять лишние изменения в гите) Давай сразу единообразно писать.


ptsansnarrow — что за шрифт такой?.. + Не указан альтернативный


ok


ты про `normalize.css` и `reset.css` — слышал?


but cool that you got crafting done


по-умолчанию всё болдом делаем?...


так же о единобразии: давай ставить пробел перед `{`


а тут перенос


(2) is not possible and i agree we should assert that.


а, теперь вижу откуда шрифт)) :+1:


можно просто написать `padding: 23px 20px 26px;`


это зачем?..


одинарные на двойные кавычки давай поправим)


为啥不直接返回 resolve 值呢


LGTM


Esta wea nos esta dejando la caga, al parecer como no existen money_sources asociados se cae y no hace busquedas, no agrega nuevos items ni genera los pagos. Es normal que no hayan money_sources asociados para las ventas nuevas.
Hay que ver como manejarlo pero no cacho como hacelo en la vista...


sweet


Nice


@snowkeeper how do you know that mongoose didn't err in this case?  You are not processing the error.  Or am I missing something?


We shall avoid setting the create flag to be __true__ here. Otherwise we will potentially create a new destination object and then the internal ___rename__  method will try to remove it first, which is a waste. And I am afraid this is the most common case.


New Full Incoming This Weekend.

Thanks everyone for your patience. We have been extremely busy with some releases on our Server (Vengeance of Azeroth) so it has slowed by Open Source releases a little. Once I get the Full out I will have a small series of commits again.


Who wrote this notice of leave?  Is @thefiddler  saying to give up & use MonoGame or SDL2# ?


Pretty much. I've already got the bourbon out.


@abhinandanpb not a comment on the code here directly, but making a note to not forget to add autocompletion for hostname in the netctl cli. This might require us a add a quiet flag to "ls" cmd that you have added. You can check the "ls" in tenant/network commands to get an idea.


I don't think it's applicable here regarding `self` vs. `this`, but I thought I'd mention the following.
I think the Ractive author posted somewhere about variables created in an external scope possibly interfering with garbage collection.  If I remember correctly it was in the context of referencing a DOM element within a function and storing it to global variable, which prevented Ractive from cleaning up the function call because it couldn't release all the stuff it had made.  So probably not relevant, but referencing a variable from another scope in a function that gets called elsewhere made me wonder.  Sorry to muck up the discussion...

Also these weird posts about `this`
* http://www.sitepoint.com/inner-workings-javascripts-this-keyword/
* http://www.mattlunn.me.uk/blog/2014/05/understanding-the-javascript-this-keyword-part-1/


Yes you did implement it so 1/4 credit to @PieCoder314

On 2016-02-03 8:18 pm, PieCoder314 wrote:

> Yeah, the credit should go to @ParkerMc01 [1] for the idea. I was the one who implemented it though.
>
> --
> Reply to this email directly or view it on GitHub [2].

Links:
------
[1] https://github.com/ParkerMc01
[2]
https://github.com/TEAMModding/KalStuff/commit/7c9f629646c35006385e5ba57a38883fa9d16ece#commitcomment-15875427


Hi,

I have description for PGN127493 on OpenSkipper project. Would you like
me to add functions to the N2kMessages within
https://github.com/ttlappalainen/NMEA2000?

Timo

On 4.2.2016 0:26, Jason Stewart wrote:
>
> Awesome, I'll check that out! I need help broadcasting, we're
> basically transmitting sensors coming in on the Analog pins on the
> arduino and broadcasting it to a Lowrance unit.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ttlappalainen/NMEA2000/commit/4229b9717b21fb37c266c1c0151c2329c59ab0ed#commitcomment-15871409>.
>


What is TOJ :O ?


`curPlayFrame` and `curFrame` are both 0-indexed. I wonder why we keep having to add 1 to it...


I think you have guessed it correctly.
http://sprout.tw/oj/info/

On Thursday, 4 February 2016, Jasmine Chen <notifications@github.com> wrote:

> What is TOJ :O ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/henrybear327/TOJ/commit/400883435ff8605331ba3a777a474742e844766f#commitcomment-15876206>
> .
>

--
Best wishes,
Henry Tseng


`curPlayFrame` and `curFrame` are both 0-indexed. Why does it need 1 added to it here?


We'll need to revise the docs for the `reef` branch (which is what is used by `myria-deploy`), since none of these deployment scripts exist there (and the `restart` endpoint also isn't implemented). It's actually much simpler since both `myria` and `myria-web` run as Upstart services on the coordinator, so you can just say
```
sudo myria restart
sudo myria-web restart
```
etc. (Also `myria` is a dependency of `myria-web`, so `myria-web` will automatically restart if `myria` is restarted.)


ResortedSurfaces (amirroth) - i386-Windows-7-VisualStudio-12: OK (2033 of 2056 tests passed, 458 test warnings)

 * 549 tests had: AUD diffs.
 * 334 tests had: DXF diffs.
 * 378 tests had: EIO diffs.
 * 464 tests had: ESO small diffs.
 * 357 tests had: MTR small diffs.
 * 481 tests had: SHD diffs.
 * 12 tests had: Table big diffs.
 * 11 tests had: BND diffs.
 * 43 tests had: Table small diffs.
 * 27 tests had: ZSZ small diffs.
 * 8 tests had: MDD diffs.
 * 8 tests had: MTD diffs.
 * 30 tests had: RDD diffs.
 * 15 tests had: ESO big diffs.
 * 22 tests had: SSZ small diffs.
 * 6 tests had: MTR big diffs.
 * 12 tests had: ERR diffs.
 * 3 tests had: ZSZ big diffs.
 * 1 test had: SSZ big diffs.

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


**Line contains following spacing inconsistencies:
- Trailing whitespaces.**
*SpaceConsistencyBear, severity 1, section `python`.* *Related to file `coalib/coala_main.py`, line 70.*

The issue can be fixed by applying the following patch:

```diff
--- a/coalib/coala_main.py
+++ b/coalib/coala_main.py
@@ -67,7 +67,7 @@
     if coala_delete_orig.main(log_printer):
         log_printer.warn("Could not delete all .orig files, please make sure"
                          " no .orig files are in use and try again.")
-
+
     try:
         yielded_results = False
         did_nothing = True
```


**The code does not comply to PEP8.**
*PEP8Bear, severity 1, section `autopep8`.* *Related to file `coalib/coala_main.py`, line 70.*

The issue can be fixed by applying the following patch:

```diff
--- a/coalib/coala_main.py
+++ b/coalib/coala_main.py
@@ -67,7 +67,7 @@
     if coala_delete_orig.main(log_printer):
         log_printer.warn("Could not delete all .orig files, please make sure"
                          " no .orig files are in use and try again.")
-
+
     try:
         yielded_results = False
         did_nothing = True
```


actually anything that inherits this is going to be stationary , static.


cambiaré holi a hola


I don't think this did what it was supposed to do... it seems like all of the links are the dark gold color instead of #FFD000


Uso mayúsculas y acentos.


@RyanBalfanz this is no longer working


Not sure what the intention is here but `path` is sometimes a string instead of an array so `path.join` is `undefined`

<img width="941" alt="screen shot 2016-02-03 at 10 44 22 pm" src="https://cloud.githubusercontent.com/assets/1938892/12805276/0d02bfac-cac8-11e5-81e8-acc64d1fc876.png">


Maybe look into how Browserify and Webpack handle cycles. But it's pretty
common to handle them.
On Wed, Feb 3, 2016 at 4:53 PM Marguerite Su <notifications@github.com>
wrote:

> @amasad <https://github.com/amasad> and even after you fixed it here
> (depend on your willing of course), I still have to find a way to break the
> endless loop for older babel releases.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/babel/babel/commit/e152e7044e469548f1260487ac83e1e0195bcf3f#commitcomment-15874100>
> .
>


agrego buenos días


そうなんですよね。そこ思ったのですが、「リストする」というのが個人的に「んん...」となったのです。ご意見募集。 > all


oh wait, you need to make it select `#header h1 a,`. Right now it's only selecting `h1` inside `header`, but then the color gets overwritten by the default `a` color (the dark gold).

`#header h1, footer a` --> *header h1* AND *footer a* but we want *header h1 a* AND *footer a*


Thanks, there are few little problems left and I'll add a few changes like json output but the idea is here.


@imasquid123 can you create constants in RobotMap for the PDP channel numbers on lines 37-40?


后来想想换个方法名吧，

虽然大部分场景可以，但如果是 Modal 里面，这样子不行，还得用户自己滚动


buenos días


I just checked that it is already in N2kMessages. Just call:
     SetN2kTransmissionParameters(N2kMsg,1,N2kTG_Forward,750000,
CToKelvin(65.5),0x6f);
     NMEA2000.SendMsg(N2kMsg);

On 4.2.2016 5:34, Timo Lappalainen wrote:
> Hi,
>
> I have description for PGN127493 on OpenSkipper project. Would you
> like me to add functions to the N2kMessages within
> https://github.com/ttlappalainen/NMEA2000?
>
> Timo
>
> On 4.2.2016 0:26, Jason Stewart wrote:
>>
>> Awesome, I'll check that out! I need help broadcasting, we're
>> basically transmitting sensors coming in on the Analog pins on the
>> arduino and broadcasting it to a Lowrance unit.
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/ttlappalainen/NMEA2000/commit/4229b9717b21fb37c266c1c0151c2329c59ab0ed#commitcomment-15871409>.
>>
>


> It looks like you're right that schemas or protocols are first run through stringify but that doesn't seem to be normalizing the schema according to the spec rules for transforming to "parsing canonical form".

It does, here's an example:

```javascript
// Canonical schema.
var t1 = avro.parse('{"name":"One","type":"fixed","size":1}');
// Same schema, with whitespace, different order, and an extra attribute.
var t2 = avro.parse('{"type": "fixed", "name":"One", "size":1,"foo": "bar!"}');
// Yet the fingerprints are (correctly) equal!
console.log(t1.getFingerprint().equals(t2.getFingerprint()));
```

I think the confusion above comes from the overloading of the "fingerprint" term. The above function is named that way because it does compute a fingerprint, the [fingerprint of a string](https://en.wikipedia.org/wiki/Fingerprint_(computing)). It doesn't however compute Avro schema fingerprints.

What do you think of renaming this method to `getHash` to help make the difference explicit?


Agreed. That's a MUCH better way to do it. I hadn't thought of it.

Thank you.

Mike

> On Feb 2, 2016, at 7:22 PM, Stephen Bae <notifications@github.com> wrote:
>
> I think these are fantastic! :)
>
> However, one gripe I have with this is execution. So for example, consider this. What if you had something like this.
>
> <!DOCTYPE html>
>
>
>     <meta charset="UTF-8">
>     <title>Document</title>
>
>
>

>
>

>

>
>

>

>
>

>
>
> Then in your style.css file, you'd do,
>
> .three-column {
> /* all your three-column layout style */
> }
>
> .magazine {
> /* all your magazine layout style */
> }
>
> .magazine-nav {
> /* all your magazine-nav layout style */
> }
> If you did your layout this way, users would have no need to
>
> comment & uncomment your code to see them rendered.
> all types of layouts would be on one page all at once.
> no need for doctype to be declared repeatedly
> All in all though, good job!
>
> Stephen
>
> —
> Reply to this email directly or view it on GitHub.
>


:octocat:  It's actually my first time here. I believe I heard someone talking about it at the IOI Camp (at NTU).


hi chuanwen,

当前的想法是添加一个upsync_lb(loadbalance) 字段，用来标示所用的负载均衡算法，每次变更之后，根据相应的负载算法，进行相关的初始化


Hi @levi , I was getting an error on the subsequent layout pass after removing subnodes and git bisect narrowed it down to this commit.

The assert which failed is `    ASDisplayNodeAssertNotNil(node, @"A flattened layout must consist exclusively of node sublayouts");`


Hi @pbrakel,
In our theano code, the targets shape is T x B and we also have a mask with the same size. Consider this example:
```python
targets = [[1, 2, 3, 4, 5, 6],
           [7, 8, 9, 10, 0, 0]]
tr_mask = [[1, 1, 1, 1, 1, 1],
           [1, 1, 1, 1, 0, 0]]
```
So T is 6 and B is 2.
The way that new ctc accepts targets is a vector of all targets and a vector of lengths:
```python
targets = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
tr_lens = [6, 4]
```
So in the code above, I lope over the examples and convert them to the new format. The code here is in numpy because as far as I see such an operation is not easy in theano. So do you think that it's a right thing to do?
I tried it for convnets and it seems to be ~2x faster. Just like the lstm.


A friend of mine told me about this online judge. So I decided to give it a
 try.

On Thursday, 4 February 2016, Jasmine Chen <notifications@github.com> wrote:

> [image: :octocat:] It's actually my first time here. I believe I heard
> someone talking about it at the IOI Camp (at NTU).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/henrybear327/TOJ/commit/400883435ff8605331ba3a777a474742e844766f#commitcomment-15876358>
> .
>

--
Best wishes,
Henry Tseng


We have rule about this? The only rule is to not place methods body in headers. There is no any method bodies here. IMO it's better way to set default values for POD types since c++11 (of course, if default value is const).


I just tested with C and there was no issues with that position for both ncurses 5 and 6 (turned out my system has 6.0 by default for anything built after).

I thought it was in ncurses, but it's in Python curses. this is even weirder than I thought, I couldn't figure out why.

And check [this][s] out, I think we can discard #13, it works. Guess Python interferes too much.

[s]: http://stackoverflow.com/a/28156192/242583


If this is a duration, maybe call the property "interval" instead of "frequency"


**NOTA:** Se llama _default.php_ ya que tengo alojada la pagina en [Hostinger](http://www.hostinger.co/) el cual pide un archivo ".php" (en este caso default.php) para iniciar la Pagina


Oh ya, that would make more sense. I'll change it


                                        _ _       _              _
                                       | (_)     (_)_           | |
  ___   ____  ____  ____    _   _ ____ | |_ ____  _| |_  ____ _ | |
 / _ \ / _  |/ _  |/ ___)  | | | |  _ \| | |    \| |  _)/ _  ) || |
| |_| ( ( | ( ( | | |      | |_| | | | | | | | | | | |_( (/ ( (_| |
 \___/ \_|| |\_||_|_|       \____|_| |_|_|_|_|_|_|_|\___)____)____|
      (_____|
[Game] Ogar Unlimited - An open source Agar.io server implementation
[Game] By The AJS development team
[Game] Loaded stats server on port 88
[Game] Listening on port 443
[Game] Current game mode is Free For All
Server Restarting in 0.3 minutes!
[Autopause] The Game Was Paused to save memory. Join the game to resume!
TypeError: Cannot set property 'packetLB' of undefined
    at null._onTimeout (C:\Users\German\Downloads\Ogar-unlimited-master\Ogar-unlimited-master\src\GameServer.js:206:40)
    at Timer.listOnTimeout (timers.js:92:15)
>[Autopause] Game Resumed!

Got an error.


@adaur  Is this whole method for manual searching? If it is then we can just return a string and have js redirect as it'll be easier considering we use ajax for most things now.


I think md5(key) is fine. much better than having complex APIs to support various scenarios


And a couple of minutes later I got this:

RangeError: Offset is outside the bounds of the DataView
    at DataView.setUint8 (native)
    at UpdateLeaderboard.build (C:\Users\Downloads\Ogar-unlimited-master\Ogar-unlimited-master\src\packet\UpdateLeaderboard.js:34:18)
    at WebSocket.sendPacket (C:\Users\Downloads\Ogar-unlimited-master\Ogar-unlimited-master\src\GameServer.js:1377:26)
    at PlayerTracker.update (C:\Users\Downloads\Ogar-unlimited-master\Ogar-unlimited-master\src\PlayerTracker.js:199:21)
    at GameServer.updateClients (C:\Users\Downloads\Ogar-unlimited-master\Ogar-unlimited-master\src\GameServer.js:735:39)
    at GameServer.mainLoop (C:\Users\Downloads\Ogar-unlimited-master\Ogar-unlimited-master\src\GameServer.js:684:14)
    at wrapper [as _onTimeout] (timers.js:275:11)
    at Timer.listOnTimeout (timers.js:92:15)


Forget it! When I will finish the ASM, an empty string will be valid here. It means that the torrent is in advanced saving management mode.
This PR is already partially out of date :) so think of these lines as a workaround.


Looking forward to it.  Thank you to all involved.


I've fixed this on mainline for numerical options, thanks for report. I also introduced a new kind of PaperColumn, OptionPaperColumn, so you can now say “show:OPTIONNAME” and get the option formatted properly. Formulas really aren't meant for textual data.


Eduardo eu tava pensando aqui. Aquele ne--; tinha que vir no if do tipo ' . ' não ? ele estava no If do indutor, então mudei.


私は「リストに存在しないバッファ」に合わせる形が良いです


But the problem of corrupted fastresume data is very important and relevant! And we must do it in earnest ASAP. I have some views on this matter. I'm going to open an issue on this a bit later.


I think you intend to return the rejection. IIRC you can throw the error as well and it will do the same action.


Did you intend to return the promise?


You can also do:
```javascript
let {uid} = metadata;
```


@flavour I am still confused as:

1. The admin based subscription are stored in ```pr_subscription``` table with ```owned_by_group is not None```. This means the alert_location are matched with the filter (and no intersection is checked?) in s3notify?
2. So the intersection should be checked for alerts? Where should this be done?
3. We generate checklist from template outside, and pass in the value? But what if message is already sent and not in queue?


why you use return instead of break?


How are you supposed to tell from the error which line is the problem?


Commented noted and branch updated.


:dragon:


I was rooting for this fix.

Sadly, it has other issues. The output gradually becomes corrupt or something. Similar to if the output was wrapped with a try/except. It'll print the character, but it looks like the buffer gets messed up.

I'm seeing the issue on osx and linux.


试了下，在 Modal 里也可以哎。。


I pointed you on this line too. You forget to insert space after comma.


Removing all these additional fields is causing problems with the iOS app. I'm pretty sure the majority of them are not needed and probably not even used but refactoring the app at this point (just before we change the data model entirely) seems not worth the risk of introducing more bugs.

Is there a possibility of restoring the `name` and `modified_at` fields at the very least?


Задание принято и уже залито в основной репозиторий.
Этот комментарий тебе на будущее.

Все классно, ты молодец! В следующий раз вместо appendChild в цикле используй DocumentFragment.

https://learn.javascript.ru/multi-insert

И вопрос. Зачем ты в строке 13 var element задал тип массив?
Можно в скайп ответить)


Just spotted this. They were all inside originally you grubby bugger :tongue:


It's working again.


fixed incompatibility with numpy >1.9.x corresponding to this issue https://github.com/numpy/numpy/issues/6469


bold is beautiful


空行が削除されているのは意図的？


nice hair brah


@carlosmunoz To minimise unnecessary changes in future, I would recommend calling it 'wildfly' instead of 'wildfly-10', since we only plan to support the latest stable version. Also, shouldn't we remove the obsolete standalone.xml for wildfly 9?


then again, switching to std::deque would have taken less time than writing this comment.


@nursix any insights on this?


This is a note about your 2nd homework assignment.

Overall great work.  The thinking around #2 is not bad, but if you wanted to see a bit more action on pclass, you should consider the fact that it is categorical and will need to seprated out into an extra feature for the model to recognize the data.  The only thing I would add to this is the old adage of "women and children first" can be described by age and class variables.

One thing you could also try, if you're feeling ambitious, is trying some of the evaluation metrics we talked about after this homework, on this dataset (ROC/AUC, Confusion Matrix).