Is there a way to remember last closed position and size on macOS.

I don't know it's details about this and how to deal with it in code level.
But I want to alacritty to remember last window size and position and would be there same size and position when I reopen it.
Please let me know something about it.

@luceat-lux-vestra yes, this is totally doable to get/set position using the glutin window APIs:

https://docs.rs/glutin/0.9.2/glutin/struct.GlWindow.html#method.get_position
https://docs.rs/glutin/0.9.2/glutin/struct.GlWindow.html#method.set_position

I don't know if it makes sense to remember the window size given we already specify height and width in lines and columns in the config file. There's nothing that governs the window position, so there's no design conflict there.
@jwilm I've started working on branch to add support for remembering window position. I'm not sure if I've hit on the best strategy and wanted run by the high level plan before much further.
Implementation Plan

Add a new top level config remember_position (name up for debate)
When the window closes write the x and y position of the window in a file adjacent to the config file
At new window creation time, if remember_position is set to true, check all those locations for a remembered position file. If no remembered position, don't call window.set_position

Here's the file locations I considered to match up with how config files are discovered. (I don't love how complex this is, but I assume consistency is more important):

$XDG_CONFIG/alacritty/.remembered_position.yml
$XDG_CONFIG/.alacritty.remembered_position.yml
$HOME/.config/alacritty/.remembered_position.yml
$HOME/.remembered_position.yml

Problems

I'm not sure to avoid constantly polling the GLWindow object for its position, which could performance regressions 😭
deciding where to write the file to disk gets a bit hairy
Testing could be tricky
there's so many paths! (That could is tricky to refactor but feels non-DRY to just copy/tweak)

My Branch
https://github.com/jwilm/alacritty/pull/765

There's some additional information in https://github.com/jwilm/alacritty/issues/669.
I've opened a winit issue for tracking a potential upstream implementation: https://github.com/rust-windowing/winit/issues/941


Observed behavior
iDevBook01:panel jr (develop *) $ ng build --target=production --environment=mesh --app=mesh --aot=true --progress=true --output-path=./dist/mesh --delete-output-path=true --stats-json=true
Date: 2018-03-22T21:16:37.071Z
Hash: f82eaaff21a3d21d1b7a
Time: 7461ms
chunk {0} styles.20e3500e976c50d790e3.bundle.css (styles) 193 kB [initial] [rendered]
chunk {1} polyfills.997d8cc03812de50ae67.bundle.js (polyfills) 84 bytes [initial] [rendered]
chunk {2} main.ee32620ecd1edff94184.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.318b50c57b4eba3d437b.bundle.js (inline) 796 bytes [entry] [rendered]

ERROR in : Unexpected value 'AppComponent in /Users/jr/dev/meshfed-release/panel/src/app/app.component.ts' declared by the module 'AppModule in /Users/jr/dev/meshfed-release/panel/src/app/app.module.ts'. Please add a @Pipe/@Directive/@Component annotation.
src/app/app.component.ts(1,11): error TS1005: ';' expected.
src/app/app.component.ts(1,86): error TS1005: ';' expected.

Unhandled rejection Error: ENOENT: no such file or directory, open '/Users/jr/dev/meshfed-release/panel/dist/mesh/stats.json'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.writeFileSync (fs.js:1299:33)
    at callback (/Users/jr/dev/meshfed-release/panel/node_modules/@angular/cli/tasks/build.js:56:24)
    at onCompiled (/Users/jr/dev/meshfed-release/panel/node_modules/webpack/lib/Compiler.js:237:12)
    at applyPluginsAsync.err (/Users/jr/dev/meshfed-release/panel/node_modules/webpack/lib/Compiler.js:510:14)
    at next (/Users/jr/dev/meshfed-release/panel/node_modules/tapable/lib/Tapable.js:202:11)
    at Compiler.<anonymous> (/Users/jr/dev/meshfed-release/panel/node_modules/webpack/lib/CachePlugin.js:78:5)
    at Compiler.applyPluginsAsyncSeries (/Users/jr/dev/meshfed-release/panel/node_modules/tapable/lib/Tapable.js:206:13)
    at compilation.seal.err (/Users/jr/dev/meshfed-release/panel/node_modules/webpack/lib/Compiler.js:507:11)
    at next (/Users/jr/dev/meshfed-release/panel/node_modules/tapable/lib/Tapable.js:202:11)
    at Compilation.compilation.plugin (/Users/jr/dev/meshfed-release/panel/node_modules/@angular/cli/plugins/suppress-entry-chunks-webpack-plugin.js:38:17)
    at Compilation.applyPluginsAsyncSeries (/Users/jr/dev/meshfed-release/panel/node_modules/tapable/lib/Tapable.js:206:13)
    at applyPluginsAsync.err (/Users/jr/dev/meshfed-release/panel/node_modules/webpack/lib/Compilation.js:677:19)
    at next (/Users/jr/dev/meshfed-release/panel/node_modules/tapable/lib/Tapable.js:202:11)
    at Compilation.compilation.plugin (/Users/jr/dev/meshfed-release/panel/node_modules/webpack/lib/ProgressPlugin.js:123:6)
    at Compilation.applyPluginsAsyncSeries (/Users/jr/dev/meshfed-release/panel/node_modules/tapable/lib/Tapable.js:206:13)

iDevBook01:panel jr (develop *) $ $?
-bash: 0: command not found

Desired behavior
The ng build command should return a non-zero exit code

I have the same problem as you. It seems that the build will always return the 0 exit code when --stats-json option is given. This bug is quite annoying in the CI, so I hope that the Angular CLI team can be aware of this :).

Is same like this one https://github.com/angular/angular-cli/issues/9720

Duplicate of #9720


Upsampling2d tflite conversionleads to failing shape inference and wrong output shape

This behavior is tflite conersion issue described here https://github.com/tensorflow/tensorflow/issues/43882
and here https://stackoverflow.com/questions/66984040/keras-upsampling2d-tflite-conversion-results-in-failing-shape-inference-and-u


Add verification phase to CLI before installing

We would like to add a verification phase before applying resources in the odigos install command.
This verification mechanism should be easily extensible as we will add more verifications.
Each verification should also recommend to the user how to mitigate in case the verification is failed.
Some of the proposed verifications:

Check if PodSecurityPolicy is enabled. If enabled the user should use --psp flag when installing
Check if OPA Gatekeeper is installed, if installed, the user should whiltelist the odigos-system namespace by following this guide.
Check kernel versions of running nodes

could you please assign me on this @edeNFed? but I need more elaboration on the technicality

could you please help to review the proposal on how we're gonna add verification phase #986 @edeNFed? thank you 🙇

could you please elaborate the Check kernel versions of running nodes part @edeNFed ? thank you 🙇

also, when executingodigos install, user have a flexibility to define the namespace, right? so we need to check user-inputted namespace instead of odigos-system  for allow-listed?

could you please elaborate the Check kernel versions of running nodes part @edeNFed ? thank you 🙇

We should check that at least one Kubernetes node has kernelVersion above 4.14. You can get the kernel version from the nodeInfo field of the node:
  nodeInfo:
    architecture: arm64
    bootID: 98511e31-ee92-4cdf-bfc7-0791f0e58dff
    containerRuntimeVersion: containerd://1.6.9
    kernelVersion: 6.5.11-linuxkit


ogr iu edu tr removed

@mazharselvitopi lib/domains/stoplist.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@mazharselvitopi Thank you for your request. I have to close it, because:

The file stoplist.txt is not a part of this repository where modifications are accepted by a pull request.
The domain ogr.iu.edu.tr in the stoplist because of a serious reason, and it will not be removed from there in the foreseeable future, until the email assigning policy in this domain is changed.

Please apply for free educational license with an official document, which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding.


Restore case insensitive regex

Change-type: patch
Signed-off-by: Kyle Harding<EMAIL_ADDRESS>

approve this please


Accelerate aggregation and parse

Close Issues

#1
#5
MIERUNE/GTFS-GO#77

Benchmark

data set

name
source
size
file

Takushoku Bus
the fixture of test
small
fx_TakushokuBus.zip

Tokyo Toei Bus
#6
medium
P6_ToeiBus.zip

Vancouver TransLink
MIERUNE/GTFS-GO#77
large
G77_TransLink.zip

Swiss
#1
extra large
GTFS_FP2021_2021-12-08_09-10.zip

results

read_stops(): 1.2 - 1.7 times faster
read_routes() noshape: 8.0 - 12.7 times faster
read_routes() shape: 4.1 - 6.6 times faster
aggregator nounify: 2.9 - 3.9 times faster
aggregator unify: 21.0 - 37.2 times faster

remarks
Current<EMAIL_ADDRESS>has 2 bugs. I fix them temporary and use for measurement.
Like this:
        # Point -> LineString: group by route_id and trip_id
        lines = merged.groupby(["route_id", "trip_id"])["stop_pt"].apply(tuple)
        line_df = lines.reset_index()[["route_id", "stop_pt"]].drop_duplicates()

Description（変更内容）
Accelerate and refactor for aggregation, especially for stop unification

Change the unification from apply per stops to process for whole dataframe.
Change merge procedures so that they are done on smaller dataframes.
Decrease max_distance_degree 0.01 to 0.003 and add process of join near groups.

This change reduces the number of unified stops in test cases because there are stops with a same name that are 400 meters apart from each other.

Exclude parent stops from aggregation with no_unify_stops option.

This change reduces the number of aggregated stops in the test case with no_unify_stops option.

Break large __aggregate_similar_stops() into small static methods.
Remove path_id and related procedures in read_route_frequency()

Add read_stop_relations() to Aggregator

Add read_stop_relations()  that returns relations of stops and similar stops as a list of dictionaries.
Eliminate modification of gtfs data frames in the Aggregator class.
Eliminate GTFS-GO (gtfs_go_dialog.py) getting stop relations from inside Aggregator.

Acclerate and refactor read_routes()

Unify stop patterns by stop_id, not by line string.
Minimize number of coordinate pairing and linestring generation.
Fix sort procedure for stop sequence.

The route collapse problem in PR #9 was caused by a difference in sorting behavior between Pandas 2.2 and 1.1 (built into QGIS 3.28).

Change the method of generating features from iterrows() to to_dict().
Break large read_routes() into some small methods.

Acclerate read_stops()

Change merge/join procedure to be faster.
Change the method of generating features from iterrows() to to_dict().

Add test cases for aggregation

Add test cases of delimiter, time filter.
Add tests for record values.
Set target date to feed_start_date.
Arrange the test cases from per-method to per-option.

Manual Testing（手動テスト）

