Brunei Map NEED UPDATED VERSION

the satellite image of Brunei is very 2005. No new updates, lots of missing places from satellite images which hard for us to add road and etc.

see https://github.com/openstreetmap/iD/blob/master/FAQ.md#how-can-i-report-an-issue-with-background-imagery
iD's list of available background imagery sources come from the editor-layer-index
project.  If you know of a more recent imagery source that is licensed for this use,
please open a request there with the link and license details.


add taxon description tables

this is a redo of add-taxon-db with Yun-Fang's comments addressed. It was easier to just start over as far as the migrations are concerned


Add a function in parser that builds the object from parser tree!

Added Parser.toObject that returns following kind of output.


ci: Add env variable Appsmith_Auditlog_Enabled to CI

This PR adds  APPSMITH_AUDITLOG_ENABLED: true to CI in order to add cypress tests for audit logs
Checklist:

[X] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=17e6b93

/perf-test ref=rhito/feat/compare-with-lt-standard-deviation-for-regression


Make footer look like website footer

Will need to revisit this when the new wordpress website is released, but for now it looks close enough to the drupal site.


@username functionality not working

The functionality whereby an alert would be raised for "username" when @username forms part of a post was recently reinstated.  However, it now appears not to be working
Has it been deliberately removed ?

According to this forum post, yes:
https://forum.arduino.cc/index.php?topic=716436

Three users complained of excessive alerts.
Since been reasoned that they are not all linked to the @username feature and that one user may be misunderstanding the usage.
Hope to re-enable quite soon maybe as early as next week.

When is it anticipated that this functionality will be reinstated ?

When is it anticipated that this functionality will be reinstated ?

The spurious alerts that started with activating this feature are still there. So there is no reason not to reactivate for me :-s

The spurious alerts that started with activating this feature are still there. So there is no reason not to reactivate for me :-s

Have asked for @username to be re-enstated.

Have asked for @username to be re-enstated.

Is there any news on the fix being implemented ?

Is there any news on the fix being implemented ?

I have not heard or seen anything.

I have not heard or seen anything.

BUMP

Bump from me too
If this is not going to be fixed because of the planned move to Discourse then please say so

@UKHeliBob It's simply a toggle to turn this back on.
Not particularly hard but its a level above our pay grade.

Thanks so much for taking the time to submit this issue @UKHeliBob. "@" mentions on the Arduino forum are now back for good with the switch to the Discourse forum software so I'll close this as resolved.


PR: Update number of icons in Readme and docs

@steff456, for next time please push your branches to your own fork and not directly to this repo. We don't use in-repo branches for development.

Thanks for the PR @steff456 👍


Single server tick took 60 seconds

Mod Name
BMC4
Mod Homepage
https://www.curseforge.com/minecraft/modpacks/better-mc-forge-bmc4
Minecraft version
1.20.1
Describe the bug
Whenever someone moves close to something the server crashes and everyone on the server gets timed out
Steps to reproduce

...
crash-2024-06-29_11.29.32-server.txt
Logs

Additional context
No response

Please read the issue template more carefully. For modpack related issues, use the support channel on our discord server.

Before reporting, please ensure that:

You've installed a minimal set of mods required to reproduce the issue.
Issues with modpacks and excessive amount of mods will not be accepted, as they take a long time to diagnose.
Knowing which mods are causing problems allows us to focus on fixing the issue as soon as possible.
If you're unsure which mods might be at fault, try using binary search - removing half of installed mods
repeatedly until the faulty mod is found.


[docs] Fix typo in SpeedDialIcon classes comment

[x] I have followed (at least) the PR section of the contributing guide.

Noticed a small typo in a comment about classes.iconWithOpenIconOpen in SpeedDialIcon.

@zachbradshaw It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


Refactoring Cassandra workflow persistence manager for NoSQL support : Part 1

What changed?

Create NoSQL interface for create workflow operation
Extract the logic of Cassandra to implement the interface
Replace executionStore with NoSQL plugin db style

Why?
For https://github.com/uber/cadence/issues/3514

How did you test it?
existing tests. Working on adding more test to the PR.

Potential risks
Medium risks.
Even though the goal of the PR is to keep the same behavior, it's still some uknown and this is the critical persistence for Cadence.

Release notes
No

Documentation Changes
No

Pull Request Test Coverage Report for Build 5e3cdd4c-e5a5-4145-abe6-49aeeb36643b

754 of 1211 (62.26%)  changed or added relevant lines in 5 files are covered.
122 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-0.04%) to 60.219%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/persistence/nosql/nosqlplugin/interfaces.go
3
5
60.0%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
35
61
57.38%

common/persistence/cassandra/cassandraPersistence.go
225
417
53.96%

common/persistence/nosql/nosqlplugin/cassandra/workflowUtils.go
483
720
67.08%

Files with Coverage Reduction
New Missed Lines
%

client/history/client.go
2
44.78%

client/history/metricClient.go
2
49.43%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/weightedRoundRobinTaskScheduler.go
2
89.12%

service/history/handler.go
2
46.67%

service/frontend/workflowHandler.go
4
58.35%

service/history/execution/context.go
6
68.39%

service/history/historyEngine.go
9
71.18%

common/persistence/nosql/nosqlplugin/cassandra/tasks.go
14
73.36%

common/persistence/cassandra/cassandraTaskPersistence.go
16
59.23%

Totals

Change from base Build 39e98bd7-37bf-44fb-8f59-472525485e5c:
-0.04%

Covered Lines:
89503

Relevant Lines:
148628

💛  - Coveralls

It seems like the old code path is not deleted, do you think it makes sense to have a feature flag for controlling whether the new impl should be used?

It's not being used at all. applyWorkflowSnapshotBatchAsNew is still being used by UpdateWorkflow and ConflictResolution API so they will be deleted in next PR.
I don't feel it's useful at all to have a feature flag. The refactoring goal is to get rid of it.


[BugFix]  Sort participant list by display name

