text:
Security concern on calling /usr/local/bin/clustercheck

In the way, how /usr/local/bin/clustercheck is called by xinetd, the password of the MySQL user is visible in the command line (via 'ps -ef') during the execution of this script. But passwords should never be visible on the command line.
A better way for my opinion should be to generate a special 'my.somehow.cnf' somewhere in the filesystem, include the MySQL host, user and password as key-value-pairs inside the [client]-division of this file, restrict the access to this file, so that only the clustercheck-user is able to read this file and call mysql in the clustercheck-script with this file as a '--defaults-extra-file' parameter without giving host, user and password separately.

I agree. We should use login paths here, I have to check if this is supported on all platforms.

I'd really like to implement this using MySQL's login paths, but puppetlabs-mysql currently does not support them: https://tickets.puppetlabs.com/browse/MODULES-1550
Everyone who is concerned about security should vote for this feature. :)

authors: fbrehm fraenki

repo: fraenki/puppet-galera


text:
Render Target with UI Input

This adds basic render targets along with some changes to allow UI input to work when it's rendered inside of a render target.

ping when green I will finalize a review.

I started a document, I'll add some documentation on the internals there too

Any idea what's going on with Codecov?

Any idea what's going on with Codecov?

It looks like GitHub CI workers are having a lot of networking issue recently. I had to restart a bunch of failed jobs because of that. And similarly sometimes it fails to upload the coverage to codecov. Or more specifically, codecov is not able to ping back GitHub's API to get some data:

{'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}

It's possible we need to review the way we use the codecov action. Instead of bash <(curl -s https://codecov.io/bash) we should look into using their officially supported action: https://github.com/codecov/codecov-action.

source: gharchive/pull-request

authors: Kryptos-FR guusw sinkingsugar

repo: fragcolor-xyz/shards

license_type: permissive

license_source: github-api


text:
Move prop-types to dep. + fix lodash imports

This PR moves prop-types from peerDependencies to dependencies, this is the recommended practice. Also, there is no need to import all lodash's utilities, I added the ones the package is depending on to the dependencies as well.

Thanks, @sonaye, for the pull request, really appreciate it.

I can see you already fixed the typo, good catch.

authors: chrfalch sonaye

repo: fram-x/FluidTransitions

license: MIT


text:
[v2] Component Object - set the json object requested via ajax available to all pages no matter how deep...

I do not know if it is possible to keep the object passed via ajax to the component page be available to all the pages without being destroyed...
after ajax request success using
success: function(response) {
console.log(response);
resolve(
{
componentUrl: './pages/page-component.html',
},
{
context: {
users: response,
},
}
);
},
the object is available in the /page-component.html' but not in any of the others pages that are called from /page-component.html...
in my case the object USERS is destroyed when changing the page and it is not available in other page, so i have to send the same request in every page to get the object again...
is it possible to keep the requested object via ajax available in every single page no matter how deep i can go this making things available all the time in the router ?
thanks

There is a $root object available in components with root app data. You can specify default root data on app init:
new Framework7({
  data: function () {
    return {
      name: 'Vladimir'
   },
  },
});

Then in any component it will be available as $root.name. If you want to store there something in component then just do $root.lastName = "Kharlampidi", or via app as app.data.lastName = "Kharlampidi"

I will try that thanks

source: gharchive/issue

license: mit

license_source: bigquery


text:
[v2] Routable tabs do not work on index.

Routes:
 routes: [
    {
      path: '/',
      url: '/',
      tabs: [
        {
          path: '/',
          id: 'tab1',
          content: 'Tab 1',
        },
        {
          path: '/tab2/',
          id: 'tab2',
          content: 'Tab 2',
    },
    {
      path: '/tab3/',
      id: 'tab3',
      content: 'Tab 3',
        },
      ]

Index.html

                  Tab 1
              Tab 2
              Tab 3

Tab 1 does not display on load, but does work after clicking Tab 2 and going back to Tab 1

这个还是没有解决啊，我下载了最新的包，还是一样的有问题

Unfortunately i found this problem too, but here is simple workaround:
app.router.navigate('/', { animate: false});

authors: arte0s dotgodly saplmm


text:
🛑 PEDCO is down

In f0be6f0, PEDCO (https://pedco.uncoma.edu.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PEDCO is back up in ed7a3e6 after 21 minutes.


text:
Lots of powerful small updates (if you like analytics)

Related Issue

N/A
Changes Proposed

Redirect can now have utm_source be hackerqueue
Adds a unit test for that
Reddit self posts work better now

Caveats

The test passes in travis

Thanks Jon!
On Fri, Mar 15, 2019 at 9:34 AM Jon Schwartz notifications@github.com
wrote:

@JonSchwartz93 approved this pull request.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/frankcash/HackerQueue/pull/84#pullrequestreview-215034028,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFu9RyyLm5-dHJY7hbUFb9B4X41_vIvCks5vW6FCgaJpZM4bzCK3
.

--
Charles Frank Cash
FOSS Programmer
cashc@acm.org
https://github.com/frankcash
https://keybase.io/frankcash
https://github.com/frankcash

repo: frankcash/HackerQueue


text:
Figma UI Kit

Is there any kit on figma or any free software?
Best Regards

Is that possible? I want to help. I can start creating the basics components, and then we can arrange to adapt the look and feel of frappe.

Frappe UI is extracted from products that we are building that have Figma mocks. Having a Figma UI Kit is ideal. But I am not a designer, and it's not a priority right now. If you are interested, you are free to create one. I would be happy to give feedback.

We now have a UI Kit: https://www.figma.com/community/file/1407648399328528443/espresso-by-frappe

authors: matbrgz netchampfaris

repo: frappe/frappe-ui


text:
Can it support animation

First. I use this component very long. it's amazing.
However.  I wish we use it can show a animation with chart.
So. How do i do it.
Thx .

yes
Give a new props to it listener
   <ChartistGraph key="1" className="ct-chart-line" data={{  labels: ["foo","bar"], series:[ [1,2,3],[3,4,5]]  }}  type={'Line'} listener={{"draw" : function(data) {
  if(data.type === 'line' || data.type === 'area') {
    data.element.animate({
      d: {
        begin: 2000 * data.index,
        dur: 2000,
        from: data.path.clone().scale(1, 0).translate(0, data.chartRect.height()).stringify(),
        to: data.path.clone().stringify(),
        easing: Chartist.Svg.Easing.easeOutQuint
      }
    });
  } } }}/>

How do I animate it if I am passing new data to the chart via props every time a button is clicked? (not triggering the 'draw' function)
eg. in parent component I have:
import HBar from '../components/Chart/HorizontalChart';
      <HBar data={this.state.votes} />

HorizontalChart.jsx
      import React, {Component} from 'react';
      import ReactDOM from 'react-dom';
      import ChartistGraph from 'react-chartist';
      import styles from 'style!./chartist.css';

      export default class HorizontalChart extends Component {

        static propTypes = {
          data: React.PropTypes.object,
        }

        render() {

          let { data } = this.props;
          let options = {
            seriesBarDistance: 10,
            reverseData: true,
            high:20,
            low:0,
            horizontalBars: true,
            axisY: {
              offset: 70
            }
          };
          let type = 'Bar'

          return (
            <div>
            <ChartistGraph data={data} options={options} type={type} />
            </div>
          )
        }
      }

I animated bars by setting this as listener:
<ChartistGraph  ... listener={{"draw" : function(data) { if(data.type === 'bar') {                 data.element.animate({                   y2: {                       begin: 0,                       dur: 500,                       from: data.y1,                       to: data.y2,                       easing: Chartist.Svg.Easing.easeOutSine,                   }});             } }}/>

Because you're relying on the Chartist library directly, importing it will by default import it twice into your compiled js if you're using Webpack.
Make sure to alias chartist so that Webpack resolves React-Chartist's Chartist and your Chartist:
// webpack.config.js
...
  resolve: {
    alias: {
      ...
      chartist: path.resolve(__dirname, 'node_modules/chartist'),
      ...
    },
  },
...

the object Chartist is not available for me, how did you get to access it?

Does anyone have a pie chart animation?
Ive looked over the above posts, but I really have no idea how animations works

authors: TonyFrancis ellenschwartau larrybotha lim1017 m927259903 qoalu raptoria

repo: fraserxu/react-chartist


text:
Get a high goal vision target built

Can someone make sure the build team gets a proper vision target built in the first week?
Just make sure it gets done, then make a simple Limelight profile to find the target for me.

Sam (build) is working on this for us. Should be done thursday


text:
Fix rendering of brackets in math

This set of equations doesn't render properly in Sphinx with literal brackets. Technically only the left brackets need to be replaced, but I changed them all for consistency.

Thanks.

authors: fredrik-johansson paulmasson

repo: fredrik-johansson/mpmath


text:
Not deleting user

Missing db.session.commit and user deletion is being performed wrong

68efe9c


text:
There is something wrong with PDU Session Establishment with a simulation of UERANSIM

[2021-04-10 08:16:13.102] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-04-10 08:16:29.119] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-04-10 08:16:45.136] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-04-10 08:17:01.152] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-04-10 08:17:17.168] [nas] [error] PDU Session Establishment procedure failure, no response from the network after 5 attempts
[2021-04-10 08:17:17.168] [nas] [debug] Aborting SM procedure for PTI[1], PSI[1]
can anyone tell me what is wrong,thank you

Get the same issue. Please help with TS.
[2021-05-03 19:01:29.426] [nas] [debug] Sending PDU Session Establishment Request
[2021-05-03 19:01:29.636] [nas] [error] MM cause received: ?
[2021-05-03 19:01:46.406] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-05-03 19:01:46.409] [nas] [error] MM cause received: ?
[2021-05-03 19:02:02.422] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-05-03 19:02:02.425] [nas] [error] MM cause received: ?
[2021-05-03 19:02:18.438] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-05-03 19:02:18.440] [nas] [error] MM cause received: ?
[2021-05-03 19:02:34.454] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2021-05-03 19:02:34.456] [nas] [error] MM cause received: ?
[2021-05-03 19:02:50.470] [nas] [error] PDU Session Establishment procedure failure, no response from the network after 5 attempts
[2021-05-03 19:02:50.470] [nas] [debug] Aborting SM procedure for PTI[1], PSI[1]

Hi, I'm trying to deploy the "OpenAirInterface 5G Core Network Deployment and Testing with UERANSIM" and I'm having the same issue.
It's very strange because, when I run the docker-compose-basic-vpp-nrf.yaml all the core network components works well. However, when I try to deploy the docker-compose-ueransim-vpp.yaml, it doesn't work and the UERANSIM container is unhealthy. The log message from the UERANSIM container is:
[ . . . ]
[2022-04-20 16:13:17.492] [nas] [info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE]
[2022-04-20 16:13:17.492] [nas] [debug] Sending Registration Complete
[2022-04-20 16:13:17.493] [nas] [info] Initial Registration is successful
[2022-04-20 16:13:17.493] [nas] [debug] Sending PDU Session Establishment Request
[2022-04-20 16:13:17.493] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2022-04-20 16:13:34.425] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2022-04-20 16:13:34.425] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
I would be grateful if somebody could help me.
Thanks beforehand.

