Posts not showing on homepage, /posts/ 404ing

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar reports on existing issues (including closed ones).
[x] I found the bug on the latest code of master branch.

Describe the bug

On the homepage of my website, I cannot see the posts in the _posts folder. I can see them in recently updated, the archive, and through the tags and categories. When I try to go to url/posts/, I get a 404.
To Reproduce
Steps to reproduce the behavior:

Fork the repository.
Create a post with correct format in _posts
Navigate to site URL
Posts are not shown on homepage

Expected behavior

Expected to see posts on homepage
Screenshots

Software

Ruby version: 2.7.2
Gem version: 3.1.4
Bundler version: 2.2.2
Jekyll version: 4.1.1

Desktop

Smartphone

Additional context

Can view the site at https://klongmore.github.io/
Can view my repository at https://github.com/klongmore/klongmore.github.io/

Steps to reproduce the behavior:

Fork the repository ...

Apparently not, your repo seems to have been created by jekyll new and then copied from the Chirpy project files.
So your repo now has two conflicting files:
index.markdown  # created by yourself
index.html  # copied from `Chirpy` project

When Jekyll builds, it compiles markdown file into HTML file, overwriting the original index.html, so you get nothing on Homepage. You should check yourself carefully before reporting a "bug". This is good for everyone.


add complication datasource

First, Thank you for this awesome project. indeed one of the most fun applications for the watch.
I implemented a complication datasource, so we can add Gio shortcut to the watch face.
still working on this, as it's not perfect yet.. (want to improve icons, and text of complications) but would like your input on what to do with these complications.
Kind regards,
0x

This is awesome. Could we use the app icon instead though for the complication images?

Sure! however, we can not use the icon in its current form.
Images for complication icons have to include only the alpha channel.
https://developer.apple.com/watchos/human-interface-guidelines/icons-and-images/complication-images/
You can have 2 images: foreground and background
And 2 default tint colors for: foreground and background

If you could give me the images and colors you want to use, I can scale them to the proper sizes and update this MR.


Remove deprecated and duplicate resources

Remove "Packages Manager" section, as Meteor fully supports NPM packages since 1.3.
Update packages links that are now under Meteor Community.
Remove weekly section.
Remove any links to Discover Meteor (https://themeteorbook.com/ and https://telesc.pe/ aren't working anymore apparently :cry:)
Add plugins for "Editor Plugins" section.
Add a link to the slack channel of Meteor Community.
Improve the testing section.
Add Awesome Blaze and Awesome React Native Meteor Links.

while you are at it, could you look at this PR and take what's needed if any from there?
https://github.com/Urigo/awesome-meteor/pull/86

while you are at it, could you look at this PR and take what's needed if any from there?
#86

This was already addressed in the previous PR.

thank you for all your work @harryadelb !

Thank you @Urigo :)

@harryadelb @Urigo Make Meteor awesome again! ;)

@tomasz-nolberczak We're working on it. :sweat_smile:


chore(main): release POK 7.2.0

:robot: I have created a release beep boop
7.2.0 (2024-11-22)
Features

delete old images improvement (7826e40)
pok: add cache invalidation (f2cabb0)
pok: Redis cache for LLM translation (1854fcb)

Bug Fixes

pok: redis host (fdbcfd7)
pok: update help message (194c164)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

<EMAIL_ADDRESS>:sunflower:


Add flag to list directives.

This adds a -directive flag. This helps users confirm if custom build includes  a directive.
Example
caddy -directives | grep git

I'm sure the broken build isn't my fault. :confused:

Wow, AppVeyor must be having issues:
exec: "mkdir": executable file not found in %PATH%

Anyway, maybe it'd be better to have an exported function in caddy/directives.go that returns the slice of directives; that way, they are displayed in order, which could be useful.

Thanks! I had been wanting to do this, too.


feat: support replaceTimestamp as a string which is the field to use …

…as the time replacement

This allows a user to use nano-time https://github.com/sazze/node-nanotime when logging to get more accurate timestamps

Sorry for taking so long and thanks for your PR
We now support nano seconds through the pino timestamp API
See example here :
https://github.com/Julien-R44/pino-loki/blob/dev/examples/custom_timestamp.ts


Travis CI: build config validation & execution order

Fixes Travis CI build config validation issues and organizes yaml sections into execution order.
Also, simplify before_install by using $HOME/bin
Also, travis_retry the wget operations.

@cclauss Thanks for the PR and quick fix.


How to trigger deeplinks to app under test

Hi guys,
we are still in elaboration phase of Opentest for our Android/iOS Apps.
I'm wondering if there is a keyword, a feature, a recommended way or anything on how to test deeplinks with Opentest?!?
For our manual tests we are using adb command and/or opening deeplink via Safari for iOS devices.
Any hint/help would be appreciated.
Thx in advance,
Andreas

Hi there,
I'm still struggling with this,
upgraded to 1.2.1, but still not able to trigger any deeplink...
Anyone could give some assistance here?

Hi @adrianth
have you had a chance to check this?
Any update would be appreciated... :-)
Thx,
A


current_user nil after successful sign_in while using mongoid and devise

