Node on Shelley TestNet, running really sow, mempool says '0 max' and errors

My nodes appear to be working, as the block number is increasing - although really slow. in 24 hours it received only 22495 blocks - still on epoch 22.
The mempool (bytes) is showin nothing - it says '0 max'
here is some of my core node output:
20s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:3002"]                            │  │ Memory usage:                                        200.0 MB  platform:        Linux      │
[GALAXY:cardano.node.ChainDB:Notice:36] [2020-07-04 11:02:03.77 UTC] Chain extended, new tip: (Point│  │                      0.0 MB / max 0.2 MB                                                   │
482520, HashHeader {unHashHeader = f11c8a2eebb5278f1c29e678df8e20419c05634bc8bee8735fe0d9d309260488│  │                                                                uptime:          00:00:20   │
})                                                                                │  │ CPU usage:                                               100%                              │
[GALAXY:cardano.node.IpSubscription:Error:60] [2020-07-04 11:02:03.79 UTC] [String "Failed to start │  │                             0.0%                               epoch / slot:    22 / 7320  │
all required subscriptions",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:3002]",String "WithIPList Subscription│  │                                                                block number:    22497      │
Trace",String "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = Just [::]:0, laUnix = Nothing}"]   │  │ Disk R:            14541.4 KB/s   Disk W:           37.2 KB/s  chain density:   5.4 %      │
[GALAXY:cardano.node.ChainDB:Notice:79] [2020-07-04 11:02:03.83 UTC] before next, messages elided = │  │            3.2 KB/s                        0.6 KB/s                                        │
1084374859350                                                                                │  │                                                                blocks minted:   0          │
[GALAXY:cardano.node.ChainDB:Notice:79] [2020-07-04 11:02:03.83 UTC] Chain extended, new tip: (Point│  │ Network In:           49.4 KB/s   Network Out:      94.5 KB/s  slots lead:      0          │
482520, HashHeader {unHashHeader = f11c8a2eebb5278f1c29e678df8e20419c05634bc8bee8735fe0d9d309260488│  │            0.7 KB/s                        3.3 KB/s            slots missed:    0          │
})                                                                                │  │                                                                cannot lead:     0          │
[GALAXY:cardano.node.IpSubscription:Info:60] [2020-07-04 11:02:04.79 UTC] [String "Restarting Subscr│  │                                                                forks created:   0          │
iption after 1.052591691s desired valency 2 current valency 1",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:300│  │                                                                                │
2]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = │  │                                                                                │
Just [::]:0, laUnix = Nothing}"]
                                                              │  │                                                                uptime:          00:00:29   │

[GALAXY:cardano.node.IpSubscription:Info:60] [2020-07-04 11:02:13.74 UTC] [String "Trying to connect│  │ CPU usage:                                               100%                              │
to <IP_ADDRESS>:3001",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:3002]",String "WithIPList SubscriptionTrace",S│  │                             1.0%                               epoch / slot:    22 / 7320  │
tring "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = Just [::]:0, laUnix = Nothing}"]           │  │                                                                block number:    22497      │
[GALAXY:cardano.node.IpSubscription:Info:60] [2020-07-04 11:02:13.74 UTC] [String "Skipping peer 127│  │ Disk R:            14541.4 KB/s   Disk W:           37.2 KB/s  chain density:   5.4 %      │
.0.0.1:3002",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:3002]",String "WithIPList SubscriptionTrace",String "│  │            3.2 KB/s                        0.6 KB/s                                        │
LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = Just [::]:0, laUnix = Nothing}"]                  │  │                                                                blocks minted:   0          │
[GALAXY:cardano.node.IpSubscription:Error:60] [2020-07-04 11:02:13.74 UTC] [String "Failed to start │  │ Network In:           49.4 KB/s   Network Out:      94.5 KB/s  slots lead:      0          │
all required subscriptions",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:3002]",String "WithIPList Subscription│  │            0.7 KB/s                        4.3 KB/s            slots missed:    0          │
Trace",String "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = Just [::]:0, laUnix = Nothing}"]   │  │                                                                cannot lead:     0          │
[GALAXY:cardano.node.IpSubscription:Info:60] [2020-07-04 11:02:14.74 UTC] [String "Restarting Subscr│  │                                                                forks created:   0          │
iption after 1.001346688s desired valency 2 current valency 1",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:300│  │                                                                                │
2]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = │  │                                                                                │
Just [::]:0, laUnix = Nothing}"]
[GALAXY:cardano.node.BlockFetchDecision:Info:46] [2020-07-04 11:05:08.24 UTC] [String "PeersFetch",A│  │                                 Reqs Blocks   Bytes  platform:        Linux                │
rray [Object (fromList [("peer",String "ConnectionId {localAddress = <IP_ADDRESS>:36239, remoteAddress │  │                                                                                │
= <IP_ADDRESS>:3001}"),("kind",String "FetchDecision declined"),("declined",String "FetchDeclineChainNo│  │ <IP_ADDRESS>       ready      ???    0      0       0   uptime:          00:03:37             │
tPlausible")]),Object (fromList [("length",String "1"),("peer",String "ConnectionId {localAddress = │  │ <IP_ADDRESS>  ready    482720    0      0       0                                        │
<IP_ADDRESS>:35159, remoteAddress = <IP_ADDRESS>:3002}"),("kind",String "FetchDecision results")])]]      │  │ <IP_ADDRESS>   ready    482707    0      0       0  epoch / slot:    22 / 7520            │
[GALAXY:cardano.node.ChainDB:Notice:36] [2020-07-04 11:05:08.25 UTC] Chain extended, new tip: (Point│  │ <IP_ADDRESS>       ready    482681    0      0       0  block number:    22506                │
482707, HashHeader {unHashHeader = d57c9e80f7278cb3dddfd26c440ceb05972bf8e765904221eb81625aeb4c16a3│  │                                                      chain density:   5.3 %                │
})

any help, much apreciated as I have triple checked all my config setting etc, and i have no idea why it's running so slow and not working properly

I also get this as the start:
pts# ./relay2.sh                                                     │2  [|||||||||||||||||||||||||||||||||||||100.0%] Load average: 0.80 0.36 0.22
[cardano.#ekgview.realizeFrom:Error:5] [2020-07-04 11:09:22.54 UTC] EKGView backend disabled due to │Mem[||||||||||||                     249M/3.85G] Uptime: 00:25:29
initialisation error: EKGServerStartupError "Network.Socket.bind: resource busy (Address already in │Swp[                                   0K/4.00G]
use)"                                                                                │  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
[GALAXY:cardano.node.release:Notice:5] [2020-07-04 11:09:22.55 UTC] ShelleyProtocol                 │ 1775 root       20   0  1.0T 84872 38152 R 69.8  2.1  0:04.32 cardano-node run --database-path /h
[GALAXY:cardano.node.networkMagic:Notice:5] [2020-07-04 11:09:22.55 UTC] NetworkMagic 42            │ 1744 root       20   0  1.0T 89860 39632 R 69.1  2.2  0:04.10 cardano-node run --database-path /h
[GALAXY:cardano.node.version:Notice:5] [2020-07-04 11:09:22.55 UTC] 1.14.2                          │ 1754 root       20   0  1.0T 86052 38456 R 61.1  2.1  0:04.08 cardano-node run --database-path /h
[GALAXY:cardano.node.commit:Notice:5] [2020-07-04 11:09:22.55 UTC] 924a6f7d8c2bdb1bf525be8b0d5626e44│ 1781 root       20   0  1.0T 84872 38152 S 13.3  2.1  0:00.95 cardano-node run --database-path /h
0697b01

                                                                                │ress = <IP_ADDRESS>:39357, remoteAddress = <IP_ADDRESS>:3001}"),("kind",String "FetchDecision

[GALAXY:cardano.node.IpSubscription:Error:62] [2020-07-04 11:29:48.78 UTC] [String "Connection Attem│declined"),("declined",String "FetchDeclineConcurrencyLimit FetchModeDeadline 1")]),Object (fromLi
pt Exception, destination <IP_ADDRESS>:3002 exception: Network.Socket.connect: <socket: 26>: does not e│st [("peer",String "ConnectionId {localAddress = <IP_ADDRESS>:38411, remoteAddress = <IP_ADDRESS>:3002}"
xist (Connection refused)",String "[<IP_ADDRESS>:3001,<IP_ADDRESS>:3002]",String "WithIPList SubscriptionT│),("kind",String "FetchDecision declined"),("declined",String "FetchDeclineConcurrencyLimit FetchM
race",String "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = Just [::]:0, laUnix = Nothing}"]    │odeDeadline 1")])]]
[GALAXY:cardano.node.IpSubscription:Info:62] [202

when i run the relay alone i get:
cardano-node: FsInsufficientPermissions

Listening on http://<IP_ADDRESS>:12798
[GALAXY:cardano.node.release:Notice:5] [2020-07-04 11:36:33.41 UTC] ShelleyProtocol
[GALAXY:cardano.node.networkMagic:Notice:5] [2020-07-04 11:36:33.41 UTC] NetworkMagic 42
[GALAXY:cardano.node.version:Notice:5] [2020-07-04 11:36:33.41 UTC] 1.14.2
[GALAXY:cardano.node.commit:Notice:5] [2020-07-04 11:36:33.41 UTC] 924a6f7d8c2bdb1bf525be8b0d5626e440697b01
Shutting down..
cardano-node: FsInsufficientPermissions for /home/will/node/db/core/immutable/00446.chunk: Permission denied at CallStack (from HasCallStack):
ioToFsError, called at src/Ouroboros/Consensus/Storage/FS/IO.hs:88:41 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.FS.IO
handleError, called at src/Ouroboros/Consensus/Storage/FS/IO.hs:84:23 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.FS.IO
rethrowFsError, called at src/Ouroboros/Consensus/Storage/FS/IO.hs:37:21 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.FS.IO
hOpen, called at src/Ouroboros/Consensus/Storage/ImmutableDB/Impl/State.hs:118:53 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.ImmutableDB.Impl.State
mkOpenState, called at src/Ouroboros/Consensus/Storage/ImmutableDB/Impl/Validation.hs:100:9 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.ImmutableDB.Impl.Validation
validateAndReopen, called at src/Ouroboros/Consensus/Storage/ImmutableDB/Impl.hs:243:12 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.ImmutableDB.Impl
openDBInternal, called at src/Ouroboros/Consensus/Storage/ChainDB/Impl/ImmDB.hs:240:27 in ouroboros-consensus-<IP_ADDRESS>-inplace:Ouroboros.Consensus.Storage.ChainDB.Impl.ImmDB

UPDATE: ok i got it to run at proper speed now.
I deleted all the db's. I also made a rule on firewall to open 12798. Not sure if that made a difference or if it was the db that was corrupted somehow.
But i still see Mempool at 0. maybe that is normal while download blocks for the first time?

I still have no idea what this means either:
.ChainDB:Notice:26] [2020-07-04 11:57:59.34 UTC] Chain extended, new tip: (Poi
│                                                                   cannot lead:     0         │  │nt 237280, HashHeader {unHashHeader = c1613801f15cdbdc69c605315f553f7b9d2daf40f7db5363d0c2e68be252
│                                                                   forks created:   0         │  │c52f})