Purpose
To show the participant list alphabetically in the call.
impact: participant list
Does this introduce a breaking change?
[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?
[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test
Join a group call with multiple participants' with various of display names to see if the participant list showing up alphabetically.

@lpx1989 how about the self? do we need to sort localParticipants?

@lpx1989 how about the self? do we need to sort localParticipants?

Append (you) to name in list of local user.  Example: John Doe (you)

@iaulakh @pavelprystinka after confirm with Alex, we will sort local participant too. also, the "(me)" is now a mandatory suffix for local participant (even the local participant name is empty will append this suffix). code updated.

Please include changelogs.


Release target only works on windows, also have to create release file containing username/pw

FSharp.Data asks for username/pw:
https://github.com/fsharp/FSharp.Data/commit/a85c9850f57a6fe7c7f2876c964b998f8ac72dc5#diff-6074983490330a0aac1bd23c958232d7R226

Fixed by #28


how to add the converted net code to training in tensorflow

i converte the net with convert.py. But when i add the code to the tutorial mnist full_connected_feed.py in the tensorflow, modify the input of LeNet is tensor shape[100,28,28,1] instead of [100, 784], it occurs error:dim not equal.

The solution is that modify the code tf.reshape(images, shape=[-1, 28, 28 1]) and the images_placeholder is [100, 784].

`from mynet import LeNet as MyNet
image = tf.placeholder(tf.float32, [1, 784])
labels = tf.placeholder(tf.float32, [1, 10])
input = tf.reshape(image, shape=[-1, 28, 28, 1])
net = MyNet({'data': input})
#the follow is test code for MNIST
with tf.Session() as sess:
sess.run(tf.initialize_all_variables())
net.load('../mynet.npy', sess)
batch_xs, batch_ys = mnist.train.next_batch(1)
output = sess.run(net.get_output(), feed_dict={image: batch_xs})`


Add Date type assertion

Resolves #94.

Type assertion should only check if this.obj is Date, not that it is String or valid date.

Ok, I was aiming for a failure with Invalid Date, but I'll do as you suggest.

Yep, i understand. It is better to add second method, like validDate, where you check it is Date and your check isNaN(this.obj.getTime()).

I will publish new version at sunday, ok?

Great. Would you fancy a different PR for that second method, or do you feel it fits better as a custom user-land assertion?

I am :+1: on second PR


[R] Implement names<- for Schemas

Describe the enhancement requested
We occasionally have requests relating to updating schemas and we could make them easier to work with.  We could implement the S3 method names<- for Schema object, to enable users to be able to do something like:
my_schema <- schema(x = int8(), y = string())
names(my_schema) <- c("y", "x")

The specific use-case I'm thinking about here is when a user wants to read a schema from a source, update it, and then re-use it to read/write.
Component(s)
R

There is a Schema->WithNames() method you could add bindings for: https://github.com/apache/arrow/blob/main/cpp/src/arrow/type.h#L2003
Note that the C++ function doesn't seem to preserve schema metadata: https://github.com/apache/arrow/blob/main/cpp/src/arrow/type.cc#L1741-L1754
So you will either need to modify the function there to forward the metadata, or handle it yourself. (And for metadata$r, you may want to update column names referenced in that to point to the new names, so it may just be something to handle on the R side anyway.)


Added MYST Token to Defaults

Website : https://mysterium.network/
Slack : http://slack.mysterium.network/

Good catch, shouldn't be there.
On 2017-06-13 10:00 AM, "Luke Ollett"<EMAIL_ADDRESS>wrote:

@l0c0luke commented on this pull request.
In app/scripts/tokens/ethTokens.json
https://github.com/kvhnuke/etherwallet/pull/575#discussion_r121686039:

@@ -198,6 +198,12 @@
"type":"default"
},
{

"address":"0xa645264c5603e96c3b0b078cdab68733794b0a71 ",

space at the end matters?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kvhnuke/etherwallet/pull/575#pullrequestreview-43731989,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI4BNvnQmFuczH61gs-Lj3CwPvE0CdIEks5sDpXsgaJpZM4N4AXF
.

Edited!

 We haven't had many tickets at all about your token itself. I added your links to the docs we have. Thank you very much!

Haha, thank you @tayvano . It's both! Made a slackbot response with the relevant information and users used it for people with questions :).


docs: Update diagram to remove mention of sockops

Sockops and friends have been removed in https://github.com/cilium/cilium/pull/23606. Anton reported that they're still referenced in a picture in the docs. We want to update that picture to remove these outdated references.
Pictures (`cilium/Documentation/network/ebpf/_static/cilium_bpf_*.svg`) will still refer to sockmap et al.

Originally posted by @aspsk in https://github.com/cilium/cilium/pull/23606#discussion_r1155745372

We might consider switching these to something like mermaid instead, to make them easier to update over time.

@joestringer 👋🏻

We might consider switching these to something like mermaid instead, to make them easier to update over time.

I'd love to implement Mermaid, if not in this stack then in a future iteration.
As it is, the first I had to take in #24824 was to prettify the SVG enough to be human readable.

For the record, the Sphinx version we use is recent enough to support Mermaid. We haven't enabled the add-on because nobody has really needed it so far, as far as I know.
Someone reported two months ago that there was the matter of non-HTML formats to address (but does anyone use something else than the plain text files and the HTML version?), and possibly some subtleties to troubleshoot:

For the html docs, adding the mermaid entry to certain pages worked, while on others not (I honestly failed to spot the difference in the source, but I didn't spend much time on that). On those not working, the mermaid js was not loaded at all. When adding the line below in conf.py to load the js file, it worked on all pages, but still it is not that small as a file (~1MB):
html_js_files = ["https://cdnjs.cloudflare.com/ajax/libs/mermaid/9.3.0/mermaid.min.js"]


Update run_file to check if file exists

Makes the following changes:

A Path object is created with args.run_file
TDVT checks if the file exists before continuing.
output_dir is also a Path object
the run_file() fn is updated to work with Path objects.
enqueue_failed_tests() is updated to work with Path objects.

Hi, @lukewrites! Thanks for opening this PR!

In the file tdvt/tdvt/tdvt.py:

Line 34:1: E402 module level import not at top of file
Line 30:1: E402 module level import not at top of file
Line 28:1: E402 module level import not at top of file
Line 27:1: F401 '.config_gen.gentests.list_config' imported but unused
Line 27:1: F401 '.config_gen.gentests.list_configs' imported but unused
Line 27:1: E402 module level import not at top of file
Line 23:1: E402 module level import not at top of file

For reference: Error Code Reference, PEP8, Python code style

@pvanderknyff based off dev and I updated the changelog 😉


[Data Lake Store] Empty folders should be included in recursive upload/download

When performing a recursive upload or download, empty folders that exist in the source should be created in the destination.
Current behavior (in the upload functionality, at least) is that empty folders are ignored.
Repro using Microsoft.Azure.Management.DataLake.Store v2.2.0:

Create a local folder with the following structure:
C:\path\to\myData\
    emptyFolder\
        (nothing -- keep this empty)
    nonEmptyFolder\
        file1.txt

Upload myData to ADLS using the following .NET code:
adlsFileSystemClient.FileSystem.UploadFolder(adlsAccountName, @"C:\path\to\myData", "/myData",
recurse: true);

Explore the data in the ADLS account and see that the directory /myData/emptyFolder does not exist.

@ro-joowan This should be fixed in the new SDK.

@rahuldutta90 Thanks. Closing


FloatingPointError for expit on large negative values

This results in a FloatingPointError for k >= 4:
import numpy as onp
import jax.numpy as np
from jax.scipy.special import expit
from jax.config import config
config.update("jax_debug_nans", True)
k = 4
x = -1e20 * np.ones(k)
print(x)
print(expit(x))

Related: #972

https://github.com/google/jax/pull/991 updated XLA to a new version that turns off approximate semantics for reciprocals by default. This fixes the problem in this issue, although it requires that you either rebuild Jaxlib from source or wait for us to make a new release. Hope that helps!


Adding support for Alpha Ess inverter cloud API

#Feature
feat(alphaesscloud): adding support for Alpha ESS inverter cloud API

Thank you for your contributions! Great to see that others help to maintain fhempy and add new features 👍


Add linting and testing workflows

This PR adds linting and testing workflows.

Just fixed the workflows, they should be working now :)


Named registration references wrong policy

Consider following registration:
interface IEmailService : IService
{
}

container.RegisterType<IService, EmailService>();
container.RegisterType<IEmailService, IService>("one");

This fails but it should be allowed situation.

Not relevant anymore


Make driver always execute on the Spark master

Just a quick not for clarification on this feature.
If we're making the driver and spark master run on the same machine, we might not want the spark worker service running on that node? I think that'd be a good configuration for our use cases in general, that there's one machine running the master and driver, but no worker service, and then on worker machines the worker service claims all resources.
There may be use cases where it makes sense to run the driver on a random worker node, and not claim all resources on every worker to accommodate that - such as if you're running multiple concurrent applications on the same cluster, and you don't need to know where your driver is running, I would guess. Our team doesn't have a use for that right now.

Definitely agree that the option to run a worker on the master should be given.

One of the things we will need here is a way to share the Batch task's working directory with the master node. We can use a tool like rsync but I think a cleaner solution might be to have HDFS installed on the cluster by default. Interested to know what other people think.

Another option would be to handle the downloading of task resource files to the master node directly. Instead of using Batch's resource files, we could just download the files directly to the master node.


Does JIMP officially support Microsoft Edge?

I'm asking this because I was running browser/lib/jimp.min.js inside a web worker in Microsoft Edge and got an error Cannot find module 'stream'
Here is the screenshot: https://drive.google.com/a/synergiaone.com/file/d/0B8-tZt41ejcYUDNWNXJUQnJuYWs/view?usp=sharing
Note that, given the same code and environment, I NEVER GOT THIS ERROR on Webkit-based browsers, such as Chrome, Safari and Firefox.
For Internet Explorer 11, I have found another error, but I will take a look later.

1st: as far as I know your question should be if MS Edge Javascript engine supports/implements all JavaScript features that jimp needs. Jimp is written purely in JavaScript and does not really care about what browser it runs on. And jimp is actually meant to be run primarily on the server side (nodejs).
2nd: the screenshot you shared needs permission to access.

Would you enlighten me how I could find stream module? The error must have been thrown when calling require('stream'), if I'm not mistaken.
I've updated the screenshot permission. Sorry.

I hardly code JS in/for browsers, so I'm not competent here. But I think this is what you need:
http://browserify.org/
this will give you the needed module file for the use in browser.
a tutorial is here:
https://scotch.io/tutorials/getting-started-with-browserify
hope this helps


Colors in Windows

It looks like win32_output.py maps all colors to the closest color in a 16-color table. ConEmu supports ANSI color codes. Is it possible to detect which console is being used and only fall back to 16-bit color if necessary?

That should be possible. ConEmu sets the ConEmuANSI environment variable when it has ANSI colors enabled. I guess it should be easy to switch to 256 colors in that case. I'll have a look. Thanks for the suggestion!

It should work now: https://github.com/jonathanslenders/python-prompt-toolkit/commit/17b8a3a08fcd26dcaa9c917dafd32552f8612b2a
However, for some reason ConEmu only supports 256 colors in the "bottom region". So you have to print print('\x1b[9999;1H') to make it scroll to the bottom first. (I don't like it entirely, but the colors look good.)

See: https://github.com/Maximus5/ConEmu/issues/227

The latest release always uses ANSI escape codes when ConEmu has been detected. However, unfortunately 256 colors only works in the bottom region.
I close this, because there is nothing more on our side that we can do.


fix: update eventarc storage name

Uses "Cloud Storage" instead of "GCS" for Eventarc Audit quickstart per branding guidelines.
See internal b/180109929

Does the README need to be updated?

Does the README need to be updated?

Done, thanks!


Long submenu items constrained by width of top li

I need the width of the submenu ul to be as wide as it needs to be, rather than forced to be the width of the upper li element.
Is this possible without setting it manually?

Try to set position static to li element. Work for me


darwin: scdaemon built with gnupg21 crashes on startup

If you build gnupg21 and then run:
~/.nix-profile/libexec/scdaemon --server --verbose --no-detach

It will immediately die with Segmentation fault: 11.  Here is the stack trace:
(lldb) run
scdaemon[67198]: handler for fd -1 started
Process 67198 stopped
* thread #2: tid = 0x3a25f, 0x00007fff86bda4e9 libobjc.A.dylib`objc_msgSend + 41, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00007fff86bda4e9 libobjc.A.dylib`objc_msgSend + 41
libobjc.A.dylib`objc_msgSend:
->  0x7fff86bda4e9 <+41>: cmpq   (%r10), %rsi
    0x7fff86bda4ec <+44>: jne    0x7fff86bda4f2            ; <+50>
    0x7fff86bda4ee <+46>: jmpq   *0x8(%r10)
    0x7fff86bda4f2 <+50>: cmpq   $0x1, (%r10)

Process 67198 launched: '/Users/johnw/.nix-profile/libexec/scdaemon' (x86_64)
(lldb) bt
* thread #2: tid = 0x3a25f, 0x00007fff86bda4e9 libobjc.A.dylib`objc_msgSend + 41, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x00007fff86bda4e9 libobjc.A.dylib`objc_msgSend + 41
    frame #1: 0x00007fff998e6adc IOKit`IORegistryEntrySearchCFProperty + 46
    frame #2: 0x00000001001a7bde libusb-1.0.0.dylib`process_new_device + 94
    frame #3: 0x00000001001a268a libusb-1.0.0.dylib`darwin_init + 234
    frame #4: 0x000000010019d22f libusb-1.0.0.dylib`libusb_init + 559
    frame #5: 0x0000000100010643 scdaemon`ccid_open_reader + 99
    frame #6: 0x0000000100007e85 scdaemon`apdu_open_reader + 133
    frame #7: 0x0000000100003ee7 scdaemon`scd_command_handler + 471
    frame #8: 0x0000000100003544 scdaemon`start_connection_thread + 148
    frame #9: 0x0000000100195f8e libnpth.0.dylib`thread_start + 30
    frame #10: 0x00007fff8fb9399d libsystem_pthread.dylib`_pthread_body + 131
    frame #11: 0x00007fff8fb9391a libsystem_pthread.dylib`_pthread_start + 168
    frame #12: 0x00007fff8fb91351 libsystem_pthread.dylib`thread_start + 13

This prevents smart cards from being used with GnuPG 2.1.  I'm able to use scdaemon from GPGTools just fine with Nix's gnupg21.  Here are the binaries linked against Nix's scdaemon:
15:00:53 Vulcan:~/bae/xhtml-deliverable $ otool -L ~/.nix-profile/libexec/scdaemon
/Users/johnw/.nix-profile/libexec/scdaemon:
	/nix/store/bz5pf8mmfknv85w64xdvx0qbzvdsjqcb-libgcrypt-1.7.3/lib/libgcrypt.20.dylib (compatibility version 22.0.0, current version 22.3.0)
	/nix/store/i8a9vwkf7ijzkj8q5h051bal2wmqpisv-libgpg-error-1.24/lib/libgpg-error.0.dylib (compatibility version 20.0.0, current version 20.1.0)
	/nix/store/qmgn7wq1psm8mkvab8bn60pk2fs10x2k-libksba-1.3.5/lib/libksba.8.dylib (compatibility version 20.0.0, current version 20.6.0)
	/nix/store/dgh61053wlc50zil8hswafzg29b04xac-libassuan-2.4.3/lib/libassuan.0.dylib (compatibility version 8.0.0, current version 8.3.0)
	/nix/store/kmjlaad8ddlsd6mbrqmximgdrwk2rdj4-npth-1.2/lib/libnpth.0.dylib (compatibility version 1.0.0, current version 1.5.0)
	/nix/store/p6r0hq4drx20nic9b8hdnpxdghjm3xjb-libusb-1.0.20/lib/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
	/nix/store/wg557dq764j8x4q49c01vczs8fl4z5sn-CF-osx-10.9.5/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.15.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/nix/store/vii41bjljhdsa655yww4jcymnibhv039-gettext-0.19.8/lib/libintl.9.dylib (compatibility version 11.0.0, current version 11.4.0)
	/nix/store/wr4xak6fw0prhdx8qbaf8pijcp1iyajm-libiconv-osx-10.11.6/lib/libiconv.dylib (compatibility version 7.0.0, current version 7.0.0)
	/nix/store/a131zkygxrk04qs2kl3vq83z1wnhh03c-Libsystem-osx-10.11.6/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

Try this magic:
DYLD_FRAMEWORK_PATH=/System/Library/Frameworks result/libexec/scdaemon --server --verbose --no-detach

There's a not-entirely-obscene way to automate this but it takes some work.

@copumpkin That works! So what does this mean?
Last login: Thu Nov 17 13:34:40 on ttys012
13:41:51 Vulcan:~ $ ~/.nix-profile/libexec/scdaemon --server --verbose --no-detach
scdaemon[73507]: handler for fd -1 started
Segmentation fault: 11
13:42:00 Vulcan:~ $ DYLD_FRAMEWORK_PATH=/System/Library/Frameworks ~/.nix-profile/libexec/scdaemon --server --verbose --no-detach
scdaemon[73533]: handler for fd -1 started
scdaemon[73533]: detected reader 'Yubico Yubikey 4 OTP+U2F+CCID'
scdaemon[73533]: reader slot 0: not connected
OK GNU Privacy Guard's Smartcard server readyscdaemon[73533]: updating reader 0 (0) status: 0x0000->0x0007 (0->1)

Here's the output from scdaemon 2.0 (from GPGTools):
13:47:16 Vulcan:~ $ /usr/local/MacGPG2/libexec/scdaemon --server --verbose --no-detach
scdaemon[75260]: handler for fd -1 started
scdaemon[75260]: PC/SC OPEN failed: sharing violation (0x8010000b)
OK GNU Privacy Guard's Smartcard server ready

@copumpkin any idea what the issue is here or how to solve it properly?

The issue is that we have two simultaneous versions of CoreFoundation.framework, one built purely, and the other one brought in transitively because we depend on an impure framework from the outside world (which in turn depends on the system CoreFoundation). I can't remember if that's an automatic recipe for failure (they do stuff at startup to global things, and might conflict there) or if things only go south if you pass a CF value allocated with one of the libraries to the other, but it generally gets unpleasant.
I think the best solution we have for now is roughly as follows:

Fix wrapProgram to not screw things up if you apply more than one wrapper to the same program (see here)
Write a hook for all our macOS SDK frameworks that automatically adds a "fixup" step to anyone depending on them, where the step basically calls wrapProgram on everything in bin to pass in DYLD_FRAMEWORK_PATH as we did above
Allow people to disable #2 if it's annoying or to invoke it by hand if there are programs outside of bin

@copumpkin
There's got to be a better way to do this. Is there no way to set DYLD_FRAMEWORK_PATH at the linker level? That would make things more automatic.
I'm pretty weary of the "wrappers upon wrappers" stuff. Even if it works, I like having actual binaries in /bin/ as opposed to scripts.

@matthewbauer I don't know how to do it, if it's possible. If Apple allowed a custom dyld (it used to up until 10.11) we'd have more options, but I don't think there's much else.

I'd rather us do what we do for other system frameworks and turn CF into a skeleton derivation with an installed symlink to the real library. I don't see the purpose of a CF library that will reliably exhibit this kind of behavior, purity-wise, especially if the accepted solution is to "just use the system one" which conflicts with the purity goal to begin with.

@pikajude well, the difference is which programs you use the system one on. With the pure one, we get to have a pure(r) ruby, vim, etc., and only the things that are impure for other reasons (i.e., need other impure frameworks) turn impure with CF as well.
It might still not be worth the pain, but I wouldn't cast them as quite the same thing.

A core part of "my view" for Nix for darwin is that I can pretty much use most "unixy" tools (i.e., things that aren't overly Mac-specific or have deep integration with the OS) with minimal impurities. As far as I know, we currently just have the kernel, libSystem, dyld, /bin/sh, and /usr/bin/env for the majority of the sorts of tools you'd find in homebrew. Homebrew cask is a whole other story, and is where this sort of CF impurity starts mattering. Of course there are a few awkward overlaps like this GPG tool that are materially worse under this world than an impurer one, and while I think we do have general solutions to it, they're not very appealing for now.

I'm working on a solution for this that fixes the dylibs, it looks like only a few of the libraries like libusb1 will need the setup hook.

Is this confirmed fixed?

I only tested it on a machine without xcode so that was without pinentry, but I'm pretty sure libusb1 was the problem.

@matthewbauer & @LnL7 i am using gnupg with scdaemon 2.1.19 and pinentry-mac-0.9.4 from nixpkgs/master. It works like a charm without DYLD_FRAMEWORK_PATH.

Sweet!


Tiled tree codelab

codelab.md is an extension of README.md, exploring the successive states a tiled tree is in when it grows.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (149d17d) 55.99% compared to head (dafbf17) 55.99%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   55.99%   55.99%
=======================================
  Files           8        8
  Lines         759      759
=======================================
  Hits          425      425
  Misses        265      265
  Partials       69       69

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

I see a lot of overlap between this and the main docs at https://github.com/transparency-dev/serverless-log
Indeed, there's a lot of overlap, this PR was started with cp README.md codelab.md.

What's the intended difference?
The README in its current form explains how to use the various commands in this repo. This codelab explains what happens under the hood when commands are called, and what effects they have on data.

It might be a bit heavy lifted for someone who opens this repo for the first time to dive into these details, so I didn't want to pollute the README. It reflects the journey I went through a few months ago when I looked into this format, so I thought others who are interested in details might benefit from this.


Data request process

@neil-ices-dk @cmspinto @NikkiTaylorJNCC
The data request process was tested with SWF and HWDT to check the process works and the steps/instructions are clear for the data custodians.
HWDT provided some written feedback, which will need to be investigated and addressed.
HWDT JCDP Testing feedback_20221111 (1).docx

button changed to make more obvious;


SLING-4795 only invalidate affected JCR resource bundles

@kwin  - the Jira issue has been resolved, can you please close the pull request?


This removes all spaces, so words get tied together

Use @"[^\w.,@-\%\s]" to keep spaces (added \s)

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

ID: 200f0dfc-55da-8707-83cf-5604001f6f0d
Version Independent ID: 1b150e03-87bd-6878-c1da-72d59be2e7eb
Content: How to: Strip Invalid Characters from a String
Content Source: docs/standard/base-types/how-to-strip-invalid-characters-from-a-string.md
Product: dotnet
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for pointing this out @samboustani
I've added it to our backlog.  In the meantime, would you like to submit a PR to update the sample?

It also strips characters with diacritic markings.


Refactor the Storage resource interface to remove a type switch state…

…ment.
Changes
Right now the upload phase for artifacts needs to behave differently between
normal resources and storage (GCS, BuildGCS) resources, leading to type switches
in this code.
This refactor moves that logic up into the normal Resource interface, allowing the
logic to remain uniform between the two resource types.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[X] Includes tests (if functionality changed/added)
[X] Includes docs (if user facing)
[X] Commit messages follow commit message best practices

See the contribution guide for more details.

This will help out with #1087 and the other resource refactors going on.
Ref #1076

/lgtm

yussssssss

hm but it looks like all the coverage went down


DBZ-5594 Clean up "logical name" config

https://issues.redhat.com/browse/DBZ-5594

@harveyyue Could you please reabse thsi PR on the latest main? There were refactorings related to topic prefixes. Thanks a lot

@harveyyue Could you please reabse thsi PR on the latest main? There were refactorings related to topic prefixes. Thanks a lot

Done.

@vjuranek Could you please review this one? It LGTM, I just want to make sure we are consistent accross all PRs.

@vjuranek Will you merge and resolve the issue then?

@jpechane will do, I wasn't sure if I can merge any non-trivial changes:-)

Thanks @harveyyue , merged!


Feature Request - Diagnostic Settings for Management Group to "stream to specified Log Analytics workspace"

Hi all,
I found out today there is a gap in the Azure Portal where you can not export Management Group Activity Logs. (Any chance you could poke product on this ;)?)
There a few blog posts that this can be done using the API, Terraform etc.
Example: https://sameeraman.github.io/blog/2021/06/20/mgauditlogs/
I'm wondering if a policy could be created as part of the EZLZ to stream these Activity Logs to LAW. You already have one for subscription Activity Logs, as this is using one of the default policies. (Configure Azure Activity logs to stream to specified Log Analytics workspace)
IMO, this is a bit of a security gap, as most policies are assigned at the Management Group level, and because these are not being streamed to LAW or Event Hub, we are missing important events, such as a user Disabling policies that are not being audited or sent to SIEM.
Thanks for your time!

Looking further at this, it looks like you have a bicep file for this "mgDiagSettings.bicep" that sets this up, and I've confirmed it works via the Portal Accelerator and using API Playground.
This looks to be a one off bicep template per MG, I assume this is not possible then via Azure Policy?

Hey @mundayn,
Thanks for the issue, and good reasearch to find we already configure this today.
Unfortunately Management Groups aren't resources that exist with policy aliases today and therefore you cannot author policies that look at Management Groups today. We have already spoken to engineering and they are aware of this, but there is no ETA for adding support for them.
So today unfortunately we cannot do much on the ALZ side apart from what we do today.
Can I ask you follow the process here and request policy aliases for Management Groups.
Thanks
Jack


Some jQuery challenges often won't pass with a passing solution

Many of the jQuery challenges won't pass even with a passing solution. Sometimes just changing the indenting affects the ability for the test to pass, and just running the test again without changing anything can cause the tests to pass as well.
Example of one such challenge: https://www.freecodecamp.org/learn/front-end-libraries/jquery/target-the-parent-of-an-element-using-jquery
I've upload a video on the problem and how to reproduce the bug: https://youtu.be/a3LKWyk_4YE
Windows is the host OS. Problems occurred in Firefox (75.0 64-bit, with plugins) and Chrome (Version 80.0.3987.163 Official Build 64-bit, without plugins). I didn't have any problems using the Edge browser.

Hi @glenmoyes
Thanks for your report.
We would need you to add the issue report in the requested format, along with the code that you used and as much details as possible.
We understand that you recorded and added a video, but it does not help us copy and test the code you had to reproduce and investigate.
I am closing this for now. But please re-open a fresh issue filling the issue template.


Not returning id_token with custom button

Previously, we were using react-google-login with custom button and it was directly returning access_token and id_token which we were passing to our backend.
Please clarify these 2 doubts for me:

If I go via the sign-in flow, we can directly get the id_token and pass it to the backend BUT we cannot have a custom button.

If I take the auth-code route, I CAN make a custom button however it will return a code which I will send to the backend to exchange for access_token and id_token. Essentially, I will have to write new API on the backend and I'll have to make 2 API calls to my backend, in first passing the code and then in second passing the id_token.

These are my only 2 option, right?

You don't need to lass id_token for backend to verify
Exchanging the code and checking for client id itself is an verify that is the code is valid

I was using id_token with a previous library and found that the access_token returned by this library can be exchanged for user info. Here's an axios request which will get all that info:
    const {data: {given_name, family_name, picture, email, email_verified}} = await axios.get("https://openidconnect.googleapis.com/v1/userinfo", {
      params: {
        access_token: access_token,
      }
    })

where access_token is a field on the value provided to the onSuccess callback.

Hi using the regular google button. Why is the button changing after a second (going from "continue with google" to "sign in as") as in the clip above?

You don't need to lass id_token for backend to verify
Exchanging the code and checking for client id itself is an verify that is the code is valid

I have the same issue.
@MomenSherif how could I verify the user and fetch his data only with code? The only way I can find is with id_token through verifyIdToken funtion from google-auth-library.

exchanging the code itself is a verification that the code is valid
I had playground but it's kinda random, but you will find the way to exchange the code to tokens
https://github.com/MomenSherif/google-oauth2-playground-server

Please check the playground https://react-oauth.vercel.app/
you will find different ways how to get user info the way you will use the library


Machine learning

Added scripts for preprocessing pipeline and model predictions to fully automate the process.
Fixes # (issue)
New Uploads
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

Change Status

[X] Complete, but not tested (may need new tests)

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes
[X] There are no merge conflicts

Going to add a pipeline function for testing prior to merging with master.


Enable mailbox in selected ARM boards

The mailbox peripheral is actively accessed by stm32_hsem functions, so mark the device as enabled in DTS.

Hi @mateusz-holenko, please when you force-push, add a comment about the changes you made, & only rebase your dev branch on main when there are conflicts because otherwise it breaks GitHub's Compare tool (which especially affects reviewers who previously approved the PR).


Update newsfeed in GVM without restarting

The current method for checking if there are new blog posts in GVM, seems to be to restart the app.
The simplest solution might be to add a refresh newsfeed button like there is for the versions dropdown list.
A later enhancement could be to show a message when the button is pressed that says something like:

Already viewing the latest blog post
New blog post(s) found
or if it's possible to count from the last viewed to the newest: [count] new blog post(s) found

Timer
Another option could be to use a timer (checked once a day?).
The version list seems to be checked automatically.
Because the latest stable version was 4.1-stable when GVM was minimized (one or two days ago).
Today, when GVM was unminimized, then the latest stable version is 4.1.1-stable.
New version/post message
Maybe there could be a message/badge/button:

New version found
New blog post found
New version and blog post found

It's probably better to compare the latest dropdown list version with the latest remote version.
Because it could be problematic to check against the latest manually added executable.
It is most likely rare, but if the downloaded Godot executable is renamed with a typo: 4.11 or 44.1
Then there won't be a new version message for a while.

Because the latest stable version was 4.1-stable when GVM was minimized (one or two days ago).

👀 I never imagined someone keeping it open for several days. I always shut my computer down at the end of the day 😅
In any case, you are completely right. The news are only updated when it launches. Godot used to at most a couple of blog posts per week, so checking on launch seemed enough.
I requested to the Godot website devs a json version of the news feed, which has everything I need. That means no need to scrape the html for news, no need to fix the scraper if the site structure changes, and a really small download.

Another option could be to use a timer (checked once a day?).

Yes I'll implement a timer since it'll avoid cluttering the UI with more buttons.
Regarding any message/bagdes/etc. it is planned for 2.0 to have the app be more aware of the versions you have installed and be able to tell you when minor and patch updates come out.

I always shut my computer down at the end of the day

Same here, by hibernating, it saves everything in ram to the ssd, so all apps open the same as before shutting down.

Added in 0824737d02301402ad8a7c9d34cb6d5849b3b38f


Does the number of symbol pairs affect program speed?

I'm testing the bot on a modestly equipped virtual server. When I followed 6-10 pairs of symbols, I observed that the instant price withdrawal rate of the program decreased. There may even be delays in issuing stop loss orders. Is there anything I should know about this?
I have been running the server for 10 days without interruption. maybe this is the reason.
System features;
Standart B2s (2 vcpu count, 4 GiB memory)

Now the bot checks pairs of characters in turn, but the WebSocket is being tested.
"Previously, the job was monitoring each coin per second. However, now it monitors all the coins every second."
https://github.com/chrisleekr/binance-trading-bot/pull/77

@niyazikeklik
@FOXGLove81 is right. The current master version is checking a symbol per seconds.
If you have more symbols, each symbol will be checked slowly.
But I kind of sense, you are saying actual performance is decreased, which shouldn't be.
Delays in the order most likely caused by the Binance. Sometimes, Binance returns the order result 1-3 seconds.
It is ok to restart a bot every hour or every day.
As this bot is even running in the Raspberry Pi, your spec seems alright.

Maybe it should be a priority system.
For example, if coin A has its last purchase value, it must be checked every second.
If coin B needs to drop more than 10% to trigger the buy signal, coin B needs to be checked every 1 minutes.
Likewise, if token A needs to increase more than 10% to be sold, 1 minutes must be waited.
Rates or durations can be adjusted either. Just an idea.

@niyazikeklik Thanks for the suggestion.
As @FOXGLove81 mentioned, #77 is waiting to be merged (doing an intensive test to make sure it works) which makes the coins being checked every second.


Fix stubbing of current time in regression tests

Since #2518 was merged, when multiple regression tests were run the call to Timecop.freeze in the setup block was only being made the first time the setup block was executed. This is because of the optimisation introduced in this commit.
It so happens that #2518 changed the stubbed value of current time in the first flow, additional-commodity-code, to 2016-05-05 i.e. different from the value used to generate the artefacts for the majority of the flows. So when running all the regression tests, the stubbed value of current time was set to the value for additional-commodity-code and never changed. This caused the full regression test suite to fail on the govuk_smart_answers_regressions CI server.
This commit moves the call to Timecop.freeze before the condition which skips the setup on subsequent tests. This means that it is now executed for every test and the appropriate values of current time should be used for each flow.
I didn't spot this sooner, because I didn't run all the regression tests before merging #2518. This was because having run the regression tests for a number of the flows individually, I mistakenly convinced myself that running all of them wasn't necessary.

I've just run all the regression tests locally on this branch and they all pass. So I think this fix is OK to merge.

Minor: the link in the text below PR description is not working for me

This is because of the optimisation introduced in this commit.

I guess it should be pointing to this commit?

LGTM

@pmanrubia: Thanks for reviewing. I've fixed the broken link in the PR description. Fortunately it isn't broken in the commit note itself.


Added support for sorting

I have made some updates to make the plugin work if the images are reordered in the DOM.

The problem is that if the images get resorted then the the internal cache in the plugin doesn't get resorted. So what happens is that when it checks for the 'next image' it could well be off the screen and then stops. So my alternative is to set the threshold to be enormous which is reduces performance or somehow recalculate the order again.
The key bit is:-
// if we want the images to be tested when a sort occurs then add that event
if (settings.sortable) {
  $(settings.container).bind(settings.sort_event, function(event) {
    // update elements as they have been reordered
    elements = $(selector);
    $(this).trigger(settings.event);
  });
}

The key bit is elements = $(selector); which is needed to recalculate the order.

Hmmh yes you're correct.
Another way to do this would be to destroy (not possible at the moment) and rebind the plugin when sorting. Adding features like this directly into plugin code has the risk of plugin becoming a feature creep. Next thing would be to add support for tab plugin X and scrolling plugin Y. It would be better to provide methods (like destroy) which enable people to write their own solution for cases like sorting.
So the code for sorting could be something like:
$(function() {
    $("img.lazy").lazyload({ ... });

    $("#teams").tablesorter().bind("sortEnd",function() {
        $("img.lazy").lazyload("destroy");
        $("img.lazy").lazyload({ ... });
    });
});

Or maybe provide a refresh method which updates the internal element cache.
    $("#teams").tablesorter().bind("sortEnd",function() {
        $("img.lazy").lazyload("refresh");
    });

Ok cool,
I'll have a look at doing it that way. I'll let you know when I have done it.

Ok cool,
I'll have a look at doing it that way. I'll let you know when I have done
it.
Simon Baynes
www.simonbaynes.com
Free online storage you can access anywhere:-
http://www.simonbaynes.com/getsugarsync
LinkedIn profile:- http://www.linkedin.com/in/simonbaynes
Google+:- http://gplus.to/simonbaynes
GitHub:- https://github.com/baynezy
On Fri, Jan 13, 2012 at 3:27 PM, Mika Tuupola <
<EMAIL_ADDRESS>
wrote:

Hmmh yes you're correct.
Another way to do this would be to destroy (not possible at the moment)
and rebind the plugin when sorting. Adding features like this directly into
plugin code has the risk of plugin becoming a feature creep. Next thing
would be to add support for tab plugin X and scrolling plugin Y. It would
be better to provide methods (like destroy) which enable people to write
their own solution for cases like sorting.
So the code for sorting could be something like:
$(function() {
$("img.lazy").lazyload({ ... });
   $("#teams").tablesorter().bind("sortEnd",function() {
        $("img.lazy").lazyload("destroy");
        $("img.lazy").lazyload({ ... });
    });

});
Or maybe provide a refresh method which updates the internal element cache.
   $("#teams").tablesorter().bind("sortEnd",function() {
        $("img.lazy").lazyload("refresh");
    });

Reply to this email directly or view it on GitHub:
https://github.com/tuupola/jquery_lazyload/pull/14#issuecomment-3481118

Any update on this issue? How do I 'refresh' lazyload to let it know that the DOM elements has been reordered?


perf: allow fragment scan for nearest query if there is a prefilter

We want to create a query plan that first runs prefiltering on selected fragments.
Then for rows passing the prefilter, we probe the ANN index with filter_row_ids.
In this plan, the returned result rows will only come from the selected fragments, so there will be no violation to the query semantics.

Codecov Report
Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.35%. Comparing base (b45393e) to head (770e6ed).

Files
Patch %
Lines

rust/lance/src/dataset/scanner.rs
66.66%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2631      +/-   ##
==========================================
- Coverage   79.35%   79.35%   -0.01%
==========================================
  Files         213      213
  Lines       62521    62523       +2
  Branches    62521    62523       +2
==========================================
- Hits        49614    49613       -1
- Misses       9996     9997       +1
- Partials     2911     2913       +2

Flag
Coverage Δ

unittests
79.35% <66.66%> (-0.01%)
:arrow_down:

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

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

@westonpace I added another check on the index scan to disallow the case you mentioned. PTAL.

@jiachengdb
I'm going to merge this but if you find time can you add a PR with a python unit test covering this case?

@jiachengdb
I'm going to merge this but if you find time can you add a PR with a python unit test covering this case?

Let me find time to add the test.

@jiachengdb
I'm going to merge this but if you find time can you add a PR with a python unit test covering this case?

Let me find time to add the test.

@westonpace https://github.com/lancedb/lance/pull/2638


script like value is removed by angular-translate

Subject of the issue
I find that augular-translate will strip some value from the translation string if it's a tag or script like format, for example,
When I have a translation value like
{
key: "<something"
}
If I call $translate.instant("key"), I will get an empty value ""
Your environment

angular-translate 2.11
angular 1.5

Steps to reproduce
the demo, I basically just add the "<" to the default demo
https://plnkr.co/edit/rGyGHk9TljEiMKXrZkyU?p=preview
Expected behaviour
should return the original value, because in the translation they could be valid value.
Actual behaviour
only return empty string

Did you have taken a look into our guide, especially the chapter about security? https://angular-translate.github.io/docs/#/guide/19_security


Use Clyde both as a module and application

It would be nice Clyde can be added as module dependency to any project and use it as a middleware.
In addition, Clyde requires a bin folder where we can execute as application.

Clyde is adapted to be downloaded and run standalone using ./bin/index.js or we can install as a module and use as a middleware, something like:
var clyde = require("clyde");

var server = http.createServer( clyde.createMiddleware(options) );
server.listen(port);


Fixed typo in CRYPTO_THREAD_run_once.pod

CLA: trivial

@t8m, trivial?

24 hours has passed since 'approval: done' was set, but as this PR has been  updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to the master branch. Thank you for your contribution.


/-/patterns returns link: alternate JSON header to 404

Bug from:

#1620

% curl -s -I 'https://latest.datasette.io/-/patterns' | grep link
link: https://latest.datasette.io/-/patterns.json; rel="alternate"; type="application/json+datasette"

A few other pages do that too, including:

https://latest.datasette.io/-/messages
https://latest.datasette.io/-/allow-debug

Here's the new test: https://github.com/simonw/datasette/blob/23a09b0f6af33c52acf8c1d9002fe475b42fee10/tests/test_html.py#L927-L936


[ext_proc] Fix fuzz bug and simplify processor state API

Commit Message: Fix fuzz bug and simplify processor state API
Additional Description:
In this PR I fix a fuzz bug caused by a nullptr dereference (caused by not checking if the pointer is null beforehand).
I also noticed that currently the state_processor has both setTrailersAvailable(...) and setTrailers(...). Internally, trailers_available_ is checked to see if it's safe to dereferences trailers_. This is error prone because trailers_available_ is redundant when you can always just check trailers_ != nullptr.
Risk Level: low
Testing: fix fuzz test, otherwise no functional change; all tests still pass
Docs Changes: none
Release Notes: none
Platform Specific Features: none

/assign @yanjunxiang-google
Do you want to take a look, I think it touches the code you recently changed.


Determine payload constraints and # of toastSats that fly

Here's an answer to the mass constraint based on some past experience...
TL;DR: Each team has approximately 94 g allocated for their hardware.
Say we have an upper limit for the mass, m_{max}. We can determine the mass available for toastSats as m_{max} = m_{toastSats} + m_{gondola}
From my previous experience, we can calculate an estimate for m_{gondola}. That entry would be a sum of the following [source: August 20, 2019 flight]:

Items
Mass (g)

Parachute
253

Tracker (Tracksoar) and batteries
64

Tracker antenna supports
17

Payload box
60

Rope and flight train connections
40

Tape, zipties, elastic bands, other misc hardware
30

This gives us a total of 464 g.
Next, what is m_{max}? This requires a little more understanding than a basic calculation to determine, as it is a balance between commercial availability, desired maximum altitude, desired ascent rate, and regulatory limitations on high altitude balloons. In fact, starting from scratch this would require an iterative process where we guess m_{toastSats}, but I can jump ahead to a reasonable solution.
For our planning, an 800 g balloon is a wise choice. This size is readily available and has a good capacity-to-weight ratio for a payload in our mass range. We will be within the regulatory limits for a balloon flight and ensure the flight is neither too long or too short to be fun.
Okay, but how does knowing the balloon size give us m_{max} you're wondering? The larger the balloon (measured in grams as it is the mass of the balloon), the more helium we can inflate it with. This increases the displacement of air and causes our upward force (buoyancy) to increase as well. We could calculate this by first principles for fun, but suitable calculators exist on the internet as well, such as this one: habhub balloon calculator.
How to use:

Pick a balloon size (800 g).
Erase "target burst altitude" and fill in "target ascent rate" as 5 m/s

this will give us a quick ascent and shorten flight duration (don't go below 5 m/s ideally)

Play with "payload mass" and see how the Helium volume requirements change.
Find the closest payload mass that gets the Helium requirement at or below 115 cubic feet 602.42

Assuming we use a "Kaymont - 800" g balloon, we predict 1317 g of payload mass @ 5 m/s ascent rate with 115 cubic feet of Helium. To be practical, we should give ourselves a little wiggle room, so knock off about 10% and say our m_{max} is 1200 g.
Almost there! Rearrange our mass sum at the top to solve for m_{toastSats} and we get 1200 - 464 = 736 g. We have four groups, so assume four toastSats so each team will have 736 / 4 = 184 g.
The mass budget for a toastSat will be something like: m_{toastSat} = m_{arduino} + m_{breadboard} + m_{sensors} + m_{wires} + m_{power-system}. We are providing the power system, which is an 18650 Lithium Ion battery, some sort of voltage regulator, and wires.

Power system items
Mass (g)

18650 2200 mAh battery
64

Voltage regulator
6

USB cable, A to micro B
20

This will cost us 90 g, which is roughly half of the allocated toastSat mass. The teams therefore have 94 g for their hardware.

Power constraints have been determined as well.
A 2200 mAh 3.7 V Lithium Ion battery will be provided to each team for their payloads. This provides 2200 * 3.7 = 8140 mWh of energy. Knowing that the flight could be 4-5 hours, we can estimate the maximum average power consumption for a flight by energy / time = average-power, so 8410 / 5 = 1628 mW or 1.6 W.
Teams should take measurements of their payload to confirm they are drawing less than 1.6 W.
Note that the voltage conversion is not 100% efficient, so 1.6 W is overly optimistic as there will be power lost in that process. Teams would ideally run their payload uninterrupted from full charge to dead and time how long it lasts (based on the microSD card recording perhaps).

In my last comment I said 2200 mAh, but Sean corrected me today and said it was 1200 mAh. That's a big drop, so we need teams to be closer to 0.8 W average power. Can re-do the analysis to confirm, but they should be building their power budgets themselves.

To do:
Volume constraint


Updated Readme to reflect new Api

Addressed #167 &  #297

Updated based on feedback. let me know if anything else needs to be changed.


[Feature] Android ProgressBar element

Description

ProgressBar is a commonly used core Android control that supports the ability to track the progress of actions as a percentage.
 The value of the progress bar is not exposed through the automation tooling for Android.


Litterature reference for auto scheduling

First thank you for this implementation of SA! Its flexibility allowed me to get really good results in a few hours on the Quadratic Knapsack Problem by implementing two simple moves.
I was wondering if the auto scheduling from below is something you came up on your own or something which can be found in the literature? If it is from the literature, could you give me the references?
https://github.com/perrygeo/simanneal/blob/951e7d89a8b7f19aeb05b64e7cc8b844a734af89/simanneal/anneal.py#L238
Thank you for your time.

Hi Matthieu,
The Annealer.auto method is a heuristic which assumes the ideal temperature
schedule will start at 98% acceptance and proceed to 0% acceptance. And it
uses empirical results to estimate it. There is no literature on the topic
that I'm aware of, only code.
Speaking of which, would you be willing to open source (or blog about) your
Quadratic Knapsack Problem solution? I'm very interested in seeing how
simanneal is being used in real applications.
Take care,
Matt Perry
On Tue, Jan 26, 2021 at 10:14 PM Matthieu Parizy<EMAIL_ADDRESS>wrote:

First thank you for this implementation of SA! Its flexibility allowed me
to get really good results in a few hours on the Quadratic Knapsack Problem
by implementing two simple moves.
I was wondering if the auto scheduling from below is something you came up
on your own or something which can be found in the literature? If it is
from the literature, could you give me the references?
https://github.com/perrygeo/simanneal/blob/951e7d89a8b7f19aeb05b64e7cc8b844a734af89/simanneal/anneal.py#L238
Thank you for your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/perrygeo/simanneal/issues/41, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZCNZXPGY2MZ7YCGVDIYLS36OK5ANCNFSM4WUT7JBA
.

Hi Matthieu,
The Annealer.auto method is a heuristic which assumes the ideal temperature
schedule will start at 98% acceptance and proceed to 0% acceptance. And it
uses empirical results to estimate it. There is no literature on the topic
that I'm aware of, only code.
Speaking of which, would you be willing to open source (or blog about) your
Quadratic Knapsack Problem solution? I'm very interested in seeing how
simanneal is being used in real applications.
Take care,
Matt Perry
On Tue, Jan 26, 2021 at 10:14 PM Matthieu Parizy<EMAIL_ADDRESS>wrote:

First thank you for this implementation of SA! Its flexibility allowed me
to get really good results in a few hours on the Quadratic Knapsack Problem
by implementing two simple moves.
I was wondering if the auto scheduling from below is something you came up
on your own or something which can be found in the literature? If it is
from the literature, could you give me the references?
https://github.com/perrygeo/simanneal/blob/951e7d89a8b7f19aeb05b64e7cc8b844a734af89/simanneal/anneal.py#L238
Thank you for your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/perrygeo/simanneal/issues/41, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZCNZXPGY2MZ7YCGVDIYLS36OK5ANCNFSM4WUT7JBA
.

Thank you for your reply,
I am writing a paper on solving the Quadratic Knapsack Problem with different methods, one of them being SA. I will forward it to you once it is hopefully published.
The way I implemented the move() method was:

try to add a random item among those which would not violate the capacity constraint.
If no item adding is possible without violation the constraint,  try to swap 2 random items until I find a pair which would satisfy the constraint.

To make the move "fast" I use np.dot() to evaluate in parallel capacity and profit of each variable if it were removed/added.
I haven't finished benchmarking but I setup Tmax to the maximum worse ΔE possible, e.g the maximum row(column) sum value between each variable in the symmetrized profit matrix, divided by 10. I repeat short burst of SA with steps between 500 and 1500 depending on the instance.


⚠ GitLab Server has degraded performance

In b629f04, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6867 ms

Resolved: GitLab Server performance has improved in 6008ed7.


Update manifests

Just for 1.1 branch,
like for 1.0 was done.
based on https://github.com/openshift-knative/eventing-kafka-broker/pull/137

/test 49-conformance-aws-ocp-49


WIP - add subtypes for chain cells

putting this up early to get some feedback.
I split the transactor and datastore types into separate objects in the new io.mediachain.types package.   This should make it easier to pull into a separate project later.  DatastoreTypes has everything that inherits from DataObject, and TransactorTypes has the transactor-internal types like ChainReference and the journal interfaces.  The DatastoreTypes are all CborSerializable, but the TransactorTypes use pojo serialization.
Also changes the EntityChainCell and ArtefactChainCell to regular classes and adds some case classes that extend them (only a few so far).
the existing tests pass, but I haven't added specs for unpacking the chain cell subtypes yet.

I like the idea of putting the chain cell types in the meta as a field, it's a flexible approach.

For the new chain cell some classes, we will need to add a cons method that constructs the exact type for use inside the state machine.
I will add it and send a PR on top of this.

PR #55 for supporting chain cell subtypes in the state machine.

:+1:


#970 -- Added new custom events for filter-search bar component

New events are triggered when a filter select option is toggled on or off, when a chip is removed, and when the filtering is cleared/reset.
New event names are 'filterSearchMultiSelectToggle', 'filterSearchChipRemoval', and 'filterSearchClear'
@Jura is this in the ballpark of what we talked about. These are events on the filter/search element that people can use in their own scripts.

Hi @Jura I moved the custom event for the multi-select/select toggling and the custom event for the checkbox toggling into their respective multi-select.js and select.js files. I've updated the filter-search.js to use those new custom events. I've also tested those events locally in other scripts with successful triggering.
I haven't updated the documentation yet.
Let me know if we are getting closer to desired setup.
Cheers
Phil

@paboden , thanks for the documentation, it is pretty what we needed. I used it to create a mini-app to test functionality and accuracy of instructions and there are a few issues:

[ ] select.min.js is part of this PR, but not referenced in documentation. Should it be loaded to make widget function properly or not? If so - please update documentation, if not - why it is a part of this PR?
[ ] There is a typo in JS reference: https://undp.github.io/design-system/js/filter-seach-bar.min.js (missing 'r' in '-search-'
[ ] multiSelectToggle event data is not providing reference to "checkbox_id" property as it is stated in documentation. I would also ask to use "select_id" property name for that to avoid confusion

https://codepen.io/jurakhrapunov/pen/eYPKGLO


Start the web server from dslstat's configured snapshot directory

dslstats writes the webserver files to a subdirectory of the snapshot directory. I recently reconfigured my installation of dslstats to write to config so as to persist the snapshots. However, the web server that's part of the container assumes that the default snapshot directory is being used and tries to serve files from there.
This PR pulls the snapshot directory from the dslstats config and starts the webserver from there. I've tested this against my existing installation, but not against a fresh installation.

Looks like it should work, but not sure it's needed for your usecase.
The default snapshot dir of /root/.dslstats gets symlinked to /config so the snapshots already are written in /config by default.
If you need it to write to a subdirectory of /config instead of the root of it this would be needed to continue to use the webserver.

Aha, I see - I didn't realise that symlink was in place. I'll revert my snapshot location back to /root/.dslstats and close this PR since it's not required.

No worries - it's a welcome surprise to receive a PR. Mostly my open source projects get issues!
I would have merged this so that the snapshot dir can be moved without breaking the webserver, but it breaks the first time startup. :(


wakatime: 1.37.0 -> 1.38.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/wakatime/wakatime-cli/releases.
meta.description for wakatime is: "WakaTime command line interface"
meta.homepage for wakatime is: "https://github.com/wakatime/wakatime-cli"
meta.changelog for wakatime is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/9d7cpyp5h5nb0wqavrx0ync2xgsnpvaw-wakatime-1.38.0/bin/wakatime-cli had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.38.0 with grep in /nix/store/9d7cpyp5h5nb0wqavrx0ync2xgsnpvaw-wakatime-1.38.0
found 1.38.0 in filename of file in /nix/store/9d7cpyp5h5nb0wqavrx0ync2xgsnpvaw-wakatime-1.38.0

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
wakatime

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9d7cpyp5h5nb0wqavrx0ync2xgsnpvaw-wakatime-1.38.0 \
  --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 wakatime https://github.com/r-ryantm/nixpkgs/archive/370606fadc4df1502a21b0ee82a708471f55b90d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9d7cpyp5h5nb0wqavrx0ync2xgsnpvaw-wakatime-1.38.0
ls -la /nix/store/9d7cpyp5h5nb0wqavrx0ync2xgsnpvaw-wakatime-1.38.0/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:

wakatime

Maintainer pings
cc @kalbasit for testing.

Result of nixpkgs-review pr 162115 run on x86_64-linux 1

1 package built:

wakatime

The only upstream change is related to GitHub actions workflow.


Small docs addition

Without this piece of Godot scene packing trivia, I was tripped up getting post-processed child nodes imported. This hopefully clarifies for anyone else with the same knowledge gap.

Great! I've also added this to the 4.3 reference


Failure to setup setting sync:  RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request 'https://vscode-sync-insiders.trafficmanager.net/v1/manifest'.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.96.0-insider (user setup)
Commit: e8e69d3d3901485d83a1043cbfc5516d35756e10
Date: 2024-12-06T21:47:18.228Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

OS Version: Windows 11

Steps to Reproduce:

Install the latest VS Insiders
Click on the "Backup and Sync Settings" button (ignore all other checklist items)
Click "Sign In", then "Stable"

My logs complain of the following [1] and my sync never occurs.
[1] Logs
2024-12-07 07:05:47.455 [error] Failed: net::ERR_TIMED_OUT
at Wl.H (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:68:85761)
at async Wl.F (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:68:82728)
at async Wl.F (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:68:83667)
at async Wl.B (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:68:78549)
at async Wl.getExtensions (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:68:77715)
at async file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:59273
at async Promise.all (index 39)
at async Object.e [as settled] (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:31:91685)
at async file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:58623
at async file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:62240
at async Ra.updateLocalExtensions (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:58595)
at async Qh.tb (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:55915)
at async Qh.ab (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:37200)
at async Qh.apply (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:32645)
at async Cn.apply (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:132384)
at async vu.R (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:123700)
at async Object.apply (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:122243)
at async G7.call (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:135155)
2024-12-07 07:05:47.455 [error] extensions: net::ERR_TIMED_OUT
2024-12-07 07:05:47.456 [info] Profiles: No changes found during synchronizing profiles.
2024-12-07 07:05:47.463 [info] Profiles: Updated last synchronized profiles.
2024-12-07 07:05:47.466 [info] Sync done. Took 17289ms
2024-12-07 07:05:47.470 [info] Auto Sync: Triggered by Interval
2024-12-07 07:05:47.470 [info] Sync started.
2024-12-07 07:05:55.490 [info] Request failed https://vscode-sync.trafficmanager.net/v1/manifest
2024-12-07 07:05:55.490 [error] RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request 'https://vscode-sync.trafficmanager.net/v1/manifest'.
at qh.D (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:22107)
at async qh.manifest (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:19954)
at async vu.createSyncTask (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:105:121443)
at async vf.I (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:112:9288)
at async vf.H (file:///c:/Users/eddie/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:112:8932)

Failed: net::ERR_TIMED_OUT

Seems network issue on the user machine. Please diagnose your network configuration and check if you are behind proxy and configure it accordingly.


Fix nested models with pydantic 2.0

What kind of change does this PR introduce?

[X] Bugfix
[ ] New Feature
[ ] Feature Improvement
[ ] Refactoring
[ ] Documentation
[ ] Other, please describe:

Description:
Fix for the main issue described in #36 , namely the nested models.
Does not deal with the other mentioned issue wrt. list-typed models, which seems to be orthogonal to the original issue, as per further investigations
Checklist:

[X] I have read the CONTRIBUTING document.
[X] My changes don't require a change to the documentation, or if they do, I've added all required information.

Thanks :)


[CSS Gradient] -> [CSS Frameworks]

CSS Gradient
CSS Gradient is a little website and free tool that lets you create a gradient background for websites
Link: https://cssgradient.io/gradient-backgrounds/
Checklist:

[x] I have performed a self-review of submitted resource and its follows the guidelines of the project.

@Alaev MY PR IS  https://cssgradient.io/gradient-backgrounds/

@Alaev MY PR IS https://cssgradient.io/gradient-backgrounds/

yep I saw your pr. however if you look at the link you can see that the website and the link I sent you its the same resource as its pulls the background from my link :)
https://cssgradient.io/gradient-backgrounds/

https://www.grabient.com/

Do you see it?

:+1:

@varghesejose2020 you can change the link as I suggested and we can add it to the list as its own resource if you like.

@varghesejose2020 you can change the link as I suggested and we can add it to the list as its own resource if you like.

changed

@varghesejose2020 Great, can you just move it to Colors section?

Never mind, Closing as we have it in our list under Colors.


New Feature Request: Adding information to Techqueria's main page

Adding information to Techqueria's main page
There is a bounce rate of 61%, which means that 61% of people who open Techqueria's webpage, closes it with no interaction. I would suggest explaining how does techqueria serve the largest community of Latinx in Tech in the main page to get more people engaged. By adding more information explaining how the company serves the largest community of Latinx in Tech, we can get more people to join techqueria, to engage and to donate too.
URL(s)
https://techqueria.org/xyz
Why did you make this request?
So that people would engage more with Techqueria.

we can add some sections on the HP in to help with this - i agree there could be more content on HP

donate section
about section

Hey Eduardo just assigned this to you!
Feel free to ask any questions you may have here


Implement AI model caching for CI jobs

Is your enhancement related to a problem? Please describe
Follow-up to discussion https://github.com/containers/podman-desktop-extension-ai-lab/pull/1505#issuecomment-2273788259
Describe the solution you'd like

Implement a caching method that would pre-pull the AI model, so it doesn't have to be downloaded every time the job is run

Describe alternatives you've considered
No response
Additional context

challenge will be to make sure the cached model is up to date with what the extension requests

Duplicate of https://github.com/containers/podman-desktop-extension-ai-lab/issues/1506 ?


square-ish board

Could you add a sibling function to HexGrid.grid.generate() that helps one generate square-ish boards. Currently grid.generate() builds a hex-shaped board, but it would be awesome to be able to request .generate() to prepare a square and rectangular boards W hexes wide and H hexes high.
I tried to figure this out in hex cube coordiantes to do this myself and submit a PR, but I'm too unsmart in hex grid coords.

Hey, I actually do have a square board generator but I think it's still in the dev branch at the moment. I haven't had time to work on this project, but I'll eventually update it with the overhaul I had in dev. Until then, check out that branch to see if it works for you. The API is much different but more flexible.


backblaze is blocked

Hi,
Thanks for maintaining the lists of bad hosts.
I would like to respectfully request the removal of this host: f001.backblazeb2.com from your hosts list:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
I think this was probably added to the hosts lists within the past week.
Backblaze is a legitimate cloud storage provider, and with it blocked, folks may not be able to connect to their backblaze accounts. I frequently use rclone to backup files to my backblaze account and discovered the host was blocked just the other day.
Thanks for the consideration!
https://www.backblaze.com
https://rclone.org

Looks like it was added with this commit:
https://github.com/StevenBlack/hosts/commit/840ee7d5be2f314d27e6ebefe3c6bb5206d59bc1#diff-4f8a2cc398d8664277a96a7843ab4958ab1d0a347cbe7c071fde0fcb58230793

Thanks for this @jungle-boogie.
Davide @davidonzo can you please look at this — this one's urgent.  Thanks!

Hi Steven,
A malicious file has been shared via Backblaze.
This is the link to the latest VT report: https://www.virustotal.com/gui/file/bad08112a53a47a5bb856c7caad96f00ff2d29d109aee9118b56a5a62e59f5ef/detection
Anyway, as ever in these cases, I added the related host to the whitelist.
Considering the event, I'm running a new job to generate the repository content. It will finish in minutes.
Thanks for the advice.
Ciao!
Davide

Thanks Davide!  I suppose this is an interesting point for consideration.  If malicious files are shared or hosted by BackBlaze, or Dropbox, or Google Drive, or Box, or iCloud, what should we do?  It's a tricky question.

Many hosts related to file sharing are just added to the whitelist.
I'm working hard to collect all possible involved hosts and have a valid domain exclusion list.
If someone have any up to dated resource to use as lookup, please, share with me!
Thanks!
Davide

Hello,
Thank you two for your prompt investigation into this issue. Now knowing a malicious file was shared via backblaze, I understand why backblaze was blocked.

@jungle-boogie this is resolved and release 3.3.11 is now live.
Closing.


Request/Response streaming for Finch adapter, SSE middleware

Request streaming support #506
First take on response streaming support #271

The implementation requires spawning a process, I'm not sure there's a way to implement streaming without it given Finch.stream/5 only returns after all data has been streamed and the idea for tesla response streaming is to return Tesla.Env with status & headers and body as a stream.
Example streaming OpenAI client:
defmodule OpenAI do
  def new(token) do
    middleware = [
      {Tesla.Middleware.BaseUrl, "https://api.openai.com/v1"},
      {Tesla.Middleware.BearerAuth, token: token},
      # decode text/event-stream response
      {Tesla.Middleware.JSON, decode_content_types: ["text/event-stream"]},
      # decode SSE and return stream of data only (to be decoded by JSON)
      {Tesla.Middleware.SSE, only: :data}
    ]
    # use Finch as adapter
    Tesla.client(middleware, {Tesla.Adapter.Finch, name: MyFinch})
  end

  def completion(client, prompt) do
    data = %{
      model: "gpt-3.5-turbo",
      messages: [
        %{role: "user", content: prompt}
      ],
      # tell OpenAI to stream the response
      stream: true
    }
    # use the new [response: :stream] adapter option
    Tesla.post(client, "/chat/completions", data, opts: [adapter: [response: :stream]])
  end
end

{:ok, pid} = Finch.start_link(name: MyFinch)

client = OpenAI.new("<token>")

{:ok, env} = OpenAI.completion(client, "Count to 5, with a comma between each number and no newlines.")

env.body
|> Stream.each(&IO.inspect(&1, label: "chunk"))
|> Stream.run()

Output:
chunk: %{
  "choices" => [
    %{"delta" => %{"role" => "assistant"}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => "1"}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => ","}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => " "}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => "2"}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => ","}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => " "}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => "3"}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => ","}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => " "}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => "4"}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => ","}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => " "}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [
    %{"delta" => %{"content" => "5"}, "finish_reason" => nil, "index" => 0}
  ],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: %{
  "choices" => [%{"delta" => %{}, "finish_reason" => "stop", "index" => 0}],
  "created" =><PHONE_NUMBER>,
  "id" => "chatcmpl-76IFRG54YaoTcpb7bPEw5SvJZT5N6",
  "model" => "gpt-3.5-turbo-0301",
  "object" => "chat.completion.chunk"
}
chunk: "[DONE]"