Please check in QGIS on your Mac OS.

LGTM!


Error when closing multiple GUI items

Mismatching indices may occur when GUI objects aren't  closed in descending order.
Each GUI object should be deletable/closable at any given moment, irrespective of the preceding closures.

This issue has been resolved with commit 7c4e92b.


Update kubes to 1.7.0

Motivation for this change
Need access to breaking changes from the Kubernetes api, present in the new version.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

FYI. The k8s service also needs changes in order for that to work with a newer version. See https://github.com/NixOS/nixpkgs/pull/25426

@LnL7, I don't see that package.

ping @offlinehacker @matejc

@Fresheyeball have you got a plan to upgrade the kubernetes service? If yes, then I suggest adding WIP tag here on github and some plan of attack, otherwise this should not be merged.

I'm closing this in favour of https://github.com/NixOS/nixpkgs/pull/25426


GEOWAVE-306

#306

Coverage increased (+0.07%) to 31.82% when pulling 573e3f661215fd4ffcb13ca1256333717f9d435d on GEOWAVE-306 into f4814853d90077e9abd3576c845f7fcd2383d73b on master.

I started looking at this again more closely.
PropertyManagement changed a bit for me as I started seeing its potential as a uniform way to handle parameters in the analytics. Looking at it some more tonight, I think there is some thought that I left unfinished.  I am going to make some additional adjustments tomorrow.

Addressed the concerns of the last push.
(1) Added localized message to IOException
(2) Consistent handling of serializable objects in the parameter management.
(3) formatting efficiencies.
So, ready for another review.
Thanks

Coverage increased (+0.37%) to 32.12% when pulling 905903ef61457edaa65620d47a5aad2a4221a894 on GEOWAVE-306 into f4814853d90077e9abd3576c845f7fcd2383d73b on master.

Coverage increased (+0.37%) to 32.12% when pulling 905903ef61457edaa65620d47a5aad2a4221a894 on GEOWAVE-306 into f4814853d90077e9abd3576c845f7fcd2383d73b on master.


Map slack IDs to user/channel in API serializers