[GALAXY:cardano.node.ErrorPolicy:Warning:48] [2020-07-04 12:10:21.85 UTC]
[String "ErrorPolicySusp
│                              1.0%                               epoch / slot:    22 / 11411  │  │endPeer (Just
(ApplicationExceptionTrace (MuxError {errorType = MuxBearerClosed, errorMsg = "<soc
│                                                                 block number:    22700       │  │ket: 25> closed when reading data, waiting on next header True", errorStack = []}))) 20s 20s",Str
│ Disk R:             3967.3 KB/s   Disk W:          2113.5 KB/s  chain density:   5.0 %       │  │ing "ErrorPolicyTrace",String "<IP_ADDRESS>:34985"]
│            3.5 KB/s                         0.5 KB/s                                         │  │[GALAXY:cardano.node.ChainDB:Notice:26] [2020-07-04 12:10:22.03 UTC] Chain extended, new tip: (Poi
│                                                                 blocks minted:   0           │  │nt 437560, HashHeader {unHashHeader = 3e6ba7e758940876d566326878ca445995eb9fef761fb3818265d90851c3
│ Network In:         2718.4 KB/s   Network Out:     1832.9 KB/s  slots lead:      0           │  │41ef})
│            11.0 KB/s                        7.9 KB/s            slots missed:    0           │  │[GALAXY:cardano.node.ChainDB:Notice:26] [2020-07-04 12:10:23.35 UTC] Chain extended, new tip: (Poi
│                                                                 cannot lead:     0           │  │nt 437880, HashHeader {unHashHeader = 7a38ec74249e816a94f8f54894713482e32a9c7e1bdee91a07a2dcd09335
│                                                                 forks created:   0           │  │2e1f})

why am i getting this error?
socket: 22> closed when reading data
?

[String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (MuxError {errorType = MuxBearerClosed,
errorMsg = "<socket: 22> closed when reading data, waiting on next header True", errorStack = []}))) 20s 20s",String "ErrorPolicyTrace",String "<IP_ADDRESS>:46253"]

very weird behaviour. My node started to go fast and then suddely slows to a halt when it gets to epoch 22
????? now it is running super slow again

any help would be apreciated.

now suddenly i get:
[GALAXY:cardano.node.IpSubscription:Error:1112] [2020-07-04 12:34:58.08 UTC] [String "Application Exception: <IP_ADDRESS>:3002 ForkTooDeep Origin (Tip (SlotNo {unSlotNo = 488080}) (ShelleyHash {unShelleyHash = HashHeader {unHashHeader = 102cf1f0292814d741b437ea2ba445f2945fcadec17bef7c3d9bf5513c5361a8}}) (BlockNo {unBlockNo = 22776})) (Tip (SlotNo {unSlotNo = 461419}) (ShelleyHash {unShelleyHash = HashHeader {unHashHeader = 67f6a5d21417d0ccadea38dec55ffdfe79b379ce75151d814680824463ddbcf9}}) (BlockNo {unBlockNo = 21455}))",String "[<IP_ADDRESS>:3000,<IP_ADDRESS>:3002]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just <IP_ADDRESS>:0, laIpv6 = Just [::]:0, laUnix = Nothing}"]
???

If you look at the README on this project you will see that this code base cardano-sl is deprecated.
Moving this issue to the cardano-node repository where it belongs.


openai: usage tracking, sytem prompt and timeout

A few improvements to the openai client.

Added a function to wrap the call to async generate_chat, s.t. it can process the usage data and add an additional parameter (the system prompt).

Added the system_prompt parameter: not groundbreaking, but just required a small change. It may reduce the need to do prompt composition. There was issue about this was closed as not planned. #246

Added a timeout parameter: Without it sometimes the script was waiting for minutes and minutes for a 1-token response.

Added the processing of usage: Accumulated usage is stored within each instance of the client. #387

It may be that one is connected to different models (GPT-3, GPT-4, …) in a
same application. Therefore better keep the counts separate. I don’t know
if that answers the question or is it something different?
El El vie, 24 nov 2023 a las 15:41, Rémi Louf @.***>
escribió:

@.**** commented on this pull request.
In outlines/models/openai.py
https://github.com/outlines-dev/outlines/pull/388#discussion_r1404423779
:

def generate_chat(

   self, prompt: Union[str, List[str]], config: OpenAIConfig

) -> np.ndarray:

   """Call the async function to generate a chat response and keeps track of usage data.

   Parameters

   ----------

   prompt

       A string used to prompt the model as user message

   config

       An instance of `OpenAIConfig`.

   """

   results, usage = generate_chat(prompt, self.system_prompt, self.client, config)

   self.last_usage = OpenAIUsage(**usage)

I thought the idea of attaching the counts to the model class was good. Is
there any reason why you changed your mind?
—
Reply to this email directly, view it on GitHub
https://github.com/outlines-dev/outlines/pull/388#pullrequestreview-1748061743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6ZVXMGZPGMVVM5C2U3A6YTYGCWY5AVCNFSM6AAAAAA7ZEZZ4WVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBYGA3DCNZUGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

I’ve created a new method because the “cachable” function was called from
two different places, and that would’ve mean duplicating the code that
keeps track of the token consumption. (I am afc right now)
That being said, I am sure the solution can be improved :)
El El vie, 24 nov 2023 a las 15:40, Rémi Louf @.***>
escribió:

@.**** commented on this pull request.
In outlines/models/openai.py
https://github.com/outlines-dev/outlines/pull/388#discussion_r1404423071
:

@@ -158,7 +182,7 @@ def call(
)
)
if "gpt-" in self.config.model:

       return generate_chat(prompt, self.client, config)

       return self.generate_chat(prompt, config)

What I would do instead is move the response + token count extraction here
instead of creating a new method.
—
Reply to this email directly, view it on GitHub
https://github.com/outlines-dev/outlines/pull/388#pullrequestreview-1748060647,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6ZVXMELHAP7DC76BA3RRY3YGCWWFAVCNFSM6AAAAAA7ZEZZ4WVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBYGA3DANRUG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


.NET Core 3.1.0

Release Notes
Download
Blog posts
.NET Core
ASP.NET Core
Please report any issues you find with .NET Core 3.1 , either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

aspnet/Home - for ASP.NET Core questions
aspnet/EntityFrameworkCore - for Entity Framework Core questions
dotnet/cli - for CLI tools and questions
dotnet/corefx - for API issues and questions
dotnet/coreclr - for runtime issues
dotnet/core-setup - for installer issues
dotnet/winforms - for Winforms issues
dotnet/wpf - for WPF issues
nuget/home - for NuGet questions and issues

Release notes link is 404. Should be: https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.0/3.1.0.md

Got it, thanks @Logerfo

@leecow Blog posts link to 3.1 Preview 1

They're having trouble getting the blog posts to process. Should be soon now.

After installing VS 16.4 I checked "Control Panel" and the 3.1 runtime is listed as
Name
"Microsoft .NET Core Runtime - 3.1.0 Preview 3 (x64)"
"Microsoft .NET Core Runtime - 3.1.0 Preview 3 (x86)"
Version
<IP_ADDRESS>312
<IP_ADDRESS>312
The name should be updated. Given the information available on https://dotnet.microsoft.com/download/dotnet-core/3.1
I am unable to determine whether 28312 is the 3.1 RTM build number. Maybe include this number in future releases as it has been the custom for previews?

So whats the status on open sourcing the render engine of WPF? It's been repeatedly pushed back and now there's just total silence. I'm eagerly waiting for looking at and if possible doing work on fixing some of its problems, maybe investigate the possibility to integrate WPF as a skinnable platform UI toolkit into games (something that has been lacking for decades) but WPF seems to move very very slowly compared to what the WinForms team has achieved :-(

@weltkante Thanks for mentioning it. I was asking this myself too. Don't want to sound ungrateful or harsh but the WPF team seems to be very absent. Late or no response on issues. No response or merges on pull requests outside of the WPF team. I think they might be busy with some internal stuff but... I would still appreciate some more communication if thats the case. There is absolutely nothing wrong with focusing on other things first, but it also isn't too much work to update the roadmap or status.

@vatsan-madhavan for the WPF feedback above.

@henrikrxn This is an issue with the MSIs, so far it looks to me like it's only a branding/text issue. I filed https://github.com/dotnet/runtime/issues/492 to fix it in servicing, thanks for the report.

@weltkante, @Symbai We just posted an update at https://github.com/dotnet/wpf/issues/2273 - PTAL.
/cc @dotnet/wpf-developers

Are you planning to update the SDK repository used by the powershell install script?
https://dotnetcli.blob.core.windows.net/dotnet/Sdk/LTS/latest.version still shows 2.1 while https://dotnetcli.blob.core.windows.net/dotnet/Sdk/3.1/latest.version is not yet available

@mungojam - latest.version files have been updated.

i just installed the hosting bundle from https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.0-windows-hosting-bundle-installer and it installed 3.1 preview 3 of the runtime.

am i missing something?

Hi,
Why is the .Net Core 3.1 Hosting package installing the .Net Core 3.1 Preview 3 Runtime rather than a release version of the .Net Core 3.1 of the Runtime?
Even if the Runtime didn’t change between Preview 3 and actual release the internal package name and name shown in Add/Remove programs should have been updated to reflect the products release status as corporate customers typically don’t like to see expect to see beta or preview packages installed on their production servers.
Les
PS: It appears the downloads for the x86 and x64 .Net 3 Core Runtimes are also labelled as internally and in Add/Remove programs as .Net Core 3.1 Preview 3.

@SimonCropp @TheDestinyGroup This is related to the problem henrikrxn spotted earlier, and we're in the process of fixing it--see https://github.com/dotnet/runtime/issues/492 for the latest info. What you see on your machines isn't the 3.1.0 preview 3 build from last month, it is actually a different build that happens to have a 3.1.0 preview 3 label.

Can we use dotnet publish for C++ CLI project with this new release ?

@dagood thanks. hope it hasnt caused to much pain for the team.

When will package be available via apt on Ubuntu 18.04?
Listing… Done
dotnet-sdk-2.1/bionic 2.1.802-1 amd64
dotnet-sdk-2.1.105/bionic 2.1.105-1 amd64
dotnet-sdk-2.1.200/bionic 2.1.200-1 amd64
dotnet-sdk-2.1.201/bionic 2.1.201-1 amd64
dotnet-sdk-2.1.202/bionic 2.1.202-1 amd64
dotnet-sdk-2.1.300-preview2-008533/bionic 2.1.300-preview2-008533-1 amd64
dotnet-sdk-2.1.300-rc1-008673/bionic 2.1.300-rc1-008673-1 amd64
dotnet-sdk-2.2/bionic,now 2.2.402-1 amd64 [installed]
dotnet-sdk-3.0/bionic,now 3.0.101-1 amd64 [installed]````

I have an issue with the Hosting bundle 3.1.0 from the .NET Core 3.1 SDK and Runtime Page. It install .Net Core 3.1 Preview 3 runtime.

When will package be available via apt on Ubuntu 18.04?
sudo apt list dotnet-sdk*
Listing… Done
dotnet-sdk-2.1/bionic 2.1.802-1 amd64
dotnet-sdk-2.1.105/bionic 2.1.105-1 amd64
dotnet-sdk-2.1.200/bionic 2.1.200-1 amd64
dotnet-sdk-2.1.201/bionic 2.1.201-1 amd64
dotnet-sdk-2.1.202/bionic 2.1.202-1 amd64
dotnet-sdk-2.1.300-preview2-008533/bionic 2.1.300-preview2-008533-1 amd64
dotnet-sdk-2.1.300-rc1-008673/bionic 2.1.300-rc1-008673-1 amd64
dotnet-sdk-2.2/bionic,now 2.2.402-1 amd64 [installed]
dotnet-sdk-3.0/bionic,now 3.0.101-1 amd64 [installed]

Looks like it's not released, I don't know if it's voluntary or not but it would be cool to have it released to apt repositories

@BlowaXD I don't know why, but it released for 19.04 and 19.10 only. https://packages.microsoft.com/ubuntu/19.04/prod/pool/main/d/
https://packages.microsoft.com/ubuntu/19.10/prod/pool/main/d/

@DenSmoke @BlowaXD, Linux packages not being available for all the expected distros is another release issue, we're working on it.

FYI: We have a team of folks working on (I think) every issue that has been reported here. We super appreciate all the reports that have come in and are actively working on resolve them. We will report back later today with the set of issues that are both resolved and remaining.

On Debian 10  running dotnet-install.sh --runtime aspnetcore  (with or without -c LTS)
version 2.1.7 is installed
Adding the -c 3.1 option I get
The requested URL returned error: 404 The specified blob does not exist
If I install with no options the SDK including  AspNetCore is installed.

@richlander seems there has been a few problems with this release. given that i would have expected some kind of communication (perhaps a blog post) explaining what parts people should delay installing

@emveepee - should be good to go now.

@emveepee - should be good to go now.

Thanks our application can now use -c LTS but -c 3.1 is still returning 404 on a blob error.  I assume that they both are the same channel.

-c 3.1 is still returning 404 on a blob error. I assume that they both are the same channel.

Yes, they'll be the same at this point and I've fixed up the 3.1 channel so that works now as well.

There is an issue building and publishing single files in .NET Core 3.1.
When building the error is "It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. Please either specify a RuntimeIdentifier or set PublishSingleFile to false" even thought I specified a RuntimeIdentifier.
I believe this is the cause of the publish error. This is from the log: "System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details."
When I switch back to .NET Core 3.0, there is no issue publishing.

It appears that there is a bug, or at least a change with P/Invoke behavior between 3.1 and 3.0, at least when using a 32-bit process on Windows. We have a test that has worked forever, and since upgrading to Microsoft.NET.Test.Sdk version 16.4 and .net core 3.1 RTM runtime, we started receiving errors when calling PdhCalculateCounterFromRawValue. Namely, it no longer returns success, but PDH_INVALID_ARGUMENT. If we revert back to Microsoft.NET.Test.Sdk version 16.2, which I have confirmed loads the .net core 3.0 runtime, the error disappears. In addition, we have confirmed that when using ReSharper test runner, which defaults to a 64-bit process, the test succeeds on 3.1. When using the default Visual Studio test runner, which defaults to 32-bit, the test fails. So, in 3.0, whether using a 32-bit or 64-bit host, the test succeeds. In 3.1, the test only succeeds on 64-bit.
I have a project/test that I can provide that easily reproduces the issue, but I'm unable to share the source publicly.

just an FYI: the netcore 3.1.1 hosting bundle (deployed today) still shows as "preview"


python37Packages.plotly: 3.7.1 -> 3.8.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-plotly/versions.
meta.description for python37Packages.plotly is: '"Python plotting library for collaborative, interactive, publication-quality graphs"'.

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 3.8.1 with grep in /nix/store/zykg8hhh6gf56qxrqfv5x8jhai77d51a-python3.7-plotly-3.8.1
directory tree listing: https://gist.github.com/4d197d0206480b91d875cb829476abe8
du listing: https://gist.github.com/d58a068cb2c2ec14388a2479c0584222

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)
4 package rebuild(s)
4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.cufflinks
python27Packages.plotly
python37Packages.cufflinks
python37Packages.plotly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zykg8hhh6gf56qxrqfv5x8jhai77d51a-python3.7-plotly-3.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.plotly https://github.com/r-ryantm/nixpkgs/archive/323fef0bc5815a2b3f981a98e1fcdd9f247f8446.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zykg8hhh6gf56qxrqfv5x8jhai77d51a-python3.7-plotly-3.8.1
ls -la /nix/store/zykg8hhh6gf56qxrqfv5x8jhai77d51a-python3.7-plotly-3.8.1/bin

