Readme.md Updated

Update Readme.md   #12
Close #12
Checklist:

I have mentioned the issue number in my Pull Request.
I have updated a helpful and easy to understand README.md
I have improved the style  of  Description of project and insert various useful badges in Readme.md file.

Reverting the merge due to wrong changes


lateast 1.10 select button dispeared

days ago, it was there

Probably a merging issue from 1.9.3 ...

The select button only appears when selecting a media item using TinyMCE or the media field.  When browsing the media library, there shouldn't be a select button, because there's no action to do on the item.  I think this is by design.
Can you post the steps to repro?

day ago, it was there
On Mon, Feb 29, 2016 at 7:45 PM, Gustavo Tandeciarz <
<EMAIL_ADDRESS>wrote:

The select button only appears when selecting a media item using TinyMCE
or the media field. When browsing the media library, there shouldn't be a
select button, because there's no action to do on the item. I think this is
by design.
Can you post the steps to repro?
—
Reply to this email directly or view it on GitHub
https://github.com/OrchardCMS/Orchard/issues/6489#issuecomment-190471964
.

--
Thank you for your attention
Yours
GUANG ZHENG (Andy)
140 Glen Springs Dr. • Toronto, ON • M1W 1X8 •

647-667-7538 *


[Bug]: Too restrictive typings for TomLoadCallback

Bug description
Examples for loading remote data  shows the callback taking one and zero arguments. Typescript typings have defined TomLoadCallback to take two arguments : loadCallback(options: TomOption[], optgroups: TomOption[]): void;
Expected behavior
Typings should treat all parameters as optional.
Steps to reproduce
Use the following code in TypeScript
new TomSelect(accountSelect, {
    load: function (query: string, callback: TomLoadCallback)
    {
        var url = 'https://api.github.com/search/repositories?q=' + encodeURIComponent(query);
        fetch(url)
            .then(response => response.json())
            .then(json =>
            {
                callback(json.items);
            }).catch(() =>
            {
                callback();
            });
    }
});

This will show errors for the usage of callback.
Additional context
N/A

Can you please provide a self-contained reproduction on https://www.typescriptlang.org/play and call out specifically what errors you see? Thanks!


Decouple lite mode and client-side PrivateSend

This allows client-side mixing on pruned nodes running in lite mode.
Redefines fEnablePrivateSend and -enableprivatesend:

off by default in lite mode and on in full mode (but can be overridden in both modes);
does not start mixing anymore.

Introduces fPrivateSendRunning and -privatesendautostart (default is off). Use this to start mixing automatically (or privatesend rpc to start mixing manually).
Also, privatesend_balance is shown in rpcs regardless of lite mode or PS state now.

Travis is green after manual restart https://travis-ci.org/UdjinM6/dash

Rebased to fix conflicts after #2936

fEnablePrivateSend controls not only the UI but also some wallet code (which was initially the reason it was added back then when ps balance calculation was horribly slow).

Was there ever any change for the error message if a user launches in lightmode but doesn't -enableprivatesend and tries to run PS commands?

@PastaPastaPasta ah, I see what you mean now, wasn't clear before :)

Added 7050f08, pls re-review.

Rebased to fix merge conflicts after #2992 (added a couple of gArgs.s)


Problem with reusing a repository name that was just deleted

Gogs version (or commit ref):  <IP_ADDRESS>1
Git version: 2.11.1.windows.1
Operating system: Windows Server 2012 R2
Database

[x] SQLite

Can you reproduce the bug at https://try.gogs.io:

[x] Yes

If I delete a repository, but then immediately re-create it using the same name, I get a 500 error.
If I wait a couple of minutes and try again, it works fine.
The log showed this on my first attempt to recreate the repository.
2017/02/21 10:58:37 [TRACE] action.newRepoAction: DRS/DRSQuadrantCharts
2017/02/21 10:58:37 [ERROR] [...routers/repo/repo.go:144 CreatePost()] CreatePost: initRepository: initRepository: path already exists: e:\gogs-repositories\drs\drsquadrantcharts.git
2017/02/21 10:58:37 [TRACE] Template: status/500

Having seen this in the log, I checked to see if the folder really did exist and it didn't, which is what prompted me to try again.  This next attempt worked.
Doing the same thing on try.gogs.io gives the same problem.

Should be fixed now! New release in few hours.

is there a work around for this issue for those of us using the <IP_ADDRESS>1 binary?  I ran into the issue while repeatedly testing an SVN to git migration script that would continually delete and re-add the same git repository

Why not upgrade to the new release?

wow talk about a fast response! you mean compile from source?  I guess I could do that. I was just wondering if this was an issue I could temporarily work around until a new binary was released by running some command at the prompt (i.e. removing some temporary file or restarting gogs etc)

No, I mean, new binary release just came out today: https://github.com/gogits/gogs/releases/tag/v0.10rc

Thank you sir! I was unaware.

@master-d No problem. You can subscribe the newsletter: https://twitter.com/GogsHQ


Press 3 keys

Great project!
I am trying to  do Ctrl + Win + D (on Ubuntu this hides all the open windows and shows the desktop).
How might one go about doing that?
Thank you.

Hey @iamtekeste! You can do this with keyTap or keyToggle! It actually accepts a string or array as a modifier, I still need to update the documentation. For example:
keyTap('D', ['command', 'control']);

Let me know if this works!

I just tried it and worked flawlessly! It minimized all the open windows and showed the desktop.
Your rock man! You should definitely mention this on the documentation. I think am gonna release this functionality as a CLI module.
Why not right?


Temperature set to F for Fahrenheit?

Hi -- great card. For US users, is there a way to set the temperature to display as "F" instead of "C" ? Thanks

Duplicate of #11  .. appears there is a PR ready for review.


Added Support for Bose SoundTouch 10 and Bose SoundTouch 300

Measure power using the measure utility and Pink Noise for two bose devices.

Ive done some manual measurements and updated the values! think we are good to go!


[QA] DAO link not working on Point of Interest

Explorer Alpha build version:
0.3.160-main-251ca6c
Issue Description:

Clicking the DAO link on the map filters is not working
Steps to reproduce:

Open the map -> Filters
Click the DAO link next to Points of Interest

Expected behaviour:
We are taken to the DAO page
Current behaviour:
Link is unresponsive
Reproduction rate:

[ ] < 10%
[ ]  < = 25%
[ ]  50%
[ ]  < = 75%
[x]  100%

Severity:

[ ] Cosmetic
[x] Minor
[ ] Medium
[ ] High
[ ] Critical
[ ] Blocker

Priority:

[ ] High
[ ] Medium
[x] Low

Platforms / OS:

[ ] Windows 11
[x] Windows 10
[ ] Mac Sonoma
[ ] Mac (specify the version on Additional Notes)

Evidence:
Additional Notes:

Already fixed in main


hot.status() returns wrong value

I submitted the issue by mistake, I'm updating it.

Bug report

