Didn't work for 1.1.59

Hello, I'm playing 1.1.59 but the patch didn't work for me. This is the content of my log file:
Fixing import for version.dll...
StartPatch called...
do_patch called...
szExePath: D:\Program Files\Steam\steamapps\common\Factorio\bin\x64\factorio.exe
RuleSize: 12		ReplSize: 11
Search range[size: 31145972]: 00007ff6badc0000 ~ 00007ff6bcb73ff4
Apply Patch at 00007ff6baf1cf3a
Patched 1 of 6.
RuleSize: 32		ReplSize: 4
Search range[size: 31145952]: 00007ff6badc0000 ~ 00007ff6bcb73fe0
Apply Patch at 00007ff6baeffecb
Apply Patch at 00007ff6baefff6b
Patched 2 of 6.
RuleSize: 9		ReplSize: 5
Search range[size: 31145975]: 00007ff6badc0000 ~ 00007ff6bcb73ff7
Apply Patch at 00007ff6bb2e4adc
Patched 3 of 6.
RuleSize: 14		ReplSize: 8
Search range[size: 31145970]: 00007ff6badc0000 ~ 00007ff6bcb73ff2
Apply Patch at 00007ff6bb8e45ea
Patched 4 of 6.
RuleSize: 23		ReplSize: 11
Search range[size: 31145961]: 00007ff6badc0000 ~ 00007ff6bcb73fe9
Apply Patch at 00007ff6bb8e2b20
Apply Patch at 00007ff6bb8e2bcd
Patched 5 of 6.
RuleSize: 14		ReplSize: 14
Search range[size: 31145970]: 00007ff6badc0000 ~ 00007ff6bcb73ff2
Apply Patch at 00007ff6bb8e2d60
Patched 6 of 6.
   0.000 Initializing Steam API.
   0.000 Steam requires game restart, restarting...
All done.
==============================================

I see the issue, Steam seems to change the search order for .dlls when you launch. To resolve this, please do the following

Open your steam library
Right click Factorio
Click Properties
In the General tab, enter the following in Launch Options: cmd /c start %command%
Close the properties window

This should resolve the issue when starting the game directly through Steam.