@GrahamcOfBorg build pythonPackages.cufflinks python3Packages.cufflinks pythonPackages.panel python3Packages.panel


Ninja and RAM/Memory usage

Hey folks.
I am using meson + ninja since ... well, 3 years or so, largely because other devs
switched to it increasingly. Meson and ninja is an awesome combination. Hopefully
we can abandon the GNU configure legacy one day. But anyway, this is a side
issue.
I am very happy with the speed of meson + ninja, which is great. There is, however
had, one concern that I have had in the past and this is in regards to the memory /
RAM usage.
This may be my old computer here from 2017 failing slowly, or something. I have
16GB RAM and it is a fairly fast computer. I compile everything from source.
But in the last, say, 12 months or so I am noticing memory/RAM issues.
This was the case in the past too but it also deadlocks and freezes my
computer. Again, this may be hardware related but ... the thing is, it only
freezes so in certain projects, most of which use ninja.
For instance, an hour ago I tried to compile webkitgtk using these
instructions:
https://www.linuxfromscratch.org/blfs/view/svn/x/webkitgtk.html
This one is using ninja.
A few hours before that I had a similar issue with compiling the
most recent node from source.
https://www.linuxfromscratch.org/blfs/view/svn/general/nodejs.html
This one does not use ninja, though, so it may well be that
something is wrong with my computer here. I am, however had,
not really writing this issue from the point of view of my computer
alone, because the secondary problem I have is that these
almost consistently keeps on happening whenever I try to
compile a larger program. It also happened to me in LLVM

