text:
First bot connecting as a user and not a bot

Hello, recently I've been getting the issue where the bot ID 1 out of my 3 bots is connecting and not like being recognized as a bot. She doesn't Identify and other stuff, then she quits due to ping timeout from IRC_OnUserDisconnected instead of IRC_OnDisconnected.

[18:56:27] [IRC]: IRC_OnConnect: Bot id: 1 Has Connected To 37.59.63.55: 6667
[18:56:28] [IRC]: IRC_OnConnect: Bot id: 2 Has Connected To 37.59.63.55: 6667
[18:56:30] [IRC]: IRC_OnUserNotice (Bot ID 2): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaK: This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
[18:56:30] [IRC]: IRC_OnUserNotice (Bot ID 2): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaK: You have 30 seconds to identify to your nickname before it is changed.
[18:56:30] [IRC]: IRC_OnUserNotice (Bot ID 2): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaK: You are now identified for Jessica.
[18:56:30] [IRC]: IRC_OnJoinChannel: Bot id: 2 Has Joined Channel #lvcnr.echo.
[18:56:30] [IRC]: IRC_OnUserSetChannelMode: User: Santa on #lvcnr.echo Set The Irc Mode To: +v JessicaK!
[18:56:30] [IRC]: IRC_OnConnect: Bot id: 3 Has Connected To 37.59.63.55: 6667