When I enter those commands into the launch options, it only opens a console window pathed to the game folder. The game doesn't appear to open at all. When generating a log file, the game does open and achievements sync correctly. Im on win 11 if thats anything. Also heres the log incase its useful at all.
Fixing import for version.dll...
StartPatch called...
do_patch called...
szExePath: C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\factorio.exe
RuleSize: 12		ReplSize: 11
Search range[size: 31178740]: 00007ff60d8e0000 ~ 00007ff60f69bff4
Apply Patch at 00007ff60da3d59a
Patched 1 of 6.
RuleSize: 32		ReplSize: 4
Search range[size: 31178720]: 00007ff60d8e0000 ~ 00007ff60f69bfe0
Apply Patch at 00007ff60da2052b
Apply Patch at 00007ff60da205cb
Patched 2 of 6.
RuleSize: 9		ReplSize: 5
Search range[size: 31178743]: 00007ff60d8e0000 ~ 00007ff60f69bff7
Apply Patch at 00007ff60de0679c
Patched 3 of 6.
RuleSize: 14		ReplSize: 8
Search range[size: 31178738]: 00007ff60d8e0000 ~ 00007ff60f69bff2
Apply Patch at 00007ff60e40807a
Patched 4 of 6.
RuleSize: 23		ReplSize: 11
Search range[size: 31178729]: 00007ff60d8e0000 ~ 00007ff60f69bfe9
Apply Patch at 00007ff60e4065b0
Apply Patch at 00007ff60e40665d
Patched 5 of 6.
RuleSize: 14		ReplSize: 14
Search range[size: 31178738]: 00007ff60d8e0000 ~ 00007ff60f69bff2
Apply Patch at 00007ff60e4067f0
Patched 6 of 6.
0.000 Initializing Steam API.
0.000 2022-08-05 14:13:06; Factorio 1.1.61 (build 59839, win64, steam)
0.000 Operating system: Windows 10 (build 22622)
0.000 Program arguments: "factorio.exe"
0.000 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.000 Write data path: C:/Users/colin/AppData/Roaming/Factorio [1256126/1907006MB]
0.000 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.004 System info: [CPU: 12th Gen Intel(R) Core(TM) i7-12700KF, 20 cores, RAM: 10631/24389 MB, page: 15558/27973 MB, virtual: 4350/134217727 MB, extended virtual: 0 MB]
0.005 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (125.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
0.008 Available displays: 3
0.008  [2]: \.\DISPLAY3 - NVIDIA GeForce RTX 3070 Ti {0x05, [0,0], 2560x1440, 32bit, 155Hz}
0.008  [0]: \.\DISPLAY1 - NVIDIA GeForce RTX 3070 Ti {0x01, [-2560,0], 2560x1440, 32bit, 59Hz}
0.008  [1]: \.\DISPLAY2 - NVIDIA GeForce RTX 3070 Ti {0x01, [2560,0], 2560x1440, 32bit, 59Hz}
0.049 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.139 Initialised Direct3D[0]: NVIDIA GeForce RTX 3070 Ti; id: 10de-2482; driver: nvldumdx.dll <IP_ADDRESS>9
0.139   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
0.139   [Local Video Memory] Budget: 7274MB, CurrentUsage: 4MB, Reservation: 0/3765MB
0.139   [Non-Local Vid.Mem.] Budget: 11426MB, CurrentUsage: 0MB, Reservation: 0/5841MB
0.139   Tiled resources: Tier 2
0.139   Unified Memory Architecture: No
0.139   BGR 565 Supported: Yes
0.139   MaximumFrameLatency: 3, GPUThreadPriority: 0
0.139 Graphics settings preset: very-high
0.139   Dedicated video memory size 8042 MB
0.166 Desktop composition is active.
0.166 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
0.166                   [Max threads (load/render): 32/20] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
0.195 DSound: Starting _dsound_update thread
0.195 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
0.196 DSound: Enter _dsound_update; tid=13024
0.279 Loading mod settings even-distribution 1.0.10 (settings.lua)
0.280 Loading mod settings far-reach 1.1.2 (settings.lua)
0.280 Loading mod settings flib 0.10.1 (settings.lua)
0.280 Loading mod settings Squeak Through 1.8.2 (settings.lua)
0.280 Loading mod settings factoryplanner 1.1.51 (settings.lua)
0.281 Loading mod core 0.0.0 (data.lua)
0.313 Loading mod base 1.1.61 (data.lua)
0.429 Loading mod AfraidOfTheDark 1.1.1 (data.lua)
0.437 Loading mod DiscoScience 1.1.3 (data.lua)
0.443 Loading mod even-distribution 1.0.10 (data.lua)
0.449 Loading mod flib 0.10.1 (data.lua)
0.455 Loading mod factoryplanner 1.1.51 (data.lua)
0.461 Loading mod base 1.1.61 (data-updates.lua)
0.467 Loading mod AfraidOfTheDark 1.1.1 (data-updates.lua)
0.473 Loading mod Squeak Through 1.8.2 (data-updates.lua)
0.480 Loading mod AfraidOfTheDark 1.1.1 (data-final-fixes.lua)
0.529 Checksum for core:<PHONE_NUMBER>
0.529 Checksum of base:<PHONE_NUMBER>
0.529 Checksum of AfraidOfTheDark:<PHONE_NUMBER>
0.529 Checksum of DiscoScience:<PHONE_NUMBER>
0.529 Checksum of even-distribution:<PHONE_NUMBER>
0.529 Checksum of far-reach:<PHONE_NUMBER>
0.529 Checksum of flib:<PHONE_NUMBER>
0.529 Checksum of Squeak Through:<PHONE_NUMBER>
0.529 Checksum of factoryplanner: 453284339
0.646 Prototype list checksum:<PHONE_NUMBER>
0.673 Loading sounds...
0.740 Info PlayerData.cpp:73: Local player-data.json unavailable
0.740 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp<PHONE_NUMBER>
0.828 Initial atlas bitmap size is 16384
0.856 Created atlas bitmap 16384x16376 [none]
0.859 Created atlas bitmap 16384x13060 [none]
0.859 Created atlas bitmap 8192x4188 [decal]
0.860 Created atlas bitmap 16384x5568 [low-object, linear-minification]
0.860 Created atlas bitmap 8192x4272 [mipmap, linear-minification, linear-magnification, linear-mip-level]
0.861 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
0.861 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
0.861 Created atlas bitmap 4096x1856 [smoke, mipmap, linear-minification, linear-magnification]
0.861 Created atlas bitmap 4096x3104 [mipmap]
0.862 Created atlas bitmap 8192x2320 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
0.862 Created atlas bitmap 8192x1496 [alpha-mask]
0.864 Created atlas bitmap 16384x14768 [shadow, linear-magnification, alpha-mask]
0.864 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
0.865 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
0.867 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
1.341 Parallel Sprite Loader initialized (threads: 19)
6.753 Sprites loaded
6.765 Generated mipmaps (4) for atlas [3] of size 16384x5568
6.776 Generated mipmaps (3) for atlas [4] of size 8192x4272
6.798 Generated mipmaps (3) for atlas [5] of size 16384x6064
6.819 Generated mipmaps (3) for atlas [6] of size 4096x3216
6.831 Generated mipmaps (3) for atlas [7] of size 4096x1856
6.871 Generated mipmaps (3) for atlas [8] of size 4096x3104
6.882 Generated mipmaps (5) for atlas [9] of size 8192x2320
6.893 Generated mipmaps (3) for atlas [12] of size 8192x2352
6.905 Custom mipmaps uploaded.
6.911 Custom inputs active: 12
7.058 Factorio initialised
7.058 Discord overlay detected (DiscordHook64.dll)
7.060 Steam Storage Quota: 4725/4768
13.941 Loading map C:\Users\colin\AppData\Roaming\Factorio\saves\day4.zip: 8923167 bytes.
13.960 Loading level.dat: 20679964 bytes.
13.963 Info Scenario.cpp:199: Map version 1.1.61-0
14.152 Loading script.dat: 417684 bytes.
14.155 Checksum for script C:/Users/colin/AppData/Roaming/Factorio/temp/currently-playing/control.lua:<PHONE_NUMBER>
14.155 Checksum for script AfraidOfTheDark/control.lua:<PHONE_NUMBER>
14.157 Checksum for script DiscoScience/control.lua:<PHONE_NUMBER>
14.157 Script @even-distribution/framework.lua:72: 0 [ED] Initializing framework... DEBUG = false
14.157 Script @even-distribution/framework.lua:72: 0 [ED] Registering custom scripts...
14.157 Script @even-distribution/framework.lua:72: 0 [ED] Script: metatables
14.157 Script @even-distribution/framework.lua:72: 0 [ED] Script: util
14.158 Script @even-distribution/framework.lua:72: 0 [ED] Script: helpers
14.158 Script @even-distribution/framework.lua:72: 0 [ED] Script: setup
14.158 Script @even-distribution/framework.lua:72: 0 [ED] Script: remote
14.158 Script @even-distribution/framework.lua:72: 0 [ED] Script: visuals
14.159 Script @even-distribution/framework.lua:72: 0 [ED] Script: gui-tools
14.159 Script @even-distribution/framework.lua:72: 0 [ED] Script: drag
14.159 Script @even-distribution/framework.lua:72: 0 [ED] Script: cleanup
14.160 Script @even-distribution/framework.lua:72: 0 [ED] GUI-Script: settings-gui
14.160 Script @even-distribution/framework.lua:72: 0 [ED] Registering default event handlers...
14.160 Script @even-distribution/framework.lua:72: 0 [ED] Registering custom inputs...
14.160 Script @even-distribution/framework.lua:72: 0 [ED] Input: inventory-cleanup   event: on_inventory_cleanup
14.160 Script @even-distribution/framework.lua:72: 0 [ED] Input: fast-entity-transfer-hook   event: on_fast_entity_transfer_hook
14.160 Script @even-distribution/framework.lua:72: 0 [ED] Input: fast-entity-split-hook   event: on_fast_entity_split_hook
14.161 Script @even-distribution/framework.lua:72: 0 [ED] Successfully initialized
14.161 Checksum for script even-distribution/control.lua: 850894597
14.162 Checksum for script far-reach/control.lua:<PHONE_NUMBER>
14.177 Checksum for script factoryplanner/control.lua:<PHONE_NUMBER>
16.873 Unlocked achievement "circuit-veteran-1"
16.873 Unlocked achievement "iron-throne-1"
26.179 Quitting: user-quit.
26.232 DSound: Stopping voice
26.232 DSound: Joining thread
26.233 DSound: Exit _dsound_update; tid=13024
26.233 DSound: Waiting for voice to stop ... signaled
26.233 DSound: Joined thread
26.233 DSound: Destroying thread
26.233 DSound: Thread destroyed
26.233 DSound: Releasing buffer
26.233 DSound: Voice stopped
26.233 DSound: Deallocating voice
26.233 DSound: Deallocated voice
26.260 Steam API shutdown.
26.264 Goodbye
All done.

@Godzila543 I'm not 100% sure then, the issue is that steam overrides some stuff when you launch through steam. If you launch outside of steam (but using the game installed from steam) it works fine. I haven't really figured out why it's doing that besides steam overriding some environmental stuff.

Ah, looks like it may be cmd /c "start %command%" if you could try that

@oorzkws I have the same issue. The log output file is the same as @Godzila543, the patch seems to be applied successfully, but the game wouldn't launch and instead opens a cmd with a path to the game folder. This happens both when the game is launched directly from steam or using the factorio exe. I've tried both cmd /c "start %command%" and cmd /c start %command%

@oorzkws I got a workaround - once the cmd window opens after launch, simply change directory to the bin folder & launch factorio.exe again. Achievements are synced! Many thanks for your work

@oorzkws I got a workaround - once the cmd window opens after launch, simply change directory to the bin folder & launch factorio.exe again. Achievements are synced! Many thanks for your work

I'm glad to hear that at least works. Do you mind if I ask what directory it drops you in initially?

@oorzkws it was C:\Program Files (x86)\Steam\steamapps\common\Factorio


Feature Selection Techniques

I would be explaining and code feature selection using information gain, fisher's score, correlation coefficient, chi- square test, variance threshold and many more. I have GSSOC'21 participant and would like to contribute to this issue..

@Dishita2602 Can you be more specific on which feature selection algorithms you wish to use?

I would like to use this below methods for features selection . Feature selection is very important to improve overall accuracy of machine learning model. I would explain this methods in detail.
Filter methods (Information gain, Chi square test, Fisher's score, Correlation coeff, Variance threshold)


how can i return just inference video

Currently, in the code that generates the final video, the original image, pose video, and generated video are created in a grid. If I want to make only the final generated video a video file, how should I modify the code?

you can change pose2vid.py:
video = pipe(
ref_image_pil,
pose_list,
width,
height,
len(pose_list),
args.steps,
args.cfg,
generator=generator,
).videos
save_videos_grid(
video,
f"{save_dir}/{ref_name}{pose_name}{args.H}x{args.W}{int(args.cfg)}{time_str}_animate.mp4",
n_rows=1,
fps=src_fps if args.fps is None else args.fps,
)

thank you


Disable webview border on Windows

By default the wxWebview on windows (and possibly other OS's) has a black border around it.
Its not visible in the demo app because its dark, but it stands out on light theme apps.
This commit disables the border by default
Before

After

Done. I had assumed it was auto-generated, but it does make sense to update it anyway


v4.0.10 upgrade to v6.0.0 fail with : region split size 4194304 must >= region bucket size 100663296

Bug Report

What version of TiKV are you using?
v6.0.0
What operating system and CPU are you using?

Steps to reproduce
install v4.0.10 with :
tikv:
coprocessor.region-max-size: 16MB
coprocessor.region-split-size: 4MB
raftstore.region-split-check-diff: 1MB
storage.block-cache.capacity: 1GB
upgrade to v6.0.0
upgrade fail with :
Error: init config failed: tikv1-peer:30160: executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@tikv1-peer:22' {ssh_stderr: invalid configuration: [components/raftstore/src/coprocessor/config.rs:111]: region split size 4194304 must >= region bucket size 100663296
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /tiup/deploy/tikv-30160/bin/tikv-server --config-check --config=/tiup/deploy/tikv-30160/conf/tikv.toml --pd "" --data-dir "/tiup/data/tikv-30160"}, cause: Process exited with status 1: check config failed
What did you expect?
upgrade success
What did happened?
upgrade fail

Fixed by https://github.com/tikv/tikv/pull/12237


No SSH username given, tried to open terminal - uncaught exception

Test case: I want to get to the login shell (so no username - will enter it later).

Run the Pi Finder, scan for Raspberries
Choose the IP address
Clear the "Username" and "Password" boxes
Click "Terminal".

I got:
Uncaught Exception: Error: Invalid username     at Client.connect (/tmp/mozilla_elegant0/linux-x64/resources/app/node_modules/adafruit-pi-finder/node_modules/ssh2/lib/client.js:130:11)     at new ssh (/tmp/mozilla_elegant0/linux-x64/resources/app/node_modules/adafruit-pi-finder/ssh.js:31:12)     at ssh (/tmp/mozilla_elegant0/linux-x64/resources/app/node_modules/adafruit-pi-finder/ssh.js:20:12)     at ssh_connect (/tmp/mozilla_elegant0/linux-x64/resources/app/node_modules/adafruit-pi-finder/main.js:110:13)     at EventEmitter.<anonymous> (/tmp/mozilla_elegant0/linux-x64/resources/app/node_modules/adafruit-pi-finder/main.js:81:5)     at emitTwo (events.js:87:13)     at EventEmitter.emit (events.js:172:7)     at EventEmitter.<anonymous> (/tmp/mozilla_elegant0/linux-x64/resources/atom.asar/browser/api/lib/web-contents.js:91:23)     at emitTwo (events.js:87:13)     at EventEmitter.emit (events.js:172:7)
Using 64-bit Linux build on Debian stretch/sid amd64.

Well, I'd imagine that if I tried to use Pi Finder in an unintended way I could find tons of issues too.


fuzzel support ?

Can you add fuzzel support ? Or make another project with fuzzel support ?

@foxjaw I put in the ability to use any command-line based application. I'm not a user of fuzzel, but I'll look at it when I'm able to. Unfortunately, I'm quite busy for the next couple weeks due to family obligations over the Christmas and New Years holidays.

@foxjaw apologies -- I forgot about this, you can already use wofimoji like the following with fuzzel:
wofimoji --selector='fuzzel' --selector-args='-d'

Good luck!


Update dependencies AJV 8.17.1

Changed

updated dependencies

@biomejs/biome   ^1.5.3  →   ^1.8.3
ajv             ^8.12.0  →  ^8.17.1
c8              ^10.1.1  →  ^10.1.2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
455

Relevant Lines:
455

💛  - Coveralls


feat: Adding caustics.func

This adds a new interface level for caustics with fully functional base functions for the caustics OOP layer. This allows for more precise access to functions without building objects.
To access the reduced deflection angle calculations for an SIE it is now possible to directly call:
caustics.func.reduced_deflection_angle_sie
instead of building a caustics.SIE object and then calling the reduced deflection angle method. This allows for one to build simulators in a very granular way. However, the OOP caustics interface is still what we expect to be the primary interface for most users, the func design is for very advanced analyses or unusual design requirements.

I haven't gone through everything yet but I love the name convention, i.e. put the profile at the end of the name and the quantity of interest first.
This is a rather extensive PR. Can you add some notes or mention notable changes to the code that were in the classes before? I'll start to review the lenses during the week.
Also, I'm curious to know how you handle the parametrization, following the discussion in #196 .

@AlexandreAdam Glad you like the convention! :)
My plan for this PR is to change as little as possible in how the code operates, I'm just copy-pasting. So if you look at what's happened to one lens you get the idea for everything. That said, there are some decisions for e.g. NFW and TNFW which I'll post in more detail once I have a functioning version of this put together.
I plan to copy the classes as written here. So #196 will be entirely independent.

Ok I think the func design is ready to go, sorry this PR is basically unreadable in git...
Most of the func methods are directly copied from before so there is no change in behavior. While going through everything I identified some minor bits of redundant code and cleaned them up, but those were very straightforward.
Some places required a bit more thought though. For the NFW we run into the issue that PyTorch cannot currently evaluate where without propogating nans from the False branch in autodiff (internally where just multiplies the False values by zero, which doesn't eliminate nans in autodiff, although it inexplicably works in the forward pass). So the user must decide if they want autodiff or if they want vmap. I implimented this by allowing the user to pass a function as an argument, so they can pick the differentiable or the batchable one. For example for the physical_deflection_angle_nfw function there is an argument _h where the user can select _h_differentiable_nfw or _h_batchable_nfw which are also defined in func, the default function is _h_differentiable_nfw. A similar setup is used for TNFW.
For the TNFW there is a normalization value M0 which can be computed using the "mass" of an NFW which is an arbitrary integral out to r200 for an NFW (not a TNFW), or it can be set to the total mass of the TNFW. The second one is way more meaningful, but often people will want to switch between NFW and TNFW in which case the first is kind of better. To allow for flexibility I let the user provide the M0 value as an argument, then they can use either the M0_scalemass_tnfw or the M0_totalmass_tnfw  functions themselves.
Some very trivial things like the convergence of a mass sheet, I do not create a func version. Though we may want to add them at some point just for completeness.
I absorb a bunch of the helper functions from before into the func module, so this does make the classes a bit cleaner which is nice.
Also I added references and equation numbers for every function.


Missing records after Sphinx indexing

I found that Spinx is not indexing all my table records (with  3_288_369 records).
db_found = Verse.where('text ~* ?', '\y[łŁ]ukasz\y').map(&:id).uniq.sort
db_found.size # => 74
ts_found = Verse.search('łukasz').map(&:id).sort
ts_found.size # => 20

I thought it's because I installed Sphinx without --with-id64 option. But it was not that. After installing it again (brew install sphinx --with-id64 --with-postgresql) I still get the same results.
I also checked if there is any difference between SQL and RT indexing, but it was not that either. It does not matter. Sphinx returns the same (too small) number of records.
I am not sure what is there, but when I compared missing record's id, I found that Sphinx ignored only records with higher id values. In my case it ignores all records with id = 2576172 and above...

Sphinx (and thus, Thinking Sphinx) paginates search results. Verse.search('łukasz').total_count should return the total number of matches.

Aaaa. I see. Thanks.


⚠ Bofrost.lu has degraded performance

In 384cc26, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1490 ms

Resolved: Bofrost.lu performance has improved in 501968e after 8 minutes.


EpiDoc schema url change

Some corrections of divs and milestones in this but given that there was a chage in the url of the EpiDoc schema, I am merging it all now, so we can validate properly.


Way to reduce update interval

First of all, great job. I can also confirm that the project is working with JBD-SP04S020-L4S-120A-B-U-K.
Is there any way to increase the update interval (less frequent) when used with HA API?
Parameters like rx_timeout or refresh in external_components do not reduce the update interval.

jbd_bms:
  rx_timeout: ${rx_timeout}
  update_interval: 30s

is what you are looking for! :-)

Yeah, that's it. I have tried that in the wrong place.
Maybe you can add it in sample confs.
Tnx again.

I've improved the examples. Have fun!


Can you release a new version?

I was seeing nullability warnings with version 0.7.0, which were already fixed by #17. It would be nice if these changes could be released on NPM.

@mrackwitz Hey! Update just created a realease PR: #21 for version 0.8.0. I hope to release it at the latest Monday.

Version 0.8.0 should be available via npm now.


Make KapButton stylable

KapButton couldn't be styled from the outside. This PR changes that.

haha, love the custom style 🤩

Me too! Thank you GPT-4 🥳


Remove differences between machine creation and machine start

This removes the branch if !exists { start the VM this way } else { start the VM this other way } in machine.Start.
It simplifies the code but also ensures a just created VM can be launched again.
In the future, we could add a machine.Create method that can be call at setup time. It would radically change the UX: no more error like Machine doesnt not exist. Use 'crc start' to create it

This looks a good cleanup but also we are going to run some of the code path which really don't require if vm is stop, I still need to gather data around time it takes now start => stop => start and how previously it was taking.

/retest

/retest
retest this please


No "main" in package.json

The "main" property makes systemjs happy.

If systemjs fails to read this package properly without that, then it's bug on systemjs side. Please open an issue over there.


xenomai: Add distro and recipe for Xenomai 4 on x86

Add a distro named "torizon-xenomai" that select the Xenomai kernel and set the corresponding kernel command-line args.
Add a recipe that build the "linux-evl" Xenomai 4 kernel fork, which include the EVL co-processor implementation.
Use the active SLTS kernel 5.10.y branch from Xenomai, because it's the same version as "linux-intel-lts" for kirkstone in meta-common-torizon.
Set minimal kernel config for Xenomai to work. Further optimization may be possible, but is not covered.

LGTM! Xenomorph cherry picked! Thanks @leograba

I had to cherry-pick because the repo needed a sync with upstream, and this mess up with the hashes. But you commit is here: 206f06b40510f7993dc9fc7156248dfb1f9ab5aa

lol thanks man!


[Maps] Onboarding Maps Geolocation

Packages impacted by this PR

@azure-rest/maps-geolocation

Issues associated with this PR
Describe the problem that is addressed by this PR

Onboarding new package for Azure Maps Geolocation

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)