cmake recently, and perhaps 2 years ago, on the same
machine, I did not have that issue. GCC versions changed
too, binutils as well so perhaps my hardware is ok but the
software is not so much ok.

Anyway.
So what does this have to do with ninja?
Well - my suspicion is that this all kind of has to do with
one way or another with RAM or perhaps a CPU is
semi-flawed or something.
Would it be possible to add more "fine-tuned" control
towards ninja itself, directly? For instance, the bigger projects
I don't mind if ninja compiles without maximum speed. I
understand your rationale for that as the default - after
all a ninja is fast and ninja should be fast. But a ninja
should not die in the middle of the mission and get
intercepted! No noob ninjas please. Translation: no
fails when RAM or other issues arise.
Perhaps there are some conditionals or config values
I could shift around, e. g. I could then set it before
trying to compile, say, webkitgtk. Where ninja is very
careful and not too aggressive. For smaller programs
I never run into any of these issues by the way. So not
sure what is up (or perhaps my CPU gets overloaded,
I have to clean this machine up soon anyway).
Could there be more control added towards RAM usage
and how greedy ninja is? I understand this is not a
trivial issue to work with, so please feel free to close it,
but it would be nice to get some feedback about this. If
I am the only one with any such issues then that's ok, but
perhaps others also have encountered problems (and,
as said, it is hard to say who is at fault - could be meson
too after all. But at the end of the day, even if these are
separate projects or separate problems, they may indirectly
affect ninja too, if people on lower cost machines can not
easily compile stuff).

In the last couple of years linkers required more RAM due to LTO. Also the number of available threads grew (SMT, Ryzen, ...) while RAM didn't grow as much. This resulted in Ninjas assumption (number of threads +2 for the default of jobs) to be optimistic for many builds.
What to do? In the end we could add more monitoring to Ninja to check if the memory usage exceeds a threshold and start to freeze jobs.
But the correct solution would be to fix this at the kernel level. Tell the kernel "hey here are a bunch of processes, they don't need to run in parallel if there isn't enough memory".

@jhasse An easy solution is to just not spawn new tasks if there is less than, say, 2GB ram free. This will avoid the absolute worst case scenario. Build tasks are one of the few things that use a lot of ram, avoiding the system crash is partly their responsibility as well.

Just started using ninja here. Kept coming back to my terminal window being gone. Confirmed it's the OOM killing the process. I love the idea of maxing out compute resources to reduce build time but ninja should really do something smart regarding spawning new processes once the system memory has been exhausted. It took four tries to complete a rebuild here for a relatively complex c++ project (Kicad) in a 16GB qemu instance on an 8 core i9 x86 MacBook. I bet lots of other people are hitting the same issue and giving up on using ninja without looking into what's up.

Same for me, I try to compile llvm with ninja, Even with 8GB RAM + 36GB Swap (NVME PCI4) it is still being killed by OOMKiller.... Ninja just does memory leak.

I'm really frustrated—3, 4, 5 years and nothing has changed. Many embedded devices have 4-8 cores, but limited with RAM 1,2 or 4 GB only. I ended up implementing a simple max used memory limitation:
https://github.com/ninja-build/ninja/compare/master...bmx666:ninja:max-used-memory

Successfully tested build qtwebengine for Qt5 and Qt6 with ICECC -j 24 on Yocto kirkstone.
Build server (hypervised) - 2 (4 virtual) cores, 14GB RAM, 8GB swap on SSD.
Docker container - with flags --cpu=3 --memory=12g --memory-swap=18g, leaving some RAM for server's processes.
ICECC workers 1 - 8 cores, 16GB RAM, 20GB ICECC cache, nice lvl 5
ICECC workers 2 - 8 cores, 32GB RAM, 20GB ICECC cache, nice lvl 5
ICECC build server Docker worker - 1 core, 1GB  ICECC cache, no remote, nice lvl 5
ICECC-scheduler on build server
Set max used memory 4GB, run ninja -j32 -m 4096. This will prevent new jobs from starting if there are many link stages, and many jobs go to more powerful ICECC workers anyway.
Compile stage of qtwebengine package takes 6 hours only.
Regular build of qtwebengine package on build server without ICECC, and 3 threads takes 42 hours.
### icecc.conf - for docker

ICECC_NICE_LEVEL="5"
ICECC_LOG_FILE="/var/log/iceccd.log"
ICECC_NETNAME="docker"
ICECC_MAX_JOBS="1"
ICECC_ALLOW_REMOTE="no"
ICECC_BASEDIR="/var/cache/icecc"
ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
ICECC_SCHEDULER_HOST="<IP_ADDRESS>"
ICECC_CACHE_LIMIT="1024"

### icecc.conf - for powerful workers

ICECC_NICE_LEVEL="5"
ICECC_LOG_FILE="/var/log/iceccd.log"
ICECC_NETNAME="worker1"
ICECC_MAX_JOBS="8"
ICECC_ALLOW_REMOTE="yes"
ICECC_BASEDIR="/work/icecc"
ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
# BUILD SERVER IP - <IP_ADDRESS>
ICECC_SCHEDULER_HOST="<IP_ADDRESS>"
ICECC_CACHE_LIMIT="20480"

### local.conf - extra envs

BB_NUMBER_THREADS = "3"
PARALLEL_MAKE = "-j 3"
BB_PRESSURE_MAX_CPU = "25000"
BB_PRESSURE_MAX_IO = "15000"
BB_PRESSURE_MAX_MEMORY = "12000"
INHERIT += "icecc"
ICECC_PARALLEL_MAKE = "-j 24"
ICECC_PATH = "/usr/bin/icecc"
NINJA_MAX_USED_MEMORY = "-m 4096"

### qtwebengine_%.bbappend

export NINJAFLAGS="${PARALLEL_MAKE} ${NINJA_MAX_USED_MEMORY}"

do_configure:prepend () {
    if [ "${@use_icecc(bb, d)}" = "yes" ]
    then
        export CC="icecc gcc"
        export CXX="icecc g++"
    fi
}

do_compile:prepend() {
    if [ "${@use_icecc(bb, d)}" = "yes" ]
    then
        export CC="icecc gcc"
        export CXX="icecc g++"
    fi
}

python () {
    if 'icecc' in d.getVar('INHERIT', True):
        d.appendVar('EXTRA_OECMAKE', " \
            -DCMAKE_CXX_COMPILER_LAUNCHER=icecc \
            -DCMAKE_C_COMPILER_LAUNCHER=icecc \
        ")
}

g has changed. Many e

Nice, I want this.


add timestamp to generate --watch log output

This adds a timestamp to the log output when "serverpod generate --watch" detects changes

closes:  #971
Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[x] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[ ] I added new tests to check the change I am making.
[x] All existing and new tests are passing.
[x] Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.
Breaking changes
No breaking changes.

One thing I noticed, is that there are two log statements per change.

Awesome, neat addition!
I ran the code locally and couldn't reproduce your duplication issue. I'm using a Mac. What OS are you using?
Could you double check if that is still an issue?

Nice :D glad you like it :)
It seems to be a linux problem then :)
I'm running:
Distributor ID:	Pop
Description:	Pop!_OS 22.04 LTS
Release:	22.04
Codename:	jammy
https://github.com/serverpod/serverpod/assets/136239531/a8f536b6-b281-4eef-959e-167cd90a6235
I tried another terminal (apart from the vs-code integrated terminal)

Huh, strange. Was it the same before the change? It might have something to do with how the DirectoryWatcher is configured that differs between platforms.

Yes the same happens on for me also on serverpod_cli 1.2.6  (Without timestamps just hard to spot)