[18:56:31] [IRC]: IRC_OnUserNotice (Bot ID 3): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaP: This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
[18:56:31] [IRC]: IRC_OnUserNotice (Bot ID 3): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaP: You have 30 seconds to identify to your nickname before it is changed.
[18:56:31] [IRC]: IRC_OnUserNotice (Bot ID 2): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaK: JessicaP!JessicaP@ip-996ad0b5.kimsufi.com has just authenticated as you (Jessica)
[18:56:31] [IRC]: IRC_OnUserNotice (Bot ID 3): User NickServ (NickServ@services.irc.tl) Sent A Notice To JessicaP: You are now identified for Jessica.
[18:56:31] [IRC]: IRC_OnJoinChannel: Bot id: 3 Has Joined Channel #lvcnr.echo.
[18:56:31] [IRC]: IRC_OnUserJoinChannel Bot id: 2 User JessicaP Has Joined The Channel (#lvcnr.echo)!
[18:56:31] [IRC]: IRC_OnUserJoinChannel Bot id: 2 User JessicaP Has Joined The Channel (#kcnr.adminchat)!
[18:56:31] [IRC]: IRC_OnUserSetChannelMode: User: Santa on #lvcnr.echo Set The Irc Mode To: +v JessicaP!
[18:56:32] [IRC]: IRC_OnUserSetChannelMode: User: Santa on #lvcnr.echo Set The Irc Mode To: +v JessicaP!

[19:56:02] [IRC]: IRC_OnUserDisconnect: bot ID: 3. User: Jessica Has Disconnected! (Ping timeout: 121 seconds)
[19:56:02] [IRC]: IRC_OnUserDisconnect: bot ID: 2. User: Jessica Has Disconnected! (Ping timeout: 121 seconds)

At the current moment the first bot (Jessica) connected fine.. the code has not changed
[02:21:48] [IRC]: IRC_OnConnect: Bot id: 1 Has Connected To 37.59.63.55: 6667
[02:21:49] [IRC]: IRC_OnUserNotice (Bot ID 1): User NickServ (NickServ@services.irc.tl) Sent A Notice To Jessica: This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
[02:21:49] [IRC]: IRC_OnUserNotice (Bot ID 1): User NickServ (NickServ@services.irc.tl) Sent A Notice To Jessica: You have 30 seconds to identify to your nickname before it is changed.
[02:21:49] [IRC]: IRC_OnUserNotice (Bot ID 1): User NickServ (NickServ@services.irc.tl) Sent A Notice To Jessica: You are now identified for Jessica.
[02:21:49] [IRC]: IRC_OnJoinChannel: Bot id: 1 Has Joined Channel #lvcnr.echo.

[02:21:53] [IRC]: IRC_OnUserNotice (Bot ID 1): User NickServ (NickServ@services.irc.tl) Sent A Notice To Jessica: JessicaK!JessicaK@ip-996ad0b5.kimsufi.com has just authenticated as you (Jessica)

[02:21:53] [IRC]: IRC_OnUserNotice (Bot ID 1): User NickServ (NickServ@services.irc.tl) Sent A Notice To Jessica: JessicaP!JessicaP@ip-996ad0b5.kimsufi.com has just authenticated as you (Jessica)

And it's been up for 5 hours now, no issues. Compared to the other times where it times out after 1 hour exactly. Also after it does that, the other 2 bots stop receiving commands like !say etc.
I'd like to note that it repeated happens, like 1/4 times bot id 1 'jessica' connects and runs fine. Other than that.. she quits after some time then the other 2 bots stops responding. They only send messages.

If the bot is timing out and attempting to reconnect, the nickname could just still be in use from the previous session. Check what's happening under IRC_OnReceiveRaw.
N.B. If this is the case, I added functionality in one of the newer versions for alternate nicks. Look at the default filterscript under IRC_OnReceiveNumeric.

It's not the case, because some annoying people started to use my bot names on purpose awhile back so used that to create a automatic nick fixing feature. It ghosts nicks and changes names temporarily if theres a user already connected with the same name.
public IRC_OnReceiveNumeric(botid, numeric, message[])
{
	// Check if the numeric is an error defined by RFC 1459/2812
	if (numeric >= 400 && numeric <= 599)
	{
		if (numeric == 433) // const ERR_NICKNAMEINUSE = 433;
		{
			// Check if the nickname is already in use
			new newName[20];
			format(newName, 20, "%s`", gBotNames[botid - 1]);
			IRC_ChangeNick(botid, newName);
			IRC_SayFormatted(botid, "NickServ", "GHOST %s "#IRC_BOT_PASSWORD"", gBotNames[botid - 1]);
		}
		else if(numeric == 477) // You need to be identified to a registered account to join this channel
		{
			ircBotIdentify(botid);
		}
		printf("*** IRC_OnReceiveNumeric (Bot ID %d): %d (%s)", botid, numeric, message);
	}
	return 1;
}

public IRC_OnUserNotice(botid, recipient[], user[], host[], message[]) // replies to identify
{
	if(strfind(host, "No hostname", true) != -1) return 1;
	printf("[IRC]: IRC_OnUserNotice (Bot ID %d): User %s (%s) Sent A Notice To %s: %s", botid, user, host, recipient, message);
	if(strfind(message, "has been ghosted") != -1) {
		new newName[20];
		format(newName, 20, "%s", gBotNames[botid - 1]);
		IRC_ChangeNick(botid, newName);
		ircBotIdentify(botid);
	}
	return 1;
}

IRC Raw data might just give me what I need, thanks I'll try that. I'll reply again after, wait for my reply with that data. Thanks

Maybe the old bot disconnects from the server right before the GHOST command is used? Just a theory. You should probably add a check to IRC_OnUserNotice to also change the nick if the GHOST command fails.

Just a little bit to help me understand more..
Why would I change the nick if the ghost command fails though? It already changes the nick name to the alternate name if the current nick name is already taken. So your saying if the ghost fails then maybe the connection got free'd before that.
If its that then I get that, but that will only work out if the bot quits like instantly on connect because thats when the nick in use numeric would be received. This issue happens after either 2 minutes or 1 hour. NOt sure if random or what.

Are you changing it to an alternate nick, though? You're using gBotNames[botid - 1] for both IRC_ChangeNick and IRC_SayFormatted.

Sorry, lacked a little info there.
new gBotNames[MAX_IRC_BOTS][9] =
{
	{"Jessica"},
	{"JessicaK"},
	{"JessicaP"}//,
	//{"JessicaM"}//,
	//{"JessicaB"}
};

Yea, "format(newName, 20, "%s`", gBotNames[botid - 1]);"
The ` for alternate.

Okay, didn't catch the `. That should work then, though if the GHOST command fails for whatever reason, the nick just won't be changed back. That doesn't appear to be what's happening here, however. I would look at the raw messages to see what you might be missing.

Doesn't matter if the nick isn't changed back, because I have 1 main bot.. 'Jessica'. She is the only registered bot. The other bots use /ns identify Jessica passwordhere. So if ANY bot goes to there alternative nick, even Jessica. They will identify as jessica and get voiced in my channels. Reconnecting doesn't help SOMETIMES. None respond once the main bot, Jessica quits on her own. I'm waiting for the server to crash so get the logs. I don't wanna force a restart just for that atm.

Okay so this one is weird. Also I've noticed Jessica is quitting due to operation canceled lately. Any idea what is that?
SERVER LOG:
[16:48:16] [IRC]: IRC_OnConnect: Bot id: 1 Has Connected To 37.59.63.55: 6667
//-- no accepted no other commands, it didn't even try to identify
[17:31:28] [IRC]: IRC_OnUserDisconnect: bot ID: 2. User: Jessica Has Disconnected! (Ping timeout: 121 seconds)
[17:31:28] [IRC]: IRC_OnUserDisconnect: bot ID: 3. User: Jessica Has Disconnected! (Ping timeout: 121 seconds)
[17:31:28] [IRC]: IRC_OnDisconnect: Bot id: 1 Has Disconnected From 37.59.63.55:6667 (Operation canceled)

IRC Raw LOG:
//bot connected successfully
[8/11/2015 (16:38:15): 8 LOG] - :exnet.fr.irc.tl NOTICE Auth :*** Looking up your hostname...
[8/11/2015 (16:38:15): 8 LOG] - :exnet.fr.irc.tl NOTICE Auth :*** Found your hostname (ks3357010.kimsufi.com) -- cached
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl NOTICE Auth :Welcome to irc.tl!
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 001 Jessica :Welcome to the irc.tl IRC Network Jessica!Jessica@ks3357010.kimsufi.com
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 002 Jessica :Your host is exnet.fr.irc.tl, running version InspIRCd-2.0
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 003 Jessica :This server was created 10:03:55 Nov 11 2014
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 004 Jessica exnet.fr.irc.tl InspIRCd-2.0 BGHIRSWacdhikorswx ABCFGIJKLMNOPQRSTYabcdefghijklmnopqrstuvz FIJLYabdefghjkloqv
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 005 Jessica AWAYLEN=200 CASEMAPPING=rfc1459 CHANMODES=Ibeg,k,FJLdfjl,ABCGKMNOPQRSTcimnprstuz CHANNELLEN=64 CHANTYPES=# CHARSET=ascii ELIST=MU ESILENCE EXCEPTS=e EXTBAN=,ABCNOQRSTUcjmprz FNC INVEX=I KICKLEN=255 :are supported by this server
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 005 Jessica MAP MAXBANS=60 MAXCHANNELS=20 MAXPARA=32 MAXTARGETS=20 MODES=20 NAMESX NETWORK=irc.tl NICKLEN=31 OPERLOG OVERRIDE PREFIX=(Yqaohv)!~&@+ SILENCE=32 :are supported by this server
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 005 Jessica SSL=[::]:6697 STARTTLS STATUSMSG=!~&@+ TOPICLEN=307 UHNAMES USERIP VBANLIST WALLCHOPS WALLVOICES WATCH=32 :are supported by this server
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 042 Jessica 902ARDGMH :your unique ID
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 375 Jessica :exnet.fr.irc.tl message of the day
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|================================================================|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=========                                              =========|=:exnet.fr.irc.tl 372 Jessica
[8/11/2015 (16:38:16): 8 LOG] -  :-  =|======                 exnet.fr.irc.tl                    ======|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=====           __  ____   ___    ____  __                 =====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|====           (  )(  _ \ / __)  (_  _)(  )                 ====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|===             )(  )   /( (__  _  )(  / (_/\                ===|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|====           (__)(__\_) \___)(_)(__) \____/               ====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|====                                                       =====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|======                   Provided by                      ======|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|========                  Exnet inc                     ========|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==========              www.exnet.se                  ==========|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|================================================================|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|====                                                        ====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                   ------- About --------                     =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |         Available ports: 6666-6669. Port 6697 for SSL.         |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==== ------------------- Network Staff -------------------- ====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                        Administrators:                         |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                   --------------------------                   |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                    Garteus (exnet.*.irc.tl)                    |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                      Mow (foco.*.irc.tl)                       |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                           Operators:                           |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                   --------------------------                   |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                             Aero                               |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                            cessil                              |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                           depleted                             |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                             dugi                               |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                              Ez                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                             Popz                               |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                           Potassium                            |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                          Renegade334                           |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==== ---------------- Connection Information -------------- ====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | Server              Location                    Hosted by      |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | foco.ca.irc.tl      Montreal, Canada            FoCo Ltd.      |:exnet.fr.irc.tl 372 Jessi
[8/11/2015 (16:38:16): 8 LOG] - ca :-   | exnet.ca.irc.tl     Montreal, Canada            Exnet inc.     |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | exnet.nl.irc.tl     Amsterdam, The Netherlands  Exnet inc.     |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | exnet.fr.irc.tl     Roubaix, France             Exnet inc.     |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | exnet.us.irc.tl     Los Angeles, United States  Exnet inc.     |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==== --------------------- Disclaimer --------------------- ====|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | ~  By connecting to this network, you give us permission       |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |    to scan your machine for open proxies.                      |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | ~  Being on this IRC network is a privilege, not a right.      |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |    Staff members from any of our linked servers                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |    may deny you access to this network for any reason.         |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | ~  All users must follow international law,                    |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |    and the laws of their country.                              |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:16): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==== ------------------- Network Rules -------------------- ====|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |             The following is prohibited at this network:       |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Racism and or Nazism.                                    |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Discussing or spreading illegal copyrighted material.    |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Discussing or spreading pornographic material.           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Spamming and or advertising.                             |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Hacking and or cracking.                                 |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Evading Network and or channel bans.                     |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Flooding.                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |     * Botnets.                                                 |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |             Violation of any rule mentioned above              |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |           might get you banned without prior notice.           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                       www.irc.tl/rules                         |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |:exnet.fr.irc.tl 372 Jessica :-  =|=
[8/11/2015 (16:38:17): 8 LOG] -                                                               =|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==== --------------------- Channels ----------------------- ====|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | #help - Network help channel.                                  |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | #operhelp - For issues that requires an IRCOp.                 |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   | #foco - General chat channel for FoCo Gaming.                  |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==== ------------------------ Misc ------------------------ ====|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |          --------------- MOTD STATUS ---------------           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |          |     Last updated on: 23 Mar 2015        |           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |          |          Updated by: Garteus            |           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |          |              Reason: General update     |           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |          -------------------------------------------           |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-   |                                                                |
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=                                                              =|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|================================================================|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==========                                            ==========|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|=============              www.irc.tl              =============|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|==============                                    ==============|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|================                                ================|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 372 Jessica :-  =|================================================================|=
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 376 Jessica :End of message of the day.
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 251 Jessica :There are 80 users and 708 invisible on 6 servers
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 252 Jessica 9 :operator(s) online
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 253 Jessica 100 :unknown connections
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 254 Jessica 915 :channels formed
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 255 Jessica :I have 370 clients and 1 servers
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 265 Jessica :Current Local Users: 370  Max: 532:exnet.fr.irc.tl 266 Jessica :Current Global
[8/11/2015 (16:38:17): 8 LOG] - Users: 788  Max: 877
[8/11/2015 (16:38:17): 8 LOG] - :exnet.fr.irc.tl 396 Jessica ip-996ad0b5.kimsufi.com :is now your displayed host
[8/11/2015 (16:38:17): 8 LOG] - :Jessica!Jessica@ip-996ad0b5.kimsufi.com MODE Jessica +iwx

Hmm.. bot didn't seem to try to identify. Server crashed here.. you said something about bot ids in the plugin here right?
Because my used to identify is
ircBotIdentify(botid)
{
	if(botid > 1)
		IRC_SayFormatted(botid, "NickServ", "IDENTIFY %s "#IRC_BOT_PASSWORD"", gBotNames[0]);
	else
		IRC_Say(botid, "NickServ", "IDENTIFY "#IRC_BOT_PASSWORD"");
}

but it didn't even attempt an identify, even through both of those should work with the 'Jessica' bot because she's the group owner.
The other bots identified as her fine, she's on all channel user lists.
Weirdly enough, she starts sending messages then she somehow quits.
[8/11/2015 (17:31:28): 8 LOG] - :Jessica!Jessica@ip-996ad0b5.kimsufi.com QUIT :Ping timeout: 121 seconds
[8/11/2015 (17:31:28): 8 LOG] - :Jessica!Jessica@ip-996ad0b5.kimsufi.com QUIT :Ping timeout: 121 seconds

See if v1.4.7 fixes it. If it doesn't, I'm not really sure. It looks like it could be a problem with Boost.Asio, which could be fixed by compiling with a newer version of the library than the one supplied in this repository. I don't have much time at all to devote to this anymore, unfortunately.

Ubuntu Trusty Tahr fixed it.
Must've been a boost issue.

repo: samp-incognito/samp-irc-plugin


text:
Fix 2 submissions and update plots/stats

This PR fixes submission "logp-nhlbi-1.csv" (method name: TFE-NHLBI-TZVP-QM) which had a sign error (all signs needed to be flipped), and "logP-MLRUCR-1.csv" (method name: TFE MLR) which had an incorrect SEM listed. Plots and statistics tables were regenerated after the fixes.

Thanks!

source: gharchive/pull-request

authors: bergazin davidlmobley

license: MIT

license_type: permissive

license_source: github-api


text:
Could not access sys._traceback

Getting Could not access sys._traceback error launching 1.6.1 GUI. When I build the master branch (1.6.2 beta) from Xcode, the GUI launches fine, so not sure what's going on. Nothing in Maestral.log after turning on debug logging:
2022-03-27 22:54:39 daemon INFO: Starting daemon
2022-03-27 22:54:40 manager INFO: Connected
2022-03-27 22:55:51 sync INFO: Sync aborted
2022-03-27 22:55:51 manager INFO: Paused
2022-03-27 22:55:53 daemon INFO: Starting daemon
2022-03-27 22:55:53 daemon DEBUG: Environment:
{'COMMAND_MODE': 'unix2003',
'HOME': '/Users/henry',
'LC_CTYPE': 'UTF-8',
'LOGNAME': 'henry',
'PATH': '/usr/bin:/bin:/usr/sbin:/sbin',
'PYTHONDONTWRITEBYTECODE': '1',
'PYTHONOPTIMIZE': '2',
'PYTHONPATH': '/Applications/Maestral.app/Contents/Resources/app:/Applications/Maestral.app/Contents/Resources/app_packages',
'PYTHONUNBUFFERED': '1',
'SHELL': '/bin/zsh',
'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.bh5aYZBIAr/Listeners',
'TMPDIR': '/var/folders/4v/p7gxf09517bbll5yfcd3xm5c0000gn/T/',
'USER': 'henry',
'XPC_FLAGS': '0x0',
'XPC_SERVICE_NAME': 'application.com.samschott.maestral.14857337.14857589',
'__CFBundleIdentifier': 'com.samschott.maestral',
'__CF_USER_TEXT_ENCODING': '0x1F5:0x0:0xF'}
2022-03-27 22:55:53 daemon DEBUG: Acquired daemon lock: '/Users/henry/Library/Application Support/maestral/maestral.lock'
2022-03-27 22:55:53 daemon DEBUG: Integrating with CFEventLoop
2022-03-27 22:55:53 daemon DEBUG: Socket path: '/Users/henry/Library/Application Support/maestral/maestral.sock'
2022-03-27 22:55:53 daemon DEBUG: Creating Pyro daemon
2022-03-27 22:55:53 sync DEBUG: Could not load mignore rules: No such file or directory
2022-03-27 22:55:53 daemon DEBUG: Starting event loop
2022-03-27 22:55:54 manager INFO: Connected
I've also attached the files being read by the release vs. Xcode processes.
xcode.txt
release.txt

Thanks for the report!
The enigmatic message is due to some exception handling code which I did not clean up properly. Something is failing during startup and you should be seeing a window with an actual traceback instead of "Could not access sys._traceback".
It is surprising though that 1.6.2.dev0 runs without problems, there have been almost no changes.
Could you try launching the stable version 1.6.1 from the Terminal by running /Applications/Maestral.app/Contents/MacOS/Maestral? This should hopefully print a more informative traceback to the console.

Thanks @samschott, found the traceback and fixed the issue by deleting my x86_64 Sparkle folder.
Traceback (most recent call last):
File "Contents/Resources/Support/Python/Resources/lib/python3.9/runpy.py", line 197, in _run_module_as_main
File "Contents/Resources/Support/Python/Resources/lib/python3.9/runpy.py", line 87, in _run_code
File "Contents/Resources/app/maestral_cocoa/main.py", line 43, in
File "Contents/Resources/app/maestral_cocoa/main.py", line 20, in main
File "Contents/Resources/app/maestral_cocoa/app.py", line 499, in run
File "Contents/Resources/app_packages/toga/app.py", line 511, in main_loop
File "Contents/Resources/app_packages/toga_cocoa/app.py", line 338, in main_loop
File "Contents/Resources/app/maestral_cocoa/private/implementation/cocoa/factory.py", line 809, in create
File "Contents/Resources/app/maestral_cocoa/app.py", line 114, in startup
File "Contents/Resources/app/maestral_cocoa/updater.py", line 211, in init
File "Contents/Resources/app/maestral_cocoa/updater.py", line 84, in init
File "Contents/Resources/app_packages/rubicon/objc/runtime.py", line 61, in load_library
File "Contents/Resources/Support/Python/Resources/lib/python3.9/ctypes/init.py", line 374, in init
OSError: dlopen(/Library/Frameworks/Sparkle.framework/Sparkle, 0x0006): tried: '/Library/Frameworks/Sparkle.framework/Sparkle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/System/Library/Frameworks/Sparkle.framework/Sparkle' (no such file), '/Library/Frameworks/Sparkle.framework/Versions/A/Sparkle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/System/Library/Frameworks/Sparkle.framework/Versions/A/Sparkle' (no such file)

Hrmp, it should not be trying to load /Library/Frameworks/Sparkle.framework but rather the Sparkle framework bundled with the app itself 😠 See here:
https://github.com/samschott/maestral-cocoa/blob/9db02b14bb56620f6237734e99e596bb28bdefef/src/maestral_cocoa/updater.py#L83-L84
This uses ctypes.util.find_library() under the hood, I guess I misunderstood how it handles absolute paths. What does
from ctypes import util
path = "/Applications/Maestral.app/Contents/Frameworks/Sparkle.framework/Sparkle"
util.find_library(path)

return on your system if you still have Sparkle installed globally?

henry@Henrys-Mac ~ % python3
Python 3.9.10 (main, Jan 15 2022, 11:40:53)
[Clang 13.0.0 (clang-1300.0.29.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from ctypes import util
path = "/Applications/Maestral.app/Contents/Frameworks/Sparkle.framework/Sparkle"
util.find_library(path)
'/Library/Frameworks/Sparkle.framework/Sparkle'

Thanks! That's what I was suspecting.

source: gharchive/issue

repo: samschott/maestral-cocoa


text:
Improved BaseRouteHandler#getModelClassFromPath

Right now, when you provide a path like /assets/:objectId and use this.normalizedRequestAttrs() in the route handler, it is doing naïve matching on :id to break out of the reverse path iterator when looking for the name to "classify" for the model.
There is no restriction that I am aware of that says route path variables should be :id. This change will allow for named route path variables other than :id when using a path and handler that utilizes BaseRouteHandler#getModelClassFromPath in some form.

Thank you sir!

Thanks for all your hard work on Mirage! Happy to contribute. 😁

authors: bryanaka samselikoff

repo: samselikoff/ember-cli-mirage

license: mit

license_source: bigquery


text:
errors are now ignored on up

Method now checks for an error in stdout instead of checking for a failure, which means no more ignored errors will show up as failures when they were expected to fail.
This is for issue https://github.com/samsung-cnct/k2/issues/372

The continous-intergration/jenkins/pr-head job failed:
[gke] fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check ''Error' not in tiller_present.stderr and not tiller_present | skipped ' failed. The error was: error while evaluating conditional ('Error' not in tiller_present.stderr and not tiller_present | skipped ): Unable to look up a name or access an attribute in template string ({% if 'Error' not in tiller_present.stderr and not tiller_present | skipped  %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/home/jenkins/workspace/K2_PR-470-TPDGKSIFVLDIYDAKTAAXP7NPUFNHG43FZPWSZ6NCGYPYR4ZIXWKA/ansible/roles/kraken.services/tasks/kill-services.yaml': line 60, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Clean up tiller if present\n  ^ here\n"}

well , that makes sense, I had been testing an aws cluster. Don't know what is different about gke in terms of tiller.

please retest this

authors: DStorck davidewatson


text:
Unable to delete an agent

ISSUE
Unable to delete an agent from the Articulate UI.

Almost no information to go off of here: what version are you running, were there any errors creating the agent, what other things had you done to the agent?

I am using version 0.27.2. There were no errors while creating the agent. I was trying to connect a webhook with the agent.

@RussellSPG can you try to replicate this?

sure thing

@RakibulAsheeque did you create a webhook, then was not able to delete it? Can you upload an export?

@RakibulAsheeque could you please fill the form, when posting for issues? It will help to rule out compatibility, and save time, thanks.

@RussellSPG
- Did you download a release or pull from Master? Which release?
I downloaded a release. version 0.27.2.
- What operating system are you running?
Debian Linux
- Are you running locally or in the cloud?
Cloud
- Which browser are you using?
Chrome

I built the docker containers again in a new instance and the issue got resolved.

authors: RakibulAsheeque RussellSPG wrathagom

repo: samtecspg/articulate


text:
Unexpected interaction between Union order and fields_set

Bug
I've run into an issue in which an object's __field_set__ is fully populated depending on a containing Union's order, despite no fields being set.
The example below defines a Parent class and a Child subclass. If Parent() is set on a Union[Child, Parent] field, all of its fields will be listed in __fields_set__.
Hopefully the example and output below do a better job of explaining.
from typing import Union
import pydantic

class Parent(pydantic.BaseModel):
    field_that_should_be_unset: str = None

class Child(Parent):
    pass

class Container(pydantic.BaseModel):
    parent_first: Union[Parent, Child] = None
    child_first: Union[Child, Parent] = None

print(
    Container(
        parent_first=Parent(),
        child_first=Parent(),
    ).dict(exclude_unset=True)
)
print(
    Container(
        parent_first=Child(),
        child_first=Child(),
    ).dict(exclude_unset=True)
)

Output:
{'parent_first': {}, 'child_first': {'field_that_should_be_unset': None}}
{'parent_first': {}, 'child_first': {}}

Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.4
            pydantic compiled: True
                 install path: /home/jvolkman/repos/tms/env/lib/python3.8/site-packages/pydantic
               python version: 3.8.2 (default, Mar 13 2020, 10:14:16)  [GCC 9.3.0]
                     platform: Linux-5.4.0-26-generic-x86_64-with-glibc2.29
     optional deps. installed: ['typing-extensions']

and

             pydantic version: 1.5
            pydantic compiled: True
                 install path: /home/jvolkman/repos/tms/env/lib/python3.8/site-packages/pydantic
               python version: 3.8.2 (default, Mar 13 2020, 10:14:16)  [GCC 9.3.0]
                     platform: Linux-5.4.0-26-generic-x86_64-with-glibc2.29
     optional deps. installed: ['typing-extensions']

We might one day have more sophisticated logic to deal with unions, perhaps linked to #619.
Currently there's no work around for this:

Parent is not a subclass of Child
however Parent can be coerced to a child via effectively Child(**parent.dict())
doing Child(**parent.dict()) obviously sets child. field_that_should_be_unset, hence the confusing behaviour

We could also solve this (although it would make Union slow) by doing two (or even 3) passes through the union options:

check if the value is an exact instance of the union types: any(value.__class__ == t for t in union_types)
check if the value is an instance of any subclass of the union types: any(isinstance(v, t) for t in union_types)
try coercing the value to each type in turn of the union as we do now.

I believe that several reported Union-related bugs (or supposed bugs) have wrong emphasis in their descriptions (and some of them are closed now). What is really important about this (and related) issues is that they lead to surprising silent data-loss. Each of those adjectives is bad on it's own, but here we have all of them combined. Let me illustrate. The following test case fails on the last assert because last_name was removed by type coercion.
@pytest.mark.xfail(reason='Prioritization results in data loss', raises=AttributeError)
def test_union_priority_data_loss():
    class Person(BaseModel):
        name: str
        last_name: str

    class NamedThing(BaseModel):
        name: str

    class Container(BaseModel):
        v: Union[NamedThing, Person] = ...

    container = Container(v=Person(name='Name', last_name='Last Name'))

    assert container.v.name == 'Name'
    assert container.v.last_name == 'Last Name'

In my application code I encountered this like 3 times already for a small-size prototype level app, so this is not a contrived example, but obviously I simplified it.
@samuelcolvin I like your solution you proposed above.

We could also solve this (although it would make Union slow) by doing two (or even 3) passes through the union options:
1. check if the value is an exact instance of the union types: any(value.class == t for t in union_types)
2. check if the value is an instance of any subclass of the union types: any(isinstance(v, t) for t in union_types)
3. try coercing the value to each type in turn of the union as we do now.

When choosing between surprising silent data-loss and slowing down pydantic in some use-cases where I feel most users won't even notice I would choose slowing down but having a predictable (I would even say correct) behavior. To mitigate slow down for those who care we could add some extra flag into the Field class so that they could keep old behavior until #619 is implemented.
I've read discussion in #619 and I feel that it won't solve this issue because even with implemented discriminator field I feel it is wrong to force users to use extra (discriminator) field if they don't want it.
User may also may encounter data-loss (rounding floats) with using simply Union[int, float] and surprising behavior when using Union[float, int] which is functionally equivalent to Union[float]. Yes, user may circumvent these issues with using Union[StrictInt, StrictFloat] but this still feels like a workaround for initially unexpected behavior.
@samuelcolvin what do you think?

@yandrieiev generously sprinkling
class Config:
    extra = 'forbid'

over all your models solves that issue:
class Person(BaseModel):
        name: str
        last_name: str

class NamedThing(BaseModel):
        name: str

        class Config:
            extra = 'forbid'

class Container(BaseModel):
        v: Union[NamedThing, Person] = ...

I'm as big a fan of generous sprinkling as the next man, but you can accomplish the same thing with a custom base model which is slightly more succinct.

👋 First @samuelcolvin and all other contributors thanks for this awesome library 🙏.
I'm not sure if this is the best place to share but we recently encountered a really strange bug with Union
from typing import Tuple, Union
from pydantic import BaseModel

NumType = Union[float, int]

def f(input: Tuple[Union[int, float], Union[int, float]]):
    pass

class myModel(BaseModel):
    coordinates: Tuple[NumType, NumType]

myModel(**{"coordinates": (0.0, 0.1)})

#>> myModel(coordinates=(0, 0))

In☝there seems to be a conflict with the Type passed in the function (f) Tuple[Union[int, float], Union[int, float]] and the NumType we use in our Model myModel. When declaring the function f, the model will return int while we are expecting float. If we remove the function f, the model behaves as expected.
I'm happy to open a new issue if you feel this is unrelated to this one
cc @geospatial-jeff @drewbo

authors: SaschaSchlemmer jvolkman samuelcolvin vincentsarago yandrieiev

repo: samuelcolvin/pydantic


text:
How can I return different type in dict?

Hi. How can I return different type in dict like in json? (by custom encoder)
I have this model:
class MongoBaseModel(BaseModel):
    class Config(BaseConfig):
        json_encoders = {
            ObjectId: lambda oid: str(oid),
            date: lambda d: str(datetime.combine(d, datetime.min.time()).isoformat()),
            datetime: lambda dt: dt.isoformat(),
        }

class UserDB(MongoBaseModel):
    id: Optional[str]
    identifier: str
    sex: SexEnum
    birthday: date

I use motor/pymongo, and it required from me dict (not json) format for input data. Date/datetime must be in isoformat, then I should convert my datetime field for it.
When I try with .dict():
bson.errors.InvalidDocument: cannot encode object: datetime.date(2020, 10, 5), of type: <class 'datetime.date'>
When I try with .json():
pymongo.errors.WriteError: Modifiers operate on fields but we found type string instead. For example: {$mod: {<field>: ...}} not {$set: "{"sex": "female", "birthday": "2020-10-05T00:00:00"}"}, full error: {'index': 0, 'code': 9, 'errmsg': 'Modifiers operate on fields but we found type string instead. For example: {$mod: {<field>: ...}} not {$set: "{"sex": "female", "birthday": "2020-10-05T00:00:00"}"}'}

Can you provide a full script, including the class definitions and the .dict() call that fails?
Something like the second example here.
I would expect that .dict() would not call json.dumps at all.
What does the traceback say? Can you paste that in full? (Wrap it in triple backticks so that github formats it nicely.)

        await self.db.users.update_one(
            {'identifier': user_identifier},
            {'$set': user.dict(exclude={'id', 'identifier'})}, upsert=True)

What exactly is that snippet? What is self? Why doesn't it include the .dict() call that you say is causing the failure? What's the full traceback?
Please, help us help you. Please provide a minimal working example. That is, provide an entire python script, which I can copy-paste into a file and then run, and I'll then get the exact error you're trying to resolve.
Currently I am not able to run any of your code, because it's not complete. e.g. what is SexEnum? If I cannot reproduce your error, I cannot solve it.

Please follow the template. We can't help you without more information

Please follow the template. We can't help you without more information

authors: PrettyWood mdavis-xyz michaldev


text:
Pydantic tries to validate method decorated with functools.singledispatchmethod as class attribute

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

See code example:
from pydantic import BaseModel
from functools import singledispatchmethod

class A(BaseModel):
    x: int

    @singledispatchmethod
    def add_to_x(self, y):
        raise NotImplementedError()

Running this leads to:
RuntimeError                              Traceback (most recent call last)
<ipython-input-8-f3e84a8e5cb2> in <module>
      2 from functools import singledispatchmethod
      3
----> 4 class A(BaseModel):
      5     x: int
      6

~/.venvs/clarinet/lib/python3.8/site-packages/pydantic/main.cpython-38-darwin.so in pydantic.main.ModelMetaclass.__new__()

~/.venvs/clarinet/lib/python3.8/site-packages/pydantic/fields.cpython-38-darwin.so in pydantic.fields.ModelField.infer()

~/.venvs/clarinet/lib/python3.8/site-packages/pydantic/fields.cpython-38-darwin.so in pydantic.fields.ModelField.__init__()

~/.venvs/clarinet/lib/python3.8/site-packages/pydantic/fields.cpython-38-darwin.so in pydantic.fields.ModelField.prepare()

~/.venvs/clarinet/lib/python3.8/site-packages/pydantic/fields.cpython-38-darwin.so in pydantic.fields.ModelField.populate_validators()

~/.venvs/clarinet/lib/python3.8/site-packages/pydantic/validators.cpython-38-darwin.so in find_validators()

RuntimeError: no validator found for <class 'functools.singledispatchmethod'>, see `arbitrary_types_allowed` in Config

Surely this is not intended behaviour? Is it a feature of functools that this property is added as a result of calling singledispatchmethod?
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.7.3
            pydantic compiled: True
                 install path: /Users/phinate/.venvs/clarinet/lib/python3.8/site-packages/pydantic
               python version: 3.8.3 (default, May 19 2020, 13:54:14)  [Clang 10.0.0 ]
                     platform: macOS-10.15.7-x86_64-i386-64bit
     optional deps. installed: []

Hey again :)
class A(BaseModel):
    x: int

    class Config:
        keep_untouched = (singledispatchmethod,)

I feel like the doc on this issue is hard to find and understand even though it's rarely used.

Thanks for the workaround, again ;)
Still not really sure why this happens though, I cant tell where in the source code for functools where this would be added as an attribute....

I'm hitting the same issue with functools.lru_cache (Python 3.6.9, pydantic 1.8.2):
Example:
from pydantic import BaseModel
from functools import lru_cache

class A(BaseModel):
    id: int

    def __hash__(self):
        return self.id

    @lru_cache(maxsize=100)
    def lookup_something(self):
        return "something"

which raises:
RuntimeError: no validator found for <class 'functools._lru_cache_wrapper'>, see `arbitrary_types_allowed` in Config

@amirkdv have you tried with https://github.com/samuelcolvin/pydantic/pull/2625?

Thanks @PrettyWood for the pointer! I haven't tried your branch as per the #2625 PR.
I did settle on this for now:

class A(BaseModel):
    id: int

    class Config:
        keep_untouched = (cached_property, )

    @cached_property
    def lookup_something(self):
        return "something"

from pydantic import BaseModel
from functools import lru_cache

class A(BaseModel):
    id: int

    def __hash__(self):
        return self.id

    @lru_cache(maxsize=100)
    def lookup_something(self, n):
        return "something", n

This does not work.

authors: PrettyWood amirkdv phinate xiyusullos


text:
Mega Man X8 (2004 PC): Crashes on exit

I am noticing that every time I close the PC version of Mega Man X8 (the 2004 PC version, not the MT Framework version in the Legacy Collection), it always causes the game to crash as it closes going by how it always creates ~80 MB crash dumps all the time whenever I quit the game by pressing Alt+F4 or closing it from the title screen. I am using a combination of Xidi v3.1.0 with Hookshot v1.2.0, yet no matter the combination of hooking the game with Hookshot — using the HookshotLauncher or Hookshot.exe — it always crashes on exit instead of properly closing the game. I'm not sure if it also has to do with the No CD executable I'm using to play the game without having to use the disc in the CD drive to play it from the hard drive.

Sorry to hear about this issue. Some questions:

Which form of Xidi are you running? WinMM, DInput, DInput8, etc.
Can Xidi work without Hookshot for this game? Or does it specifically require that you use Hookshot?
Does the crash happen when you run the game without Xidi or Hookshot?

Try deleting all the Xidi and Hookshot files, then run the game and see what happens.

Does the crash happen when you run the game with Hookshot but without Xidi?

Delete the file Xidi.HookModule.XX.dll and then run the game with Hookshot.

Sorry to hear about this issue. Some questions:

Which form of Xidi are you running? WinMM, DInput, DInput8, etc.

Can Xidi work without Hookshot for this game? Or does it specifically require that you use Hookshot?

Does the crash happen when you run the game without Xidi or Hookshot?

Try deleting all the Xidi and Hookshot files, then run the game and see what happens.

Does the crash happen when you run the game with Hookshot but without Xidi?

Delete the file Xidi.HookModule.XX.dll and then run the game with Hookshot.

Dinput8; the other two forms do not work whatsoever with this game.
It cannot. I've tried other forms and launching the game without Hookshot but the game will not work with Xidi without it.
It happens with Hookshot, otherwise the game works fine without any Xidi and/or Hookshot files.
It doesn't but it also doesn't work anymore and my XInput controls remains unchanged.

Thanks for the info. Could you please reproduce the issue with Xidi's logging feature enabled at level 4, then provide the logs here? You should get two log files - one for the hook module and one for dinput8.

Here are the two log files I got when the game crashed on exit with Xidi and Hookshot as directed.
Xidi_HookModule_MEGAMANX8.EXE_10648.log
Xidi_DInput8_MEGAMANX8.EXE_10648.log

Where is the crash dump located? I tested with the free trial version of the game along with Xidi and Hookshot. Xidi works fine but I am unable to locate any crash dumps.

The *.dmp crash dumps appears here for me:
%localappdata%\CrashDumps

I identified an issue that causes regular crashes on exit with Xidi v3.1.0 for a small test application due to a threading issue. It is fixed as of commit 3fa8eb58e5ec73a762f5cc3267e04a4fff6a5ae9.
Could you please give this development version of Xidi a try and let me know if the issue is resolved?
Xidi-v3.1.1-dev.50.0+3fa8eb58.zip

I just tried the latest dev build of Xidi and it is able to close Mega Man X8's full version without crashing. Thank you very much for looking into this issue! Would it be possible to mention other games that I may encounter issues with Xidi and/or Hookshot in the future? I have a couple of other older PC games that I've tested that either don't work or have some problems with these wrappers.

Great, I'm glad the issue is resolved with this fix. I am planning to do a release in the not-too-distant future that will include it. As for the other games, please do feel free to file more issues and provide whatever information you have. While I cannot promise to get to all of them, I welcome the opportunity to look into it at very least.

Fix is included in the release of v4.0.0.

authors: ViperAcidZX samuelgr

repo: samuelgr/Xidi


text:
How to make this work with MT4 installed using wine in my MAC

Hi, i am using MAC and installed mt4 using wine. How can i use this project to work with this MT4.
I provided right path to MT4 however it fails to instantiate mt4
raise RuntimeError('mt4[%s] is not initialized.' % alias)
RuntimeError: mt4[default] is not initialized.

try a cool drag and drop solution
https://github.com/TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop

authors: RamMakireddi TheSnowGuru

repo: samuraitaiga/py-metatrader


text:
🛑 Gitea is down

In 910b0fd, Gitea (https://git.returntosander.net) was down:

HTTP code: 523
Response time: 3231 ms

Resolved: Gitea is back up in 63be9c8.

repo: sanderdatema/upptime


text:
🛑 Passenger Flying Git is down

In 8e75e7e, Passenger Flying Git (https://git.passengerflying.com) was down:

HTTP code: 521
Response time: 244 ms

Resolved: Passenger Flying Git is back up in 0583494.


text:
PositionType in the model should use edge-relative measurements

To match the flexibility of tts:position, PositionType should allow edge-relative distances.
The members of PositionType become: h_offset, h_edge, v_offset and v_edge

This is not required since IMSC mandates that horizontal and vertical root relative measurements be only used in horizontal and vertical contexts, respectively.

repo: sandflow/ttconv


text:
Example configuration to run longranger via LSF

This PR is to allow running Lonranger in LSF mode and on Singularity, without the need to install longranger beforehand.
Nextflow will use our container image from GitLab, and pass on the necessary Singularity options to enable LSF.
All it needs is a couple of extra options in the pipeline's configuration file.
I'm also fixing some minor things such as MD5 checksums, the command line to get the version, etc

Confirmation the test works. In this environment, I don't have any module loaded, and longranger is not available directly.
$ env TMPDIR=~/nfs/scratch123/nextflow PROFILE=singularity pytest --symlink --git-aware --keep-workflow-wd-on-fail --tag longranger/align
====================================================================== test session starts ======================================================================
platform linux -- Python 3.9.5, pytest-7.0.1, pluggy-1.0.0
rootdir: /nfs/users/nfs_m/mm49/workspace/tol-it/nextflow/modules, configfile: pytest.ini
plugins: workflow-1.6.0
collecting ...
collected 829 items

longranger align:
        command:   nextflow run ./tests/modules/longranger/align -entry test_longranger_align -c ./tests/config/nextflow.config -c ./tests/modules/longranger/align/nextflow.config
        directory: /nfs/users/nfs_m/mm49/nfs/scratch123/nextflow/pytest_workflow_ppe4i8tu/longranger_align
        stdout:    /nfs/users/nfs_m/mm49/nfs/scratch123/nextflow/pytest_workflow_ppe4i8tu/longranger_align/log.out
        stderr:    /nfs/users/nfs_m/mm49/nfs/scratch123/nextflow/pytest_workflow_ppe4i8tu/longranger_align/log.err
'longranger align' done.

tests/test_versions_yml.py ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 15%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 33%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 70%]
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%]
sssssssssssssssssssssssssssssssssssssssssssssssssss.ssssssssssssssssssssssssssssssss                                                                      [ 99%]
tests/modules/longranger/align/test.yml .......                                                                                [100%]All tests succeeded. Removing temporary directories and logs. Use '--kwd' or '--keep-workflow-wd' to disable this behaviour.

========================================================== 8 passed, 821 skipped in 292.84s (0:04:52) ===========================================================

repo: sanger-tol/nf-core-modules


text:
Settings missing model defaults after Swappable models introduced

The following commit broke my running admin a few days ago:
https://github.com/sanoma/django-arctic/commit/4b585a6b571b19e2c189b7c115b43f26bf505862
In here the role models allowed overriding the default model, but the line role = models.ForeignKey(settings.ARCTIC_ROLE_MODEL) breaks compatibility with existing running platforms that didn't define that setting variable.
Both ARCTIC_ROLE_MODEL and ARCTIC_USER_ROLE_MODEL should have proper default values for backwards compatibility, and also because users who don't want to swap the model don't need to define the default value.

fixed in develop branch

authors: chescales mmarcos

repo: sanoma/django-arctic


text:
Story indicator when rtl

No space between the first two indicators in Arabic (rtl alignment)

the same here

authors: AbdullahGaber ali-ahmed-ali


text:
🛑 GRAFANA_URL is down

In 0bfb252, GRAFANA_URL ($GRAFANA_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GRAFANA_URL is back up in e3abd62 after 58 minutes.

repo: santomaharaj/upp


text:
🛑 SPRINGBOOT_AUTH_OPENAPI_URL is down

In 16fe509, SPRINGBOOT_AUTH_OPENAPI_URL ($SPRINGBOOT_AUTH_OPENAPI_URL) was down:

HTTP code: 502
Response time: 260 ms

Resolved: SPRINGBOOT_AUTH_OPENAPI_URL is back up in 223c9f0.


text:
Need to specify ollama base url for external ollama.

I have a dedicated ollama box.

Done! Check it out in v1.5.32

authors: captainwasabi saoudrizwan

repo: saoudrizwan/claude-dev


text:
Suggestion: Postscript

I find that system prompt sometimes isn't strong enough and I would like to have a message appended to each of my user messages (but filtered from memory afterwards).
For instance I like to tell claude to use as many tools in a single reply as possible. This minimizes token usage (even if cache makes it cheap) / roundtrips.
It usually follows this system prompt for only a couple messages tho before its back to using only one tool at a time.

Please feel free to add this suggestion to the idea board so people can vote on it and give me a better idea of what to work on next: https://github.com/saoudrizwan/claude-dev/discussions/categories/ideas

authors: CiberNin saoudrizwan


text:
Add GROQ support

I would like to be abble to use the groq.com api as its free

@saoudrizwan  will groq get added?

Just want folks to know that GROQ does not offer claude or gpt4o models (https://console.groq.com/docs/models) - I've tried the models they do support through openrouter and they performed poorly with claude dev's massive system prompt/tool schema. If they support more models I'll add them as an option, but until then I don't want people to select GROQ thinking claude dev is going to work well with it.

@saoudrizwan  i get that, but you could add a tag like *Preformce baddly

GROQ is on the todo list, closing as duplicate of https://github.com/saoudrizwan/claude-dev/issues/30

authors: Elias-Lindholm saoudrizwan


text:
Create A New Welcome Card - The Registration in Mobile app is failing after creating welcome card

Tutorials: https://developers.sap.com/tutorials/cp-mobile-cards-welcome.html
Hello,
Step 3: View card on your mobile device:
7. Enter your SAP BTP credentials and tag Log On:
The registration of the mobile application is failing after creating the First Mobile card in both US and AP Region
After scanning the QR generated for registering the mobile device, and entering credentials,it gives the error: Registration Failed
Please refer to the screenshot:

Labels to be attached:
Sprint Label: SCPTest-2201A
Prio: high-prio
Scenario label: SCPTest-mcard
Landcape Label: trial2, trial3,
Thanks,
Farozan

Hi @FarozanFarman
We have fixed the issue. The Fix should be in production by EoD today. please retest and let us know the results

authors: FarozanFarman SamiLechner

repo: sap-tutorials/Tutorials


text:
simple node reflector

simplified version.
questions to be clarified tomorrow: simple way of mock testing (test will fail currently), syncmap.Map vs sync.Map, where to store node information in kluster.Status field. I'll give you a call @databus23

fixed issue with sync.Map vs syncmap.Map. It was gogland.

note: will fail. didn't adjust the tests yet. will do tomorrow

@auhlig Is this ready for another review? I'm not sure. Please let me know and remove the WIP if so.

It is @databus23. I'd appreciate a brief call tomorrow morning to get some feedback on this.

Sqashed and  ready for another review @databus23.

Ready for another review. I really appreciate you're taking the time @databus23

Tested in k-staging. Seems to work, though the logging within the controller doesn't.

repo: sapcc/kubernikus


text:
FAQ for the Readme: any questions?

I will start it here, please post some useful questions/answers that you already have answered when using styleguidist. We can move them to the README when we have more of them.
If you believe that this should not be a FAQ and would better be merged into the main documentation, please comment. :)
Here's one from me:

How can I debug code of my examples?
Just open your developer tools and type debugger; in your code example.

Maybe it would be better to actually integrate it with the example styleguide, so that anyone can see how it works ;)

One more:

But how do I debug the exceptions thrown from my components?
Almost the same way. Put debugger; at the beginning of your code and then click the  button to make the debugger stop execution on any exception, continue, and voilà, you got your exception with all the context.

@sapegin, what do you think about "similar projects" link section? I'd list at least 2:

https://github.com/insin/react-heatpack#readme
https://github.com/jaredly/demobox

Great idea especially if the have a single line descriptions not just links. There’s also Source-compatible fork for the Styleguidist — https://github.com/sourcejs/sourcejs-react-styleguidist.

okay! see my edited comment above.

Coooool!

@mik01aj I’ve added a FAQ (merged your two questions in one) and a list of similar projects. Would cool if you could proofread it.

@sapegin thank you, I couldn't find time for this.
The debugger instruction, however, is wrong, because you should put debugger; first (so that the execution is stopped at the beginning of your example code) and then you press , so that when you continue the code execution with
, the execution will be stopped again wherever the exception is thrown.
And I put 2 short questions for a reason: one is for stepping through execution of example code (useful if they contain some logic), and the second was about finding exceptions.

Sorry it wasn’t obvious ;-|

I’ve just noticed that lodash is available in examples. Worth noting that somewhere in the Readme.

:+1:

repo: sapegin/react-styleguidist


text:
[BUG] The requested video cannot be played by the player Error: 5

Describe the bug
So I'm using the 8.0.0 version and it works fine without error for ANDROID but for IOS it present the "The requested video cannot be played by the player Error: 5" I have no idea why this is happening.
Expected behavior
I was expecting for the video to reproduce as normal since it works normal on Android but is a different story in IOS.
Screenshots
I don't have screenshot at the moment, but it basically when I reproduce the video it just load for 2-3 minutes then display: "The requested video cannot be played by the player Error: 5"
Technical Details:

Device: Iphone 12
OS: IOS 12.5
Version [e.g. 22]

Additional context
I'm using Codemagic virtual machines to simulate the app on IOS
Similar Issue
https://github.com/sarbagyastha/youtube_player_flutter/issues/204

Confirm, problem persist in latest release:
Tech details:

Real Device.
Device: Iphone 10
OS: IOS 14.6
Flutter Ver.: 2.2.2
YoutubePlayerFlutter Ver.: 8.0.0

i have same problem
The requested video cannot be played by the player Error: 5

authors: PcolBP VictorJPimentel mahmoudatef925


text:
SN-441 add breadcrumbs to entity details page

https://saritasa.atlassian.net/browse/SN-441

When go to entity detail page, there is a breadcrumbs navigation

Clicking on "Entities" will redirect to entities page.

Clicking on "Home" will redirect to homepage of web application.

repo: saritasa-nest/saritasa-forge-admin


text:
🛑 Tian is down

In a6e3a10, Tian (https://www.tianaix.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tian is back up in 557d343 after 28 minutes.

repo: sarpaykent/uptime


text:
🛑 Sarp Aykent is down

In cd57a5b, Sarp Aykent (https://www.sarpaykent.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sarp Aykent is back up in 710c83b after 25 minutes.


text:
Fix the flow of app on boarding

Someone again breaks the onboarding page order. Please fix it

Enter the language
Enter Name
Do you know the average cycle

Please assign me this issue. @sarthology

Can I work on this @sarthology

Sure !!

repo: sarthology/ovuli


text:
fix(heif)!: Fixed package.json to publish all necessary files

This PR is considered to be a follow-up for #37. It has become necessary, as the package.json config failed to publish all necessary files within the packages/heif project directory.

:rocket: PR was released in @saschazar/wasm-avif@0.2.1, @saschazar/wasm-heif@0.1.2, @saschazar/wasm-image-loader@2.2.1, @saschazar/wasm-mean-color@1.2.1, @saschazar/wasm-mozjpeg@1.2.1, @saschazar/wasm-webp@1.3.1 :rocket:


text:
Arrow functions cause parse/syntax error

When I try to minify a javascript file with an arrow function, I get this type of error in my logs:
ERROR - Parse error. syntax error
  sortedProjects.sort((a, b) => {

I run the compressor like so,
new compressor.minify({
  type: 'gcc',
  fileIn: path.join(__dirname, '..', 'public', 'js', element),
  fileOut: path.join(__dirname, '..', 'public', 'js', element.replace(/\.js$/, '.min.js')),
  callback: (err, min) => { if (err) throw err; }
});

I've ran my code through other online validators, and it is syntactically correct.

I don't see how this is related to node sass.

I'm sorry, wrong repository! /sigh

authors: Krail xzyfer

repo: sass/node-sass


text:
Replace GlConstants with bgl

Is your feature request related to a problem? Please describe.:バグじゃないけどアドオンの動作でなにか困ってることがあれば
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like:どう動いてほしいかをどうぞ
A clear and concise description of what you want to happen.
Describe alternatives you've considered:他にこんなんでもいいよ、というのがあれば
A clear and concise description of any alternative solutions or features you've considered.
Additional context::なんかほかに書きたいことがあれば
Add any other context or screenshots about the feature request here.

done


text:
Add Translation for Language HINDI

Expected time to finish: [6] weeks. I'll start working on it on [24/04/22].

您发给我的信件已经收到。我会尽快查看邮件。谢谢!

Thanks, @ankitbourasi0 ! let me know in case you need any help. You can check out issues of existing translations for reference.

Hey @ankitbourasi0 , are you still interested in making the translation?

Hey @satwikkansal , don't you mind closing this issue? I guess we should create discussion with a list of missing translations and add Hindi to this list

Marking it as closed in favour of moving to a discussion in future.

repo: satwikkansal/wtfpython

license: WTFPL


text:
Hide invisible tabs content (by setting their height to 0)

There is empty space on bottom of tab's scene, if other tabs height is larger than current tab
Motivation
Fix #290
In this PR I hide other tabs content (by setting their contents height to 0) to resolve this problem
Test plan

Add 3 tabs with different content height
Switch between tabs
Each tabs height is same as its contents height

Closing this as stale


text:
Fetching and saving Sugar record Async

Hello,
I am new to Sugar record and loved it so much.
could some one suggest on creating the generic async class to save or retrieve sugar record object.
Thanks
yakub.

you should use AsyncTask

authors: sibeliusseraphini yakubpashask

repo: satyan/sugar


text:
Question not issue

How do I equip a tool I cant seem to find it im using the oculus quest 2 with a link cable is there a certain button or buttons I have to press

The tools are found on your hips, but they may bug out and disappear.

repo: saucekid/sauceVR


text:
Support Laravel 10

Support Laravel 10

Please merge.

repo: savannabits/filament-flatpickr


text:
update README.md for 16+ issues

…
[ERROR] Internal error has occurred in rule [diktat-ruleset:function-length]. Please make an issue on this bug at https://github.com/saveourtool/diKTat/.
                       As a workaround you can disable these inspections in yml config: <[TOO_LONG_FUNCTION]>.
                       Root cause of the problem is in […] file.
java.lang.ExceptionInInitializerError
…
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private transient java.lang.Object java.lang.Throwable.backtrace accessible: module java.base does not "opens java.lang" to unnamed module @6dd93a21
    at java.lang.reflect.AccessibleObject.checkCanSetAccessible (AccessibleObject.java:354)
    at java.lang.reflect.AccessibleObject.checkCanSetAccessible (AccessibleObject.java:297)
    at java.lang.reflect.Field.checkCanSetAccessible (Field.java:178)
    at java.lang.reflect.Field.setAccessible (Field.java:172)
    at org.jetbrains.kotlin.com.intellij.util.ReflectionUtil.findFieldInHierarchy (ReflectionUtil.java:154)
…

@agebhar1, thanks for the fix

You are welcome!

repo: saveourtool/diktat


text:
🛑 istent is down

In 6d8ad7d, istent (http://www.istent.co.kr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: istent is back up in b375272.

repo: savorfamily/upptime


text:
filter out unneeded meta-data

fixed links
filter out unneeded meta-data

looks good to me.


text:
Serious performance degrade

Last 2 versions cause serious performance degrade.
Every typing or selection in the text editor or even select control in the resource editor leads to call git.exe via cmd.
https://www.dropbox.com/s/3wpw2ub6ck3o16g/bandicam 2018-12-18 18-20-37-580.mp4?dl=0

Caused by the changes done in #49 :(
Time to kill that feature branch and look for a new solution.
The latest public releases should not be affected by this performance problem

authors: KocourKuba sboulema

repo: sboulema/TGit


text:
GitFlow: Error during work with local branches only

I play with addin with local branches only.
GitFlow's Start New Feature fails with:

git checkout develop
Already on 'develop'
git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=/ develop

Error (405 ms @ 2/12/2019 1:35:18 AM)
I have no remote branches, in addition - I did not find way on how to prevent Pull issuing.
Thanks,
Vlad

Grab the new release!
Go to Tools -> Options -> TGit -> [] Pull changes

Glad to hear :))
Unfortunately, I tried to update extension via Visual Studio. Update even did not start: just 1-second show of download dialog and the subsequent closure...
Could you please take a look? :)

Try updating using the vsix file: https://github.com/sboulema/TGit/releases/download/v4.11.58/TGit_4.11.58.vsix
Download and open should start installation.

Great!!! Now it works. Thank you very much for so quick response!!
Just as a minor comment, I just noticed the next spelling issue in final line (Succes with sinlge S at the end):

git checkout develop
Already on 'develop'
git checkout -b feature/Feature4 develop
Switched to a new branch 'feature/Feature4'

Succes (365 ms @ 2/12/2019 1:55:43 PM)
It would be nice to fix as well, if you have time :)

Great to hear!
Wow that spelling issue has gone unnoticed since 2015...
Grab the new release! :rocket:

Excellent! Good job! Thanks!

authors: YanumVlad sboulema


text:
Restore zinc source file invalidation performance

This restores the performance of the zinc source file invalidation relative to sbt 1.3.x. There was a performance regression that I noted in a comment in #5417. These changes also fix the nio/external-hooks test.

@eatkins Thanks! I'll grab this locally and test the caching behavior later.

Hmm...I reran my tests and things actually seem slower after these changes so I think more investigation is needed. In general, it does seem that VirtualFiles have made incremental compilation slower, and not just due to external hooks, but I'm sure there are plenty of optimization opportunities based on the discussions happening over there.

This is ready now. I've been testing in conjunction with https://github.com/sbt/zinc/pull/845.

repo: sbt/sbt


text:
Github Actions Cache needs to be Deleted when using new version

Hey thanks for the action and the update!
When using the newest version we initially had issues like this:
/home/runner/work/_setupsbt: No such file or directory
This can be solved with removing the cached sbt versions in the github actions tab.
Might be best to mention this in the Changelog of v1.1.0
Thanks

Ran in to a related issue with the new version.
This is the output in v1.0.0:
Run mkdir -p setupsbt
/opt/actions-runner/_work/<repo>/<repo>/setupsbt /opt/actions-runner/_work/<repo>/<repo>

In v1.0.1:
Run mkdir -p "/home/runner/work/_setupsbt"
mkdir: cannot create directory ‘/home/runner’: Permission denied

In an org with Github Enterprise and private runners

@BjoernJeschke  Thanks for the report. I think this means that I need to add more information into the cache key so it's invalidated automatically.

authors: BjoernJeschke eed3si9n gonstr

repo: sbt/setup-sbt


text:
Wagmi V2 docs update

Description :
Just sharing some updates that are on top of my mind :
Updating wagmi/viem links:
Updating wagmi and viem links to point to new docs
Renaming:
useScaffoldContractRead => useScaffoldReadContract
useScaffoldContractWrite => useScaffoldWriteContract
In useScaffoldEventSubscriber changes the listner name => onLogs
We need to also update # Configuration with link pointing to new docs and that hook's wagmi configuration.
useScaffoldWriteContract:
Update example, now you have to always kind of pass stuff the way we used to do in imperative way.

Example :

const { writeContractAsync: writeYourContractAsync } =
  useScaffoldWriteContract("YourContract");

<button
  className="btn btn-primary btn-md"
  onClick={async () => {
    try {
      await writeYourContractAsync({
        functionName: "setGreeting",
        args: [newGreeting],
        value: parseEther("0.2"),
      });
    } catch (error) {
      console.error("Error setting greeting", error);
    }
  }}
>
  Send TX
</button>;

Update Recipes:
Update recipes inline with new version

Just for reference if we have too look for example, I tried using most commonly used stuff in SE-2 at  page.tsx
Also happy to help and collaborate on this 🙌

Maybe add a small section about upgrading a Wagmi v1 SE-2 project to a Wagmi v2 SE-2 project?


text:
support onnx 1.13.1

All tests pass using pytest with onnx 1.13.1 with the exception of a test that fails regardless of onnx version (test.test_utils.test__load_version_info).
This appears to be the latest compatible onnx version, because 1.14.0 and 1.14.1 do break multiple tests.

Thanks for the PR @Jack-Etheredge, I'll merge it and release a new version.

authors: Jack-Etheredge ayoub-assis

repo: scailable/sclblonnx


text:
Useful toString for JSDependency in sbt> show jsDependencies

I'm trying to debug why I don't get .js files included from my local resources directory (probably something simple I haven't spotted yet) using sbt's show command.
JSDependency has an uninformative default toString() that only shows me its memory address.

showj sDependencies
[info] List(RuntimeDOMDep(None), ProvidedJSModuleID(org.scalajs.core.tools.jsdep.JSDependency@39b81da,None))

I'd much prefer something that shows me the list of what's included.

show libraryDependencies
[info] List(org.scala-lang:scala-library:2.11.7, org.eclipse.jetty:jetty-websocket:8.1.16.v20140903:phantom-js-jetty, org.eclipse.jetty:jetty-server:8.1.16.v20140903:phantom-js-jetty, org.scala-js:scalajs-compiler:0.6.4:plugin->default(compile), org.scala-js:scalajs-library:0.6.4, org.scala-js:scalajs-dom:0.8.1, com.lihaoyi:utest:0.3.0:test)

Thanks,
Dave

That is a very reasonable request indeed :)

Thanks!

repo: scala-js/scala-js


text:
Clean up and optimize bit operations in java.lang.Integer.

About clz32, see http://jsperf.com/polyfills-for-math-clz32
Things to note:

The new polyfill is strictly better than the old polyfill on all VMs
On Chrome, the intrinsified builtin is about 25x faster than the new polyfill
On Firefox, the new polyfill is just as fast as the builtin (probably because they implemented it in JS using a similar algo)
On Microsoft Edge (reported as Chrome 42), the new polyfill is about twice as fast as the builtin ^^

Review by @nicolasstucki

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2278/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2956/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2281/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2960/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2282/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2961/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2283/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2962/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2284/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2963/
Test PASSed.

LGTM

authors: nicolasstucki scala-jenkins sjrd


text:
Minimal migration away from sbt's Build trait

A minimal difference change that leaves most existing code where it is, for ease
of review and inspiring confidence.
Fixes #2311

Can one of the admins verify this patch?

Dear Jenkins, ok to test

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2957/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3834/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2958/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3835/
Test FAILed.

<set>:1: error: not found: value makeCompliant
scalaJSSemantics in testSuite ~= makeCompliant
                                 ^
[error] Type error in expression

I guess you'll have to amend ci/matrix.xml to add a bunch of Build. before things like makeCompliant. Previously they were automatically in scope in the command line interface. It's a bit of a downgrade in usability from the command line, but as long as setting keys and projects are still in scope, it's not too bad.

I was thinking of adding forwarders to build.sbt. WDYT? I don't mind
personally.
On Wed, 30 Mar 2016 19:59 Sébastien Doeraene, notifications@github.com
wrote:

:1: error: not found: value makeCompliant
scalaJSSemantics in testSuite ~= makeCompliant
^
[error] Type error in expression
I guess you'll have to amend ci/matrix.xml to add a bunch of Build.
before things like makeCompliant. Previously they were automatically in
scope in the command line interface. It's a bit of a downgrade in usability
from the command line, but as long as setting keys and projects are still
in scope, it's not too bad.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/scala-js/scala-js/pull/2312#issuecomment-203582905

I was thinking of adding forwarders to build.sbt. WDYT?

I'm not sure what you mean. Maybe you're referring to some feature of sbt that I do not know yet. Please do as you were thinking, I'm curious :-p

It's very advanced "sbt" technique of "val makeCompliant =
Build.makeCompliant" in build.sbt ;-)
Clearly dropping the Build trait pushes for a strong preference for things
being mostly in build.sbt (or using local AutoPlugins).
On Wed, 30 Mar 2016 20:15 Sébastien Doeraene, notifications@github.com
wrote:

I was thinking of adding forwarders to build.sbt. WDYT?
I'm not sure what you mean. Maybe you're referring to some feature of sbt
that I do not know yet. Please do as you were thinking, I'm curious :-p
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/scala-js/scala-js/pull/2312#issuecomment-203590726

It's very advanced "sbt" technique of "val makeCompliant = Build.makeCompliant" in build.sbt ;-)

Nice. I did not know that would put the val in the command line scope.

It doesn't. I was tricked by the fact that it clearly does for Build.. :(

@sjrd I created a local AutoPlugin to expose the values. WDYT of this approach? Happy to iterate.

Ah ah! Cute hack. Yes that sounds reasonable :)

Pushed updates.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2963/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3841/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2962/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3840/
Test FAILed.

Looks like all the runs for this PR were aborted?

Yes, I aborted them. They had not started yet, so I canceled the intermediary commits.

Oh no, wait, there are many more cancellations than there were supposed to be. I'll wipe everything and start over. Give me a sec'.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2964/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3842/
Test FAILed.

Cool. Thanks.

Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2967/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3845/
Test PASSed.

Looks like it passes :)
Could you please squash all the commits into one, with the following commit message:
Fix #2311: Minimal migration away from sbt's Build trait

A minimal difference change that leaves most existing code where it is,
for ease of review and inspiring confidence.

(with Fix #2311 at the beginning of the title line)

Done.

LGTM Thanks!

@sjrd Do we have a story on how we clean this up as we go? While I understand that this is a necessary change so we can move forward in sbt's versions, I can hardly imagine that we want it to stay this way.

I can hardly imagine that we want it to stay this way.

Why not? The code in this PR looks reasonable. We can keep editing Build.scala in an IDE, which is important given that it's 1 kLoC-long. If sbt 1.0 is happy with this pattern, I'm happy too.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2968/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3846/
Test PASSed.

Why not?

We keep two lists of projects that we need to keep in sync

thisBuildSettings becomes a "magic" value in Build.scala (w.r.t. to other settings in the file)

Build.scala seems poorly named (we named it that way because sbt auto-imported things)

We need an auto plugin just to make our CI matrix work. We should either:

Have a normal location where we put all these (and live with longer names in the matrix)
Simplify everything in the matrix (RetryingComJSEnv and OutputMode comes to mind).

This is admittedly not too related to this change, but IMHO becomes more flagrant when we need ad-hoc plugins to support it.

We keep two lists of projects that we need to keep in sync

True. That is not very nice. But at least it can hardly not be in sync and have the build still, well, build.

thisBuildSettings becomes a "magic" value in Build.scala (w.r.t. to other settings in the file)

I do not understand that argument. It's a public API, nothing else. Just like the projects are, in fact. And like BinaryIncompatibilities.Tools is, etc.

Build.scala seems poorly named (we named it that way because sbt auto-imported things)

Hum, yes. But in a sense it still contains basically the entire build. I guess it could be BuildDefinitions or something like this.

We need an auto plugin just to make our CI matrix work.

Previously we had "magic" vals in Build just to make our CI matrix work. I don't really understand the difference.
I would have preferred to keep the everything-in-Build.scala, which had its beauty. Now we have two choices: either this, or move all of Build.scala to build.sbt. I dislike the latter mostly because I don't want to edit a very large .sbt file which contains a lot of non-trivial logic. Also, that does not solve the put-things-in-cli-scope problem. The former has its problems, as you mention, but it allows to keep our logic in a true .scala file.
That said, I'm still open to see what we would get with everything-in-build.sbt. I'm just not convinced that .sbt is a good abstraction for large and complex builds like ours.

Ok. Let's not block on this and move ahead with this PR. I can come up with a proposal on how to change it later if necessary.

OK let's merge this, then.

authors: dwijnand gzm0 scala-jenkins sjrd


text:
Restrict type of JSON.stringify.space and improve doc

This is a potentially source incompatible change. It is binary compatible, since native types do not appear at the binary level.

This is a spin-off from #4095 with the changes that should go in after 1.1.1 is released only.

@sjrd is this good to merge?


text:
Update sbt, scripted-plugin to 1.5.0

Updates

org.scala-sbt:sbt
org.scala-sbt:scripted-plugin

from 1.4.9 to 1.5.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt" } ]

labels: library-update, semver-minor

Superseded by #153.

repo: scala-tsi/scala-tsi


text:
Add running MiMa's functional tests

Assuming this will be merged and be forward-merged or forward-ported to the 2.13.x (and eventually 2.14.x) branch, then this...
Resolves https://github.com/lightbend/mima/issues/193

I'm getting [mima] [error] You asked dbuild to test using the task "test". The task key exists, but it is undefined in project "test-class-method-overload-with-default-parameters-nok".

I can fix that by changing MiMa's build, no problem.

With https://github.com/lightbend/mima/pull/320 that error should no longer happen.

optimistically merging, then!

oops

5816cdbb04d3a09b62475c38cb9a39c78faf6437

What happened?

in a local test, after the change, Project mima------------------------: SUCCESS (project rebuilt ok). but I suggest that you check the log on Jenkins, or in a local run, and make sure the tests are actually running. it isn't obvious to me from this if they are:
[mima] Processing subproject: test-object-becomes-class-nok
[mima] All Dependencies for subproject test-object-becomes-class-nok:
[mima]    org.scala-lang:scala-compiler:2.12.9-bin-c35194d:scala-tool->default,optional(default)
[mima]    org.scala-lang:scala-library:2.12.9-bin-c35194d:scala-tool->default,optional(default)
[mima]    com.lightbend:cloc-plugin:0.0.1-dbuildx6075428377c9af8cdd3f0942c53d654132439a7d:plugin->default(compile)
[mima]    org.scala-lang:scala-library:2.12.9-bin-c35194d
[mima] Running build: test-object-becomes-class-nok
[mima] [info] Wrote /Users/tisue/community.212/target-0.9.16/project-builds/mima-6fee06503f1f253e267d999b3697a0e76b53272e/functional-tests/src/test/object-becomes-class-nok/target/scala-2.12/test-object-becomes-class-nok-0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e.pom
[mima] Running "test" in: test-object-becomes-class-nok
[mima] Publishing: test-object-becomes-class-nok
[mima] [info] Wrote /Users/tisue/community.212/target-0.9.16/project-builds/mima-6fee06503f1f253e267d999b3697a0e76b53272e/functional-tests/src/test/object-becomes-class-nok/target/scala-2.12/test-object-becomes-class-nok-0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e.pom
[mima] [info] 	published test-object-becomes-class-nok to /Users/tisue/community.212/target-0.9.16/project-builds/mima-6fee06503f1f253e267d999b3697a0e76b53272e/.dbuild/local-publish-repo/com/typesafe/test-object-becomes-class-nok/0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e/test-object-becomes-class-nok-0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e.pom
[mima] [info] 	published test-object-becomes-class-nok to /Users/tisue/community.212/target-0.9.16/project-builds/mima-6fee06503f1f253e267d999b3697a0e76b53272e/.dbuild/local-publish-repo/com/typesafe/test-object-becomes-class-nok/0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e/test-object-becomes-class-nok-0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e.jar
[mima] [info] 	published test-object-becomes-class-nok to /Users/tisue/community.212/target-0.9.16/project-builds/mima-6fee06503f1f253e267d999b3697a0e76b53272e/.dbuild/local-publish-repo/com/typesafe/test-object-becomes-class-nok/0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e/test-object-becomes-class-nok-0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e-sources.jar
[mima] [info] 	published test-object-becomes-class-nok to /Users/tisue/community.212/target-0.9.16/project-builds/mima-6fee06503f1f253e267d999b3697a0e76b53272e/.dbuild/local-publish-repo/com/typesafe/test-object-becomes-class-nok/0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e/test-object-becomes-class-nok-0.3.0-dbuildx6fee06503f1f253e267d999b3697a0e76b53272e-javadoc.jar

authors: SethTisue dwijnand

repo: scala/community-builds


text:
Remote debugging requires buildTarget/misleading error

This took me a while to figure out by myself, so making a note to help others.
scala 2.12.13
vscode metals extension: v1.10.4
Repro:
I have imported a large gradle project with subprojects and attempted remote debugging session after launching my app with -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9998
launch.json:
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "scala",
            "request": "attach",
            "name": "attach 127.0.0.1:9998",
            "hostName": "127.0.0.1",
            "port": 9998
        }
    ]
}

And launching the debugger gets me:
[Error - 9:11:16 AM] Request workspace/executeCommand failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.util.NoSuchElementException
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:661)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646)
at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:686)
at java.util.concurrent.CompletableFuture.thenAcceptAsync(CompletableFuture.java:2014)
at scala.concurrent.java8.FuturesConvertersImpl$CF.thenAccept(FutureConvertersImpl.scala:37)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:279)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.NoSuchElementException
at scala.meta.internal.metals.debug.DebugProvider.resolveAttachRemoteParams(DebugProvider.scala:407)
at scala.meta.internal.metals.MetalsLanguageServer.executeCommand(MetalsLanguageServer.scala:1627)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
... 9 more
It turns out, that the problem for me is the launch.json does not contain a buildTarget, i.e.
            "buildTarget": "my_subproject",