Yes. Please refer to sdk/maps/maps-geolocation-rest/test

Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[x] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-rest-maps-geolocation

Looks great! What is the package name for the other languages?

@joheredi
C#: Azure.Maps.Geolocation
Python: azure-maps-geolocation
Java: azure-maps-geolocation
Reference: https://learn.microsoft.com/en-us/azure/azure-maps/rest-sdk-developer-guide


Align header file documentation format

I simplified retarget_os.h for GCC - "System Calls" were removed and only "Locking Routines" remain in place for "OS Interface". Conveniently, with the pack restructure, Syscalls are now all "hidden" under CMSIS-Compiler:CORE component and are not explicitly documented.


Update clipgrab to 3.6.5

After making all changes to the cask:

[x] `brew cask audit --download {{cask_file}}` is error-free.
[x] `brew cask style --fix {{cask_file}}` left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 39807101f10503f002d6dbd412573e20a2efff65. Your contribution is still credited to you.


[Bug]: Sending feedback results in "Cannot read properties of undefined (reading 'message')"

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Describe the bug and reproduction steps
Currently, clicking the "thumbs-up" button results in an error: "Cannot read properties of undefined (reading 'message')"

This happens both locally and in the online version.
OpenHands Installation
Development workflow
OpenHands Version
da23189e4c1de94240c4246b1ea7b0d4594e855b
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
No response

Maybe a duplicate of #4348

@neubig I kept getting this issue. I deleted all my containers, images, refreshed cache, then ran through main and it seemed fixed.

Good to close?

Closing as I'm pretty sure this specific issue is resolved.


Changed default error handler

removed default console log of error and left it only for the case, when there is no reconnection after

Why?

Why?

In order not to have this big annoying message in cases, when reconnection is established automatically.  It should be shown only in critical cases

This would require a major version bump for something that I feel is unnecessary at rthis point. Closing.

I have a beta for 4.0.0 out at the moment that doesn't post these errors


Trigger loop