Hi, I am facing the same issue as above. Please, if somebody is able to help resolver this issue, I will be very grateful.
Thanks and regards

same here

@gmguerra @abousselmi
Hi All,
If it's possible, would you please help to provide the pcap file?
Thanks.

Hi @ianchen0119 I took a capture during the core network deploy and with help of @gmguerra we could found something interesting.

As we can see, the IP 192.168.70.133 which corresponds to the SMF is trying to establish an PFCP association with the IP 192.168.70.202 which correspond to the UPF, without successful. However, it is normal because when we configured the host machine at point 4 of the Wiki, we create a bridge with a subnet that has 255.255.255.192 (/26) mask, it is to say, the last IP in this range would be 192.168.70.191.
As a result, when the SMF try to establish the PFCP association with the UPF, it fails because the IP of the UPF is out of range. We change the subnet mask to 255.255.255.0 (/24) and finally the issue was solved, as we can see in the following picture.

Everything is working correctly, maybe that's all it is?
--
vpp-upf-ueransim_fail.zip

@user4default
The 5gc you deployed is not free5GC.
Please find the right place to raise the issue.
Thanks.

Hi Dear ,
I am also facing this issue " Retransmitting PDU Session Establishment Request due to T3580 expiry " I have followed below link but it does not provide any useful solution .
https://forum.free5gc.org/t/retransmitting-pdu-session-establishment-request-due-to-t3580-expiry/906
Logs are pasted below :
//UERANSIM Logs Terminal 1
login as: ubuntu
ubuntu@172.27.129.35's password:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-100-generic x86_64)
Documentation: https://help.ubuntu.com/
Management: https://landscape.canonical.com/
Support: https://ubuntu.com/pro
System information as of Wed 13 Mar 2024 07:12:02 AM UTC
System load: 0.0 Processes: 248
Usage of /: 9.2% of 97.93GB Users logged in: 1
Memory usage: 4% IPv4 address for ens33: 172.27.129.35
Swap usage: 0%
Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
*** System restart required ***
Last login: Wed Mar 13 07:11:35 2024 from 172.27.115.218
ubuntu@ubuntu:$
ubuntu@ubuntu:$
ubuntu@ubuntu:~$ cd /UERANSIM
ubuntu@ubuntu:/UERANSIM$ sudo build/nr-ue -c config/free5gc-ue.yaml
[sudo] password for ubuntu:
UERANSIM v3.2.6
[2024-03-13 07:12:16.014] [nas] [info] UE switches to state [MM-DEREGISTERED/PLM N-SEARCH]
[2024-03-13 07:12:16.015] [rrc] [debug] New signal detected for cell[1], total [ 1] cells in coverage
[2024-03-13 07:12:16.016] [nas] [info] Selected plmn[208/93]
[2024-03-13 07:12:16.016] [rrc] [info] Selected cell plmn[208/93] tac[1] categor y[SUITABLE]
[2024-03-13 07:12:16.016] [nas] [info] UE switches to state [MM-DEREGISTERED/PS]
[2024-03-13 07:12:16.016] [nas] [info] UE switches to state [MM-DEREGISTERED/NOR MAL-SERVICE]
[2024-03-13 07:12:16.016] [nas] [debug] Initial registration required due to [MM -DEREG-NORMAL-SERVICE]
[2024-03-13 07:12:16.016] [nas] [debug] UAC access attempt is allowed for identi ty[0], category[MO_sig]
[2024-03-13 07:12:16.016] [nas] [debug] Sending Initial Registration
[2024-03-13 07:12:16.016] [nas] [info] UE switches to state [MM-REGISTER-INITIAT ED]
[2024-03-13 07:12:16.016] [rrc] [debug] Sending RRC Setup Request
[2024-03-13 07:12:16.017] [rrc] [info] RRC connection established
[2024-03-13 07:12:16.017] [rrc] [info] UE switches to state [RRC-CONNECTED]
[2024-03-13 07:12:16.017] [nas] [info] UE switches to state [CM-CONNECTED]
[2024-03-13 07:12:16.035] [nas] [debug] Authentication Request received
[2024-03-13 07:12:16.035] [nas] [debug] Received SQN [000000000025]
[2024-03-13 07:12:16.035] [nas] [debug] SQN-MS [000000000000]
[2024-03-13 07:12:16.042] [nas] [debug] Security Mode Command received
[2024-03-13 07:12:16.042] [nas] [debug] Selected integrity[2] ciphering[0]
[2024-03-13 07:12:16.052] [nas] [debug] Registration accept received
[2024-03-13 07:12:16.052] [nas] [info] UE switches to state [MM-REGISTERED/NORMA L-SERVICE]
[2024-03-13 07:12:16.052] [nas] [debug] Sending Registration Complete
[2024-03-13 07:12:16.052] [nas] [info] Initial Registration is successful
[2024-03-13 07:12:16.052] [nas] [debug] Sending PDU Session Establishment Reques t
[2024-03-13 07:12:16.052] [nas] [debug] UAC access attempt is allowed for identi ty[0], category[MO_sig]
[2024-03-13 07:12:33.031] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-03-13 07:12:33.031] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-03-13 07:12:49.047] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-03-13 07:12:49.047] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-03-13 07:13:05.063] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-03-13 07:13:05.063] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-03-13 07:13:21.079] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-03-13 07:13:21.079] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-03-13 07:13:37.095] [nas] [error] PDU Session Establishment procedure failure, no response from the network after 5 attempts
[2024-03-13 07:13:37.095] [nas] [debug] Aborting SM procedure for PTI[1], PSI[1]
[2024-03-13 07:13:37.488] [nas] [debug] Sending PDU Session Establishment Request
[2024-03-13 07:13:37.488] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-03-13 07:13:54.112] [nas] [warning] Retransmitting PDU Session Establishment Request due to T3580 expiry
[2024-03-13 07:13:54.112] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
//UERANSIM TERMINAL 2
login as: ubuntu
ubuntu@172.27.129.35's password:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-100-generic x86_64)
Documentation: https://help.ubuntu.com/
Management: https://landscape.canonical.com/
Support: https://ubuntu.com/pro
System information as of Wed 13 Mar 2024 07:11:34 AM UTC
System load: 0.0 Processes: 249
Usage of /: 9.2% of 97.93GB Users logged in: 0
Memory usage: 4% IPv4 address for ens33: 172.27.129.35
Swap usage: 0%
Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
New release '22.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
Last login: Tue Mar 12 07:14:09 2024 from 172.27.115.218
ubuntu@ubuntu:~$ cd /UERANSIM
ubuntu@ubuntu:/UERANSIM$ build/nr-gnb -c config/free5gc-gnb.yaml
UERANSIM v3.2.6
[2024-03-13 07:11:49.521] [sctp] [info] Trying to establish SCTP connection... (172.27.129.34:38412)
[2024-03-13 07:11:49.526] [sctp] [info] SCTP connection established (172.27.129.34:38412)
[2024-03-13 07:11:49.526] [sctp] [debug] SCTP association setup ascId[8]
[2024-03-13 07:11:49.526] [ngap] [debug] Sending NG Setup Request
[2024-03-13 07:11:49.529] [ngap] [debug] NG Setup Response received
[2024-03-13 07:11:49.529] [ngap] [info] NG Setup procedure is successful
[2024-03-13 07:12:16.014] [rrc] [debug] UE[1] new signal detected
[2024-03-13 07:12:16.017] [rrc] [info] RRC Setup for UE[1]
[2024-03-13 07:12:16.017] [ngap] [debug] Initial NAS message received from UE[1]
[2024-03-13 07:12:16.052] [ngap] [debug] Initial Context Setup Request received
//free5gc Logs
ubuntu@ubuntu:$
ubuntu@ubuntu:$
ubuntu@ubuntu:$ sudo iptables -I FORWARD 1 -j ACCEPT
[sudo] password for ubuntu:
ubuntu@ubuntu:$
ubuntu@ubuntu:$
ubuntu@ubuntu:$
ubuntu@ubuntu:$
ubuntu@ubuntu:$ cd /free5gc
ubuntu@ubuntu:/free5gc$ ./run.sh
log path: ./log/20240313_071042/
2024-03-13T07:10:42.994479957Z [INFO][UPF][Main] UPF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:33:58Z
commit hash: 4474dc86
commit time: 2023-06-08T03:37:39Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:42.994614848Z [INFO][UPF][CFG] Read config from [./config/upfcfg.yaml]
2024-03-13T07:10:42.995148741Z [INFO][UPF][CFG] ==================================================
2024-03-13T07:10:42.995190702Z [INFO][UPF][CFG] (*factory.Config)(0xc0003de6e0)({
Version: (string) (len=5) "1.0.3",
Description: (string) (len=31) "UPF initial local configuration",
Pfcp: (*factory.Pfcp)(0xc00046b5f0)({
Addr: (string) (len=9) "127.0.0.8",
NodeID: (string) (len=9) "127.0.0.8",
RetransTimeout: (time.Duration) 1s,
MaxRetrans: (uint8) 3
}),
Gtpu: (*factory.Gtpu)(0xc00046b7a0)({
Forwarder: (string) (len=5) "gtp5g",
IfList: ([]factory.IfInfo) (len=1 cap=1) {
(factory.IfInfo) {
Addr: (string) (len=13) "172.27.129.34",
Type: (string) (len=2) "N3",
Name: (string) "",
IfName: (string) "",
MTU: (uint32) 0
}
}
}),
DnnList: ([]factory.DnnList) (len=1 cap=1) {
(factory.DnnList) {
Dnn: (string) (len=8) "internet",
Cidr: (string) (len=12) "10.60.0.0/24",
NatIfName: (string) ""
}
},
Logger: (*factory.Logger)(0xc000426880)({
Enable: (bool) true,
Level: (string) (len=4) "info",
ReportCaller: (bool) false
})
})
2024-03-13T07:10:42.995848055Z [INFO][UPF][CFG] ==================================================
2024-03-13T07:10:42.995919643Z [INFO][UPF][Main] Log level is set to [info]
2024-03-13T07:10:42.995977208Z [INFO][UPF][Main] Report Caller is set to [false]
2024-03-13T07:10:42.996071164Z [INFO][UPF][Main] starting Gtpu Forwarder [gtp5g]
2024-03-13T07:10:42.996117075Z [INFO][UPF][Main] GTP Address: "172.27.129.34:2152"
2024-03-13T07:10:42.996640922Z [ERRO][UPF][Main] UPF Cli Run Error: open Gtp5g: open link: create: file exists
MongoDB shell version v4.4.28
connecting to: mongodb://127.0.0.1:27017/free5gc?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("829771ae-fcd4-4040-adfc-4f96168de0c5") }
MongoDB server version: 4.4.28
false
./run.sh: line 112: mongosh: command not found
2024-03-13T07:10:43.279089008Z [INFO][NRF][Main] NRF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:32:34Z
commit hash: db4c0f90
commit time: 2023-05-11T08:14:48Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.279213572Z [INFO][NRF][CFG] Read config from [./config/nrfcfg.yaml]
2024-03-13T07:10:43.279903635Z [INFO][NRF][Main] Log enable is set to [true]
2024-03-13T07:10:43.279948193Z [INFO][NRF][Main] Log level is set to [info]
2024-03-13T07:10:43.279967289Z [INFO][NRF][Main] Report Caller is set to [false]
2024-03-13T07:10:43.279999263Z [INFO][NRF][Init] nrfconfig Info: Version[1.0.2] Description[NRF initial local configuration]
2024-03-13T07:10:43.280130378Z [INFO][NRF][Init] Server starting
2024-03-13T07:10:43.280396460Z [INFO][NRF][Init] Binding addr: [127.0.0.10:8000]
2024-03-13T07:10:43.280693898Z [FATA][NRF][Init] HTTP server setup failed: listen tcp 127.0.0.10:8000: bind: address already in use
2024-03-13T07:10:43.379640633Z [INFO][AMF][Main] AMF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:31:07Z
commit hash: 7907d3c0
commit time: 2023-05-20T15:04:00Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.379793541Z [INFO][AMF][CFG] Read config from [./config/amfcfg.yaml]
2024-03-13T07:10:43.381337098Z [INFO][AMF][Main] Log enable is set to [true]
2024-03-13T07:10:43.381383911Z [INFO][AMF][Main] Log level is set to [info]
2024-03-13T07:10:43.381422221Z [INFO][AMF][Main] Report Caller is set to [false]
2024-03-13T07:10:43.381446147Z [INFO][AMF][Util] amfconfig Info: Version[1.0.9]
2024-03-13T07:10:43.381516665Z [INFO][AMF][Init] Server started
2024-03-13T07:10:43.381661167Z [INFO][AMF][Util] amfconfig Info: Version[1.0.9]
2024-03-13T07:10:43.382071331Z [ERRO][AMF][Ngap] Failed to listen: address already in use
2024-03-13T07:10:43.399686893Z [FATA][AMF][Init] HTTP server setup failed: listen tcp 127.0.0.18:8000: bind: address already in use
2024-03-13T07:10:43.481931273Z [INFO][SMF][Main] SMF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:33:34Z
commit hash: 8eb6843b
commit time: 2023-05-31T04:43:19Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.482069729Z [INFO][SMF][CFG] Read config from [./config/smfcfg.yaml]
2024-03-13T07:10:43.483537820Z [INFO][SMF][CFG] Read config from [./config/uerouting.yaml]
2024-03-13T07:10:43.484059718Z [INFO][SMF][Main] Log enable is set to [true]
2024-03-13T07:10:43.484103919Z [INFO][SMF][Main] Log level is set to [info]
2024-03-13T07:10:43.484121153Z [INFO][SMF][Main] Report Caller is set to [false]
2024-03-13T07:10:43.484150649Z [INFO][SMF][CTX] smfconfig Info: Version[1.0.7] Description[SMF initial local configuration]
2024-03-13T07:10:43.484210319Z [INFO][SMF][CTX] Endpoints: [172.27.129.34]
2024-03-13T07:10:43.484275997Z [INFO][SMF][Init] Server started
2024-03-13T07:10:43.490105014Z [INFO][SMF][Init] SMF Registration to NRF {21590742-c9ed-4286-9385-abf9077e10e1 SMF REGISTERED 0 0xc000622150 0xc000622180 [] [] [127.0.0.2] [] [] [] 0 0 0 area1 0xc000412540 map[] false 0xc000622048 false false []}
2024-03-13T07:10:43.490445186Z [ERRO][SMF][PFCP] Failed to listen: listen udp 127.0.0.1:8805: bind: address already in use
2024-03-13T07:10:43.490578806Z [FATA][SMF][PFCP] panic: runtime error: invalid memory address or nil pointer dereference
goroutine 1 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/free5gc/smf/internal/pfcp/udp.Run.func1()
/home/ubuntu/free5gc/NFs/smf/internal/pfcp/udp/udp.go:25 +0x39
panic({0xad4ac0, 0x10d3a70})
/usr/local/go/src/runtime/panic.go:838 +0x207
github.com/free5gc/smf/internal/pfcp/udp.Run(0xc20850)
/home/ubuntu/free5gc/NFs/smf/internal/pfcp/udp/udp.go:37 +0x174
github.com/free5gc/smf/pkg/service.(*SmfApp).Start(0xc000216830, {0xc0000cc2d0, 0x25})
/home/ubuntu/free5gc/NFs/smf/pkg/service/init.go:142 +0x2a8
main.action(0xc000460160)
/home/ubuntu/free5gc/NFs/smf/cmd/main.go:80 +0x194
github.com/urfave/cli.HandleAction({0xaa8820?, 0xc218c8?}, 0xc0000dc540?)
/home/ubuntu/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:524 +0xa8
github.com/urfave/cli.(*App).Run(0xc0000dc540, {0xc00001e0a0, 0x5, 0x5})
/home/ubuntu/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:286 +0x7c5
main.main()
/home/ubuntu/free5gc/NFs/smf/cmd/main.go:49 +0x38e
2024-03-13T07:10:43.584630796Z [INFO][UDR][Main] UDR version:
free5GC version: v3.3.0
build time: 2024-02-04T16:33:47Z
commit hash: a8ef9d9f
commit time: 2023-05-11T08:26:37Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.584774091Z [INFO][UDR][CFG] Read config from [./config/udrcfg.yaml]
2024-03-13T07:10:43.585301718Z [INFO][UDR][Main] Log enable is set to [true]
2024-03-13T07:10:43.585357658Z [INFO][UDR][Main] Log level is set to [info]
2024-03-13T07:10:43.585383417Z [INFO][UDR][Main] Report Caller is set to [false]
2024-03-13T07:10:43.585417315Z [INFO][UDR][Init] UDR Config Info: Version[1.0.2] Description[UDR initial local configuration]
2024-03-13T07:10:43.585560375Z [INFO][UDR][Init] Server started
2024-03-13T07:10:43.585786528Z [INFO][UDR][Util] udrconfig Info: Version[1.0.2] Description[UDR initial local configuration]
2024-03-13T07:10:43.593846690Z [FATA][UDR][Init] HTTP server setup failed: listen tcp 127.0.0.4:8000: bind: address already in use
2024-03-13T07:10:43.686196082Z [INFO][PCF][Main] pcf
2024-03-13T07:10:43.686508229Z [INFO][PCF][Main] PCF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:33:30Z
commit hash: 17f2a8fc
commit time: 2023-05-11T08:21:46Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.687421503Z [INFO][PCF][CFG] Read config from [./config/pcfcfg.yaml]
2024-03-13T07:10:43.690253440Z [INFO][PCF][Main] Log enable is set to [true]
2024-03-13T07:10:43.690548022Z [INFO][PCF][Main] Log level is set to [info]
2024-03-13T07:10:43.690823059Z [INFO][PCF][Main] Report Caller is set to [false]
2024-03-13T07:10:43.691081194Z [INFO][PCF][Util] pcfconfig Info: Version[1.0.2] Description[PCF initial local configuration]
2024-03-13T07:10:43.691720739Z [INFO][PCF][Init] Server started
2024-03-13T07:10:43.692972927Z [INFO][PCF][Util] pcfconfig Info: Version[1.0.2] Description[PCF initial local configuration]
2024-03-13T07:10:43.701646037Z [FATA][PCF][Init] HTTP server setup failed: listen tcp 127.0.0.7:8000: bind: address already in use
2024-03-13T07:10:43.786687519Z [INFO][UDM][Main] UDM version:
free5GC version: v3.3.0
build time: 2024-02-04T16:33:43Z
commit hash: f9aad0ef
commit time: 2023-05-11T08:24:25Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.786840410Z [INFO][UDM][CFG] Read config from [./config/udmcfg.yaml]
2024-03-13T07:10:43.787777045Z [INFO][UDM][Main] Log enable is set to [true]
2024-03-13T07:10:43.787821198Z [INFO][UDM][Main] Log level is set to [info]
2024-03-13T07:10:43.787842606Z [INFO][UDM][Main] Report Caller is set to [false]
2024-03-13T07:10:43.787865752Z [INFO][UDM][Init] UDM Config Info: Version[1.0.3] Description[UDM initial local configuration]
2024-03-13T07:10:43.787885636Z [INFO][UDM][Init] Server started
2024-03-13T07:10:43.788018274Z [INFO][UDM][Util] udmconfig Info: Version[1.0.3] Description[UDM initial local configuration]
2024-03-13T07:10:43.796881924Z [FATA][UDM][Init] HTTP server setup failed: listen tcp 127.0.0.3:8000: bind: address already in use
2024-03-13T07:10:43.887288372Z [INFO][NSSF][Main] NSSF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:33:29Z
commit hash: 28cd7936
commit time: 2023-05-11T08:20:43Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:43.887440425Z [INFO][NSSF][CFG] Read config from [./config/nssfcfg.yaml]
2024-03-13T07:10:43.889172300Z [INFO][NSSF][Main] Log enable is set to [true]
2024-03-13T07:10:43.889216736Z [INFO][NSSF][Main] Log level is set to [info]
2024-03-13T07:10:43.889237207Z [INFO][NSSF][Main] Report Caller is set to [false]
2024-03-13T07:10:43.889293244Z [INFO][NSSF][Init] Server started
2024-03-13T07:10:43.895326870Z [FATA][NSSF][Init] HTTP server setup failed: listen tcp 127.0.0.31:8000: bind: address already in use
2024-03-13T07:10:44.013668486Z [INFO][AUSF][Main] AUSF version:
free5GC version: v3.3.0
build time: 2024-02-04T16:32:27Z
commit hash: 64f47ebe
commit time: 2023-05-11T08:11:05Z
go version: go1.18.10 linux/amd64
2024-03-13T07:10:44.014860226Z [INFO][AUSF][CFG] Read config from [./config/ausfcfg.yaml]
2024-03-13T07:10:44.015737597Z [INFO][AUSF][Main] Log enable is set to [true]
2024-03-13T07:10:44.015920241Z [INFO][AUSF][Main] Log level is set to [info]
2024-03-13T07:10:44.016052980Z [INFO][AUSF][Main] Report Caller is set to [false]
2024-03-13T07:10:44.016143941Z [INFO][AUSF][Init] ausfconfig Info: Version[1.0.3] Description[AUSF initial local configuration]
ausf context = &{{{0 0} {} map[] 0} {{0 0} {} map[] 0} c6614a07-6d6b-4d5e-98a2-d50feb7b1716 ausfGroup001 8000 127.0.0.9 127.0.0.9 http://127.0.0.9:8000/ http http://127.0.0.10:8000/ map[nausf-auth:{c6614a07-6d6b-4d5e-98a2-d50feb7b1716 nausf-auth 0xc00000cca8 http REGISTERED 0xc00000cc90 [] [] [] 0 0 0 }] [{208 93} {123 45}] 0xc0005fb220 false}
2024-03-13T07:10:44.016363642Z [INFO][AUSF][Init] Server started
2024-03-13T07:10:44.022303012Z [FATA][AUSF][Init] HTTP server setup failed: listen tcp 127.0.0.9:8000: bind: address already in use
ubuntu@ubuntu:/free5gc$ cd webconsole
ubuntu@ubuntu:/free5gc/webconsole$ go run server.go
2024-03-13T07:11:09.434672075Z [INFO][WEBUI][Main] WEBUI version:
Not specify ldflags (which link version) during go build
go version: go1.18.10 linux/amd64
2024-03-13T07:11:09.434791863Z [INFO][WEBUI][CFG] Read config from [./config/webuicfg.yaml]
2024-03-13T07:11:09.435004498Z [INFO][WEBUI][Main] Log enable is set to [true]
2024-03-13T07:11:09.435027521Z [INFO][WEBUI][Main] Log level is set to [info]
2024-03-13T07:11:09.435040215Z [INFO][WEBUI][Main] Report Caller is set to [false]
2024-03-13T07:11:09.435139416Z [INFO][WEBUI][Init] Server started
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
using env: export GIN_MODE=release
using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /api/sample --> github.com/free5gc/webconsole/backend/WebUI.GetSampleJSON (3 handlers)
[GIN-debug] POST /api/login --> github.com/free5gc/webconsole/backend/WebUI.Login (3 handlers)
[GIN-debug] POST /api/logout --> github.com/free5gc/webconsole/backend/WebUI.Logout (3 handlers)
[GIN-debug] GET /api/tenant --> github.com/free5gc/webconsole/backend/WebUI.GetTenants (3 handlers)
[GIN-debug] GET /api/tenant/:tenantId --> github.com/free5gc/webconsole/backend/WebUI.GetTenantByID (3 handlers)
[GIN-debug] POST /api/tenant --> github.com/free5gc/webconsole/backend/WebUI.PostTenant (3 handlers)
[GIN-debug] PUT /api/tenant/:tenantId --> github.com/free5gc/webconsole/backend/WebUI.PutTenantByID (3 handlers)
[GIN-debug] DELETE /api/tenant/:tenantId --> github.com/free5gc/webconsole/backend/WebUI.DeleteTenantByID (3 handlers)
[GIN-debug] GET /api/tenant/:tenantId/user --> github.com/free5gc/webconsole/backend/WebUI.GetUsers (3 handlers)
[GIN-debug] GET /api/tenant/:tenantId/user/:userId --> github.com/free5gc/webconsole/backend/WebUI.GetUserByID (3 handlers)
[GIN-debug] POST /api/tenant/:tenantId/user --> github.com/free5gc/webconsole/backend/WebUI.PostUserByID (3 handlers)
[GIN-debug] PUT /api/tenant/:tenantId/user/:userId --> github.com/free5gc/webconsole/backend/WebUI.PutUserByID (3 handlers)
[GIN-debug] DELETE /api/tenant/:tenantId/user/:userId --> github.com/free5gc/webconsole/backend/WebUI.DeleteUserByID (3 handlers)
[GIN-debug] GET /api/subscriber --> github.com/free5gc/webconsole/backend/WebUI.GetSubscribers (3 handlers)
[GIN-debug] GET /api/subscriber/:ueId/:servingPlmnId --> github.com/free5gc/webconsole/backend/WebUI.GetSubscriberByID (3 handlers)
[GIN-debug] POST /api/subscriber/:ueId/:servingPlmnId --> github.com/free5gc/webconsole/backend/WebUI.PostSubscriberByID (3 handlers)
[GIN-debug] POST /api/subscriber/:ueId/:servingPlmnId/:userNumber --> github.com/free5gc/webconsole/backend/WebUI.PostSubscriberByID (3 handlers)
[GIN-debug] PUT /api/subscriber/:ueId/:servingPlmnId --> github.com/free5gc/webconsole/backend/WebUI.PutSubscriberByID (3 handlers)
[GIN-debug] DELETE /api/subscriber/:ueId/:servingPlmnId --> github.com/free5gc/webconsole/backend/WebUI.DeleteSubscriberByID (3 handlers)
[GIN-debug] PATCH /api/subscriber/:ueId/:servingPlmnId --> github.com/free5gc/webconsole/backend/WebUI.PatchSubscriberByID (3 handlers)
[GIN-debug] GET /api/registered-ue-context --> github.com/free5gc/webconsole/backend/WebUI.GetRegisteredUEContext (3 handlers)
[GIN-debug] GET /api/registered-ue-context/:supi --> github.com/free5gc/webconsole/backend/WebUI.GetRegisteredUEContext (3 handlers)
[GIN-debug] GET /api/ue-pdu-session-info/:smContextRef --> github.com/free5gc/webconsole/backend/WebUI.GetUEPDUSessionInfo (3 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :5000
2024-03-13T07:11:15.027833345Z [INFO][WEBUI][GIN] | 304 | 172.27.115.218 | GET | / |
2024-03-13T07:11:21.812414516Z [INFO][WEBUI][Proc] Get Registered UE Context
2024-03-13T07:11:21.817430052Z [INFO][WEBUI][GIN] | 200 | 172.27.115.218 | GET | /api/registered-ue-context |
2024-03-13T07:13:14.985804281Z [INFO][WEBUI][Proc] Get Registered UE Context
2024-03-13T07:13:14.990083759Z [INFO][WEBUI][GIN] | 200 | 172.27.115.218 | GET | /api/registered-ue-context |
2024-03-13T07:13:16.533607587Z [INFO][WEBUI][Proc] Get Registered UE Context
2024-03-13T07:13:16.540496705Z [INFO][WEBUI][GIN] | 200 | 172.27.115.218 | GET | /api/registered-ue-context/imsi-208930000000003 |
2024-03-13T07:13:18.011772099Z [INFO][WEBUI][Proc] Get Registered UE Context
2024-03-13T07:13:18.018435123Z [INFO][WEBUI][GIN] | 200 | 172.27.115.218 | GET | /api/registered-ue-context/imsi-208930000000003 |
//UERANSIM Terminal 3 logs
login as: ubuntu
ubuntu@172.27.129.35's password:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-100-generic x86_64)
Documentation: https://help.ubuntu.com/
Management: https://landscape.canonical.com/
Support: https://ubuntu.com/pro
System information as of Wed 13 Mar 2024 07:12:35 AM UTC
System load: 0.05 Processes: 252
Usage of /: 9.2% of 97.93GB Users logged in: 1
Memory usage: 4% IPv4 address for ens33: 172.27.129.35
Swap usage: 0%
Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
New release '22.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
Last login: Wed Mar 13 07:12:02 2024 from 172.27.115.218
ubuntu@ubuntu:$
ubuntu@ubuntu:$
ubuntu@ubuntu:~$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.27.129.35 netmask 255.255.255.248 broadcast 172.27.129.39
inet6 fe80::250:56ff:feb1:4cff prefixlen 64 scopeid 0x20
ether 00:50:56:b1:4c:ff txqueuelen 1000 (Ethernet)
RX packets 653930 bytes 1244550579 (1.2 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 514260 bytes 43213148 (43.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 43205 bytes 3528289 (3.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 43205 bytes 3528289 (3.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ubuntu@ubuntu:~$

Hi There,
After deploy UERANSIM and free5gc , Is there any way to perform the speed test using okla speed test or some other application ?
Moreover , if i want to capture the traces in wireshark , how to do it .
what is the meaning of this .
Start a Wireshark capture on any core-connected interface, applying the filter 'pfcp||icmp||gtp'.
https://free5gc.org/guide/4-test-free5gc/


text:
Update sql-quiz.ts

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it.
We do not accept submissions from external quiz sites like these
https://www.sanfoundry.com/sqlserver-mcqs-error-handling/#:~:text=Which of the following statements can be checked for Errors%3F&text=Explanation%3A DML statements can be checked for handling errors.
Please come up with your own quiz questions and answers 👍


text:
Responsive Web Design - Learn CSS Flexbox - Step 5

Describe the Issue
The instructions ask you to create a div with the id of "gallery", but it expects you to create a div with a class of "gallery".
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-5
Your code

Expected behavior
The current instruction reads
Below your .header element, create a new div element with the id of "gallery".

I suggest we change it to
Below your .header element, create a new div element and assign it a class of "gallery".

Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

Thanks for opening this issue.
This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix:
List of files:

https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/14-responsive-web-design-22/learn-css-flexbox-by-building-a-photo-gallery/61537c9eecea6a335db6da79.md

Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.
Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.

Hey is this issue taken, Im trying to get into OSS this seems like a solid start. Can I work on this?

Hey @itsnoa04, A PR has already been created for this issue. It is pending review.

It that case I'll just review the PR

repo: freeCodeCamp/freeCodeCamp


text:
Update index.md add picture

Add a picture

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

LGTM 👍  Congrats on your first contribution!

Thank you for the PR ✨ 🎉 We're happy to accept these changes and look forward to your future contributions.
Happy coding!

authors: greggubarev morsmordere


text:
Update index.md

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi,
Thanks for this pull request (PR).
Unfortunately, we are marking this PR invalid for hacktoberfest. We believe it does not follow the recommended guidelines:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details


text:
Mejorando traduccion

Mejorando la traduccion del ejemplo para mayor claridad

[x] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.

authors: RandellDawson wizzac


text:
Added an article on the img tag from the w3school website.

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@glamdring777 Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


text:
Beautify codes

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding. ✈


text:
Spring Boot Topic added

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi,
Thanks for this pull request (PR).
Unfortunately, we are closing this PR, because it contains plagiarized content from http://spring.io/projects/spring-boot
Thank you


text:
Added info about positioning elements

Positioning elements in one row, using display: flex property.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This PR was closed because user's repo was deleted.

authors: RandellDawson adilhansatemirov


text:
Added "New examples"

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Added New example


text:
Grammar check and fix of translation error

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Thanks and congratulations on your first accepted submission!

authors: lynxlynxlynx nico-alvarez-eu


text:
fix(client): give useful error in solutionform

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #39729

This PR includes a bit of groundwork for better error handling, but would require a bit too much refactoring. So, I would prefer this to be a PR relating more to helping with the case where Campers try to pass the incorrect URLs.
QUESTION: Should I expand this to validate whether the camper has submitted the example URLs? It would remove the need to keep updating the first user-story tests for each project.

@ahmadabdolsaheb  I would appreciate your opinion on the wording/styling of the hint:

What about Please submit the link to the live version of your app?

@nhcarrigan It would need to be shorter than it already is, not longer; I do not want it wrapping on smaller screens.

Currently, this is at a point where I could see it being merged. All it would help with is warnings about invalid URLs, and I have set up the ground work I would expect for better error handling, and URL validation.

I cannot seem to pass the Cypress test. Here is the failure:
 2) A certification,
       while viewing someone else's,
         "before all" hook for "should not render a LinkedIn button":
     AssertionError: Timed out retrying: Expected to find content: 'Sign me out of freeCodeCamp' but never did.

I am still busy trying to setup tests for GitPod, so cannot test this locally (laptop is struggling). Otherwise, I do not think I touched anything related in this PR, anyway.

Hey @Sky020, there's one issue stemming from the change to formatUrlValues.  That's used in handleSubmitLegacy, so that also needs to handle the { values: ...} object.

@ahmadabdolsaheb I would appreciate your opinion on the wording/styling of the hint:

The message is descriptive. I would add a dot to the end of the message for consistency 👍
Although we are using different elements, we should unify the padding between the form and hint/error across our UI at some point.

Since only SolutionForm sets the DisplayError and only FormFields gets it and FormFields is the direct descendent of  SolutionForm (SolutionForm > Form > FormFields), I think it would be better to have DisplayError as a state on SolutionForm and pass it down as props.
We could use Context to avoid passing it down one component at a time.
That way FormFields does not need to be a connected component and we can free up some space on the redux store.

Since only SolutionForm sets the DisplayError and only FormFields gets it and FormFields is the direct descendent of  SolutionForm (SolutionForm > Form > FormFields), I think it would be better to have DisplayError as a state on SolutionForm and pass it down as props.
We could use Context to avoid passing it down one component at a time.
That way FormFields does not need to be a connected component and we can free up some space on the redux store.

Some e2e tests are also appreciated.

Some e2e tests are also appreciated.

Since we already have all the info we need for opening the completion modal in execute-challenge-saga, I cannot think of a good reason to have challenge-modal-epic, what do you think?

Since we already have all the info we need for opening the completion modal in execute-challenge-saga, I cannot think of a good reason to have challenge-modal-epic, what do you think?

We are setting isCompletionModalShouldOpen to the redux store with the executeChallenge. Then we would read  isCompletionModalShouldOpen from store in execute-challenge-saga when executeChallenge is called.
Since  isCompletionModalShouldOpen is supplied to executeChallenge as payload and it is only used in this context, It might make more sense to just use as payload directly in execute-challenge-saga and not set it in the store.
Also, what do you think of shouldCompletionModalOpen as an alternative name?

We are setting isCompletionModalShouldOpen to the redux store with the executeChallenge. Then we would read  isCompletionModalShouldOpen from store in execute-challenge-saga when executeChallenge is called.
Since  isCompletionModalShouldOpen is supplied to executeChallenge as payload and it is only used in this context, It might make more sense to just use as payload directly in execute-challenge-saga and not set it in the store.
Also, what do you think of shouldCompletionModalOpen as an alternative name?

@ahmadabdolsaheb I have compromised on the name of the variable - now isShouldCompletionModalOpen
Also, I have passed it as an argument directly (bypassing the store). However, it is currently in the payload as true, and not { isShouldCompletionModalOpen: true }. I have mixed thoughts about the clarity of this, so what do you think?

@ahmadabdolsaheb I have compromised on the name of the variable - now isShouldCompletionModalOpen
Also, I have passed it as an argument directly (bypassing the store). However, it is currently in the payload as true, and not { isShouldCompletionModalOpen: true }. I have mixed thoughts about the clarity of this, so what do you think?

Quick note (we don't have to fix it on this pr IIMHO) : unvalidated (localhost) submissions to the legacy cert section of the settings page would go through, and the hints would show up for all previous submissions.

Quick note (we don't have to fix it on this pr IIMHO) : unvalidated (localhost) submissions to the legacy cert section of the settings page would go through, and the hints would show up for all previous submissions.

I have tested submitting front/backend projects with this pr and it works as expected. Other than the nit-picks mentioned above it is LGMT.

I have tested submitting front/backend projects with this pr and it works as expected. Other than the nit-picks mentioned above it is LGMT.

Quick note (we don't have to fix it on this pr IIMHO) : unvalidated (localhost) submissions to the legacy cert section of the settings page would go through, and the hints would show up for all previous submissions.

For the most part, this looks like wanted behaviour. I think we do have an issue up which intends to add checks to submissions from the settings page. So, this would be resolved in that PR (perhaps, I can take a look).

Quick note (we don't have to fix it on this pr IIMHO) : unvalidated (localhost) submissions to the legacy cert section of the settings page would go through, and the hints would show up for all previous submissions.

For the most part, this looks like wanted behaviour. I think we do have an issue up which intends to add checks to submissions from the settings page. So, this would be resolved in that PR (perhaps, I can take a look).

@ahmadabdolsaheb Thanks a tonne, for the suggestion about removing the displayErrors state. This is simpler.

@ahmadabdolsaheb Thanks a tonne, for the suggestion about removing the displayErrors state. This is simpler.

authors: ShaunSHamilton Sky020 ahmadabdolsaheb nhcarrigan ojeytonwilliams


text:
feat(api): modern challenge submission endpoint

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #50997

The tests will fail until #51011 fix is in

The tests will fail until https://github.com/freeCodeCamp/freeCodeCamp/pull/51017 is in

@Nirajn2311 we enabled JSDoc; please rebase when you get a moment and address any linting issues. Thanks.


text:
Moved the example up before the requirement.

#52942

You don't need to create a separate PR for the changes suggested here.
I am going to close this as a duplicate


text:
Update README.md

Looks like this is a type. Or maybe I midunderstand?

Ping @villesau

Ping @villesau 🤗

Ping @villesau 🤗

Ping @villesau

repo: freeedcom/ai-codereviewer


text:
Removes Nik from the owners

❤ My time has come

🥹

🫡

authors: lukahartwig nlopin snapsnapturtle

repo: freenowtech/wave


text:
Components: Inline Loader

[ ] Initial design
[ ] Initial package

Component that can go inside other components to indicate that its loading data.

First edition loader - any comments

Reference to Figma:
https://www.figma.com/file/TkbB9ANfejDSjB2u4u1OEuqM/Jøkul-components?node-id=263%3A568
Timing information on request :)

Timing from Inspector Spacetime:
Total Dur: 1160ms
≡ Shape Layer 3 ≡

Scale -
Delay: -200ms
Dur: 560ms
Val: 0 ›› 80
(0.33, 0, 0.57, 1)

Scale -
Delay: 360ms
Dur: 800ms
Val: 80 ›› 0
(0.65, 0, 0.67, 1)

Rotation -
Delay: -200ms
Dur: 560ms
Val: 0››45
Linear

Rotation -
Delay: 360ms
Dur: 800ms
Val: 45››90
Linear

≡ Shape Layer 2 ≡

Scale -
Delay: -400ms
Dur: 560ms
Val: 0 ›› 90
(0.33, 0, 0.58, 1)

Scale -
Delay: 160ms
Dur: 800ms
Val: 90 ›› 0
(0.74, 0, 0.67, 1)

Rotation -
Delay: -400ms
Dur: 560ms
Val: 0››45
Linear

Rotation -
Delay: 160ms
Dur: 800ms
Val: 45››90
Linear

≡ Shape Layer 1 ≡

Scale -
Delay: -560ms
Dur: 560ms
Val: 0 ›› 80
(0.33, 0, 0.51, 1)

Scale -
Delay: 0ms
Dur: 800ms
Val: 80 ›› 0
(0.73, 0, 0.67, 1)

Rotation -
Delay: -560ms
Dur: 560ms
Val: 0››45
Linear

Rotation -
Delay: 0ms
Dur: 800ms
Val: 45››90
Linear

authors: Steinop lfbergee

repo: fremtind/jokul


text:
Quicksort

Algorithm

[x] I have gone through the repository and made sure this algorithm has not been implemented

Information about my new algorithm

Algorithm Name: Quicksort

Programming Language: C++

Time complexity: O(n*log(n))

Is this your first contribution to this repository?
Yes

On it!

Same for this @Laronk, please don't work on issues w/o getting assigned to them.
@godcrampy Thank you for creating this issue and I'm sorry someone started working on it. I would encourage you to pick up some other DS/Algo (there're plenty left), create an issue and ping me, I'll be glad to assign it to you.

authors: Laronk frextrite godcrampy


text:
Upgrade Carbon to version 2

This PR upgrades nesbot/carbon to version 2.
This is prompted by a nag that carbon injects into composer output to inform that version 1 is no longer supported.
I have set PHP 7.1 as the new minimum version for this package because this is the minimum version supported by Carbon v2
Between Carbon v1 and v2, there was one compatibility breakage identified by the existing tests, which prompted the change to DateField::validateCastValue().  I believe, In version 1 Carbon::create() would raise an exception if supplied a non-integer for the $year argument, where in version 2 is detects a string and uses it as a date string rather than a year number.  So the logic changed to force validation for the "default" date format, rather than depend on Carbon to raise an exception.
I have also raised the version of PHPUnit from version 4 to 7. No code changes were required.

Hi @OriHoch ,
This PR is failing against the nightly builds because the version specifier for PHPUnit v7 does not allow for PHP 8.0.0-dev.
I can see only two options to handle this:

Add --ignore-platform-reqs to the composer install command.
Do not test the package against nightly builds of PHP.

I have taken option 2 for now, and added PHP 7.3 to the list PHP versions in place of the nightly builds.

Thanks a lot @courtney-miles, the PR looks good.
I know that PHP < 7 is not supported anymore but I think it still has a lot of users. We would generally like the frictionless data libraries to support a large user-base.
I opened a new issue for dropping PHP 5.6 support to try and get some comments on that: https://github.com/frictionlessdata/tableschema-php/issues/39

Hi @OriHoch ,
I have realised that I believe I can preserve compatibility with PHP 5.6 with this PR.
The existing tests only identified one BC breakage between Carbon v1 and v2, which I have worked around.  So as long as we maintain compatibility with both Carbon v1 and v2, then I believe we can also maintain compatibility with PHP 5 and PHP 7.
If you would prefer to see that PHP 5 compatibility is maintained, I would be happy to revise my changes to accommodate.
Cheers
Courtney

Is there any interest from frictionlessdata for this PR?
Whilst I appreciate wanting to keep this package open to those still using PHP 5, this will inevitably come at cost of losing users who keep their PHP version up to date, since there will be conflicts between the outdate packages this package requires and other packages that are keeping up to date with their dependencies.
The versions already released will remain compatible with PHP 5, so those stuck on PHP 5 can still use this package.
I can also make changes so this is compatible with both Carbon 1 and 2, which would allow you to keep compatability with PHP 5.  Although this would not be my preference.
If there's no interest, I'm happy to release and maintain my fork.  But I don't want to do that unnecessarily.

authors: OriHoch courtney-miles

repo: frictionlessdata/tableschema-php


text:
Simple round-trip test fails

A simple, properly-schematized read-write fails to behave as expected.
ipython example:
in_csv_data = (
  'month,time\n'
  '2019-07,06:30'
)
%store in_csv_data > in.csv

Table('in.csv', schema={
    'fields': [
        {'name': 'month', 'type': 'yearmonth'},
        {'name': 'time', 'type': 'time', 'format': '%H:%M'}
    ]
}).save('out.csv')
print('Contents of out.csv is: \n```')
%cat out.csv
print('```')
%rm in.csv
%rm out.csv

Output:

Writing 'in_csv_data' (str) to file 'in.csv'.
Contents of out.csv is:

month,time
"yearmonth(year=2019, month=7)",06:30:00

Merging to the feature issues - https://github.com/frictionlessdata/tableschema-py/issues/161

authors: micimize roll

repo: frictionlessdata/tableschema-py


text:
Support "rar" source compression

Overview
We'd like to extend support of compression algorithms adding rar.
Plan

[ ] pick a rar library to depend on (probably https://pypi.python.org/pypi/rarfile/?)
[ ] add rar to supported compressions - https://github.com/frictionlessdata/tabulator-py/blob/master/tabulator/config.py#L14
[ ] add rar decompression to the stream.open based on zip and gz examples - https://github.com/frictionlessdata/tabulator-py/blob/master/tabulator/stream.py#L161-L182
[ ] add tests for table(s) which is compressed using rar
[ ] update list of supported compressions in the readme

_From @jbothma _
Is that something that you'd be willing to have in tabulator? Our treasury has been publishing some files we'd like to use in fiscal data packages in rar archives.

Hey @jbothma sure! Do you want to do a PR? Just check with @roll on if this is part of core or installed as an extension.

Excellent. Sure, I can probably have a go at it soon and so a PR.

Hi @jbothma. It would be great! I've added an implementation plan to the issue.

Sorry - in the end I don't need it yet for my project and I'm struggling to find time for it outside the project. Should we close it for now then I can re-open if I get to it?

@jbothma no worries! Let's keep it open and perhaps someone else will pick it up sometime.

authors: jbothma pwalsh roll

repo: frictionlessdata/tabulator-py


text:
🛑 W3GG Production API is down

In 81d13cc, W3GG Production API (https://w3gg.io/api/status) was down:

HTTP code: 503
Response time: 261 ms

Resolved: W3GG Production API is back up in 3522bad after .


text:
Basic questions

Hello,
Steamhourboostv2 is installed on my VPS, i managed to add users but how can i remove some user ?
How can i change games to farm ?
Thanks for answers

Use a FTP client to access your vps.

ok i've found how to do it with FTP client thanks :D
If someone want to know :
By default it will boost the games CS 1.6 and CS:GO. If you want to change the games that are being boosted, edit the config/database.json directly!
take the ID number of the game that you want (ex: for CSGO it's 730 look at the link on the steam page of CSGO) and then put it on the account that you want with orther IDs ex
     730,
     10,
      760

You have to manually edit your database.json in the folder config.
If you don't know the syntax, use a tool like http://www.jsoneditoronline.org.

authors: Darkroz TheRhanderson frk1


text:
ci: sync workflows from central-workflows

This PR syncs workflows from the central-workflows repository. Signed-off-by: Kyle Vorster 93905748+vorsterk@users.noreply.github.com

@vorsterk closing this, to be recreated

repo: frmscoe/batch-ppa


text:
_complete:96: bad math expression: operand expected at end of string

So I did
$ <the completion generation> > _prog
$ compdef prog
$ compinit
$ prog --<TAB>
_complete:96: bad math expression: operand expected at end of string
$ prog --

wait nevermind. I got it

repo: frostming/pycomplete


text:
Async / tokio::test macro Support?

Not sure how tightly this library is coupled to proptest or proptest_derive, but perhaps related to https://github.com/proptest-rs/proptest/issues/179 it would be great if we could use this with async tests.

#[test_strategy::proptest] expands to proptest::proptest! { ... }, so if proptest! { } supports async fn, test_strategy will also be able to support async fn.

I have experimentally implemented support for async fn in fd49486cb2377d49bd6a6aca72e251c6fb3bdc74.
You can write tests for async fn by adding a dependency on tokio to Cargo.toml and adding async = "tokio" to the argument of #[test_strategy::proptest] as shown below.
[dev-dependencies]
proptest = "1.1.0"
tokio = { version = "1.28.1", features = ["rt-multi-thread"] }
test-strategy = { git = "https://github.com/frozenlib/test-strategy.git" }

#[test_strategy::proptest(async = "tokio")]
async fn test() {
	// todo
}

The above code generates the following code.
proptest::proptest! {
    #[test]
    fn test() {
        let ret: ::core::result::Result<_, ::proptest::test_runner::TestCaseError> =
            tokio::runtime::Runtime::new()
                .unwrap()
                .block_on(async move {
                    {
                    	// todo
                    }
                    Ok(())
                });
        ret?;
    }
}

I am not sure if this is the right way to do it, as block_on will be called repeatedly, but I believe that if we try to do more than this, we will need to support async fn by proptest::proptest!{ }.

authors: frozenlib leeola

repo: frozenlib/test-strategy


text:
可以校验api key吗？

您好，感谢您的开源项目，现在的遇到个问题，如果注册了多个平台的大模型，获取了对应的api key，但是可能会存在key错误或者key 的套餐不足等原因，导致无法获取对应的结果，能否基于返回的内容，将这些失效的key的状态自动设置为false，这样下次就会只会在有效的key中随机

预计下个版本增加这个功能

谢谢，下个版本预计什么时候发布呢，期待

预计下个版本增加这个功能

9月份应该ok的

authors: fruitbars zhaosinet

repo: fruitbars/simple-one-api


text:
Support attributes

I'd like support for attributes as alternative to initialisation in constructor:
[Command("upload")]
class UploadCommand : ConsoleCommand
{
    [RequiredOption("f|file=")]
    public string Filename { get; set; }
}

There's quite a few other console type utilities that use an attribute based approach, I'm sure you can find one.  There are a number of things I'd do differently but personally I'm not a big fan of using attributes here.

authors: fleed fschwiet

repo: fschwiet/ManyConsole


text:
There are identical sub-expressions to the left and to the right of the and operator

https://github.com/fsmosca/Lakas/blob/26bf45eafac63ea274822cb07ae7242b98515085/tourney_manager/duel/duel.py#L529-L531
The and operator is surrounded by identical subexpressions draw_option['movenumber']
looks like a typo and probably should be replaced with:
if (draw_option['movenumber'] is not None and draw_option['score'] is not None):

Thanks will fix it.

authors: fsmosca thehlopster

repo: fsmosca/Lakas


text:
[Generate refs for FSI] prefix generated files with configuration name

If you switching between build configurations, then load-project.fsx and load-references.fsx are constantly updated, which is annoying:
 #r "System.Core.dll"
 #r "System.dll"
 #r "System.Numerics.dll"
-#r "../../Foo/bin/Release/Foo.dll"
-#r "../../Bar/bin/Release/Bar.dll"
\ No newline at end of file
+#r "../../Foo/bin/Debug/Foo.dll"
+#r "../../Bar/bin/Debug/Bar.dll"
\ No newline at end of file

Implemented in https://github.com/fsprojects/VisualFSharpPowerTools/pull/1197

repo: fsprojects/VisualFSharpPowerTools


text:
Task exception was never retrieved

Describe the bug
The integration is properly configured and works perfectly, however it keeps filling the log with the following:
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/eufy_security/alarm_control_panel.py:236
Integration: Eufy Security (documentation, issues)
First occurred: 12:20:55 (1 occurrences)
Last logged: 12:20:55
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/eufy_security/init.py", line 60, in update
coordinator.async_set_updated_data(coordinator.data)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 287, in async_set_updated_data
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 325, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 539, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 572, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 545, in _stringify_state
if (state := self.state) is None:
File "/config/custom_components/eufy_security/alarm_control_panel.py", line 236, in state
return CODES_TO_STATES[current_mode]
KeyError: -1

this should be raised once for every reload and it is expected to raise the error. We are getting a wrong input from eufy-security-ws library as a state of home-base or camera station and there is no mapping for -1, as it is not expected :)

In short, error is expected and should be resolved in eufy-security-ws, please work with repository owner.

I believe this should have been resolved by now, please reopen if needed.

authors: Saible fuatakgun


text:
Official Fedora24 support.

Via docker tests in travis.

In noticing Precise build failures becoming fixed by adding the sudo package, I will be running a test on RedHat given the package is available now. Unfortunately the reason why so many packages could be missing is the fact sudo isn't installed.
Path forward for now is:

Add sudo to the top of the installation packages.
Reopen RedHat24 tests
Test
Revert (if required)
Post-pone (if required)

So that idea failed, back to the drawing board...

04bce3616a7822df8f44c49f79e4431dda8ac4d7

repo: fubarhouse/ansible-role-golang


text:
How to visualize the results

After training, I've got the gaussian model file(.pth) and a camera.json in my output folder, how can I visualize them as a video?

I got the same problem. how to show .pth? any viewer available? thanks

I encountered the same issue and implemented a solution to render the .pth model and camera.json into a video. This implementation is based on the method in 2d-gaussian-splatting/render.py.
I’ve implemented  it in : https://github.com/sorceressyidi/4d-gaussian-splatting.
To use it:
Clone the repository and follow the README to install dependencies.
Run the script with:
python main.py --config ./configs/dynerf/cook_spinach_test.yaml

Note: You should change source path/checkpoint path to your own path here: cook_spinach_test.yaml and you here's only an example on the cook_spinach scene, you can modify the config for other scenes

If you have any feedback or encounter issues, feel free to let me know!


text:
Add numpy to package requirements

Based on the dependency analysis in https://github.com/conda-forge/triad-feedstock/pull/21, seems like it would make sense to add numpy to the package requirements.

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (c1574fc) compared to base (fb7b269).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #96   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           22        22
  Lines         1725      1725
=========================================
  Hits          1725      1725

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: charlesbluca codecov-commenter

repo: fugue-project/triad


text:
Support GIFT format completely

Options

[x] Line comments
[x] Question name
[x] Answer-specific feedback
[x] General feedback with ####
[x] Percentage answer weights
[x] Multiple answers
[x] Special characters (escaping)
[x] Rich text

[x] HTML
[x] Markdown (spec?)

[x] Specifying categories
[ ] Making questions case sensitive

Question format examples

[x]  Multiple choice
[x]  Multiple choice with multiple right answers
[x]  True-false
[x]  Short answer
[x]  Matching
[x]  Missing word
[x]  Numerical questions

[x] Range format, e.g. {=1..5}

[x]  Essay questions
[x]  Description questions

(perhaps not complete list)

#16 allows support for [html], [markdown], etc.

See #44 as it was not included in this list.


text:
Segment Anything Modelを用いた血液細胞分類のためのドメイン不変表現学習

タイトル: Segment Anything Modelを用いた血液細胞分類のためのドメイン不変表現学習
リンク: https://arxiv.org/abs/2408.07467
概要:
血液細胞の正確な分類は、血液疾患の診断において非常に重要です。しかし、現実の世界では、検査手順や環境の違いによって生じるドメインシフトにより、モデルの汎化性能は急速に低下します。この問題に対処するため、本研究では、Segment Anything Model (SAM) を利用したドメイン不変表現学習 (DoRL) という新しいフレームワークを提案します。DoRLは、LoRAベースのSAM (LoRA-SAM) とクロスドメインオートエンコーダ (CAE) の2つの主要コンポーネントで構成されています。DoRLの利点は、教師なしで様々な血液細胞データセットからドメイン不変な表現を抽出できることです。具体的には、まずLoRAで微調整されたSAMの大規模基盤モデルを活用し、一般的な画像埋め込みを学習して血液細胞をセグメント化します。さらに、CAEを導入することで、異なるドメインのデータセット間でドメイン不変な表現を学習し、画像のアーティファクトを軽減します。ドメイン不変表現の有効性を検証するために、広く使用されている5つの機械学習分類器を用いて、血液細胞分類モデルを構築しました。2つの公開血液細胞データセットと1つの非公開実データセットを用いた実験結果から、提案手法であるDoRLは、既存手法を大幅に上回る、最先端のクロスドメイン性能を達成することが示されました。ソースコードはURL (https://github.com/AnoK3111/DoRL) で公開されています。

論文要約
論文要約:
この論文では、異なる医療機関や検査機器でも精度良く血液細胞を分類できる新しいAI技術(DoRL)を提案しています。
従来の問題点:

血液細胞の分類は血液疾患の診断に重要。
検査環境の違いによりAIの精度が低下する(ドメインシフト問題)。

提案手法(DoRL)の特徴:

LoRA-SAM: 最新の画像認識AI(Segment Anything Model)を改良し、血液細胞の正確なセグメンテーション(領域分割)を実現。
クロスドメインオートエンコーダ(CAE):  異なる環境で撮影された血液細胞画像から、普遍的な特徴を抽出。環境による影響を軽減。
教師なし学習:  大量のデータ準備が不要。

結果:

公開データセットと非公開データセットを用いてDoRLの有効性を検証。
既存手法と比較して、DoRLは環境の違いに強く、高精度な血液細胞分類を実現。

結論:

DoRLは、血液疾患の診断におけるAI技術の進歩に貢献する可能性がある。

@yukihiko-fuyuki が以下のラベルを提案し、適用しました：

domain-generalization
segmentation
paper-implementation

repo: fulfulggg/Information-gathering


text:
🛑 Waddle Penguins Island - API is down

In 6366807, Waddle Penguins Island - API (https://api.waddlepenguins.me/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Waddle Penguins Island - API is back up in a259b60 after 1 hour, 37 minutes.

repo: fullmoondev/status


text:
[BUG] New API returns 404 from docker container

Describe the bug
I created a new Http Get-based API inside the UsersController.cs and built/run the service in docker container using the provided docker-compose.postgresql.yml file.
When I test the new API served from docker container, I get 404 response. I suspect the built docker image/container does not have my new code.

btw: build and run the docker image in Ubuntu.

You might have to point the image to your published image. By default, the docker compose files are designed to pull the default image from docker hub, not your actual application code.

authors: iammukeshm rcholic

repo: fullstackhero/dotnet-starter-kit


text:
Support of different encodings?

Hi! It is possible to add automatic transcoding documents with line like:
<?xml version="1.0" encoding="WINDOWS-1251"?>

?
For now I transcode it by hardcode before deserialization:
                import std.encoding;
		auto ws = cast(Windows1251String) xml_doc_string;
		string res;
		transcode(ws, res);

Hi, the XML decoders use dxml. To quote: "Regardless of what the XML declaration says (if present), any range of char will be treated as being encoded in UTF-8". Maybe you could feed it a Latin1String if you already knew what format the xml data was? Check text.xml.Parser for comparison. But note that as opposed to JSON, the XML loader is pretty allocation happy, so there's not much point to not just transcoding the document upfront.

authors: FeepingCreature denizzzka

repo: funkwerk/serialized


text:
Remove unnecessary async keyword in hwmon handler

Functions in hwmon module have async keyword but doesn't really work meaningfully. (just sequential async-await)
For convenience, it would be better to change to sync. (Some other APIs already applied)
( #41 )

@libc-furiosa @sukyoungjeong-furiosa
I agree with that the IO operations are trivial and run sequentially. async/await may not be able to impact on performance or throughput.
To make a better decision, let's also think about their role as yield points. The reason why we use async/await is basically concurrency. In more details, async/await makes multiple tasks to run concurrently even in a single thread through cooperative multi-tasking which are based on yield control.
async function is a way to generate yield points implicitly and automatically. The main difference of tokio::fs from std::fs is that tokio::fs internally use a blocking thread pool and schedule IO operations to the blocking thread pool. So, tokio::fs doesn't block tokio executor and yield when any IO operation is called.
When users develop some applications with async/await version like monitoring system using device api for dozen NPU cards, users don't have to worry about the blocking calls within async tasks. If it uses std::fs, they have to be concerned with the IO blocking calls within their async task.

Thanks for the detailed explanation. I agree with your argument.
It seems that the API needs to be improved in the near future.
I think we have two options at this point.
Whether to temporarily approve this PR and allow only blocking calls explicitly, or discard this PR and keep the existing implementation.
Please tell me your opinions.

If we are not sure, let's keep the current code.

Thank you. Close this PR.

authors: hyunsik libc-furiosa

repo: furiosa-ai/device-api


text:
Download button not showing up.

Just got on twitter this morning, found that the download button stopped showing up since yesterday.
I thought I'd just send you this bug report with an image for an example.

In my case, all of the functions has been gone since now except Mentions button

@thakyZ this issue was already fixed on version 0.1.4.6
Please confirm on your instance, to close this

It works.

authors: jcchikikomori thakyZ

repo: furyutei/twMediaDownloader


text:
Support multiple tasks through args

If i see it correctly, currently you can just run one task with sparky using the arguments. (e.g: node fuse build:all)
Wouldn't it be usefull to allow define multiple tasks just like in Sparky itself?
e.g:
node fuse clean:api test:api build:api
or
node fuse &clean:api &clean:client test:all build:all
In my opinion, the more features a bundler offers, the better :)
What you guys think about?

@freehuntx i think it can done, however i don't see how one would really benefit from it ;-)

Well i think we should let decide the users if they benefit from it :)
I just have the feeling, giving users freedom to choose how they want to use something, is not a bad thing :D
(Thats actually why i love JavaScript so much! So many ways to archieve your thing)
For me, there is no reason to not allow it :o
It wont break something and its not hard to do ^^
But if you say you dont like it, im ok with it tho :P

FuseBox v4 Major Upgrade
As of today, the latest major version of FuseBox v4 is available in fuse-box@next. FuseBox has undergone a full re-write from scratch, learning from its mistakes in the previous versions.
There are a lot of improvements, speed and config wise.
Get started here
We are still working on the documentation and polishing before the major release. We are getting very close. And we need help testing.
npm install fuse-box@next

Most of the issues that I am closing have been resolved, however, if you find that your issue is still relevant in v4 don't hesitate to re-open or (better) create a new one with v4 configuration.

authors: freehuntx nchanged

repo: fuse-box/fuse-box


text:
photo

I'm interested in using this for my django app but where do you have photos or screenshots of what this looks like... I'm eager to give you a star

Sure,

authors: datatalking gavinwahl

repo: fusionbox/django-darkknight


text:
Fix client-side token registration error

This PR resolves a client-side error from a token being registered without being used and adds a regression test

!merge

repo: fusionjs/fusion-cli


text:
Stage pod unable to validate against any SCC while deleting annotations

From PR #227. It appears something with the DeleteAnnotations function is causing this error to populate. It does not seem related to the changes we are merging in.

I am seeing a log statement after the stage restore runs when deleting annotations on the stage resources:
{"level":"error","ts":1564518878.9188626,"logger":"migration|t89hk","msg":"","error":"pods \"mariadb-1-jc48w-stage\" is forbidden: unable to validate against any security context constraint: []","stacktrace":"github.com/fusor/mig-controller/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/fusor/mig-controller/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/fusor/mig-controller/pkg/logging.Logger.Error\n\t/go/src/github.com/fusor/mig-controller/pkg/logging/logger.go:59\ngithub.com/fusor/mig-controller/pkg/logging.Logger.Trace\n\t/go/src/github.com/fusor/mig-controller/pkg/logging/logger.go:65\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*Task).deletePodAnnotations\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/annotation.go:341\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*Task).deleteAnnotations\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/annotation.go:297\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*Task).Run\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/task.go:367\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*ReconcileMigMigration).migrate\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/migrate.go:77\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*ReconcileMigMigration).Reconcile\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/migmigration_controller.go:168\ngithub.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\ngithub.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

It's something I want to investigate but nothing is broken. The stage pod still ran successfully and restic successfully performs a podvolumerestore. I think it has to do with deleteAnnotations or the stage cleanup process.

This came from an investigation into: https://github.com/fusor/mig-controller/issues/191

Assigning this as a beta-blocker as I fear the messages will mislead folks testing, if it's possible to find the issue and fix would make a better beta experience.

@dymurray @jwmatthews Assuming the stage pod was already deleted, we don't need to touch it's annotations. The annotation change in kubernetes 1.12+ causes pod to be reconciled, and the cluster tries to validate the SCC on the annotations of the pod, which were removed at this point. I noticed that the error happens right after the log message about stage pod is removal. What is the course of action here? Skipping deleted pods might be enough?
Here is a snip from the logs:
{"level":"info","ts":1565007430.6335168,"logger":"migration|qmz6q","msg":"Pod annotations/labels added.","ns":"mysql-persistent-test-move","name":"mysql-1-cmsqs"}
{"level":"info","ts":1565007431.0338788,"logger":"migration|lw5pz","msg":"Stage pod created.","ns":"mysql-persistent-test-move","name":"mysql-1-cmsqs-stage"}
{"level":"info","ts":1565007546.1937892,"logger":"migration|wz5bl","msg":"Stage pod deleted.","ns":"mysql-persistent-test-move","name":"mysql-1-cmsqs-stage"}
{"level":"info","ts":1565007546.2349448,"logger":"migration|wz5bl","msg":"Stage pod deleted.","ns":"mysql-persistent-test-move","name":"mysql-1-cmsqs-stage"}
{"level":"info","ts":1565007546.8337853,"logger":"migration|qtbgl","msg":"Pod annotations/labels removed.","ns":"mysql-persistent-test-move","name":"mysql-1-cmsqs-stage"}
{"level":"error","ts":1565007546.8559673,"logger":"migration|qtbgl","msg":"","error":"pods \"mysql-1-cmsqs-stage\" is forbidden: unable to validate against any security context constraint: []","stacktrace":"github.com/fusor/mig-controller/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/fusor/mig-controller/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/fusor/mig-controller/pkg/logging.Logger.Error\n\t/go/src/github.com/fusor/mig-controller/pkg/logging/logger.go:59\ngithub.com/fusor/mig-controller/pkg/logging.Logger.Trace\n\t/go/src/github.com/fusor/mig-controller/pkg/logging/logger.go:65\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*Task).deletePodAnnotations\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/annotation.go:349\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*Task).deleteAnnotations\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/annotation.go:301\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*Task).Run\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/task.go:367\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*ReconcileMigMigration).migrate\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/migrate.go:77\ngithub.com/fusor/mig-controller/pkg/controller/migmigration.(*ReconcileMigMigration).Reconcile\n\t/go/src/github.com/fusor/mig-controller/pkg/controller/migmigration/migmigration_controller.go:168\ngithub.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\ngithub.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/fusor/mig-controller/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/fusor/mig-controller/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

@Danil-Grigorev Thanks for that write-up, yeah I believe you are correct. I will look into this today and hopefully find an easy fix.

Reopening as it appears this is still a reported issue, even sometimes during EnsureStageRestore phase as I observed on @jwmatthews environment. I also hit this with the latest controller image. Will speak with Danil to get a fix.

Danil mentioned we shouldn't be deleting annotations of stage pods just to delete them, and he is correct. So the solution is easy to just delete stage pods before removing all the annotations/labels on a failure cleanup.

authors: Danil-Grigorev dymurray jwmatthews

repo: fusor/mig-controller


text:
Using relative paths for imported types

Nice project!
Is there any way of making it use relative paths instead of absolute ones for imported types when using the project option? Absolute paths makes a project mostly unable to collaborate to together with others with different setups.
There doesn't seem to be any disadvantage in using e.g.
@returns {import("./file").File}

over
@returns {import("C:/path/to/file").File}

Hey! Can you share a reproduction where this happens?

static contextmenu=new Contextmenu("guild menu");

gets transformed to
/**
 * @static
 * @default import("C:/path/to/folder/contextmenu").Contextmenu
 */
static contextmenu = new Contextmenu("guild menu");

I'm trying this on MathMan05/JankClient, the above is an example from guild.js after running npx ts-to-jsdoc -p ./tsconfig.json. I'd guess it happens to other projects too though.

Thanks, fixed in 2.1.2!

authors: DEVTomatoCake futurGH

repo: futurGH/ts-to-jsdoc


text:
Enhance openflow communication performance

"include/libfluid-" and "src/libfluid-" are copied from https://github.com/OpenNetworkingFoundation/libfluid_base and msg, they are third party open source libraries so you can skip reviewing, btw it is Apache 2.0 license (https://github.com/OpenNetworkingFoundation/libfluid_base/blob/master/LICENSE)
please focus on how we leverage the libfluid fundamental, meaning the derived classes from it
switch to openvswitch release version dependencies (https://www.openvswitch.org/download/) instead of the git src code version
migrate ovs control functions to be compatible with the ovs release headers and lib
style enforcement can be added on later, not fully completed on every header and src file

https://github.com/futurewei-cloud/alcor-control-agent/issues/248
Due to the new mechanism, the issue above is fixed with the refactoring. Tested with 1000 ports successfully.

repo: futurewei-cloud/alcor-control-agent


text:
use jest for testing

This adds Jest for testing AND generating coverage reports, keeps some of the testing setup the same, and mostly removes mocha, chokidar (jest has its own watcher), chai, and sinon (jest comes with its own mocking tools, and sinon was destroying the world in jest tests).
The warnings that come up when running this are the same as with the mocha tests.
For painless installation and testing, use "react-native-lock": "justinwoo/react-native-lock#feature-customized-theme", in package.json and run yarn && jest 😛 (fixed yarn bug but they still haven't released a new version) (but seriously, takes me 4 min to install this and 20s with yarn)

@justinwoo With yarn v0.16.1 the installation is finally painless without changing the react-native-lock in the package.json ;) I can update the yarn.lock file for it.

Happy to see this! Could Jest be used to test for component state mutation, to allow removal of Immutable in favor of POJOs?

authors: jhabdas justinwoo tino-junge

repo: futurice/pepperoni-app-kit


text:
URL issue for top-level pages

My website utilizes subpages for each top-level page. Whenever I build my site, all my top-level pages take the URL http://localhost/section.html, while my subpages take the URL http://localhost/section/subpage.html. I want the section index pages to take the form http://localhost/section/index.html. Since this would appear to be a common issue and I don't see any documentation of it, I'm afraid I might be missing something. For now I am manually moving the generated pages to the proper folder and renaming them index.html. Any help is appreciated. Thanks.

Hi,
StaticBuilder has the staticbuilder.extension config:
c::set('staticbuilder.extension', '.html');       // my/page.html
c::set('staticbuilder.extension', '/index.html'); // my/page/index.html

If you use '/index.html', you will get the result you expect for section pages. But it will also apply to subpages, so you will get static/section/subpage/index.html and not static/section/subpage.html. There is no built-in way to treat those pages differently.
So your options are:

c::set('staticbuilder.extension', '.html'); /* default */
static/section.html and static/section/subpage.html

c::set('staticbuilder.extension', '/index.html');
static/section/index.html and static/section/subpage/index.html

With the appropriate server configuration, the first one gives you URLs that look like this: /section and /section/subpage; and the second one gives you URLs that look like: /section/ and /section/subpage/.

Ok, thanks. I did add Options +Multiviews to the .htaccess file as suggested, but that didn't cause /section/ URLs to open the section.html pages. Instead, they opened the index of the folder. Do you know of any Apache headers that would fix this?

That would be the Indexes option.
Options -Indexes +Multiviews

Note that it will disable folder listings but it will not fix your issue, because you’re requesting /section/, which cannot map to [WEB ROOT]/section.html. So if you disable the folder listing (which you should do anyway), you will get a 404.
You need to pick a URL scheme:
/section
/section/subpage

or:
/section/
/section/subpage/

The first one should work out of the box with Kirby and StaticBuilder's default options. The second one can be trickier because Kirby uses /page/subpage for URLs. If you want trailing slashes, you have to put them explicitely in your templates, e.g.
<a href="<?= $somePage->url() ?>/">
  <?= $somePage->title() ?>
</a>

Hmm. For some reason, even with -Indexes set, my server wants to redirect /section.html to /section/. My links all have URLs without the trailing slash. I'm on MediaTemple's Grid.
Incidentally, I'm having some issues with embedded image files. I'm using Kirbytext syntax (image: infographic.jpg) to embed them, yet the URLs are coming out wrong. I have staticbuilder.baseurl set to '/2016/'. I had to add a trailing slash to get my URLs to come out right, though your docs suggest I don't need it. Here is the site, for reference: http://s219383.gridserver.com

@zakgreene I can reproduce the issue. Problem is that if you have these files:
static/my-section.html
static/my-section/subpage.html

And request /my-section, Apache will try to serve the directory and not the HTML page with the same name.
There are a few solutions using a .htaccess and URL rewriting. I’m trying a few things to figure out what could be a decent default config.

Yep, that's exactly it. Thanks for working on it.

One possible fix is using a .htaccess file like this one:
https://github.com/fvsch/kirby-staticbuilder/blob/master/test/static_htaccess
Which you could save as e.g. site/staticbuilder/htaccess, and copy it on build:
c::set('staticbuilder.assets', [
  'assets' => 'assets',
  'content' => 'content',
  'thumbs' => 'thumbs',
  'site/staticbuilder/htaccess' => '.htaccess'
]);

It’s a bit of a heavy solution, so I’m considering changing the default extension to /index.html in the next major version of StaticBuilder.

Do you know of a way to make it work if the entire site is in a subfolder? The only way I can think of now is to add Redirect /index.html /2016/index.html (where /2016 is my subfolder), but then I'd have to change all my homepage URLs to http://localhost/2016/index.html.

Do you know of a way to make it work if the entire site is in a subfolder?

Can you elaborate what you mean by “make it work” in that sentence?

With the settings you provided, links to the homepage don't work when the entire website uses a subfolder. I either have to link directly to subfolder/index.html, or move the homepage to the root directory and name it 2016.html. Neither of these is ideal. I don't know much about .htaccess, so I wondered whether there was a way to exempt the /subfolder from the rewrite rules.

# Redirect "/something/" to "/something"
# Warning: only enable if serving the site at the root of a domain or subdomain,
# e.g. https://my.site.com/ or http://localhost/
# Otherwise it will redirect "/site/root/" to "/site/root", which can be a problem.
RedirectMatch (.+?)/+$ $1

You probably want to comment or remove that section.

This worked for me — sorry for the late reply.

authors: fvsch zakgreene

repo: fvsch/kirby-staticbuilder


text:
Support styling of 'expandText/collapseText'

It is currently possible to change the color of the expandText/collapseText but not to change the style.
I am working on an app at the moment and one of the requirements is for the "see more"/"see less" to have a different style.
See screenshot

It would be great if that were possible with this package. :)

I just released version 1.3 which adds an option for the link style. Please let me know if it meets your requirements.

Hey,
Thanks for making the change so quickly - it works wonderfully.
On Sun, Feb 7, 2021 at 7:53 PM Florian Weinaug notifications@github.com
wrote:

I just released version 1.3 which adds an option for the link style.
Please let me know if it meets your requirements.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fweinaug/expandable_text/issues/5#issuecomment-774718753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACSVVCHHGDUE54FF327IXKDS53HRFANCNFSM4WVPD64Q
.

authors: Ariellaw fweinaug