but the error message doesn't say much about it. Either the error message should be more explanatory or possibly the requirement for 'buildTarget' may be removed if feasible.

Thanks for reporting! This should be fixed in Metals, should not be too much effort to improve it.

authors: pdziedzic-sumo tgodzik

repo: scalameta/scalameta


text:
Support named type arguments syntax

Scalameta should support named type arguments syntax.
This syntax allows for specifying type arguments by name in a type parameter clause.
Example:
def construct[Elem, Coll[_]](xs: Elem*): Coll[Elem] = ???

val xs1 = construct[Coll = List, Elem = Int](1, 2, 3)
val xs2 = construct[Coll = List](1, 2, 3)

Syntax changes:
SimpleExpr1       ::=  ...
                    |  SimpleExpr (TypeArgs | NamedTypeArgs)
NamedTypeArgs     ::=  ‘[’ NamedTypeArg {‘,’ NamedTypeArg} ‘]’
NamedTypeArg      ::=  id ‘=’ Type

Links:

docs: https://dotty.epfl.ch/docs/reference/experimental/named-typeargs.html#
more docs: https://dotty.epfl.ch/docs/reference/experimental/named-typeargs-spec.html

Another example:
val y = summon[Tuple2[Int, String] <:< (x: Int, y: String)]

Currently gives `)` expected but `:` found error