We seem to be triggering the same builds over and over again with the 5.7 changes:
2022-09-14 10:05:56 | [ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
2022-09-14 10:05:56 | [ INFO ] Finding missing builds for package id: 648174DC-1232-44C2-80AF-D2214E4BCD8E [component: trigger-builds]
2022-09-14 10:05:56 | [ INFO ] Finding missing builds for package id: 0A51D2F2-5151-4D13-8F33-ED64987813D0 [component: trigger-builds]
2022-09-14 10:05:56 | [ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: 0.0.10 [component: trigger-builds]
2022-09-14 10:05:56 | [ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: master [component: trigger-builds]
2022-09-14 10:05:56 | [ INFO ] Triggering 5 builds for package name: Stream, ref: 0.0.8 [component: trigger-builds]
2022-09-14 10:05:56 | [ INFO ] Triggering 5 builds for package name: Stream, ref: master [component: trigger-builds]
2022-09-14 10:06:57 | [ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
2022-09-14 10:06:58 | [ INFO ] Finding missing builds for package id: 648174DC-1232-44C2-80AF-D2214E4BCD8E [component: trigger-builds]
2022-09-14 10:06:58 | [ INFO ] Finding missing builds for package id: 0A51D2F2-5151-4D13-8F33-ED64987813D0 [component: trigger-builds]
2022-09-14 10:06:58 | [ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: 0.0.10 [component: trigger-builds]
2022-09-14 10:06:58 | [ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: master [component: trigger-builds]
2022-09-14 10:06:58 | [ INFO ] Triggering 5 builds for package name: Stream, ref: 0.0.8 [component: trigger-builds]
2022-09-14 10:06:58 | [ INFO ] Triggering 5 builds for package name: Stream, ref: master [component: trigger-builds]
2022-09-14 10:07:59 | [ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
2022-09-14 10:07:59 | [ INFO ] Finding missing builds for package id: 648174DC-1232-44C2-80AF-D2214E4BCD8E [component: trigger-builds]
2022-09-14 10:08:00 | [ INFO ] Finding missing builds for package id: 0A51D2F2-5151-4D13-8F33-ED64987813D0 [component: trigger-builds]
2022-09-14 10:08:00 | [ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: 0.0.10 [component: trigger-builds]
2022-09-14 10:08:00 | [ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: master [component: trigger-builds]
2022-09-14 10:08:00 | [ INFO ] Triggering 5 builds for package name: Stream, ref: 0.0.8 [component: trigger-builds]
2022-09-14 10:08:00 | [ INFO ] Triggering 5 builds for package name: Stream, ref: master [component: trigger-builds]

When trying to reproduce this locally, I'm getting
[ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
[ INFO ] Finding missing builds for package id: 648174DC-1232-44C2-80AF-D2214E4BCD8E [component: trigger-builds]
[ INFO ] Finding missing builds for package id: 0A51D2F2-5151-4D13-8F33-ED64987813D0 [component: trigger-builds]
[ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: 0.0.10 [component: trigger-builds]
[ INFO ] Triggering 5 builds for package name: VaporFirestore, ref: master [component: trigger-builds]
[ INFO ] Triggering 5 builds for package name: Stream, ref: master [component: trigger-builds]
[ INFO ] Triggering 5 builds for package name: Stream, ref: 0.0.8 [component: trigger-builds]
[ WARNING ] The operation couldn’t be completed. (App.Gitlab.Error error 2.) [component: server]
PostgresNIO/PostgresConnection.swift:165: Assertion failed: PostgresConnection deinitialized before being closed.

This could explain what we're seeing: the trigger crashes before actually triggering any builds and we end up churning on  the same builds, because we neither a) actually trigger them nor b) record the trigger in the db, moving those packages out of the candidate pool.
I suspect we don't see the WARNING in the prod logs for some reason, perhaps due to flushing issues.

It doesn't seem to be related to 5.7 downscaling.

The Postgres connection issue is a red herring. The problem is that triggering fails with an error and the whole job then bails out, because we try to decode a structured response with a web_url:
body: {"message":{"base":["No stages / jobs for this pipeline."]}}
[ WARNING ] Value required for key 'web_url'. [component: server]
Swift/ErrorType.swift:200: Fatal error: Error raised at top level: Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "web_url", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"web_url\", intValue: nil) (\"web_url\").", underlyingError: nil))

Turns out I've updated the builder CI to test 5.7 but didn't update the actual trigger matrix 🤦♂

That's why it worked for the Linux builds, because they don't need Swift version updates.

https://gitlab.com/finestructure/swiftpackageindex-builder/-/merge_requests/152

Keeping this open as a reminder to make sure we log trigger errors.

Deployed and fixed:
2022-09-14 12:53:41 | [ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
2022-09-14 12:53:41 | [ INFO ] Finding missing builds for package id: 014F1FE4-16AA-4937-BEDC-B9EE0001CB40 [component: trigger-builds]
2022-09-14 12:53:41 | [ INFO ] Finding missing builds for package id: 98EB40AE-2082-4688-B25E-B34CE670234C [component: trigger-builds]
2022-09-14 12:53:41 | [ INFO ] Triggering 6 builds for package name: Ozzy, ref: master [component: trigger-builds]
2022-09-14 12:53:41 | [ INFO ] Triggering 6 builds for package name: Ozzy, ref: 0.2.4 [component: trigger-builds]
2022-09-14 12:53:41 | [ INFO ] Triggering 0 builds for package name: TraceLogAdaptiveWriter, ref: master [component: trigger-builds]
2022-09-14 12:53:41 | [ INFO ] Triggering 0 builds for package name: TraceLogAdaptiveWriter, ref: 2.0.0 [component: trigger-builds]
2022-09-14 12:54:45 | [ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
2022-09-14 12:54:46 | [ INFO ] Finding missing builds for package id: 98EB40AE-2082-4688-B25E-B34CE670234C [component: trigger-builds]
2022-09-14 12:54:46 | [ INFO ] Finding missing builds for package id: B911B2FC-9BA9-412E-A297-A70FD91DEB81 [component: trigger-builds]
2022-09-14 12:54:46 | [ INFO ] Triggering 6 builds for package name: TraceLogAdaptiveWriter, ref: master [component: trigger-builds]
2022-09-14 12:54:46 | [ INFO ] Triggering 6 builds for package name: TraceLogAdaptiveWriter, ref: 2.0.0 [component: trigger-builds]
2022-09-14 12:54:46 | [ INFO ] Triggering 0 builds for package name: Futura.swift, ref: master [component: trigger-builds]
2022-09-14 12:55:48 | [ INFO ] Triggering builds (limit: 2) ... [component: trigger-builds]
2022-09-14 12:55:49 | [ INFO ] Finding missing builds for package id: B911B2FC-9BA9-412E-A297-A70FD91DEB81 [component: trigger-builds]
2022-09-14 12:55:49 | [ INFO ] Finding missing builds for package id: 522EC71B-E33A-496E-8BD7-A0D0797B2236 [component: trigger-builds]
2022-09-14 12:55:49 | [ INFO ] Triggering 6 builds for package name: Futura.swift, ref: master [component: trigger-builds]
2022-09-14 12:55:49 | [ INFO ] Triggering 6 builds for package name: gdpr-swift, ref: master [component: trigger-builds]


[Feature] Add sorting and filtering to the partners page

Is your feature request related to a problem? Please describe.
At the moment it can be challenging to find information on partners you may be interested in. We have a wide range of partners from consultants, managed service providers (MSP's), and those extending OpenSearch.
Describe the solution you'd like
There should be a mechanism to filter the partner list to just the types you are looking for using the existing metadata. This may be a drop down menu or picklist.
Describe alternatives you've considered
We could also just add tags to partners cards. This solution would solve the problem temporally but would not scale well with our partner list.

Yes - definitely planned to take this on as part of the new partner page experience - adding to the Website Update Project / backlog while we work on data normalization in https://github.com/opensearch-project/project-website/issues/1345


There has been a problem during deployment: DISM exited with code 2

Error:
2021-03-12 13:38:49.487 +00:00 [Verbose] Error: 2
2021-03-12 13:38:49.487 +00:00 [Verbose]
2021-03-12 13:38:49.488 +00:00 [Verbose] Cannot find the specified file 'Downloaded\Drivers\BSP Drivers'
2021-03-12 13:38:49.488 +00:00 [Verbose]
2021-03-12 13:38:49.488 +00:00 [Verbose] The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
2021-03-12 13:38:49.762 +00:00 [Error] An error has occurred
Deployer.Exceptions.DeploymentException: There has been a problem during deployment: DISM exited with code 2.
at Deployer.NetFx.ImageServiceBase.d__3.MoveNext() in D:\a\1\s\Source\DeployerPlatform\Deployer.NetFx\ImageServiceBase.cs:line 74
Reason:
No directory created called 'Downloaded\Drivers\BSP Drivers'
The URL requested in the log
2021-03-12 11:12:49.522 +00:00 [Information] Fetching from GitHub subfolder: https://github.com/driver1998/bsp/bsp-master/prebuilt to Downloaded\Drivers\BSP Drivers
does not exist. Checking the webpage leads to a 404 error

see my post https://github.com/WOA-Project/WOA-Deployer-Rpi/issues/76#issuecomment-831001101


ConfigListener add a method or parameter to distinguish config and overrides

Your question
ConfigListener add a method or parameter to distinguish config and overrides
Your scenes
1.add a paramter
2.add a new Listener, maybe overideListener
Your advice
I prefer to 1.
Environment

SOFARPC version:
JVM version (e.g. java -version):
OS version (e.g. uname -a):
Maven version:
IDE version:

Now:

com.alipay.sofa.rpc.listener.ConfigListener#configChanged  is for change config of interface.
com.alipay.sofa.rpc.listener.ConfigListener#attrUpdated is for change field value of provider&consumer.

Do you mean config of provider&consumer?  Can you give any examples?

ok. This means configChanged is not used now.


The same layer can be added to a story multiple times

Is that desirable?

Closing, we have a similar ticket open regarding the same layer multiple times in the same chapter.  We should not be able to add the same layer to a chapter multiple times, but we should be able to add the same layer to separate chapters within a story.


Add a copyKeyFields config option to the ES sink

Motivation
Add a config option to the Elasticsearch sink allowing to copy the message key fields into the Elasticsearch _source.
Modifications
Modification in the ElasticSearchSink.
Verifying this change

[ ] Make sure that the change passes the CI checks.

Add unit tests in ElasticSearchExtractTests

Does this pull request potentially affect one of the following parts: No
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?

[ ] doc-required
(If you need help on updating docs, create a doc issue)

[x] no-need-doc
(Please explain why)
Because the ES Sink documentation is generated from the code annotation.

[ ] doc
(If this PR contains doc changes)

great work


Add current_humidity for dehumidifier

Fix humidifier card cannot display current humidity.

Tested with RD-360HS + manually installed RC-W02XE1. All features can be configured through remote module. Since my SKU is old version, cannot press 負離子清凈 + 按鍵鎖 to enter pairing state. Need to press the physical button on RC-W02XE1 to enter pairing state.


@prefresh/nollup v1.0.0 missing from npm

Latest tagged version of @prefresh/nollup in npm is 0.7.0, but in repo it's 1.0.0

Yes it isn't published yet, it's ready for publish

OK, no pressure.
I thought you forgot to publish release

Released it, thanks for the nudge! 😄


Remove nox file

We'll use github actions with a test matrix instead. This allows parallel test runs with different python/sqlalchemy versions as in nox

What about local development activities where you want to test upfront multiple python versions and sqlalchemy versions?

Valid point but I hope that this will be a corner case. Also using nox in parallel way is painful and using github-actions matrix is easier. Maintaining both will be too complicated


When reopen modal player seekTo will not work

This plugin is the best. cheers to author!
I have an issue.
Here is my code:
this._audioProvider.tracks[this.currentIndex].seekTo(parseInt(seekVal));
It works when the first open of the modal but when I reopen the modal the seekTo function will not work. I hope someone will response. Thanks

@mac69 I have never tested that use case with a modal. Are there any errors in the console?

No error. I did not use the html 5 audio components. I am still figuring out what would be the problem. I hope you could test in modal. Thanks.

similar issue when i used audio-track in a custom component. Track start but the seek doesn't move and onFinish doesn't be triggered.


Line break in inlined script tag

I see a last line break in my output script tag. Maybe trimRight would fix that?

Please try the latest version, and if it doesn't work, send a PR with a test to reproduce the issue.

Works now, thanks!


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc we don't use Prow
/assign we don't use Prow
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/pkg 71508fc...9a4b612:
  > 9a4b612 Added invalid value field error with details (# 2246)
  > d9b35c4 Delete deprecated ObserveFinalizeKind API (# 2248)

Codecov Report

Merging #291 (a80194c) into main (f5fdda2) will decrease coverage by 0.52%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #291      +/-   ##
==========================================
- Coverage   80.65%   80.13%   -0.53%
==========================================
  Files          20       20
  Lines         765      765
==========================================
- Hits          617      613       -4
- Misses        134      137       +3
- Partials       14       15       +1

Impacted Files
Coverage Δ

pkg/vsphere/adapter.go
61.24% <0.00%> (-3.11%)
:arrow_down:

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 f5fdda2...a80194c. Read the comment docs.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

:tada: This PR is included in version 4.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


i/o error on Amazon Cloud Drive

Hi I'm currently trying to migrate my Amazon US Cloud Drive Account to my German ACD Account, in order to avoid abusing their TOS. I came across rclone which seems the perfect application to get this migration done.
I've mounted my acd_US drive via acd_cli fuse on my filesystem (/mnt/.acd-remote-enc/). But when I try to upload one of my folders to amazon_Germany via rclone I'm getting timeouts all the time. Some files get uploaded succesfully; but most of the time they're not.
Rclone also doesn't respect the default retry count of 3 and uses all of my available traffic quota, while trying to upload the same file all the time.
Is there anything wrong with my setup? What's the cause of these i/o errors?

What is your rclone version (eg output from rclone -V)
rclone v1.33-19-g83ba597β
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 14.04.5 LTS
Which cloud storage system are you using? (eg Google Drive)
Amazon Cloud Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
starting with parameters ["rclone" "copy" "--transfers" "1" "/mnt/.acd-remote-enc/2Zz6FYsKOAhq,fy2oF0X-HRy/ushfoOGcP-HqQA8k4O1hO35CqlzBxxlYNbtamE,Hk7rXBrI,YljoShxs00YrMltZ5pA/" "acd:/2Zz6FYsKOAhq,fy2oF0X-HRy/ushfoOGcP-HqQA8k4O1hO35CqlzBxxlYNbtamE,Hk7rXBrI,YljoShxs00YrMltZ5pA/" "--ignore-existing" "--acd-upload-wait-time" "50m0s" "--log-file" "/home/seppi/rclone.log" "-v"]
A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)
http://pastebin.com/BRPMZk9r

Hi,
I experienced the exact same issue with east-europe ACD accounts.
The default timeout of 5min is just to low. Since it is just a "convenience" timeout, I changed mine to 24h.
I noticed that during the entire upload the i/o channel did not respond. Maybe an european thing.
So just use the --timeout option with a value equal to the maximum upload time of your files. I set mine to 24h, since I have some huge files. Not a single connection abort since. (still uploading after 341GB with a single rclone launch :) )
Additionally if your provider keeps disconnecting your connection every 8 hours (like mine does), you probably also wan't to change --contimeout to 2-3 minutes.
Works like a charm for me now. :)

@seppi91 How did you manage to create a German cloud drive account? When I tried to sign up using my German AWS account, it accepted the login, then redirected me to the US login form and I entered the same credentials from my US AWS account and now my drive seems to live in the US.
Btw. is there a way to limit the number of threads? I'm uploading with a 5 Mbps uplink and 4 threads is total overkill for that…

@felixbuenemann
I'm on the same exact situation, I believe my data also lives in ACD servers in the US, but I'm living in Germany. Were you able to determine if your data was is actually in the US or Germany? I'm not sure how I would figure that out.

@15siegela I did a traceroute to the ec2 servers it is uploading to and they are in the AWS us-east-1 region. I also tried changing the email address on my amazon.de account, but it also changed it for logging into amazon.com, so there only seems to be a single account. It might be because I create the cloud drive a long time ago (I noticed there was a video from a few years ago inside it), so that might be the reason…

@ncw Btw. why does rclone skip the files on an i/o timeout instead of simply retrying the last chunk?

Hi,
Maybe best to have --checkers option also be 1. Also --bwlimit option with
11M may be smoother.
Docs mention a --retries option for Amazon storage users..
Regards,
Zeshan
On Sun, Sep 18, 2016, 6:13 AM seppi91<EMAIL_ADDRESS>wrote:

Hi I'm currently trying to migrate my Amazon US Cloud Drive Account to my
German ACD Account, in order to avoid abusing their TOS. I came across
rclone which seems the perfect application to get this migration done.
I've mounted my acd_US drive via acd_cli fuse on my filesystem
(/mnt/.acd-remote-enc/). But when I try to upload one of my folders to
amazon_Germany via rclone I'm getting timeouts all the time. Some files get
uploaded succesfully; but most of the time they're not.
Rclone also doesn't respect the default retry count of 3 and uses all of
my available traffic quota, while trying to upload the same file all the
time.
Is there anything wrong with my setup? What's the cause of these i/o
errors?
What is your rclone version (eg output from rclone -V)
rclone v1.33-19-g83ba597β
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 14.04.5 LTS
Which cloud storage system are you using? (eg Google Drive)
Amazon Cloud Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
starting with parameters ["rclone" "copy" "--transfers" "1"
"/mnt/.acd-remote-enc/2Zz6FYsKOAhq,fy2oF0X-HRy/ushfoOGcP-HqQA8k4O1hO35CqlzBxxlYNbtamE,Hk7rXBrI,YljoShxs00YrMltZ5pA/"
"acd:/2Zz6FYsKOAhq,fy2oF0X-HRy/ushfoOGcP-HqQA8k4O1hO35CqlzBxxlYNbtamE,Hk7rXBrI,YljoShxs00YrMltZ5pA/"
"--ignore-existing" "--acd-upload-wait-time" "50m0s" "--log-file"
"/home/seppi/rclone.log" "-v"]
A log from the command with the -v flag (eg output from rclone -v copy
/tmp remote:tmp)
http://pastebin.com/BRPMZk9r
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ncw/rclone/issues/734, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGXRY9BBzpkmIiNtGV6guR001w-mLYoAks5qrQ7AgaJpZM4J_3Ov
.

@felixbuenemann Ive used another amazon account. With a different E-Mail adress, so there is no mapping between my US amazon cloud and the german counterpart

Are you happy with the transfer now?  Do you still need this issue open?


Build with werror

This adds the following flags:
gcc/clang

-Werror
-Wall
-Wpedantic
-Wextra

msvc

/W4 (basically -Wall)
/WX (warnings as errors)
Some other flags for disabling dependencies reporting errors

The code has been changed to allow the codebase to actually compile with warnings as errors. Some potentially nasty bugs were caught, including the fact that connection::handler had a non-virtual dtor.
Note: On mingw Werror is disabled, because the 3rdparty headers emit warnings
Closes: #62

Pretty solid PR - Thanks a lot!


callback triggerd twice when closing app and reopen again

I'm killing the service when the app is killed as you explained to me in your guide via the AndroidManifest.
and using the service just as you wrote it in the example. the service work great til im reopen the app again and then the service throws location twice

Hi @daviddagan
Thank you for opening an issue;
Please provide more information, eg. your platform (Android, iOS).
Also, It would be nice if you could provide a minimal working example, so I can see what is happening exactly;

hello @mehdok
I'm using an android emulator for this app and I register the isolate just like your example:
  DataCollectorBloc(this.permissionsCubit, this.dataRecordRepository) : super(LocationInit()) {
    if (IsolateNameServer.lookupPortByName(LocationServiceRepository.isolateName) != null) IsolateNameServer.removePortNameMapping(LocationServiceRepository.isolateName);

    IsolateNameServer.registerPortWithName(port.sendPort, LocationServiceRepository.isolateName);

    port.listen((dynamic data) => _updateDataRecordList(data));

    initPlatformState();

    permissionsStream = permissionsCubit.stream.listen((permissionsState) {
      if (permissionsState is PermissionsGranted && permissionsState.statuses.keys.contains(Permission.phone) && permissionsState.statuses.keys.contains(Permission.location)) {
        _onStart();
      }
    });
  }

the app working fine till I kill the app. but when I click and reopen the app I'm getting twice the location data from the callback

is the data different each time? or it is giving the same data twice?
It would be a great help if you could test on a real device and mention the Android version;

same data twice, it happens only in emulator. I think the problem is when
i'm still in debug mode and  shut down and reopen the app in the emulator.
only then i get ping twice
בתאריך יום ה׳, 16 בספט׳ 2021 ב-10:50 מאת mehdi sohrabi <
@.***>:

is the data different each time? or it is giving the same data twice?
It would be a great help if you could test on a real device and mention
the Android version;
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rekab-app/background_locator/issues/273#issuecomment-920671863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH6ZIWUMGP2PE66CQFBWJLDUCGOVPANCNFSM5D5MWT3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I think this can be solved by fixing the isServiceRunning to properly detect when it is running, even after being restarted.

I faced the same issue as @andrewzakhartchouk . It would be very helpful to detect if there is already a running service. Otherwise I my function would be triggered multiple times.
Thank you very much from Germany!


XCode 10/ Swift 4.2 support

I converted and corrected issues in the main library so it will work in Swift 4.2
However, I disabled the unit tests since they had dependencies that haven't been updated yet.

Merge!!!

Hi @QuestofIranon! Sorry for the delay (been on vacation the last weeks). Thank you so much for fixing this 🙌 It looks like Quick v1.3 has been released with support for Swift 4.2. Could you update the dependencies and enable the tests again?

Hi @rechsteiner I will do this over the next few days.

I realized that we needed to make some more changes in order to continue to support previous version of Swift, so I ended up converting it myself (#228). Thank you again for the contribution, I really appreciate it 🙂


fix: propagate 4xx status unchanged

fixes #341

:tada: This PR is included in version 2.4.6 :tada:
The release is available on:

v2.4.6
v2.4.6
GitHub release

Your semantic-release bot :package::rocket:


activity.description always returns None

I am able to get all attributes of an activity with the exception of its description. No error is thrown, but it returns None every time even though I have descriptions in the activity.
`import stravalib
def get_activities(limit: int) -> stravalib.client.BatchedResultsIterator:
"""
"""
client = stravalib.client.Client(access_token='XXXXXXXXXXX')
client.get_athlete()
activities = client.get_activities(limit=limit)
return activities
def print_activities(acts: stravalib.client.BatchedResultsIterator) -> None:
"""
"""
for act in acts:
print(act.description)
return
def main():
acts = get_activities(10)
print_activities(acts)
if name == 'main':
main()`

This looks like it is a bit of an odd quirk of the Strava API.
GET /activities returns with a resource state of 2, which is summary details, but there is no description field returned in this response. This is the endpoint called by the get_activities() function.
GET /activities/{id} returns with a resource state of 3, which is full details and does include the description field. So you should be able to iterate through all of the activities returned by get_activities() and then run get_activity() using the id as you iterate through. This will then let you access the description field.
https://github.com/hozn/stravalib/blob/5500ebc39e0bf4706bb1ca4c27b25e56becaaa5f/stravalib/client.py#L492

@alasspri
Fantastic. That will work just fine. Thanks for pointing that out.


Plot5 update

Pull request to replace the 24-hr plots in the plot5 function.
The update shows the following annotations that come out of GGIR:

sleeponset time
wake time
SPT window - sleep periods
SPT window - wake periods
daytime inactivity
light PA bouts (10min, 80% bout criteria)
moderate PA bouts (10min, 80%)
vigorous PA bouts (10min, 80%)
nonwear detection

... I tried to commit my fixes to the errors Travis encountered, but this seems to have resulted in a new branch in the wadpac/GGIR repository. I will have a look how I can commit directly to this PR.

Hi Matt,
I seems the only way for me to make commits to your pull request is if I had access to your repository. Possible solutions:

We merge my new branch with a copy of this PR into the GGIR master, it will still include your commit history, so no information is lost.
You manually copy the changes I made (see link above) to your pull request and update this pull request.

Option 1 is probably the easiest. Agree? If yes, I can create a pull request for that branch and you can double check that you are happy with the minor changes. Note that you also have commit rights to wadpac/GGIR so it should be easy for you to make edits there.
Some comment on the PR itself:

Did you merge the sustained inactivity bouts during the day with the rest of inactivity? I think that is ok for now as the plot would get too crowded otherwise.
Using yellow twice may cause confusion. Could light blue be an option to represent light PA?
Cheers, Vincent

hey Vincent, I think it will be best to do option 2 - I'll get the latest updates from master, then put in the plotting updates and then create a new pull request.
Here are the answers to your questions:

Inactivity comes from a lack of any light / mod / vig PA. First, 10min bouts of LPA and MVPA (80% boutcriter and thresholds from whichever thresholds were set in the calling of GGIR) are searched for. IF, it is daytime and no light, mod or vig PA was found, then the period is labelled as daytime inactivity in the plot.
Agreed, I'll have a look at trying to make the colours more distinct. They are actually quite different colours, but becuase I'm using a high alpha value, it is making them look very similar. The alpha is necessary to make sure that we can see through the box to the data underneath.

thanks


Add opam-repository commit sha to logs.

When a solve fails it's useful to know what commit of opam-repository was used. This can help detect when something has gone wrong with the webhook driven update machinery - specifically, if we've stopped processing input webhooks from opam-repository.

See also https://github.com/ocurrent/ocurrent/pull/419


@sajari/react-search-ui does not list classnames as a dependency

@sajari/react-search-ui uses import ... 'classnames', but doesn't list it in its dependencies — I suppose it assumes it can get it by virtue of having it as a dependency of @sajari/react-components.
However, this is not the case when using eg. Yarn with nodeLinker: pnpm, or maybe even default Yarn. A package depending on @sajari/react-search-ui will fail to build. At least for me it does.
I think @emotion/css and @emotion/core dependencies should also be added.

NB: I think if you switch nodeLinker to pnp/pnpm, Yarn will tell you which dependencies have to be added.


feat(e2e): Rewrite tekton test to use run command

Refactor the tekton test like task test to use it have it work the closely most  it is supposed to work:

the Camel K operator is supposed to be already installed
the tekton task consist of a kamel run command allowing to deploy a an integration from a file present via a volume from a configmap

Release Note
feat(e2e): Rewrite tekton test to use run command

I am not able to fully understand the proposal. Would you mind adding some comment to explain reason of the PR and what are you trying to accomplish? Thanks.

I edited the description.
As it is I see two things that could be missing:

having some source dowloaded with a fetch/clone github repositry but I don't know how stable would be such a test
not using a dedicated service account instead of "camel-k-operator"


jdk19 x64 alpine has not been built successfully for 2 weeks

Thank you for reporting a broken build! Please fill in the following details:

Jenkins link to the failing log: first one https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk19/job/jdk19-alpine-linux-x64-temurin/41/console
Which platforms (OS+arch) are affected: alpine x64
If you look at the historic logs, does the problem appear to be specific to one machine? No, it is a docker build
Link to any upstream project bug report (e.g. OpenJ9/JBS) No.

I think the problem is https://adoptium.slack.com/archives/CFUJV9XV0/p1660732282071019 from 2nd Aug , for some reason both 30th July's binaries also upload to 2nd Aug's release, which make the following build unable to download the latest ea jdk19 on alpine x64.
If we are able to manually deleted{"errorMessage":"Multiple binaries match request: [OpenJDK19U-jdk_x64_alpine-linux_hotspot_2022-08-02-03-34.tar.gz, OpenJDK19U-jdk_x64_alpine-linux_hotspot_2022-07-30-03-34.tar.gz]"} one everythingshould work again
Only one part not sure is what exactly happened which caused this duplication release

manual deleted the one from 28th July so the build is working again
test on "pr-test"

the reason of this duplication is because we previously did not do cleanup
so the upload did put up both


write_buffer: recycle buffer chunks, not buffers

since aae5960 only the slice holding memory
chunks was recycled, not the data backing the
buffers
this moves memory recycling to write_buffer and
recycles memory chunks backing the buffer.
to play nice with memory growing strategy,
smallest chunks are released instead of recycling,
which makes memory pool keep larger chunks when
the memory usage rises

The CI build fails because gocoveralls is misconfigured I think.

thank you


Replace NIOSendable with Sendable

We now require Swift 5.5.2 which includes Sendable so we no longer require the NIOSendable workaround.
NIOSendable is just a typealias of Sendable so this is a non source breaking change.
We have already replaced the usages of NIOSendable in all of our packages and we can now deprecate NIOSendable altogether.

@swift-server-bot test this please


lunatic: fix hydra build

Description of changes
hydra build on darwin was failing due to lack of simd support
hydra log: https://hydra.nixos.org/log/7jkmb66bijvy7mhz24ih1r56n5gwzwdw-lunatic-0.10.0.drv

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Not just on hydra but also on people's own machines 🙂


feat: tag dictionary

Issue fixed: #57
Feature added: count of every tag used
Screenshots:

@diyajaiswal11 Yes the count will increment on its own whenever a tag is used.
For viewing all the posts using a particular tag, I can raise an issue and work on that if you like to?


⚠ Bofrost.be has degraded performance

In e04dd0a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2059 ms

Resolved: Bofrost.be performance has improved in 7af5524.


jsonencode() does not work correctly with function references

In Neovim msgpackdump([function('tr')]) is simply a error. But in Vim trying to dump function reference silently produces invalid JSON: jsondump(function('tr')) is an empty string, jsondump([function('tr'), 1]) is even worse: [, 1]. It should be an error. Vim version 7.4.1161.

Nikolai Aleksandrovich Pavlov wrote:

In Neovim msgpackdump([function('tr')]) is simply a error. But in
Vim trying to dump function reference silently produces invalid
JSON: jsondump(function('tr')) is an empty string,
jsondump([function('tr'), 1]) is even worse: [, 1]. It should be
an error. Vim version 7.4.1161.

The question is what to do with items that can't be converted to JSON.
I have been in doubt, whether to silently drop them or give an error.
Although a missing item in an array is not according to the JSON
standard, it is very useful in practice:
[1,,,,8]

The missing items would be "undefined" in JavaScript.  In Vim they are
v:none.  Proper JSON would be:
[1,null,null,null,8]

That's more than twice as long.  Gets worse when there are more missing
items, up to five times as long.
I propose to allow this extension to JSON.  However, it should not be
created accidentally, only when intentionally using v:none as an item.
So, we should probably give an error when using a function, instead of
producing JSON that's not according to the standard.
--
Give a man a computer program and you give him a headache,
but teach him to program computers and you give him the power
to create headaches for others for the rest of his life...
R. B. Forest
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Fixed by 7.4.1166.


Re-enable TestNewsbeuterReload

While fixing #219 I had to disable one set of tests because they depend on testbed.newsbeuter.org, which is no longer functional.
The code can be found in this blob, but the data that the host used to serve can't be found in the repo.
Eventually, there tests should be re-enabled.

Oops, I didn't realize I broke testbed.newsbeuter.org until I seen this issue here. That must have been when I switched from lighttpd to nginx a few months ago. Anyway, it's restored again.

Oh, cool! Thanks.

I realised that we can use file:// schema instead of http://, which has the following benefits:

Shouldn't affect coverage—we delegate dealing with this stuff to CURL.
Tests aren't blocking on (potentially slow) Internet connection, and can even be run offline.

So you can take testbed offline for good.


Things you can add

I write about Laravel from time to time:
http://kamranahmed.info/
For the projects:
https://github.com/kamranahmedse/laravel-censor
https://github.com/kamranahmedse/laravel-modular-boilerplate
https://github.com/kamranahmedse/raspis-url-shortener

This projects probably arn't big enough to get added.


Restore per-commit-head publishing of docs in CI

description
We lost per-commit head publishing of docs moving from circleci -> azure (#13481 )
With the new setup docs are published to eg http://storage.googleapis.com/envoy-pr/PR_ISSUE_NUMBER/docs/index.html
In circleci the docs were published as artifacts, which changed with each push to the PR
This is a feature i use a lot, it allows comparison of rendered changes as the PR progresses. It also means that links/comments to specific renderings of the docs dont become meaningless when the rendering changes (see #13490 for typical thread)
There are a couple of downsides to publishing per-commit

the URL is more complex
PRs use a lot more disk space

I think these problems can be mitigated - eg by using gitops-type publishing of rendered docs (see discussion https://github.com/envoyproxy/envoy/pull/13507#issuecomment-707221877), and that the advantages outweigh the problems, if we have the available disk space
refs

#13481
#13490
#13507

also worth noting that afaict the storage.googleapis rendering is cached, so it can take a while before you see changes to the docs after rebuild


Add React Native Category and 2 courses

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
Add Resource(s)
For resources
React Native Js PT-BR Course
Description
I added the React native category and also 2 great quality courses that I have already taken
Why is this valuable (or not)?
One is a basic course but complete with easy access on youtube, the other is a course from the largest JS education company in Brazil
How do we know it's really free?
One of the courses is in a youtube playlist, the other must be registered in the indicated url
For book lists, is it a book? For course lists, is it a course? etc.
Courses and Course list
Checklist:

[X] Not a duplicate
[X] Included author(s) if appropriate
[X] Lists are in alphabetical order
[X] Needed indications added (PDF, access notes, under construction)

For youtube, we prefer "playlist" links and the name of the producer/creator.

The link I put is a playlist and the channel name is referenced
Geek Dev Channel

no this is the playlist: https://www.youtube.com/playlist?list=PL8fIRnD1uUSnRqz3E2caAWDqbtIFXmNtW


"01_introduction.ipynb" notebook is incomplete

Information
The problem arises in chapter:

[ X] Introduction
[ ] Text Classification
[ ] Transformer Anatomy
[ ] Multilingual Named Entity Recognition
[ ] Text Generation
[ ] Summarization
[ ] Question Answering
[ ] Making Transformers Efficient in Production
[ ] Dealing with Few to No Labels
[ ] Training Transformers from Scratch
[ ] Future Directions

Describe the bug
The Introduction notebook is incomplete
To Reproduce
Steps to reproduce the behavior:

Open "01_introduction.ipynb" notebook
navigate to the end of the notebook
last sections are not there

Oh I see. I misunderstood the convention. since I'm only in the intro :).
Thanks


Refactor STIX cleaning code into macro

As a developer of the ATT&CK website, I want to be able to easily and consistently format STIX descriptions when I'm creating or modifying templates.
The problem
Currently, we use a myriad of Python functions for formatting STIX data, which is oftentimes inconsistent across objects. For example, errant \n characters are replaced with <br> on mitigations but not on techniques.
The formatting and cleaning code needs to be consolidated and made easy to use by those developing and extending the website code.
There are two different ways we format long-form text:

In object descriptions, we use a long-form format which parses from markdown, (consistently) replaces certain characters, and inserts citation markers.
In relationship tables, we use a short-form format which oftentimes only takes the first paragraph of the data as a summary and omits the citation markers.

The solution
Replace the current solutions with a jinja macro. Replace all instances of {{ data }} with {{ stixToHTML(...) }} within the templates
stixToHTML(data, citations=None, firstParagraphOnly=False) should be implemented as a catch-all macro for formatting STIX data as HTML. Parameters:

data (required, string), the STIX description to format
citations (optional, object), if not None, add citation markers to the data. Citations object data structure TBD. Consider formatting as a Citation[], and implementing a python Citation class, to ensure consistancy.
firstParagraphOnly (optional, boolean), if true, only return the first paragraph of the data in question.

We may have to implement some custom filters to make the macro work, but ideally the user should only access the stixToHTML functionality through the macro API itself.


Idea: publish get_highlight2 as independent utility plugin.

This is an incredibly useful utility. It would be nice if Vim plugins could easily reuse utilities built by other plugins.
Feel free to close once acknowledged.

At this time, I don't think this is a good idea.


Compilation error when building with --cfg doc

Is there some known limitation regarding generating the documentation of socket2?
I tried generating the documentation with links to definitions of a crate depending on socket2:
cargo init
cargo add<EMAIL_ADDRESS>RUSTDOCFLAGS="--generate-link-to-definition -Zunstable-options" cargo +nightly-2023-01-15 doc

I expected the cargo doc above to succeed. Instead, I get some compilation errors:
   Compiling libc v0.2.139
 Documenting libc v0.2.139
    Checking socket2 v0.4.7
 Documenting socket2 v0.4.7
error[E0433]: failed to resolve: could not resolve path `sys::socketpair`
   --> /home/fpoli/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/socket.rs:172:9
    |
172 |         sys::socketpair(domain.0, ty.0, protocol)
    |         ^^^^^^^^^^^^^^^ could not resolve path `sys::socketpair`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `sys::keepalive_time`
    --> /home/fpoli/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/socket.rs:1663:9
     |
1663 |         sys::keepalive_time(self.as_raw())
     |         ^^^^^^^^^^^^^^^^^^^ could not resolve path `sys::keepalive_time`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

For more information about this error, try `rustc --explain E0433`.
error: could not document `socket2`

Even without using nightly Rust, the following fails to compile (suggested in https://github.com/rust-lang/rust/issues/107063):
RUSTFLAGS="--cfg doc" cargo build

   Compiling libc v0.2.139
   Compiling socket2 v0.4.7
error[E0425]: cannot find function `socketpair` in module `sys`
   --> /home/fpoli/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/socket.rs:172:14
    |
172 |         sys::socketpair(domain.0, ty.0, protocol)
    |              ^^^^^^^^^^ not found in `sys`
    |
help: consider importing this function
    |
9   | use libc::socketpair;
    |
help: if you import `socketpair`, refer to it directly
    |
172 -         sys::socketpair(domain.0, ty.0, protocol)
172 +         socketpair(domain.0, ty.0, protocol)
    |

error[E0425]: cannot find function `keepalive_time` in module `sys`
    --> /home/fpoli/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/socket.rs:1663:14
     |
1663 |         sys::keepalive_time(self.as_raw())
     |              ^^^^^^^^^^^^^^ help: a constant with a similar name exists: `KEEPALIVE_TIME`
     |
    ::: /home/fpoli/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/linux_like/mod.rs:964:1
     |
964  | pub const TCP_KEEPIDLE: ::c_int = 4;
     | ------------------------------- similarly named constant `KEEPALIVE_TIME` defined here

For more information about this error, try `rustc --explain E0425`.
error: could not compile `socket2` due to 2 previous errors

I think we're missing the #[cfg_attr(docsrs, doc(cfg(all(feature = "all", unix))))] attribute, see
https://github.com/rust-lang/socket2/blob/5b685144d4a970d54ceb35acc8f0fafb44a87588/src/socket.rs#L168
on the socketpair in the sys module:
https://github.com/rust-lang/socket2/blob/a6d6587d4ab4c22e0216172ca98b004b905be321/src/sys/unix.rs#L612-L613
We should probably add this to the CI.


[Threat Intel] Threat Intel Downloader implementation

to: @jacknagz (terraform module, streamalert CLI) @ryandeivert (Lambda function code in stream_alert/threat_intel_downloader/)
cc: @airbnb/streamalert-maintainers
size: large
(Please don't review commits individually, I fixed many thing during testing stage 😄 )
Background
Threat Intel Downloader is a Lambda function triggered by CloudWatch Event periodically to retrieve IOCs (Indicators of Compromise) from threat feeds which support RESTful API calls, and it stores IOCs in DynamoDB table where StreamAlert rule processor will refer to while doing threat detection.
Supported features

Retrieve IOCs from threat feeds which support RESTful API calls. And update IOCs periodically, once a day by default. It is scheduled by CloudWatch Event.
Store retrieved IOCs in DynamoDB table.
API credentials are encrypted and store in AWS parameter store.

Deploy Threat Intel Downloader

It is required to initialized StreamAlert before enabling Threat Intel Downloader. Please following StreamAlert documentation to initialize StreamAlert.
After StreamAlert initialization, you can enable Threat Intel Downloader feature using following command

python manage.py threat_intel_downloader enable --interval 'rate(1 day)' --timeout 120 --memory 128

This command will do two things

Generate settings for Threat Intel Downloader lambda function and write them into conf/lambda.json file.
Ask you to provide API key and username to fetch IOCs from threat feed which supports RESTful API calls. And store them in AWS Parameter Store with encryption.

Please supply API key to retrieve IOCs via API calls. This should be a string of 40 alphanumeric characters.:<PHONE_NUMBER>abcdefghijklmnopqrstuvwxyzabcd

Please supply API username to retrieve IOCs via API calls. This should be an email address<EMAIL_ADDRESS>

Deploy Threat Intel Downloader to your infrastructure with following one line command. When the command finishes, you have Threat Intel Downloader Lambda function running once a day and retrieve IOCs from threat feed.

python manage.py lambda deploy --processor threat_intel_downloader

Changes
Lambda function

A new Lambda function Threat Intel Downloader which is running independently from Rule and Alert processors.
This lambda function is triggered by CloudWatch Event initially and it will invoke itself if there are more IOCs need to be retrieved when lambda function approaching to timeout.
This lambda function will send filtered IOCs to DynamoDB table. StreamAlert rule processors will refer to this table when it is doing threat detection (this feature is coming soon).

Terraform module

Add a Threat Intel Downloader module to create

IAM role
Lambda function
DynamoDB table
CloudWatch Event
CloudWatch Log Group

StreamAlert CLI

Add new CLI code to support enabling Threat Intel Downloader feature via command line.
Add new CLI code to generate Threat Intel Downloader configuration and terraform settings.

Testing

Unit test was passed

./tests/scripts/unit_tests.sh

Tested in AWS test account and it was passed.

Coverage decreased (-1.5%) to 94.395% when pulling d793c76d52dc5bc77d01cd4306f784d04ef0305c on threat_intel_downloader into 04ac9c15626777b4695da8264928670d2f2b07cb on master.

Coverage decreased (-1.2%) to 94.829% when pulling edcdb04dbcad5c22cf8e8a39042cc58b0ccf23e0 on threat_intel_downloader into dc1cec8cd2d6328056a6dae12da1f2e354ce6923 on master.

Coverage decreased (-1.2%) to 94.862% when pulling f582016e6e3d43a81cb59c898700262407dcac7e on threat_intel_downloader into dc1cec8cd2d6328056a6dae12da1f2e354ce6923 on master.

@jacknagz @ryandeivert PTAL
I have addressed your comments. Thank you so much, they are really helpful 😄
Mainly changes are,

Combine methods to generate lambda settings for Athena and Threat Intel Downloader
Use existing MockSSMClient class during testing
Promote helpers for validating arguments to be globally accessed
Use backoff library to handle requests retries

I noticed, the coverage is dropped by 1.2%. I will add more test cases.

Coverage decreased (-0.8%) to 95.226% when pulling 19fe248e34495c7a3b3a73a103c20abc276f6509 on threat_intel_downloader into dc1cec8cd2d6328056a6dae12da1f2e354ce6923 on master.

Coverage decreased (-0.8%) to 95.224% when pulling db34de21a6e77ce437134e24305cd6d7c9df141e on threat_intel_downloader into dc1cec8cd2d6328056a6dae12da1f2e354ce6923 on master.

Coverage decreased (-0.8%) to 95.294% when pulling 78fad7eb02ded5d0c8d18fc1b526b065dcfed925 on threat_intel_downloader into dc1cec8cd2d6328056a6dae12da1f2e354ce6923 on master.

@jacknagz PTAL. I addressed some of your comments, thanks! Also, I may need more more context about two of your comments. Please see above.

Coverage decreased (-0.8%) to 95.294% when pulling 329653e41df2c371e5e9ef630b68926929a1d2e6 on threat_intel_downloader into a5dd27ec121546a2394d28366378e09cf615daab on master.

Coverage decreased (-0.8%) to 95.294% when pulling 329653e41df2c371e5e9ef630b68926929a1d2e6 on threat_intel_downloader into a5dd27ec121546a2394d28366378e09cf615daab on master.

Coverage decreased (-0.8%) to 95.294% when pulling 4b3a0cf9f8e0089e9b1f6bb367b996fd17ecb147 on threat_intel_downloader into a5dd27ec121546a2394d28366378e09cf615daab on master.

Coverage decreased (-0.8%) to 95.294% when pulling fc34f2b10b866c44b88e5f49299723384650c1bf on threat_intel_downloader into a5dd27ec121546a2394d28366378e09cf615daab on master.

Coverage decreased (-0.7%) to 95.331% when pulling ba65b128d9c8f9272ad8ac0864a58676ba05ce12 on threat_intel_downloader into e0021942117dbe52a944172be41f06e8d10aab92 on master.

Coverage decreased (-0.7%) to 95.331% when pulling 8019f19f63b0535c53099b02bfb7a1ce86a65334 on threat_intel_downloader into e0021942117dbe52a944172be41f06e8d10aab92 on master.


Basic support for docker provider

Docker provider works just needed hooks enabled.
#71

Can you post a example Vagrantfile as well?

Vagrantfile

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  # auto detect the docker address for this host
  docker_gateway = Socket.getifaddrs.select { |addr_info|
    addr_info.name == "docker0" and addr_info.addr.ipv4?
  }.first.addr.ip_address

  config.vm.box = nil
  config.vm.provider :docker do |d|

    d.name = "docker-test"
    d.image = "vagrant-ubuntu:16.04"
    d.create_args = [
      # needed to run /sbin/init as cmd
      "--privileged",
      # ensure container sends dns requests to the correct address
      # to be picked up by landrush
      "--dns", docker_gateway,

    ]
    d.has_ssh = true
    d.cmd = ["/sbin/init"]

    # recommend separately build the image and tag as "vagrant-ubuntu:16.04"
    #d.build_dir = "ubuntu"
    # only passed through if you have environment variables set
    #d.build_args = [
    #  "--build-arg", "http_proxy",
    #  "--build-arg", "https_proxy",
    #  "--build-arg", "no_proxy",
    #]
  end

  config.landrush.enabled = true
  config.landrush.tld = 'ncs.net'
  config.landrush.host_redirect_dns = false
  # use my host resolvconf dnsmasq instance, probably not be required
  # for systems that can reach the google dns servers instead
  config.landrush.upstream '<IP_ADDRESS>'
end

Dockerfile for image used
# taken from https://github.com/tknerr/vagrant-docker-baseimages/raw/master/ubuntu-1604/Dockerfile
# License MIT
FROM ubuntu:16.04

MAINTAINER Torben Knerr<EMAIL_ADDRESS>
ENV DEBIAN_FRONTEND noninteractive

# ensure we have the en_US.UTF-8 locale available
RUN locale-gen en_US.UTF-8

# install common dependencies
RUN set -e \
    && apt-get update \
    && apt-get install -y \
        curl \
        dbus \
        ifupdown \
        iptables \
        lsb-release \
        openssh-server \
        sudo \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    ;

# setup the vagrant user
RUN set -e \
    && if ! getent passwd vagrant; then useradd -d /home/vagrant -m -s /bin/bash vagrant; fi \
    && echo vagrant:vagrant | chpasswd \
    && echo 'vagrant ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
    && mkdir -p /etc/sudoers.d \
    && echo 'vagrant ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers.d/vagrant \
    && chmod 0440 /etc/sudoers.d/vagrant \
    ;

# add the vagrant insecure public key
RUN set -e \
    && mkdir -p /home/vagrant/.ssh \
    && chmod 0700 /home/vagrant/.ssh \
    && curl -fSsL \
      https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub \
      -o /home/vagrant/.ssh/authorized_keys \
    && chmod 0600 /home/vagrant/.ssh/authorized_keys \
    && chown -R vagrant /home/vagrant/.ssh \
    ;

# don't clean packages, we might be using vagrant-cachier
RUN rm /etc/apt/apt.conf.d/docker-clean

ARG NTP_SERVER=ntp.hp.net
RUN set -e \
    && sed -i -e '1 h;1 !H;$ {x;s/^NTP=.*/NTP='${NTP_SERVER}'/g;t;s/$/\nNTP='${NTP_SERVER}'/;}' /etc/systemd/timesyncd.conf \
    ;

# run systemctl to simulate real machine
CMD ["/sbin/init"]

Commands run to test
# Assuming Dockerfile & Vagrantfile are in current directory
docker build -t vagrant-ubuntu:16.04 .
vagrant up
vagrant ssh
sudo apt-get update && sudo apt-get install -y dnsutils
dig test-landrush.ncs.net

@hferentschik any update on this?

@hferentschik ping?

Superseded by pull request  #327 which adds an additional commit.


fix: backport MFA enums so they default to auth namespace

What kind of change does this PR introduce?
Currently MFA enums don't have an explicit namespace. This is fine since migration statements are executed under the Auth namespace role. However, there is no guarantee that this will always be the case such as in internal applications.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.219%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
9162

Relevant Lines:
15737

💛  - Coveralls

Not relevant


added pixel data retrieval functions to RenderTexture

implemented feature discussed in #1552

:+1: Looks good to me.


simplify semantics of R.isEmpty

As discussed in #539

Is there any replacement for null/undefined check?

R.isNil

Cool, thanks!


100% CPU on mysql, polling on Tcp

See it on 0.4.0.beta.1, and today's master (but have been dealing with it for a week).
We have a gql app that launches a bunch of resolvers, so there's usually the connection pool on that thread (10 conns) all used at once. Typically this runs ~40ms per request (usually ~100 or so queries executed). While I see no pattern (sometimes takes 2 requests, other times 50+, with what appears equal probability on each attempt), it hangs and waits for a very long time. If I'm lucky, it's ~15s. Sometimes it's 90s+. The query logs will show the exact same query run a dozen or so times in the <3ms time (prepared statement execution on a MySqlPool), then same query again shoot up to the very slow time.
# This dozens of times
[2020-09-06T01:20:24Z INFO  sqlx::query] SELECT uuid, CAST(UNIX_TIMESTAMP(created) AS …; rows: 5, elapsed: 2.598ms
# Then suddenly 10 of these:
[2020-09-06T01:20:41Z WARN  sqlx::query] SELECT uuid, CAST(UNIX_TIMESTAMP(created) AS …; rows: 5, elapsed: 16.827s

No errors or anything with the logger set on debug, just a very slow query response. Our app shows at 100% CPU during this time, while mysql sits idle.
Flamegraph makes it look like it's thrashing on the TCP connection, but I can't really be sure.
flamegraph.svg.gz

Here's one after trying with ssl_mode disabled. Interestingly this one never returned.
flamegraph.svg.gz

Experimented a bit more. The MySqlPool is Arc'd, and set from an actix-web web::Data type (newtype'd Arc). If I set the workers down to 1, so there's only a single thread that uses the pool, I can no longer reproduce the problem. If I keep a lot of actix threads, but put the sqlx MySqlPool down very low (e.g. 5), the problem happens right away. It seems like once a conn from my Arc'd pool gets used on a thread, it's bound to that thread forever, and attempts to get a connection spike the CPU to 100%.

I'm also running a GraphQL server and experienced a 100% CPU spike. I have since minimised the number of queries made and haven't experienced it again.

@Charles-Johnson I do think the many sqlx errors I've had are because the resolver pattern in gql makes it very easy to take many connections from a pool, which for a single request isn't really very helpful since you're essentially competing for resources with yourself, and at least for Query you don't really need to return until you've resolved the whole thing. Dataloaders were absolutely vital, though with them our perf boost has been insane (previous queries that hit 2.5s on the PHP server now running in ~30ms). I've done this work to minimize the chance of this happening, but it does appear to be a sqlx bug where if all the conns are taken on an Arc<MySqlPool> by a different thread, the .acquire() thrashes at 100% CPU (possibly indefinitely).
My quick + easy workaround is to simply set .workers(1) on the server. Makes me feel like I'm running nodejs, but I'm still on a cheap host with only 1 core anyways.

@jkoudys what do you mean by setting .workers(1) on the server? Is it equivalent to #[tokio::main(core_threads=1)]?

I also initially used dataloader, however it used multiple batches to load all the data and therefore didn't minimise the number of database queries. I ended up replacing the dataloader solution with a collection of tokio::sync::Mutexs to synchronise the queries.

The internals of Pool have changed significantly since this issue was last active. If anyone here can reproduce this problem on the current version of SQLx, feel free to open a new issue.


Id/assign pods nodes using node affinity

Related to https://github.com/kubernetes/website/issues/22296

/assign

/close
In favor of https://github.com/kubernetes/website/pull/22481


handle empty /info results returned by koios

In some cases, for new staking accounts, you can get no data from koios caching endpoint. Handle this case

Implementation looks like the following:
🔑 $badfriends
▫ Balance: 176.39 ₳
▫ USD Value: 93.55 $
▫ Stake Address: NO
▫ Script Address: YES
▫ UTXOs: 112
🔑 addr1q...5s9ua0sz
▫ Data will be available soon


registry/storage/driver: test call to Stat(ctx, "/")

The registry storage driver health check calls Stat(app, "/"). For Azure, this call is currently broken.
This PR fixes the call and add test coverage for it.
Also fix a couple of unrelated tests which were broken on main (see commits for details).
Fixes #3931.

Codecov Report
Patch and project coverage have no change.

Comparison is base (983358f) 56.89% compared to head (0d20e7a) 56.89%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3932   +/-   ##
=======================================
  Coverage   56.89%   56.89%
=======================================
  Files         106      106
  Lines       10684    10684
=======================================
  Hits         6079     6079
  Misses       3933     3933
  Partials      672      672

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


Add environment variable for "read only" mode

When running as a server, Ollama currently exposes all Ollama features as an API
If run as a public API, API maintainers might want to only expose Ollama's generation and model listing capabilities, so that their endpoint is "read only", and not other endpoints that could mutate the server's state (push, pull, delete...)
We could imagine an environment variable like OLLAMA_READ_ONLY that would achieve the above.

CC @wietsevenema

Presumably you're running some other infra around the server, and not just point a naked ollama server on the internet.
Could you not run a proxy in front of it, and then null out or require auth on endpoints that mutate server state?

I agree, that's what is recommended.
But we won't prevent users to just expose the raw Ollama API, I'd rather have a "one env var" way to make it read only, than to ask everyone to setup a proxy.


Mouse issue

The mouse isnt locked so you cant turn around

Hi @CoderGuyTedd! Can you share some details on the browser and the platmorm you're using? Also, it's not loked by default, have clicked the "Fullscreen" button when playing?

Its better to be locked by default but It works in fullscreen

I'm afraid it's not possible due to how PointerLock APIs work.

Note: If a user has exited pointer lock via the default unlock gesture, or pointer lock has not previously been entered for this document, an event generated as a result of an engagement gesture must be received by the document before requestPointerLock will succeed. (from https://w3c.github.io/pointerlock/#extensions-to-the-element-interface)

More info here: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API#requestpointerlock


Changes to make visible attributes in a table (not tested yet)

Please do not merge, I need to test it together with #6422


Update scala3 parser to handle dotty 3.3.1-RC1

@tgodzik I tried adding 3.3.0 to the community test, got this error:
https://github.com/lampepfl/dotty/blob/5879ff1caa82b4b5c32f67e88c85370c7fdbc5a3/compiler/src/dotty/tools/dotc/core/NamerOps.scala#L172
            underlyingStableClassRef(mbr.info.loBound): @unchecked match
              case ref: TypeRef =>

what should this be parsed as? is it some sort of ascription x: @y on which later match is performed? or is it a "fewer-braces" call?


pyenv: 2.4.10 -> 2.4.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/pyenv/pyenv/releases.
meta.description for pyenv is: Simple Python version management
meta.homepage for pyenv is: https://github.com/pyenv/pyenv
meta.changelog for pyenv is: https://github.com/pyenv/pyenv/blob/refs/tags/v2.4.11/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.4.11 with grep in /nix/store/930xn0n8lnnnwxncgwlxf4lihgjfc194-pyenv-2.4.11
found 2.4.11 in filename of file in /nix/store/930xn0n8lnnnwxncgwlxf4lihgjfc194-pyenv-2.4.11

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

pyenv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/930xn0n8lnnnwxncgwlxf4lihgjfc194-pyenv-2.4.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pyenv https://github.com/r-ryantm/nixpkgs/archive/7df7eb1b409d63f8282053556bf4bc298b83c591.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7df7eb1b409d63f8282053556bf4bc298b83c591#pyenv

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/930xn0n8lnnnwxncgwlxf4lihgjfc194-pyenv-2.4.11
ls -la /nix/store/930xn0n8lnnnwxncgwlxf4lihgjfc194-pyenv-2.4.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

pyenv

Maintainer pings
cc @tjni for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 339684 run on aarch64-linux 1

1 package built:

pyenv


PERFORM statements: alignment of parameters

Hi,
so far the parameters of PERFORM statements are not aligned correctly:

It would be great to have this!

Hi kaisicker,
this is already requested in #83 – hope to be able to implement such a cleanup rule soon!
Kind regards,
Jörg-Michael

Realizied too late that it was already requested.
Thanks!

Hi kaisicker,
as mentioned in #83, the new cleanup rule "Align PERFORM parameters" was just released with version 1.10.0!
Kind regards,
Jörg-Michael


Crash when : modalloader block refinedstorage:constructor

Crash when loading
Modpack doesent startup, crashes when it says ModalLoader blocks refinedstorage:constructor
What you expected to happen: Modpack Starting up
Steps to reproduce:
1.Install a modpack that contains the mod
2.Load Minecraft
3.Doesent load
...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge:
Refined Storage:

Does this issue occur on a server? Dont think So
crash-2016-12-23_01.45.12-client.txt
fml-client-latest.txt
If a (crash)log is relevant for this issue, link it here:
Crash log : http://pastebin.com/n03QaPeD
FML lastest thingy : (It was too big so its only the last quarter of it) http://pastebin.com/pSG5Ffe9

java.lang.OutOfMemoryError: GC overhead limit exceeded
Your MC crashed because it ran out of memory. This is not an RS issue, assign more RAM to Minecraft.