Then this looks like a neat addition to me. Could you also create a separate PR targeting the 1.2 stable branch (https://github.com/serverpod/serverpod/tree/stable-1.2) ? There is no reason not to add this change there as well.
I'll merge them when both are ready.


Columns keep being altered

There is a regression in spiral that adds noise to the migrations. For any type of column there is a pre-set nulled default:
->addColumn('column', 'string', [
    'nullable' => false,
    'default'  => null,
    'size'     => 255
])

And on each cycle:migrate spiral keeps altering the columns with the same info:
->alterColumn('column', 'string', [
    'nullable' => false,
    'default'  => null,
    'size'     => 255
])

Can you specify the driver and database versions? Any way to reproduce?

Was able to reproduce it, it's PDO::ATTR_STRINGIFY_FETCHES again. If turned on, spiral can't properly sync changes.

Should we have it on for tests?
E.g from Laravel, I remember SQLite often returning strings in place of integers without any PDO option changes. This way, we could make sure we first cast our values correctly.

Yes please, if you can add a test which demonstrates the issue it would be much easier for us to fix.

I'll try to take care of this myself.

Thank you!


the duplicate logic in buildModule callback and afterBuild

When I read the buildModule logic, I found the logic record the building time in currentProfile is duplicate in buildModule's callback and the afterBuild method. So I create this pull request.Just a little
change.

What kind of change does this PR introduce?
refactoring

Did you add tests for your changes?
no

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
no

Ok, but when I modify it agin, I found another duplicate logic in addModuleDependencies method. The same problem, duplicate building time record. When you develop it, did you copy the code?😂
And, should I create a new pull request?

How should I fix this problem? Only this problem should to be fix.
    expect(received).toBe(expected) // Object.is equality

    Expected: "4.36.1"
    Received: "4.35.0"

       98 | it("should not fail on optional externals", function() {
       99 |     const external = __webpack_require__(/*! external */ 1);
    > 100 |     expect(external).toBe("4.36.1");
          |                      ^
      101 | });
      102 |
      103 |

Please sign the CLA so we can merge your PR

done～😄

Thanks


Shell completion on Bash for Windows

Currently, shell completion is not supported on Bash for Windows.
If we try pipenv --completion we get a message saying "bash.exe is not supported"
I've patched pipenv/vendor/click_completion.py to support Bash completion.
All that was needed was enabling the generation of the bash script on bash.exe. The generated script already worked.

Hi, thanks for the patch! The vendor directory is for “vendoring” modules from other projects so we don’t require too many packages in site-packages. We prefer to submit patches to corresponding repositories if possible, and update the vendored modules after the upstream project accepts the patch. For this particular patch, you would need to submit the pull request to click-contrib/click-completion.
Thanks again for the contribution. I look forward to see this propagated into Pipenv!

Ok, I'll send the patch upstream to click-completion. I noticed there's a big version difference between the vendorized click-completion (0.21) and the latest release (0.31). Hopefully that won't be an obstacle to pulling the updated click-completion.

There's also a simple bypass that you can use where you call pipenv --completion, so in your .bash_profile or .profile:
eval $(SHELL="bash" pipenv --completion)

This will force pipenv environments.py to detect the shell as bash instead of bash.exe.

It’s probably alright, I don’t think they changed their API, so we can just upgrade all the way to latest (I think). Send a message when it’s done and we can try it out!

The irony of it is, click-completion already does the right thing (removing the .exe) when using its get_auto_shell capability instead of passing the shell as a param like pipenv does, but that adds psutil as a dependency, which I'm sure you're reluctant to do.

To say we don’t want to bring in psutil is a huuuge understatement. For reference: https://github.com/pypa/pipenv/blob/master/tasks/vendoring/patches/patched/pew_psutil.patch was implemented just to remove psutil and it does the exact same thing (but much faster)
Hey @uranusjr have you ever looked at click completion? Take a look at this: https://github.com/pypa/pipenv/blob/442564450f26feb996a850462da8e66ade096525/pipenv/vendor/click_completion.py#L410 — look familiar? Did one person write the only code to determine parent shells in wide use in python? We already reimplemented this. If psutil is a local dependency for people it explains why completion is slow. We can fix that one too.

I feel fortunate we already implemented this… that is not exactly inspiring.

Reading the source it’s not even that complication. I bet I can come up with something tonight.

It turns out we can avoid psutil without even needing to patch anything. I do want to improve our own shell detection code first before doing it, however. I think I will make a project out of this.

@uranusjr I've talked with the click-completion developer and they've clarified that 'bash.exe' is not a valid value for the shell parameter. So code calling click-completion.get_code should make sure to provide the right value, which is just 'bash'. How do you feel about a patch for pipenv that fixed this ? I could write that.
It shouldn't interfere with your work on remaking the shell detection code, I think.

The patch I'm talking about is necessary because in environments.py there's this line:
PIPENV_SHELL = os.environ.get('SHELL') or os.environ.get('PYENV_SHELL')
SHELL is set to bash.exe on Bash on Windows. shellingham never gets called in this situation.

@ociule We should strip the extension before sending it to Click-Completion (so bash.exe becomes bash0). This is an oversight, and I’ll amend it tomorrow, hopefully in time for the release. If it doesn’t make it, I also introduced a new environment variable PIPENV_SHELL that will override all detection and other environment configuration, so you can add export PIPENV_SHELL=bash in your bashrc and be guaranteed to get the correct behaviour.

We never had any speed issue with psutil speed, at least for the very simple usage we have. It is an optional dependency in our code, just because it is not always distributed in binary version in pipy.
Anyway, we could has well use shelligham for what we do. It seems broken with python 2 though, and I can't find the github (or any other) repository.
@uranusjr could you point to the shelligham project page?

BTW, I'm one of the click-completion developers :)

@glehmann Of course, here it is: https://github.com/sarugaku/shellingham
For myself the problem of psutil is not speed, but it has C dependencies. Pipenv tries to vendor dependencies if possible, and C dependencies are difficult to handle :(


Change t3c h2 disable to enable

Change t3c sni.yaml disable_h2 to http2 directive
ATS 9 is documented as allowing the disable_h2 directive in sni.yaml
(albiet deprecated). But it doesn't seem to work.
This changes cache config gen to generate the newer http2 directive
instead.
I'm labelling bug because even though this isn't a bug per the ATS documentation, it appears to create a behavioral bug in-practice.
Which Traffic Control components are affected by this PR?

Traffic Control Cache Config (t3c, formerly ORT)

What is the best way to verify this PR?
Generate cache config, verify sni.yaml has http2: directives instead of disable_h2 directives. Run ATS 9 with generated config, verify ATS enables or disables H2 appropriately.
If this is a bugfix, which Traffic Control versions contained the bug?

6.0.0
6.0.1
6.0.2
6.1.0

PR submission checklist

[x] This PR has tests
~[x] This PR has documentation~ no docs, details of cache config generated files are not documented
[x] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Closes #6816


PCloud integration

Hi, I love this file manager. Are you considering PCloud integration?
Thanks,
Ruben

Thanks for the feedback. Please make a new issue following the feature request issue templates.


Package rename

FYI: currently, a discussion is ongoing to rename the package GPflow to gpflow: GPflow/GPflow#452 (only in code, the project name remains what it is). If the discussion results in a decision to rename, GPflowOpt will follow.

Small update: GPflow will be renaming its package to gpflow 29th August. Hence, we will be switching our package name to gpflowopt too.
However, as we haven't released yet the timing doesn't really matter (for adapting to gpflow's new package name we can even wait until it is actually released).

Shall I already make branch for this? As far as I can see we should:

rename the GPflowOpt directory to gpflowopt
adjust the notebooks
update setup.py
update GPflow to point to master in setup.py if it is not tagged immediately?
Anything else?

Go ahead. Do not touch the GPflow dependency link yet, for now we'll be depending on master.
@alexggmatthews , @jameshensman as there is no PyPI GPflow package yet we take care of the GPflow dependency by using the --process-dependency-links pip flag. Right now, this points to master but it has occured GPflowOpt master was suddenly broken because a PR was merged into GPflow. So we'd like to rely on on a specific version of GPflow, this can be accomplished by tagging the releases on GitHub.

Thanks for the tags, the rename was successfully completed.


19 user manual and set up

Describe your changes

Added setup script
Added config templates
Added documents for user manual
Tested on a brand new ubuntu instance

Issue link
Issue Link: #19
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[x] I added link to the original issue.
[ ] if this change could possibly impact existing code, I have performed regression test.

https://github.com/ARPA-Network/ARPA-Network-AVS-Monitoring/blob/2f557cf7853c6936affced55f4ed1e46cf572170/custom-exporter/exporter.py#L148
change to node_info[3] or node_info[-2]


publicPath not being detected

I am adding the publicPath to the plugin and it still extract the css into the main webpack publicPath configuration.
What is the exact setup I should have within my webpack config? I presume this might be the issue.
Thanks

publicPath doesn't change the location on disk. It only changes the URL on the server where resources are fetched from.

Is there a way to separate the paths of the files on the disk?
I think it's a legitimate request to output the css files into one directory and the js files to another

sorry, found the way,
just put the relative path in the file name like so:
new ExtractTextPlugin('../styles/[name].css',{allChunks:true})

sorry, found the way,

close this then?

I'd still like a way to just specify a path where the file is without using ../styles/ because otherwise the AssetsPlugin generates this:
{
  "main": {
    "js": "/scripts/bundle.js",
    "css": "/scripts/../styles/styles.4e3230cbd3e79891f49e02389c16cb58.css"
  }
}

adding an additional path for the output of the CSS file would be helpful and more explicit

@joezimjs Can you open a separate issue about that?


NeoVim integration

I have gotten used to using alt+hjkl or alt+jkil for navigation instead of the arrow keys. Would it be possible to add keybindings for these actions? Next/previous word and beginning/end of line would also be appreciated. :)

Maybe this is adjustable through some Gtk-settings? Gtk is quite customizable so I guess it should be possible to change these keys for all your Gtk applications.

Hmm.. I'm struggeling with finding any Gtk-settings at all, but came somewhat close by messing with the xkb settings. However, it is now sending Alt+<left,up,down,right> instead of just the directions, so it doesn't have the desired behaviour. I'll research some more and report back here if I find something.

You might be able to set this through the file ~/.config/gtk-3.0/settings.ini. However, could not immediately find any good documentation on this. Think you can change theme variables here though, maybe you can find additional info when searching for gtk3 theme settings.

Found this, maybe it will help: http://vim.wikia.com/wiki/Vi_key_bindings_in_gtk

I didn't figure out the gtk settings in the end, but I pulled the juCipp source and added the features. Right now it's hard coded to how I like it, but if there is interest I could clean it up, add some preferences for it and submit a pull request.

I still think the best way would be to adjust the gtk settings, and thus get the wanted bindings throughout all gtk applications. But glad you found a workaround!

I'll got some motivation figuring this out, I really miss emacs navigation. I'll reopen and report.

Nice! I've forked and committed my hack, so if it is of interest, see https://github.com/Istarnion/jucipp

Good job, figuring this out! However, the reason other IDE's has these various modes is because they do not use Gtk which has built-in support for altering these keys. http://vim.wikia.com/wiki/Vi_key_bindings_in_gtk is a good starting point for this I guess. We could ship such settings files though for Vim and emacs users, but without altering juCi++ source code (hopefully).

Also, then these key bindings (through gtk settings) would work not only on the source view (like now), but in for instance autocomplete and selection dialogs, and entry fields as well.

I think we might need to supply the config by calling something like get_default in gtk. I'm investigating now.

It's possible to just start using emacs configuration. In /usr/share/themes/Emacs/gtk-3.0/gtk-keys.css you can find definitions for emacs. For vim checkout the one @eidheim linked. Include this css file into gtk-init-file or to your theme.
I added it to the end of /usr/share/themes/<my-theme>/gtk-3.0/gtk.css like this
// (...)
@import url("../../Emacs/gtk-3.0/gtk-keys.css");

@eidheim We might want to change our signal names in config.json to correspond with gtk-signals so that configs like this works out of the box, even on search, save, etc. which we have overridden.

@zalox That might lead to more confusion than what is gained. Most users will not bother with the gtk settings I think. Not sure, but the gtk settings search for instance, might also correspond to default search behaviour, which we have customised/improved.

I guess we have to program some of the modes and functions commonly used in vim. Gnome-builder has a vim mode, and it might be that we can reuse something they have done (although then we might need to change the license).
Implementing it ourselves is also an option, and it should be doable. If someone starts on this, make sure to create a separate class for vim mode in for instance vim_mode.h and vim_mode.cc. The code should not all be in source.cc. The VimMode class should also be a singleton I guess to keep track of the current mode (same mode for all tabs I take it).

Someone also mentioned neovim with respect to vim support. I have not studied this project, and do not know how this would work.

Neovim might be the most general approach: https://github.com/neovim/neovim/wiki/Plugin-UI-architecture, using stdin and stdout through a process running nvim.

I'll look into this in the next few days. I'm not sure if I can integrate it correctly, but I could provide a sample application at least.

That would be great, thank you.

After doing some tests in https://github.com/eidheim/neovim-embed-test I conclude that the NeoVim API is not yet ready for efficient integration with an outside text buffer. The main issue is that the API is missing buffer insert and deletion events that can be efficiently used by a graphical UI application.
There are several neovim issues and pull requests related this problem. The most relevant ones are the issue https://github.com/neovim/neovim/issues/2224 and the pull request https://github.com/neovim/neovim/pull/5269


Make GitHub Discussions link point to Atom Community and remove other support options

Requirements for Contributing Documentation

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only contribute documentation (for example, markdown files or API docs). To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/.github/tree/master/.github/PULL_REQUEST_TEMPLATE.

Description of the Change
Add the GitHub Discussions link for Atom-Community rather than Atom's repository

Release Notes
N/A

I don't know how others feel about this, but the Flight Manual has a ton of useful info in it, and I believe it's not that hard to get our fork of it going. Just have to disable link 404 and 304 checks, and it should post a build. So eventually we want to keep pointing people to the flight manual, just our copy that we can keep updated.


[Fix-13596][Task Instance] Throw an error message to tell the user th…

…at the file cannot be found instead of NPE during task execution

Purpose of the pull request
Throw an error message to tell the user that the file cannot be found instead of NPE during task execution.
Related PR: #13596
Brief change log
modify:  org.apache.dolphinscheduler.service.process.ProcessServiceImpl#updateTaskDefinitionResources
modify:  org.apache.dolphinscheduler.service.process.ProcessServiceImpl#updateResourceInfo
Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
if contains mainJar field:

if contains resourceList information:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@SbloodyS @caishunfeng  Whether #13678  should be associated with it

@SbloodyS @caishunfeng Whether #13678 should be associated with it

sorry， #13678  not the same problem,but have same exception

@caishunfeng

Hi, @LiJie20190102 , i suggest you post your original issue (https://github.com/apache/dolphinscheduler/issues/13656) to describe clearly which bug do you fix in this pr, cuz i just find that this pr doesn't fix the same NPE error mentioned in https://github.com/apache/dolphinscheduler/issues/13583.

Hi, @LiJie20190102 , i suggest you post your original issue (#13656) to describe clearly which bug do you fix in this pr, cuz i just find that this pr doesn't fix the same NPE error mentioned in #13583.

I can solve NPE by following the “How to reproduce” steps in #13583 . Is there a problem with your test steps?

Codecov Report

:exclamation: No coverage uploaded for pull request base (3.1.5-prepare@d2b0b34). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head f4d6fb7 differs from pull request most recent head 106bc87. Consider uploading reports for the commit 106bc87 to get more accurate results

@@               Coverage Diff                @@
##             3.1.5-prepare   #13683   +/-   ##
================================================
  Coverage                 ?   38.12%
  Complexity               ?     3958
================================================
  Files                    ?      998
  Lines                    ?    36799
  Branches                 ?     4245
================================================
  Hits                     ?    14030
  Misses                   ?    21155
  Partials                 ?     1614

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Radeity  I only modified one file. Should I deal with these code

@SbloodyS @caishunfeng @Radeity I only modified one file. Should I deal with these code

@SbloodyS @caishunfeng @Radeity  Have you seen my news? Please help me. Thank you.


Fix oauth2 401 response callback

Request: GET /oauth/discord/callback?code=<REMOVED>&state=<REMOVED>
** (exit) an exception was raised:
    ** (CaseClauseError) no case clause matching: {:error, %OAuth2.Response{status_code: 401, headers: [<REMOVED>], body: %{"code" => 0, "message" => "401: Unauthorized"}}}
        (ueberauth_discord 0.7.0) lib/ueberauth/strategy/discord.ex:72: Ueberauth.Strategy.Discord.fetch_user/2
        (ueberauth_discord 0.7.0) lib/ueberauth/strategy/discord.ex:42: Ueberauth.Strategy.Discord.handle_callback!/1

How to reproduce this?
Either way, ueberauth_google seems to handle this differently: https://github.com/ueberauth/ueberauth_google/blob/master/lib/ueberauth/strategy/google.ex#L144
We should probably not replace the :ok clause for 401.

Seems like an invalid client_id/secret causes this error

https://github.com/discord/discord-api-docs/issues/910#issuecomment-478268310
Actually it's an invalid redirect_uri setup in discord


Help with guicorn log format

Hey,
I've been trying to write a custom log-format for the access log. Got something working, but the numbers in the report don't add up, so I'm guessing I've done something wrong.
A line from the log:
[2018-07-21 20:00:30] [INFO    ] [gunicorn.access:24588] GET /page/1 HTTP/1.1 - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36' 200 - 0.055556 <IP_ADDRESS>
In addition to chrome I've also used curl.
What I've been running:
cat webui.log | grep gunicorn.access | goaccess --log-format='[%d %t] [%^] [%^] %^ %r %H - %u %s - %L %h' --date-format=%Y-%m-%d --time-format=%H:%M:%S -  -o ~/Desktop/report2.html
I've got 1000 lines for testing with
924 lines of status 200
32 lines of status 500
44 lines of status 404
76 lines with failed (500 and 404)
report2.html
says 922 good requests, 78 failed.
All browsers are listed as Unknown or Other. The 404 section is empty. OS is unknown.
HTTP status codes:
912 2xx
8 5xx
404 not listed.
What can I do to get all the data parsed?

Give this a shot:
goaccess access.log --log-format="[%d %t] [%^] [%v] %m %U %H %^ '%u' %s %^ %T %h" --date-format=%Y-%m-%d --time-format=%T

Amazing, work like a charm. Thank you so much. Burnt so much time on this.


Skip upload of a list of tags

Hello,
We have a shared Phrase project for our Android and iOS applications.
The majority of strings are used by both plateforms, but we also have some specific strings.
Also, we use different tags. For example, Android tags start with android_.
For now, we use the flag skip_upload_tags to true in order to not delete the tags of the other plateform when pushing.
This means that we need to manually handle tags updates.
To automate our process, we would like to have a field that allows to only skip the upload of some tags.
For example, for the Android application we would like to skip the upload of tags that start with iOS_.
Is there any plans to add this field?

Hi @fabiogrum, right now we don't have any plans to add an option to skip tags during upload. Pushing files should not delete any existing tags. Feel free to reach out to us via https://phrase.com/contact or the embedded chat on phrase.com when you have any more detailed question on this behavior

Hi @fabiogrum, right now we don't have any plans to add an option to skip tags during upload. Pushing files should not delete any existing tags. Feel free to reach out to us via https://phrase.com/contact or the embedded chat on phrase.com when you have any more detailed question on this behavior

We have decided to close all GitHub issues and, instead, handle them through our Customer Support. We think this shift will allow us to offer proper prioritization of issues as well as a more appropriate response time that would be expected from Phrase products.
We apologize for any inconveniences this may cause. If you believe your issue is still relevant or has a high priority, please contact<EMAIL_ADDRESS>and we can take more direct action toward finding a solution.


Multiple select in "stato donatore" filter

Requested via email, 2023-01-20

Closed by 6e70b5caf2290f7d9fd8842d66687bb5fc3b95e3


Restrictive.application: Use return pipelines to nicify orthogonal Cmd*model updates

[https://sporto.github.io/elm-patterns/architecture/update-return-pipeline.html](A return pipeline is more readable than a case-of distinction if many transitions are orthogonal to each other). In the case of Application, we have two situations where this would improve readability: config.update and Link.toStateTransition (updateUrl).
Pro: Significantly better readability
Con: One more dependency (though a very small one)
elm-return library

https://github.com/upsiflu/restrictive/commit/2ac983987a7a256a73eeac222487693357517e36


Secured agreement samples using gateway

Signed-off-by: sapthasurendran<EMAIL_ADDRESS>

Made the changes as suggested. Please have a look.

This sample is not showing anything new in the Fabric Gateway client API and it also has a fair bit more complicated application flow than some of the more basic samples. Maybe this is a point to consider demonstrating some good practices in real-world client application design. If so, I would be tempted to:

Define classes for complex data types, like Asset, AssetProperties and AssetPrice, with an instance method to serialize the object and a static factory method to construct an instance from serialized data. Or the data types could simply be interfaces and then have some "serializers" that know how to convert these interfaces to/from serialized form.
Define a class that represents the smart contract (wrapping an instance of the client API's Contract object), with methods on it that mirror the smart contract transaction functions. Use the complex data types as parameters or return values as appropriate. These methods would deal with de/serializing data objects and invoking the client API appropriately.

Now your main application flow would read as a set of business operations using business-level data objects. What do you think?

Hi @sapthasurendran and @bestbeforetoday -
Are there still open dev items or work remaining for this PR?   This has been lingering for a while - shall we close it, or push it over the end-line into the samples repo?

It would be good to address the comments from the last review and then get this in in its current form. If we want to refactor later that can happen in another PR.


Missing text-only Transformer in visualization notebook

Hi! First of all thank you for your work, it has been quite easy and performant to use so far.
I am currently confused looking at the forward() method of your visualization: https://github.com/salesforce/ALBEF/blob/main/visualization.ipynb
In all other ALBEF models, also the one refcoco.pth was trained on, the text_encoder is usually used in two stages such that text is fist processed alone. However here, the whole BERT text-encoder takes images from the very first layer:
    def old_forward(self, image, text):
        image_embeds = self.visual_encoder(image)

        image_atts = torch.ones(image_embeds.size()[:-1],dtype=torch.long).to(image.device)

        output = self.text_encoder(text.input_ids,
                                attention_mask = text.attention_mask,
                                encoder_hidden_states = image_embeds,
                                encoder_attention_mask = image_atts,
                                return_dict = True,
                               )

        vl_embeddings = output.last_hidden_state[:,0,:]
        vl_output = self.itm_head(vl_embeddings)
        return vl_output

For example, in model_retrieval.py, instead the mode is "text" and this means only the first 6 layers are used:
text_output = self.text_encoder(text.input_ids, attention_mask = text.attention_mask,
                                        return_dict = True, mode = 'text')

I tried the same visualization.ipynb but with a two stage forward method for the text_encoder and it gives the exact same results. Shouldn't your forward() method perform worse since refcoco.pth was not trained such that the first six layers receive image tokens?
Thank you!
Benno

Hi, the text_encoder has three modes. The default is "multi_modal"
https://github.com/salesforce/ALBEF/blob/fb384204472feab2a85bd4f5790d7889c31672c9/models/xbert.py#L550

Hi, thank you for your quick response! I found that there are three modes but the checkpoint "refcoco.pth" we are loading was finetuned with models/model_retrieval.py, according to the paper. And here the modes used are: first "text" and then "fusion". However in the visualization.ipynb it is "multi_modal".
So how are the weights in the first six layers of the text_encoder used to take images from training? They were never asked to do that in training right?

I replaced the forward() method in the visualization to use "text" and then "fusion", with the hope and intuition it should improve or change something. But the visualizations outputs stayed exactly the same.

1 forward pass with 'multi_modal' is the same as 2 forward passes with 'text' and 'fusion'


odo app list list -o json does not output json

[kind/bug]

What versions of software are you using?

Operating System: Win10 Pro
Output of odo version:

Server: https://<IP_ADDRESS>:8443
OpenShift: v3.9.31
Kubernetes: v1.9.1+a0ce1bc657

How did you run odo exactly?
odo app list -o json
Actual behavior
$ odo app list -o json
There are no applications deployed in the project 'myproject'.

Expected behavior
$ odo app list -o json
Some JSON output

Any logs, error output, etc?

@surajnarwade Would you please address this

@amitkrout sure

If there are no applications odo app list -o json should return an empty list.
{
  "kind": "List",
  "apiVersion": "odo.openshift.io/v1alpha1",
  "metadata": {},
  "items": []
}


useAsyncData different behavior when has return value on SRR

Environment

Operating System: Darwin
Node Version:     v16.15.0
Nuxt Version:     3.2.3
Nitro Version:    2.2.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      typescript, app, plugins, css, build, modules, routeRules, runtimeConfig, i18n, lodash
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>()
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-wkza2g?file=pages%2Findex.vue
Describe the bug
The setup script as below
const counter = ref(0);

const { data } = useLazyAsyncData(() => {
  counter.value = 1;
  return {};
});

The problem on SSR, if I remove the return statement from useLazyAsyncData, the counter value will be 1.
If add the return value, the value of counter will be 0.
On CSR, counter.value is always 1.
Additional context
No response
Logs
No response

This is intended behaviour. useAsyncData should return a value - it's not intended for side-effects.

@danielroe Yeah, it should return a value.
but the behaviour on Server side is inconsistent with Client side, has a return statement is inconsistent with no return.

What do you mean by saying it is inconsistent?


Makes Connection orderable

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)


Select component Hydration errors

Current Behavior
When using the Select component on NextJs, it trigger hydration errors upon refresh.

Expected Behavior
To not receive hydration erros when refreshing the page on NextJs
Tamagui Version
1.101.7

Platform (Web, iOS, Android)
Web/NextJs

Reproduction
https://codesandbox.io/p/devbox/quirky-cherry-gl9yxn?file=%2Fpackages%2Fapp%2Ffeatures%2Fhome%2Fscreen.tsx%3A294%2C36&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clxm44oyz00053b6kfqp5a37q%2522%252C%2522sizes%2522%253A%255B60.386521308225966%252C39.613478691774034%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clxm44oyz00023b6ku2w3x1uk%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clxm44oyz00033b6kt2wspxtj%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clxm44oyz00043b6k5x36k4ji%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clxm44oyz00023b6ku2w3x1uk%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clxm44oyy00013b6k7rfmmhbi%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252FREADME.md%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522id%2522%253A%2522clyc7zj2g00023b6kct0dk9e9%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A294%252C%2522startColumn%2522%253A36%252C%2522endLineNumber%2522%253A294%252C%2522endColumn%2522%253A36%257D%255D%252C%2522filepath%2522%253A%2522%252Fpackages%252Fapp%252Ffeatures%252Fhome%252Fscreen.tsx%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clxm44oyz00023b6ku2w3x1uk%2522%252C%2522activeTabId%2522%253A%2522clyc7zj2g00023b6kct0dk9e9%2522%257D%252C%2522clxm44oyz00043b6k5x36k4ji%2522%253A%257B%2522id%2522%253A%2522clxm44oyz00043b6k5x36k4ji%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A3000%252C%2522id%2522%253A%2522cly3o5ze4002j3b6j56ivyeub%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522cly3o5ze4002j3b6j56ivyeub%2522%257D%252C%2522clxm44oyz00033b6kt2wspxtj%2522%253A%257B%2522id%2522%253A%2522clxm44oyz00033b6kt2wspxtj%2522%252C%2522activeTabId%2522%253A%2522cly3o5o1s001u3b6jd7f9vznf%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522Development%2522%252C%2522id%2522%253A%2522cly3o5o1s001u3b6jd7f9vznf%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%255D%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

System Info
No response

Have you checked for typo error?


Version the Guides

Feature description
We need to start versioning the guides.
Feature design or visual mockup
From the convo below we'll go with the approach of consolidating the repos' into 1 Guides repo.
Then we can version them by creating a single release-0.x branch on the guide repo when a release of Kabanero is cut.
That way when we create the console image the build will checkout the proper release-0.x branch from the guide repo.

The build will need a new parameter GUIDE_RELEASE_BRANCH

Updating a previous releases' guide
To update a guide for a previous release, it will be as simple as putting that change in the proper release-0.x branch (and master if it makes sense)
Example release flow

Kabanero 0.7.0 is cut
Create the release-0.7 branch on the Guides repo
Build the console image and specify release-0.7 branch for the GUIDE_RELEASE_BRANCH parameter
The image build automation will clone the Guide repo and git checkout release-0.7
image build automation finishes creating the image with proper versioned guides.

Entertaining the idea of moving to a single repository for the Guides. This would help make the versioning easier.
Pros:

Easy to version entire repo (includes all guides)
Would simplify our existing automation

No need for GitHub PAT since its only cloining 1 repo isntead of 15+
Can remove the ruby automation since it needed to use the github API, not we don't need to do that.

Easier for downstream projects to copy all the guides if wanted.

Cons:

Lose access control on a per guide basis - access to the guide repo means access to all guides
Guide clonging is a all or none, can't just clone 1 guide if that's all you need.
Repo might get too large with 50+ or 100+ guides, worst case is we have 2 repos then. But this is a big if the guides are pretty small.

@jantley-ibm @bschrammIBM @SueChaplain what do you think about moving to a single repo for guides?

Single repo is a good idea - I don't think many people in the community have provided PRs for the Guides anyways. Remember another requirement is to try to keep the Guides on the Console and the Guides in the KC to be as close to identical as possible. So the timing for when to clone the Kab repo to the CP4Apps repo is important.

You make good points about access control and cloning excess, but I think we gain more than we lose. Just requires a little vigilance that people don't muck around in each other's content.

Agree this approach will be easier to maintain longer term. Note that since each guide is generally between 1-5 artifacts, even if it grows to 100 guides is will be a relatively small repo.
Migration from A -> B will need some forethought to avoid breaking links between guides and between guides/docs.

New Guides repo is here: https://github.com/kabanero-io/guides


unable to access closure-compiler.jar file on Ubuntu

when I try to run the make deps command on commandline, it stops executing with an error Unable to access jar file third-party-downloads/closure-compiler.jar

Hi,
I ran across this same error which led me to directly download closure-compiler from https://github.com/google/closure-compiler/wiki/Binary-Downloads.
I found that the link to compiler-latest.zip isn't up anymore (apparently).
Downloading myself the latest version makes the "make deps" command works properly but I run across another problem with closurebuilder.py.

Hi again,
#203 I found a way to fix it and proposed it, for now you can try this but you will find another problem I described in #201

The pre-built closure-compiler.jar is no longer being published.  Here's the bug where they acknowledge that this is intentional and permanent: https://github.com/google/closure-compiler/issues/3662#issuecomment-675524506

Fortunately the latest version is available from unpkg.com
Fixed via https://github.com/google/blockly-games/commit/cb9988e9ae696551d0490bc255d0293c817814a2
Thanks for the report.


.svg file for icon

@ddavidebor I've included an .svg version of the icon. SVGs can be opened and edited in Adobe Illustrator!

Great thanks!


broken db migration from 2021

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
I have a very old version of bookstack that has not been updated for years, I am now unable to update it because there were clearly unresolved migration issues in some past upgrade in 2020 or 2021 that throw errors during migration.
on running php artisan migrate I get:

Migrating: 2020_09_27_210528_create_deletions_table
Migrated:  2020_09_27_210528_create_deletions_table (0.72 seconds)
Migrating: 2020_11_07_232321_simplify_activities_table
Migrated:  2020_11_07_232321_simplify_activities_table (1.36 seconds)
Migrating: 2020_12_30_173528_add_owned_by_field_to_entities
Migrated:  2020_12_30_173528_add_owned_by_field_to_entities (1.61 seconds)
Migrating: 2021_01_30_225441_add_settings_type_column
Migrated:  2021_01_30_225441_add_settings_type_column (0.13 seconds)
Migrating: 2021_03_08_215138_add_user_slug
Migrated:  2021_03_08_215138_add_user_slug (0.83 seconds)
Migrating: 2021_05_15_173110_create_favourites_table
Migrated:  2021_05_15_173110_create_favourites_table (0.44 seconds)
Migrating: 2021_06_30_173111_create_mfa_values_table
Migrated:  2021_06_30_173111_create_mfa_values_table (0.45 seconds)
Migrating: 2021_07_03_085038_add_mfa_enforced_to_roles_table
Migrated:  2021_07_03_085038_add_mfa_enforced_to_roles_table (0.15 seconds)
Migrating: 2021_08_28_161743_add_export_role_permission
Migrated:  2021_08_28_161743_add_export_role_permission (0.02 seconds)
Migrating: 2021_09_26_044614_add_activities_ip_column
Migrated:  2021_09_26_044614_add_activities_ip_column (0.13 seconds)

   Symfony\Component\Debug\Exception\FatalThrowableError  : Class 'AddIndexForUserIp' not found

  at /var/www/wiki.asia.apc.org/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:453
    449|     public function resolve($file)
    450|     {
    451|         $class = Str::studly(implode('_', array_slice(explode('_', $file), 4)));
    452|
  > 453|         return new $class;
    454|     }
    455|
    456|     /**
    457|      * Get all of the migration files in a given path.

Exact BookStack Version
v0.30.4
Log Content
No response
Hosting Environment
Debian GNU/Linux 12 (bookworm)
PHP 7.4-fpm running, several versions installed upto 8.3
Mariadb: 10.11.6-MariaDB-0+deb12u1 Debian 12

Hi @manicmarvin,
Before anything please ensure you have full system backups if possible and backups of your BookStack database and files.
Specifically how are you upgrading from v0.30.4? What exact steps have you performed in this operation?

Since there's been no further follow up on this I'll go ahead and close it off.


Library path suffixed with /lua

Hi @folke
May I know if this is an error when suffixed library path with /lua? As I notice that we have already looking for files using lua/?.lua
https://github.com/folke/lua-dev.nvim/blob/main/lua/lua-dev/sumneko.lua#L14
Currently, I got no suggestions from installed plugins. Tried to remove this /lua suffix then everything works as expected.

Something must have changed in Sumenko. I've just pushed some changes to fix this. Let me know if you have any more issues


[MODEL EVALUATION REQUEST] BSC-LT/salamandra-2b-instruct

Model ID
BSC-LT/salamandra-2b-instruct
Model type
Decoder model (e.g., GPT)
Evaluation languages

[X] Danish
[X] Swedish
[X] Norwegian (Bokmål or Nynorsk)
[X] Icelandic
[X] Faroese
[X] German
[X] Dutch
[X] English

Merged model
Not a merged model

Bug! https://github.com/ScandEval/ScandEval/issues/539


Align class 'dartdocs' are out of date (refer to obsolete vertical and horizontal constructor parameters)

this could possibly be on purpose.  If so, feel free to close.


[minor] changing the link to sourcebans++ in the readme

currently the sbpp.dev domain links to a, i think, indonesian scam betting site?
i think a better solution would be to either link to their github (https://github.com/sbpp/sourcebans-pp/) or their github pages (https://sbpp.github.io/)
greetings

Thanks, ive updated it.


Support intersection type

fixes https://github.com/openrewrite/rewrite-kotlin/issues/442
To support the intersection type (like T   &    Any below),  it can be parsed to a J.TypeParameter, and this requires rewrite model update https://github.com/openrewrite/rewrite/pull/3718.
              import java.util.*
              @Suppress("UNUSED_PARAMETER")
              fun <T : Any?> test(n: Optional <  T   &    Any > = Optional.empty<T>()) {}

Alternatively, we can parse T   &    Any to a K.Binary instead of a J.TypeParameter with a new binary type.

slack discussion: https://moderneinc.slack.com/archives/C04CS5N0PJN/p1700529762668109
we will use J.IntersectionType to support Kotlin intersection type, so closing out this PR.