It should be mentioned here that Named Tuples are officially part of Scala as of version 3.6.x

Oops, sorry I thought this was about named tuples. Should read carefully at 3AM.

@soronpo There was a PR regarding named tuples recently. You can check the tests to see if anything is missing. https://github.com/scalameta/scalameta/pull/4001

authors: KacperFKorban soronpo


text:
use local instance randInt to utilize provided generator

The RandInt.choose method did not use the instance provided generator, but instead used the Rand object.  This causes a call to myRandBasis.choose to create a Rand that doesn't use the instances random stream.

thanks!

authors: brendon- dlwh

repo: scalanlp/breeze


text:
Update sbt-bloop to 1.5.6

Updates ch.epfl.scala:sbt-bloop from 1.5.3 to 1.5.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-bloop" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "ch.epfl.scala", artifactId = "sbt-bloop" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #42.

repo: scalapy/sbt-scalapy


text:
chore: make react a peer dependency, fix #2482

As correctly stated in https://github.com/scalar/scalar/issues/2482#issuecomment-2231993359, React and Nextjs should be peer dependencies.
Means, they have to be installed, but we don’t care about the exact version as long as it’s in the React 18.* or Next 14.* range.
See #2482 for more context on why it’s probably fixing the issue.

adding @amritk cause i think there was a reason why we did this

Yes it was due to yarn not installing peer dependencies so we just moved them all to deps. And as stated users using a react package will have react installed so this should be fine.

authors: amritk hanspagel marclave

repo: scalar/scalar


text:
Approval program pages

Closes #x
Proposed Changes

Added support for new txn opcode fileds ApprovalProgramPages, ClearProgramStatePages, NumApprovalProgramPages, NumClearProgramStatePages
Added additional checks for the max stackByteElementSize and maxProgramLength
Test scenario for all the features mention above.

TODO

[ ] update change log

Potential followups

@sczembor Update changelog.md before merge. THanks

repo: scale-it/algo-builder