Love it, would like to use it, here's a PR with error handling fix: https://github.com/elixir-tesla/tesla/pull/573

Thanks for this. I'd love to be able to use the streaming. This would allow me to move away from HTTPoison for streaming a response. Are there plans for this to be merged soon?

Please merge!! 😄


Scroll does'nt work if there are more than 11 assets in wallet

--pass=password
wallet.tar.gz
https://user-images.githubusercontent.com/50007056/154929805-77e3a230-544a-428f-8a1d-3d8b380193b1.mp4

@echoby this happened after you've added seedValidationRow. If seedValidationRow is commented everything works fine. Please fix.

Please, recheck all cases when "Seed validation promo" appears

When opening (or creating a new) wallet, a "seed validation promo" appears (in wallet screen and in DApp wallet balance), this window cannot be closed, and an attempt to pass validation leads to the closure of the wallet
https://user-images.githubusercontent.com/85252690/157635198-7c940a54-7c38-4078-8dba-66d1666ab99c.mp4
https://user-images.githubusercontent.com/85252690/157635214-6e75839a-db49-40c7-beae-70131efbf62b.mp4

Checked


Should we set insecureSkipTLSVerify: false in the APIService for production clusters and how do we provide a proper certificate?

I couldn't help but notice that the APIService manifest https://github.com/kubernetes-sigs/prometheus-adapter/blob/master/deploy/manifests/api-service.yaml#L12 uses insecureSkipTLSVerify: true.
This means that the K8s Aggregator API would not verify the Prometheus' Adapter tls certificate.
In a production cluster, does it make sense to set the insecureSkipTLSVerify to false and instead provide a caBundle within the APIService? Is this how we're supposed to secure this connection?
I am not confident I understand how caBundle is supposed to work. Who is responsible for generating the caBundle certificates? How are those certificates getting injected into the Prometheus' adapter itself once we set them to the APIService caBundle?
In general, is there a documentation that explain best practices around how to setup prometheus adapter property for production clusters?

