Remove https://www.c1fapp.com/, seems abandoned and full of malware

https://www.cymon.io/url/?q=https://www.c1fapp.com/

I have run several web based scanning tools on the website, but they don't classify it as malicious. Also went through the process of creating an account, and the site seems operational at this time.
Are you sure about your findings?

I am sorry, I double checked with Google, and in the SERPs it used to say "This site may harm your computer".
But I can't reproduce this now. Maybe it's been fixed?

No problem! Your (as well as other people's) contributions keep this list up-to-date and curated, so checks are more than welcome :smile:
I will now close this one.


Add Search Plugin to CodeMirror

Added the search addon.

When focused on the text editor you can now use these shortcuts:

Ctrl-F / Cmd-F: Start searching
Ctrl-G / Cmd-G: Find next
Shift-Ctrl-G / Shift-Cmd-G: Find previous
Shift-Ctrl-F / Cmd-Option-F: Replace
Shift-Ctrl-R / Shift-Cmd-Option-F: Replace all
Alt-F: Persistent search (dialog doesn't autoclose, enter to find next, Shift-Enter to find previous)
Alt-G:  Jump to line

Also, updated to the latest CodeMirror 5.38.0
Fixes #25

Thanks!


Make golint happier, use 1.7.x on Travis

I was under the impression 1.7 got the latest
On Tue, Jan 24, 2017, 13:54 Daniel Martí<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/golang/dep/pull/137
Commit Summary

Make golint happier
Remove unnecessary conversion
Use the latest 1.7 point release on Travis

File Changes

M .travis.yml https://github.com/golang/dep/pull/137/files#diff-0
(4)
M context.go https://github.com/golang/dep/pull/137/files#diff-1
(4)
M hash_in.go https://github.com/golang/dep/pull/137/files#diff-2
(2)
M init.go https://github.com/golang/dep/pull/137/files#diff-3
(2)
M lock.go https://github.com/golang/dep/pull/137/files#diff-4
(4)
M remove.go https://github.com/golang/dep/pull/137/files#diff-5
(3)
M txn_writer.go
https://github.com/golang/dep/pull/137/files#diff-6 (2)

Patch Links:

https://github.com/golang/dep/pull/137.patch
https://github.com/golang/dep/pull/137.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/pull/137, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNbLejXbbaQUEMcvJ_QOhfy2m3TWfFks5rVnMRgaJpZM4Ls1Up
.

@jessfraz me too until recently, but @meatballhat was kind enough to clarify and fix the docs: https://docs.travis-ci.com/user/languages/go#Specifying-a-Go-version-to-use

I was under the impression 1.7 got the latest

No, on Travis, 1.7 gets exactly 1.7, 1.7.1 gets 1.7.1, etc.
The .x stuff is relatively new, it didn't exist before. You can also do 1.x to get the latest stable version of Go (currently 1.7.4).
Reference: https://docs.travis-ci.com/user/languages/go#Specifying-a-Go-version-to-use

Wow that's crazy! I think literally all projects just put 1.7
On Tue, Jan 24, 2017, 14:11 Dmitri Shuralyov<EMAIL_ADDRESS>wrote:

I was under the impression 1.7 got the latest
No, on Travis, 1.7 gets exactly 1.7, 1.7.1 gets 1.7.1, etc.
The .x stuff is relatively new, it didn't exist before. You can also do
1.x to get the latest stable version of Go (currently 1.7.4).
Reference:
https://docs.travis-ci.com/user/languages/go#Specifying-a-Go-version-to-use
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/pull/137#issuecomment-274955663, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYNbJFGEK_IH4nIuOt8muYDjcopWx8vks5rVnbxgaJpZM4Ls1Up
.

Yep! Changing it bit by bit :)

I think literally all projects just put 1.7

@jessfraz: https://github.com/shurcooL/cmd/commits/master/.travis.yml 🤣

Yep yep, all looks good.


Area Instancing

There are currently a few architectural road blocks preventing multiple instances of a single area.

Engine needs to allow for instanced and non-instanced versions of an area
Items from instanced/non-instanced versions of an area should save/load correctly
Hooks for instances when a server gets shut down?
What happens to players who log out in an instance and log back in after the instance has been destroyed?
How are area instances indexed?

There are other questions but I think the answers to these are in the responsibility of bundle developers:

How does grouping work with instances?
How do instances expire?
Can they be reset?
Others?

This is kind of opinionated but I think that logging back into a destroyed instance should  emit an event so the developer can decide what to do. An example implementation might involve recreating the instance, then dropping the player back in to a starting room.

What I wanted to make for it was the ability to pass in a config object that you can utilize for npcs and objects. I would have to make my own custom helpers, but if you did area.clone(config) and had something like config = { health: 1.4, ...} and have that that health percent be applied to all the npcs being loaded.
Essentially be able to scale the attributes on items or npcs being loaded in the zone.

Can instanced zones be saved for next reboot?

How are area instances indexed?
I'm not understanding what you mean...like added to RoomManager / AreaManager type of thing?

What happens to players who log out in an instance and log back in after the instance has been destroyed?
I agree with Sean, just emit an event.

Items from instanced/non-instanced versions of an area should save/load correctly
I suspect that we should also approach mobs in a similarly careful way. It wouldn't be out of the ordinary for games to incorporate features that might reference a mob.  Such as taming, or npc memory. We'd want any references to mobs from previously existing instances to be handled well.

For general modes of operation, I feel like there are two distinct ways games tend to use instances.

As a load balancer for mobs, quests, resources, overcrowding etc...
As an isolation mechanic for individual or group quests, raids...etc.

I wonder how this would interact with quests? They have an area in their id.
Here's an odd thought, when cloning an area as a new instance, perhaps you leave the area part of the entityReference the same, and add an instance id onto each of the id's for mobs, rooms, items...I don't know, maybe that would be terrible implications, maybe not, haven't looked into it versus changing the area part of the entityReference. Or maybe there's an elegant way to go underneath all of that anyway, I'm not sure.

I don't see why there couldn't be event hooks in place that, with a custom DataSource, would enable saving instanced zones. But you are correct that it does not serialize rooms by default.

Basic instancing functionality is now testable on the instancing branch of core. You'll also need to update your example bundles to the most recent code. For bundle-example-player-events you'll need to be on the instancing branch as well.
Overview

An Area's manifest may now include a new instanced property:

title: Test Area
instanced: player

Non-falsey values of instanced is are arbitrary and used purely for bundle developers to change how a given area should be instanced.
Areas which have a non-falsey value for instanced will not be created/hydrated at server startup. Instead, creation of these areas is left entirely to bundle developers.
Creating an instance
An example implementation can be seen here https://github.com/RanvierMUD/bundle-example-player-events/tree/instancing
The gist being:

when the player tries to move it will check to see if the room they are moving to is in an instanced area
if it is it will check to see if a valid instance exists based on the instanceId (in the case of the example bundle it's static to the player's name but again, the instanceId is left to the bundle developers to determine.)
If an instance doesn't exist it will create one with AreaFactory.createInstance(gameState, areaName, instanceId) which handles the work of creating an area, assigning the given instance id, then hydrating the area. This happens synchronously
Finally it gets the room from the instance and returns it as the valid target for the movement command

Removing an instance
Like creating an instance, how an instance gets removed and cleaned up is entirely up to the bundle developer. The removeArea(area, instanceId) will dereference the area and allow for creation with the same key but it's the responsibility of the caller of removeArea() to do things like halt combat, make sure players don't get stuck in a dereferenced area, cancel any effects, etc.

As to @nelsonsbrian 's idea I've added events for an area when an NPC is added/removed. This currently happens when an NPC is spawned by room.spawnNpc.
To accomplish something like that you would create 2 effects. The first being an Area effect which listens for npcAdded and based on its configuration would create an NPC effect and attach it to the new NPC.
It would look something like:
Somewhere a configuration exists that says { health: 1.4, ..., an instanced area is generated, you initialize the new area-bonuses effect passing in that config, then attach it to the area.
Whenever an NPC gets spawned in that area your effect will be listening for it and when it does will be able to create a new effect like area-npc-bonus, and attach it to said NPC.

I've found some an unexpected thing come up with using the instancing branch. Largely it works awesome!  Basically, if you try and use state.RoomManager#getRoom to fetch a room from an instance that isn't loaded, it can't find it. Maybe this makes since as the rooms don't technically exist yet. I've run into it using the teleport command, as well as the starting room.
I've been using this function, which comes from someplace else.  Just figured I'd share in case anyone else runs into this.
RoomUtil.getRoom = function(state, player, nextRoomId) { 	const nextAreaName = state.AreaFactory.getNameByEntityReference(nextRoomId) 	let nextRoom = null 	if (state.AreaFactory.isInstanced(nextAreaName)) { 		const instanceId = player.name 		if (player.area != nextAreaName ){ 			B.sayAt(player, W]Entering instanced area: w]${nextAreaName}`)
		if (!state.AreaManager.getArea(nextAreaName, instanceId)) {
			B.sayAt(player, "W]No instance exists, creating...")
			state.AreaFactory.createInstance(state, nextAreaName, instanceId)
		}
		B.prompt(player)
	}

	nextRoom = state.RoomManager.getRoom(nextRoomId, instanceId)
} else {
	nextRoom = state.RoomManager.getRoom(nextRoomId)
}

return nextRoom

}`


Cant see functions app

Does this occur consistently? Yes
Repro steps:

1.Cant find my function app name
2.
Version: 1.7.4
OS: win32
OS Release: 10.0.22622
Product: Visual Studio Code
Product Version: 1.69.2
Language: en

Can you give more information to repro this? What type of Azure Account are you using? Could I see a screenshot of your Azure view?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Add quic sniffer

Codecov Report

Merging #1365 (2734488) into master (05f96fc) will decrease coverage by 0.18%.
The diff coverage is 51.00%.

@@            Coverage Diff             @@
##           master    #1365      +/-   ##
==========================================
- Coverage   39.64%   39.45%   -0.19%
==========================================
  Files         597      590       -7
  Lines       34918    34950      +32
==========================================
- Hits        13842    13790      -52
- Misses      19586    19626      +40
- Partials     1490     1534      +44

Impacted Files
Coverage Δ

app/dispatcher/sniffer.go
0.00% <0.00%> (ø)

infra/conf/cfgcommon/sniffer/sniffer.go
0.00% <0.00%> (ø)

app/dispatcher/default.go
29.41% <14.28%> (+0.84%)
:arrow_up:

common/protocol/quic/sniff.go
53.04% <53.04%> (ø)

common/buf/buffer.go
87.06% <77.77%> (-1.82%)
:arrow_down:

app/proxyman/outbound/errors.generated.go
0.00% <0.00%> (-100.00%)
:arrow_down:

transport/internet/udp/dispatcher.go
64.76% <0.00%> (-12.39%)
:arrow_down:

common/task/task.go
88.88% <0.00%> (-7.41%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

testing/servers/tcp/tcp.go
81.81% <0.00%> (-5.46%)
:arrow_down:

... and 22 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 05f96fc...2734488. Read the comment docs.

Codecov Report

Merging #1365 (2734488) into master (05f96fc) will increase coverage by 0.00%.
The diff coverage is 51.00%.

@@           Coverage Diff            @@
##           master    #1365    +/-   ##
========================================
  Coverage   39.64%   39.64%
========================================
  Files         597      598     +1
  Lines       34918    35046   +128
========================================
+ Hits        13842    13895    +53
- Misses      19586    19627    +41
- Partials     1490     1524    +34

Impacted Files
Coverage Δ

app/dispatcher/sniffer.go
0.00% <0.00%> (ø)

infra/conf/cfgcommon/sniffer/sniffer.go
0.00% <0.00%> (ø)

app/dispatcher/default.go
29.41% <14.28%> (+0.84%)
:arrow_up:

common/protocol/quic/sniff.go
53.04% <53.04%> (ø)

common/buf/buffer.go
87.06% <77.77%> (-1.82%)
:arrow_down:

transport/internet/udp/dispatcher.go
64.76% <0.00%> (-12.39%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

proxy/freedom/freedom.go
42.45% <0.00%> (-3.78%)
:arrow_down:

transport/internet/kcp/dialer.go
84.31% <0.00%> (+3.92%)
: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 05f96fc...2734488. Read the comment docs.

Codecov Report

Merging #1365 (2734488) into master (05f96fc) will increase coverage by 0.00%.
The diff coverage is 51.00%.

@@           Coverage Diff            @@
##           master    #1365    +/-   ##
========================================
  Coverage   39.64%   39.64%
========================================
  Files         597      598     +1
  Lines       34918    35046   +128
========================================
+ Hits        13842    13895    +53
- Misses      19586    19627    +41
- Partials     1490     1524    +34

Impacted Files
Coverage Δ

app/dispatcher/sniffer.go
0.00% <0.00%> (ø)

infra/conf/cfgcommon/sniffer/sniffer.go
0.00% <0.00%> (ø)

app/dispatcher/default.go
29.41% <14.28%> (+0.84%)
:arrow_up:

common/protocol/quic/sniff.go
53.04% <53.04%> (ø)

common/buf/buffer.go
87.06% <77.77%> (-1.82%)
:arrow_down:

transport/internet/udp/dispatcher.go
64.76% <0.00%> (-12.39%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

proxy/freedom/freedom.go
42.45% <0.00%> (-3.78%)
:arrow_down:

transport/internet/kcp/dialer.go
84.31% <0.00%> (+3.92%)
: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 05f96fc...2734488. Read the comment docs.

Codecov Report

Merging #1365 (3305f6d) into master (05f96fc) will decrease coverage by 0.13%.
The diff coverage is 41.75%.

@@            Coverage Diff             @@
##           master    #1365      +/-   ##
==========================================
- Coverage   39.64%   39.50%   -0.14%
==========================================
  Files         597      593       -4
  Lines       34918    35016      +98
==========================================
- Hits        13842    13833       -9
- Misses      19586    19655      +69
- Partials     1490     1528      +38

Impacted Files
Coverage Δ

app/dispatcher/sniffer.go
0.00% <0.00%> (ø)

common/protocol/bittorrent/bittorrent.go
0.00% <0.00%> (ø)

infra/conf/cfgcommon/sniffer/sniffer.go
0.00% <0.00%> (ø)

app/dispatcher/default.go
29.41% <14.28%> (+0.84%)
:arrow_up:

common/protocol/quic/sniff.go
53.04% <53.04%> (ø)

common/buf/buffer.go
87.06% <77.77%> (-1.82%)
:arrow_down:

transport/internet/udp/dispatcher.go
64.76% <0.00%> (-12.39%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

testing/servers/tcp/tcp.go
81.81% <0.00%> (-5.46%)
:arrow_down:

testing/scenarios/common.go
73.07% <0.00%> (-4.62%)
:arrow_down:

... and 14 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 05f96fc...3305f6d. Read the comment docs.


Rust: Clippy

I found some more clippy issues.
The strange part: clippy in my IDE caught these, but running cargo clippy manually did not.
@dabreegster can you trying running cargo clippy on main and let me know what you get?

I don't get any clippy warnings on main at all. cargo clippy --version says clippy 0.1.58 (02072b4 2022-01-11)

I don't get any clippy warnings on main at all. cargo clippy --version says clippy 0.1.58 (02072b4 2022-01-11)

I also cannot, and I am on 0.1.60
I wonder what makes the vscode environment different...

declining, I think all of clippy was fixed in the other PR


Standalone Google Apps Script

Hi Nick,
would it be possible to support "standalone Google Apps Script" files from Google drive, please? Those are server-side javascripts created and run at https://script.google.com.
Google provides limited API to the source of those scripts. They show up at
https://drive.google.com/drive/u/0/search?q=type:script.
To complicate,

each such script ("project") contains of one or more scripts with extension ".gs" (as listed at https://script.google.com).
Those ".gs" scripts don't show up as separate files via Google API. Only the parent ("project") shows up.
Since those scripts don't count towards user's size quota, the parent shows up with size 0.

See also
http://stackoverflow.com/questions/18445863/how-to-download-google-apps-script
https://developers.google.com/apps-script/import-export#export_projects_from_drive

What does rclone do with them at the moment?  (try with the -v flag).
Is this just a question of adding a mapping for application/vnd.google-apps.script+json exports?
See: https://github.com/ncw/rclone/blob/master/drive/drive.go#L60
Not sure about the parent vs the contents - how do you find the names of the contents if you can't see them?

ls lists the file (the container). Copying all files (not sure what rclone command it was, rclone docs are confusing) copies it as an empty file, with .desktop file:
cat PowerMute.desktop
[Desktop Entry]
Icon=application-vnd.google-apps.script
Name=PowerMute
Type=Link
URL=https://script.google.com/d/19QeOin6dGLEuScs7TrMwlfsFna-U1vB4ITbVSv-C4-qRq8EoaPnlGUlV/edit?usp=drivesdk
Copy of the file fails:
rclone -v copy  Gdrive:PowerMute .
2017/01/27 18:17:41 rclone: Version "v1.35-DEV" starting with parameters ["rclone" "-v" "copy" "Gdrive:PowerMute" "."]
2017/01/27 18:17:42 Local file system at /home/pkehl/gdrive: Modify window is 1ms
2017/01/27 18:17:43 Local file system at /home/pkehl/gdrive: Waiting for checks to finish
2017/01/27 18:17:43 PowerMute: Modification times differ by -169h22m32.373s: 2017-01-24 06:18:02.373 +0000 UTC, 2017-01-17 15:55:30 +1100 AEDT
2017/01/27 18:17:43 Local file system at /home/pkehl/gdrive: Waiting for transfers to finish
2017/01/27 18:17:43 PowerMute: Failed to copy: failed to open source object: forbidden to download - check sharing permission
The error comes from pairCopyOrMove() in sync.go where pair.src.url is an empty string.
However, I can't trace in LiteIDE  before (above) pairCopyOrMove() in sync.go. Where does 'in' channel data come from? Do you know of any free Golang IDEs for debugging please?

Probably what I'd do next is
rclone -v --dump-bodies copy Gdrive:PowerMute .

Which will dump the http transactions - that should tell you something!

I've attached the output of a similar request (syncing a folder containing a single App Scripts file, containing two script files and one html file) using -v --dump-bodies
log.txt

I would love to have json backups of my apps script files. Wouldn't it be sufficient to just add a mapping for application/vnd.google-apps.script+json (https://developers.google.com/drive/v3/web/manage-downloads)? I haven't tested it lately but the Drive API should pack everything from a project file together in a single json file.

There has been progress for this issue:
#2479 is a work in progress rewrite of the drive documents handling.
If anyone wants to help testing the new implementation, there is a beta branch containing the changes:
https://beta.rclone.org/branch/v1.42-162-g6a66967c-drive-documents/
Keep in mind this is not tested thoroughly yet and therefore be considered experimental.
Please post any feedback in #2479. Updated releases will also be anounced there.

#2479 has been merged lately.
This feature can be used since https://beta.rclone.org/v1.43-112-ga20fae03-beta/, the latest beta and in v1.44


Same performance with AWS g2.2xlarge vs g2.8xlarge using lenet.jl

I have been experimenting with MXNet.jl on AWS. I'm testing using the lenet.jl MNIST examples.
The GPU vs CPU had a 45x speedup on a g2.2xlarge instance ,but switching to the g2.8xlarge results in almost exactly the same performance.
I thought it might have to do with the environmental variables so I tried
export MXNET_GPU_WORKER_NTHREADS=8

but this did not change anything.
I'm I missing something? How can I get the most out of a g2.8xlarge instance?

You do need to use multiple GPU explicitly. Otherwise it will only use one gpu. try pass
[mx.gpu(i) for i in range(4)]

instead for devices. However, we may not get significant speedup on MNIST, but will do on other dataset

loop in @pluskid for exact syntax in julia

@tqchen Thanks for the quick reply.
That did the trick. As you pointed out the speed up was not that dramatic on MNIST (about 4s to 2.9s).
The complete syntax for the command in Julia is:
model = mx.FeedForward(lenet, context=[mx.gpu(i) for i = 0:3])

Note to Julia users: The index for GPUs begins at 0 not 1.

Ran some tests on cost vs. Performance. About a x3.25 speedup which is quite good but it might be cheaper to run a few g2.2xlarge instead. Will try that next.
CIFAR-10 + MXNet.jl on #AWS
g2.2xlarge = ~$0.07/h, 406s
g2.8xlarge = ~$0.35/h,  126s

Yes, you need to construct GPU instances explicitly
Yes, even in Julia, GPU counting starts with 0, as it corresponds to the native GPU ID, which starts with 0
You could probably try to compare the CIFAR-10 speed here: https://github.com/dmlc/mxnet/tree/master/example/image-classification#cifar-10 . Just FYI, I could not get as good performance with our K80 GPUs. That is probably because of some local misconfigurations or something. But I do observe almost linear speedup with multiple GPUs.

@pluskid what's your settings and results on k80s?
#1074 is trying to improve the performance
and you can just use allreduce_test to test your hardware bandwidth on allreduce https://github.com/NVIDIA/nccl

Thanks! I'll try again when I got a chance. I tend to believe it is our cluster's problem. I tried the python version of cifar 10  script by disabling the IO completely and was with no luck.


Segger RTT support

Is there any support for Segger's RTT protocol in PyOCD?
If not, I may be in a position to add something, but I don't want to reinvent the wheel if someone else has already been working on this, or waste my time if there's some reason this isn't feasible in PyOCD. (I've only just installed it, and it's working fine for me talking to an nRF52832 device connected via PicoProbe. The only thing that stops me immediately switching over from openocd is the apparent lack of RTT support, which is crucial to our development flow.)

I can confirm it works, at least for output from the device. A good start. Thank you @mikisama!
(I will need to add input through the channel as well, since our debug interface is interactive, with a couple dozen single keystroke commands to trigger various behaviours.)

For others who may follow:
Initially I was having trouble because connecting via pyocd rtt would result in my target hitting an exception handler. I believe this occurs when the process is halted and then resumed. The rtt_cmd.py code has a target.resume() after it finds the RTT control block, and after experimentally adding a if target.is_halted() ahead of that (which I don't think helped and may be redundant, if resume already checks for that), I was led to the -M option supported by some commands, which allowed me to specify -M attach instead of the default (whatever it is), and this allowed me to connect to a running target without interruption, and see the RTT output from the past while and new stuff as it arrives. Perfect.
(The reason my target throws an error when halted and resumed may be related to the fact we're running FreeRTOS with a bunch of threads, and I believe the clocks are configured to keep running when halted. This likely throws off the FreeRTOS scheduler in some way when we resume. I don't think it's related to the RTT stuff at all.)
Another issue I have seen is that exiting (via Ctrl-C, as I don't know of a cleaner way) often results in the probe subsequently being unavailable (e.g. pyocd.core.exceptions.ProbeError: Bad parity in SWD read).  Using usbreset Picoprobe (/usr/bin/usbreset is in package usbutils on Debian) cleared that up and I could connect again.

Fyi: thanks to @ccattuto, #1253 adds host to target support.

I'm also implementing an RTT terminal with dapjs and xterm.js. The only difficult I'm facing is lack of single-byte memory writes in dapjs.

I am getting a similar error, I think. Using the latest development branch (0.34.3.dev18)

@purpl3F0x @letshin Thanks for reporting this. I've created a new ticket #1471 to track your issue, so please see the questions there. (And will be closing this one, since, theoretically at least, RTT support is present now.)


Investigate removing Jurigged monkeypatch

Testing this recently, the monkey patch seemed to create the problem it was intended to fix (line number drift). It's worth downgrading jurigged back to the old version and seeing if the issue was fixed with the latest version.

I wasn't able to notice any difference about the monkey patch for the case in question, so I think I may have just simply saw things wrong. Closing


Add tests for function sum

It seems to me that there are no tests here:
https://github.com/micheleriva/std/tree/main/src/array/sum

@aleattene true! PRs are open 🙂


upgrade Pillow to the latest version to avoid some security problems

there are some security reports in the oldest version: https://github.com/advisories/GHSA-43fq-w8qq-v88h

Please resolve conflicts.


You need to add the Health.State property for the container

When the service is started, the readiness of the service for operation is checked for some time.
During this time, the service is not ready to accept requests yet, but now the situation is such that we believe that it is already ready and requests that the service cannot serve are pouring in
It is necessary to distinguish between the Health.Status state in order to understand that the server may already be added to the upstream
And also in a situation when the service is overloaded and health check tells us that the service is not healthy - we could exclude it from the upstrem until it becomes operational again

I created pr https://github.com/nginx-proxy/docker-gen/pull/442, can check?

Implemented by #442


Wrong Registering Fixtures configuration

Hello,
The configuration for Registering Fixtures
return array(
      'data-fixture' => array(
            'ModuleName_fixture' => __DIR__ . '/../src/ModuleName/Fixture',
      )
);

does not work and the fixtures files are not loaded. It should be
return array(
    'doctrine' => array(
        'fixture' => array(
             'ModuleName_fixture' => __DIR__ . '/../src/ModuleName/Fixture',
        )
    ),
);

and then everything works fine.
Please update the documentation :)
Thanks!

this is not working for me, and when a try to debug /vendor/hounddog/doctrine-data-fixture-module/src/DoctrineDataFixtureModule/Command/ImportCommand.php
on line 78 with print_r($this->paths);
exit();
and run it in terminal i have a empty array return;

Currently the configuration needs to be just under the data-fixture key as outlined in https://github.com/Hounddog/DoctrineDataFixtureModule/blob/0.0.4/src/DoctrineDataFixtureModule/Service/FixtureFactory.php#L55
So therefore the documentation requires an update like
return [
    'data-fixture' => [
        'Foo_fixture' => '/path/to/Foo/Fixture'
    ]
];


feature request: file uploading

:) if you have time, gonna be nice

Not everything is implemented yet, but you can already potestit.)
https://github.com/bondrogeen/FS


Compilation failed for v1.3

Hi all, seems that your 1.3 version is no more compiling due to ambiguous call for method.
Compiling using gcc 4.8.2 under raspbian (Raspberry Pi)
Informations about GCC setup :
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.8.2-21~rpi3rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.8.2 (Raspbian 4.8.2-21~rpi3rpi1)
Here is the error during make command :
mkdir -p shared/common
mkdir -p shared/zend
mkdir -p shared/hhvm
g++ -Wall -c -g -std=c++11 -fpic -o shared/common/streambuf.o common/streambuf.cpp
g++ -Wall -c -g -std=c++11 -fpic -o shared/common/modifiers.o common/modifiers.cpp
g++ -Wall -c -g -std=c++11 php-config --includes -fpic -o shared/zend/inivalue.o zend/inivalue.cpp
In file included from zend/includes.h:126:0,
from zend/inivalue.cpp:8:
zend/constantimpl.h: In member function ‘void Php::ConstantImpl::addTo(Php::ClassBase&) const’:
zend/constantimpl.h:131:69: error: call of overloaded ‘property(const char* const&, const long int&, const int&)’ is ambiguous
clss.property(_name, Z_LVAL(_constant.value), Php::Const);
^
zend/constantimpl.h:131:69: note: candidates are:
In file included from zend/includes.h:79:0,
from zend/inivalue.cpp:8:
zend/../include/classbase.h:236:10: note: void Php::ClassBase::property(const char*, int16_t, int)
void property(const char name, int16_t value, int flags = Php::Public);
^
zend/../include/classbase.h:237:10: note: void Php::ClassBase::property(const char, int32_t, int)
void property(const char name, int32_t value, int flags = Php::Public);
^
zend/../include/classbase.h:238:10: note: void Php::ClassBase::property(const char, int64_t, int)
void property(const char name, int64_t value, int flags = Php::Public);
^
zend/../include/classbase.h:239:10: note: void Php::ClassBase::property(const char, bool, int)
void property(const char name, bool value, int flags = Php::Public);
^
zend/../include/classbase.h:240:10: note: void Php::ClassBase::property(const char, char, int)
void property(const char name, char value, int flags = Php::Public);
^
zend/../include/classbase.h:241:10: note: void Php::ClassBase::property(const char, const string&, int)
void property(const char name, const std::string &value, int flags = Php::Public);
^
zend/../include/classbase.h:241:10: note:   no known conversion for argument 2 from ‘const long int’ to ‘const string& {aka const std::basic_string&}’
zend/../include/classbase.h:242:10: note: void Php::ClassBase::property(const char, const char*, int)
void property(const char name, const char value, int flags = Php::Public);
^
zend/../include/classbase.h:242:10: note:   no known conversion for argument 2 from ‘const long int’ to ‘const char’
zend/../include/classbase.h:243:10: note: void Php::ClassBase::property(const char, double, int)
void property(const char *name, double value, int flags = Php::Public);
^
Makefile:211: recipe for target 'shared/zend/inivalue.o' failed
make: *** [shared/zend/inivalue.o] Error 1

Does this also occur if you try to compile the master branche?

No but using the master branch lead me to an execution error on loading the extension (The example empty extension) so I cannot use it either.
I'll retry this evening and provide you the exec error.
Do you want a separated ticket ?
Cordialement / Regards
Mathieu POTIER

Le 25 févr. 2015 à 09:13, Emiel Bruijntjes<EMAIL_ADDRESS>a écrit :
Does this also occur if you try to compile the master branche?
—
Reply to this email directly or view it on GitHub.

The master branch is the best branch. You can report issues wherever you like. I suppose you're on a 32bit environment, aren't you?

Yes, raspberry is 32bit.
Cordialement / Regards
Mathieu POTIER

Le 25 févr. 2015 à 09:23, Emiel Bruijntjes<EMAIL_ADDRESS>a écrit :
The master branch is the best branch. You can report issues wherever you like. I suppose you're on a 32bit environment, aren't you?
—
Reply to this email directly or view it on GitHub.

Up,
When compiling with dev-master 086cb94ad6aee856fd51ad8d7116f4a1c485a926
I got this error during PHP execution :
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/phpeib.so' - /usr/lib/libphpcpp.so: undefined symbol: zend_next_free_module in Unknown on line 0
Is PHP-CPP still compatible with 32bit architecture ?

It should be compatible with 32bit, we ourselves only use it on 64bit platforms, but there is no code in it that would break it on 32bit platforms.
Phpeib.so is the extension that you're building? It's a weird error, the zend_next_free_module() function is simply available inside the Zend engine, so I see no reason why this is reported. Can you try to rebuild and re-install everything, PHP-CPP and your extension?
If you need a quick workaround, you can remove the call to zend_next_free_module() from the PHP-CPP code. This is not a problem as long as you don't use the Php::dl() function inside your extension.

@mathieupotier  how did you solve this issue? I am facing same thing

Hello Guys, I found the fix, download php source code at http://au1.php.net/distributions/php-5.6.6.tar.bz2 then extract it and find Zend (with Z capital) folder and rename it to zend and replace with the existing one in php-cpp (Not don't try to merge but replace the whole folder) this should fix the issue. I hope this is usefull

That is definitely not a fix. The fix is to first install PHP on your system, and then compile PHP-CPP.

Installing just PHP might not be enough. You obviously will also need the headers and all, which are usually not included in just PHP installations.

On ubuntu, 'sudo apt-get install php5-dev' does the trick.


[ALGO/DS] Ackerman Function

Ackerman Function

Math
C
C++
C#
Python
Java
Golang
Javascript

I would like to work on this issue

@YashThakare Game on!!


Update preview 4

Closes #79

I'm still seing this linker error when attempting to use flexgrid in a preview 4 project:

C:\Users\DarrellTunnell.nuget\packages\microsoft.aspnetcore.blazor.build\3.1.0-preview4.19579.2\targets\Blazor.MonoRuntime.targets(204,5): error : Unhandled exception. Mono.Linker.MarkException: Error processing method: 'System.Threading.Tasks.Task Microsoft.AspNetCore.Http.Authentication.AuthenticationManager::AuthenticateAsync(Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext)' in assembly: 'Microsoft.AspNetCore.Http.Abstractions.dll' [C:\Users\DarrellTunnell\source\repos\Foo\src\Foo\Foo.csproj]
C:\Users\DarrellTunnell.nuget\packages\microsoft.aspnetcore.blazor.build\3.1.0-preview4.19579.2\targets\Blazor.MonoRuntime.targets(204,5): error : ILLink failed with exited code -532462766. [C:\Users\DarrellTunnell\source\repos\Foo\src\Foo\Foo.csproj]

It seems Microsoft.AspNetCore.Http.Abstractions.dll doesn't play nice with the linker.

The only way I managed to fix the linker issue is by adding this to the linker xml:

This is a bit nasty. I'm only interested in using the grid in my blazor wasm (client side) project, so being forced to take dependencies on server side scenario stuff (Microsoft.AspNetCore.Http.Extensions has a lot of server side applicable stuff in it) isn't ideal, unless we can have the linker strip out all the uneeded stuff. So my workaround of getting the linker to ignore stuff is probably not ideal!

Ready for review.

Thanks a lot!

Just to be wary, I am still seeing issues when using this in my own project, and I can't work out why.
i am seeing this linker error again:

"C:\Users\DarrellTunnell\source\repos\HubCore\src\Hub.Client\Hub.Client.csproj" (default target) (1:7) ->
(_LinkBlazorApplication target) ->
C:\Users\DarrellTunnell.nuget\packages\microsoft.aspnetcore.blazor.build\3.1.0-preview4.19579.2\targets\Blazor.MonoRuntime.targets(204,5): error : Unhandled exception. Mono.Linker.MarkException: Error processing method: 'System.Threading.Tasks.Task Microsoft.AspNetCore.Http.Authentication.AuthenticationManager::AuthenticateAsync(Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext)' in assembly: 'Microsoft.AspNetCore.Http.Abstractions.dll' [C:\Users\DarrellTunnell\source\repos\HubCore\src\Hub.Client\Hub.Client.csproj]
C:\Users\DarrellTunnell.nuget\packages\microsoft.aspnetcore.blazor.build\3.1.0-preview4.19579.2\targets\Blazor.MonoRuntime.targets(204,5): error : ILLink failed with exited code -532462766. [C:\Users\DarrellTunnell\source\repos\HubCore\src\Hub.Client\Hub.Client.csproj]

The thing is, even after adding Microsoft.AspNetCore.Http.Abstractions assembly to the linker it doesn't fix the error. The linker should be ignoring the problematic assembly entirely but it doesn't seem to have an effect. I don't seem to get this error when running the sample project in this repo though.

I see another error because in client side WebAssembly project css stlyes are not loaded properly. I just testing it.

I cannot find any article with breaking changes. Do you have some kind of this article please?

@Mewriick This is the only article I found: https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-1/

This might be relevent? https://github.com/aspnet/AspNetCore/issues/17596

@Mewriick Ok I have got to the bottom of the linker error.
I had an additional dependency in my own application that was still compiled against preview 3. In this case the Linker seems to throw, and ignoring the assembly in the linker config does nothing. I've remedied that now, so this isn't a flexgrid issue.

@dazinator
Ok good, I have to solve this problem with assest and add some note into readme.


Print a better error message if we are unable to read / write auth token from / to the cache

The title says it all.

/cc @dzimine
Better?

L.G.T.M


13" screen resolutions / possibilities

On windows 13" there's resolution of 1920x1080 with 150% zoom which ends up as 1280x720

@Ptrhnk I am now happy with 13'' screens, perhaps you did something or I got used to things :-) Issue still open?


Glam and Polychrome

This replaces
styled-components -> glam
color -> polychrome

Chat component is now at 14.1 kb


API/Hangar site gives download link that results in a 404 error

Observed/problematic behavior
After contacting the API for information about a version of a plugin, the downloadUrl is incorrect and results in a 404 error. This also seems to be an issue on the Hangar site as well when downloading plugin jar files.
Expected behavior
The plugin jar file would be downloaded.
Steps to reproduce
Way one:

Ask the API for information regarding a plugin version using a request like this:
https://hangar.papermc.io/api/v1/projects/viaversion/versions/4.8.1
In the returned JSON, get the download link from: downloads > PAPER > downloadUrl

Try to download the plugin jar file with the downloadUrl.
The 404 arises when trying to download from the downloadUrl link given.

Way Two:

Find plugin on Hangar site
Attempt to download plugin jar file
404 error

Other
The issue arises from the capitalization not being exact on the plugin name portion of the link.
Correctly Formatted Download Link:
https://hangarcdn.papermc.io/plugins/ViaVersion/ViaVersion/versions/4.8.1/PAPER/ViaVersion-4.8.1.jar
Incorrectly Formatted Download Link Given by API:
https://hangarcdn.papermc.io/plugins/ViaVersion/viaversion/versions/4.8.1/PAPER/ViaVersion-4.8.1.jar
This issue seems to happen randomly as sometimes the API responds with the correct download link but other times will give a wrongly formatted one. The only thing I can think of is the API passing the lowercase plugin slug directly into the link rather than the properly capitalized plugin name? Or maybe the plugin name is incorrectly being lowercased at some point?

its not consistent because stuff is cached, but I think I found the cause


Metric measurements

It would be great if there was a way of changing the all the displayed measurements on the character sheet to metric forms of measurements.

Thank you for the suggestion.  Obviously this would depend on the data coming from the character creation tools (GCA/GCS).
Encumbrance "Max Load" is a integer from both.
"Living and Moving things" values are integers from GCA but strings (that include "lb") from GCS.   ex:  "45 lb"
GCS inventory is mixed:
    <name type="string">Copper Coin</name>
    <isidentified type="number">1</isidentified>
    <count type="number">25</count>
    <cost type="number">1</cost>
    <costsum type="string">25</costsum>
    <weight type="number">0.02</weight>
    <weightsum type="number">0.5 lb</weightsum>

"weightsum" is the only thing that includes units.
Whereas GCA's inventory doesn't include the "sums" data at all:
Traveler's Rations
10
2
0.5
GCS provides height and weight as string that include the measurements.
And finally, the measuring tool shows "yds" per hex.   This is defined in the system.json, so I don't know how (or if) we can make this an option:
"gridDistance": 1,
"gridUnits": "yd",
So yeah, I think we could do this... assuming GCA and/or GCS can output metric.

Thank you for the suggestion.  Obviously this would depend on the data coming from the character creation tools (GCA/GCS).
Encumbrance "Max Load" is a integer from both.
"Living and Moving things" values are integers from GCA but strings (that include "lb") from GCS.   ex:  "45 lb"
GCS inventory is mixed:
    <name type="string">Copper Coin</name>
    <isidentified type="number">1</isidentified>
    <count type="number">25</count>
    <cost type="number">1</cost>
    <costsum type="string">25</costsum>
    <weight type="number">0.02</weight>
    <weightsum type="number">0.5 lb</weightsum>

"weightsum" is the only thing that includes units.
Whereas GCA's inventory doesn't include the "sums" data at all:
Traveler's Rations
10
2
0.5
GCS provides height and weight as string that include the measurements.
And finally, the measuring tool shows "yds" per hex.   This is defined in the system.json, so I don't know how (or if) we can make this an option:
"gridDistance": 1,
"gridUnits": "yd",
So yeah, I think we could do this... assuming GCA and/or GCS can output metric.

What if importer only considers the numeric part of an alphanumeric string from a "type=number" node, for instance in the  node. This could be achieved by a regex matcher.
Another regex could match the unit (lb, kg, etc.) and "save" that entry for that field.
So, once imported, you would have a map like
itemsMap: {
item: {
key: "some-hash",
value: {
name: "Copper coin",
quantity: 25,
weight: {
weight: 0.02,
unit: "lb"
},
weightsum: {
weightsum: 0.5,
unit: "lb"
}
}
},
}
Afterwards, we could look into a converter.

What if importer only considers the numeric part of an alphanumeric string from a "type=number" node, for instance in the  node. This could be achieved by a regex matcher.
Another regex could match the unit (lb, kg, etc.) and "save" that entry for that field.
So, once imported, you would have a map like
itemsMap: {
item: {
key: "some-hash",
value: {
name: "Copper coin",
quantity: 25,
weight: {
weight: 0.02,
unit: "lb"
},
weightsum: {
weightsum: 0.5,
unit: "lb"
}
}
},
}
Afterwards, we could look into a converter.

Certainly, that is exactly what I was thinking.   We can parse the data, the real issue is what data will we be parsing?   GCS has a bunch of options for units for weights:   short tons (tn), long tons (lt), metric tons (t), kilograms (kg) and grams (g) and pounds (lb).   Unfortunately, it does not currently have an export key to tell us which unit it is using.
And, as far as I can tell, GCA does not have any option to use metric values (although, I am nowhere near an expert on this...so I have asked about that in the Discord channel).
My thought is that we could offer 3 settings:
Import in Imperial (lbs), display Imperial (lbs)
Import in Imperial (lbs), display Kilograms (kg) (and do the conversion ourselves)
Import in Kilograms (kg), display Kilograms (kg)

Certainly, that is exactly what I was thinking.   We can parse the data, the real issue is what data will we be parsing?   GCS has a bunch of options for units for weights:   short tons (tn), long tons (lt), metric tons (t), kilograms (kg) and grams (g) and pounds (lb).   Unfortunately, it does not currently have an export key to tell us which unit it is using.
And, as far as I can tell, GCA does not have any option to use metric values (although, I am nowhere near an expert on this...so I have asked about that in the Discord channel).
My thought is that we could offer 3 settings:
Import in Imperial (lbs), display Imperial (lbs)
Import in Imperial (lbs), display Kilograms (kg) (and do the conversion ourselves)
Import in Kilograms (kg), display Kilograms (kg)

I checked, and GCA can do metric, if you use the metric data files.   Since I am not certain how many people will do so, I think we are left with the 3 options above (and let the GM decide).

I checked, and GCA can do metric, if you use the metric data files.   Since I am not certain how many people will do so, I think we are left with the 3 options above (and let the GM decide).

the mod bucket would need to convert miles at longer ranges into km

the mod bucket would need to convert miles at longer ranges into km

You can change this information /m/km/Kg in Edit\Global Preferences in GCS

Yes, but the problem is that in Foundry, we still will show "LBS", even if GCS is using KG.   GCS does not tell us which "system" it is using (Imperial or Metric) so we don't know which one to display (and currently, everything is hardcoded to be Imperial)

Hey guys, I used metric in GCS, imported the character sheet into Foundry and got some mixed results. Note that the equipment weight was converted back into imperial but the encumbrance table remained as metric. Besides the problem of dealing with two diferent systems, the encumbrance level was also miscalculated: the total equipment weight is 14lbs (~7kg) but my encumbrance level is marked as "light" for it considers I am carrying more than 12kg (~24lbs).
My guess is that it is using comparing 14lbs with the 12kg treshold and ignoring the conversion. So with 14 being bigger than 12, my charecter is on light encumbrance

The problem is that for some information (like encumbrance) GCS includes the "kg"), but for others, it does not... and we don't convert it.   So we have some stuff hardcoded to "LBS" in our character sheets and code, and some data is just strings that we get from the character creation tool.
I am sorry, but for the moment, it would be best to remain in Imperial (at least then, all of the values match).
We plan to offer a system setting that will allow us to:
Import in Imperial (lbs), display Imperial (lbs) -- the current default
Import in Imperial (lbs), display Kilograms (kg) (and do the conversion ourselves) - For GCA users who cannot easily do metric
Import in Kilograms (kg), display Kilograms (kg)  -- allow GCS to be in metric and just use its values (and labels)
But until then... you will get the mashup as above ;-)

All right, thank you!
I´ll do as recommended. :-)


Update README.md

Include image of the UI (upload as doc/images/Ui.png)
Write a short description
Link to User Guide, Developer Guide, Learning Outcomes, About Us, Contact Us
Include acknowledgements (Also, remember to acknowledge the original source of the code i.e. The sample project created by SE-EDU initiative at https://github.com/se-edu/)

done!


stream_info: Collapse constructors

Description: Reduce code duplication in StreamInfo by chained calls to other constructors
Risk Level: low (code restructure, no behavior changes)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

@asraa Friendly ping.

@asraa  @mattklein123 PTAL or recommend a reviewer, this PR is awaiting a review for 10 days now.


Step Stage 6(EXPORT)  exited with code 246

When kpack reaches at step stage 6 EXPORT, it sends back exit code 246,
// below is the pod's description //
Conditions:
Last Transition Time:  2021-01-05T20:35:18Z
Status:                False
Type:                  Succeeded
Observed Generation:     1
Pod Name:                f-image-build-1-t9bw6-build-pod
Stack:
Step States:
Terminated:
Container ID:  containerd://4e976e8ad23149b5f708da3ba91aa1fba233d7c553917e8a3bb2ee1802da3a35
Exit Code:     0
Finished At:   2021-01-05T20:20:46Z
Reason:        Completed
Started At:    2021-01-05T20:20:12Z
Terminated:
Container ID:  containerd://b71effae359e0c47d9c92d53956856d8dde9d33d1ba573ba07b07a597083d95b
Exit Code:     0
Finished At:   2021-01-05T20:21:03Z
Reason:        Completed
Started At:    2021-01-05T20:20:54Z
Terminated:
Container ID:  containerd://98407b0d02647561d582a9e7d28d82205787895a14a7f752ee03c6354aae74be
Exit Code:     0
Finished At:   2021-01-05T20:21:18Z
Reason:        Completed
Started At:    2021-01-05T20:21:09Z
Terminated:
Container ID:  containerd://b69457858bf5f8216070628fd0eac45c70ff36666e9aa7bef52f0786178c1426
Exit Code:     0
Finished At:   2021-01-05T20:21:25Z
Reason:        Completed
Started At:    2021-01-05T20:21:25Z
Terminated:
Container ID:  containerd://329f4b6652c974391ef2e52392e36ff9d6a80c9301d3a82faea64efc13a57273
Exit Code:     0
Finished At:   2021-01-05T20:23:01Z
Reason:        Completed
Started At:    2021-01-05T20:21:31Z
Terminated:
Container ID:  containerd://a5876904c5158c0091e9e227bbbf249be51d8043e40674f27a9bc4f86d33e171
Exit Code:     246
Finished At:   2021-01-05T20:35:14Z
Reason:        Error
Started At:    2021-01-05T20:23:24Z
Steps Completed:
prepare
detect
analyze
restore
build
export
Events:

Hi @manshaaazar,
Could you share the logs from the build?

Hi @manshaaazar,
Could you share the logs from the build?

===> EXPORT
Reusing layers from image 'index.docker.io/manshaehsan/knight@sha256:0c83a425e071a43e1b576a28e2c24e0f8f6322bfbd412e5c52c469ac39bf450a'
Adding layer 'paketo-buildpacks/node-engine:node'
Adding layer 'paketo-buildpacks/npm-install:modules'
Adding layer 'paketo-buildpacks/npm-install:npm-cache'
Adding 1/1 app layer(s)
Adding layer 'launcher'
Adding layer 'config'
Adding label 'io.buildpacks.lifecycle.metadata'
Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
*** Images (sha256:91e8c1e21ee20e13aefba66984c72a2c2df45236c2aa2deecc1c0334de5e4bb9):
manshaehsan/knight - PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/047caf07-0ffa-431e-ae30-d08bb71dcbcf?_state=REDACTED: unsupported status code 504; body: 504 Gateway Time-out
The server didn't respond in time.

  index.docker.io/manshaehsan/knight:b1.20210108.162718 - PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/d4d898b6-3569-444e-be12-5985803ea153?_state=REDACTED: unsupported status code 504; body:
504 Gateway Time-out

The server didn't respond in time.

ERROR: failed to export: failed to write image to the following tags: [manshaehsan/knight: PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/047caf07-0ffa-431e-ae30-d08bb71dcbcf?_state=REDACTED: unsupported status code 504; body: 504 Gateway Time-out
The server didn't respond in time.

],[index.docker.io/manshaehsan/knight:b1.20210108.162718: PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/d4d898b6-3569-444e-be12-5985803ea153?_state=REDACTED: unsupported status code 504; body: 504 Gateway Time-out
The server didn't respond in time.

===> EXPORT
Reusing layers from image 'index.docker.io/manshaehsan/knight@sha256:0c83a425e071a43e1b576a28e2c24e0f8f6322bfbd412e5c52c469ac39bf450a'
Adding layer 'paketo-buildpacks/node-engine:node'
Adding layer 'paketo-buildpacks/npm-install:modules'
Adding layer 'paketo-buildpacks/npm-install:npm-cache'
Adding 1/1 app layer(s)
Adding layer 'launcher'
Adding layer 'config'
Adding label 'io.buildpacks.lifecycle.metadata'
Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
*** Images (sha256:91e8c1e21ee20e13aefba66984c72a2c2df45236c2aa2deecc1c0334de5e4bb9):
manshaehsan/knight - PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/047caf07-0ffa-431e-ae30-d08bb71dcbcf?_state=REDACTED: unsupported status code 504; body: 504 Gateway Time-out
The server didn't respond in time.

  index.docker.io/manshaehsan/knight:b1.20210108.162718 - PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/d4d898b6-3569-444e-be12-5985803ea153?_state=REDACTED: unsupported status code 504; body:
504 Gateway Time-out

The server didn't respond in time.

ERROR: failed to export: failed to write image to the following tags: [manshaehsan/knight: PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/047caf07-0ffa-431e-ae30-d08bb71dcbcf?_state=REDACTED: unsupported status code 504; body: 504 Gateway Time-out
The server didn't respond in time.

],[index.docker.io/manshaehsan/knight:b1.20210108.162718: PATCH https://index.docker.io/v2/manshaehsan/knight/blobs/uploads/d4d898b6-3569-444e-be12-5985803ea153?_state=REDACTED: unsupported status code 504; body: 504 Gateway Time-out
The server didn't respond in time.

@manshaaazar this happens consistently with builds?

@manshaaazar this happens consistently with builds?

@tylerphelan
yes happening in every build

@tylerphelan
yes happening in every build

@manshaaazar this seems to be an issue with the registry. have you tried using a different dockerhub repository or a different registry like GCR?

@manshaaazar this seems to be an issue with the registry. have you tried using a different dockerhub repository or a different registry like GCR?

yes i tried with azure registry and it worked well.

yes i tried with azure registry and it worked well.

@tylerphelan  thank you very much

@tylerphelan  thank you very much


Update spec to not include hashes/size in snapshot metadata

As per the discussion here: https://github.com/heartsucker/rust-tuf/issues/104#issuecomment-313496672

We need to also determine if it is necessary to list the hash and length of Snapshot in Timestamp.
See https://github.com/theupdateframework/tuf/blob/904fa9b8df8ab8c632a210a2b05fd741e366788a/docs/tuf-spec.txt#L909-L913

The hash and length make sense to me.  Why wouldn't we have the hash and
length here?
The version of the snapshot file makes less sense, but I don't see a major
problem with it being there.
On Thu, Jul 6, 2017 at 4:59 PM, Vladimir Diaz<EMAIL_ADDRESS>wrote:

We need to also determine if it is necessary to list the hash and length
of Snapshot in Timestamp.
See https://github.com/theupdateframework/tuf/blob/
904fa9b8df8ab8c632a210a2b05fd741e366788a/docs/tuf-spec.txt#L909-L913
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/theupdateframework/tuf/issues/465#issuecomment-313517653,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0XDygHQLkJQruvl8lIs_wo6hWVCFgOks5sLUqagaJpZM4OQJvn
.

Fixed in https://github.com/theupdateframework/tuf/pull/466 and implemented in https://github.com/theupdateframework/tuf/pull/469.


Not support real PCI Passthrough?

Version Reports:
Distro  version of host:
Ubuntu 16.04
Terraform Version Report
terraform -v
Terraform v0.11.10

Provider and libvirt versions
terraform-provider-libvirt -version
.terraform/plugins/linux_amd64/terraform-provider-libvirt was not built correctly
Compiled against library: libvirt 1.3.1
Using library: libvirt 1.3.1
Running hypervisor: QEMU 2.5.0
Running against daemon: 1.3.1

If that gives you "was not built correctly", get the Git commit hash from your local provider repository:
git describe --always --abbrev=40 --dirty
1854aa93f614b0dfc54d5670bb27e9ac6bbda039-dirty

Description of Issue/Question
Setup
(Please provide the full main.tf file for reproducing the issue (Be sure to remove sensitive info)
diff --git a/examples/ubuntu/cloud_init.cfg b/examples/ubuntu/cloud_init.cfg
index dd29f27..5a243e0 100644
--- a/examples/ubuntu/cloud_init.cfg
+++ b/examples/ubuntu/cloud_init.cfg
@@ -15,5 +15,5 @@
 ssh_pwauth: True
 chpasswd:
   list: |
-     root:terraform-libvirt-linux
+     root:passw0rd
   expire: False
diff --git a/examples/ubuntu/ubuntu-example.tf b/examples/ubuntu/ubuntu-example.tf
index c65603e..91fa3c5 100644
--- a/examples/ubuntu/ubuntu-example.tf
+++ b/examples/ubuntu/ubuntu-example.tf
@@ -7,7 +7,7 @@ provider "libvirt" {
 resource "libvirt_volume" "ubuntu-qcow2" {
   name   = "ubuntu-qcow2"
   pool   = "default"
-  source = "https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
+  source = "/home/fan/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
   format = "qcow2"
 }

@@ -39,7 +39,12 @@ resource "libvirt_domain" "domain-ubuntu" {

   network_interface {
     network_name = "default"
+    hostname = "new"
   }
+  network_interface {
+    passthrough = "enp2s16f6"
+  }
+

Steps to Reproduce Issue
(Include debug logs if possible and relevant.)

Additional Infos:
The generated vm configuration has:
    <interface type='direct'>
      <mac address='aa:bb:cc:dd'/>
      <source dev='enp2s16f6' mode='passthrough'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </interface>

It will attach the host interface to vm with passthrough mode. The interface wasn't removed from host and assigned to vm. I think it should be:
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x10' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </hostdev>

thx for issue.Afaik not yet implemented

@fkpwolf  thx for issue
@inercia  maybe you have better insight here :smile: :japan:

Can you try with https://github.com/dmacvicar/terraform-provider-libvirt/pull/431 using a xslt transform?

thanks @dmacvicar. It is nice feature. But looks too advanced for me and for this task. I am not familiar with with xslt.
HCL(.tf file) is a kind of configuration language, and here introduce another one(xslt). I am not sure if this is a good idea.

Ok, ignore everything I said.
I just realized we already support the passthrough element, and this is about it not working. Then it is (probably, as we may not support all variations with a single attribute) a valid bug and we should read https://libvirt.org/formatdomain.html#elementsNICSHostdev and understand how it should work.

Hello Duncan Mac-Vicar P.,
Is there any plan to address this ?  Otherwise I have working patch which supports PCI Passthrough using (using 'hostdev'. element) would like to integrate it.
Thanks,

hi @amitinfo2k  thank you for interest!
We don't have any time in short-term to fix so a contribution from your part would be awesome.
https://github.com/dmacvicar/terraform-provider-libvirt/blob/master/CONTRIBUTING.md
Feel free to work on this!

any update on this? @amitinfo2k

just submit a PR to address this issue #552. Looks I can't reuse existing network_interface element and have to create new type in schema.
My test tf script is:
variable "hostdev_list" {
  default = [
    [{
      domain = 0
      bus = 1
      solt = 16
      function = 0
    }],
    [{
      domain = 0
      bus = 1
      solt = 16
      function = 2
    }],
    [{
      domain = 0
      bus = 1
      solt = 16
      function = 4
    }],
  ]
}

....
hostdev = "${var.hostdev_list[count.index]}"

@fkpwolf The PR #552 was closed. I understood that you agreed that you can achieve the results you need with XSLT. So I'd suggest to @MalloZup to close this one but please feel free to reopen if that's not the case.

@zeenix  this isn't only a XSLT: https://github.com/dmacvicar/terraform-provider-libvirt/issues/461#issuecomment-438569134

@MalloZup i saw that comment but PR was created based on that and the last comment there indicates again that XSLT is probably the way forward.

closing.thx  @zeenix !!

Hi!
this wont work for GPU i think?
would it make sense to just have a general xml option where users can add any virt xml?


Issue with k8s.io/docs/tutorials/hello-minikube/

This is a Bug Report

Problem:
`$ minikube addons enable heapster
*
X enable failed: property name "heapster" not found
*

minikube is exiting due to an error. If the above message is not useful, open an issue:

https://github.com/kubernetes/minikube/issues/new/choose`
Proposed Solution:
Change to a different add in option

Page to Update:
https://kubernetes.io/...

It seems like the same issue as https://github.com/kubernetes/website/issues/18420#issuecomment-570246522


Sending message to a node while enrolled fails

Observed behavior
ockam enroll
ockam node create n1
ockam message send 'Hello Ockam!' --to /node/n1/service/echo

The above commands fails for an enrolled user
Steps to reproduce
Run the command stated above, to reproduce the error.
Expected behavior
Should return a successful output "Hello Ockam!"
Ockam Version
Version 0.90.0, hash: 8a77aa9dec024b05d9da00f4e75acd188ff6e785

Here are the details of why this scenario is failing:

To make the default use cases easier for the user, nodes created after enrolling are created passing the default project data, which translates into having a default policy referencing that project
This also means that those nodes are configured with an incoming access control, so they expect to be reached through a secure channel
Therefore, when running the message send command pointing to a local node, that access control check doesn't pass because we are NOT communicating the nodes through a secure channel

We can adapt to different scenarios using the --identity and --project arguments so that temporary nodes that send messages have the needed information. But in any case, we should refactor a little the message send command logic to always create a secure channel with the --to address.

Good explanation @adrianbenavides ,  closing this as it is expected and not a bug.


Increase Java memory for the closure compiler

We should increase the memory the JVM gets when running the compiler.  See this discussion for more info.

@sarge:  I've done some experimenting with this, and it seems that a compile for me on a 64-bit Ubuntu machine takes around 420MB of RAM.  My system's default for max heap size is quite large, around 8GB.
I tried to find the limit by lowering the maximum from 500MB down to 100MB, but it seems that for me, Closure is able to adjust and fit inside of 100MB of RAM if I tell Java that this is my maximum heap size.
I've had successful builds as low as 35MB, but at 30MB it fails for me.
What are your system's defaults?  Please reply with the output of:
java -XX:+PrintFlagsFinal -version | grep HeapSize
I could just set it to 512MB for everyone, but I'm starting to think that would just be a band-aid on a problem I don't really understand yet.

Sure here are my settings, as I read them they should be high enough based on your tests.
Let me know if you want me to run any other tests
java -XX:+PrintFlagsFinal -version | grep HeapSize
    uintx ErgoHeapSizeLimit                         = 0               {product}
    uintx HeapSizePerGCThread                       = 87241520        {product}
    uintx InitialHeapSize                          := 11533440        {product}
    uintx LargePageHeapSizeThreshold                = 134217728       {product}
    uintx MaxHeapSize                              := 184549376       {product}
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

@sarge, is this still an issue for you?  I have still not been able to reproduce.

Have just run 6 builds in a row. Happy for you to close

Thanks, @sarge


Orchard.exe fail on azure console

Scenario:
Newly published site (via git publishing repository),
Site is up and running with default db
Orchard.exe runs OK on published folder
Trying to run from the azure console results in an exception:
> bin\Orchard.exe
D:\home\site\wwwroot
Initializing Orchard session. (This might take a few seconds...)

Type "?" for help, "exit" to exit, "cls" to clear screen

orchard> Error:

  Object reference not set to an instance of an object.

>

Can anyone verify this is not specific to my setting?
Is there a way to remotely debug Orchard.exe ?

Orchard.exe runs fine for me on the Kudu console (running on azure web apps).  Did you check the logs?  It could be trying to load a dependency and hitting an error.

I can repro, but only from the Portal and it works fine from the scm console.
I talked to the devs and they explained to me that orchard.exe can't work on the portal console as it's interactive. On the portal they don't support interactive input, they just run the .exe and wait for it to finish, not providing the Sandard input at all.
I am closing it as Not Supported for now.


Hello , I am not able to specify the config element, since i need to override the default behavior for the basics steps.

I am not sure where to use the config, before basic or after the basic. I am placing the config just after the parameter and it is throwing me an error saying basic is not defined. Please help me with an example where I can see how the config elements have been used to override the basic properties.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fa4dc0f9-5eb2-1928-5546-6eb5b38d79fc
Version Independent ID: 56e0b028-1deb-1dff-e838-17821d0648e2
Content: CreateUiDefinition.json file for portal pane - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/create-uidefinition-overview.md
Service: managed-applications
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@amit-sycomp  - Thank you for sharing your feedback! Could you provide us with a specific URL of the Doc that you provided your feedback on? That way, we will be able to connect you with the right team and find the right solution on it.

Hi Anurag,
Please find the URL below.
https://docs.microsoft.com/en-us/azure/azure-resource-manager/managed-applications/create-uidefinition-overview#config

@amit-sycomp Thanks for sharing the document which you are referring to.
Thanks for the feedback! Your feedback  has been shared with the content owner for further review.

@amit-sycomp - thanks for your feedback. The first code block shows where the config section goes in the file. It is right before the basics section. Here is a simple example:
{
"$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",
"handler": "Microsoft.Azure.CreateUIDef",
"version": "0.1.2-preview",
"parameters": {
"config": {
"basics": {
"description": "My description"
}
},
"basics": [
{}
],
"steps": [
],
"outputs": {
}
}
}

Hello Tom,
If I need to provide the allowed location in order to choose it from.
{
"$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",
"handler": "Microsoft.Azure.CreateUIDef",
"version": "0.1.2-preview",
"parameters": {
"config": {
"basics": {
"description": "xyz",
"location": {
            "label": "Custom label for location",
            "toolTip": "provide a useful tooltip",
            "resourceTypes": [ "Microsoft.Compute/virtualMachines" ],
            "allowedValues": [ "eastus", "westus2" ],
            "visible": true
        }
    }

    },

Is it fine? Or I need to put this after "basic":[
Please confirm.

That should be right but I didn't test the code.

This is resolved, Thanks, Tom.


Update OAuth scopes

The Mastodon OAuth Scopes page specifies additional scopes for push and admin related scopes. We should at least provide these scopes as well:

push

The follow scope has been deprecated in Mastodon 3.5.0 and we should mark it eventually. Users should start to request read and/or write scope instead.
The admin scopes admin:read and admin:write can be left aside for the moment, as we do not implement any of the admin calls yet.

I'd like to do this, including the addition of both admin scopes and all child scopes and also the deprecation of our definition of FOLLOW.
Regarding our definition of ALL(Scope(READ, WRITE, FOLLOW).toString()), this is currently a convoluted way of defining ALL.scopeName as read write follow. Instead of changing this definition to something like read write push, I think it would be sensible to just deprecate this one as well, while keeping its scopeName as currently defined. In the future, this should be removed with FOLLOW.
Reason: Redefining ALL might lead to hard-to-detect errors, for example if a library user has previously used that scope for app creation but not yet in a specific authorization request. According to Mastodon documentation about OAuth scopes:

The set of scopes saved during app creation must include all the scopes that you will request in the authorization request, otherwise authorization will fail.

In the future, anyone requesting full access should just do this by something like Scope(READ, WRITE, PUSH) directly.
Any objections?

Also marking this as necessary for 2.0.0. We do have some admin methods by now, but lack the possibility for users to declare the scopes necessary to access them.


Code cleanups

Makes more variables const, changes the way a query_result is constructed by using std::move to transfer data ownership and some smaller code "clean-ups".

Codecov Report

Merging #31 (d58fd33) into master (46b68cb) will decrease coverage by 0.15%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   79.28%   79.13%   -0.16%
==========================================
  Files          27       27
  Lines         811      805       -6
==========================================
- Hits          643      637       -6
  Misses        168      168

Impacted Files
Coverage Δ

src/sliding_window_search.cpp
93.75% <50.00%> (-0.19%)
:arrow_down:

include/sliding_window/search/query_result.hpp
100.00% <100.00%> (ø)

include/sliding_window/search/search_setup.hpp
84.21% <100.00%> (-0.41%)
:arrow_down:

...iding_window/search/write_output_file_parallel.hpp
100.00% <100.00%> (ø)

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 46b68cb...d58fd33. Read the comment docs.


Could not load type 'SassAndCoffee.AspNet.SassInterceptorModule'.

I am deploying my project on Azure websites using Deployment from Source Control. NuGet package restore is switched on and everything was working as expected. I installed SassAndCoffee.AspNet using NuGet and built the application and then deployed to Azure using git.
I received this error:
Could not load type 'SassAndCoffee.AspNet.SassInterceptorModule'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
        Exception Details: System.Web.HttpException: Could not load type 'SassAndCoffee.AspNet.SassInterceptorModule'.

        Source Error:

        An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

        Stack Trace:

        [HttpException (0x80004005): Could not load type 'SassAndCoffee.AspNet.SassInterceptorModule'.]
           System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +9793404
           System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +38

        [ConfigurationErrorsException: Could not load type 'SassAndCoffee.AspNet.SassInterceptorModule'.]

           System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930568
           System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
           System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

Sorry about the presentation of the stack trace!

I don't really maintain this anymore and it's massively bitrotted and out of date. Sorry!

Okay, thank you for letting me know!


Work on translation

Changing the wording of terms and correction of minor errors
P.S. I hope there are no more commits from d670089, 85b07bd, 9041f63 and 80b73e6. I don't have enough experience working with Git.

Hi, @AquariusStar
You can avoid introducing merged commits by following these steps:

Add a new remote in your forked repo that points to this repo https://github.com/sourcegit-scm/sourcegit.git, and give it a friend name, for example: official
Fetch the latest commits of remote official
Create a new branch that based on the latest remote branch official/develop, and give it a meaningful name, for example: feature/enhance_russian_translation
Cherry-pick the newer commits you want to merged into the official repo one-by-one.
Push the create branch to your github original repo.
The you can create a PR from github website with the branch you have just pushed.


ReplacedBlocks ignores random chunks

For quite a while now, I've noticed that ReplacedBlocks seems to ignore seemingly random chunks. The SurfaceBlock and GroundBlock still works correctly in these chunks, but all of the ReplacedBlocks in these chunks are ignored. In the image below, the lava should have been replaced with ice and the stone with netherrack. (The bedrock has been replaced with obsidian using BedrockobBlock:49 in the world config)

The exact ReplacedBlocks line for the biome in the picture is:
ReplacedBlocks:(STONE,NETHERRACK),(GRASS,ICE),(LAVA,ICE),(STATIONARY_LAVA,ICE),(YELLOW_FLOWER,REDSTONE_TORCH_ON),(RED_ROSE,REDSTONE_TORCH_ON)

This bug occurs in all biomes.
If I regen the affected chunks with worldedit, they generate correctly.
From my experience, it seems as if this only happens (or most frequently happens) near certain areas of chunks which suffer from another problem.

@Timethor @rutgerkok affects 2.7.2-snapshot


Feature request: support for ntfy.sh

ntfy.sh is a simple notification provider that can be used from the cloud hosted version from the dev or self hosted.

I made a quick PR to add this in #3446.  Seems like a pretty decent/simple notification service!

Tested locally and it works great. Thanks. New feature should bump this to v3.4 I think
@gazpachoking

updated the wiki


As an explorer user, I want to see execution errors in order to debug my transaction failures.

Problem
What problem are we solving and why does it matter, ser?
When transfers are going through slow path, they might fail executions for a while. In some cases if the calldata is bad, they might fail forever. We should provide users and developers with some better info on these cases.
Proposed Solution
Thoughts on solution design. We should do  to solve this problem.

[x] When execution fails for any reason that is not our parsed reasons (currently LowRelayerFee and SlippageExceeded), put a generic ExecutionError in the database.
[ ] Parse out authentication errors from our library helpers (i.e. if it's called by a router but it's expecting to be called by the bridge) and make a new AuthenticationError.
[x] Show ExecutionErrors on the explorer, along with the necessary calldata, callTo address, etc. to make it easier to simulate the error on Tenderly.
[ ] Bonus points: Add a link to instantly simulate on Tenderly.

Acceptance Criteria
From an end tester and/or user perspective, the below criteria must be met to consider this done:

[ ] Explorer shows more info about errors and helpful links to debug.

We don't have a proper library with defined errors for auth errors. This is something we should add cc @just-a-node .
Also, Tenderly API requires a key so it's not ideal to embed into the explorer. Closing this as completed since ExecutionErrors are displayed now.


New queued job

Overview
Garbage collection was recently moved to a crontask for the session manager module, see https://github.com/silverstripe/silverstripe-session-manager/pull/9
This relies on the silverstripe/contask module being installed, which isn't a commonly used module, compared to symbiote/queuedjobs.
For all sites, a new queued job should be created and added on dev build to ensure the garbage collection tasks can happen without additional Developer intervention.
Acceptance Criteria

[ ] If the queued job module is installed, a dedicated queued job for garbage collection is added to the project at the same time
[ ] A Developer does not have to manually configure the queued job
[ ] The queued job re-queues itself
[ ] Validate that the crontask isn't required, and then remove that bit of code, opting to only have the queued job implementation
[ ] Readme reflects how Developers should manage this task taking into account whether their project is using the queued jobs module or not

Notes

This work wouldn't assume that queued jobs should be a requirement of the session manager module. There is still the opportunity to manually schedule the task

From @maxime-rainville :

I was just looking at the install stats for crontask vs queued jobs ... according packagist, queued jobs and crontask are about as popular. If anything crontask seems like it's gaining in popularity, while queued job is stagnating.

https://packagist.org/packages/symbiote/silverstripe-queuedjobs/stats
https://packagist.org/packages/silverstripe/crontask/stats
On our platforms, crontask actually has more installs than queued jobs. 754 vs 648

My point is that my initial thought that we should prioritise Queued job over crontask was probably wrong.

On the note of: "Validate that the crontask isn't required", there are other modules that I expect suggest the use of queuedjobs but don't enforce it - we should see how they handle this. E.g.:

advanced workflow: https://github.com/symbiote/silverstripe-advancedworkflow
https://github.com/silverstripe/silverstripe-contentreview

CWP Kitchen Sink module usage of queuedjobs vs crontask where both are required. Analysis of composer.lock:
symbiote/silverstripe-queuedjobs
require

bringyourownideas/silverstripe-composer-security-checker
bringyourownideas/silverstripe-maintenance
cwp/cwp-recipe-search
silverstripe/gridfieldqueuedexport
silverstripe/ldap
symbiote/silverstripe-advancedworkflowsuggest:
silverstripe/contentreview
silverstripe/fulltextsearch
silverstripe/recipe-form-building

silverstripe/crontask
require:

(none)

suggest:

cwp/cwp


bump github.com/DataDog/go-sqllexer to v0.0.18

What does this PR do?
This PR bumps the go-sqllexer dependency to v0.018 include this patch https://github.com/DataDog/go-sqllexer/pull/43.
Motivation
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

Before vs. After

/merge


Bump bindgen version

This bump was required as it was causing fix753 workaround to fail.

Hi Albert! This looks fine to me, but just for my curiosity can you explain what the new bindgen version does differently that makes things work?

Checking the changelog, I think the change that is probably making it work is this one: https://github.com/rust-lang/rust-bindgen/pull/2779
From my experiments, it looked like MARK_FIX_753 macro was not being parsed correctly. The fix is for function-like macros, whereas the MARK_FIX_753 macro is a declaration. But it is the only related thing I've seen at first glance, so it is a fair guess.
Either that, or some of the dependencies that have been updated in the crate, for example, clang: https://github.com/rust-lang/rust-bindgen/commit/39232cc6e00e61df6e130d06fd2858218cce1c32

I'm not sure I get it because I never ran into any problem, but in any case this update should be harmless (and the extra rebuild condition is useful). Merged, thanks!


@slidy/core: items alignment

After some time I think I am completely sure: items alignment is a must option. Centring the carousel items is the most used case, still, there are some situations where you definitely need some other options.

After some time I think I am completely sure: items alignment is a must option. Centring the carousel items is the most used case, still, there are some situations where you definitely need some other options.

Return the align option?

Returned https://github.com/Valexr/Slidy/commit/746250c9fc59759ee11c6d00dab7229f65c363bb

Thank you, I have updated the svelte template and demo, it works fine: 00b2a02b1fca6c589b15549639723b4f6b886f58.


no need to have option for skipping genes when there are no sequences

Coverage decreased (-0.0%) to 95.24% when pulling 76b17772e3c77f7646e06271338ddb55579d4b67 on remove_missing_taxa into 76cf66f24e5ef015e26f506e10ab5b2661952d5c on master.


Roll Flutter Engine from f320b8c36fee to de489e35e346 (4 revisions)

https://github.com/flutter/engine/compare/f320b8c36fee...de489e35e346
2023-06-27<EMAIL_ADDRESS>[Impeller] Give Impeller a dedicated raster priority level worker loop. (flutter/engine#43166)
2023-06-27<EMAIL_ADDRESS>[Impeller] Fixes for GLES color mask setup (flutter/engine#43225)
2023-06-27<EMAIL_ADDRESS>Roll ANGLE from cba77bceb26c to 02292814a9d3 (1 revision) (flutter/engine#43224)
2023-06-27<EMAIL_ADDRESS>Roll Skia from 370132bcadb1 to 5209dc7702d0 (1 revision) (flutter/engine#43223)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[FEA] Allow libraries that implement array_ufunc to override CUDAUFuncDispatcher

Details / notes:
From Allow libraries that implement array_ufunc to override CUDAUFuncDispatcher on the Numba Discourse.
There was a PR implementing this for the CPU target: https://github.com/numba/numba/pull/8995
A related issue on the Awkward issue tracker: https://github.com/scikit-hep/awkward/issues/3179
This is to support using Coffea on CUDA.
cc @ianna @lgray
Initial thoughts:
I am not able to dig deep into this right now, but there are a couple of additional potential hurdles for the CUDA target:

The CUDA Ufunc mechanism doesn't yet support dynamic Ufuncs, which seem to be a part of the implementation of the PR for the CPU target.
The __array_ufunc__ mechanism seems CPU-centric - will we need to define a new __cuda_array_ufunc__ mechanism for this to be practical? c.f. __cuda_array_interface__ vs. __array_interface__.

See #37, which is a better-written request.


Enable the SMTP configuration in the docker-compose or environment variables?

Is there anyway to enable the SMTP configuration in the docker-compose or environment variables, configuration, anything when running this docker image?
Right now I have to login to freescout after, goto settings, then configure SMTP to connect to my mail server. Looking for a SMTP_HOST, SMTP_USER, SMTP_PASSWORD, type settings. Thanks

Filling out SMTP_HOST, SMTP_USER, SMTP_PASS, etc.  On startup the logs say:
2023-10-06.16:41:07 [NOTICE] ** [messaging] Container configured to route mail via SMTP to 'mail.testhost.com'
But nothing is set when I goto the webGUI and check the mail settings for SMTP.
Nothing gets set in the options table either:
select * from options;

The SMTP commands are actually for PHP configuration, not for freescout. You could use the options within freescout to use the php mail() function, but at this time you are better off continuing entering your SMTP details manually per mailbox.

The SMTP commands are actually for PHP configuration, not for freescout. You could use the options within freescout to use the php mail() function, but at this time you are better off continuing entering your SMTP details manually per mailbox.

Is there anyway to generate the encrypted smtp password on the command line? Then I could insert it into the 'options' database table along with the user, host, etc. Thanks

I think you would want to request that as a feature to the Freescout developers to be added as an artisan:freescout command. I do know that the encryption relies on the APP_KEY variable, but not much more to be honest. Perhaps a dive through the laravel docs also may help?


Update example for all queues sign

Without it, I'm getting error:
YAML syntax error occurred while parsing /path-to-app/config/solid_queue.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 6 column 15

when starting bundle exec rake solid_queue:start
Please note that the latter example staging* works fine as is.

Oh, great spot! Thank you!


Request URLs for https request are missing domains in HAR when using littleproxy version of browsermob-rest

Hey, I recently noticed that the request urls in the HAR that I get back from the --use-littleproxy true REST api don't have the entire URL for https requests ? The url is truncated to just the path - for a request to https://www.google.com/, I'm just seeing / in the HAR's request url entry.
truncated part of har for a request to https://www.google.com:
"request": {
                    "bodySize": 0,
                    "comment": "",
                    "cookies": [],
                    "headers": [],
                    "headersSize": 80,
                    "httpVersion": "HTTP/1.1",
                    "method": "GET",
                    "queryString": [],
                    "url": "/"
                },

and I'd be expecting "url": "https://www.google.com" instead of "/".
just pulled frmo master, did an mvn -Prelease -DskipTests clean install and started up bmp via bin/browsermob-proxy --use-littleproxy true, and then ran the following curls:
# make a proxy
curl -X POST <IP_ADDRESS>:8080/proxy
# start a har
curl -X PUT <IP_ADDRESS>:8080/proxy/8081/har
# request google over our proxy
curl -k -x <IP_ADDRESS>:8081 https://www.google.com -o /dev/null
# get the har back
curl <IP_ADDRESS>:8080/proxy/8081/har

and, yeah, there's no issue for http urls, they're shown in their entirety in the url entry. maybe related to #178 ? cheers :)

I had a similar experience today when using WebDriver with the ResponseFilter. I did not look into it, though, and am not sure if it was https only. I will have to take a closer look.

Thank you for finding this, @gempesaw. I'm actually surprised that HTTP URLs are showing up correctly, at least after the first request. Were you verifying the first request only, or the second (and subsequent) requests to the same host as well? With HTTPS, the full URL will be present in the CONNECT, but after that only the path to the resource will be present in the URI, which explains why it is never captured in the HAR.
Getting the full URL as the HAR spec demands is actually a bit trickier than you would expect because the scheme is not actually part of the message. I'll have to poke around a bit to determine what's possible.
This defect and the POST parameter defect @ryanlevell found yesterday really underscore the need for more robust unit tests of the HAR functionality. The legacy tests + the few new HAR tests just don't provide adequate coverage. Beefing up the HAR unit tests should be a top priority after the beta-1 release is finalized.
Thanks for your help testing this!

Ah, that makes sense about the  CONNECT & subsequent requests. The HTTP url was the first one, as you correctly surmised. I'll double check it if further requests to the same host over http have the issue.
I was able to find a workaround for my particular issue, so it's not blocking me at the moment. I'll see if I can compose a failing test at some point.

This should (hopefully) be fixed in master now. Let me know if you still see this issue.

Awesome, verified fixed in master as expected! Thanks!


Feature request: React Component selectors

Hi,
I think that it might be possible to find React Components while in development mode (since the React browser plugin is able to do it). Testing API would become super intuitive with that since we would be able to just find elements by component name and/or prop values and not worry about class or id names or even data tags for locating elements.
The API could probably look something like:
import React from 'react'
import { List, Button } from 'semantic-ui-react'
import { react, click } from 'taiko'

//...

react(List).exists() // simple

react(Button, { disabled: false }).text() === "Save" // finding using props

click(react(<Button disabled={false}>Save</Button>)) // jsx style

Cheers!

@tkshnwesper, your idea looks very interesting (knowing ReactJS popularity). I think it could be a taiko plugin (taiko-react). Taiko provides a way to extend its API.
We would love to help you if you are willing to contribute.
You can refer these links to know more about taiko plugins.

Discussion about taiko plugin ecosystem
https://taiko-preview.gauge.org/#loadplugin

Here a few taiko plugins

https://github.com/saikrishna321/taiko-diagnostics
https://github.com/getgauge-contrib/taiko-screencast

@tkshnwesper @BugDiver webdriver.io uses resq for querying react components.

Thanks for your replies :)
@BugDiver It would be my pleasure to contribute!
@SrinivasanTarget thank you for suggesting the library! 🎉

I started working on this and been doing so actively for the last couple of days. It currently supports just one API function, and I'll be expanding it to API similar to what taiko supports and even integrate it with taiko's existing selectors.
As of now there is a little bit of bloat present in the library because I got quite caught up in the middle of adding more features and publishing it as soon as I could 😅
I've used resq as pointed out by @SrinivasanTarget , and also thank you for sharing all those links @BugDiver . They helped a lot and saved lots of time that I would have spent searching  🎉
Here's the repo link:
https://github.com/tkshnwesper/taiko-react
Please feel free to contribute, suggest ideas and feedback, etc ✨
Cheers!

Looks good!
From what I understand this plugin is useful for getting virtual dom representation of the queried component.
I am not sure if it can fire events. But I can see the following workflow

Use Taiko api to perform actions
Use taiko-react plugin to read the component state and assert.

Is this right?

Thanks @zabil !
Currently, the workflow that you have mentioned is correct ✅ and that is how both of them could be made to work together.
However, there might be a way to fire events through taiko-react as well. I would have to do some research to learn how to implement this but I am pretty confident that it's possible.
I understand the importance of having this as it is the foundation behind integrating taiko-react with the page actions. I'll mostly probably start working on this once I finish wiring up some basic selectors and api.
I had a conversation with @sriv today, and he shared some excellent ideas related to integrating taiko with various UI frameworks.
Cheers!

Added functional tests ☑
Moved to organization https://github.com/taiko-react/taiko-react ☑

Good one Saurabh @tkshnwesper


Error in 0.3.0 when trying to load dbt_project.yml on Windows

Hi!
I am getting an error after the updated to version 0.3.0.
This time I am using Windows and dbt 0.18.0.
We should never come here, means that our exceptions are not handled! Error: ENOENT: no such file or directory, open '\c:\Users\xxxx\xxxx\xxxx\dbt_project.yml'
	at Object.openSync (fs.js:447:3)
	at Object.func (electron/js2c/asar.js:140:31)
	at Object.func [as openSync] (electron/js2c/asar.js:140:31)
	at Object.readFileSync (fs.js:349:35)
	at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
	at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
	at x.readAndParseProjectConfig (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:8971)
	at x.<anonymous> (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:9148)
	at Generator.next (<anonymous>)
	at c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:7550
	at new Promise (<anonymous>)
	at n (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:7295)
	at x.refresh (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:9067)
	at x.<anonymous> (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:8823)
	at Generator.next (<anonymous>)
	at c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:7550
	at new Promise (<anonymous>)
	at n (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:7295)
	at x.tryRefresh (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:8774)
	at c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:3133
	at Map.forEach (<anonymous>)
	at Object.<anonymous> (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:3119)
	at Generator.next (<anonymous>)
	at c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:2255
	at new Promise (<anonymous>)
	at n (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:2000)
	at Object.tryRefreshAll (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:3064)
	at c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:16558
	at Generator.next (<anonymous>)
	at a (c:\Users\xxxx\.vscode\extensions\innoverio.vscode-dbt-power-user-0.3.0\dist\extension.js:1:14577)
	at processTicksAndRejections (internal/process/task_queues.js:85:5)

If I do a cat '\c:\Users\xxxx\xxxx\xxxx\dbt_project.yml' in my terminal I also get an error, but if I do a cat 'c:\Users\xxxx\xxxx\xxxx\dbt_project.yml', it reads the file. So my guess is that the first \ should be removed for the extension to work again on Windows.
Cheers,

I removed the cd command as there is an option to set the cwd when launching the terminal.
Also we will always open a new terminal as potentially the path of the existing terminal might be wrong. When your venv is correctly setup through vscode-python extension, it should execute the command after the venv initialization.
Can you let us know if it works for you?

Hi! Thanks for the quick fix.
There is no longer an error on dbt_project.yml but I have the same error for manifest.json now.
File not found at '\c:\xxxxxxxx\target\manifest.json', probably not compiled! Error: ENOENT: no such file or directory, open '\c:\xxxxxxxx\target\manifest.json'
	at Object.openSync (fs.js:440:3)
	at Object.func [as openSync] (electron/js2c/asar.js:140:31)
	at Object.readFileSync (fs.js:342:35)
	at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
	at l.readAndParseManifest

We missed that one on the manifest. Fixed in 0.3.3.

Using 0.3.5 now and it is fixed. Thanks!


Fix CVE-2024-22259

https://github.com/h2oai/mlops-dai-runtimes/actions/runs/10386934430/job/28759328239

I have fixed that already, main is free of High and criticals. See latest run https://github.com/h2oai/mlops-dai-runtimes/actions/runs/10556032603


Failure to load DB contents

OSX 10.11.4; Atom 1.7.0; exist 2.2;  atom-exist 0.2.0
I followed the install instruction for my local copy of exist. After setting my password, I saw the prompt in Atom to install Server side support scripts for the Atom editor package which I did.  Dashboard says they are installed and there is nothing in the exist-log that suggest a problem with the library.
Username, PW, and URI to local install are triple checked and are all correct. I restarted/reinstalled the package in atom and exist multiple times
Yet, Toggle Database View only results in.

Should this work with 2.2, is there a way to learn more about the bad request?
Thanks for the package Wolfgang this will be great.

The eXist support app required for the Atom package definitely won't work in 2.2, at least as currently written. Queries like https://github.com/wolfgangmm/atom-editor-support/blob/master/atom-autocomplete.xql use XQuery 3.1. I can think of two ways to help:

The README.md file mention should eXist version requirements.
The support package should declare its version dependencies so that when https://github.com/wolfgangmm/atom-existdb/blob/8f1e1e10dc991d0127a0d1b182a0b4c0e3aec52a/lib/existdb-tree-view.coffee#L440 has the eXist instance fire the request to download the package from the public repo, the repo will warn about the installation.

Thanks for clarifying Joe. I figured that it was a 3.0 thing. I agree that both dashboard and atom readme should include a min version warning.
Looking forward to 3.0 ....just not to migrating :-(