for context, i'm using devise 3.4.1, mongoid 4.0.0, rails 4.1.7
when i sign in (successfully), i am redirected to the root path as dictated by my after_sign_in_path_for. from here, i assume my user is signed in. however, once i navigate to another page that references current_user in a controller method, i get an error like so:
undefined method `searches' for nil:NilClass
Extracted source (around line #6):

@current_search = current_user.searches.build

if(params[:role].present?)
  @current_search.add_condition(role: "#{params[:role]}")

to try to further understand the problem i debugged the session and everything seems to be okay:
{"session_id"=>"bbae2e07d3d3e506ad662410b23cefb7",
"warden.user.user.key"=>[["54f787e0636c612b75ba0000"],
"$2a$10$xvDkF6vFs.bHAa3rjsvPR."],
"flash"=>{"discard"=>[], "flashes"=>{"notice"=>"Signed in
successfully."}},
"_csrf_token"=>"/OVXffT6+er8OipE47/gOs0w9mbK9s/XqgwFOyiSumA="}

earlier on i had an issue with mongoid/devise that was fixed with the serialization hack.. this is not the same problem, i don't think?
some other's who seemed to have a similar problem seemed to just be able to fix it with a call to before_action :authenticate_user!, but in my case it just generates a 401 Unauthorized error and redirects the user to the login page again with the dialog of You need to sign in or sign up before continuing.

Can you please provide a sample app that reproduces the problema? Thanks.

actually, solved it!
the problem/solution lied in the hack... so for awhile i'd been using this successfully:
def self.serialize_from_session(key, salt)
record = to_adapter.get(key[0]["$oid"])
record if record && record.authenticatable_salt == salt
end
but i had to replace it with
def self.serialize_into_session(record)
[record.id.to_s, record.authenticatable_salt]
end
would love to better understand what's going on here? i don't actually understand what's going on

Mongoid broke ActiveModel/Devise compaibility a while ago and it seems they have restored it back. The previous hack was relying on internals which likely changed again. You can likely get rid of this method altogether.

Thanks for the help!

Thanks!
Christopher Changchien
Singer/Songwriter, Music Production
<EMAIL_ADDRESS>(805) 312-6521
http://www.claudeo.com
On Mon, Mar 9, 2015 at 2:34 PM, José Valim<EMAIL_ADDRESS>wrote:

Mongoid broke ActiveModel/Devise compaibility a while ago and it seems
they have restored it back. The previous hack was relying on internals
which likely changed again. You can likely get rid of this method
altogether.
—
Reply to this email directly or view it on GitHub
https://github.com/plataformatec/devise/issues/3506#issuecomment-77947933
.


talking to tooly with brand soda

    show posty neutral
    show bs follow behind posty
    bs "Excuse me sir! Would you like to-" #275 talking to tooly with brand soda
    tooly "I don't deal with all these newfandangled social experiments! Beat it!"


glog command line flags do not work with mixs binary

subcommands are unable to process standard glog flags
mjog-macbookpro:server mjog$ ./mixs --logtostderr
The Istio mixer provides control plane functionality to the Istio proxy and services

Usage:
  mixs [command]

Available Commands:
  adapter     Diagnostics for the available mixer adapters
  server      Starts the mixer as a server

Flags:
      --alsologtostderr                  log to standard error as well as files
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --logtostderr                      log to standard error instead of files (default false)
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

Use "mixs [command] --help" for more information about a command.
mjog-macbookpro:server mjog$ ./mixs --logtostderr server
Error: unknown flag: --logtostderr
Usage:
  mixs server [flags]

Flags:
      --clientCertFiles string      A set of comma-separated client X509 cert files
      --compressedPayload           Whether to compress gRPC messages
      --maxConcurrentStreams uint   Maximum supported number of concurrent gRPC streams (default 32)
      --maxMessageSize uint         Maximum size of individual gRPC messages (default 1048576)
  -p, --port uint                   TCP port to use for the mixer's gRPC API (default 9091)
      --serverCertFile string       The TLS cert file
      --serverKeyFile string        The TLS key file
      --trace                       Whether to trace rpc executions

ERROR: logging before flag.Parse: E0119 15:53:50.471434   57034 main.go:51] unknown flag: --logtostderr

Change https://github.com/istio/mixer/blob/master/cmd/server/main.go#L38 to PersistentFlags

Switching to PersistentFlags fixed the error about not knowing --logtostderr, but when other things get logged I still get the message that says "logging before flag.Parse". Any ideas?

The glog code contains:
if !flag.Parsed() {
	os.Stderr.Write([]byte("ERROR: logging before flag.Parse: "))
	os.Stderr.Write(data)

which seems to make it fundamentally incompatible with the cobra stuff, since we actually aren't parsing the command-line args using the default golang flags package.
Argh

I think it is possible to write a less opinionated version of glog that can play nicely with other systems. Something that does not use global state out the wazoo.


Per weapon get permission

Description
Could you add a per weapon permission to get, like /wm get gunname and the permission being weaponmechanics.commands.get.gunname or that they need the use permission to get it?
Configuration
weaponmechanics.commands.get.gunname
weaponmechanics.commands.get.*

Payment (optional)

[ ] I'm willing to pay for this feature

why?

Won't add this because /wm is meant to be an admin command.


For loop Off-By-One in jsonStringifyObject

I was recently working with this library to get some WebSocket functionality running with other devices on the same netowrk switch.
I ran into an empty json object {} when trying to post a singular line of data in the object.
It appears that lines 219 and 218 are "Off-By-One". Inserting a +1 to length_array in both lines appeared to fix this. Could this be amended to the master, please?
EDIT

I have checked and the jObj.pairs in json.axi and it is returning a length of 0, so it is skipping out the loop all together,

Main.axs
DEFINE_FUNCTION webSocketOnOpen(DEV socket) { //On WebSocket Connection
	STACK_VAR jsonObj obj
	stack_var char aString[255]
        if(socket == dvVCUnit01) {

	   obj.pairs[1].name = 'first name'
	   obj.pairs[1].jtoken.type = JSON_TYPE_STRING
	   obj.pairs[1].jtoken.value = 'a value'

	   obj.pairs[2].name = 'last name'
	   obj.pairs[2].jtoken.type = JSON_TYPE_STRING
	   obj.pairs[2].jtoken.value = 'a value'

	   len = length_array(obj.pairs)

	   aString = jsonStringifyObject(obj)

	   webSocketSend(socket, aString)
        }
}

json.axi
define_function char[JSON_MAX_VALUE_DATA_LENGTH] jsonStringifyObject(JsonObj jObj) {
	char objStr[JSON_MAX_VALUE_DATA_LENGTH];
	integer i;

	objStr = '{';

	for(i=1; i<=length_array(jObj.pairs); i++) {
		if(i == length_array(jObj.pairs)) {
			objStr = "objStr,'"',jObj.pairs[i].name,'":',jsonStringifyValue(jObj.pairs[i].jToken)";
		}
		else {
			objStr = "objStr,'"',jObj.pairs[i].name,'":',jsonStringifyValue(jObj.pairs[i].jToken),','";
		}
	}

	objStr = "objStr,'}'"

	return objStr;
}

server.js
output: {}

Hi Jack,
Thanks for posting this issue. Are you able to post a sample of the JSON data you were working with so I can try to replicate?

Hey David,
Please see my edit above

Hi Jack,
I think I see the problem....
When you're building the jsonObj and adding data to its pairs array you're not setting the length of the array. By default the length of all arrays is zero (unless assigned a value on the same line of declaration). CHAR arrays have their length set automatically through string assignment operations but the length of an array is unchanged when assigning values to an arrays individual indexes.
Use the SET_LENGTH_ARRAY function to manually set the length of obj.pairs to 2 prior to calling the jsonStringifyObject function.

I see,
Thanks for the quick fix David!
Closing thread


Express API implementation TODO

This is the issue to track progress of Express API implementation
App
Properties

[x] app.locals
[x] app.mountpath

Methods

[x] app.all()
[x] app.engine()
[x] app.listen()
[x] ~app.param()~ (#162) [deprecated in Express 4.11.0]
[x] app.path()

[x] app.render()
[x] app.route() (#94)
[x] app.set()
[x] app.use()

HTTP Methods

[x] checkout
[x] copy
[x] delete
[x] get
[x] head
[x] lock
[x] merge
[x] mkactivity
[x] mkcol
[x] move
[x] m-search
[x] notify
[x] options
[x] patch
[x] post
[x] purge
[x] put
[x] report
[x] search
[x] subscribe
[x] trace
[x] unlock
[x] unsubscribe

Request
Properties

[x] req.app
[x] req.body
[x] req.cookies
[x] req.fresh
[x] req.hostname
[x] req.ip
[x] req.ips
[x] req.method
[x] req.params
[x] req.path
[x] req.protocol
[x] req.query
[x] req.route
[x] req.secure
[x] req.signedCookies
[x] req.stale
[x] req.subdomains
[x] req.xhr
[x] req.originalUrl
[x] req.is

Methods

[x] req.accepts()
[x] req.acceptsCharsets()
[x] req.acceptsEncodings()
[x] req.acceptsLanguages()
[x] req.get()
[x] req.is()
[x] req.range()

Response
Properties

[x] res.app
[x] res.locals

Methods

[x] res.append() (#117)
[x] res.attachment()
[x] res.cookie()
[x] res.clearCookie()
[x] res.download()
[x] res.end()
[x] res.format()
[x] res.get()
[x] res.json()
[x] res.jsonp() => gonna be a separate package (@tinyhttp/jsonp)
[x] res.links()
[x] res.location()
[x] res.redirect()
[x] res.render()
[x] res.send()
[x] res.sendFile()
[x] res.sendStatus()
[x] res.set()
[x] res.status()
[x] res.type()
[x] res.vary()

After months of hard work and contributions from a lot of people, I'm happy to announce that Express API implementaiton is 100% complete!
p.s. not including deprecated methods which aren't planned to be implemented


Fix selection of nodes for cinder-volume, ceilometer-agent and nova-compute

Commit 45a66ee90 broke HA deployments on releases other than Cloud 7
that had more than one possible node for cinder-volume, ceilometer-agent
or nova-compute. This is caused by not breaking $unclustered_nodes into
an array as expected by the rest of the code in custom_configuration().
Additionally, we add some quoting for the -z tests to avoid whitespace
issues that triggered "[: too many arguments" errors in the past.

This is a more complete version of https://github.com/SUSE-Cloud/automation/pull/1225

looks good, but let me test it on an actual deployment (about 1 hour).

looks good, but let me test it on an actual deployment (about 1 hour).

@abel-navarro I've also added a couple of more ci jobs here to test it at least for HA deployments on Cloud 6 and 7.

my deployments have not finished yet, but at least they have gone past the point of the ceph proposal apply. I'm trying with cloud6-ha with nodenumber=4 and nodenumber=5.

+1

With nodenumber=4 it deploys properly. The cinder-volume is assigned to compute1 which I think is as intended.

I did not properly configure the deployment with nodenumber=5, so I'm trying that again.

cct failing on the gating-ha-6 gate due to a controller being in unknown state.

My main concern is code duplication which means we always have to fix 3 places instead of one... but that can be addresses in a separate PR.

I run again the deployment with nodenumber=5. This time also completed successfully but again the cinder-volume  node went to data2, which is the second controller in the HA cluster. It is not selecting the extra node for the volume.
I did not run testsetup so cannot say about cct.

I run again the deployment with nodenumber=5. This time also completed successfully but again the cinder-volume node went to data2

Hm, strange. Which cloudsource was that for?

I run again the deployment with nodenumber=5. This time also completed successfully but again the cinder-volume node went to data2, which is the second controller in the HA cluster. It is not selecting the extra node for the volume.

@abel-navarro Hm, I am not able to reproduce that. In my testrun (develcloud6, ha enable) it picked the first compute node. Which parameters did you use for building?

@rhafer deployments went fine for me, and also testsetup and cct. These are the params for the builds:
export cephvolumenumber=1
export want_neutronsles12=1
export want_mtu_size=8900

export cloudsource="develcloud6"
export mkcloudtarget="all_noreboot"
export libvirt_type="kvm"
export networkingplugin="openvswitch"
export networkingmode="vxlan"
export storage_method="default"
export TESTHEAD="1"
export nodenumber="4"
export tempestoptions="-t -s"
export hacloud="1"
export clusterconfig="data+services+network=2"
export label="openstack-mkcloud-SLE12-x86_64"
export vcpus="2"

also tried with nodenumber="5"

Hm, the cloud7 job currently fails because chef-server doesn't start on the admin node. (So unrelated to this PR).

In the re-deploys I focused on the tests not on the cinder-volume assignment. After checking again, cinder-volume goes always to the first compute node.
4-node

5-node


Marker "Discrete" API documentation

Is your feature request related to a problem? Please describe.
I want to be able to modify individual markers in a series - it seems that it is possible with the "discrete" label in Markers.js, but there is no documentation and it is a bit confusing to work out what it does.
Describe the solution you'd like
If you could give me just one example of usage that would be great.
Describe alternatives you've considered
I can add new series, but if it is an area chart with markers, and I set stroke to smooth, the points will be slightly off the line. I have considered trying to implement a similar logic to that used for creating the smoothing of a line and offset the point that way but it seems like a lot of extra work.

Never mind i figured it out...
For those who look for this later:
	markers: { 			discrete: [{i:1, j:3, strokeColor:"#FFF", fillColor:"#000", size:12}], 			size: [0,3], 			strokeColor: ["#fff","#fff"], 			strokeWidth: 3, 			strokeOpacity: 1, 			fillOpacity: 1, 			hover: { 				size: 6 			} 		}
Where i = seriesIndex, j is the specific marker's index, with fill, stroke, and size as available to change. Above, this changes the 3rd marker in the second series (as the series are indexed from 0), and sets the fill to black, stroke to white, and size to 12.

Hi, thanks for bringing this to attention. I am going to change the property names in the discrete markers to something meaningful. i, j doesn't make sense.
So, proposed values will be
markers: {
  discrete: [{
    seriesIndex: 1,
    dataPointIndex: 3,
    ...
    ...
  }]
}

The change will be done in 2.2.1
The docs will be updated too, thanks.

Updated the documentation for markers.discrete - https://apexcharts.com/docs/options/markers/#markerDiscrete
Make sure, you update the params to reflect the latest props.
markers: {
  discrete: [{
    seriesIndex: 0,
    dataPointIndex: 7,
    fill: '#e3e3e3',
    stroke: '#fff',
    size: 5
  }, {
    seriesIndex: 2,
    dataPointIndex: 11,
    fill: '#f7f4f3',
    stroke: '#eee',
    size: 4
  }]
}


IfExists.RETURN_OR_UPDATE configuration for createOrUpdateArtifact

from #15
In order to evolve a schema and therefore to create new versions of one artifact currently we only support explicitly using the version property, like:
...
metadata:
name: pets-avro-example-v1
spec:
artifactId: pests-avro-record
...
...
metadata:
name: pets-avro-example-v2
spec:
artifactId: pests-avro-record
version: "2"
...
However if we use the feature IfExists.RETURN_OR_UPDATE when calling createArtifact new versions could be created automatically.
Test this carefully to avoid having a situation where new versions are continuosly created in a loop.

I would suggest even make this configurable over env variables, so one can choose the behavior.


Transpiling ES6 generators into a ES5 state machine?

This must have been discussed here, but I couldn't find that discussion. So what's the reason for not supporting es6 generators when targeting es5?
In my spare time I'm writing a tsumego (it's like a mating problem in chess) solver in js which is supposed to be run on a tsumego hosting site like goproblems. This means that the solver must be es5-compatible. The solver itself is a fairly complicated variation of the depth-first search which is, obviously, recursive and can easily go 30-40 stack frames deep.  I obviously needed a way to implement a special tsumego debugger that would let me use F10, F11, Shift+F11 to suspend and resume the solver at some interesting locations in the search tree, but a conventional recursive function doesn't allow to do that: it either runs to the end or just hangs due to some bug causing a tricky infinite loop 30-or-so levels deep in the search tree. So I had to rewrite the solver in a non recusrive form, which made it much less elegant. Today I've realized that what I actually needed is a recursive generator that would yield at every node in the search tree and yield* itself when it needs to go deeper.
I'm aware of transpilers like traceur that can do this transformation, but I'm afraid that this won't work with tsc well: if I write yiled* in a ts file, vs2015 will complain about the syntax, tsc will simply fail and traceur won't be able to do much due to ts-specific type annotations.

I'm aware of transpilers like traceur that can do this transformation, but I'm afraid that this won't work with tsc well: if I write yiled* in a ts file, vs2015 will complain about the syntax, tsc will simply fail and traceur won't be able to do much due to ts-specific type annotations.

You can compile with --target es6 to strip out annotations and then pass it through to traceur / others.

So what's the reason for not supporting es6 generators when targeting es5

Just work that needs to be done. It will come with release 1.6 :https://github.com/Microsoft/TypeScript/issues/1664

Will I lose the ability to debug the original .ts files via source maps? Theoretically a tool like traceur could take into account a preexisting source map and generate a composition of source maps, but I have a doubt that traceur is this advanced.

Just work that needs to be done. It will come with release 1.6

Thanks. This answers my question.

To be clear, targeting ES6 with async will be supported in 1.6. Not downlevel support.
My understanding is that the work required is understood (#1781), but the team is still weighing the complexity/gain tradeoff.

As mentioned, this is on the table, we just haven't done/committed to it yet.

Will this be implemented? why is this issue closed?

Please note, this is gated on https://github.com/Microsoft/TypeScript/issues/5595

Any progress on this? #5595 has resolved.

Downlevel generator support has been declined due to excessive complexity and inability to achieve 100% feature parity. Notes at #10307

For anyone looking for a solution, here is how I solved it.
I set target: "es6" in tsconfig compilerOptions. This is all I do for dev, it works fine for me in chrome 52, but I needed to set module: "commonjs" as well because chrome complained about import statements. Then for production I just pass the output through babel.
For example I'm using webpack so my webpack.config.js looks like this:
const typescript_loader = process.env.NODE_ENV === 'production' ?
  'babel-loader?presets[]=es2015!ts-loader' :
  'ts-loader';

// lines omitted

  module: {
    loaders: [
      // other loaders
      { test: /\.tsx?$/, loader: typescript_loader },
    ],
    preloaders: { ... },
  }

// rest omitted

This was sad news for the part of react/redux community that have adopted redux-saga for side-effect where generator functions are essential.
@nhjk I think regenerator is a more lightweight work-around.

Very sad, indeed...
@jonaskello Do you have an example of how you use regenerator with Webpack to support redux-saga?

@kdalgaard Sorry, I have no examples for webpack close. However I know this starter is using regenerator with jspm. Maybe you can have a look and do the same for webpack.

If async await landed in TS 2.1, and these are using generators, how come that generators are not possible to include? Thanks!

Generator support should be available in the next release. see https://github.com/Microsoft/TypeScript/issues/1564.


Reduce verbosity of aiosqlite logger

Codecov Report

Merging #12 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   79.06%   79.08%   +0.01%
==========================================
  Files          37       37
  Lines        1132     1133       +1
==========================================
+ Hits          895      896       +1
  Misses        237      237

Impacted Files
Coverage Δ

tardis/observers/sqliteregistry.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8da9af...d283e39. Read the comment docs.


why i failed to run boot2docker-vm using boot2docker command when i can boot it from VBox GUI?

this issue is a bit related to issue #686, but they are different.
because in issue 686 i cannot boot this vm from GUI, the problem maybe that the vm is broken in issue 686. While in this issue i can boot it from gui, so the vm seems to be normal, but why i cannot boot it using command line, and why i cannot connect the vm which is running is vbox using boot2docker ssh, and status command also failed , what's wrong?

after the vm is booted from gui, i still failed to run boot2docker command..
E:>boot2docker status
error in run: Failed to get machine "boot2docker-vm": fork/exec C:\Program Files\Oracle\VirtualBox\VBoxManage.exe: Access is denied.
E:>boot2docker ssh
error in run: Failed to get machine "boot2docker-vm": fork/exec C:\Program Files\Oracle\VirtualBox\VBoxManage.exe: Access is denied.

now it's nearly assured that there maybe some bug in boot2docker command line, this time i can boot the vm using command  VBoxMange startvm boot2docker-vm, and boot2docker commad still fails to communicate with the runing vm

You seem to be using the built in Windows cmd.exe shell - which is not supported. You need to use the Boot2Docker shell (the installer should have put a link to it on your desktop, and in the Boot2Docker Program Files folder.

@SvenDowideit i know that link point to a file named start.sh, i failed to run it:( the error message is the same as what you seem above...

if that fails with the same error, then your .sh extensions are linked to the wrong program, it needs to be linked to, and running in MSYS-Bash. if you see a C:\ style prompt, thats not the right shell.

@SvenDowideit
i have switch to sh cli, still failed to run start.sh, the error seems to happen at boot2docker init, and it has something to do with .ssh/ folder,
Do the boot2docker installation install msys to the win7 system, if yes, where is the sh.exe the msi file install to my system, seems now i am using the cygwin tool i installed rather than the tools provided by bootdocker,

The Boot2Docker installer for MSYS-git is in programfiles/boot2docker (or similar).

i  know the installer, i install docker to folder H:\CloudTool\Docker
and the msys file for installation is in H:\CloudTool\Docker\installers\msys-git, but where msys is installed by default? i cannot find it in H:\CloudTool\Docker

I would hope that it installed itself into the progamfiles folder.

but you can find that cygwin is not installed to H:\CloudTool\Docker :(

its not supposed to be installed into that folder. MSYS-git's installer installs itself into its own directory, as does virtualbox.

seems msys don't ask me where i should install it when i am installing docker on windows:(
so where is it, is it installed? how do i know that?

when MSYS installs, it puts some icons into your program files - one is bash.
similarly, the boot2docker installer adds some shortcuts, including a Start Boot2Docker one on the desktop

i am also getting the same error in my system. but while manually loading the GUI seems to load the docker daemon, the boot2docker client somehow gets me the error in VM. Please find the error that i am getting in virtual box. this error was not coming when i manually configured the vm mysef but that was not linked by boot2docker when i ran start.sh.
00:00:01.076650 Guest Log: BIOS: CDROM boot failure code : 0002
00:00:01.076841 Guest Log: BIOS: Boot from CD-ROM failed
00:00:01.077068 Guest Log: BIOS: Boot : bseqnr=2, bootseq=0023
00:00:01.077367 Guest Log: BIOS: CDROM boot failure code : 0002
00:00:01.077623 Guest Log: BIOS: Boot from CD-ROM failed
00:00:01.077866 Guest Log: BIOS: Boot : bseqnr=3, bootseq=0002
00:00:01.078302 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=80
00:00:01.078567 Guest Log: BIOS: Boot from Hard Disk 0 failed
00:00:01.080237 Guest Log: Could not read from the boot medium! System halted.


Feature request: else/tabwriter~ should output samples or time when ended

It would be nice to get a reading of how many samples have been recorded by else/tabwriter~. It should be in absolute samples from sample 0, or samples recorded, instead of just bangs. With the absolute number of samples recorded, the length of the sample can be used to get a periodic time that can be used to initialise other samplers. For instance 2x length for twice the beat length, and synchronized beat making.

do you mean that along the bang there's the output of a float with the number of samples?

Either would be fine, since a sample output can also be used as a bang. Not sure whether an absolute length from 0 is better or the number of samples that was just recorded.

I don't understand what's the difference between absolute length and number of samples that was just recorded.
what about a signal output that keeps track of the index being recorded?

For instance 2x length for twice the beat length, and synchronized beat making.

can you give me examples of what is it that you want with this? I mean references, videos and stuff

Bearing in mind that this is to create consistent loop sizes. In a buffer of 20seconds, i record a sample from 0 - 12 seconds. If i know this is a 12 second loop, I could set the length of all other tabwriter~s to be 12 seconds. If i record from 4 - 17 seconds, if tabwriter~ outputs the time recorded, i could do this as well. With set time durations, i could configure loop 2 to be 3x as large as loop1, which is 36 seconds.
At this point, tabwriter~ doesn't output a bang when [ stop ( but does so after finishing. A continuous output of where the write head can also be helpful. In the stutter fx example, the write head position could be used to specify a loop point for the read head, and a loop point minus some time for the start of the read. The stutter is a loop from start read to the loop point. The only problem occurs when the start read point is near the end of the buffer and the write head has wrapped back.
Which brings me to the related point about speed and direction of playback for tabreader~. I'll note it here instead of another issue. If there is a playback direction, 1 for forward, -1 for back, and any other number for speed, the previous problem of a wrap back is solved.

Looks like beta 36 has speed in percentages.


(PUP-6629) Emit corrective change messages at info

The changes made in commits fc9e5b02de9c3876abaafbf879b77423c4d74173
and b941773cf0d138a12be68bb5cb718221ed38795c introduced exception
logging around corrective changes.  When comparison for a Puppet
property by way of insync_values? were performed, the intent was to
propagate this to an end user.
However, the code was written against a code path that didn't exist.

Instead of refactoring the logging code to allow an info level
exception, emit an info message instead.
This has the downside of not carrying stack trace info in the message,
but has the upside of not changing any existing logging behavior.  A
stack trace at this point is not as valuable as it might seem given
there typically won't be any additional info to glean from it, other
than the failure point.
To make the message more greppable in the source code, restructure the
message slightly.

An example of an emitted message that shows during a --trace is:
  Info: Unknown failure using insync_values? on type: Acl[c:/temp/REM_FI~2.TXT] / property: permissions to compare values [{}] and [
 { identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], affects => 'self_only', is_inherited => 'true' },
 { identity => 'BUILTIN\Administrators', rights => ["full"], affects => 'self_only', is_inherited => 'true' },
 { identity => 'BUILTIN\Users', rights => ["read", "execute"], affects => 'self_only', is_inherited => 'true' }]

For comparison sake, #5233 has a +56 / -24 diffstat and could have an effect on other logging callers, while this is a +2 / -1 diffstat that confines the change to corrective change logging.

Also for comparison sake, here's a slightly dirty diff showing the difference in a --trace --debug --verbose run between logging full exception info and logging just an info message - https://gist.github.com/Iristyle/c51507f6c81744da632602e8d27d51d3

CLA signed by all contributors.

It's burried way in the stacktrace, but this does lose the actual exception message. Line 101 in your gist.
I'm not sure it's worth the hassle of messing with log_exception for the sake of that, though. I'm inclined to go with this, and consider "better messaging around corrective change failures" to be something we can bang on later.


doc page feedback

Provide Feedback on Docs
Enter feedback for any of the following. If you meant to enter a bug, select Issues then Bug Report.
For the search job api docs. The section title suggests that you send the post payload with query params but that doesn't work. You need to send the payload with the request body.
Specific page:
If you clicked Log an issue through the site, the doc file is in the issue title. Or add a link to the page you want to give feedback on.
https://help.sumologic.com/docs/api/search-job/#query-parameters
About the site:
What would you like to see on the website? Section should be corrected to "query request body" or something to that effect as not to confuse the reader with "query params"

@hoanj-procore, thank you for your feedback. We'll change "Query parameters" headings to "Request parameters".


Remove "stale bot" ?

The stale bot allowed us to keep some interesting issues, while we got the opportunity to clean many things.
I don't think we need the bot anymore (we are managing the issues and PR better now).
Nowadays it even hurts more than its doing good: it brings friction to issues and pull requests ("Why is this bot closing something that matters to me!").
Should we remove it?

^ haha ... :joy:    the :robot: doesn't like the idea!

Yes, the stale bot is unused as it may remove the important issues without any confirmation from the repo owner. By the way, can I know that why this question is marked as the good first issue? If its a reviewing question, then you can assign me the issue. @evrardjp

Yes, the stale bot may remove the important issues without any confirmation from the repo owner. By the way, can I know that why this question is marked as the good first issue? If its a reviewing question, then you can assign me the issue. @evrardjp


[GSSOC'21] forgot password should be with login not with sign up.

Describe the bug
Currently forgot password option is with sign up, It should be with login. Also, the spelling is wrong.
Possible solution
I'll place it in the right place by correcting the typo.
Screenshots

Ok Go ahead...
On Thu, 18 Mar, 2021, 6:58 pm Sonali Kushwaha, @.***>
wrote:

Describe the bug
Currently forgot password option is with sign up, It should be with
login. Also, the spelling is wrong.
Possible solution
I'll place it in the right place by correcting the typo.
Screenshots
[image: elektra]
https://user-images.githubusercontent.com/57946528/111633643-ba898000-881b-11eb-926e-e1eb5497d5a7.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/khannakshat7/Elektra/issues/100, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3XXPFMOJEQDVGH775QJ2TTEH5XVANCNFSM4ZMT5VOA
.

@khannakshat7 sir please add the GSSOC label and level to this issue, and as you told me to go ahead I started working on this issue but you haven't assigned this issue to me. So please assign it to me.

@khannakshat7  sir, I've made the required changes, kindly review the code.


Complete basic support for wasm32-wasi

The goal is to get this command to pass:
./miri test --target wasm32-wasi empty_main integer vec string btreemap hello hashmap heap_alloc align

I think all that's missing here is

support for printing to stdout/stderr
support for getting randomness

Looking at this last night, it seems that the FFI library basically casts everything to i32 before passing. But the specified signatures use proper types like pointers & such.
For example for the random_get function the specified signature is:
(@interface func (export "random_get")
  ;;; The buffer to fill with random data.
  (param $buf (@witx pointer u8))
  (param $buf_len $size)
  (result $error (expected (error $errno)))
)

So essentially random_get(buf: const* u8, buf_len: usize) -> errno
But the FFI wrapper uses random_get(arg0: i32, arg1: i32) -> i32
Essentially this program is how I see it:
https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=d17cb441fcafbf87168fe879375b52b0
So the question is, should we get an exposed pointer from the address passed? There is no reason why the implementer of the FFI function would call from_exposed_addr on the buf parameter based upon the specification. But if we don't, essentially every function will fail because we will read just a raw addr without any provenance.
This is definitely a bug in the FFI bindings. I remember this pattern used to be semi-pervasive before the concept of provenance was popularized in the Rust community. Reading around the WASI github, they are applying the WASM machine implementation to the Rust FFI bindings. I see a few times saying that they are only reflecting the reality that WASM is just linear memory in the signatures.
It seems that in the latest version this is not done though thankfully. The specified signature matches the FFI decl signatures.
Another interesting note is in the specification of the latest version wrt to miri:

Deterministic environments must omit this function, rather than implementing it with deterministic data.

Specifically for the secure random

Looking at this last night, it seems that the FFI library basically casts everything to i32 before passing. But the specified signatures use proper types like pointers & such.

That's unfortunate, makes writing wrappers in Miri a lot more annoying.

So the question is, should we get an exposed pointer from the address passed? There is no reason why the implementer of the FFI function would call from_exposed_addr on the buf parameter based upon the specification.

That is exactly what the implementor must be doing, if it is implemented in Rust.

Essentially this program is how I see it:
https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=d17cb441fcafbf87168fe879375b52b0

Is the implementation written in Rust or wasm? If it is written in Rust, then this looks like UB to me, at least if there's any chance of the declaration and implementation being part of the same Rust Abstract Machine (e.g., any kind of link-time optimizations).

they are applying the WASM machine implementation to the Rust FFI bindings. I see a few times saying that they are only reflecting the reality that WASM is just linear memory in the signatures.

That makes little sense. x86 memory is also linear and we don't write our FFI bindings like that for x86 either.
--
Another interesting note is in the specification of the latest version wrt to miri:

Deterministic environments must omit this function, rather than implementing it with deterministic data.

Specifically for the secure random
We're interpreting Rust code, not wasm code, so I don't feel particularly bound to whatever the wasm standard says about wasm runtimes.

That is exactly what the implementor must be doing, if it is implemented in Rust.

Only if you generate the bindings with that specific version of their tool. If you use a newer version of their tool, or write the signatures yourself based upon the spec then you will not have the pervasive integers, and end up in the situation of what the playground example shows. Which is why I ask if we just reflect the reality of what Rust's stdlib links today, or if we reflect the spec of the functions.
In reality I do not know if anyone regenerates bindings or writes the declarations themselves.

Is the implementation written in Rust or wasm?

They seem to be built-in functions of the WASI environment, so WASM.
Looking into it further I did have concerns about LTO, but it seems that the C API uses Hungarian notation so there isn't risk with LTO.

but it seems that the C API uses Hungarian notation so there isn't risk with LTO.

Even if the C code used the same name it still wouldn't conflict as the wasi imports are specifically declared as imported from the wasi_snapshot_preview1 wasm module. Rustc will keep the symbol mangled like it would for non-foreign functions and instead attach some metadata to tell the linker to import it from wasi_snapshot_preview1 after linking.

Oh, yeah. Here's exactly what I was talking about
https://github.com/bytecodealliance/wasmtime/blob/a77e87732e4e94ab6a2cee65bd5d74670bafe4ad/crates/wasi-preview1-component-adapter/src/lib.rs#L1528-L1533

Only if you generate the bindings with that specific version of their tool. If you use a newer version of their tool, or write the signatures yourself based upon the spec then you will not have the pervasive integers

So... do we just need to update std to use bindings generated with a newer version then?

Looks like std uses wasi crate version 0.11. In 0.12 the API changed but internally it is still using i32 for the pointer type. But in 0.13 it says *mut i32.
It probably doesn't make a ton of sense to implement the old preview1 functions in Miri. So ideally std would be updated to wasi 0.13 and then we can implement the preview2 (?) APIs, and we can expect the argument to have provenance as it should.

Even with wasm32-wasip2, std calls the preview 1 functions. Strange.

Based on the Zulip discussion, it seems like updating std to use the preview-2 APIs may take a while.
So we can either wait, or implement the APIs with internal int2ptr casts in the mean time.


Accordion Directive

Accordion Directive using Bootstrap.

Not to be picky, we could merge it as-is, BUT

If you implement this as a shortcode we can use it in markdown and other similar things
You can then do the directive on top of the shortcode

There are examples in the nikola codebase if you want to go that way.
Also: Saying "no, please merge as-is" is a perfectly acceptable answer ;-)

I don't know how to do that. When I coded the Accordion directive I modeled it after the Slides directive. Can you suggest a different plugin for me to look at to understand how to code this as a shortcode?
And would this even work in something other than reST? Note accordion.py has a call to rest.rst2html, which is essential for someone to create an accordion with images or videos inside.

I see. Oh well, let's merge it as-is then.
Thanks for the contribution!

 This is my first Nikola contribution.

When will this be available for users to install? I just tried using the command nikola plugin -i accordion and it said it couldn't find the plugin. Also see it isn't mentioned on https://plugins.getnikola.com/.

When will this be available for users to install? I just tried using the command nikola plugin -i accordion and it said it couldn't find the plugin. Also see it isn't mentioned on https://plugins.getnikola.com/.

The site is meant to be updated automatically every day; this did not happen due to a misconfiguration. I fixed the scripts and rebuilt the site.

Also, I just noticed that this directive requires bootstrap4 to work correctly. It does not work with bootstrap3. It is an easy fix and I will take care of it.

If you can make it compatible with both, then that’s great. Otherwise, we don’t need to support the bootstrap3 theme.

How do I go about doing that with this pull request? Do I make a new pull request? Do I need to update my fork?

You need to make a new pull request. You will need to update your fork:
git remote add upstream git@github.com:getnikola/plugins.git
git pull upstream master

After that, you can make new commits, push to the origin remote, and make a new PR.

I maintain a nikola website that uses bootstrap3 so I'll try to make it compatible.
Is there a way for the directive to tell if the user's theme uses bootstrap3 or bootstrap4? A solution will require the directive to pick one of two templates.

While there are some possibilities with using the theme inheritance tree,
this doesn't work for custom themes that don't inherit from our bootstrap3
theme.
--
Chris Warrick https://chriswarrick.com/
On Tue, 1 Oct 2019, 19:15 Jim<EMAIL_ADDRESS>wrote:

I maintain a nikola website that uses bootstrap3 so I'll try to make it
compatible.
Is there a way for the directive to tell if the user's theme uses
bootstrap3 or bootstrap4? A solution will require the directive to pick one
of two templates.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/getnikola/plugins/pull/312?email_source=notifications&email_token=AACP5GZFCPSA5SSL5SNNJKDQMOAR5A5CNFSM4IZFCP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEACA3VY#issuecomment-537136599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACP5G4KJDLXXXQYOGDIECLQMOAR5ANCNFSM4IZFCP2Q
.

I maintain a small website that uses bootstrap3 and it was easier to fix the directive than change the custom theme. It was an easy fix. I also made some other minor improvements.
In the next week or so I'll make Jinja templates, test, and make a new pull request. Thanks for the advice.


Configuration still points to the older board used as template

Hi, all.
I don't think this is a bug. I am probably missing some very obvious step.
I've been trying to port Nuttx to a new platform using IMX6 (sabre-6quad) as a start point since it also uses armv7-a.
After copying and changing all the required files with respect to  arch/arm/include/"mychip", arch/arm/src/"mychip", boards/arm/"mychip"/"myboard", including boards/Kconfig, when I run ./tools/configure.sh "myboard":nsh, it still uses the IMX6 paths.
I didn't change the file boards/arm/"mychip"/"myboard"/configs/nsh/defconfig, since it says that it would be created automatically.
Thanks for the help and keep it up! Sorry if any information is missing. Please let me know and I will complete this description.
PS: I am using GNU/Linux as the operating system.

Hi @tcpaiva nice to hear from you!
Before running "./tools/configure.sh "myboard":nsh" you need to manually modify boards/arm/"mychip"/"myboard"/configs/nsh/defconfig to replace any references from IMX6, SABRE-6QUAD, etc to your board. Pay special attention in this process because any "CONFIG_" name incorrect will generate strange errors later. Also the board directory name needs to be correct.
You just need to do it once, after that every time you modify the menuconfig and run "make savedefconfig" it will create a sane defconfig to be used for new config. You don't need (read: shouldn't) to modify manually later.
This is a chicken-egg dilemma, to create a correct defconfig you need an initial defconfig configured for your board. AFAIK there is not a tool to create the initial "egg" for you.

Hi, @acassis! Good to hear from you as well! You are very active here as always. Thanks for the prompt feedback. :grin:
I tried what you mentioned and when I run ./tools/configure.sh -l <myboard>:nsh, I get:
$ ./tools/configure.sh -l <myboard>:nsh
Sun Jul 23 08:51:27 PM EDT 2023
  Copy files
  Select CONFIG_HOST_LINUX=y
  Refreshing...
CP: arch/dummy/Kconfig to /path/to/nuttx/arch/dummy/dummy_kconfig
CP: boards/dummy/Kconfig to /path/to/nuttx/boards/dummy/dummy_kconfig
LN: platform/board to /path/to/apps/platform/dummy
LN: include/arch to arch/arm/include
LN: include/arch/board to /path/to/nuttx/boards/arm/<mychip>/<myboard>/include
LN: drivers/platform to /path/to/nuttx/drivers/dummy
LN: include/arch/chip to /path/to/nuttx/arch/arm/include/<mychip>
LN: arch/arm/src/chip to /path/to/nuttx/arch/arm/src/<mychip>
LN: arch/arm/src/board to /path/to/nuttx/boards/arm/<mychip>/<myboard>/src
(...)

However, if I execute make menuconfig just after, I get:
$ make menuconfig
Sun Jul 23 08:54:29 PM EDT 2023
CP: arch/dummy/Kconfig to /path/to/nuttx/arch/dummy/dummy_kconfig
CP: boards/dummy/Kconfig to /path/to/nuttx//Kconfig
LN: platform/board to /path/to/apps/platform/dummy
LN: include/arch to arch/arm/include
LN: include/arch/board to /path/to/nuttx//include
LN: drivers/platform to /path/to/nuttx/drivers/dummy
LN: include/arch/chip to /path/to/nuttx/arch/arm/include/stm32
LN: arch/arm/src/chip to /path/to/nuttx/arch/arm/src/stm32
LN: arch/arm/src/board to /path/to/nuttx//src
No directory at /path/to/nuttx//src
make[1]: *** [tools/Unix.mk:300: arch/arm/src/board] Error 1
make: *** [tools/Unix.mk:674: menuconfig] Error 2

I have no idea from where the stm32 comes from. It seems there is something really strange with my setup. :sweat_smile:

Normally this error means that your new architecture or board definition is incorrect or missing some symbol definition.
Note this double slash ("//"), it is the clue you need to config that the symbols were resolved.
For ESP32C3-Devkit board I have this definition:
LN: platform/board to /nuttxspace/apps/platform/dummy
LN: include/arch to arch/risc-v/include
LN: include/arch/board to /nuttxspace/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/include
LN: drivers/platform to /nuttxspace/nuttx/drivers/dummy
LN: include/arch/chip to /nuttxspace/nuttx/arch/risc-v/include/esp32c3
LN: arch/risc-v/src/chip to /nuttxspace/nuttx/arch/risc-v/src/esp32c3
LN: arch/risc-v/src/board to /nuttxspace/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/../common
LN: arch/risc-v/src/board/board to /nuttxspace/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src

Probably you have errors in both, in your arch definition and your board definition. Before to create a new arch, I suggest you to just create an iMX6 board, just for test, to confirm your system is sane and to get started with the process. For example you can create an Wandboard i.MX6, you will basically copy the Sabre board and rename the symbols.

Thanks for the tips, @acassis. I was able to figure out what was wrong in my Kconfig files. Now I have menuconfig working and I am able to compile the code. It is time to start debugging. =)


App not working

I followed all the instructions listed but when it ran utd my console returned an error saying: zsh: command not found: utd.
How to recreate:
1.Follow installation instructions
2.Run utd
3.Get an error

Hmm, maybe it has something to do with the environment variable, add this to your .zshrc file:
export PATH=$HOME/bin:$PATH

Yep that fixed it. Thanks for your help!


Add SMS Announcement Support

After a bit of digging, I found details on how to send Text Messages to via the Internet.
https://github.com/typpo/textbelt
Quite a large number of carriers accept messages sent to e-mail addresses like so:
<EMAIL_ADDRESS>A list can be found here:
https://github.com/typpo/textbelt/blob/master/lib/carriers.js
FWIW, carriers can be aggressive when it comes to anti-spam flagging SMS senders, so care needs to be taken not to get blocked.
If you search GitHub for SMS, you'll find plenty of other SMS related projects. Unfortunately they're a bit scatterbrained, and often country or platform specific.
Consider starting a project that generalizes textbelt in to a platform agnostic SMS library. By that, I mean move the carrier data in to a general JSON file, and documenting how it works internally, and any nuances of certain carriers.
There are paid services that handle this (Twilio, Plivo), and those will always be better, but LD should avoid relying on anything that costs money (unless absolutely necessary).

I did some research several months back, and it's just not convenient to do this without a service.
As a result, this feature would have a monthly burn rate.
Sources of SMS messages can be any phone number. Vanity numbers (less than 10 digits) start at $1000/mo. Toll Free numbers (1-800, 1-888, etc) are ~$2/mo, and make more sense than local numbers (~$1/mo). It's not clear though how necessary this is, as some regions (India) don't even offer anything but local number SMS.
Usage is a tad pricey. It tends to be around 1 cent per text (sometimes lower). At Ludum Dare scale (3 events per year) it's probably not a big deal, but there is going to still be a monthly burn rate on this.

Closing this. SMS is a dying technology.


Give ModalUsername, ModalUsername2 etc descriptive names

At the moment we have no less than four Vue components named "ModalUsername":
ModalUsername
ModalUsername2
ModalUsername3
ModalUsername4
These have to be given better names that describe the differences between them. Also we should check if in fact some of them can be combined into one component that can be parameterised for the desired behaviour or looks.

ModalUsername renamed to UsernameNoAvatar
ModalUsername2 renamed to UsernameAvatar
ModalUsername3 renamed to UsernameAvatarChip
removed ModalUsername4


Aurora IV bot for ge1doot channel

Long time listener first time caller 🌈

Fantastic, thank you!!

Thanks @jakerockland! FYI I tested this here and is still defaulting to Ignition project: https://discord.com/channels/411959613370400778/807346227594919986/882360389533315092
Did I miss something or does bot need redeploying?

Just hadn't been redeployed yet post-merge (that isn't automatic, yet), but it is now :)

sweet! happy to help with pipeline, just lmk 🤝


Enhance the documentation and slide shows entries from the home tab

[x] Introduce slide shows section
[x] Clean the tour
[x] Add more links to documents


Import existing Eclipse .epf file #81

@dubreuia: Please review the fix for #81!
Please not that the EPF-support is limited to Java only, as you can see in the configuration-prefix org.eclipse.jdt.ui. Other types like those for JavaScript org.eclipse.wst.jsdt are not supported (yet).

At https://github.com/markiewb/intellij-plugin-save-actions/releases/tag/v22withEPF you can find a SNAPSHOT-build

Thanks for your PR I'll review it asap.
If I understand correctly: it won't sync with the .epf file, but just import it once when you close the settings page for the first time?

@dubreuia: No. That is not correct. While saving an edited file, the plugin will load the configuration file, provide a Storage instance based on the settings in the file and uses this instance as the base for formatting. So once configured, external changes to the configuration file will alter the formatting behaviour.
Perhaps we should add a clarifying label to the dialog to describe this feature for the end-user.

OK I see. Yes we should add at least a clearer label in the settings pages, and some documentation in the README.

@dubreuia: What is next?

Sorry I'm in vacation I'll finish the code review when I come back this
weekend
On Sep 20, 2017 15:27, "markiewb"<EMAIL_ADDRESS>wrote:
@dubreuia https://github.com/dubreuia: What is next?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dubreuia/intellij-plugin-save-actions/pull/106#issuecomment-330955815,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoJQ7rt75MN3mmJI_LSYIK3wj5-qAKLks5skWcugaJpZM4PSWWr
.

I haven't forgotten this one, too much work right now

I just merged this, but I made a lot of modifications on your code. Can you test it @markiewb please? I'll wait for your testing before release
save-actions_0.22-RC.zip


Build-Settings on multiple targets

we have a problem inside fastlane_core/project.rb - the method build_settings()  is faulty/not-reliable when users have multiple targets in one build phase. (example below)

the problem is that
 xcodebuild clean -showBuildSettings -workspace Fotoplus-iOS/cewe_myphotos.xcworkspace -scheme CeweMyphotosJenkins -configuration Jenkins
returns build  settings for all targets. but project.rb https://github.com/fastlane/fastlane/blob/master/fastlane_core/lib/fastlane_core/project.rb#L299 returns on first found key.
which results in a false/positive return in  build_settings  for PRODUCT_TYPE key. (returns from the first, POD, type == framework)
for now this seems to work, because only "SUPPORTED_PLATFORMS" is used, which is consistent across targets, so it does not trigger the bug.
does anyone have a idea on how to solve this to make build_settings() work with asking for a key like PRODUCT_TYPE
once this is resolved, its easy to let gym build commandline-apps/librarys/frameworks and so on.
/cc @KrauseFx @ohwutup @milch

still an issue 🗡


Added PostgreSQL to backend/database by Parmesh Bhatt

Closes #1132

Changes proposed
I have added the PostgreSQL/database in the backend category.
Please review it and If it is fine, please merge it to the main branch.
Screenshots

Note to reviewers

Hi @Parmesh119! :) I pointed out a proofreading error in my inline comment. In the future, consider running your descriptions through Grammarly before making a pull request. Other than that, you're off to a great start! :)

Ok


AWS Device List

Device list, rebased on top of the new Dataflow structure. @kswenson, I made a number of design decisions that might be worth discussing. I'll leave some comments and we can catch up later if you'd like

Actually I'll summarize here:

I created a new dataflow-stores for the Dataflow-specific stores. This led to the creation of a new base component class with access to the new stores
I kept all the exported names the same, e.g. IStores instead of IDataflowStores. This simplified coding a bit - I don't need to remember when there's a Dataflow version of something, I can just check the imports when I use a variable I'm used to
I created an iot class, which is modeled after db. It keeps track of active connections, and starts when the Dataflow app content loads

Here are some useful links:

Cognito pool: https://console.aws.amazon.com/cognito/pool/?region=us-east-1&id=us-east-1:153d6337-3421-4c34-a21f-d1d2143a5091
Editing the Cognito pool: https://console.aws.amazon.com/cognito/pool/edit/?region=us-east-1&id=us-east-1:153d6337-3421-4c34-a21f-d1d2143a5091


Don't add target attr to anchors with id hrefs

This update will check link hrefs to make they don't have a leading "#" character before adding the target="_blank" attribute

This is for issue #7

Closing in favor or #8


Semantic Segmentation on RTX 3060ti is very slow

Description
I'm using RTX 3060ti for semantic Segmentation , it takes long time to segment out object ( inference on video)
2 minutes video covering in 10 minutes.
How can I speed up my model ?
Images

Website
https://github.com/maudzung/TTNet-Real-time-Analysis-System-for-Table-Tennis-Pytorch
Credit (optional)
No response
Source Code (optional)
No response

Hi @Razamalik4497, on what platform are running inference?

Closing due to inactivity and looks like this is a PyTorch question, not PyTorch Live


(TBD) Deny users from posting if they have more than 5? 10? reports on their account

Makes sense to me tbh. If you have enough active reports on your account in total, you probably shouldnt be posting

instead of querying Reports and counting the number of reports against a user every time they want to comment/post/edit, maintain a canPost boolean on the User that gets checked/updated on every report (a less frequent event).

add canPost boolean to User
add canPost checks/updates to report & absolve functions
add checkCanPost to EVERY user action that needs it, requires adding a param to all those functions that passes in the current user?

moving this to stretch goals bc I don't want to do all that rn before more important stuff. We'll rely on employees banning people and to-be-banned users not continually spamming bad content. Their OG reported content will get hidden anyway

closing as not planned because it's not explicitly a good addition: people could report bomb a user to unjustly ban them.
For the scope of our app it's fine to let a user keep posting until they hit their media cap or an employee takes their content down. Also the content will be hidden at 5 reports anyway.


Allow dots in environment names (specifically, in version numbers).

Modified the name validation regexp to allow dots after the first character (to prevent hidden files, and parent directory refs).

This will cause a problem with #48 (https://github.com/wtsi-hgi/softpack-core/pull/48/files#diff-7d1716a6cc7338126394855a08f774de9bf287534431df547fc03c25fce75317R375-R378):
            m = re.fullmatch(r"^(.*)-(\d+)$", env.name)
            if not m:
                raise Exception
            versionless_name, version = m.groups()


Keep session alive using recovery code

This allows to specify a recovery code in the login method. If specified, it'll use it instead of asking for the 2FA.

Works well in my testing.


Bazel build causes NullPointerException in plugin

Open attached minimalistic project and select Bazel->Compile project. As the result we get java.lang.NullPointerException 	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:260) 	at com.google.idea.blaze.base.sync.sharding.BlazeBuildTargetSharder.expandAndShardTargets(BlazeBuildTargetSharder.java:133) 	at com.google.idea.blaze.base.actions.BlazeBuildService$1.execute(BlazeBuildService.java:181) 	at com.google.idea.blaze.base.actions.BlazeBuildService$1.execute(BlazeBuildService.java:155) 	at com.google.idea.blaze.base.scope.ScopedTask.lambda$compute$0(ScopedTask.java:42) 	at com.google.idea.blaze.base.scope.Scope.push(Scope.java:40) 	at com.google.idea.blaze.base.scope.ScopedTask.compute(ScopedTask.java:38) 	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$4(ProgressiveTaskWithProgressIndicator.java:127) 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$3(CoreProgressManager.java:185) 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169) 	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) 	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) 	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156) 	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:185) 	at com.google.idea.blaze.base.async.executor.ProgressiveTaskWithProgressIndicator.lambda$submitTaskWithResult$5(ProgressiveTaskWithProgressIndicator.java:127) 	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) 	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) 	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) 	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:207) 	at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:29) 	at com.intellij.util.concurrency.BoundedTaskExecutor$1.lambda$run$0(BoundedTaskExecutor.java:185) 	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208) 	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:181) 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 	at java.base/java.lang.Thread.run(Thread.java:834)
Bazel version 1.1.0
IntelliJ version 2019.2.4
Plugin version 2019.10.14
Minimalistic repro project:
chat-app.zip

Additional problem with the same repro: Plugin generates Bazel commands like D:\BuildTools\bazel.exe query --tool_tag=ijwb:IDEA:ultimate --output=label_kind --keep_going "attr(\"tags\", \"^((?!manual).)*$\", //...:all - //bazel-bin/...:all - //bazel-genfiles/...:all - //bazel-out/...:all - //bazel-testlogs/...:all - //bazel-chat-app/...:all - //.ijwb/...:all)" -- which fail at execution with the errors:

Thanks, fixing that first bug upstream.
For the second, that might be specific to Windows (which we don't support). Those errors are expected, but they are ignored if bazel returns an exit code of 3, which it does on Linux (https://docs.bazel.build/versions/master/guide.html#what-exit-code-will-i-get).
Could you check what exit code you get when you run that command on Windows?

I have run that command from the command line and indeed exit code is 3, but still when it is run from IntelliJ it shows "Make failed" after it. Excerpt from the idea.log attached:
idea.log
I wonder why the command line even includes all those Bazel output folders (symlinks) into scanning. They are not supposed to have any targets, aren't they?

I see, thanks. The 'make failed' message comes from the NPE, not the (ignored) blaze query errors.

Actually, ignore that, the symlink folders are being explicitly excluded from the query (which they should be). The actual problem is some syntax error:
2019-11-04 10:32:40,379 [333492229]   INFO - QueryDirectoryToTargetProvider - ERROR: Error while parsing 'attr(tags, ^((?!manual).)*$, //...:all - //bazel-bin/...:all - //bazel-genfiles/...:all - //bazel-out/...:all - //bazel-testlogs/...:all - //bazel-chat-app/...:all - //.ijwb/...:all)': syntax error at '^ ( ('

I think this is specific to Windows, since we haven't seen any similar problems with blaze query on linux. We don't have the bandwidth to support Windows or investigate issues with Windows at the moment unfortunately.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


Implicit option names should be kebabed

Example:
@Option(description = "Trigger default templates update")
@get:Input
var updateTemplates: Boolean = false

The option name becomes updateTemplates but it should be update-templates.

This was waiting for Gradle 6.0 to do a small breaking change, now this train seems to be gone..

Would still be nice to have, not present in 6.7.1.
7.0 is around the corner, so maybe now would be a good time for the breaking change? :-)


Release strategy

How to manage releases?
What can be automated?
What should be automated?

Proposal:

Generate a Git tag if the version in the CMakeLists.txt doesn't have a corresponding tag
Run any special release workflows off of the creation of a new tag

Automatically create a GitHub release
Question: How to handle the changelog?

CHANGELOG.md in the project?
Changelog in the GitHub release?


We need to be able to support joining on metadata based on partial code matches (e.g., no valueuom).

https://github.com/mmcdermott/MEDS_transforms/blob/b5f027764441a383e9510804c37633e1b0f30e0f/MIMIC-IV_Example/configs/event_configs.yaml#L211

The solution here is to make it so that, in extract_code_metadata, if the metadata_config (e.g., https://github.com/mmcdermott/MEDS_transforms/blob/main/MIMIC-IV_Example/configs/event_configs.yaml#L217) sets a code part column to null, such as that shown below:
meas_chartevents_main:
  description: ["omop_concept_name", "label"] # List of strings are columns to be collated
  itemid: "itemid (omop_source_code)"
  parent_codes: "{omop_vocabulary_id}/{omop_concept_code}"
  valueuom: null

then the system identifies from the set of allowed codes all those codes that would match the code constructed for the surrounding event with a valueuom set to null and takes a cross-product join between the metadata rows and all matching codes.
This leaves it up to the user to identify which parts of the code are subsidiary on a case by case basis. This will make it trickier to work with a more expressive code parser language in the future, as this will only work if we can deconstruct realized codes into code parts, but that's ok for now.

This is not actively causing any issues given #156 has been resolved, so I've lowered the priority.


MicroProfile 5.0 Specification Review

[x] Specification name and version
[x] Add the label Release Review
[x] Naming conventions for artifacts:

[x] Specification PDF in the form of microprofile-project-spec-version.pdf
[x] Specification HTML in the form of microprofile-project-spec-version.html
project is the microprofile specification short project name (config, health, ...)
version is the two digit x.y version of the specification

[x] The Nexus Staging links (orgeclipsemicroprofile-NNNN where NNNN is the staging repository id) (eg, https://oss.sonatype.org/content/repositories/orgeclipsemicroprofile-NNNN/org/eclipse/microprofile/config/) which contain all the binaries and relevant documentation:

[x] Staging Repo
[x] Spec PDF
[x] Spec HTML
[ ] Javadoc (Not applicable: the platform release does not provide any additional APIs)
[ ] API Jar (Not applicable: the platform release does not provide any additional APIs)
[ ] TCK Jar (Not applicable: the platform release does not provide any additional APIs)

[x] A link in the Eclipse downloads sections is still available for specs and apidocs:

[x] https://download.eclipse.org/microprofile/staging/microprofile-5.0/
[x] An apidocs directory containing the javadoc associated with the API jar. (Note: the platform release does not provide an API JAR)

[x] Summary that a Compatible Implementation is complete, passes the TCK, and that the TCK includes sufficient coverage of the specification.

[x] Compatible Certification Request

[x] Release Review

[x] Follow governance process and create/update release record

Component Release Record

[x] Email to PMC (more info here)
[x] Start release review by emailing EMO (more info here)(Track the bug issue created by EMO after the email)
[x] A member of Steering Committee initiates the ballot by sending an email to [microprofile-wg]<EMAIL_ADDRESS>(more info here
[ ] After the voting has ended, email [microprofile-wg]<EMAIL_ADDRESS>with the ballot result (more info here

The included spec list is formatted differntly (as code instead of a list of links), somehow doubled and contains typos:
https://github.com/eclipse/microprofile/blob/master/spec/src/main/asciidoc/architecture.asciidoc
Typos:
Open API -> OpenAPI (the spec repo name itself has that problem too !)
Open Tracing -> OpenTracing
JWT RBAC is the spec name, but the i.e. repo is named microprofile-jwt-auth - this is inconsistent.
Can we fix the typos, format the list as in MP 4.1 and rename the repos accordingly (this need to be done in their repos of couse)?

The spec document contains an error in the following part:
MicroProfile Rest Client 3.0
MicroProfile  Rest  Client  provides  a  type-safe  approach  for  invoking  RESTful  services  over  HTTP.
The MicroProfile Rest Client builds upon the JAX-RS 2.1 APIs for consistency and ease-of-use.
The JAX-RS 2.1 APIs reference link is outdated because of the change to Jakarta RESTful Web Services!
Should be updated according to the wording and naming in the referenced spec:
Rest Client for MicroProfile
Rationale
The MicroProfile Rest Client provides a type-safe approach to invoke RESTful services over HTTP. As much as possible the MP Rest Client attempts to use Jakarta RESTful Web Services 2.1 APIs for consistency and easier re-use.

@JanWesterkamp-iJUG your comments are duly noted. We will fix these in the next iterations of MicroProfile

@ederks85 While I value quality about quantity, having the release to the intended date (soon) in this case might be ok. This decision gives some time to create the PRs ;-)


Fix "not val.isNil" defect

My runs of Codex often terminated with this error message:
[[reraised from:
]]
Error: unhandled exception: ...Nim\lib\pure\options.nim(118, 11) `not val.isNil`  [Defect]

Duplicate of #270


Updated the demo scripts to post more results

Updated the demo scripts to post more results

This PR is no longer required, closing this.


Language preference not changing

I've changed the language setting from american to british in the User Settings JSON, but it did not change anything. For example it underlines "colour" (color in American English of course.
Can I try something different, or is this just an issue?

Duplicate post. See #362.


wslbridge-backend hang

using wslbridge cause bash on ubuntu on win10 hang
present situation

process stage： Wait:WrPushLock
start time: yesterday, shutdown

(win 10 control panel-> power management -> powerbutton set : rapid boot on)快速启动未关闭

haven't been reboot
can not be taskkill /f /pid (admin)

screenshot

Extra
after tried system's ubuntu launcher so many times, I found when I set PS1=...*__git_ps1 ..
this deadlock circumstance would be reproduced occasionally

so this may MS wsl bug, ignore this here


Write a Swift program to convert meters to miles

Description
Write a Swift program to convert meters to miles
1 mile = 1609 meters
Input  : 8046.72
Output : 5

How to contribute

Save the solution in ConvertMetersToMiles.swift file
Add ConvertMetersToMiles.swift file in convert-meters-to-miles folder

!assign


Zero: Black screen when finish choose the song

Bug report
Description
I've used pumpos to mount PIU Zero game (single game test) and test with my MK9. Gameplay no problem, but whenever I finish choosing song, I expect it should show the song thumbnail (title card) for 5 seconds, but reality it shows black screen instead. You could check my video below
https://youtu.be/zWm9eV5SrKI
Note: This issue occurs in CREDIT MODE, I tested FREE PLAY mode, it doesn't not show black screen

Affected games and versions
17_zero (build 1.03)

Pumptools versions tested
1.12?? (I cloned the latest source code of pumptools - branch master - generate pumptools.zip with make build-docker - just yesterday)
OS and hardware specs

OS: Ubuntu 18.04 LTS (when I implement mount the pumpos and game: 17_zero)
CPU: Core 2 Duo E8400 3.00Ghz
RAM: 8GB DDR3 (2x4 dual channel)
Mainboard: FOXCONN G41MXE-V
GPU: NVIDIA Geforce G210
Controllers/IO: Official PIUIO (old)

Hey thanks for reaching out and providing all the information. So far, I have never heard or seen this issue before.
Does this only happen on Zero? It might be good to know if this also happens on other games of the same generation, e.g. exceed 2, nx and also next generation (nx2, nxa) games. Also, using pumptools master might be the latest but not released yet changes. If you could manually download 1.11 latest compiled binaries and test these, that would also provide some more information regarding when this might have gone wrong.
Also pointing out that I have not had a lot of time in the last months to work on this. I appreciate the feedback as it might help me once I have spare time to pick up some work on this again or someone else who wants to continue to fix any outstanding bugs and understand existing problems with the current state.

@voidderef it is weird that the issue I test today is not happening anymore, and it's hard to reproduce the issue step by step. I will test it again with 1.11 build then. I might close this issue


Repo sync for protected CLA branch

The pull request is created from master637389835907063556 to master to fix git push error for protected CLA branch

@cmcclister : Thanks for your contribution! The author(s) have been notified to review your proposed change.


pull test

Coverage remained the same at 89.093% when pulling 66219b517eeba9875c2a66bb96c5622ad005f08d on user_guide into b3b6a340a1e32442b408f86c57439b42504dc29d on V0.0_mattheus_pull_test.


Remove CDC language

The CDC language that was removed on 9/3/2021 came back in the translated code branch.

Fixed it in 28 files.


Automatically copy selected emoji to clipboard

Would be awesome if there was no need to perform an extra click to copy to clipboard. And the app automatically copied the selected emoji to the clipboard.
Type, select, go!

I would argue against this, copy to clipboard is a destructive action for content already on the clipboard so the user really should make that choice themselves.

We now support Enter for copying to clipboard.


Add Process Wrapper and Launcher

Adds the Process wrapper used to extend processes

handles log
adds Events instance that sends back events to the parent process

Also adds Process Launcher to launch an a new process by forking it and:

handles events from the child
handles logs from the child
permits the module that launched the process to subscribe to messages from the child

Very elegant solution @jrainville!


chore(main): release 1.3.1

:robot: I have created a release beep boop
1.3.1 (2024-05-12)
🐛 Bugfixes

add armhf to ubuntu oracular (5dc1a8b)
add riscv64 to debian trixie (9b2cc53)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vicamo/actions-library/releases/tag/v1.3.1 :sunflower:


USB: coverage increase for USB Device and Drivers API

Add more tests testing USB APIs, Refactoring test case.

Codecov Report

Merging #13133 into master will decrease coverage by 4.99%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##           master   #13133      +/-   ##
==========================================
- Coverage   53.82%   48.82%      -5%
==========================================
  Files         237      314      +77
  Lines       26999    46534   +19535
  Branches     6574    10739    +4165
==========================================
+ Hits        14531    22719    +8188
- Misses       9777    19299    +9522
- Partials     2691     4516    +1825

Impacted Files
Coverage Δ

drivers/usb/device/usb_dc_native_posix.c
23.21% <72.72%> (+12.51%)
:arrow_up:

kernel/mem_slab.c
94.44% <0%> (-5.56%)
:arrow_down:

include/net/net_context.h
73.33% <0%> (-5.52%)
:arrow_down:

lib/cmsis_rtos_v2/semaphore.c
75.43% <0%> (-2.75%)
:arrow_down:

lib/cmsis_rtos_v2/msgq.c
51.45% <0%> (-2.63%)
:arrow_down:

subsys/shell/shell.c
22.83% <0%> (-2.42%)
:arrow_down:

subsys/net/ip/net_context.c
59.21% <0%> (-2.12%)
:arrow_down:

lib/cmsis_rtos_v2/timer.c
63.23% <0%> (-1.92%)
:arrow_down:

lib/cmsis_rtos_v2/mutex.c
62.85% <0%> (-1.85%)
:arrow_down:

lib/cmsis_rtos_v2/event_flags.c
77.41% <0%> (-1.71%)
:arrow_down:

... and 144 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0088175...7a99b2d. Read the comment docs.


[FEATURE] Add "Reduce LR On Plateau" scheduler

Description
The LR scheduler that reduce learning rate when a metric has stopped improving. #887
Modified code from https://pytorch.org/docs/stable/optim.html#torch.optim.lr_scheduler.ReduceLROnPlateau
Checklist
Essentials

[v] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[v] Changes are complete (i.e. I finished coding on this PR)
[v] All changes have test coverage
[v] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Job PR-897/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-897/1/index.html

@haven-jeon gentle ping


Debugger reported wrong information.

Godot version
4.0.2 stable
System information
Windows10 22H2
Issue description
Strange issue, I'm trying to replace an element in an Array with a Dictionary data. However, the Debugger always interrupts the program. But there are indeed 48 elements in this Array. Moreover, when running the exported program, there is no error message in the log and it runs as expected. Additionally, there is very little information in the debugger.
”players_data" is user data read from a JSON file
@rpc("any_peer","reliable")
func inv_handle(pack:PackedByteArray) -> void:
	var id = multiplayer.get_remote_sender_id()
	if not uid_to_datakey.has(id):
		return
	var data = players_data[uid_to_datakey[id]]
	var inv = data["inv"]
	var way = pack.decode_u8(0)
	if way == 0:
		inv_item_move(data,pack,id)
	elif way == 1:
		_split_item(inv,pack,id)
	elif way == 2:
		_order_inv(inv,id)
	elif way == 3:
		_add_to_inv(inv,pack,id)
	elif way == 4:
		_throw_item(inv,pack,id)
	elif way == 5:
		_use_item(inv,pack,id)

The program is interrupted after entering this method：
func _add_to_inv(my_inv:Array,pack:PackedByteArray,id:int) -> void:
	# 1 + 1 + 2 + 2 + (10)
	var idx = pack.decode_u8(1)
	var item_id = pack.decode_u16(2)
	var num = pack.decode_u16(4)
	var state = []
	if pack.size() > 6:
		state = MathTools.decode_ar_u16(pack.slice(6))
	var item = my_inv[idx]

	print("typeof my_inv:",typeof(my_inv))
	print("typeof item:",typeof(item))
	print("size:",my_inv.size())
	print("idx:",idx)
	print(my_inv)

	if typeof(item) == TYPE_DICTIONARY:
		if item["i"] != item_id:
			refresh_inv.rpc_id(id,MathTools.encode_var(my_inv))
			return
		item["n"] += num
	else:
		var data = GameRes.ITEMS[item_id].duplicate()
		data["n"] = num

		# *****debugger interrupting here ,data is Dictionary****
		my_inv[idx] = data
	if state.size() > 0:
		my_inv[idx]["s"] = state

This is print result：

This is debugger info.:
I swear the array has enough elements, In editor progarm interrupt. When running exported no  error log and runs as expected.
Invalid set index '2' (on base: 'Array') with value of type 'Dictionary'

Steps to reproduce
skip
Minimal reproduction project
I tested similar operations in a simplified way in other parts of the same project, and did not encounter similar errors:
var dic = {1:3,"inv":[1,2,false,false,5,6]}
var ar = dic["inv"]
var ar1 = ar
var ar2 = ar1
ar2[2] = {"key":666}
print(ar2)

I'm sorry, I think I have found the reason for the error. When copying the new user's default data, it was not duplicated with duplicate(deep=true), so the Array in the Dictionary was only a copied reference. And the default data is const. So when assigning a value to the Array, an error occurred. I was so noob..


Rename ignite.addComponentExample to be less confusing

When I use ignite.addComponentExample I expect the example to appear in the Component Examples screen. However, since we're running this from a plugin it's really adding it to the Plugin Examples screen. We should do something to make it more clear what's happening.

Do you recommend addPluginComponentExample or too wordy?

That would at least be a step in the right direction. Since it will only ever be used by Plugin developers I don't think that's too verbose.

I like wordy.

@robinheinze Add a pleasant error for those using addComponentExample so they know to switch to addPluginComponentExample.

🚨 SCOPE CREEP ALERT 🚨
Can you update addScreenExample to become addPluginScreenExample as well?  ❤

Yup, will do