/triage accepted

We sadly don't have enough resources to look after support issues for prometheus-adapter right now.


Memory leak (Observed when running in loop)

DataHelper.zip
When running the load chart in a loop , the Memory occupied , as seen on TaskManager - > Chrome Tab continously increases by an increment of almost 10 MB (wait for 10 iterations to be there before the 10MB increment to be observed)

Unzip Datahelper.zip to Datahelper.vue, to be placed in the Tests, and go to Test 7

Continuous fetch of btcusdt and loading to chart is done (ideally different products are fetched in a loop, just maintained btcusdt as the product for simplicity sake)

Observe the DevTools -> Sources (Capture.png , screenshot attached),
Observe TaskManager -> Chrome -> particular tab increasing in memory (Capture2.png)

{  "version": "0.6.1", Windows 10, tried on Chrome/Firefox, npm ver 6.14.4}
Screenshot (if applicable)
Data Sample (if applicable)
The data sample must follow the current data structure.
Console errors (if any)
Additional Info
(if needed to reproduce the issue)
(tvjs version, OS, browser, npm version...)

@C451 , in the Vue dev tools , I have seen that ,
after 10-15 iterations,
on the
emit custom-event (Candles)
emit custom-event (Grid)
occurrence, corresponds to the 10 mb increment
Keep Vue dev tools->events open, and task manager open side by side, and monitor keenly