**What is the current behavior?
module.hot.status() the status string fed to the status handler (registered via module.hot.addStatusHandler() is different in some case.
If the current behavior is a bug, please provide the steps to reproduce.
module.hot.addStatusHandler(s => {
        console.log(`handler given ${s}, hot.status() is ${module.hot.status()}`);
   });

In console:
handler given check, hot.status() is check
handler given prepare, hot.status() is prepare
handler given ready, hot.status() is ready
handler given dispose, hot.status() is dispose
handler given apply, hot.status() is apply
handler given idle, hot.status() is idle
handler given ready, hot.status() is idle # this is wrong

What is the expected behavior?
The last line of the console output: it should be
handler given ready, hot.status() is ready # expected

Other relevant information:
webpack version:  4.41.2
Node.js version:  10.5.3
Operating System: Linux
Additional tools: N/A

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.

@evilebottnawi  Hi I updated the issue, please re-open it, because I can't find the button to re-open it myself.

Update: in the source code of Webpack, I suspected the bug is in HotModuleReplacement.runtime.js, and specifically this:
// Management API
			check: hotCheck,
			apply: hotApply,
			status: function(l) {
				if (!l) return currentStatus; # here?
				registeredStatusHandlers.push(l);
			},

I checked how signal handlers are called (called by setStatus()), and it seems fine.
I might be wrong, though.

Opened another issue.


Testing model not working

I have tried to run upperbound model testing with make test_no_rsu and make test, but getting the same error. Main error message is TypeError: forward() missing 1 required positional argument: 'bevs' in CoDetModule.py. The same error message when I ran with rsu=1 Below is full error message. Let me know if you know the cause or ever faced a similar issue.
I'm downloaded checkpoints for upperbound from preprocessed folder. For test folder, I manually divided the dataset.
(coperception) jju4@amax:~/coperception/tools/det$ make test_no_rsu com=upperbound
python test_codet.py \
--data /home/jju4/data/V2X-Sim-2.0-mini/det/test \
--com upperbound \
--resume logs/upperbound/no_rsu/epoch_100.pth \
--tracking \
--logpath logs \
--apply_late_fusion 0 \
--visualization 0 \
--rsu 0
Namespace(apply_late_fusion=0, box_com=False, com='upperbound', compress_level=0, data='/home/jju4/data/V2X-Sim-2.0-mini/det/test', gnn_iter_times=3, inference=None, kd_flag=0, kd_weight=100000, layer=3, log=False, logpath='logs', lr=0.001, nepoch=100, num_agent=6, nworker=1, only_v2i=0, pose_noise=0, resume='logs/upperbound/no_rsu/epoch_100.pth', resume_teacher='', rsu=0, tracking=True, visualization=0, warp_flag=0)
device number 4
flag upperbound
The number of val sequences: 100
The number of val sequences: 100
Validation dataset size: 100
Load model from logs/upperbound/no_rsu/epoch_100.pth, at epoch 100
([('/home/jju4/data/V2X-Sim-2.0-mini/det/test/agent1/0_0/0.npy',)], [('/home/jju4/data/V2X-Sim-2.0-mini/det/test/agent2/0_0/0.npy',)], [('/home/jju4/data/V2X-Sim-2.0-mini/det/test/agent3/0_0/0.npy',)], [('/home/jju4/data/V2X-Sim-2.0-mini/det/test/agent4/0_8/0.npy',)], [('/home/jju4/data/V2X-Sim-2.0-mini/det/test/agent5/0_0/0.npy',)])
Traceback (most recent call last):
  File "test_codet.py", line 586, in <module>
    main(args)
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "test_codet.py", line 283, in main
    data, 1, num_agent=num_agent
  File "/home/jju4/coperception/coperception/utils/CoDetModule.py", line 431, in predict_all
    bev_seq, trans_matrices, num_all_agents, batch_size=batch_size
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 171, in forward
    outputs = self.parallel_apply(replicas, inputs, kwargs)
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 181, in parallel_apply
    return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 89, in parallel_apply
    output.reraise()
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/_utils.py", line 543, in reraise
    raise exception
TypeError: Caught TypeError in replica 1 on device 1.
Original Traceback (most recent call last):
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 64, in _worker
    output = module(*input, **kwargs)
  File "/home/jju4/miniconda3/envs/coperception/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
TypeError: forward() missing 1 required positional argument: 'bevs'

make: *** [Makefile:117: test_no_rsu] Error 1

Hi @ulmasovjafarbek , I freshly cloned the code to my machine but was not able to reproduce your error:

Did you make any changes to the code? The line 431 that the output above is referring to is actually line 430:
https://github.com/coperception/coperception/blob/bbe357f529e0c391ae4e3d9ae6d83e8ce906dcc0/coperception/utils/CoDetModule.py#L430

Thank you, this makes it clear.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

All thing have finally been resolved .


feat/better intellisense

This is a breaking change as the named export changes. However, all other marked extensions do not have 'marked' as prefix in their named exports. If merged, should be done separately and after #166
EDIT: it seems there is not really a pattern..
there is markedHighlight & markedSmartypants, but there is also gfmHeadingId & baseUrl, so I'm not sure what should be the norm. Feel free to close

Ya I like having the marked prefix. It makes it easier to know that it is a marked extension without having to rely on intelligence.

Semantically I prefer the default export as it can be named any way the consumer likes (and technically, because it was the only one that mapped 1-to-1 with module.exports without needing major refactoring), but I understand the mess you can get into once you mix default export with named exports. Just curious, do you plan to "align" the extension names to have a marked prefix in the future?

No plans. Many extensions are starting to be created outside of marked so I wouldn't have any control over that anyway.
Many extensions are default exports especially since it makes using them on the front end easier. For example to use markedSmartypants with a script tag you have to access it from markedSmartypants.markedSmartypants() since the exported object is the global and the function is a property of that object.
Would be nice to get everything aligned but I don't think it is as simple as changing everything to a single way since each way makes more sense for some extensions than others.


TeslaMate divides each drive into little bits

Describe the bug
Each of my drives are being recorded, but divided up into little tiny bits, which makes it count each bit as an individual drive in itself.
Expected behavior
Every drive should be listed as one combined.
Going on a drive.
Relevant entries from the logs
I see some MFA exceptions in the log. Could this be connected to adding 2FA to my Tesla account??

paste logs here

Args: [#Function<3.4852099/1 in TeslaMate.Mqtt.PubSub.VehicleSubscriber.handle_info/2>, [display_name: "KITT"]]

14:19:50.932 [error] Task #PID<0.5083.0> started from #PID<0.5072.0> terminating
** (stop) exited in: GenServer.call(TeslaMate.Mqtt.Publisher, {:publish, "teslamate/cars/1/update_available", "false", [retain: true, qos: 1]}, 10000)
** (EXIT) an exception was raised:

    ** (ErlangError) Erlang error: :timeout_value

        (tortoise 0.9.5) lib/tortoise/connection.ex:328: Tortoise.Connection.connection/2

        (tortoise 0.9.5) lib/tortoise.ex:269: Tortoise.publish/4

        (teslamate 1.20.1) lib/teslamate/mqtt/publisher.ex:41: TeslaMate.Mqtt.Publisher.handle_call/3

        (stdlib 3.12.1) gen_server.erl:661: :gen_server.try_handle_call/4

        (stdlib 3.12.1) gen_server.erl:690: :gen_server.handle_msg/6

        (stdlib 3.12.1) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

(elixir 1.10.4) lib/gen_server.ex:1023: GenServer.call/3

(elixir 1.10.4) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2

(elixir 1.10.4) lib/task/supervised.ex:35: Task.Supervised.reply/5

(stdlib 3.12.1) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

nction: &:erlang.apply/2
Args: [#Function<3.4852099/1 in TeslaMate.Mqtt.PubSub.VehicleSubscriber.handle_info/2>, [update_available: false]]

Screenshots

Data

Environment

TeslaMate version:
Type of installation: Docker or Manual
OS TeslaMate is installed on:
User OS & Browser:
Others:

Duplicate of #1063


You ar not allowed to create a new array here, please change only a!

https://github.com/mustafaertekin/js-training/blob/1718282caa4c66802a397954a3116fc0ae398509/js/app.js#L97

a[2] = x;
a[3] = o;


Tests for roundtrip reading and writing

There needs to be a test to check, that reading and writing a file produces the sample result, as the original input file.
We may have to exclude the following, though: Comments, order of elements, unless specified in the standard. Encoding of optional columns (numeric vs string).

Fixed in 9307fb99e8b31532d3d8d95f14a44fd51cb86378


Update and Refactor Invalid Argument Handling

Update invalid argument handling for activations, triggers, rules, and namespace
Add negative tests for invalid arguments passed to all commands
Refactor action and package invalid argument handling

Fixes: https://github.com/openwhisk/openwhisk/issues/791

since many of these tests are the same and only changing the sub commands in a finite and factorable way, you can "generate" them with loop. See GoCLINginxTests for an example (line 86+).

PG1 213.

@mdeuser, anything else on this one?

PG2 122

@bjustin-ibm, can you merge if @mdeuser  doesn't have anymore comments?

@bjustin-ibm, ready for merge.

Rebased and merged as dd722eb0132db1796eceb38ff59be5f33850b034


Website don't show Filesystem Permissions for jdMinecraftLauncher

When viewing the Permissions of jdMinecraftLauncher, you see this:

So the Website says it has now Filesystem Permission. But when you look at the Manifest you'll see it has some:
  - --filesystem=~/.minecraft:create
  - --filesystem=xdg-data/applications:create
  - --filesystem=xdg-desktop:create

Probably the same cause as https://github.com/flathub/website/issues/1885#issuecomment-1703842938

Maybe fixed now?


Provide a tool to diagnose network setup issues

Desired behavior
Many new users run into problems using Gazebo due to improper network configuration. It would be great if we can provide a tool to diagnose the problem. As a first step, we can provide a tool like
https://docs.ros.org/en/rolling/How-To-Guides/Installation-Troubleshooting.html#enable-multicast that checks if there is a UDP multicast problem blocking discovery.
Alternatives considered
n/a
Implementation suggestion
This could be a gz command.
Additional context
Related issues:
https://github.com/gazebosim/gz-sim/issues/1879
https://github.com/gazebosim/gz-sim/issues/2285

Hi @azeey, thank you for bringing this issue.
I have just recently installed ROS2 and Gazebo and I ran into this issue.
I think just having a timeout and an error message with suggestion to enable multicast would be of great help to new users. As a user trying to troubleshoot this kind of issue it would not be my first thought to run a separate gz command for network diagnosis - here is why.
Before I realized that it was sufficient to Enable multicast, I had troubles understanding what the real problem was. My first thought was about graphics driver configuration.
Only after using verbose output with -v 4 debug level did I understand that the issue was rather network related and only then was I able to find this related issue: https://github.com/gazebosim/gz-sim/issues/2285


refactor: add button type button

Add type for button
https://html.spec.whatwg.org/multipage/input.html#button-state-(type=button)

Hi! @sergeche
This repository is still alive?

Thanks :)


register user

Hi, when a user creates a login on the website, they have permission to access the admin.
There should be a lock if you are not an admin, the user cannot have access to create posts, edit and delete.

@michelmelo Hello!
Thanks for finding the bug! I or one of the contributors will fix it in the near future.

NOTE: This repository is no longer supported or updated by @gomzyakov . If you wish to continue to develop this code yourself, we recommend you fork it.


Error when trying to run tensorboard --logdir=some_path

Hi,
I am using python 2.7 on Mac 10.11.4.
I get errors when I am trying to run tensorboard --logdir=path
where path is some path I have specified, i.e. 'visualizations'
It correctly creates the directory visualizations in my current working directory, but
if I run: tensorboard --logdir=path, I get:
SyntaxError: can't assign to operator
If I try: tensorboard --logdir=visualizations, I get:
SyntaxError: can't assign to operator
If I try: tensorboard --logdir=/visualizations/, I get:
SyntaxError: invalid syntax
Please help me! And I would really appreciate an explanation for this, as I am relatively new to all this.
Thanks a lot in advance!

What are the full error messages?

What was the solution to this? I'm facing the same issue.

You need to run it in the terminal!

inside jupiter....
%%sh
tensorboard --logdir=log_simple_graph # shell command

Run this :
tensorboard --logdir==training:your_log_dir --host=<IP_ADDRESS>
and then open in chrome

Hi there,
all worked fine for  me until I accidently double-clicked the "Reset Spyder Settings.py"...
I got the error messages described above, when trying to serve the Tensorboard directly through Spyder console.
Solution for me: run the tensorboard call directly from Anaconda Powershell.


Ability to turn on navigation

Does this package have the ability to turn on navigation? I.e. walking paths to get to a location?

Yes, when you hit a marker a "Navigate to" button appear on the bottom right corner of the map.

@dhdo I have the toolbar enabled and when I click on a marker no buttons show up. What else could I be missing?

I am having a somewhat related issue... On press the marker does not reveal the toolbar it is only when I interact with the container component that the toolbar appears really bizarre behavior

Same here @comountainclimber , I've got two map containers in my app. One of them shows the toolbar correctly on marker press. Other one doesn't. I've searched after differences between the two, but haven't found anything which fixes the toolbar in the first one. (tried adjusting style, onMarkerPress functions, rendering sequence (first one is rendered on startup), ... i'm stuck 😢 )

See https://github.com/airbnb/react-native-maps/issues/549 for a hacky solution I thought of.

@MatthiasDebaere
Is your hacky solution exclusive to Android? is there a way to turn on navigation for IOS?

Closing as it's an old question. Please comment to reopen.

Duplicate of #778


It may be better to use WORKDIR /repo  instead of  WORKDIR /home/repo  in dockerfile

Reason:

Closing with d52a5d5


isIVM fix for similar but non IVM symbols.

#202
Instead of throwing on all symbols with $ion_ we now throw on $ion_(0-9xxx...)_(0-9xxx...) when not exactly $ion_1_0.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I believe all comments were addressed.

I believe I've responded to comments, let me know!


Update load-balancer-outbound-rules-overview.md

Update maximum SNAT ports to current value of 51,200 (not 64,000).

@davegoddard : Thanks for your contribution! The author, @KumudD, has been notified to review your proposed change.

@KumudD i'm ok with this change, hopefully this defect can be removed soon.

#sign-off


Damnation (2009) (Blue Omega Entertainment) not run

Good day. There is a problem starting this game with DXVK + dgvoodoo2. The game starts launching and then crashes.
If run only with DXVK or dgvoodoo2, then everything works fine. But I just need them to work together, since dgvoodoo2 has an upscale screen resolution, even if I set a low resolution in the game, the game itself remains in the native resolution of the monitor. At the same time, the HUD remains as it should be, that is, not small, even the subtitles are clearly visible.
With another game, I managed to achieve this effect.
In the dxvk.conf settings, I did not find the option to scale resolution at high resolution. Anisotropia and msaa anti-aliasing does not work either. And in dgvoodoo2 it works correctly.
System information

GPU: Nvidia GTX 1070
Driver: 451.67
Wine version: i use Windows
DXVK version: 1.7

Log files
DamnGame_d3d11.log
DamnGame_dxgi.log

@legionpheonix If you are still around are you able to test this again with latest dxvk/dgvoodoo2/driver ?

So I've tested this a bit on the Nvidia setup.
This works fine when i tested on linux through proton, but doesn't work with dgvoodoo2 + dxvk on windows no.
I am guessing warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter means on windows it loads windows own dxgi since it's the same if i only leave the dxvk d3d11 file in place.

Looks like dgvoodoo is trying to load DXVK from C:\Windows\system32 instead of the application folder.
Nothing we can do in that case and it's one of the reasons why Windows is not a supported platform for DXVK.


pca_plots.R should treat integer --group variables as factor

This script should treat integer variables specified by --group as factor so the coloring on pairwise plots is by discrete color, not a gradient

see 499d473


[BUG] HTTP Response Error in Log

Describe the bug
Since updating to v2.0.0-nightly I often get following error message in the log. Everything works as expected as I can see.
[11/25/2020, 8:40:32 AM] [dingz] HTTP Response Error ->http://<IP_ADDRESS>/api/v1/dimmer/2/off/
[11/25/2020, 8:40:32 AM] [dingz] Request failed with status code 404
[11/25/2020, 8:40:32 AM] [dingz]
[11/25/2020, 8:40:32 AM] [dingz] 404
[11/25/2020, 8:40:32 AM] [dingz] {
  connection: 'close',
  'content-type': 'text/html',
  'content-length': '0',
  'access-control-allow-origin': '*'
}

To Reproduce
Install v2.0.0-nightly, check log
Expected behavior
no errors in log
Plugin environment (please complete the following information):

dingz/myStrom Device Firmware Version [e.g. 1.49.0]
Homebridge Server: [e.g. Homebridge Docker]
Plugin Version [e.g. 1.5.0]
Node.js Version [e.g. 14.1.0]
Homebridge Version [e.g. 1.1.0]
Special settings [e.g. with/without auto-discovery]

Screenshots and Logs
If applicable, add screenshots to help explain your problem.
You can enclose log files, JSON output from API endpoints and other output in a code fence like this:
```
Code or Log output
```

This makes it easier to read for the developer (and yourself). You can even add the language used for better formatting:
```json
{
    "employee": {
        "name":       "sonoo",
        "salary":      56000,
        "married":    true
    }
}
```

will be rendered as
{
    "employee": {
        "name":       "sonoo",
        "salary":      56000,
        "married":    true
    }
}

Additional context
Add any other context about the problem here.

Will be fixed when 70e88aa7c3eca0dc2f57f6ddc6dee7e391b2b269 is merged into master (with the upcoming v2.0.0 release. Nightlies should already have fixed it.


Deployment Upgrades

This PR should be reviewed after #43; once 43 is merged the duplicate commits should be hidden from this PR.
This PR has a few changes to the kubernetes deployment to improve reliability and deployment ease.
ReadinessProbes
Fixes #47
I added two ReadinessProbe configurations: one to redis and the other to virtuoso (commits a266898454aa7194e7d360c74f39667e2d090d17 and 6d6306cbaf77acdd49df9de54905e2f112c506bb). This allows us, at the deployment level to really know when either of these are ready for use by other pods.
The only thing that I'm not totally satisfied with here is that the Virtuoso probe tests to see if Virtuoso is online. There's one step between Virtuoso coming online and being ready that isn't being accounted for-the enable update step. Since the process that enabled the sparql update is also waiting for virtuoso to come online, it executes with a 1 second delay (this number comes from the enable-query shell script) so it's probably unlikely to cause any issues.
An alternative approach is to have the sparql-update script write to the filesystem when complete. K8 ReadinessProbe supports checking if files exists. Since the file will only exist when virtuoso is online and has sparql updates enabled it could be a reliable check. I didn't go with this method because it start to get a little convoluted and the code would start to be bound to deployment logic.
Ordered Deployment
Fixes #47
I added a deploy script for restarting deployments and for creating new ones. These should come in handy for any developers working on Slinky (restarting deployments is common). It should also reduce the chance of race conditions while deploying on production now that deployments wait for each other.
Completed in 5f15ce7
make start: Starts the deployments

`make stop`: Deletes the deployments

make restart: Restarts the deployment

CephFS
Fixes #46 completed in 97c5441
The deployment is no longer using slinky-pv and slinky-pvc, which I've deleted off of the development server. Instead, the new cephfs definitions are in place.
Deployment Documentation
Fixes #36
I added some much needed kubernetes documentation around the deployment in 72ddb38. It also includes updates around deploying with the makefile.
Dockerhub Account Change
To clear up issue #49 I created a new account on dockerhub and google, slinkythegraph. The google account has my work email as a secondary address in case the credentials are lost. In f58aaff I went ahead and changed the deployment files to use the new location.
Testing
The main thing to test is the new deployment makefile.

Checkout this branch
Navigate to deploy/
Run make help
Confirm that there's enough information displayed
Run make stop to stop any potential deployments
Run make start to start a new slinky stack deployment
Confirm that the deployments wait for each other before continuing
Run make restart
Confirm the stack is torn down and brought back up

To test CephFS:
The goal of these tests are to confirm that the deployment is mapped in the yaml files and that triples are produced and insterted into Virtuoso

Switch to the dev-k8s user
Delete the slinky cephfs PV
kubectl apply -f deployment/slinky-pv.yaml
Switch to the dev-slinky user
kubectl apply -f deployment/slinky-pvc.yaml
make restart
kubectl proxy
Visit http://<IP_ADDRESS>:8001/api/v1/namespaces/slinky/services/virtuoso:virtuoso/proxy/sparql
Run a sparql query to confirm slinky triples

To test docs:
The goal here is to construct a mental picture of

The deployment/pod landscape
The interaction between pods
Deployment

If there are any questions or unclear concepts in the documentation I can extent the docs further in these areas.

Thanks for the changes, @ThomasThelen. The added docs and dockerhub account change look good.
Re: CephFS: I see a PV def in there but I was expecting not to since we had been talking about dynamic PVs. Were you thinking we could do this in the future and that we wouldn't need a manually-defined PV? We can follow up about this post-merge.

Good point @amoeba. I'm going to leave #46 open for the moment while this gets sorted out.


Dead Link not recognized!!

Challenge Make Dead Links using the Hash Symbol has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 The instruction states:

Replace the value of your a element's href attribute with a #, also known as a hash symbol, to turn it into a dead link.

Note: This page is for only posting issues relating to the functionality, maintenance, or improvement of the site. If you want help/guidance in the challenges please seek help from other campers in the various help rooms or even the forum itself. I recommend the Help room for html/css/jquery related questions or challenges. Thanks!

@Eliphas33 Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


⚠ Bofrost.lu has degraded performance

In 60bea59, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1165 ms

Resolved: Bofrost.lu performance has improved in d18d9f9.


add proper networking

Hello,
I took some time to enhance jsdom networking.
I added a new XMLHttpRequest implementation based on "w3c-xmlhttprequest" but using "request" for requests and "deasync" for the synchronous mode.
I added some request management options (see pool, agentOptions and custom loader in the readme file).
I added some tests from "web-platform-tests" XMLHttpRequest tests but using the python server. This implies to add the "web-platform-tests" hosts in order to be able to start all tests.
Everything seems ok with Travis : https://travis-ci.org/nicolashenry/jsdom/builds/81976743

Wow!! This looks amazing.
I am going to review and leave lots of nits, but please don't let them discourage you. You've implemented a lot of stuff here, which is so great.

FYI I have added ESLint rules that enforce a lot of the style issues I was talking about. Hopefully that will make it easier. But, they do not yet enforce using classes instead of Object.defineProperty and functions.

I am currently trying to change everything about your remarks, it will take me some time.

Did a quick skim while at work and things are looking great; thanks so much for taking the time to update. I'll do a more in-depth review after work, and in the meantime I'm happy to answer any questions. You can also bug us in the #jsdom IRC channel on freenode.

Just a head ups, last time I checked "leaking" arguments causes a lot of performance issues in v8 (node/chrome). For example function() { someFunc(arguments) }.
This is why you often see something like this in jsdom:
function doSomething() {
  const args = new Array(arguments.length);
  for (let i = 0; i < arguments.length; ++i) args[i] = arguments[i];
  somethingElse(args.slice(1));
}

I have even seen some projects (bluebird) that use a precompiler for this purpose.
Note that, func.apply(something, arguments) has been special cased in v8, and does not cause performance issues. I could imagine that Array.from is also special cased (but it probably is not). I'll see if I can test this.

.apply is the only special-cased function for arguments. Can't even alias it and access it via the alias....

arguments is still useful to get optional parameters :
"use strict";

class Blob1 { constructor(arg1, arg2) {  } }
class Blob2 { constructor() { const arg1 = arguments[0]; const arg2 = arguments[1]; } }

console.log(Blob1.length) // => 2
console.log(Blob2.length) // => 0

For example, see http://w3c-test.org/FileAPI/blob/Blob-constructor.html :
  assert_equals(Blob.length, 0, "Blob.length should be 0.");

Yeah of course, it's just important to not access/provide it anywhere without either an index, or .length.

OK, all reviewed! Only a few minor nits and questions. I will pull this in after your next revision. Thank you so much, this is amazing work!!!

I finally managed to merge this! Thank you so much. Here are the commits:

2c8933905e9b81436843fe8d429918876a277e54 for your original work
3eae7e0650853133be918173bc2f5ec5b5cdca2e for some additional work on the test runner
a3f608a3abc825af89ecac1b4abec216c3aaf34a to disable some tests which failed when I ran them on my Windows machine. They all seem to have to do with the error event. If you have a chance to look in to these, I would be very grateful. But I understand not everyone has Windows and so I can certainly do it myself.

Thank you so much for this truly amazing contribution to jsdom. I hope we can see more of you in the future!


可否不入侵业务代码？

https://juejin.cn/post/7301516165384929318
https://github.com/wenps/vitePluginAutoI18nDemo
能否像这样，不入侵业务代码？也就是说，可以不转化为 $t()

不支持这种。这个需求和打包工具太耦合，需要给vite、webpack等工具专门去做插件。而且通过编译注入，这个实现方式有个问题，就是不方便定位bug

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。


PTX IF render patch

Ref https://github.com/tinygrad/tinygrad/pull/6413 & https://github.com/tinygrad/tinygrad/pull/6405

so you en up creating two branches for one IF/ENDIF?

Yes, that's correct. The alternative is to have the start of the uop.IF check the inverse of the src[0], and if it's true (i.e. the IF clause isn't met) skip to the uop.ENDIF, but that seemed a bit more complex to me. I'm happy to switch it over to that though if you think it's better to only have the one branch.

I think a one branch approach is possible, can you try to make it as simple as possible?
I'd also look into what other compilers doo, you can disassemble what CUDA does with DEBUG=6.

why is it different from CUDA=1 DEBUG=5 python3 test/test_renderer_failures.py TestPTXFailures.test_gated_store_with_if

It looks like CUDA is doing the inverting when creating the bool variable itself. And then if true, skip over the below block and skip to the $L__BB0_2.
PTX is keeping the bool the same as the METAL generated code, and then if it's not true, skips over the below block. Do we want it to instead invert the bool when generating the variable and then just check if that's true to determine whether to proceed?
CUDA:
 15 .visible .entry test(
 16 	.param .u64 test_param_0
 17 )
 18 .maxntid 4, 1, 1
 19 {
 20 	.reg .pred 	%p<2>;
 21 	.reg .b32 	%r<3>;
 22 	.reg .b64 	%rd<5>;
 23
 24
 25 	ld.param.u64 	%rd1, [test_param_0];
 26 	mov.u32 	%r1, %tid.x;
 27 	setp.eq.s32 	%p1, %r1, 0;                           // <-- %p1 gets set to true if %r1 == 0, whereas in the METAL gen code and PTX generated code, the if is checking if it's not equal to 0.
 28 	@%p1 bra 	$L__BB0_2;
 29
 30 	cvta.to.global.u64 	%rd2, %rd1;
 31 	mul.wide.s32 	%rd3, %r1, 4;
 32 	add.s64 	%rd4, %rd2, %rd3;
 33 	mov.u32 	%r2, 1;
 34 	st.global.u32 	[%rd4], %r2;
 35
 36 $L__BB0_2:
 37 	ret;
 38
 39 }

PTX:
	.reg		.u64 %dat_u64_<1>;
	.reg		.s64 %const_s64_<1>;
	.reg		.s32 %const_s32_<2>;
	.reg		.pred %cast_pred_<1>;
	.reg		.s64 %cast_s64_<1>;
	.reg		.s64 %alu_s64_<2>;
	.reg		.u32 %lidx0;
	ld.param.u64	%dat_u64_0, [data0+0];
	mov.b64		%const_s64_0, 0;
	mov.b32		%const_s32_0, 1;
	mov.b32		%const_s32_1, 2;
	mov.u32		%lidx0, %tid.x;
	setp.ne.b32	%cast_pred_0, %lidx0, 0;                               // <-- %cast_pred_0 get set to true if %lidx0 != 0
	cvt.s64.s32	%cast_s64_0, %lidx0;
	shl.b64		%alu_s64_0, %cast_s64_0, %const_s32_1;
	add.s64		%alu_s64_1, %alu_s64_0, %dat_u64_0;
	@!%cast_pred_0	bra ENDIF_cast_pred_0_10;
	st.global.s32	[%alu_s64_1+0], %const_s32_0;
	ENDIF_cast_pred_0_10:
	ret;

if I'm not merging this it's because this isn't the right place to put the fix.
This must be in graph_rewrite, renderer can't change compute,
I'd also question why test_arange_big is correct in master.

Ok, sorry I didn't pick up on that sooner. That explanation makes sense.
I set up the alteration as a part of the ptx_matcher which will be called during graph_rewrite. I also made the change in the draft if gated stores rewrite PR to ensure it works for all cases and not just this simplified one https://github.com/tinygrad/tinygrad/pull/6405.

I'd merge a generic version of the rule for TestOps.test_arange_big.

@Qazalin by "a generic version of the rule for TestOps.test_arange_big", do you mean the rewrite rule that converts the CMPNE ALU to an XOR ALU (https://github.com/tinygrad/tinygrad/blob/master/tinygrad/renderer/assembly.py#L46)? I'm a bit confused as to how a generic version of that would work since the ALU could be a parent of other UOps, so I thought we'd only want to invert the ALU that is inside the IF UOp.

Would that replace the need for the other rule?

No, but I don't understand what other rule you could be referring to.


[flutter] unify reassemble and fast reassemble

Modifies fastReassemble to a be a special case of regular reassemble, which should remove the potential for large performance deltas.
Now that the new invalidations strategy is the default, fast reassemble should be triggered more often. This adds special cases to regular reassemble to:

Skip reassembling Elements until it reaches the first element that matches.
Skip RenderObject reassemble if we know that change was from a class member (fixes https://github.com/flutter/flutter/issues/84357 )

After this change, we should enable by default on master/dev/beta, along with some communication on changing behavior. That should give us enough information to make a call on whether this can be the default, or whether we should pull this out entirely.

This changes the API of reassemble in order to pass the config through, but leaves it the same for Elements/State objects since users / widget library authors may have made their own implementations here

Still adding more tests

tests added


AMD

See #143
This PR adds basic WebGL2 support (it runs, adds WebGL2 VAO support, otherwise lots of features still TBD), and switches the module system to use AMD and the builder to use Webpack+Babel so you can use ES6 features and compile down to ES5/IE
The chrome extension works in both release and debug mode and embed.js seems to work in both release and debug mode. Also tested firefox in release. Safari I can't test as the extension no longer works even without these changes, see #145
A few caveats: Because the debug mode uses require.js there are issues with using debug mode on pages that use require.js themselves. There is a workaround. Non-debug mode does not have that issue. See readme.md
Another issue is in debug mode things are finicky in that it's possible window.onload could fire
before getContext has been wrapped. At the moment it seems to be working but just in case, for those cases you can (debug mode with embed.js only) you can wait for gliready instead of load. In other words assuming you have some code like this
window.onload = runMyApp;

You'd change it to
window.addEventListener('gliready', runMyApp);

Again, only when using embed.js in debug mode. In non debug mode there's no issue. Also mentioned in readme

Still reading through this, but it looks fantastic Gregg!

Would you like to merge this soon, or are you planning to continue updating this PR? There were a few TODO's in there (like the vertex array not refreshing) but if you're planning on adding more to this PR that's fine.

I'd like to merge this if that's ok. I don't think there's any loss in functionality and the AMD changes are pretty big and would make it harder to merge other changes later if someone happened to work on the non AMD version.
I have another PR waiting and more coming.
As for the TODOs I scanned over them and I don't see any I wrote. They're all copied from code I cribbed. I think the refresh comment you're referring to is copied from BuffersTab.js


Clicking the Editor menu's doesn't work properly.

Godot version:
3.2.0 and 3.2.1
OS/device including version:
Windows 10 x64
Issue description:
Clicking the editor's menu (eg. Scene and Import Buttons) doesn't respond as soon as you clicked it. the buttons will work only once you move your mouse away from the button. I don't have this problem in Godot 3.1.2. Btw, I'm using Laptop Dell Inspiron 14
Steps to reproduce:

Open the Editor
Click a button (eg. Scene, Import, Node, Inspector, etc)
The input doesn't respond

By "using laptop" do you mean that you use a touchpad, and not a mouse? If so, do you have this issue with a mouse?

Duplicate of #23069. Try updating your graphics driver to the latest version provided by Intel. Alternatively, start the Godot editor with the --verbose command-line argument, which can also mitigate the issue.

Duplicate of #23069. Try updating your graphics driver to the latest version provided by Intel. Alternatively, start the Godot editor with the --verbose command-line argument, which can also mitigate the issue.

Duplicate of #23069. Try updating your graphics driver to the latest version provided by Intel. Alternatively, start the Godot editor with the --verbose command-line argument, which can also mitigate the issue.

Thanks, My driver is updated and I checked issue #23069, apparently, Turning Show Update Spinner solves the problem. Thanks again!


Issues to work on, apart from fixing typos in the documentation for a new contributor

Checklist

[x ] I'm asking a question
[x ] I've looked through the README and FAQ for similar questions
[x ] I've searched the bugtracker for similar questions including closed ones

Question

Hello guys, since I am new to GitHub and would pretty much love to make my first contribution to this project, but being a novice programmer doesn't help and I really don't know where to start.
Most difficult thing for me is to navigate through the different directories of the project and where to look to fix some  issues.
Could anyone help me achieve that by suggesting which folders to look at first and why, and give me a rough image of how the folders and scripts interact?
I know it is a very general question but I think that a starting point should be fine.
Thanks in advance.

Glad to hear of your interest. You could read #29310 (ask any related questions there).
One useful activity, that might also help in learning about the code and the processes involved, would be to go through some of the open Pull Requests, maybe from 2023, and check if

the code can be merged into the latest master without conflicts
the download tests run correctly (if not, ask the author for updated tests).

Hey @dirkf thanks for the swift answer, will do!

@KonstantineTzaferis
Did the other issue sufficiently answer your questions?
Is there anything left to do in this issue?
Please clarify or close.

Closing for now. OP or anyone else should @ me to take this further.


Add webpack and remove grunt

Fix https://github.com/gartz/pushStateTree/issues/12
Fix https://github.com/gartz/pushStateTree/issues/13

Coverage decreased (-31.6%) to 15.723% when pulling fc3c3b6289ec281ddebd450f02d1db899f4b0fff on feature/webpack into d30938a6b67c71b7bcbc2ffa44a167cfd5302b81 on dev.

Coverage increased (+0.9%) to 48.133% when pulling ccefe06900d6a655ade802d7b91e097fe1544e1c on feature/webpack into d30938a6b67c71b7bcbc2ffa44a167cfd5302b81 on dev.


autocomplete issues, repos, usernames for commit messages

This might be a little beyond the plans for this package, but it would still be great to have. I love the cross referencing on github, but keeping issue numbers and strings in mind for commit msgs is a hassle.
I also posted this over at the atom discussion.

I'm going to close this because I don't think this is a feature that fits with the rest of what the package offers and it's a pretty old issue now.
This is a feature that could be in a dedicated package, as part of atom-core, or as part of the language-git package because that is where the syntax recognition for commit messages comes from.


Upgrade webpacker and make it work on Cloud9

While pairing with @Elishebawiggins on her Cloud9 VM, we noticed a lot of extra work had to be done to get things working there:

Cloud9 only allows a very specific port range: 8080-8082
Rails runs on 3000 by default
webpack-dev-server runs on 8080, but C9 expects 8080 to be the main web app
Rails needs to have a hostname (not an IP address) to generate the <script src> URL, but webpack-dev-server needed to bind to <IP_ADDRESS> (not a hostname) and they use the same config option

A solution we discussed was to use foreman, but apparently webpacker 1.2 doesn't let us use environment variables in the YAML config the way database.yml does. Unfortunately, the webpack host needed to be dynamic.
This PR is the best solution I could find — it's basically just an upgrade of webpacker and some tweaked default config options. I created an account on Cloud9 to verify this branch works there (and added some workarounds to the README for things that didn't "just work") as well as deleted the entire app (DB and all) from my local machine to verify it works from scratch locally, too.
But once the instructions in the README were followed, rails s is all that's needed to run this both locally and on Cloud9. No separate webpack-dev-server process (I mean, I'm sure it runs, but Rails handles it and we don't need to care about it).

@jgaskins what's the status with this?

It's good to go. I'm not sure why one of the builds is failing. I addressed the failure in 584f1f8 in this PR.

OK @jgaskins I don't want to merge the code that breaks the build.  When you have a chance can you take a look at it please?  @bkemper  did you ever look at the code?

That's what I meant by addressing the failure:

I addressed the failure in 584f1f8 in this PR.

The failure in CI:
$ RAILS_ENV=development rake db:setup db:drop
rake aborted!
Gem::LoadError: You have already activated rake 12.0.0, but your Gemfile requires rake 12.1.0. Prepending `bundle exec` to your command may solve this.

The fix is already in this PR. Gem version mismatches are due to the build server running a different version of Rake than we have in our Gemfile — the rake command loads the rake gem, and then when Rails loads rake through config/application.rb, it's a different version. The fix is to run the rake command through bundle exec, as I did in this PR.


no negative "pi" for autocorr?

If, at least for certain settings, symmetry between positive and negative pi is guaranteed, it would be nice to be able to just call with that assumption... assuming it will not do that if I plug in no negative edges... (e.g., not sure how it decides positive and negative for autocorrelation with midpoint los).

Would you be fine with a wrap() method (or any other name that makes more sense to you), that would resum negative pi (or mu) onto positive ones? e.g.
corr = TwoPointCorrelationFunction('rppi', edges=(np.linspace(0., 100., 51), np.linspace(-20., 20., 41)), ...).wrap() would give the correlation function for (rp >= 0, pi >= 0) with edges (np.linspace(0., 100., 51), np.linspace(0., 20., 21)).
(I'd rather not add special cases on how edges are handled in TwoPointCorrelationFunction/TwoPointCounter depending on auto or cross-correlation or choice of line-of-sight).
To answer your question, no negative edges will (currently, to ensure backward-compatibility) be cast to symmetric edges (np.linspace(-20., 20., 41) above) while issuing a warning, and pair counts are totally symmetric for negative/positive pi in case of autocorrelation with midpoint line-of-sight -- except numerical rounding, or zero-separation pairs.

ok
exactly the same, except for pairs falling right onto a bin edge (pi/mu-binning being defined by pi falls in bin i if edges[i] <= pi < edges[i + 1], with first edge exclusive, though)
In case of autocorrelation, the loop goes through all unique i < j pairs, but these are binned twice, recomputing mu in case of firstpoint or endpoint line-of-sight. This takes a bit more time, but not twice as much since we're not looping through all pairs with associated distance calculation.
The wrap method should be implemented in 81b4774dcd168de56c6785e80b26e78d02c45aad. The code has been updated on NERSC.

Ok, thanks. (The wrap() is still nice to avoid needing to figure out what to do about the fact that otherwise rpar=0 appears somewhere in the middle of the array... not that this is hard once you understand it, but everything is friction...)


feat(ingest): Add DataHub source

Some remaining questions on deserialization and workunit ids -- see TODOs. Also needs to be more thoroughly tested, have only run on my local machine to a file sink. Already got one error from that test:
 'mysql_parse_errors': {'com.linkedin.pegasus2avro.common.CostCost is missing required field: fieldDiscriminator': {'cost': ['urn:li:mlModel:(urn:li:dataPlatform:science,scienceModel,PROD)']}},

which makes me think I should probably not try to deserialize into MCPWs
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@asikowitz, could you share how to use the datahub source  with file sink using the latest release of datahub cli?
I am getting errors, as It is likely because the latest version of the cli doesn't have this source (when trying to install this source it gives the warning WARNING: acryl-datahub <IP_ADDRESS> does not provide the extra 'datahub').
I'd like to print the urn information from my datahub instance to a file. The contents of my file-sink.dhub.yaml file are:
source:
  type: "datahub"

sink:
  type: file
  config:
    filename: ./file.json


Adding ruby 2.4.1 to travis-ci config

I'm using overcommit on ruby 2.4.1 .. it works sweet as!. Can we add it to the supported list by including in travis builds?

Awesome, thanks @Br3nda!


[Kernel] Cleanup act_order code from the MarlinMoE kernels

Remove act_order related code from the MarlinMoE kernel due to it being currently unused. Also assert that is_k_full is always true in these kernels (this is currently true for all codepaths).

Seems like we support g_idx for for gptq marlin moe?

@dsikka Yes, the original intent of this PR was to temporarily reduce it from MoE kernels because it's not well tested. I've wrote some extra tests for it that revealed that the implementation has a bug somewhere, so I'm planning to fix it and push to this branch. Maybe I'll close this PR and make another one with the fix to avoid confusion.


Improve 3D plot (egg to sphere)

closes #2

Codecov Report

Merging #3 (c81ac77) into master (04b2449) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   97.53%   97.54%   +0.01%
==========================================
  Files           4        4
  Lines         162      163       +1
==========================================
+ Hits          158      159       +1
  Misses          4        4

Impacted Files
Coverage Δ

eeg_positions/calc_positions.py
100.00% <ø> (ø)

eeg_positions/utils.py
96.87% <100.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #3 (c81ac77) into master (04b2449) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   97.53%   97.54%   +0.01%
==========================================
  Files           4        4
  Lines         162      163       +1
==========================================
+ Hits          158      159       +1
  Misses          4        4

Impacted Files
Coverage Δ

eeg_positions/calc_positions.py
100.00% <ø> (ø)

eeg_positions/utils.py
96.87% <100.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


Bracket Pair Colorizer Colors To Native VSCode

I'm very used to the colors in this extension and want to keep using the exact same ones. What do I need in my settings.json file to do that?

In your settings.json file try replacing the default colors with the extensions colors like this (The colors I've given are not the same ones as the extension):
"workbench.colorCustomizations": {
    "editorBracketHighlight.foreground1": "#5bb3b3",
    "editorBracketHighlight.foreground2": "#fac863",
    "editorBracketHighlight.foreground3": "#f99157",
    "editorBracketHighlight.foreground4": "#ec5f67",
    "editorBracketHighlight.foreground5": "#bb80b3",
    "editorBracketHighlight.foreground6": "#98C379",
}

Thanks for that and for one of the best, most useful extensions I've ever used!


[Feature Request] Web Config UI

To lower the threshold of getting start, it will be easier if you can come up with something that "run a command over ssh and get to use" solution. That means we can come up with a simle to use web UI to config (or basically for Homebase, just copying over my DAT url). It will be super cool.

Btw, I may be interested in implementing one next week if you don't have some time to do this. If you have ever heard about Jigsaw's Outline, it's Outline Manager is something I'm looking for, but I'd implement a web UI instead of a client software, since it's not really needed to be.

@laosb If I'm understanding your request right, Homebase already implements a standard webapi that will be used by both Homebase and Hashbase for exactly this purpose. The ultimate goal is that Beaker itself will have an interface for communicating with these "pinning services" and publishing to them. There are a few cases where you might still need to jump in the homebase config, but eventually you should be able to manipulate the majority of the config from your Browser.
For services like Hashbase, that means the only thing you have to do outside of the browser is sign up for an account. For services like Homebase, you (or someone else) would have to at least set up the server, but from that point on you probably wouldn't need to ssh into your server very often.
If you did want go ahead an build a web UI just to play around with it, you should be able do this on top of the webapi. However, I should give you fair warning, there might be some breaking changes incoming based on the conversation in #10, so you might need to revise the UI when those changes come.

☝ what @webdesserts said

But definitely feel free to do this! I'd be interested to see it.

@webdesserts @pfrazee Thank you for pointing a way out! Actually we may not be the case that everything that generates a day link provides the integration of this webapi. That is mainly about non-beaker hosting. It's still worth implement one, and it could acts like a "polyfill" of this webapi integration for other dat clients.
Then I would like to wait for #10, and I may get sometime to play with my mobile alternative to Beaker Browser. Great!


Not reporting hits with /path in URL

Hi, first thanks for this awesome repo.
When i use : https://ga-beacon.appspot.com/UA-XXXXXXXX-Y?pixel&useReferer as url i can see hits in GA

But as soon as i append a path https://ga-beacon.appspot.com/UA-XXXXXXXX-Y/joal-readme?pixel&useReferer, there is no more hits in GA.

I tested both URL in chrome.

Started to work this morning... Can't figure out why....


FutureBuilder infinitely looping the circular progress indicator

I am writing a Future getEmail() method to extract the email data from my firebase database and use it in my BottomSheetText to display the email as a string however in the FutureBuilder, the CircularProgressIndicator is infinitely looping without going to the case where the data should be displayed
Here is the code for my getEmail() method:
Future<String> getEmail() async {
    String _email = (await FirebaseAuth.instance.currentUser()).email;
    DocumentSnapshot snapshot = await _firestore.collection('users')
      .document(_email)
      .collection('met_with')
      .document('email')
      .get();
    print("data: ${snapshot.data}"); // might be useful to check
    return snapshot.data['email']; // or another key, depending on how it's saved
  }

Here is the code that includes my FutureBuilder:
@override
  Widget build(BuildContext context) {
    return Card(
      elevation: 3.0,
      shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10.0)),
      child: ListTile(
        leading: CircleAvatar(
          backgroundImage: AssetImage(imagePath),
        ),
        trailing: Icon(Icons.more_horiz),
        title: Text(
          email,
          style: TextStyle(
            color: Colors.deepPurple[700],
            fontWeight: FontWeight.bold,
          ),
        ),
        subtitle: Text(infection),
        onTap: () => showModalBottomSheet(
            context: context,
            builder: (builder) {

              return FutureBuilder(
                future: getEmail(),
                builder: (BuildContext context, snapshot) {
                if(snapshot.hasData){
                  if(snapshot.connectionState == ConnectionState.waiting){
                    return Center(
                      child: CircularProgressIndicator(),
                    );
                  }else{
                    return Padding(padding: EdgeInsets.symmetric(vertical: 50.0, horizontal: 10.0),
                     child: Column(
                  children: <Widget>[
                    BottomSheetText(
                        question: 'Email', result:  snapshot.data['email']),
                    SizedBox(height: 5.0),
                    BottomSheetText(
                        question: 'Contact Time',result:"lol"),// getTimeStamp().toString()),
                    SizedBox(height: 5.0),
                    BottomSheetText(
                        question: 'Contact Location',
                        result: "help"),
                    SizedBox(height: 5.0),
                    BottomSheetText(question: 'Times Contacted', result: "lool",),
                  ],
                  ),

                     );
                  }
                }else{
                  return CircularProgressIndicator();}
                }

                     );

            }
        ),

                ),
              );

Hi @ohrox97
for what I can see the issue is related to a FlutterFire plugin,
if so  please open the issue in the dedicated github.
otherwise please provide your flutter doctor -v ,
your flutter run --verbose
and a reproducible minimal code sample
(without 3rd party plugins)
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Adding 1.28v kubevirt cluster as provider - help with tokens

I am creating a new provider , v1.28 k8s / kubevirt cluster - I need to provide the
1.URL - which am giving as the output of kubectl cluster-info and the IP with :6443 port as output
2.Provider credentials
Service account bearer token : I created a new namespace konveyor-forklift and a service account named konveyor-forklift
Did a clusterrole binding as below
kg clusterrolebindings.rbac.authorization.k8s.io konveyor-forklift-binding -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRoleBinding","metadata":{"annotations":{},"name":"konveyor-forklift-binding"},"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"cluster-admin"},"subjects":[{"kind":"ServiceAccount","name":"konveyor-forklift","namespace":"konveyor-forklift"}]}
  creationTimestamp: "2024-07-29T09:49:02Z"
  name: konveyor-forklift-binding
  resourceVersion: "2326597"
  uid: fe33aaeb-bc10-4001-ae03-ae3cb445926a
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: konveyor-forklift
  namespace: konveyor-forklift

After doing this , I did kubectl create token konveyor-forklift -n konveyor-forklift and got a token file which I am inputting into the field mentioned.
For certificate , I have taken the apiVersion: v1
clusters:

cluster:
certificate-authority-data output of this and decoded into certificate file

This is not working and giving error:
Invalid token, a valid Kubernetes service account token is required
Can I get some guidance on what am doing wrong and what is the best way to accomplish this... @ahadas @yaacov

Could someone help on this , not sure what is wrong here...

BUMP!

are you trying to add a remote k8s provider?
generally you can get the token from the secret associated with the service account:
$ kubectl -n konveyor-forklift get serviceaccount forklift-controller -o jsonpath='{.secrets[0].name}'

and then grab if from the secret

This should be run from the cluster which I am adding to the forklift? @bennyz

I dont have forklift deployed in new cluster where am adding , do I have to install to use this? I thought we just need to add it as a provider ... please correct me
Also , I remember tokens are not created automatically from 1.24 k8s , we have to generate...please link me to any repo or files which would help me to create service account... @yaacov @bennyz

Credentials
Invalid token, a valid Kubernetes service account token is required
Service account bearer token *
.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLSe0WrZHfVw7wc6afskgBwhl2HlyPtzxy9QvlNdtvlkA3j31TJaqy7KEMt4g-cY_wuo7dExYhw9WtCOses3EXPLIYKdAoJ8
A service account token, optional, used for authenticating the the connection to the API server.

help me to create service account

hi, here is a short example of using service accounts
https://github.com/kubev2v/forklift-console-plugin/blob/main/docs/create-service-account-with-token.md

help me to create service account

hi, here is a short example of using service accounts https://github.com/kubev2v/forklift-console-plugin/blob/main/docs/create-service-account-with-token.md

For forklift to operate without issues, do we have to use default ns for creating service accounts or konveyor-forklift?

Still no luck , followed below:
export SERVICE_ACCOUNT=forklift-user
export NAMESPACE=default

cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ServiceAccount
metadata:
  name: ${SERVICE_ACCOUNT}
  namespace: ${NAMESPACE}
automountServiceAccountToken: true
EOF

cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
  name: ${SERVICE_ACCOUNT}
  namespace: ${NAMESPACE}
  annotations:
    kubernetes.io/service-account.name: ${SERVICE_ACCOUNT}
type: kubernetes.io/service-account-token
EOF

kubectl create clusterrolebinding ${SERVICE_ACCOUNT}-forklift-user --clusterrole=cluster-admin --serviceaccount=${NAMESPACE}:${SERVICE_ACCOUNT}

export TOKEN=$(kubectl get secret ${SERVICE_ACCOUNT} -n ${NAMESPACE} -o=jsonpath={.data.token} | base64 -d)

Also , able to query the APIs for cluster details which works! But when am trying to add the cluster to provider it is still failing invalid secret....
Also , for the URL am providing the link from output of kubectl cluster-info , dont know what is wrong...

'{"level":"debug","ts":"2024-05-27 14:18:24.953","logger":"events","msg":"Map.Network does not have Ready condition.","type":"Warning","object":{"kind":"Plan","namespace":"konveyor-forklift","name":"kubevirttovmware","uid":"57c1580b-72c6-4cf4-9982-5fcb937174bf","apiVersion":"forklift.konveyor.io/v1beta1","resourceVersion":"80317515"},"reason":"NetworkMapNotReady"}
{"level":"debug","ts":"2024-05-27 14:18:24.953","logger":"events","msg":"VM has unmapped networks.","type":"Warning","object":{"kind":"Plan","namespace":"konveyor-forklift","name":"kubevirttovmware","uid":"57c1580b-72c6-4cf4-9982-5fcb937174bf","apiVersion":"forklift.konveyor.io/v1beta1","resourceVersion":"80317515"},"reason":"VMNetworksNotMapped"}
{"level":"debug","ts":"2024-05-27 14:18:24.953","logger":"events","msg":"VM has unmapped storage.","type":"Warning","object":{"kind":"Plan","namespace":"konveyor-forklift","name":"kubevirttovmware","uid":"57c1580b-72c6-4cf4-9982-5fcb937174bf","apiVersion":"forklift.konveyor.io/v1beta1","resourceVersion":"80317515"},"reason":"VMStorageNotMapped"}


.Net: Remove experimental attribute from the new function calling model classes

Removes the Experimental attribute from the new function-calling model classes and function call content classes as part of their graduation.
Corresponding tasks:

https://github.com/microsoft/semantic-kernel/issues/6706
https://github.com/microsoft/semantic-kernel/issues/8490

These are still only supported by the OpenAI connector, right? They're ignored by the Google one, the Mistral one, etc.?

These are still only supported by the OpenAI connector, right? They're ignored by the Google one, the Mistral one, etc.?

Yes, right, only the {Azure}OpenAI connectors use them.

These are still only supported by the OpenAI connector, right? They're ignored by the Google one, the Mistral one, etc.?

Yes, right, only the {Azure}OpenAI connectors use them.

And that will be fixed soon? Feels strange to say these are fully supported but then only have one of the built-in connectors support them.

We are graduating function-calling model classes and function-call content classes. The former are used by the Azure OpenAI connectors, and @RogerBarret0 was successfully able to use them to add function calling to the Ollama connect before the decision was made to go with OllamaSharp and the IChatClient implementation. The latter classes are used by Azure OpenAI and MistralAI connectors + Ollama try. Therefore, we believe they are in good shape for graduation.
Regarding adding function-calling support to the other connectors, as far as I understand, support will be added eventually when the connectors are prioritized, most likely after the Ignite event.
CC: @RogerBarret0, @markwallace-microsoft


Create rename_docker_volume.yaml

Discord username
Sebastian#0304
Description of changes (updated or new workflows)
Renames a Docker volume by creating a new volume, copying all of its content to from the old to the new volume and then deletes the old volume.

Thanks! Any idéa when this will be available on commands.dev?👍

@SebDanielsson It should be on commands.dev within ~a day after it's merged!


Configurable step size and metrics profile

Configurable step size for prometheus, useful for long benchmarks since it reduces the number of indexed metrics in exchange of granularity.
Also adding selection of kube-burner metrics profile and added a new metrics profile useful for large clusters (Detailed in doc from this PR). Dashboards for both metric profiles at https://github.com/rsevilla87/kube-burner-workloads/tree/master/dashboards
Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
0
00:05:30

test_byowl
Pass
0
00:01:31

test_fiod
Pass
0
00:20:02

test_fs_drift
Pass
0
00:05:29

test_hammerdb
Pass
0
00:04:10

test_iperf3
Pass
0
00:09:33

test_kubeburner
Pass
0
00:19:53

test_pgbench
Pass
0
00:02:43

test_smallfile
Pass
0
00:05:28

test_sysbench
Pass
0
00:01:41

test_uperf
Pass
0
00:17:52

test_vegeta
Pass
0
00:04:45

test_ycsb
Pass
0
00:02:08

test_scale_openshift
Pass
1
00:12:52

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Fail
3
00:03:57

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Fail
3
00:03:49

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Pass
0
00:20:39

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Pass
0
00:18:51


Cross Compile Support

Add 2.11 to cross compile and modified code to support 2.11.7. Good work on the project!
Cross build info is found here for ref: http://www.scala-sbt.org/1.x/docs/Cross-Build.html

Thanks for the PR


ThetaForecaster does not work with "initial_level" different from None

Describe the bug
When calling
forecaster = ThetaForecaster(initial_level=0.5, deseasonalize=True, sp=1) then fitting via forecaster.fit(y_train) leads to the following error:
`Traceback (most recent call last):

  File "<ipython-input-362-6ef348c52370>", line 1, in <module>
    forecaster.fit(y_train)

  File "/Users/muhlbach/opt/anaconda3/envs/experimental/lib/python3.8/site-packages/sktime/forecasting/theta.py", line 131, in fit
    super(ThetaForecaster, self).fit(y, fh=fh)

  File "/Users/muhlbach/opt/anaconda3/envs/experimental/lib/python3.8/site-packages/sktime/forecasting/base/adapters/_statsmodels.py", line 47, in fit
    self._fit_forecaster(y, X)

  File "/Users/muhlbach/opt/anaconda3/envs/experimental/lib/python3.8/site-packages/sktime/forecasting/exp_smoothing.py", line 79, in _fit_forecaster
    self._forecaster = _ExponentialSmoothing(

  File "/Users/muhlbach/opt/anaconda3/envs/experimental/lib/python3.8/site-packages/pandas/util/_decorators.py", line 199, in wrapper
    return func(*args, **kwargs)

  File "/Users/muhlbach/opt/anaconda3/envs/experimental/lib/python3.8/site-packages/statsmodels/tsa/holtwinters/model.py", line 291, in __init__
    self._initialize()

  File "/Users/muhlbach/opt/anaconda3/envs/experimental/lib/python3.8/site-packages/statsmodels/tsa/holtwinters/model.py", line 439, in _initialize
    raise ValueError(msg.format("level"))

ValueError: initialization method is estimated but initial_level has been set.`

To Reproduce
from sktime.forecasting.theta import ThetaForecaster
from sktime.datasets import load_airline
y = load_airline()
forecaster = ThetaForecaster(initial_level=0.5).fit(y)

Expected behavior
It should estimate Theta with initial smoothing level.
Additional context
I think the problem relates to the class ExponentialSmoothing and the fact that users cannot provide the initialization_method argument. See https://github.com/alan-turing-institute/sktime/blob/060af89907d135e41491d61f0966e285289a805b/sktime/forecasting/exp_smoothing.py#L10

Thanks @muhlbach for raising the issue! Would appreciate a PR to make this more flexible.

@mloning: Sure thing! I'm not very experienced in this domain, so can you provide a hint to where to start? If I understand it correctly, I need write permissions to create a branch, which I don't have. Thus, do you want me to create a pull request from a fork?

Yes that's right, fork it and create a PR, more details here.

Hi, can I work on this? I did some research around this and seems are like when we are inheriting ExponentialSmoothing, it misses on quite a few important parameters as per the docs here. https://www.statsmodels.org/stable/_modules/statsmodels/tsa/holtwinters/model.html
I think we just need to add all the initialization parameters to the theta forecaster and that'll fix it.

@yashlamba yes, please open a PR, a good first step would be to create a unit test for it and then fix it.

So I looked around whether we need to pass other parameters such as initial_trend, initial_seasonal with initial_level, and initialization_method. This was mentioned as a requirement here for Exponential Smoothing.
So I referred to the ThetaModel implementation of statsmodels here, where they aren't receiving the initialization_method from the user, but implicitly using the required value when initial_value is passed. Should we do something similar or receive it from the user?

@yashlamba sounds like a good idea, comparing our implementation to the one in statsmodels may also be a good idea (see #421)


plugin doesn't work with postgress?

I changed db from sqlLite to postgresql and the plugin stopped working.
These are my configs:
Front-End:    "gatsby": "2.21.0",
Back-End:     "strapi": "3.3.4",
database.js
module.exports = ({ env }) => ({
  defaultConnection: "default",
  connections: {
    default: {
      connector: "bookshelf",
      settings: {
        client: "postgres",
        host: env("DATABASE_HOST", "localhost"),
        port: env.int("DATABASE_PORT", 5432),
        database: env("DATABASE_NAME", "portofolio"),
        username: env("DATABASE_USERNAME", "postgres"),
        password: env("DATABASE_PASSWORD", ""),
        schema: env("DATABASE_SCHEMA", "public"),
      },
      options: {},
    },
  },
})

gatsby-config.js
  {
    resolve: `gatsby-source-strapi`,
    options: {
      apiURL: `http://localhost:1337`,
      queryLimit: 1000, // Default to 100
      singleTypes: [`about`],
      contentTypes: [`jobs`, "projects", "blogs"],
      // singleTypes: [],
    },
  },

This source plugin should not affected by what database Strapi uses under the hood.
I think what happened is that when you changed your database, your data was wiped, since you had a new empty database. But Strapi needs existing content to define which nodes to create in the Gatsby data layer. So if your collection types have no entries, or if some optional fields are never defined, then gatsby-source-strapi won't know about them, and you'll get errors.
What I recommend is to create content in your Strapi admin first, then restart your Gatsby app

Sounds like it could work! Thanks!

I re-added content in the DB after i switched to postgres.
But it still fails....

I followed this tutorial: https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.html#_6-install-the-pg-node-module
Could the connection string have anything to do with it?

After a week i realized i have an issue with the jobs collection. When i try to look at the data, the collection hangs. Removing it fixes most of the issues, however, if i try create it again, the same issues happens.
Anyway issue plugin issue is fixed.


Remove noise content script log

Given this happens on every successful connection, it's a bit noisy. Especially given it logs no matter what website your are viewing. Think it's worth removing or putting behind a "debug mode" flag.

Hello, thank you for contribution. We do not consider this a noise at this point, so I will close this one.

I can definitely see the use for debugging, but in the case of extensions, this log console is shared between all websites. Prod best practices are that these should be kept clean as possible so folks can identify only relevant issues.
Have you considered implementing different log levels? For example, having a debug log level fits this best. It would only display when the user enables a flag or is in local dev mode.

Yes! We just have a lot of other things to do at the moment :)


WIP: MatrixStore powered spending API endpoints

The only intended user-visible change here is that the restriction on mixing levels of the BNF hierarchy has been removed. One small step for the user etc.
Closes #1519

As a follow up task: I think that once this is merged the only thing using any of the vw__ tables is the NCSO stuff in frontend.views.spending_utils. If we can rewrite this to the use the matrixstore then we can get rid of all the code relating to these tables, which is quite a lot.

Notes on running this locally:

You'll need a matrixstore file. There is one on the OP server at
openprescribing-data/matrixstore_2018_11_v2.sqlite.
Put this file (or a symlink to it) locally at:
openprescribing/openprescribing/pipeline/data/matrixstore_live.sqlite.
You'll need org data (all the Practice and CCG models) in Postgres.

The file above was built using the same data imported into staging so the results ought to be the same.

The responses from the old and new APIs are identical in many cases, but not in all as my smoke testing has shown.
Most of these discrepancies are due to rounding differences in actual_cost. We made the decision to store actual_cost as integers to the penny whereas BQ and Postgres store them in pounds with occasionally bizarrely specific decimals. For the most the differences round to less than a penny in any case, but for sums across larger amounts of spending they can occasionally amount to a few pounds. I'm assuming we don't need to worry about this.
The more worrying kind of difference shows up in the number of items. As far as I can tell this only happens in the spending endpoint which aggregates across all practices (as opposed to spending_by_ccg and spending_by_practice) and is presumably due to the types of practices which are or aren't being included, although I haven't got to the bottom of this yet.


Allow webpack cache isReady only for initial chunks

Summary
Only SSR-ed chunks could be tested for isReady via webpack cache. Others should go through requireAsync and track their process in a internal state variables.

Tested, and it's working 👍
However, I've found an issue with loadable.lib and moment - it's actually not working in production mode. More like webpack/moment related problem like moment is moment node, and {default:moment} in the browser. Result - 💩


Address a few shellcheck complaints about dgoss

👋 Hello - this addresses a few shellcheck complaints with dgoss.
Description of change

double quote variables to prevent globbing and wordsplitting: https://www.shellcheck.net/wiki/SC2086
use -n instead of ! -z: https://www.shellcheck.net/wiki/SC2236

Eyeball check looks good. Will run validate it locally and merge soon.
Thank you for this contribution.


Create data controller wizard shows a blank screen for choosing config profile step.

Azure data studio is running on Mac OS BigSur 11.5.2
Azure data studio Version: 1.32.0
Commit: 4a45ba7
Date: 2021-08-16T18:09:20.282Z
VS Code: 1.56.0 Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0 V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.6.
Logs:
20210901T185839.zip

@candiceye From the logs :
Activating extension Microsoft.azcli failed due to an error:
[2021-09-01 18:58:49.551] [exthost] [error] TypeError: Invalid Version:
	at new c (/Users/snaldurg/.azuredatastudio/extensions/microsoft.azcli-0.1.0/dist/extension.js:1:1645)
	at /Users/snaldurg/.azuredatastudio/extensions/microsoft.azcli-0.1.0/dist/extension.js:1:34041
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async t.findAz (/Users/snaldurg/.azuredatastudio/extensions/microsoft.azcli-0.1.0/dist/extension.js:1:33767)
	at async t.activate (/Users/snaldurg/.azuredatastudio/extensions/microsoft.azcli-0.1.0/dist/extension.js:1:19490)
	at async Promise.all (index 2)
	at async Promise.all (index 0)

Were you planning on releasing a new version of the azcli extension here at some point? You've made some big changes with the version parsing since the initial release so I wouldn't be surprised if the initial version of the extension is breaking in some scenarios.
@snaldurgkar Could you run az --version from the terminal and share the output?

az --version
azure-cli                         2.27.2
core                              2.27.2
telemetry                          1.0.6
Extensions:
k8sconfiguration                   0.2.4
k8s-configuration                  1.1.0
connectedk8s                       1.1.7
arcdata                            1.0.0
resource-graph                     2.1.0
customlocation                     0.1.2
Python location '/usr/local/Cellar/azure-cli/2.27.2/libexec/bin/python'
Extensions directory '/Users/snaldurg/.azure/cliextensions'
Python (Darwin) 3.9.6 (default, Jun 29 2021, 05:25:02)
[Clang 12.0.5 (clang-1<IP_ADDRESS>)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.

I've not changed anything ,but today I'm able to see the config profiles populated and also deploy data controller.

@snaldurgkar since this doesn't repro any longer, closing this. If it occurs again, please feel free to reopen. Thanks!


⚠ GitLab Server has degraded performance

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

HTTP code: 200
Response time: 9096 ms

Resolved: GitLab Server performance has improved in d846121.


Add posix api to StressClientIOBench

Add POSIX API to clientIO stressbench. Doc will be updated in the next pr.
To use the posix api, set --base to the alluxio fuse mount point.

@yyongycy @dbw9580 @LuQQiu PTAL. Thanks!

alluxio-bot, merge this please

@ssz1997 Just a sanity check, does this feature need doc?

@jiacheliu3 Thanks. I do need to update the doc.


Support File.ReadAllLinesAsync and friends on .NET Core 3 / netstandard2.1

Async methods were implemented in https://github.com/System-IO-Abstractions/System.IO.Abstractions/pull/481#issuecomment-521274716 but I think the precompiler directives or somehow the nuget binding doesn't get them.
Sample csproj:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>netstandard2.1</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="System.IO.Abstractions" Version="6.0.21" />
  </ItemGroup>
</Project>

Sample code:
var lines = await new FileSystem().File.ReadAllLinesAsync(@"C:\file.txt")

I think the problem is simply that we're limited to NETCOREAPP2_0: https://github.com/fedoranimus/System.IO.Abstractions/blob/master/System.IO.Abstractions/FileBase.cs#L322 - you can probably instead use NETSTANDARD2_0 but I won't be able to test that right away. I won't be able to provide a PR as I'm off until the end of next week, but if no one took this issue when I'm back all provide one.

Your sample csproj is targeting .NET Standard 2.1 and will therefore pull in the .NET Standard 2.0 version of System.IO.Abstractions.
Back in #481 we added support for the async overloads to a newly added .NET Core 2.0 target. To solve your issue we need to add an additional target for .NET Standard 2.1 in which we could light up the async overloads.


Implement jax.numpy.spacing

Somehow we've missed this numpy API up until now.

Hmm, this approach seems to be failing for inputs very close to zero, because nextafter returns a denormal, and lax.sub flushes denormals.

How close are we talking?

Anything where the next higher number is a denormal. For example:
>>> x = np.float32(0)

>>> np.spacing(x)
np.float32(1e-45)

jnp.spacing(x)
Array(0., dtype=float32)

This is because of the issue noted here: https://jax.readthedocs.io/en/latest/_autosummary/jax.lax.nextafter.html

Interesting! When I run spacing(np.float32(0)) after copying your new implementation into colab (where I was originally experimenting), it returns Array(1.e-45, dtype=float32), just like the np version, but on my mac, I see Array(0., dtype=float32), like you do. I guess this is related to the "in some environments" part of that docstring?
It doesn't seem awesome to have environment-dependent behavior here, but perhaps it's not worth digging into it too deeply. Maybe it's ok to keep this implementation with the appropriate caveat in the docstring, unless you have an idea for an easy fix!

I think I managed to work around the denormal issue – we'll see if the tests pass. I also added special logic for float16 so as to match NumPy's outputs (not sure whether we should do that, or just note that JAX's convention differs).
Agreed it's probably worth filing an upstream bug.

I reported the float16 issue on the existing issue surrounding conventions used in np.spacing: https://github.com/numpy/numpy/issues/15331#issuecomment-2391997232.


Better Git Detection

I changed the git detection so any git subfolder will work

How come this was closed? ✌
What's the kuenertes, mind showing a screen?

I closed it just because The git detection is really useful, but kubenertes is not something everyone wants.
I should have created a different branch.
Kubernetes is a tool for managing docker cluster we use at work. Since kubenertes uses contexts to manage different clusters it's easy to make mistakes when deploying docker images to the different context.

At the moment the kubernetes part is pretty hackish as the path is hardcoded

Feel free to use the git detection if you want


Static Documentation

Create github page for extended documentation. We could use vite-press.

close #12


MF-1061 - Implement protocol, name, v, vb, vs, vd and from/to postgre…

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>Related to #1061

Codecov Report

Merging #1322 (9e63845) into master (a185855) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1322      +/-   ##
==========================================
+ Coverage   59.79%   59.96%   +0.16%
==========================================
  Files         113      113
  Lines        8791     8827      +36
==========================================
+ Hits         5257     5293      +36
  Misses       3077     3077
  Partials      457      457

Impacted Files
Coverage Δ

readers/postgres/messages.go
73.07% <100.00%> (+14.25%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #1322 (9e63845) into master (a185855) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1322      +/-   ##
==========================================
+ Coverage   59.79%   59.96%   +0.16%
==========================================
  Files         113      113
  Lines        8791     8827      +36
==========================================
+ Hits         5257     5293      +36
  Misses       3077     3077
  Partials      457      457

Impacted Files
Coverage Δ

readers/postgres/messages.go
73.07% <100.00%> (+14.25%)
:arrow_up:

Continue to review full report at Codecov.

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


Memory corruption issue means can't open pocket of dressing gown in HHGTG

HHG lets me run the first few commands but then the opcode at 0x6c27 gets overwritten by something. The actual operation doing the overwriting is an ADD L02, #01 -> (-SP) at line 0x6c98 but haven't yet walked back to find out what put the dodgy address in the stack pointer

The function at 0x6c8b should only be called once but is getting called multiple times after opening the pocket for some reason

Looks like the object graph has got into an exciting state where the gown is a sibling of itself somehow!

Looks like if you move an object from it's current parent to the same parent again then this causes a sibling loop. wearing the gown moves the object from "it" to "it"

Resolved by simply exiting early when attempting to move an object from A -> A as noop rather than tweaking the algorithm


Kube-Proxy conntrack dependency missing from the DOC

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
While debugging some issue with kube-proxy is was noted that a lot of errors were written about a missing conntrack binary.
After an investigation, it was discovered that the conntrack package should be installed on the nodes.
Proposed Solution:
Update the DOC to provide the necessary required dependencies for kube-proxy when installing from the binary.
Page to Update:
http://kubernetes.io/docs/admin/kube-proxy.md

This is indeed a problem, but the suggested page to update is generated directly from kube-proxy binary. Will propose a fix for this.

/assign

thanks for this guys!
On Fri, Oct 20, 2017 at 4:52 PM, Jessica Yao<EMAIL_ADDRESS>wrote:

Closed #5773 https://github.com/kubernetes/website/issues/5773 via #5962
https://github.com/kubernetes/website/pull/5962.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/5773#event-1303752027, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEwEKrs9z_jRTMbsdxGoqe6bTzKRHQo0ks5suQgLgaJpZM4PueMU
.


Solves address parsing error by avoiding BigNumber

When 'ownerStorage' is an address starting with 0x00 the BigNumber library rounds down the address to 38 characters, thus making it an invalid address and causing getAddress to throw a fatal error.   This commit avoids the use of BigNumber and just uses the last 20 bytes to solve this rare, edge case problem.

Thanks @admazzola


Use API validation only

Question
Is there a way to use only the validation util without registering the API routes to the app ?
More specifically: define API'S with OpenAPI , but to register the routes natively with Flask and consume the validators that connexion generates.

Hi @ritabiniash
There is no straightforward way to do this. Connexion registers it's own routes with Flask under the hood, so they would conflict. Can you explain why you want to do this?
You can also have a look at jsonschema, the framework Connexion uses for validation. However you'll probably need to reimplement a lot of connexion to make this work for individual routes.

Thanks @RobbeSneyders
I want to do this because we have an existing Flask project with routes configured by connexion. We want to add new routes that will use Flask async. Since async Flask routes are not supported, we want to still use OpenAPI for validation.

Validation will also not work on async routes. Let's track this in https://github.com/spec-first/connexion/issues/1400.


NVMe mounting for ephemeral and docker_volume

If machines have nVME storage, it'd be great to make this available - it's cheap and fast (notwithstanding it's ephemeral nature!).

Came across this relevant discussion particularly related to the ECK (Elastic Cloud on Kubernetes) usecase - https://discuss.elastic.co/t/deploying-eck-on-aws-eks-with-i3-and-d2-instances-and-local-volumes/235223


http_check fails to load cert path in alpine image

Output of the info page
http_check (2.0.1)
    ------------------
      - initialize check class [ERROR]: OSError('Unable to locate `embedded` directory. Please specify ca_certs in your http yaml configuration file.',)

Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:

Create http_check.yml in conf.d directory:

init_config: ~
instances:
  - name: github
    url: https://status.github.com/api/status.json
    content_match: 'major'
    reverse_content_match: true
    ca_certs: /etc/ssl/certs/ca-certificates.crt
    disable_ssl_validation: true
    skip_event: true
    tags:
      - url:https://status.github.com/api/status.json
      - service:github

Build below docker file(using your own api key)

FROM datadog/docker-dd-agent:latest-alpine
ENV API_KEY=<API_KEY>
COPY conf.d /conf.d

Run the docker image

Describe the results you received:
    initialize check class [ERROR]: OSError('Unable to locate embedded directory. Please specify ca_certs in your http yaml configuration file.',)

Describe the results you expected:
I expected the http_check to not try to load the default certs directory(inside embedded) if the ca_certs is set or if disable_ssl_validation is set.
Additional information you deem important (e.g. issue happens only occasionally):
This only happens with the alpine image.

Hi @a200462790 thanks for reporting.
This doesn't seem related to the way the http_check works, closing as a duplicate of https://github.com/DataDog/docker-dd-agent/issues/307


Example doc comment: fix usage of socket.set_only_v6()

The call to socket.set_only_v6() needs to be before the call to
socket.bind().
This is for issue #259.

Thanks @cmcqueen.