This is so the human-readable name can be presented in the UI.
This small PR is worth a longer explanation. With the ability to
turn off input sanitization in #171 it's possible to store
< and > in the fields for these models verbatim.
The regex that replaces slack IDs will currently only work in this
case.
Where there is existing escaped data, we could either modify the
regex to match escaped entities like < or write a data migration
to un-escape existing values. I've decided both of those are outside
the scope of this PR ;)
Also up for discussion: removing the unslackify template tag if nobody
is using it (the built-in templates don't, but we may have users who are).

As discussed, I've added two new fields (details_ui and text_ui respectively) that represent the human-readable text. By default these are read-only.


Remove GetReviewers and Reviewers message

This removes the unused GetReviewers RPC called and Reviewers messages type as they are no longer used by the frontend.
Based on #923.
Fixes #928

Codecov Report

Merging #929 (a228f55) into master (079aeaa) will increase coverage by 0.43%.
The diff coverage is 13.70%.

@@            Coverage Diff             @@
##           master     #929      +/-   ##
==========================================
+ Coverage   29.81%   30.24%   +0.43%
==========================================
  Files          92       92
  Lines        9180     9069     -111
==========================================
+ Hits         2737     2743       +6
+ Misses       6150     6032     -118
- Partials      293      294       +1

Flag
Coverage Δ

unittests
30.24% <13.70%> (+0.43%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

qf/ids.go
0.00% <0.00%> (ø)

qf/quickfeed.pb.go
87.50% <ø> (ø)

qf/remove_remote_id.go
31.11% <ø> (+2.53%)
:arrow_up:

qf/types.pb.go
9.76% <ø> (ø)

qf/validation.go
0.00% <0.00%> (ø)

qf/requests.pb.go
3.35% <8.04%> (+0.88%)
:arrow_up:

web/interceptor/access_control.go
67.85% <25.00%> (-2.52%)
:arrow_down:

web/quickfeed_service.go
33.18% <33.33%> (+0.51%)
:arrow_up:

web/courses.go
44.31% <60.00%> (+1.61%)
:arrow_up:

database/gormdb_assignment.go
61.59% <66.66%> (ø)

... and 5 more

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


use gwt-jackson for encoding/decoding

use https://github.com/nmorel/gwt-jackson for the RestService code generation. most probably a second implementation (it has only 2 or 3 public methods) of
https://github.com/resty-gwt/resty-gwt/blob/master/restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderInstanceLocator.java
will do.
and make a property in the GWT.xml to pick the encoding framework in
https://github.com/resty-gwt/resty-gwt/blob/master/restygwt/src/main/java/org/fusesource/restygwt/rebind/RestServiceClassCreator.java#L171
as we want to stay backwards compatible but on the same hand want to move forward.

done via #313


INT Bugged on new replays.

Match Id :<PHONE_NUMBER>
Latest 2.4 Snapshop (and same on 2.3 snapshots).
m_flIntellectTotal on the Player Entity has Int as -2147483648 to start the game.  I am unsure if this is a Dota 2 replay issue, or a bug in Skadi.  But leaving it here as I am walking out the door for Vacation.
About 20,000 replays so far have this issue within the last 24 hours.

Hey, I suspect this was also because of the recent bugfix. Please retest with 2.4.


Add Bootstrap classes to make the webpage responsive to different screen sizes

Right now this project lacks responsive web design and due to that, it is difficult to view on devices with smaller screen sizes.
This can be solved by adding necessary bootstrap classes or you may take any other approach which you think will solve this issue.
Please explain the changes in a brief manner in your PR.

Hey @rimijoker , I want to make responsive this site. Can I go ahead?

Hey @rimijoker , I want to make responsive this site. Can I go ahead?

 I try another issue.
I request @rimijoker to assign this issue to @BRAVO68WEB

I don't work on this issue. @BRAVO68WEB you can go ahead instead of me.

ok sure i got this @Utsav-Ladani ,
Currently working on it

Assign me
@rimijoker

@rimijoker Fixed it

Please Check

@rimijoker ??

@rimijoker ??

@BRAVO68WEB  I left some comments on your PR, please take a look.


Fix for STRUMPACK with Hypre >= 21600

Make STRUMPACK sparse solver work with Hypre versions 2.16 and beyond.
This fix is similar to the fix for SuperLU_Dist: https://github.com/mfem/mfem/pull/988
Some other comments/questions:

With this fix, this conflict in the MFEM spack installer can be updated:
conflicts('+strumpack'<EMAIL_ADDRESS>^hypre@2.16.0:')
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/mfem/package.py
I can change all integers used in the STRUMPACK interface to HYPRE_Int ?
I can add an interface to strumpack::StrumpackSparseSolver, which does not rely on MPI. However, since there is also no interface to SuperLU (sequential) or SuperLU_MT (mutithreaded), maybe there is no need for that?
STRUMPACK's CMake exports the target STRUMPACK::strumpack, which depends on METIS and optionally OpenMP, MPI, CUDA, cuBLAS, cuSOLVER, scalapack, ParMETIS, Scotch, zfp. But MFEM's cmake doesn't seem to support such targets (there is an error message from line 841 in MfemCmakeUtilities.cmake). I think using the target should make it easier to link STRUMPACK's dependencies.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1724
@pghysels
@tzanio
@tzanio + @dylan-copeland
09/27/20
⌛due 10/11/20
⌛due 10/18/20

@pghysels, here are my thoughts regarding your questions and comments:

With this fix, this conflict in the MFEM spack installer can be updated:
conflicts('+strumpack'<EMAIL_ADDRESS>^hypre@2.16.0:')
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/mfem/package.py

Yes, we can do that as part of the spack package update for the next mfem release.

I can change all integers used in the STRUMPACK interface to HYPRE_Int ?

It makes sense -- it should allow us to use STRUMPACK with hypre builds using "bigint" (and maybe even "mixedint"). It can be done in a follow-on PR, unless you prefer to do it in this PR.

I can add an interface to strumpack::StrumpackSparseSolver, which does not rely on MPI. However, since there is also no interface to SuperLU (sequential) or SuperLU_MT (mutithreaded), maybe there is no need for that?

I don't know if there are any users interested in that at this point. Maybe it can be done later, if the need arises.

STRUMPACK's CMake exports the target STRUMPACK::strumpack, which depends on METIS and optionally OpenMP, MPI, CUDA, cuBLAS, cuSOLVER, scalapack, ParMETIS, Scotch, zfp. But MFEM's cmake doesn't seem to support such targets (there is an error message from line 841 in MfemCmakeUtilities.cmake). I think using the target should make it easier to link STRUMPACK's dependencies.

We should be able to use this new cmake export -- this is relatively new, right? The error you mentioned can be handled in the "if" statement just above the line where you get the error, similar to the PUMI (SCOREC::*) and Ginkgo (Ginkgo::*) interfaces. We probably will need to update the file config/cmake/modules/FindSTRUMPACK.cmake  to take advantage of this.

@pghysels and @v-dobrev, do you prefer to address items 2 and 4 above (the change to HYPRE_Ints and the CMake build update) in this or a follow-on PR?
Either way is fine with me

I can make a follow-up PR

Merged in next for testing...


/metrics URL suddenly stopped working

Hi,
first of all, thank you for this great tool!
I just have a very strange situation: on 1 of my servers, the export suddenly stopped working (everything was fine for more than a month!).
I tried to update to the latest version (0.2.2), but the issue is still appearing.
Issue
When I launch the following command:
wmi_exporter.exe -log.format logger:eventlog?name=wmi_exporter -collectors.enabled "cpu,cs,iis,logical_disk,net,os,system" -telemetry.addr :9182

the /health URI returns {"status":"ok"}, but the /metrics does not respond.
I tried to enable the different collectors only one a a time and I got this result:

Working fine (/metrics responds with the expected metrics):

cs
os

Failing (make the /metrics hang):

cpu
iis
logical_disk
net
system

Question
Do you know a "common point" between the failing collectors, to help me further investigate and debug this situation ?

Or could it be possible to add some king of timeout for the query:
http://www.yusufozturk.info/tag/powershell-wmi-hang-timeout

@oliverpool That is very strange. The only thing common there is whether they use counters that are "RawPerf" or not. Could you check if the service collector works (added in 0.2, and also not a raw type)?
For the record, the /health endpoint always replies with ok as long as it can start the http server, so it doesn't diagnose the WMI querying capabilities.

Also, could you try issuing this in a Powershell terminal?
Get-WmiObject Win32_PerfRawData_Tcpip_NetworkInterface

Could you check if the service collector works

service works fine (also with os and cs)

/health endpoint always replies with ok

It was to be sure that the http listener was working

Get-WmiObject Win32_PerfRawData_Tcpip_NetworkInterface

It hangs (forever in comparison with another server which replies in a couple of seconds)

I'm trying the WMI Diagnosis Utility utility described here: https://social.technet.microsoft.com/Forums/windows/en-US/65bb62e8-7816-4206-8417-033025394086/wmi-query-hanging?forum=winserverManagement (but it takes quite a while).
It seems to be a bug in windows (and you can't do much about it :-), the only feature that the wmi_exporter could have, is to have some kind of timeout in case of such failure.

@oliverpool I had similar issues when upgrading to 0.2.0 and having the services metrics enabled. The issue was on the Prometheus side where the --storage.local.memory-chunks was set too low.

I'm wondering if this could be related to the problem reported here: https://github.com/martinlindhe/wmi_exporter/issues/50#issuecomment-270630204.
If the diagnostics utility doesn't come up with anything, try the command mentioned there.

@oliverpool on which windows version are you seeing this? Also, 32 or 64-bit?

I'm wondering if this could be related to the problem reported here: #50 (comment).

lodctr.exe /r didn't solve the issue
The WMI Diagnosis Utility seems also to be hanging.

@oliverpool Does restarting the Windows Management Instrumentation service resolve this issue?

This thread apparently solved the issue: http://www.tek-tips.com/viewthread.cfm?qid=1747388

Try running regsvr32 wmisvc.dll at the command prompt, followed by winmgmt /resyncperf, and then reboot.

So everything is back to normal: thanks everyone for the help!

It was a bug in windows (and we can't do much about it), the only feature that the wmi_exporter could have, is to have some kind of timeout to detect such failure instead of hanging forever. It could also display some error messages (maybe linking to this issue).

@oliverpool thanks for updating us! Closing this as resolved then


Move the changelog into its own file.

Lets cleanup the readme a bit and move the changelog to its own file.

Just merged 177880a5caace14381f5b6be960ad4592a56e251.

Great! I'm curious, why not merging this pull request instead of copying it?


Information/Tutorial for new features

Describe the solution you'd like
As a user I want to get a pop-up message (with update details) when opening flyt.equinor.com for the first time after a new feature release so that I know about new features I can use.
Only for major releases? Include bugs? Link to changelog?

Duplicated by #196. Maybe we should close this one? @knudsvik

Also, this one is in high-priority but not in our backlog.

Agreed. Closing this.


ts files template naming: use %03d for numbering

so that ts files are ordered

@drzraf Sorry for late reply. I was really busy with other stuffs. It downloads the ts files as per created and listed on m3u8 playlist.


Decorator spec can't access current_user when nil

My decorators sometimes need to access the current_user? helper, from devise.
If I mock a current user using Devise::Test::ControllerHelpers sign_in, like so:
before do
  sign_in create(:user)
end

That works, no problem. My decorators that access current_user get back that specified user when run under the spec, all is good.
But my app has public facing pages that have no signed in user, current_user is nil.
If I run a spec that has not done a Devise::Test::ControllerHelpers sign_in with a user -- because I am trying to test the scenario where there is no logged_in user, current_user is nil -- and that spec tries to exersize a decorator which asks for current_user, I get the dreaded:
     Devise::MissingWarden:
       Devise could not find the `Warden::Proxy` instance on your request environment.
       Make sure that your application is loading Devise and Warden as expected and that the `Warden::Manager` middleware is present in your middleware stack.
       If you are seeing this on one of your tests, ensure that your tests are either executing the Rails middleware stack or that your tests are using the `Devise::Test::ControllerHelpers` module to inject the `request.env['warden']` object for you.

Very simple reproduction (Devise 4.6.2, Draper 3.1.0, Rails 5.2.3):
# app/decorators/test_decorator.rb
class TestDecorator < Draper::Decorator
  def has_current_user?
    h.current_user.present?
  end
end

# spec/decorators/test_decorator_spec.rb
require 'rails_helper'

describe TestDecorator do
  let(:decorator) { TestDecorator.new(Object.new) }
  it "can answer has_current_user?" do
    expect(decorator.has_current_user?).to be false
  end
end

That will raise the Devise::MissingWarden
Is there a way to set up my :decorator specs so h.current_user works, even when I am not mocking a logged in user, I want no logged in user?
Ideally it would be something I could set up globally that would Just Work, and then specs which do want a logged in user would use Devise::Test::ControllerHelpers#sign_in as ordinary. If I need to do completely different mutually exclusive set up for "a mocked logged in user" vs "no mocked logged in user, current_user should be nil", that would be unfortunate. But would still at least get my tests possible again!

Ah, I see the sign_in method I am using in test setup in a decorator test, that I thought was coming from Devise::Test::ControllerHelpers, is actually coming from this gem, Draper::DeviseHelper.
Not sure what's going on, or how this changes things. But looking at what that does, to see if I can figure out how to make it set up a nil current_user instead... and if there's a way to do this in a global before block for decorator specs, that can still be overrridden by a specific sign_in.

This seems to work if I put it in my rails_helper.rb:
  config.before(:each, type: :decorator) do
    _stub_current_scope :user, nil
  end

Can't actually use the Draper::DeviseHelper#sign_in, because of the way nil short-circuits it, so do have to use the underscored  (presumably not meant for public consumption) Draper::DeviseHelpers#_stub_current_user_scope.
This will of course define a singleton method current_user on the fly.
If I then have some tests that do want a non-nil current_user, and call sign_in with an argument... that will define a current_user on the singleton again, on top of the first one.
This does seem to work... but is all a bit hacky.
Should Draper document this better and/or support this better? It seems reasonable to want devise current_user to work for nil user in decorator tests, not just for when a particular user has been mocked as logged in with sign_in.
Strangely, it does NOT seem to work if I try to do it globally as:
# spec_helper.rb or rails_helper.rb
config.before(:each, type: :decorator) do
    _stub_current_scope :user, nil
end

Not sure why, or why that would be different. The code is getting executed, but somehow is still resulting in a Devise::MissingWarden. A

Did you try sign_out? That should work:
https://github.com/drapergem/draper/blob/709338469e07f58d0f05e907640e48f32ed25a60/spec/dummy/spec/decorators/devise_spec.rb#L49-L53


ENH:  Time-label consistency over time

Mayavi's default bahavior is to change the text size when the number of characters changes, which looks  strange in a movie (see before). This PR tries to fix this tentatively by using a constant font size and right-aligning the label (see after). I don't know how much of this should be exposed in Brain.add_data(), maybe at least the font size?

Coverage increased (+0.07%) to 72.56% when pulling a2fe975f05b664f6f0f946df256f09d32dd7f326 on christianbrodbeck:timelabel into b8b8c1017e85ab3d69259d1495c3db0316aab582 on nipy:master.

This will break backward compatibility a bit, since it will change how the labels get plotted. I think I'm okay with it in this case, though. @agramfort WDYT?

Yes I was considering exposing the old default as an argument, but since the old default had this strange effect whenever the number of digits changed maybe something more useful can be exposed...

it's more a bug fix so I am fine with it. You use more these features than me anyway :)

Ok, I exposed the font size for the label. Do you want more options?

Looks good, we can add more later if we need them

Coverage increased (+0.07%) to 72.56% when pulling 188c833caf0cd1b71eafa975469b4931e88bdd56 on christianbrodbeck:timelabel into b8b8c1017e85ab3d69259d1495c3db0316aab582 on nipy:master.

Thanks again @christianbrodbeck


Extended the sendMessage interface of X.L.Gaps to allow arbitrary modifications

Description
I added ModifyGaps (GapSpec -> GapSpec) to the GapMessage type so that arbitrary modifications can be made to gaps at runtime. I utilised that to implement and expose:

weakModifyGaps, taking a simpler function of the form Direction2D -> Int -> Int
modifyGap, taking a function of the form Int -> Int and a Direction2D
setGaps, taking and instituting a GapSpec
setGap, taking an Int and a Direction2D

Ideally I would also like to remove the IncGap and DecGap constructors and re-implement them as top-level functions incGap and decGap using ModifyGaps, but that would break people's configs.
Motivation
Previously the closest thing to sendMessage $ setGap n d was sendMessage (DecGap 9999 d) >> sendMessage (IncGap n d); an awful hack. Being able to set any or all gaps in a clean way is a basic functionality that should have been available from the start.
The full generalisation also allows behaviours like toggling gaps between two non-zero states, and shifting around or reshaping the tiled region of the screen whilst satisfying dynamic dimension constraints. I mainly use it to reposition windows if I want them to maintain a specific width—good for programming on a strict budget of 80 characters per line, or reading an ebook or some manga.
Checklist

[x] I've read CONTRIBUTING.md

[x] I tested my changes with xmonad-testing

[x] I updated the CHANGES.md file

Edit: Just BTW, I had to remove the double quotes from the arithmetic evaluation expressions on lines 83 & 84 of the xmonad-testing/bin/run-in-xephyr.sh script to get it to work. Gave me some error about primitives.

This looks great! Thanks!


added Korean strings, changed some options to apply on ide

I've translated strings for appinventor IDE into Korean.
Would you review this code and apply on the appinventor ide, which is serviced now?
Some options to apply on ide are also adjusted.
Thanks.

@pillarlee16 LGTM. I have merged this change into master and should have it up on the service in a few hours. Note: I reworded the commit message.

Thanks.
I'm going to keep polishing to increase the quality of translation.
After taking feedbacks from Korean users, I would create next pull requests.

That will work. Thanks.
-Jeff
On Fri, Oct 23, 2015 at 7:26 PM, Byeongju Lee<EMAIL_ADDRESS>wrote:

Thanks.
I'm going to keep polishing to increase the quality of translation.
After taking feedbacks from Korean users, I would create next pull
requests.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/594#issuecomment-150714908
.

--

Jeffrey I. Schiller
Information Systems and Technology – MIT App Inventor
Massachusetts Institute of Technology
77 Massachusetts Avenue  Room 32-386
Cambridge, MA 02139-4307
617.910.0259 - Voice
<EMAIL_ADDRESS>http://jis.qyv.name
http://appinventor.mit.edu


driver/ftl: pass the number of eraseblock for ftl_get_cblock

Summary
driver/ftl: pass the number of eraseblock for ftl_get_cblock
Impact
optimize code
Testing
local test

This PR is related to https://github.com/apache/nuttx/pull/9931 @xiaoxiang781216 @pkarashchenko


Feat(Ethereum): CW-7523 Add smart contract deploy for legacy and EIP1559

Allow toAddress to be empty for smart contract deploy.

Task linked: CW-7523 As a user, I want to use CoolWallet to deploy my smart contract on Ethereum


How to remap key bindings?

unfortunately this is not supported via a config yet, you can't really configure anything like a normal telescope extensions/builtin pickers for now, but since this is a telescope extension, you can call the options when you require via command, for example
:lua require'telescope'.extensions.project.project{ display_type = 'full', prompt_title = 'yo', attach_mappings = function(prompt_bufnr, map) map('n', 'p', { "<cmd>echo \"Hello, World!\"<cr>", type = "command" }) return true end}
that's the only workaround i know for now


Dev/merge query hs no unmapped atoms

What a lousy commit message, here is what it should have been:
MergeQueryHs now has a new parameter: merge_unmapped_only
   - By default all hydrogens are removed, however if
     merge_unmapped_only is true, any hydrogen participating
     in an atom map will be retained

I like the thought of this one, but the name of the argument should be changed to mergedUnmappedOnly to be consistent with the rest of the RDKit codebase.

Done.


Semantic version implementation

Hi Yuli. Thanks for the great project.
To avoid bugs happen in our application that due to new code or new release of databunker. Could you please implement semantic version for each release instead of always use latest? To make it simpler, I think we can use the pseudo-version number style, i.e
v1.1.0-20191109021931-daa7c04131f5

Ref: https://go.dev/ref/mod#pseudo-versions
it has three parts

base version prefix (i.e v1.1.0)
timestamp (i.e<PHONE_NUMBER>1931)
commit hash (i.e daa7c04131f5)

To make it simpler we can alway use the same base version prefix for each version.
How do you think? Thank you.

Hello
Thank you for brining this issue.
I implemented a simplified way of versioning for Databunker.
During the code build and container build process, the version is taken from this file:
https://github.com/securitybunker/databunker/blob/master/version.txt
Let me know if this is ok,
Otherwise let's have a chat to understand your requirements.
Yuli

I made another changes in build.sh script to generate version as you suggested.
Check now.
Best regards


fix token extension when check_token is called

Description

Fix token extension when check_token is called
Related Issue :

How Has This Been Tested?

Login to the external client using metatron Discovery.
The accessToken is issued using the parameter(code) received from redirectUri.
Call '/oauth/check_token' using accessToken and check if the accessToken expiration time is extended.

Need additional checks?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 1

deploy to 1


HDDS-11911. Return consistent error code when snapshot is not found in the DB or Snapshot Chain.

What changes were proposed in this pull request?
When the snapshot is deleted/purged , and it is removed either from DB or from the snapshot chain the exceptions thrown are not consistent.
If a snapshot is not found in table/chain, it should throw OMException with result code FILE_NOT_FOUND
Please check details in HDDS-11911
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11911
How was this patch tested?
Unit test

but do we need to change them as well?

sure, lets change it.

Thanks @hemantk-12 for the review.


Any plan to upgrade Agda?

If a pr of Agda <IP_ADDRESS> is welcome ?

We are a little slower than usual at updating, because Wen currently has difficulty using a keyboard. But I am sure we will update at some point, so such a pr would be extremely helpful. Thank you for the offer!

I am currently away with carpal tunnel, but I have a branch on which I’ve been working to port the code over to 2.6.2. The main problem is that Agda broke their library API moving to this version.

You are free to submit for requests to the shake branch, as I am planning to merge this once it’s building correctly.


Update 01-streaming-from-kafka.ipynb

Proposed changes to this notebook to apply the revised template for notebooks, simplify some areas (e.g. switch to auto schema ingestion), and give a light introduction to what ingestion specs are.

@techdocsmith tagging you as I believe this was one of your contributions?


TLDR: Theme needs an update it broke on latest update.

Yes, I agree, after the update the theme does not work correctly

I am aware of the issue.

how long is it going to take to update?

Yes, I agree, after the update the theme does not work correctly

i really love your theme xD best theme ever please make it work again xD i cant bear this ugly default theme

i really love this theme xD best theme ever please make it work again xD i cant bear this ugly default theme

me too

server list appears to be themed still, however everything else, modal included, have been reverted to the stock look. Take you time and don't rush, that's how bugs are formed 😉

Made a pull request!

Same here, the theme is currently broken

The issue is fixed thanks to @Lioncat6. Re-enable your theme.


SAS token permissions

Hello,
please review this PR. This is a proposed fix for #90 (SAS Token Generation for Queues).
Also added similar permissions parameter for Blobs.

Thank you very much! :-)


can't delete namespace

when they are illegal namespace they can not be deleted

e.g. enter "test"


Update refunds to support multiple orders

Description
Update refunds to support multiple orders.
Related PR:s: https://github.com/City-of-Helsinki/parking-permits/pull/538
These have to be merged at the same time!
Context
PV-877
How Has This Been Tested?
Manually.
Manual Testing Instructions for Reviewers
Test that Refund-functions works normally.
Screenshots

LGTM!


Change Application Name

Customer is trying to implement the conditional access suggested in the article but cannot find the application "Microsoft Azure management".
The application mentioned above changed to "Windows Azure Service Management API" (appId: 797f4846-ba00-4fd7-ba43-dac1f8f63013).
Can you please update it so customers don't get confused.

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

ID: 22df42c6-831d-ba42-8224-27176e8fd7d9
Version Independent ID: 15299b18-e361-9e9f-f836-f37a466dcae0
Content: Require MFA for Azure management with Conditional Access - Microsoft Entra ID
Content Source: docs/identity/conditional-access/howto-conditional-access-policy-azure-management.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@larasawalha90
Thanks for your feedback! We will investigate and update as appropriate.

Flagging @MicrosoftGuyJFlo for visibility

@larasawalha90
Thanks for your feedback! We will investigate and update as appropriate.


storage: use hash-stream-validation

RE: #400
I moved the hashing logic out to a module in an attempt to simplify what our library needs to worry about doing.
https://github.com/stephenplusplus/hash-stream-validation

Fixed the merge conflict. LMK if you have any questions.


cloudbaseinit sets new adapater for vm when resizing and does not set network information again

Hi cloudbase team, I think I met an cloudbaseinit issue.
There are 2 key points:
Point 1. when resizing vm (which is deployed with windows 2008 image), it changed to an new adapter.
Point 2. why the cloudbaseinit did not set network information again when changing to new adapter.
PS: we are using config drive to set network, not by dhcp.
The vm deployed with linux image can be resized successfully, so this issue only happens with windows vm.
Here is my environment:
In my Hyper-v environment, I booted a vm with windows 2008 image and got IP <IP_ADDRESS> which is pingable. Then I resized it to big flavor, and I can not ping <IP_ADDRESS> anymore. I logged in the vm via hyper-v console and found it got an new IP <IP_ADDRESS>.
1:
With my investigation, When I changed back to original IP for the vm manually, it reminded that  the IP was using by another adapter. It means that the IP was matched with the old adapter. Also we found that the adapter for network connection changed after resizing. In my test, the adapter was "Microsoft Virtual Machine Bus Network Adapter #2" and changed to "Microsoft Virtual Machine Bus Network Adapter #3" after resizing, also the adapter ID changed.
adapater information before resizing :

adapater information after resizing :

adapter conflict when modifying IP manually:

2:
I checked  the cloudbase-init.log on the vm booted from win2008 image, and found that the cloudbaseinit executes plugin 'NetworkConfigPlugin' to set the network only one time when booting vm for the first time. It will not set the network again no matter reboot or resize.
When boot vm for the first time, cloudbaseinit will execute plugin 'NetworkConfigPlugin' and read metadata to set network information, relative log:
2015-12-01 02:18:51.244 1756 INFO cloudbaseinit.init [-] Executing plugin 'NetworkConfigPlugin'
2015-12-01 02:18:51.244 1756 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2015-12-01 02:18:51.244 1756 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2015-12-01 02:18:51.244 1756 DEBUG cloudbaseinit.plugins.windows.networkconfig [-] network config content:
When resizing vm to a bigger flavor, cloudbaseinit will skip executing plugin 'NetworkConfigPlugin', relative log:
Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\init.py:64
2015-12-01 02:29:52.236 1536 DEBUG cloudbaseinit.init [-] Plugin 'NetworkConfigPlugin' execution already done, skipping _exec_plugin C:\Program Files (x86)\Cloudbase
cloudbase-init.log:
cloudbase-init.log.docx
The screenshots and cloudbase-init.log are shown with attachements. I do not know whether it is a cloudbaseinit bug. Please help confirm it, any feedback is helpful, many thanks.

Hi can you please post this question on http://ask.cloudbase.it and open a bug on launchpad.net/cloudbase-init?http://launchpad.net/cloudbase-init?
What version of  of Cloudbase-init are you using?
Did you test this behavior on KVM as well or only on Hyper-V?
Thanks!
Alessandro
On 7 dec. 2015, at 07:47, wanglw <notifications<EMAIL_ADDRESS>wrote:
Hi cloudbase team, I think I met an cloudbaseinit issue.
There are 2 key points:
Point 1. when resizing vm (which is deployed with windows 2008 image), it changed to an new adapter.
Point 2. why the cloudbaseinit did not set network information again when changing to new adapter.
PS: we are using config drive to set network, not by dhcp.
The vm deployed with linux image can be resized successfully, so this issue only happens with windows vm.
Here is my environment:
In my Hyper-v environment, I booted a vm with windows 2008 image and got IP <IP_ADDRESS> which is pingable. Then I resized it to big flavor, and I can not ping <IP_ADDRESS> anymore. I logged in the vm via hyper-v console and found it got an new IP <IP_ADDRESS>.

With my investigation, When I changed back to original IP for the vm manually, it reminded that the IP was using by another adapter. It means that the IP was matched with the old adapter. Also we found that the adapter for network connection changed after resizing. In my test, the adapter was "Microsoft Virtual Machine Bus Network Adapter #2https://github.com/cloudbase/cloudbase-init/issues/2" and changed to "Microsoft Virtual Machine Bus Network Adapter #3https://github.com/cloudbase/cloudbase-init/issues/3" after resizing, also the adapter ID changed.
Shown as below:

I checked the cloudbase-init.log on the vm booted from win2008 image, and found that the cloudbaseinit executes plugin 'NetworkConfigPlugin' to set the network only one time when booting vm for the first time. It will not set the network again no matter reboot or resize. Here is the relative part in cloudbase-init.log file: When boot vm for the first time, cloudbaseinit will execute plugin 'NetworkConfigPlugin' and read metadata to set network information, relative log: 2015-12-01 02:18:51.244 1756 INFO cloudbaseinit.init [-] Executing plugin 'NetworkConfigPlugin' 2015-12-01 02:18:51.244 1756 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\base.py:74 2015-12-01 02:18:51.244 1756 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\base.py:74 2015-12-01 02:18:51.244 1756 DEBUG cloudbaseinit.plugins.windows.networkconfig [-] network config content:

When resize vm to a bigger flavor, cloudbaseinit will skip executing plugin 'NetworkConfigPlugin', relative log:
Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\init.py:64
2015-12-01 02:29:52.236 1536 DEBUG cloudbaseinit.init [-] Plugin 'NetworkConfigPlugin' execution already done, skipping _exec_plugin C:\Program Files (x86)\Cloudbase
The screenshots and cloudbase-init.log are shown with attachements. I do not know whether it is a cloudbaseinit bug. Please help confirm it, any feedback is helpful, many thanks.
[before_resize_adapterinfo]https://cloud.githubusercontent.com/assets/15151810/11619882/be55d154-9ce7-11e5-95df-911d749ed5e3.png
[after_resize_adapterinfo]https://cloud.githubusercontent.com/assets/15151810/11619889/ca96e08e-9ce7-11e5-86db-0cefd62d222c.png
[modifiyip_adapter_conflict]https://cloud.githubusercontent.com/assets/15151810/11619895/d2d8db8a-9ce7-11e5-9960-302a9caa3966.png
cloudbase-init.log.docxhttps://github.com/cloudbase/cloudbase-init/files/53490/cloudbase-init.log.docx
—
Reply to this email directly or view it on GitHubhttps://github.com/cloudbase/cloudbase-init/issues/97.

I am not so clear about this environment and can not confirm the cloudbase-init version, but I noticed there is CloudbaseInitSetup_Beta file in the deployed vm environment, could this help to confirm the version? Later I will confirm this point.
Another question, yes, we just tested on hyper-v, not test on KVM.
I will open bug as you said tmr.
As I investigate, I think the key point is cloudbase does not run 'NetworkConfigPlugin' again, as the status read from regedit.
Thanks.

For the cloudbase-init version, we now can provide this information: CloudbaseInitSetup_Beta.msi. Could this can help confirm the version?
I have opened a bug on launchpad.net/cloudbase-init, here is the link:
https://bugs.launchpad.net/cloudbase-init/+bug/1524281
For  http://ask.cloudbase.it, it shows error when I subscribe the question.


hciconfig is deprecated.

I could be wrong but in the few docs I can seem to find related to bluez, libbluetooth, etc. I seems like hciconfig shouldn't be used anymore. In fact I don't even seem to have it on my latest version of arch.
Any suggestions here?

Hi @elorest,
Sorry I'm not develop this project anymore.
But I think bluetoothctl should replace it fully.
Anyway, you can send me your pr, if you find working solution for this purpose :-)


Add code coverage CI job

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Disabled widgets

Visible, but ignore clicks

What we can do:

add disabled_when= parameter to widget __init__
Add disabled text
Set callback data to empty string in this case

Otherwise user can just add 2 buttons with diferent when=, text and seconds one is without callback


fix(package): update ngx-gallery to version 4.1.1

Closes #140

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   91.87%   91.87%
=======================================
  Files          13       13
  Lines         160      160
  Branches        3        3
=======================================
  Hits          147      147
  Misses         11       11
  Partials        2        2

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 c8a320e...558305e. Read the comment docs.


Make project lintable from project's root

Resolves #131

remove redundant zz_generated.openapi.go
add comments to public members required by golint
remove redundant references from go.mod
remove GOLINTPATH in build.yaml causes GOLINTPATH will be set to . or better (./...)
fix test in Makefile to run all unitests (terratest is ignored as it has no any reference to main)
merge version.go

Than we can

golint ./... from the project root

LGTM


Console.logs

Hey,
on lines 100 and 101 (91 and 92 in .coffee) you forgot console.log statements :)
console.log($1 + ' ~~~ ' + $2);
console.log($1.length + ' ~~~ ' + $2.length);

😓 Sorry for that, console.log statements have been removed. Package version has been updated to v0.1.1

Thank you!


Fixed classic pitch

Improvements:

Add:Base64 testing.
Changed:run-length compression  to produce results similar to pure UTAU.
Changed Classic pitch algorithm :nearboarhood to linear interpolate

Delta さん saving the world.


Setup github workflows for prettier and linter

Explore how we can use github actions for prettier and linter

Refer to #17 to see how we are using Docker to build the static files as a container, there might be some cross references.


Pjax isn't triggred when form is submitted using javascript

Describe the bug
a simple form, when submitted with jquery, eg. $('#channelActionModalForm').submit();  doesn't trigger pjax.
To reproduce
Demonstration: https://jsfiddle.net/sjgkm8L2/
Expected behavior
No response
Environment
- OS: Windows 10
- Browser: Chrome 94.0.4606.71
- Pjax: Latest

Anything else?
No response

Eh... Have some words edited in the last comment. Ignore this if you have noticed.


4 items are displayed and the player has to guess which one is the most expensive. When clicking on one of the pictures, that item is selected to be the answer of that player.

commit: 8d62c79


what's wrong with this? Anybody can help?

Challenge Use Hex Code for Specific Colors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<style>
  body {
    background-color: black;
  }
  body{
    color: #000000;
  }
</style>

<style>
     body {
       background-color: black;
       color: #000000;
      }
</style>

Replace the word black in our body element's background-color with its hex code representation, #000000.

I just didn't saw that!
now everything is fine!
<style>
  body {
    background-color: #000000;
    color: #000000;
  }
</style>


Improve handling of QTBUG-57971 (ListModel initializing roles on first insertion)

Description
So far the provided workaround was missing some corner cases when there is more than one SFPM (or other proxies) in a chain, providing some custom roles like proxy roles in SFPM. Detailed explanation provided as a comment directly in the source.
Additional information about failing corner cases can be found here: https://github.com/status-im/status-desktop/issues/16310

Looks good
Need a regression test; since we know the scenarios under which this happens

Once it's merged we can test the app in a https://github.com/status-im/status-desktop/pull/16321 where the SFPM is bumped.

Looks good
Need a regression test; since we know the scenarios under which this happens

Once it's merged we can test the app in a https://github.com/status-im/status-desktop/pull/16321 where the SFPM is bumped.

Yeah sure, realized too late this is a different repo 😊

Ideally we should add proper unit tests for those corner cases. However now it's not easy as all helpers we are using for proxy models testing are located in status-desktop repository and are not available for SFPM. For now, I'm placing here list of scenarios failing before the fix was introduces:
https://github.com/status-im/status-desktop/issues/16310#issuecomment-2348491548
https://github.com/status-im/status-desktop/issues/16310#issuecomment-2348523535
https://github.com/status-im/SortFilterProxyModel/pull/5#discussion_r1758761147
https://github.com/status-im/SortFilterProxyModel/pull/5#discussion_r1758977438

Ideally we should add proper unit tests for those corner cases. However now it's not easy as all helpers we are using for proxy models testing are located in status-desktop repository and are not available for SFPM. For now, I'm placing here list of scenarios failing before the fix was introduces:
status-im/status-desktop#16310 (comment) status-im/status-desktop#16310 (comment) #5 (comment) #5 (comment)

There already some tests under vendor/SortFilterProxyModel/tests; we could add new ones there and integrate the whole suite into ui-tests

Ideally we should add proper unit tests for those corner cases. However now it's not easy as all helpers we are using for proxy models testing are located in status-desktop repository and are not available for SFPM. For now, I'm placing here list of scenarios failing before the fix was introduces:
status-im/status-desktop#16310 (comment) status-im/status-desktop#16310 (comment) #5 (comment) #5 (comment)

There already some tests under vendor/SortFilterProxyModel/tests; we could add new ones there and integrate the whole suite into ui-tests

Good point, I created a ticket: https://github.com/status-im/status-desktop/issues/16343


Remove outdated ones

There are many internships in the list which are outdated and no longer conducted like ICFOSS. Updating the list would be effective.

I will be keeping the internship even when it happened only one time.


Command line and IDE disagree about how to source gradle.properties

There appears to be a disagreement between how Gradle on the command line and Gradle in the IDE (at least IntelliJ) evaluate relative paths within buildSrc/gradle.properties.
The command line likes:  'gradle.properties'
But the IDE likes '../gradle.properties'
To find the same file.

merged


Ft mybrand ci

Codecov Report
Attention: Patch coverage is 75.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 67.28%. Comparing base (ed9bb69) to head (d91cc8a).
Report is 9 commits behind head on developer.

Files
Patch %
Lines

src/controllers/commentsCtl.ts
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff              @@
##           developer       #7      +/-   ##
=============================================
+ Coverage      66.81%   67.28%   +0.46%
=============================================
  Files             23       23
  Lines            440      434       -6
  Branches          40       39       -1
=============================================
- Hits             294      292       -2
+ Misses           146      142       -4

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


Welcome and Verify Email - Security Issue

Security Performance Suggestion

Keep verify account links as time-sensitive links using JWT.
Add another feature to request another verify account email which is time-sensitive as well.
Approx. 1 week should do it!

Feature Dropped

#34


CLAS: Code Inspector - Missing CI-Check documentation

When I create a custom Code inspector check, the documentation is stored in SE61 with the documentation class CA and attribut 0000. Can you add this to the serialization of classes?
In the transport request this documantation is added with this entry.
LIMU	DOCU	CAZCL_CI_GENERAL_SUBCI          0000
Regards Thomas

Closing this in favor of #5373
Note: It's not a trivial enhancement. Not sure if/when someone will get to this. Feel free to give it a shot.


SM-142: Improve onboarding of new contributors to this project

Closes #142

Codecov Report

Merging #143 (862d664) into acceptance (2fd62d4) will not change coverage.
 Consider uploading reports for the commit 4c2acf3 to get more accurate results

@@              Coverage Diff              @@
##             acceptance     #143   +/-   ##
=============================================
  Coverage         85.50%   85.50%
  Complexity          211      211
=============================================
  Files                78       78
  Lines               697      697
=============================================
  Hits                596      596
  Misses              101      101

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 2fd62d4...4c2acf3. Read the comment docs.

@Hoopless @MiKessels @Prupke @joeyvonck I've spend some time improving the README of this project. I would like to receive a review. Thanks in advance.


Connection string

Add connection strings to address https://github.com/dalibo/pg_activity/issues/151 & https://github.com/dalibo/pg_activity/issues/147
The idea is to mimic psql behavior of allowing a connection string to be specified as argument of the script. In that case the information provided overrides the host, port, user and dbname options.
Two syntax are possible  (depending in the version of libpq). (https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING)
pg_activity "host=/tmp port=5432 user=toto dbname=pgbench"
pg_activity "postgresql://toto@localhost:5432/bench"

I am not very fond of the argument thing, I would have preferred an option like --dsn or somehing.
Note: I also fixed the default value of dbname which was wrong.

Probably super ugly + tests are note updated yet.

@dlax + @julmon : do you thing it's worth polishing / finishing ?

@dlax + @julmon : do you thing it's worth polishing / finishing ?

Yes :)

dsn connexion string tests.
(pgactivity) [vagrant@pgluq ~]$ export LD_LIBRARY_PATH=/usr/local/postgres/9.1.24/lib/
(pgactivity) [vagrant@pgluq ~]$ pg_activity "postgres://toto@localhost:5432/tata"
pg_activity: error: invalid dsn: missing "=" after "postgres://toto@localhost:5432/tata" in connection info string

Try "pg_activity --help" for more information.
(pgactivity) [vagrant@pgluq ~]$ export LD_LIBRARY_PATH=/usr/local/postgres/13.0/lib/
(pgactivity) [vagrant@pgluq ~]$ pg_activity "postgres://toto@localhost:5432/tata"

The error before 9.2 is not too bad.

Yes; seems fine to me.


Fix/arvr raycasts

Bastiaan:
Thanks for responding to my pull request yesterday.  You definitely cleared up the issue I was having.  I did a poor job explaining the problem I was trying to solve.  I was fixing raycast issues and went down a weird road thinking the rendering was using the wrong projection matrix (which I now see it wasn't, thanks!)
Anyways, this PR contains two quick fixes:

Camera::project_local_normal wasn't virtual so ARVRCamera::project_local_normal was never getting called.
Convert to using the ARCamera projectMatrix* method so we can set near and far, this was needed so the ARVRCamera z near/far used for raycasts matched the projectionMatrix near/far used in rendering.

So now in the test project when you touch the screen on the edge, the Godotball will spawn right under your finger instead of of screen.
Thanks again for your help.

Sweet! Damn, totally overlooked the virtual thing when I last played with this. Can you put that change in as a PR on the main Godot repository? I'll nudge the guys on IRC after you do that to merge it in and I can rebase this.
As for the projection matrix change, thats looking good, only thing to double check is if it works correctly when the app is set in portrait mode or whether the width and height need to be swapped.
I'll be able to test this over the weekend (after a rebase) and I'll merge it in.
Thanks man!

Created the mainline PR, it's here: https://github.com/godotengine/godot/pull/18572
Yeah, I forgot that Godot can run in portrait mode.  I'm guessing we'll have to update the call to take that into account.  Our repo is handling the windowing a bit differently, so I was trying to get these changes back out to folks until we are ready to see if our windowing changes are ready for the larger world.  heh.

Totally forgot about these, need to redo these on upstream now that arkit is already merged


Ensure that tests remove pointers by using addTearDown

Description
All TestGestures created during a test must be removed by the end test, or other tests will panic. The current way of doing it is to remove it at the end of a test,
test(() async {
  final TestGesture gesture = await tester.createGesture(kind: PointerDeviceKind.mouse);
  /* <test body> */
  await gesture.removePointer();
});

The problem is that, if any exception is thrown during the test body, the removePointer is skipped, the test is finished without removing the pointer, leading to false failure by all other tests.
This PR fixes it by using tearDown to guarantee the removal,
test(() async {
  final TestGesture gesture = await tester.createGesture(kind: PointerDeviceKind.mouse);
  addTearDown(gesture.removePointer);
  /* <test body> */
});

In case the pointer needs to be removed in the middle of the test, then it sets the variable to null to avoid removing a second time:
test(() async {
  TestGesture gesture = await tester.createGesture(kind: PointerDeviceKind.mouse);
  addTearDown(() async {
    if (gesture != null)
      return gesture.removePointer();
  });
  /* <test body 1> */
  await gesture.removePointer();
  gesture = null;
  /* <test body 2> */
});

Related Issues
N/A
Tests
N/A
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[ ] No, this is not a breaking change.

@gspencergoog Was it you who added removePointer? Can you review this PR?
Regarding the cases where pointer needs to be removed in the middle of the test, I'm thinking we either do this, or we keep track of removed pointers and avoid sending duplicate remove events, so that the test code doesn't have to check.


[fix] Make debugging easier when breaking on caught exceptions

I often need to use "break on caught exceptions" to catch RN RSODs before they show the red-screen UI, but with env-variable as a dependency I have to continue through this exception constantly.  Checking will eliminate spurious exceptions and make debugging easier.

Thanks for the fix. Published as 0.0.4


[youtube] b6d_kDN_EDs: Downloading webpage << is running into an error, maybe because of wrong Proxy configuration?

[x] I've verified and I assure that I'm running youtube-dl 2019.02.18
[x] At least skimmed through the [README] most notably the [FAQ] and [BUGS] sections
[x] [Searched] the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Verbose Log:
PS C:\Windows\system32> youtube-dl.exe -v --config-location C:\bin\youtube-dl.conf https://www.youtube.com/watch?v=b6d_kDN_EDs
[debug] System config: []
[debug] User config: []
[debug] Custom config: ['--no-mtime', '--proxy', 'socks5://proxyde.hoist.de:8881/', '-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '-o', 'C:UserskevtDesktop%(title)s.%(ext)s']
[debug] Command-line args: ['-v', '--config-location', 'C:\\bin\\youtube-dl.conf', 'https://www.youtube.com/watch?v=b6d_kDN_EDs']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.02.18
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.15063
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {'http': 'socks5://proxyde.hoist.de:8881/', 'https': 'socks5://proxyde.hoist.de:8881/'}
[youtube] b6d_kDN_EDs: Downloading webpage
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\__init__.py", line 472, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\__init__.py", line 462, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\YoutubeDL.py", line 2006, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\YoutubeDL.py", line 794, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\youtube.py", line 1533, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\common.py", line 772, in _download_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\youtube.py", line 268, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\common.py", line 638, in _download_webpage_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\common.py", line 605, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\YoutubeDL.py", line 2225, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\utils.py", line 1140, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1183, in do_open
  File "C:\Python\Python34\lib\http\client.py", line 1137, in request
  File "C:\Python\Python34\lib\http\client.py", line 1182, in _send_request
  File "C:\Python\Python34\lib\http\client.py", line 1133, in endheaders
  File "C:\Python\Python34\lib\http\client.py", line 963, in _send_output
  File "C:\Python\Python34\lib\http\client.py", line 898, in send
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\utils.py", line 1106, in connect
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\socks.py", line 270, in connect
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\socks.py", line 266, in _make_proxy
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\socks.py", line 221, in _setup_socks5
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\socks.py", line 192, in _socks5_auth
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\socks.py", line 131, in _recv_bytes
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\socks.py", line 126, in recvall
EOFError: 2 bytes missing
PS C:\Windows\system32>

Description of your issue:
I'm inside a company network that uses a proxy. But I'm not quite sure, why the download isn't working. I can download youtube videos using other graphical downloaders like Free Download Manager. Also, I can view this video in any browser without having to find a way around the proxy.
I'm not sure if the proxy is hindering youtube-dl to download the webpage to get all necessary information out of it, or maybe I just entered the proxy wrong?
I'd really appreciate your help.
Thank you in advance and kind regards,
Kevin van Thiel
p.S.: Attached you can find Screenshots of the Configuration File and the cmd output:

Most likely it's not a socks5 proxy.

Most likely it's not a socks5 proxy.

Okay, what do I have to enter for the Proxy to work then?
--proxy http://proxyde.hoist.de:8881/ ?
or maybe
--proxy http**s**://proxyde.hoist.de:8881/ ?
Or somehow both of that? Can't find anything according to the syntax in the manual. :/
Maybe it's just
--proxy proxyde.hoist.de:8881 ?
However, it doesn't seem to matter what I'm entering there.
I'm still getting error messages:
PS C:\Windows\system32> youtube-dl.exe -v --config-location C:\bin\youtube-dl.conf https://www.youtube.com/watch?v=b6d_kDN_EDs
[debug] System config: []
[debug] User config: []
[debug] Custom config: ['--no-mtime', '--proxy', 'proxyde.hoist.de:8881', '-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '-o', 'C:UserskevtDesktop%(title)s.%(ext)s']
[debug] Command-line args: ['-v', '--config-location', 'C:\\bin\\youtube-dl.conf', 'https://www.youtube.com/watch?v=b6d_kDN_EDs']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.02.18
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.15063
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {'https': 'proxyde.hoist.de:8881', 'http': 'proxyde.hoist.de:8881'}
[youtube] b6d_kDN_EDs: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 407 Proxy Authentication Required> (caused by URLError(OSError('Tunnel connection failed: 407 Proxy Authentication Required',),))
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\extractor\common.py", line 605, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\YoutubeDL.py", line 2225, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\build\youtube_dl\utils.py", line 1140, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open

The Error-Message looks always the same, whatever I'm trying to use as a proxy.
Is it because the Proxy is blocking it? I can't read the verbose log, so it would be great to know why it's erroring out...

Our Proxy is using authentication for the Users.
Is it possible that I have to enter my credentials at some point?
But how tho?

Okay, you can close this case now, I found the issue.
I just had to explicitly NOT use the Proxy by entering the following line to the config-file:
--proxy ""


Add Dockerfile

Hi!
Thanks for a handy tool :)
With this PR, I would like to add a Dockerfile and propose you to publish it to Docker Hub.
Once it's done, thanks to the multi-stage feature of Docker, one can do something like:
FROM remind101/ssm-env:0.1.0 AS ssm-env

FROM java:8-jre
COPY --from=ssm-env /bin/ssm-env /bin/ssm-env

COPY my.jar .

CMD ["ssm-env", "-with-decryption", "java -jar my.jar"]

I really like this pattern because it helps to avoid curl-ing binaries and automated by Docker Hub.

Hi @bsideup. Thanks for the PR! While I'm not really opposed to pulling this in, it creates some extra maintenance work (setup automated docker builds + docker creds, tagging, etc) just to save a few lines that can be copy and pasted into the top of a Dockerfile.
Given the overall simplicity of this tool, I'd like to keep the maintenance overhead small. But I'll leave this PR open if you think there's something in the multi-stage version that's worth it.

As a side note, I just added some docs to the readme about usage with Docker as an ENTRYPOINT: https://github.com/remind101/ssm-env


Precompiled header is included more than once despite pragma once

Xmake Version
2.6.9
Operating System Version and Architecture
Windows 11 (21H2)
Describe Bug
During a build, the precompiled header file is included more than once. pragma once is supposed to prevent this, but under xmake this does not seem to be the case? Using a macro guard alongside pragma once I conducted a test:
If the header is only included once, it passes. If it gets included more than once, it will hit the #error macro.
One with ccache enabled:

One without ccache (just it case):

And cmake for comparison:

The result of this is that I end up with redefinition errors when trying to build in my project.
Expected Behavior
The precompiled header file should abide by pragma once and not be included more than once.
Project Configuration
Test.zip
For xmake:
xmake

For cmake:
cmake -S . -B build
cmake --build build

Additional Information and Error Logs
No response

try xmake f --ccache=n; xmake?

I have a non-ccache run up above

You can compare the difference in compile options with cmake.

Here's xmake flags:
lynix@SirDesktop:/mnt/c/Users/lynix/Downloads/Test (1)/Test$ xmake.exe -v
[  0%]: compiling.release include\PCH.h
"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX64\\x64\\cl.exe" -c -Yc /EHsc -nologo -Ox -fp:fast -Iinclude -FIPCH.h -DNDEBUG -TP -Fpbuild\.objs\test\windows\x64\release\include\PCH.h.pch -Fobuild\.objs\test\windows\x64\release\include\PCH.h.pch.obj include\PCH.h
error: PCH.h
C:\Users\lynix\Downloads\Test (1)\Test\include\PCH.h(6): fatal error C1189: #error:  "This shouldn't happen. Is `pragma once` being ignored?"

and cmake (msbuild) flags:
CustomBuild:
  Building Custom Rule C:/Users/lynix/Downloads/Test (1)/Test/CMakeLists.txt
ClCompile:
  C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\CL.exe /c /I"C:\
  Users\lynix\Downloads\Test (1)\Test\include" /Zi /nologo /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _
  WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /st
  d:c++20 /Yc"C:/Users/lynix/Downloads/Test (1)/Test/cmake/CMakeFiles/Test.dir/Debug/cmake_pch.hxx" /Fp"C:/Users/lynix/
  Downloads/Test (1)/Test/cmake/Test.dir/Debug/cmake_pch.pch" /Fo"Test.dir\Debug\\" /Fd"C:\Users\lynix\Downloads\Test (
  1)\Test\cmake\Debug\Test.pdb" /external:W1 /Gd /TP /FI"C:/Users/lynix/Downloads/Test (1)/Test/cmake/CMakeFiles/Test.d
  ir/Debug/cmake_pch.hxx" /errorReport:queue "C:\Users\lynix\Downloads\Test (1)\Test\cmake\CMakeFiles\Test.dir\cmake_pc
  h.cxx"
  cmake_pch.cxx
  C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\CL.exe /c /I"C:\
  Users\lynix\Downloads\Test (1)\Test\include" /Zi /nologo /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _
  WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /st
  d:c++20 /Yu"C:/Users/lynix/Downloads/Test (1)/Test/cmake/CMakeFiles/Test.dir/Debug/cmake_pch.hxx" /Fp"C:/Users/lynix/
  Downloads/Test (1)/Test/cmake/Test.dir/Debug/cmake_pch.pch" /Fo"Test.dir\Debug\\" /Fd"C:\Users\lynix\Downloads\Test (
  1)\Test\cmake\Debug\Test.pdb" /external:W1 /Gd /TP /FI"C:/Users/lynix/Downloads/Test (1)/Test/cmake/CMakeFiles/Test.d
  ir/Debug/cmake_pch.hxx" /errorReport:queue "C:\Users\lynix\Downloads\Test (1)\Test\src\Test.cpp"
  Test.cpp

With cmake_pch.hxx being this:
/* generated by CMake */

#pragma system_header
#ifdef __cplusplus
#include "C:/Users/lynix/Downloads/Test (1)/Test/include/PCH.h"
#endif // __cplusplus

cmake will generate a header wrapper.   pch_xxx.h
#pragma system_header
#ifdef __cplusplus
#include "PCH.h"
#endif // __cplusplus

You can add this wrapper to build it.
    set_pcxxheader("include/pch_xxx.h")

It works for xmake.

That doesn't solve the root problem and the cmake is just for comparison sake, otherwise I would just use cake rather than xmake.

please run xmake update -s dev and try it again

Testing with the test case above and with another project, it seems to work with the dev branch


Pf1e summon list is empty.

Hello, I'm trying to run this module with Pf1e and after enabling all the Bestiaries in the settings, when I try to summon something by running the script I get an empty page like in this picture.

Do any of the creatures in the Bestiaries have images?

I don't know, but turning it off doesn't make any difference.

Cannot replicate this in the newest version of Foundry Summons. Will close in a week if no further comments are made or if this has been fixed.

Is it poissible that I've configured something incorrectly? What do I need to test.
I'm using Summons v 1.5.2 with Foundry 11 - Patch 8 (build 308)

Go to settings and see if you have any compendiums enabled, as apparently the bestiary compendiums are not included in the system.
Once they are enabled, open the Summon menu.

I'm afraid It didn't work.

Can you send a screenshot of the Summon Menu with the Images filter disabled?

You did not disable the Creatures with Images filter. Click on the filter on the left to disable it.


Prototype modifications made for RANZCR kaggle challenge

Here is the notebook for the competition https://www.kaggle.com/aaronbornstein/iterating-ranzcr-baselines-in-a-flash

Multi label support and one hot embedding
Enable BCE loss with logits (regular BCE breaks with no warning)
Support for binding and overridng functions
Loading custom backbones for image classifcaiton  (should be applied to all models)
-Added support not to attach head to model backbone (should be applied to all models)
prevent  redownloading image classification backbones when loading from checkpoint
hardcoded support ablumenation transforms for image classification (needs to be cleaned)

Features would make things cleaner

LR schedulers - flash doesn’t support this
Train with folds - flash doesn’t support this and should in it’s datamodule
Split data leakage check hook
native support for timm backbones
loading large models for inference is slow
other open issues

Hello @aribornstein! Thanks for opening this PR.

In the file flash/core/classification.py:

Line 93:14: W291 trailing whitespace
Line 95:44: W291 trailing whitespace
Line 98:13: E124 closing bracket does not match visual indentation
Line 100:23: E128 continuation line under-indented for visual indent
Line 101:23: E128 continuation line under-indented for visual indent
Line 102:23: E128 continuation line under-indented for visual indent
Line 103:23: E128 continuation line under-indented for visual indent

In the file flash/core/utils.py:

Line 16:1: E302 expected 2 blank lines, found 1

In the file flash/data/data_utils.py:

Line 35:1: W293 blank line contains whitespace
Line 43:17: E126 continuation line over-indented for hanging indent
Line 43:71: W291 trailing whitespace

In the file flash/vision/classification/model.py:

Line 65:29: W291 trailing whitespace
Line 68:31: W291 trailing whitespace
Line 69:1: W293 blank line contains whitespace

Do see the Hitchhiker's guide to code style

Hello @aribornstein! Thanks for opening this PR.

In the file flash/core/classification.py:

Line 93:14: W291 trailing whitespace
Line 95:44: W291 trailing whitespace
Line 98:13: E124 closing bracket does not match visual indentation
Line 100:23: E128 continuation line under-indented for visual indent
Line 101:23: E128 continuation line under-indented for visual indent
Line 102:23: E128 continuation line under-indented for visual indent
Line 103:23: E128 continuation line under-indented for visual indent

In the file flash/core/utils.py:

Line 16:1: E302 expected 2 blank lines, found 1

In the file flash/data/data_utils.py:

Line 35:1: W293 blank line contains whitespace
Line 43:17: E126 continuation line over-indented for hanging indent
Line 43:71: W291 trailing whitespace

In the file flash/vision/classification/model.py:

Line 65:29: W291 trailing whitespace
Line 68:31: W291 trailing whitespace
Line 69:1: W293 blank line contains whitespace

Do see the Hitchhiker's guide to code style

@Borda Didn't we add an automatic linter for this?


when i load a map  using  mapnik, after rendering the map and export a map image , the layer files occupied by mapnik, how to release it?

when i load a map  using  mapnik, after rendering the map and export a map image , the layer files occupied by mapnik, how to release it?

i got it
using map.clear() to release all layers of the map


BTC disappearing from my account. Copay stole it.

Coins have constantly be disappearing from my account. Thousands of dollars have been lost. Copay actually just looks into your wallet and when they see money like $5-10k, they steal $1k, if they see more, they steal more, copay has constantly be stealing from me. BTC just went up now and I got about $2k profit which I’ve been checking like 10 times today and suddenly, $2k just disappeared.

Your wallet is probably hacked, bitpay doesn't have access to your private keys.

Why would my wallet be hacked with more than $25,000 in it and hackers
would remove only $1000, $500, $2000? That's weird, how can you
explain that?

Virus-free. www.avast.com

On 12/18/20, Adam<EMAIL_ADDRESS>wrote:

Your wallet is probably hacked, bitpay doesn't have access to your private
keys.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/bitpay/copay/issues/11368#issuecomment-748008662

Same thing happened to me but thanks to Blackhathacker111 who helped me recover all my funds,message him on telegram his telegram username is https://t.me/Blackhathacker111

Coins have constantly be disappearing from my account. Thousands of dollars have been lost. Copay actually just looks into your wallet and when they see money like $5-10k, they steal $1k, if they see more, they steal more, copay has constantly be stealing from me. BTC just went up now and I got about $2k profit which I’ve been checking like 10 times today and suddenly, $2k just disappeared.

Same thing happened to me but thanks to Blackhathacker111 who helped me recover all my funds,message him on telegram his telegram username is  https://t.me/Blackhathacker111

Hello @rollyrules01,
My name is Mackenzie and I am an investigator for Kroll. My practice is investigating a similar claim made by an individual who was the victim of a Copay exploit. We are trying to determine if there are any patterns in the theft by tracing the funds on the blockchain. We are hoping you would be willing to share your address and any transaction hashes you believe are fraudulent as a result of the exploit you described above. In return, we would share any relevant findings with you.
Thank you,
MacKenzie.

Coins have constantly be disappearing from my account. Thousands of dollars have been lost. Copay actually just looks into your wallet and when they see money like $5-10k, they steal $1k, if they see more, they steal more, copay has constantly be stealing from me. BTC just went up now and I got about $2k profit which I’ve been checking like 10 times today and suddenly, $2k just disappeared.

Same thing happened to me but thanks to Blackhathacker111 who helped me recover all my funds,message him on telegram his telegram username is https://t.me/Blackhathacker110


Automated testing

We should improve automated testing.
There are some automated tests defined that I took from an example project, but these currently fail.
Some somple tests we should add:

test configFlows and optionFlow

A more complicated test:

add a Charge Point simulator, verify that our CentralSystem / ChargePoint implementation can connect with it

Some progress made towards fixing automated tests in #62

Further progress in #72 on charge point simulator

Solved


-- Updated fer.py to TensorFlow 2.0 as suggested by TensorFlow's tc_u…

Proposed fix for https://github.com/justinshenk/fer/issues/7.
fer.py code is updated for TensorFlow 2.0 & requirements.txt & setup.py require TensorFlow >= 2.0

Thanks for the PR!


Use Release configuration in docker images

Fixes https://github.com/loic-sharma/BaGet/issues/119
/cc @bryjamus

Thx


TempData does not properly work.

The current TempData implementation does not work properly.
First is that when creating the ITempDataDictionary to pass to the Razor view, a new TempDataDictionary is created using the HttpContext and ITempDataProvider.  While this will properly pull the information from the ITempDataProvider storage, if the ITempDataDictionary has been accessed prior to the View being rendered, those changes will not be available in the View.  The proper way instead is to get an ITempDataDictionaryFactory from the RequestServices, as, the first time the ITempDataDictionary is requested, it will create a new instance and then cache it in HttpContext.Items, so that, any future times it is accessed in the request, the same `ITempDataDictionary initially created is returned.
The second issue is that the ITempDataDictionary is not saved after the View is rendered.  This means that any items added to the ITempDataDictionary is not persisted to the next request, and any entries referenced in the View is not removed from the dictionary on the next request. What needs to happen is to have the ITempDataDictionary.Save method called after the View is rendered.  I had thought to possibly create a saveTempData handler which would do this, but razorView chains to setBody which does not call the next function, so any handlers added after would never execute.  As an alternative, ITempDataDictionary.Save could be called in renderView after the view has successfully rendered.

Released now. Thanks for your contribution!


entc/gen: improve edge-schema updates

Also, added additional example where an edge schema has another edge
to a type that holds information about the relationship.
The only reason this example exists is to allow users to reduce the storage
occupied by the join-table and allow connect (via M2O) multiple edge-schemas
to an 'information'/'description' node.


Support for padstacks (from kicad nightly)

KiCad Version: 8.99.0-2584-g661ed81e6f, release build
Plugin: latest master (5915a24)
Traceback (most recent call last):

  File "E:\Documents\KiCad\8.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\ecad\kicad.py", line 864, in Run
    ibom.run_with_dialog(parser, config, logger)

  File "E:\Documents\KiCad\8.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\core\ibom.py", line 363, in run_with_dialog
    main(parser, config, logger)

  File "E:\Documents\KiCad\8.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\core\ibom.py", line 327, in main
    pcbdata, components = parser.parse()
                          ^^^^^^^^^^^^^^

  File "E:\Documents\KiCad\8.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\ecad\kicad.py", line 781, in parse
    "footprints": self.parse_footprints(),
                  ^^^^^^^^^^^^^^^^^^^^^^^

  File "E:\Documents\KiCad\8.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\ecad\kicad.py", line 564, in parse_footprints
    pad_dict = self.parse_pad(p)
               ^^^^^^^^^^^^^^^^^

  File "E:\Documents\KiCad\8.99\3rdparty\plugins\org_openscopeproject_InteractiveHtmlBom\ecad\kicad.py", line 490, in parse_pad
    pad_dict["radius"] = pad.GetRoundRectCornerRadius() * 1e-6
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: PAD.GetRoundRectCornerRadius() missing 1 required positional argument: 'aLayer'

Fixed locally by changing:
--- a/ecad/kicad.py
+++ b/ecad/kicad.py
@@ -487,7 +487,7 @@ class PcbnewParser(EcadParser):
             ]]

         if shape in ["roundrect", "chamfrect"]:
-            pad_dict["radius"] = pad.GetRoundRectCornerRadius() * 1e-6
+            pad_dict["radius"] = pad.GetRoundRectCornerRadius(layers_set[0]) * 1e-6
         if shape == "chamfrect":
             pad_dict["chamfpos"] = pad.GetChamferPositions()
             pad_dict["chamfratio"] = pad.GetChamferRectRatio()

But not sure if that's the right way to do it.

It's a decent workaround for now but proper fix needs padstack support. But kicad's own implementation is not yet complete so I'll wait on this.

Yeah, I have the same issue. Definitely a bummer, but I hope a fix can be found! :)

You need to reload kicad after you change the plugin (or do plugin refresh from the pcbnew menu). If you still have an issue it should not be exact same one, show me your error message.

I suspect your nightly is old, I fixed that on kicad side a while ago.

Hmmm, lemmie update and see.

Yes, you are correct. Installing the latest nightly fixed the issue.  I love your work.

for me it didn't  help.
Application: KiCad x64 on x64
Version: 8.99.0-2659-gf7f86174a0, release build

Yes, you are correct. Installing the latest nightly fixed the issue.  I love your work.

Which version have you used for success?

You either did not apply the modification correctly or did not reload the plugin or restart kicad. Your screenshot shows current code, not modified one.

Seems like I didn't apply modification correctly, becayse I installed last KiCad version and reload the computer just in case.

from box I've got this error:

arter that I download last ibom from github and put it instead of the one from "box", reload KiCad, and

Yeah and to fix that last error you need to change the code like the first post shows.
Change this line in kicad.py
pad_dict["radius"] = pad.GetRoundRectCornerRadius() * 1e-6
to
pad_dict["radius"] = pad.GetRoundRectCornerRadius(layers_set[0]) * 1e-6


Observing error message 500 with API: list-of-device-interfaces and list-of-actual-device-equipment

Observing error message 500  with API: /v1/provide-list-of-device-interfaces and /v1/provide-list-of-actual-device-equipment
Logs:
{
"code": 500,
"message": "Request failed with status code 400"
}
Note:  Response observed for both APIs  from MicrowaveDeviceInventory

Resolved in tag v1.0.1_test

Closed as discussed with Andreas Lattoch


Scenario.timeseries() doesn't filter results with 'year' field

According to the documentation, Scenario.timeseries() is supposed to filter results with various fields (or indices), but applying the year field gives an error and doesn't work as intended.
Code sample or context

import ixmp
import message_ix

mp_ENE = ixmp.Platform("ixmp_dev")
sc = message_ix.Scenario(mp_ENE, model= "xxx", scenario="yyy")

# This works fine, and the result includes values for 1990 onwards.
ts_chn=sc.timeseries(region="R12_CHN")

# Both below give an error.
ts_chn=sc.timeseries(region="R12_CHN", year=1990)
ts_chn=sc.timeseries(region="R12_CHN", year="1990")

Expected result
To give a data frame with the filtered result
Problem description
  File "C:\ProgramData\Anaconda3\envs\local_mix\lib\site-packages\ixmp\core\timeseries.py", line 372, in timeseries
    df = pd.DataFrame(

  File "C:\ProgramData\Anaconda3\envs\local_mix\lib\site-packages\pandas\core\frame.py", line 710, in __init__
    data = list(data)

  File "C:\ProgramData\Anaconda3\envs\local_mix\lib\site-packages\ixmp\backend\jdbc.py", line 734, in get_data
    for row in self.jindex[ts].getTimeseries(r, v, u, None, y):

java.lang.ClassCastException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number

Versions

ixmp:        3.4.0
message_ix:  3.4.1.dev23+g5526f43
     5526f43 (HEAD -> main, origin/main, origin/HEAD) Address failing copying of GAMS files (#568)
message_ix_models: 2022.3.3
message_data: 2020.6.21.dev1594+g1e32fcc1b.d20220316
     5a48ece18 (HEAD -> project/NGFS_phase3) Fix price reporting years

click:       8.0.4
dask:        2022.02.1
genno:       installed
graphviz:    0.19.1
jpype:       1.3.0
… JVM path:  C:\Program Files\Java\jdk1.8.0_202\jre\bin\server\jvm.dll
openpyxl:    3.0.9
pandas:      1.4.1
pint:        0.17
xarray:      2022.3.0
yaml:        6.0

iam_units:   installed
jupyter:     installed
matplotlib:  3.5.1
plotnine:    0.8.0
pyam:        1.3.1

GAMS:        26.1.0

python:      3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:21:54) [MSC v.1929 64 bit (AMD64)]
python-bits: 64
OS:          Windows
OS-release:  10
machine:     AMD64
processor:   Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder:   little
LC_ALL:      None
LANG:        en
LOCALE:      ('English_United States', '1252')

I just ran into this again during NAVIGATE, so will pick it up.


add tally subcommand

Run cargo aoc tally to get something like this:

It is written kinda funky with the JoinSet to run the futures in paralell. Unsure if there are any limit to the number of runs. Got it to run each day 1000 times. Tok about ~20 seconds, but it eventually finished
Let me know what you think

Think I fixed the issue regarding unimplemeted days.
I have plans to add a flag such as --num-workers <n> so that tokio does not take over the machine, as well as a --max flag to take over the machine, but it can come in a later PR, or?

Think I fixed the issue regarding unimplemeted days.
I have plans to add a flag such as --num-workers <n> so that tokio does not take over the machine, as well as a --max flag to take over the machine, but it can come in a later PR, or?

Yes, it could be fixed in a follow up PR 🔥


fix Theme button position needs to be changed issue #647

fix Theme button position needs to be changed issue #647

ok @narayan954

ok @narayan954

Hi @biplavmz , have you started working on that or would you want to hear a modification in plan? I mean, as you had it in navbar it's okay, but please change the icon to fit in the navbar

ok @narayan954


As a user, I want to produce a report for the number of people who speak Chinese, English, Hindi, Spanish, and Arabic from greatest number to smallest including the percentage of the world population so that I can gain insights of global language distributions.

As a user, I want to produce a report for the number of people who speak Chinese, English, Hindi, Spanish, and Arabic from greatest number to smallest including the percentage of the world population so that I can gain insights of global language distributions. #32


xcodebuild:  CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m:102:9: error: implicit declaration of function 'LOG_OBJC_MAYBE' is invalid in C99

added this to my Podfile
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DD_LEGACY_MACROS=1']
end
end
end
or you can just define it on your project: DD_LEGACY_MACROS=1

This doesn't work either if I set use_frameworks! in Podfile.