That's your task man. It doesn't involve a full understanding of the logic, so waiting a solution from you.

@C451  Oh, I thought you added me just as a viewer to monitor responses. My bad.
:), I would very much love to solve that.
I have been on that over the complete long weekend, but in vain.
Done all the trials and errors on it, with all my limited JS, Vue JS knowledge.
Any directions would be helpful, for me to take a look at it again

I have a similar situation with the memory leak. I created a repository with code which reproduce memory leak when I use the resetChart method many times.
Repository: https://github.com/vadymkop/TradingViewMemoryLeak
For run project do next:

Install dependencies with npm install
Run via npm run serve

In component "MemoryLeak" I created method updateChart. In this method, I created 2 cases for chart update with memory leak and without.
I hope it helps you to resolve the issue.

@vadymkop nice, guys from TradingView.com also have a leak B)

Sorry it`s typo. I mean trading-vue.

https://github.com/tvjsx/trading-vue-js/commit/996f83dd2a2cd9058ba1de1402959e0675431cb3 most likely solves the problem (at least for resetChart())

@C451 Thank you )

@C451 , @vadymkop  Thanks!
The rate of increase has decreased drastically, from 12 MB down to 3MB per iteration.

@test513607a you can explore further. I found the leak by commenting different sub-components starting from the root comp (trading-vue)


<<Serial_CAN_Module.h>> missing in the getRpm example

Dear Sir,
Please note that the library file called <<Serial_CAN_Module.h>> is not included in the getRpm example, as published here: https://github.com/Longan-Labs/Serial_CAN_Arduino/blob/master/examples/obd_demo/getRpm/getRpm.ino.
Arduino IDE 2.3.3 cannot retrieve it automatically.
Would you please provide the missing library files?
Thank you,
Yours sincerely,
Valentina Daddi VDPROJECT S.R.L. VDPROJECT.euTM<EMAIL_ADDRESS>https://www.vdproject.eu VAT no. IT02458030976

P.S. The message above is for the attention of Mr. Stephen Lo

Hi again,
You just need to copy the https://github.com/Longan-Labs/Serial_CAN_Arduino/blob/master/src/Serial_CAN_Module.cpp file and the related h file for each project - or at least write it somewhere to retrieve these more quickly. Usually code projects are expected to be complete before compiling.
Thanks anyway,
Yours sincerely,
Valentina Daddi VDPROJECT S.R.L. VDPROJECT.euTM<EMAIL_ADDRESS>https://www.vdproject.eu/ VAT no. IT02458030976

C:...\getSpeed\HardwareSerial.cpp:8:10: fatal error: io_pin_remap.h: No such file or directory
#include "io_pin_remap.h"
^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: io_pin_remap.h: No such file or directory

Please send all the files needed to compile and run the code, since you sell it with the Longan board for CAN. Thank you.


Revert #452: setExpectedState sets actualState synchronously

@neykov (cc @Graeme-Miller) can you review please?
As discussed in https://github.com/apache/brooklyn-server/pull/454 (due to the failing test in its PR build for LoopOverGroupMembersTestCaseTest.testMultipleChildrenWhichPass), a lot of places expect the actual state to have been calculated/set by the time that setExpectedState() has returned.
Short-term, it's better than we live with the race-condition fixed by https://github.com/apache/brooklyn-server/pull/452, rather than change the semantics of setExpectedState().

@Graeme-Miller yes the other change were left in deliberately.

Merging.

Build is successful, merging.

Aled got me to it :)


Setup automated coverage tests

Having a 100% code coverage is our goal.
In order to manage that, we should setup an automated coverage test process.
I'm looking at Coveralls right now.

Integration done.


Fix HTTPS on the Singularity website

We're a security tool, we shouldn't be causing HTTPS warnings...

Hrmm, I wonder how to fix that.. the site is hosted on GitHub Pages.
@bernardl, any ideas?

@bbockelm According to GitHub's documentation, "HTTPS is not supported for GitHub Pages using custom domains":
https://help.github.com/articles/securing-your-github-pages-site-with-https/
If you have other suggestions we can try it out.
Thanks!

Thanks Bernard! I'm closing the ticket because there doesn't appear to be anything we can do to fix (but if I'm mistaken, let me/us know and I'll reopen the ticket).
Thanks!


Make address_description not null

See https://github.com/firezone/firezone/pull/5273#discussion_r1633072066

Shipped last week


Docs: jest 15 disabled automock by default

Hi,
if we follow the setup instructions from the Readme, we get this nice warning from Jest:
The `unmockedModulePathPatterns` setting is defined but automocking is disabled in Jest.
Please either remove `unmockedModulePathPatterns` from your configuration or explicitly
set `"automock": true` in your configuration if you wish to use automocking.

  Jest 15 changed the default configuration for tests and makes Jest easier to
  use and less confusing for beginners. All previous defaults can be restored
  if your project depends on it. A comprehensive explanation of the breaking
  changes and an upgrade guide can be found in the release blog post linked
  below.

  Jest Issue Tracker: https://github.com/facebook/jest/issues
  Configuration Documentation: https://facebook.github.io/jest/docs/api.html
  Release Blog Post: https://facebook.github.io/jest/blog/2016/09/01/jest-15.html

This PR just higlight the different config needed depending on Jest's version.

This is great. Thanks so much!