Update URL whenever prices are filled

Not sure if its useful for others but I've had this issue on desktop & know at least one other friend with it too.
Basically, when you're tabbing through inputs and copy the URL from the url bar of your browser, the URL ends up being stale unless you explicitly click the Copy Permalink button. This fork automatically updates the url as you update it so you can easily Cmd/Ctrl + L and copy paste.

Should this only updates the URL if the original prices comes from URL parameters?
Currently localstorage is disabled while there are parameters from the URL, so clicking random links won't accidentally override user's local data. Would this change causes that localstorage is not used most of the time?

I think, from the testing I did, this does not change that behavior, on a clean localstorage, I was able to confirm loading a url with a query param did not set localstorage (it set populated_from_query = true) and changing the inputs which in turn update did not update localstorage either.
However if I load the url without any query params, it loads from localstorage then updates the query params.
Let me know if this makes sense or if I should test more cases.

Should this only updates the URL if the original prices comes from URL parameters?
Currently localstorage is disabled while there are parameters from the URL, so clicking random links won't accidentally override user's local data. Would this change causes that localstorage is not used most of the time?

I think, from the testing I did, this does not change that behavior, on a clean localstorage, I was able to confirm loading a url with a query param did not set localstorage (it set populated_from_query = true) and changing the inputs which in turn update did not update localstorage either.
However if I load the url without any query params, it loads from localstorage then updates the query params.
Let me know if this makes sense or if I should test more cases.

The case I'm curious on is loading the url without any query params, and then whether filling values updates localstorage (I'd guess so).
But there might be another unexpected behavior from user perspective:

Navigates to the url without any query params, fill in some values.
Reloads the page (can happen by e.g. restarting the browser)
Fill in more values, which iiuc won't be saved to localstorage at this point after the change, since the URL is changed.
Close the website and found out that some values are missing the next time the site is opened.

Should this only updates the URL if the original prices comes from URL parameters?
Currently localstorage is disabled while there are parameters from the URL, so clicking random links won't accidentally override user's local data. Would this change causes that localstorage is not used most of the time?

I think, from the testing I did, this does not change that behavior, on a clean localstorage, I was able to confirm loading a url with a query param did not set localstorage (it set populated_from_query = true) and changing the inputs which in turn update did not update localstorage either.
However if I load the url without any query params, it loads from localstorage then updates the query params.
Let me know if this makes sense or if I should test more cases.

The case I'm curious on is loading the url without any query params, and then whether filling values updates localstorage (I'd guess so).
But there might be another unexpected behavior from user perspective:

Navigates to the url without any query params, fill in some values.
Reloads the page (can happen by e.g. restarting the browser)
Fill in more values, which iiuc won't be saved to localstorage at this point after the change, since the URL is changed.
Close the website and found out that some values are missing the next time the site is opened.

Yep, the first case you mention works correctly. That's a good point about this edge case/behavior, I wonder if checking the values indexdb across what's in the query params is a good way to deal with that; e.g, if they're all the same, continue to update localstorage.


LASB-2827 New assessor-details endpoint to support Application Tracking Service

What
Link to story
Changes include:

New endpoint api/internal/v1/assessment/rep-orders/{repId}/assessor-details
Functionality to retrieve details of the creator of a RepOrder

Local testing:

Checklist
Before you ask people to review this PR:

[x] Tests should be passing: ./gradlew test
[x] Github should not be reporting conflicts; you should have recently run git rebase main.
[x] Avoid mixing whitespace changes with code changes in the same commit. These make diffs harder to read and conflicts more likely.
[x] You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

Be a bit careful putting screenshots in these PRs with any data - they're publicly accessible.

Be a bit careful putting screenshots in these PRs with any data - they're publicly accessible.

Fair point, I'll remove it as the test data is based of prod data.


Bug: shutdown went wrong when using eqmac 1.4.6 (

Mac mini m1
Latest Monterey
Everytime i shut down my computer it hangs and asks me to force quit eqmac in order for my computer to shutdown. It is very annoying :(
Otherwise it works great
Thank you

Same here.

Same here.  2021 Macbook M1 Pro, Monterey 12.2.1 (21D62)

Here's a coredump of a recent eqmac crash on my M1 MBP Monterey 12.3.1. Opening System Preferences > Security & Privacy > Accessibility, then Click the Lock to Make Changes, and eqMac will crash, and need to be force-quit from activity monitor.
Let me know if I can provide any other helpful info.
https://gist.github.com/seanmuth/bb01266625ddec90f0b423a7922a25f7

me too

it always happen 🌵 :/
MacBook Pro (13-inch, Mid 2012)


No Results Found - Crud / Can't find the doc?

Hi mootensai, thanks for this great extension.
Please help me. Where is the documentation?
I generate model and crud on existing table but in crud view receive 'no results found.'
My best guess is, that this happens because of few missing columns in my database table but i have no idea which columns to add.
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
CREATE TABLE urgencies (
id int(11) NOT NULL,
priority varchar(12) NOT NULL,
title varchar(32) NOT NULL,
description mediumtext NOT NULL,
respond_within int(11) NOT NULL,
resolve_within int(11) NOT NULL,
deleted_by int(11) DEFAULT NULL,
created_at datetime DEFAULT NULL,
updated_at datetime DEFAULT NULL,
deleted_at datetime DEFAULT NULL,
created_by int(11) DEFAULT NULL,
updated_by int(11) DEFAULT NULL,
uuid varchar(32) DEFAULT NULL,
root int(11) DEFAULT NULL,
lft int(11) NOT NULL,
rgt int(11) NOT NULL,
lvl smallint(5) NOT NULL,
name varchar(60) NOT NULL,
icon varchar(255) DEFAULT NULL,
icon_type tinyint(1) NOT NULL DEFAULT '1',
active tinyint(1) NOT NULL DEFAULT '1',
selected tinyint(1) NOT NULL DEFAULT '0',
disabled tinyint(1) NOT NULL DEFAULT '0',
readonly tinyint(1) NOT NULL DEFAULT '0',
visible tinyint(1) NOT NULL DEFAULT '1',
collapsed tinyint(1) NOT NULL DEFAULT '0',
movable_u tinyint(1) NOT NULL DEFAULT '1',
movable_d tinyint(1) NOT NULL DEFAULT '1',
movable_l tinyint(1) NOT NULL DEFAULT '1',
movable_r tinyint(1) NOT NULL DEFAULT '1',
removable tinyint(1) NOT NULL DEFAULT '1',
removable_all tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
ALTER TABLE urgencies
ADD PRIMARY KEY (id);
ALTER TABLE urgencies
MODIFY id int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

maybe that's because you activate timestamp, blameable, etc feature but u haven't create the column, empty up all the feature u don't use and re-generate

hi thank you, please I would rather like to create the missing columns but don't know which are missing, I receive no error just "no results found", but there are records in the table  :-) thank you

the documentation in on the hints every field label..

i figured it out. in deed there was still a few columns missing in some of my tables.
This is really great. Awesome. Much love.


kobo: Added Libra 2 and Elipsa and Sage

Pull request to solve #5.
@NiLuJe, as you kindly did for the Elipsa in #4 , could you please check the coversize thing? I am an absolute noob at Kobo tweaking, not having the clues to check the firmware. Getting involved because I know @pgaskin is completely slammed at the moment, so I would very much appreciate help from someone who knows what they're doing :)
Thank you!

Might be worth adding both the Elipsa & the Sage while you're in there ;).
c.f., https://github.com/kovidgoyal/calibre/blob/7e645a0e30540261afc6f337291a3f07675323b4/src/calibre/devices/kobo/driver.py#L1461-L1508 & https://github.com/kovidgoyal/calibre/blob/7e645a0e30540261afc6f337291a3f07675323b4/src/calibre/devices/kobo/driver.py#L3463-L3506 for the cover sizes ;).

Thanks @NiLuJe ! Happy to add both indeed while I'm at it  -- will it be a problem if that's redundant with #4 ?

So, thanks to the links you sent @NiLuJe , it looks like I've got the cover sizes right for the Libra 2, i.e. the same as for the Libra H2O. Pfew :) Now looking at Elipsa and Sage.

Alright, Sage and Elipsa added too. Thanks @NiLuJe for the resolutions, super helpful! Now just need to find how to sign my commits...

Now just need to find back my GPG keys, renew them, and sign my commits...

Don't bother with that now; I've disabled the branch protection restriction for signed commits. It didn't require having all PR commits signed (as opposed to just the final merge/squash) back when I enabled it.

I'd be interested to know if there's any material on how to confirm cover sizes? I briefly had a look at doing a similar PR myself but I didn't have any luck getting a slightly modified Kobo firmware to work (enabling some debug output from memory)

@marcus-crane Thanks for raising the question. Well, for the cover sizes, I trust  Calibre's code kindly provided by @NiLuJe  in https://github.com/pgaskin/koboutils/pull/7#issuecomment-1059815564 . This is whom @pgaskin himself asked to check his own work in #4. And with good reason: the Calibre source allowed to fix the resolution originally guesssed for the Elipsa. I have also checked mobilereads and its wiki for code names and hardware versions. There's a strong community there.
I clearly admit that I do not know how to dig into the firmware myself, not without spending hours learning.
I'll also admit that I have not compiled nor tested the above on my Libre 2, for lack of being familiar with Go toolchain. Granted, this is probably one of the least-tested PRs I've ever done -- luckily it's also one of the clearest (thus simplest) codes I've worked on :)
In the worst-case scenario, say we have a the resolution wrong for some of these new models. It's still  better than not supporting those models, and will allow any error to surface and make its way to the Github issues eventually.
Knowing that @pgaskin is currently very busy,  I'd be in favour of releasing this in spite of the lack of deep testing -- better a possibly-imperfect solution than not solution. Or am I being too careless?

@pgaskin If the above caveats didn't put you off, and if (or when) you have a minute in the current busy times, I'd be super grateful if you would merge and make a release with this. I can then get KoboUNCaGed to use it :)
But of course, when you have the time -- good luck with what is keeping you so busy!

I'm also looking forward to Libra 2 support being added (I have one myself). I use koboutils in https://github.com/marcus-crane/october where I patched in placeholder support for devices not present in kobotuils but I'd be nice to have accurate image support (not that I use it currently)

@marcus-crane: Short of digging up what Nickel actually does (which is not always the right thing, see our previous discussions about that ;p), the perfect test-case is just feeding a large-enough PNG in a perfect aspect-ratio (IIRC, that's still something close to a multiple of 600x800, no matter the device?) to Nickel, and seeing what it actually generates ;o).
The full size one is pretty easy, as it's simply the actual screen size, which is easy enough to get at if you have access to the device in the first place.

Thanks! I'll have a trawl through some of the past issues/PRs and see what tips are hidden in there 🤓

There's a strong community there -- see for example this list of codenames

Yes, that one's me btw.

I clearly admit that I do not know how to dig into the Kobo firmware myself, not without spending hours learning: my reverse-engineering days in Assembly are from the previous century, around 1997 :)

I have a gist where I documented some of it. The notes are probably a bit too sparse if you're just starting, though.

In the worst-case scenario, say we have a the resolution wrong for some of these new models. It's still better than not supporting those models, and will allow any error to surface and make its way to the Github issues eventually.

Definitely.

I'd be super grateful if you would merge and make a release with this.

OK, will do (I wasn't sure if this was complete earlier). I'll also make a new release of covergen with it since some people have been emailing me about that recently. Thanks for working on this PR!

It's been too long since I last updated this repo, so I'll need to rewrite the build scripts and update the tokens to do a proper release... I don't have time to do that today, but you still can pull the latest commit into another project with go get github.com/pgaskin/koboutils/v2@master.

Amazing, thank you @pgaskin for taking the time to read and merge this! It's now even already used in Kobo-UNCaGED , see https://github.com/shermp/Kobo-UNCaGED/issues/43 :) And thanks for the list of codenames and all the work, hadn't realised you were geek1011.

hadn't realised you were geek1011

Yes, that was my old username until I changed it a few years ago.


[camera] enableAudio parameter on availableCameras

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
Microphone permissions are just requested if needed.
List which issues are fixed by this PR. You must list at least one issue.
https://github.com/flutter/flutter/issues/112277
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[ ] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[ ] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

(Questions coming from https://github.com/flutter/flutter/issues/112277#issuecomment-1266880620)

Should be enableAudio exposed so the user can manipulate it?

In that case, should be mandatory?
default to false?

I think the simplest solution here is, in the web, to pass false as the audio constraint. No need to expose it as a bool through the whole plugin interface.
The flow goes:

Hey, tell me what cameras you have!
< (Requests permissions to use cameras): There you go
Hey, give me this camera, with/without audio
< (If needed, requests permissions to use microphone): There you go

I think this works best from a granular permissions standpoint; only request permissions really when needed. This might be considered a breaking change for some users on the web, so we should point it out in the CHANGELOG and README very clearly.
However...
If we want to leave the user an option to request all permissions in a single prompt, then:

Should be enableAudio exposed so the user can manipulate it?

Yes

In that case, should be mandatory?

No

default to false?

It should default to true, so it the existing behavior is kept (at least on the web? how does this work in other platforms?)
TL;DR: I think that the goal if we expose the new enableAudio bool in the enumerateCameras method is to do it in such a way that people that don't change their code at all, keep seeing the best experience.

@ditman  I agree with all the comments above, much simpler. So then the flow is in 2 steps:

Give me all the cameras you have.
Set up the specific camera I want, and in case I want the microphone I will request permission for it.

Then with this flow, my question is, should we simplify the implementation of some methods on the web like 'getMediaStreamForOptions'. Right now we are not using the parameters for CameraOptions at all, and we just simply expose it because platform methods like 'getUserMedia' are exposing these parameters. It seems a bit counterintuitive to me from developer's perspective. It will not affect the usage of the API but it will be cleaner to read the implementation. What do you think?

@ditman PR updated and here. Video with the flow:
https://user-images.githubusercontent.com/11978998/194008048-2d74456e-5a14-4355-a414-1e59f94f86a8.mov
Now something that I'm missing is:

It should default to true, so it the existing behavior is kept (at least on the web? how does this work in other platforms?)

Are all platforms having the same 2 steps flow to request permissions?
Should be documented somewhere that the parameter enableAudio on CameraController is the one that will request the microphone permission?

@ditman any updates here?

We've just completed the migration of the plugin code to the flutter/packages repository, as described in https://flutter.dev/go/flutter-plugins-repo-migration, and this repository is now being archived. Unfortunately that means that all in-progress PRs here must be moved to flutter/packages.
Please see our instructions for an explanation of how to move your PR, and if you have any issues moving your PR please don't hesitate to reach out in the #hackers-ecosystem channel in Discord.
Our apologies that your PR was caught in this one-time transition. We're aware that it's disruptive in the short term, and appreciate your help in getting us to a better long-term state!


Ex. 2.3.4 (Exercise 2)

Hi,
I'm having issues updating the annotated function in 2.1.1 with the functions processing  "area" and "temporal data."
The following code runs with no errors, but the new functions are not included:
`# INCLUDED IN ASSIGNMENT 1# YOUR CODE HERE
import pandas as pd
#importing the tool
def load_weather(year):
url = f"ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/by_year/{year}.csv.gz"

df_weather = pd.read_csv(url,
                         header=None)
df_weather = df_weather.iloc[:,:4]

column_names = ['station', 'datetime', 'obs_type', 'obs_value']
df_weather.columns = column_names

df_weather['obs_value'] = df_weather['obs_value'] / 10

selection_tmax = df_weather.obs_type == 'TMAX'
df_select = df_weather.loc[selection_tmax]

df_weather['Area Code'] = df_weather['station'].str[:3] #<<<Area function

df_weather['datetime'] = pd.to_datetime(df_weather['datetime'], format='%Y%m%d') #<<<datetime function
df_weather = df_weather.rename(columns={'datetime':'datetime_dt'})

df_sorted = df_select.sort_values(by=['station', 'datetime'])

df_reset = df_sorted.reset_index(drop=True)
df_out = df_reset.copy()

return df_out

load_weather(1863)`

Hi Aksel! You are using a lot of variable names, somewhere in your code this probably leads to the changes to the df not being assigned to the variable you intended. This is actually a good example of one of the benefits with the method-chaining approach :)
/Matias

I've tried to chain the functions previously, but cannot figure out where the new functions would fit in when using this approach:
`def load_weather(year): #making the function, which starts with a comma
url = f"ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/by_year/{year}.csv.gz" #the function defines an url

df_weather = pd.read_csv(url,
                         header=None)  #the function uses pandas to read the csv.file

df_weather = df_weather.iloc[:,:4] #the function searches for all rows + the 4 first columns

column_names = ['station', 'datetime', 'obs_type', 'obs_value'] #makes a function to make new column names
df_weather.columns = column_names #replace existing column names in df_weather

df_weather['obs_value'] = df_weather['obs_value'] / 10 #divide all obs_value with 10

df_out = df_weather\
    .loc[df_weather.obs_type == 'TMAX']\
    .sort_values(by=['station', 'datetime'])\
    .reset_index(drop=True)\
    .copy()

return df_out

load_weather(1863)`

You don't necessarily need to use the method-chaining approach if you were able to now make it work, but if you are curious and want to try doing everything in one chain I would recommend reading up on the method ".assign()" https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.assign.html. With this you can create new variables/columns within the chain.


Texture appears too bright when using TextureArray

Godot version
3.4.stable
System information
Kubuntu 20.04, GLES3, GeForce GTX 980 (460.91.03)
Issue description
The same texture in the same shader looks much brighter when using a TextureArray instead of the texture directly.

The cube on the left is using the texture directly and the cube on the right is using a TextureArray. The results are different, but they should look the same.
Here is how the TextureArray is being created:
extends CSGBox

export (Texture) var texture

func _ready():
#	material_override.set_shader_param("texture_albedo", texture)
#	print(texture.get_data().get_format())
	var textureArray = TextureArray.new()
	textureArray.create(64, 64, 1, texture.get_data().get_format())
	textureArray.set_layer_data(texture.get_data(), 0)
	material_override.set_shader_param("texture_array", textureArray)

And in the shader:
shader_type spatial;
render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx;
uniform vec4 albedo : hint_color;
uniform sampler2D texture_albedo : hint_albedo;
uniform float specular;
uniform float metallic;
uniform float roughness : hint_range(0,1);
uniform float point_size : hint_range(0,128);
uniform vec3 uv1_scale;
uniform vec3 uv1_offset;
uniform vec3 uv2_scale;
uniform vec3 uv2_offset;

uniform sampler2DArray texture_array;

void vertex() {
	UV=UV*uv1_scale.xy+uv1_offset.xy;
}

void fragment() {
	vec2 base_uv = UV;
//	vec4 albedo_tex = texture(texture_albedo,base_uv);
	vec4 albedo_tex = texture(texture_array, vec3(base_uv, float(0)));
	ALBEDO = albedo.rgb * albedo_tex.rgb;
	METALLIC = metallic;
	ROUGHNESS = roughness;
	SPECULAR = specular;
}

Steps to reproduce
Please have a look at the minimal reproduction project below.
Minimal reproduction project
TextureArrayTest.zip

You need to add : hint_albedo at the end of uniform sampler2DArray texture_array:

Thank you Calinou, great to see you are updating the document accordingly!

Closed by https://github.com/godotengine/godot/pull/55772


iOS app with SwiftUI Considerations

Basic Screen / Interactors
UI / UX Design
Design Insertion

Checked for all issues


winelib: files does not exist at linking

Hello!
I am getting a failing winelib build:
[125/186] Linking target src/dxgi/dxgi.dll.so.
FAILED: src/dxgi/dxgi.dll.so

It failed at the following command:
/usr/lib/wine/wineg++  -o src/dxgi/dxgi.dll.so 'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>'src/dxgi/src@dxgi<EMAIL_ADDRESS>../src/dxgi/dxgi.spec -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,dxgi.dll.so src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a -lwinevulkan -Wl,--end-group -pthread '-Wl,-rpath,$ORIGIN/../dxvk:$ORIGIN/../util:$ORIGIN/../spirv' -Wl,-rpath-link,/home/aviau/git/debian-pkg/dxvk/build-32/src/dxvk:/home/aviau/git/debian-pkg/dxvk/build-32/src/util:/home/aviau/git/debian-pkg/dxvk/build-32/src/spirv -m32 -mwindows -ldl

The error of that command is:
winegcc: File does not exist: src/dxgi/src@dxgi<EMAIL_ADDRESS>
I could fix it with:
ninja src/dxgi/src@dxgi<EMAIL_ADDRESS>
And resume the build with:
ninja

Then, It failed again at numerous places, sometimes I could resume the build and sometimes not, I never managed to get the build done.
Any idea what may be causing this?

Can you confirm that the mingw build does work?  Also, please give more details about your system (what distro are you running).

I am on Debian (testing). I will try to investigate with more recent versions of meson/ninja/gcc and report back.

Hah! Apparently this had to do with me an old version of wineg++ and winegcc.
Sorry for the noise!


Schema Stitching: Allow wrapping schema on one specific field instead of merging root fields

When merging multiples apis (e.g. GitHub and Yelp), instead of generating this schema:
{
    getRepositoryById(id: String!),
    # ...otherGitHubQueries,
    searchPlaceByName(place: String!)
    # ...otherYelpQueries,
    myCustomQuery,
}

I'd prefer to be able to generate this:
{
    github: {
        getRepositoryById(id: String!),
        # ...otherGitHubQueries,
        myCustomGitHubQuery,
    yelp: {
        searchPlaceByName(place: String!),
        # ...otherYelpQueries,
        myCustomYelpQuery,
    },
    myProjectNameHere: {
        # ...myCustomQueries,
    }
}

Is that possible or planned?
Thank you.

Related Stack Overflow question
My current basic hack (Not using mergeSchemas, so doesn't handle conflicts etc)

We want to add namespacing utilities so that one can namespace stuff this way before merging. You can also filter the query after mergingSchemas, through eg https://github.com/graphcool/graphql-transform-schema.

@freiksenet any idea when this namespacing functionality will be finished? The project I'm working on really needs this kind of feature.

I think this is super important when using an in house schema and stitching to a schema that can change often, like GraphCMS. Instead of having to deal with multiple graphql endpoints or making sure the two schemas don't collide, we could easily do something like the following:
query {
  user {
    id
  }
  cms {
    pages {
      id
      title
    }
  }
}

where all of our  often changing CMS schema is namespaced safely and won't interfere with our own schema.

I believe this is now possible with the new graphql-tools 3.0!
Does anyone have an example?
https://dev-blog.apollodata.com/the-next-generation-of-schema-stitching-2716b3b259c0

Such a requested (and obvious) feature and no receipt yet ((

This is a great idea! I think it's just a matter of implementing the right transform and making it easy to use/documented.
Anyone want to help with that?

Currently I have an implementation that makes this by renaming types in remote schemas and constructing a new schema with service-specific fields, that have resolvers that delegate queries to corresponding remote schemas. I feel that my implementation is very rough and not very efficient, but the concept is something like this:

Collect remote executable schemas
Transform them be prefixing types (including root types) to prevent naming conflicts
Based on all their data construct a new schema with root fields and "service" fields in them, each of which has a resolver, that simply delegates queries to corresponding remote schemas

I honestly feel that renaming types (as documented in 3.0) doesn't go far enough to resolve this issue for larger datasets.
If you are using GraphQL as a proxy to host many remote APIs under a single server, then merging upwards of a dozen or more remote schemas will get messy, particularly when there are multiple root-level nodes on each schema. Adding a root stub where a remote schema can be attached is much cleaner and more scalable than simply prefixing types with a schema-specific value.
Has anyone been able to do this successfully?

WrapType transform can be used on the root type to namespace. Also see the Gatsby transforms that achieve this.


How do I include the generated swift files into the Xcode automatically?

Hi,
I have got my sources generating to a folder inside my project. This is my .sourcery.yml file
sources:
  - ./Ayuda/
templates:
  - ./sourcery-templates/
output:
  ./Ayuda/GeneratedCode/

How to add any file getting created inside the GeneratedCode folder into the Xcode project automatiically? I have a Run Script section that generates my sourcery code for me.
Thanks
Sethu

Adding new generated files to pbxproj automatically? we don't support this, you'd have to use something like https://github.com/venmo/synx

I think it will do the opposite, remove files not included in the project.
But i think we can add this feature, we already use a pod that reads project file, it should support editing too. What do you think?

Do you want to tackle that? It's something few people asked for before

I'de like to play with it. The main concern I have so far is changing something in currently opened Xcode project.

Xcode should recognise it, it does when appcode changes the project

I assume you're talking about my project XcodeEdit. Unfortunately it currently doesn't support editing of xcodeproj files.
You can use another tool to edit the project.pbxproj file, it is an old-style plist file. So even a tool like plutil should work. XcodeEdit can then be used to reserialize the file to the format Xcode uses, to prevent a giant git diff. (Example)
Alternatively, you can wait for editing support in XcodeEdit. It is a feature I need myself. I'm currently figuring what specifically I want to build. Generic editing of the complete xcodeproj file structure is a lot of work. But for my own needs, I also only need to add a file. So I'm considering just adding a highly specific method addFile, instead of completely implementing generic editing. This single method might also be sufficient for your needs?

Alternatively, there's already the xcproj project, a Swift library that already supports reading, updating and writing Xcode project files. It also seems that it's been somewhat battle-tested in other projects, maybe Sourcery could take advantage of that?

你好 ，我是中国人。

@Cellane I was also looking into xcporj, it could be an option to migrate to it.


Implement abort() in Parquet Writer

PR https://github.com/facebookincubator/velox/pull/6497 introduce abort_ state in HiveDataSink, and https://github.com/facebookincubator/velox/pull/5981 support abort() only for dwrf writer.
This PR implements abort() in Parquet Writer
resolves https://github.com/facebookincubator/velox/issues/6556

@majetideepak Could you please help to review this pr? Thanks.

@majetideepak I've resolved the comments according to your guidance and added test cases with LocalFileSink, could you please help to take a look? Thanks.

@majetideepak Hi Deepak, I've added SinkTests in parquet/test/writer and its base class ParquetWriterTestBase and resolve other comments according to your guidance. Could you help to take a look? Thanks.

@Yuhta can you please help with review and merge?

@xiaoxmeng @kewang1024 Can you help review and import this?

I will let @xiaoxmeng to take a final look


Default ignore config doesn't include README.md and .gitignore

Expected Behavior
When adding the ignore option to the config (sftp.json), default git files such as .gitignore and README.md should be included alongside .vscode and .git.
Actual Behavior
.gitignore and README.md have to be manually added to the ignore list, otherwise they get uploaded to the remote server.
Steps to Reproduce the Problem

Open Command Palette
Run SFTP: config
Add ignore option to sftp.json.
README.md and .gitignore files are not included.

Requisites
SFTP should not have previously been configured with the ignore option.
Extension Logs
[Not included]
Specifications

Version: 1.1.11
Platform: Windows 10

I have a PR waiting with the changes, but I don't have permissions to publish branch / submit PR.


Have 'about Karrot' accessible without login

Without logging in, you cannot read any info about Karrot, find a link to the codebase, etc.
Slightly related to #1813

Hey Doug!
Agreed, we've talked about it during the Karrot weekend and I came up with a proposal here:
https://github.com/yunity/karrot-frontend/pull/1971
You're welcome to join the discussion if you have any feedback!

Now we have the landing page for logged-out users and the about page for logged-in users. Maybe that's sufficient?

Yup, given this issue is about logged out users, I think we addressed this.


Adding comments and tidied up some code.

This PR does the following things.

You can now pass a date into .process_recall_result, I found this useful for populating seed data for reviews that happened in the past.
I removed .reset_spaced_repetition_data and instead moved the default initialization into .process_recall_result.
I added a few comments to make it clear what some of the values meant
I removed the quality_of_last_recall attribute because it wasn't used anywhere.
I removed the easiness_factor attribute as this is calculated each time and doesn't need to be stored

Please let me know if I've done something wrong here, I'm still learning how Super Memo is meant to work so maybe I did something incorrect.

Thank you very much for your work, @scottharvey!


[CP] Revert stencil buffer record/replay.

Issue Link
https://github.com/flutter/flutter/issues/144211
Target
stable
PR Link
https://github.com/flutter/engine/pull/51416
Changelog Description
Reverts a clipping optimization that is broken when multiple clips are applied with a backdrop filter.
Impacted Users
End customers using applications that have a backdrop filter and more than one clip.
Impact Description
Rendering is incorrect.
Workaround
Not really.
Risk
low
Test Coverage
yes
Validation Steps
Run the added test.

would @zanderso be able to help evaluate this cherry pick request? thank you!

revert cp lgtm


Investigate Translation SAAS like crowdin

Investigation Findings
Crowdin ✅
- free for open source
* saving money
- used by ethereum, Facebook, etc
* proven, community knows how to use
- integrates with GitHub
* easy to keep translations up to date

Crowdin isn't free for libre software, it is only gratis for non-commercial libre software.
Crowdin itself is unfree closed source, with tracking left right and center https://support.crowdin.com/cookies/.
Most libre software projects use Weblate.
Crowdin has a terrible voting system, and sub-par navigations.

oh good to know!

Weblate looks real good. I can't believe I had not found it before.  Thanks for pointing us to it.

Greetings from Weblate! Thank you for the kind words! We will be happy to welcome a new libre project in our community! As a maintainer, @aaronmgdr, please fill the form on https://hosted.weblate.org/hosting/ and we will set it up if you want! Have a great day!


gelbooru does not return results from searches

before the update it was downloading fine from gelbooru then after it gives error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.

and i found the reason
when it inputs "md5" into search bar its missing " : "
so gelbooru returns no result
im on windows 7 64 bit
also my download speed reduced from that site
could that be that instead of ip ban they are restricting traffic?

The API was disabled for a while, which might have been the problem?
However, Grabber should automatically fallback to regex mode, so it should still find things. The find that your link was to the XML API means that it didn't fallback. Did you change the Gelbooru source settings? If you removed the Regex source from the list, since the XML one was disabled, you were without any source left for Gelbooru.

i left it all defaults for the sourcing.  Only changes i make is on  the search bar to enable/disable sources.
The only changes i made to the settings was simultaneous downloads = 1
Is there an ini file with the settings i can upload?


ActiveRecord Role and RbHive Role classes are in conflict

I have an activerecord Role class in my app, and rails throws this error:
TypeError: superclass mismatch for class Role

We're having this issue as well, any news on this?


Extend the code coverage in travis

Pull Request Test Coverage Report for Build 1603

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+76.9%) to 76.885%

Totals

Change from base Build 1602:
76.9%

Covered Lines:
7261

Relevant Lines:
9444

💛  - Coveralls

Let's try to reduce the time spent running some tests twice.

Now it takes about 37minutes down to 41minutes.


OAK-9850: ConcurrentPrefetchAndUpdateIT.cacheConsistency fails occasi…

…onally
Keys collection passed to registerTracker must not be modified later.
NodeDocumentCache.putNonConflictingDocs() must always notify other trackers.
Enable test again.

I think that's possible. The added else clause in NodeDocumentCache.putNonConflictingDocs() is not specific to prefetching.

Wsa wondering if it would make sense to try and come up with a test case that would have failed without this fix. Maybe it could help finding or explaining other issues (like some stray OakMerge0004 conflicts..).

Was wondering if it would make sense to try and come up with a test case that would have failed without this fix.

Running ConcurrentPrefetchAndUpdateIT in a loop eventually failed on my machine without the fix. But I agree, it would be better if there was a deterministic test that fails immediately without the fix.

Test failure in oak-blob-plugins seems unrelated. I can reproduce the failure locally and created https://issues.apache.org/jira/browse/OAK-9879

a test case that would have failed without this fix

@stefan-egli there is now a simple test that illustrates why changes to NodeDocumentCache are necessary. NodeDocumentCacheTest fails deterministically without changes to NodeDocumentCache.putNonConflictingDocs().


Community admins wrongly see the button to create top-level communities

Describe the bug
Community admins see the button to create top-level communities, although they shouldn't.
Since they administer one or more communities, they should be able to create sub-communities but not top-level ones.

If they click on the top-level community creation button, they see the form, but an error prevents them from saving it.

To Reproduce
Steps to reproduce the behavior:

Log in as Community admin on https://demo.dspace.org/home
On the admin bar, click on New -> Community
Select Create a new top-level community
Fill the form
Save
An error will correctly block the creation

Expected behavior
The Community admins don't see the button for creating top-level communities in the admin bar.

@tdonohue  we'll work on this

Thanks @atarix83 !  Assigned to you

This has been address now, but there is a minor related issue. When creating a sub-community, community administrators are given a list of communities under which to create the sub-community, and the list does not take into account their permissions. It would be good if the list showed only the communities they were an administrator in.


403 on loading schema

This is fixed in the new version now generally available; www.jsonschema.net


[FLOC-3941] Pre-pull Docker Swarm when building the Docker image

Fixes: https://clusterhq.atlassian.net/browse/FLOC-3941
I also introduced some changes to allow the version to be supplied as an environment variable when calling the script.
And modified the integration test to check the tags when the images have built.
I'll follow up with a way to specify and tag the Docker package version in

https://clusterhq.atlassian.net/browse/FLOC-4102
https://github.com/ClusterHQ/flocker/compare/choose-docker-version-FLOC-4102

The test in this branch is currently skipped by Jenkins but I ran it manually and it passed:
(3941)(packer-pull-swarm-FLOC-3941-2 ✕? =)[~/.../HybridLogic/flocker]$ trial admin.test.test_images
admin.test.test_images
  PackerAmisTests
    test_multiple_ami ...                                                  [OK]
    test_no_ami ...                                                        [OK]
    test_one_ami ...                                                       [OK]
  PackerBuildIntegrationTests
    test_template_error ...                                                [OK]
  PackerConfigureTests
    test_configuration ...                                                 [OK]
  PackerOutputParserTests
    test_artifact ...                                                      [OK]
    test_artifact_multiple ...                                             [OK]
  PublishInstallerImagesEffectsTests
    test_sequence ...                                                      [OK]
  PublishInstallerImagesIntegrationTests
    test_build_both ...                                                    [OK]
    test_help ...                                                          [OK]
  WriteToS3Tests
    test_perform ...                                                       [OK]

-------------------------------------------------------------------------------
Ran 11 tests in 1593.546s

PASSED (successes=11)

The resulting images  and their tags can be seen at:

https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Images:sort=desc:creationDate

In a follow up to this, the behaviour of test_build_both needs to be moved to a script which can be called from Jenkins.

:heavy_check_mark: looks good, thanks. Merge when you are happy.


MDATP Onboarding in SCCM CB/MECM

The docs regarding the Onboarding process should refer to this link instead of program and package creation for Current Branch version : https://docs.microsoft.com/en-us/mem/configmgr/protect/deploy-use/windows-defender-advanced-threat-protection
It may have been like this for SCCM 2012 (still on support) but we mainly use MECM/SCCM CB now and should point to the right link.

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

ID: 3c500256-8bbd-fe0c-32e3-c3193652e5cd
Version Independent ID: 838f93f8-7e0f-e693-f7cf-eac1569f75c8
Content: Onboard Windows 10 machines using Configuration Manager - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/configure-endpoints-sccm.md
Product: w10
Technology: windows
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Hello @chboeye ,
not sure what you are talking about.
The article already has the link you provided in the Onboard Windows 10 devices using Microsoft Endpoint Configuration Manager current branch section.
It only has the link to program and package creation article in the section Onboard devices using System Center Configuration Manager section.
The links don't look inconsistent.
What do you think?
Thank you

On section 3 of https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/configure-endpoints-sccm#onboard-devices-using-system-center-configuration-manager, it points to https://docs.microsoft.com/en-us/previous-versions/system-center/system-center-2012-R2/gg699369(v=technet.10) - Took me 10 min to find out what I was talking about :D
What do you think?

Hello @chboeye ,
yes, but this part of the article is dedicated to the older versions of  SCCM (it states "This action is supported in System Center 2012 R2 Configuration Manager.")
The article link to which you want to add, is about the feature supported starting since Update 1606, so I think link in section 3 is the correct one.
Thank you

Fine for me, let's leave it as it is :)


Able to isolate networks?

Is there a way to isolate what networks QEMU uses on the host?
For example, specifying in the podfile to use vnet0 or vnet1, etc, similar to how libvirt does it with the xml formatting.
If there isn't, I'm willing to contribute in adding the ability to specify a specific public / private IP + network.
Also, wouldn't:
network.go
const (
	defaultBridgeIface	= "hyper0"
	defaultBridgeIP		= "<IP_ADDRESS>/24"
)

cause the max amount of IP's be 253, only being able to run 253 appcontainers. Shouldn't we make this more dynamic?

hi @charliedrage , the hyper0 could configure in the config file,  /etc/hyper/config by default, it supports the following config items:
Bridge = hyper0
BridgeIP = <IP_ADDRESS>/24

currently, only bridge is supported, more networking features in the future.

@gnawux awesome. looking forward to the new network features, hopefully there's the ability to specify a network interface / ip address in the future.


Icons.sports_martial_arts_rounded shows Armenian flag.

Steps to Reproduce

Create a new Flutter project in dartpad.dev with this code:

import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    home: Scaffold(
      body: Center(
        child: IconButton(
          iconSize: 200,
          icon: const Icon(Icons.sports_martial_arts_rounded),
          onPressed: () {}
        )
      )
    )
  ));
}

Expected results:

Actual results:

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.0, on Debian GNU/Linux 11 (bullseye) 5.10.0-11-amd64, locale en_PH.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.64.0)
[✓] Connected device (1 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Additional Info
I ran into this while I was trying to make an IconButton with the martial arts
icon in my own web app. When I switched to the master channel, the problem
disappeared.

i guess that's related when you switch from one channel to the other , if i were u , i would re-download the Flutter SDK again and try switching back and forth between channels to see if that problem still exists.

It hapens on dartpad.dev too, so it's not just a problem with my system.

I switched back from the master channel back to the stable channel, did flutter upgrade, tested it but the problem still persists.

Hi @eliaxelang007, this is a duplicate of https://github.com/flutter/flutter/issues/97767.

When I switched to the master channel, the problem disappeared.

This is because the issue has been fixed on master. See https://github.com/flutter/flutter/issues/97767#issuecomment-1029885334 for more information.
Since there's a cherry-pick request for #97767, I'm going to close this issue. Kindly follow up there for information.


Vesting vault -- giga small typo

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
506

Relevant Lines:
523

💛  - Coveralls


docs: Update example usage in readme

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
21

Relevant Lines:
21

💛  - Coveralls


Add local development instructions

Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Doh should have checked the pull requests. I just did this as well.


Unhandled Exception: System.NullReferenceException:

Hi,
First off thank you for this agent, it has saved me allot of time!
Unfortunatley though on a fresh windows 10 install that has been updated through windows update I get this error message.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Marksman.Sentry.RunWMI()
at Marksman.Marksman.Main(String[] args)
Any assistance would be appreciated

I've ran v1.0.1 in debug mode on that asset and the lines of code it bombs out on is :

27/02/2019 10:15:49: Started application.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Marksman.Sentry.RunWMI() in \server\users$\username\Documents\Visual Studio 2017\GIT\Marksman-v1.0.1\marksman-master\Marksman.cs:line 197
at Marksman.Sentry.Run() in \server\users$\username\Documents\Visual Studio 2017\GIT\Marksman-v1.0.1\marksman-master\Marksman.cs:line 290
at Marksman.Marksman.Main(String[] args) in \server\users$\username\Documents\Visual Studio 2017\GIT\Marksman-v1.0.1\marksman-master\Marksman.cs:line 338
Looks like it's this part
// Display all properties.
foreach (PropertyData property in m.Properties)
{
string propertyValue = "";
if  (!String.IsNullOrWhiteSpace(property.Value.ToString()))

Ok I've ran Visual Studio 2017 on the problem asset
Stepping through the PropertyValues that come in.
Serial Number, Computer Name, 2, Model, BIOS Version, MAC Address, Network Manufacturer, Network Adapter Model, Disk Drive Model x 2, Disk Drive Serial Number, null, Then crash.
WMI Query at the time SELECT Manufacturer,Model,SerialNumber,Size FROM Win32_DiskDrive
HDD Details on this device
Manufacturer
(Standard disk drives)
(Standard disk drives)
Model
Generic- SD/MMC USB Device
LENSE30512GMSP34MEAT3TA
SerialNumber
2012090114345300
A032_99DE_A00E_0423.
Size
512105932800
Taking out Size from  (Line 322 on Marksman.cs) mySentry.AddQuery("WMI", "SELECT Manufacturer,Model,SerialNumber, FROM Win32_DiskDrive");
Lets the App continue
Null Size for Generic- SD/MMC USB Device causing this issue maybe?

Hi boingball,
thanks for looking into this. Is there any chance you could build this for me without the size query as the assets which are failing are all with SD readers.
Sorry im not versed in compiling visual studio projects and attempted this myself but didn't get very far

This is the Marksman.exe file without the Size part of the WMI query in it
Line 322 - mySentry.AddQuery("WMI", "SELECT Manufacturer,Model,SerialNumber FROM Win32_DiskDrive");
Marksman.zip
Just replace your current Marksman.exe in your installation folder.
I can't make a full installer as my Visual Studio 2017 is incompatible with the Setup program.

Thank you for investigating it.
Any chance you can create a pull request? We can remove the query for now and rebuild the release, but let me explain something. Originally we planned to include components and automatically assign/update components per machine. That part of the code was written to collect the most essential data (like HDD serials). It doesn't work that way yet and I am not sure if it will.
Also, if there are features that you think are missing, please create an issue.

Hi Velaar,
Will do.
I'm using a custom version of your 1.0.1 code and I added CPU Name, OS Version, Memory Size + Model Name - I also fixed the Mac Address adder (It was trying to use a different field name to the one in my SnipeIT database)
I run this Marksman.exe as part of our PXE network build - so when a computer is built, it runs Marksman automatically and add's this to SnipeIT with the custom details I want.
I could do with a Marksman that could update current assets but looking at the code there's a lot to program to make that happen.
Cheers,
Darren

Iam getting this error.
2019-07-24 14:28:09: Started application.
HTTP 200: Connection to Snipe-IT instance succeded.
Attempting to create type: SnipeSharp.Endpoints.Models.Manufacturer
Instance name: Dell Inc.
Attempting to create type: SnipeSharp.Endpoints.Models.Category
Instance name: Laptop
Already exists in DB
Attempting to create type: SnipeSharp.Endpoints.Models.Model
Instance name: Latitude 7490
Ohanterat undantag: SnipeSharp.Exceptions.RequiredValueIsNullException: Property Manufacturer cannot be null.
vid SnipeSharp.Endpoints.QueryParameterBuilder.GetParameters(Object item)
vid SnipeSharp.Common.RequestManagerRestSharp.Post(String path, ICommonEndpointModel item)
vid SnipeSharp.Endpoints.EndpointManager`1.Create(T toCreate)
vid Marksman.Broker.SyncAll(SnipeItApi snipe, Asset currentAsset, Model currentModel, Manufacturer currentManufacturer, Category currentCategory, Company currentCompany, StatusLabel currentStatusLabel, Location currentLocation)
vid Marksman.Marksman.Main(String[] args)

I'm gonna bump this, it still seems to be broken on version 1.5 which hasn't been stated by other people. Even building from scratch.

I was also suffering from this - I had diagnosed it as an issue with the DiskDrive WMI query and traced it down to the "Windows Sandbox" feature.
It looks like some of the information the query looks for isnt available for the "Portable Base Layer" VHD that Microsoft use as the Windows Sandbox location.
I replaced line 322 with the below to get the "correct" drive, now runs without a hitch!
SELECT Manufacturer,Model,SerialNumber FROM Win32_DiskDrive WHERE Index=0
I'll submit a PR with this change, I believe that Index 0 should always the drive where Windows is running from.

I was also suffering from this - I had diagnosed it as an issue with the DiskDrive WMI query and traced it down to the "Windows Sandbox" feature.
It looks like some of the information the query looks for isnt available for the "Portable Base Layer" VHD that Microsoft use as the Windows Sandbox location.
I replaced line 322 with the below to get the "correct" drive, now runs without a hitch!
SELECT Manufacturer,Model,SerialNumber FROM Win32_DiskDrive WHERE Index=0
I'll submit a PR with this change, I believe that Index 0 should always the drive where Windows is running from.

Is it possible for you to recompile it and release a new version with this problem fixed?

Hi Mike, thanks for the pull request. I'll release a recompiled version this weekend.

@danielhogg
Hello Daniel,
Were you able to recompile a new version?
Thanks

Any update?

HI also Having issues - Please Help would love an agent for snipe-it
:\Program Files (x86)\Scope-IT\Marksman>Marksman.exe
17/08/2023 7:20:04 PM: Started application.
HTTP 200: Connection to Snipe-IT instance succeded.
Attempting to create type: SnipeSharp.Endpoints.Models.Manufacturer
Instance name: HP
Already exists in DB
Attempting to create type: SnipeSharp.Endpoints.Models.Category
Instance name: Laptop
Unhandled Exception: Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Boolean'. Path 'rows[0].eula', line 1, position 134. ---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor1 creator, String id)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)    at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)    at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)    at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)    at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)    at SnipeSharp.Endpoints.EndpointManager1.FindOne(ISearchFilter filter)
at SnipeSharp.Endpoints.EndpointManager`1.Create(T toCreate)
at Marksman.Broker.SyncAll(SnipeItApi snipe, Asset currentAsset, Model currentModel, Manufacturer currentManufacturer, Category currentCategory, Company currentCompany, StatusLabel currentStatusLabel, Location currentLocation)
at Marksman.Marksman.Main(String[] args)


ComputeCertificateRequestName() can compute invalid DNS-1123 names

Bugs should be filed for issues encountered whilst operating cert-manager.
You should first attempt to resolve your issues through the community support
channels, e.g. Slack, in order to rule out individual configuration errors.
Please provide as much detail as possible.

Describe the bug:
ComputeCertificateRequestName() can compute invalid names. Given a sufficiently long domain name like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.example.com, ComputeCertificateRequestName() will truncate at 52 characters, then append - followed by a hash of the spec. If the truncation is unlucky enough to happen at a period (.), the resulting string will have the form aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.-1004948956. But .- doesn't match the DNS-1123 regex.
https://github.com/jetstack/cert-manager/blob/9cd00ce3f89b9b0cde035cc45ad49c26f41df2cd/pkg/api/util/names.go#L27
...
https://github.com/jetstack/cert-manager/blob/9cd00ce3f89b9b0cde035cc45ad49c26f41df2cd/pkg/api/util/names.go#L42
Expected behaviour:
A concise description of what you expected to happen.
A CertificateRequest resource is created.
Simple option: Don't appending - when constructing the name of a CertificateRequest. Optionally keep one more character from the name of the Certificate.
>>> r = re.compile('[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
>>> r.match(a).group(0)
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
>>> b='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.1004948956'
>>> r.match(b).group(0)
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.1004948956'

Steps to reproduce the bug:
Steps to reproduce the bug should be clear and easily reproducible to help people
gain an understanding of the problem.
kubectl apply this Certificate resource. The dnsNames/commonName/secretName are all short. The problem is triggered by the placement of the period near the end of the long (but valid) Certificate name.
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.ex
spec:
  commonName: 'example.com'
  dnsNames:
  - 'example.com'
  issuerRef:
    kind: ClusterIssuer
    name: letsencrypt-production
  secretName: example-bad-named-certificate

Note that no CertificateRequest resource is created. Certificate resource has no Events, and status.conditions.message remains "Certificate pending issuance".
Look at the cert-manager pod logs, and see this pair of log messages:
I0107 20:36:55.617695       1 sync.go:361] cert-manager/controller/certificates "level"=0 "msg"="no existing CertificateRequest resource exists, creating new request..." "related_resource_kind"="Secret" "related_resource_name"="example-bad-named-certificate" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.ex" "resource_namespace"="default"
E0107 20:36:55.816587       1 controller.go:131] cert-manager/controller/certificates "msg"="re-queuing item  due to error processing" "error"="CertificateRequest.cert-manager.io \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.-1004948956\" is invalid: metadata.name: Invalid value: \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.-1004948956\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')" "key"="default/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.ex"

Anything else we need to know?:
This is affecting people in the wild: https://kubernetes.slack.com/archives/C4NV3DWUC/p1578385664310800
E0106 12:18:09.406951 1 pki.go:128] cert-manager/controller/certificates "msg"="error decoding x509 certificate" "error"="error decoding cert PEM block" "related_resource_kind"="Secret" "related_resource_name"="mapp1-review-livechat-hotfix-xxx-nkubi-mylongdoma1-ch-tls" "related_resource_namespace"="xxx-review" "resource_kind"="Certificate" "resource_name"="mapp1-review-livechat-hotfix.xxx.sub1x.mylongdoma1.ch" "resource_namespace"="xxx-review" "secret_key"="tls.crt"

E0106 12:18:09.407051 1 controller.go:131] cert-manager/controller/certificates "msg"="re-queuing item due to error processing" "error"="CertificateRequest.cert-manager.io \"mapp1-review-livechat-hotfix.xxx.sub1x.mylongdoma1.-2377812266\" is invalid: metadata.name: Invalid value: \"mapp1-review-livechat-hotfix.xxx.sub1x.mylongdoma1.-2377812266\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')" "key"="xxx-review/mapp1-review-livechat-hotfix.xxx.sub1x.mylongdoma1.ch"

Closed issue #2338 observes a similar symptom.
Environment details::
Reproduction above with:

Kubernetes version (e.g. v1.10.2): 1.13.10
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): Azure
cert-manager version (e.g. v0.4.0): v0.11.0
Install method (e.g. helm or static manifests): helm

/kind bug

Thanks for the report on this! What a pain 😅 we can probably work around this by ensuring that the last character after truncating to 52 chars is not a symbol, and if it is, removing it? My only concern would be with collisions, however given that we are also using a hash of the spec as part of that name I think this won't happen unless someone has an identical Certificate resource that is named specifically to conflict.
cc @JoshVanL any thoughts?

/priority important-soon
/milestone v0.13


Purpose of callback functions

Hi,
I did not investigate when you introduced all those callback arguments. As all involved functions are syncronous, I wonder why we need those arguments.
So writting
function foo () {
  // do something
}
tobi.next(foo)

should be the same as
function foo () {
  // do something
}
tobi.next()
foo()

For my taste, those additional callback parameters just blow code up. Could you explain a possible use case for them?
Thanks in advance and have a nice day
midzer

Hey @midzer,
I had a few projects that should do something after a tobi action (open and close), but only if there was no error. I admit I probably overdid it with prev() and next() :-)
I think all the callbacks can be replaced with the upcoming events.


Update to use beta2 engine release

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

GitHub Release
NuGet Package
Chocolatey Package


newtype extending newtype when underlying values extend eachother?

Given:
trait Foo
trait Bar extends Foo

why wouldn't
@newtype class NFoo(val internal: Foo)
@newtype class NBar(override val internal: Bar) extends NFoo(internal)

be valid?

Here's how it might be expanded:
type NFoo = NFoo.Type
object NFoo {
  type Repr = Foo
  type Base = Any { type NFoo$newtype }
  trait Tag extends Any
  type Type <: Base with Tag
  implicit final class Ops$newtype(val $this$: Type) extends AnyVal {
    def internal: Foo = $this$.asInstanceOf[Foo]
  }
}

type NBar = NBar.type
object NBar {
  type Repr = Bar
  type Base = Any { type NBar$newtype }
  trait Tag extends Any
  type Type <: NFoo.Type with Base with Tag
  implicit final class Ops$newtype(val $this$: Type) extends AnyVal {
    def internal: Bar = $this$.asInstanceOf[Bar]
  }
}

My only worry is the internals conflicting; depending on how implicit priority works, NBar.Ops$newtype should take priority over NFoo.Ops$newtype.

I have verified that the implicit ops don't conflict with each other. Taking the code above and using it to do:
def doTheThingFoo(nfoo: NFoo): Foo = nfoo.internal
def doTheThingBar(nbar: NBar): Bar = nbar.internal

lazy val myBar: Bar = ???
doTheThingFoo(myBar.asInstanceOf[NBar])

compiles just fine.
I don't yet have an easy way to test if it works at runtime, but I don't see why it wouldn't.

Given:
trait Foo
trait Bar extends Foo

why wouldn't
@newtype class NFoo(val internal: Foo)
@newtype class NBar(override val internal: Bar) extends NFoo(internal)

be valid?

I see what you mean. However, I'm a bit hesitant to make the encoding even more complex. However, you can get these same semantics with the following -
import io.estatico.newtype.macros.newtype

object Main {

  class Foo
  class Bar extends Foo

  @newtype case class N[+A](internal: T forSome { type T <: A })

  type NFoo = N[Foo]
  val NFoo: Foo => NFoo = N.apply

  type NBar = N[Bar]
  val NBar: Bar => NBar = N.apply

  def printNFoo(nfoo: NFoo): Unit = println(nfoo)
  def printNBar(nbar: NBar): Unit = println(nbar)

  def main(args: Array[String]): Unit = {
    val foo: Foo = new Foo
    val bar: Bar = new Bar
    val nfoo: NFoo = NFoo(foo)
    val nbar: NBar = NBar(bar)

    // Of course this works
    printNFoo(nfoo)

    // Works because NBar is a subtype of NFoo
    printNFoo(nbar)

    // Does not compile because NFoo is not a subtype of NBar
    // printNBar(nfoo)

    // Of course this works
    printNBar(nbar)
  }
}

Can I make @newtype case class N[+A <: Foo]?

I think so; try adding the <: Foo bound on my previous example -
@newtype case class N[+A <: Foo](internal: T forSome { type T <: A })


build(deps): bump kotlin to 1.9.10 and dokka to 1.9.0

Replaces

https://github.com/smallrye/smallrye-mutiny/pull/1395
https://github.com/smallrye/smallrye-mutiny/pull/1399

Kotlin 1.9.10 and coroutine 1.7.3 is also used in Quarkus BOM, so no compatibility issues should occur.

Thanks @heubeck


Pull forward

This is a test email
From: Chris Rorden @.>
Reply to: hanayik/niivue @.>
Date: Tuesday, 23 March 2021 at 12:03
To: hanayik/niivue @.>
Cc: Subscribed @.>
Subject: Re: [hanayik/niivue] Pull forward (#103)
Closed #103.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update hololens2-start.md

Added info about wifi button combo

@JohanFreelancer9 : You may want to take a quick look at this content to see if it needs additional tweaking.

BTW, I removed my 2nd suggestion comment, seeing that JohanFreelancer9 has suggested my modification in addition to his own ones for the same sentence.


Dask HyperbandSearchCV and Keras Metrics crashes

Hi Adrian,
There is also a problem with the keras metrics and the HyperbandSearchCV  from dask-ml. I think this happens because there are no metrics in history on the first warm_start .
Code:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

from tensorflow.keras import Sequential
from tensorflow.keras.layers import Dense, Flatten
from scikeras.wrappers import KerasRegressor

import numpy as np
from dask.distributed import Client, LocalCluster

import dask_ml.model_selection as dcv

def model_building_function(X, n_outputs_, hidden_layer_sizes, activation_func):
    """Dynamically build regressor."""

    model = Sequential()
    model.add(Flatten(input_shape=X.shape[1:]))
    for size in hidden_layer_sizes:
        model.add(Dense(size, activation=activation_func))
    model.add(Dense(n_outputs_))
    model.compile("adam", loss="mean_squared_error",
                  metrics=['mse', 'mae', 'logcosh']
                  )
    return model

class Est(KerasRegressor):
    def __init__(self, hidden_layer_sizes=None, activation_func=None):
        self.hidden_layer_sizes = hidden_layer_sizes
        self.activation_func = activation_func
        super().__init__()

    """
    def __call__(self, X, n_outputs_, hidden_layer_sizes, activation_func):
        model = model_building_function(
            X, n_outputs_, hidden_layer_sizes, activation_func
        )
        return model

    """
    def __call__(self, X, n_outputs_, hidden_layer_sizes, activation_func):
        print('Est args:', X, n_outputs_, hidden_layer_sizes, activation_func)

        model = model_building_function(
            X, n_outputs_, hidden_layer_sizes, activation_func
        )
        return model

if __name__ == "__main__":
    cluster = LocalCluster(processes=True, n_workers=5, threads_per_worker=1)
    # cluster = LocalCluster(processes=False, n_workers=1, threads_per_worker=1)

    dask_client = Client(cluster)
    #dask_client = Client('localhost:8786', timeout=10)

    model = KerasRegressor( build_fn=model_building_function,
                            hidden_layer_sizes=[32, 32], activation_func="relu")

    #model = Est(hidden_layer_sizes=[32, 32], activation_func="relu")
    #model = KerasRegressor(build_fn=Est(), hidden_layer_sizes=[32, 32], activation_func="relu")

    # generate data
    X = np.arange(1.0, 5001.0).reshape((100, 50)).astype(np.float32)
    y = np.arange(1.0, 101.0).reshape(100, 1).astype(np.float32)

    # specify parameters and distributions to sample from
    param_dist = {
        "hidden_layer_sizes": [[16, 16], [32, 32], [64, 64], [128, 128], [256, 256]],
        "activation_func": ["relu", "elu"],
    }

    hyperband = dcv.HyperbandSearchCV(model, param_dist, max_iter=12, aggressiveness=3,verbose=True)

    print("START HyperbandSearchCV")
    hyperband.fit(X, y)
    print("best score =", hyperband.best_score_)
    assert hasattr(hyperband, "best_score_")

Traceback

Traceback (most recent call last):
  File "D:\...\site-packages\distributed\utils.py", line 665, in log_errors
    yield
  File "D:\...\lib\site-packages\dask_ml\model_selection\_incremental.py", line 102, in _partial_fit
    model.partial_fit(X, y, **(fit_params or {}))
  File "D:\...\lib\site-packages\scikeras\wrappers.py", line 577, in partial_fit
    X, y, sample_weight=sample_weight, warm_start=True, **kwargs
  File "D:\...\lib\site-packages\scikeras\wrappers.py", line 548, in fit
    X, y, sample_weight=sample_weight, warm_start=warm_start, **kwargs
  File "D:\...\lib\site-packages\scikeras\wrappers.py", line 330, in _fit_keras_model
    k: self.history_[k] + hist.history[k] for k in keys
  File "D:\...\site-packages\scikeras\wrappers.py", line 330, in <dictcomp>
    k: self.history_[k] + hist.history[k] for k in keys
KeyError: 'log_cosh'

I was able to reproduce, thank you for the clean example. I will look into resolving this.

So this is partly due to a TF bug: https://github.com/tensorflow/tensorflow/pull/42097


pub install runs on FAT32 says its 'fine', when it's not

This issue was originally filed by @Bluenuance

What steps will reproduce the problem?

open a project located in a "FAT32" filesystem
run pub
it says everything went fine

What is the expected output? What do you see instead?
As those "links" which are created by pub are not supported on FAT32 Filesystems there should be a warning.
Pub should not tell everything went fine when it's not ;)
What version of the product are you using? On what operating system?
Dart Editor version 0.2.4_r15130
Dart SDK version <IP_ADDRESS>_r15130
on Win8

This issue has been moved to dart-lang/pub#294.


Revert to basic DRF JSON API

This also adds routes for demo-data and makes studies able to be looked up by their UUID.

Just realized that pk ids were being exposed while uuids were still appearing in urls... I'll fix and resubmit.


MathMagicians: refactor with hooks

On this pull request we>

Refactored components to use Hooks instead of Classes
App remained functional after refactoring

Approved ✔
Hi @alexpuente0
Congratulations on completing this project! 👏🏼 🎉
You have correctly implemented all of the requirements📃 correctly and without any errors⚠ or bugs🪲.
Cheers and good luck in your next milestones! 🍀
Feel free to leave any questions or comments in the PR thread(don't forget to tag me 😄) if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Add theme: Horizontal Tabs

Add theme: Horizontal Tabs
This PR adds a new theme to the theme library.
Theme Details

Name: Horizontal Tabs
Description: Enable Horizontal Tabs in Zen
Homepage: https://github.com/Alexcoder5/zen-horizontal-tabs
Author: @Alexcoder5

hey @Alexcoder5 I wonder if I could use this code for the browser it's self. You'll get full credit of course

Hi, sorry I did not see your message. Sure, you can use it.
But the tabs reordering is not working here, hope you have time to fix it. Also I discovered that when you use a bookmarks bar (which I normally don't use, that's why I missed it) the layout is a bit off.


Error "Could not find implementations of custom rules"

Hi team,
the idea for the package is great! I cannot get it to work though following the steps in the migration guide though.
After installing rxjs-tslint, adding the file migrate-rxjs.tslint.json and running the command ./node_modules/.bin/tslint -c migrate-rxjs.tslint.json --project src/tsconfig.app.json --fix I get the following error:
`Could not find implementations for the following rules specified in the configuration:
update-rxjs-imports
migrate-to-pipeable-operators
migrate-static-observable-methods
collapse-rxjs-imports
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.
No valid rules have been specified`
Am I doing something wrong or is this a bug within the package? I tried uninstalling TSLint, delete the global rules file and re-install it. But to no avail. I even tried removing all rules from that TSLint file to test if any of them is corrupted.
There is a folder at node_modules/rxjs-tslint. It looks like this:

<EMAIL_ADDRESS><EMAIL_ADDRESS>

I'm getting this error too for the same versions. I managed to successfully run this the other day, and I'm pretty sure it was the same version of tslint

Will take a look today.

Should be working fine now.

Thanks for looking into this especially given that you were at ng-conf!

I'm still having this issue.
$ ./node_modules/.bin/tslint -c migrate-rxjs.tslint.json --project src/tsconfig.app.json --fix

Could not find implementations for the following rules specified in the configuration:
    rxjs-proper-imports
    rxjs-pipeable-operators-only
    rxjs-no-static-observable-methods
    rxjs-collapse-imports
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.

No valid rules have been specified

What version of rxjs-tslint are you using?

Solved the problem. I was following some angular or rxjs doc that was telling to call the rxjs-tslint from project node_modules instead of the global rxjs-5-to-6-migrate command.


Allow valueConverters to be called before itemConverters

I have an itemConverter that lookup entities in the database, but I also have valueConverters to transform my data. However, itemConverter are called before the data is converted, and then it does not find my entity (because it use the unconverted values).

Steps are merged into the core, this is solved.


Ability to render custom tags

So basically, I am using mistune to store my blog posts. And sometimes I have some images or iframes or other tags that I only use in that article. So I want to be able to render customly, using some syntax like : ~img-href"link"alt"image"~ and it would be parsed as <img href="link" alt="image". It is not just for that tag but any custom tag we want to make, like ~anytag~ render as <anytag>.

You can always use HTML in Markdown.


[DOCS] Add docs for nalgebra-sparse

Adding some basic docs per https://github.com/dimforge/nalgebra/issues/1261
I added some mentions of supported features, how to include in project, and added an example of sparse-dense multiply.

bump


CEC-681: SuccessFactors Design Time Implementation

Hi, @rmstar @snehalakshmisha I've addressed all the review comments. Please review again.


#7 Setup github action CI

Closes #7
What happened 👀
Setup Github Action as the CI service.
Insight 📝

Run on ubuntu container, run code analysis & unit test for now.

Proof Of Work 📹
Check CI status

@manh-t @markgravity I'm moving fast with this to get the pipeline running for the other PR, if you have any comments please do leave them here and tag me 🙇


"This is a pre-release test build"

can you please help me..  i want to write a pool/blockchain application.. i want to modify it. i want to detect errors in the "error" string.. but the actual anoncoin version here on github always produces in getinfo the string
"version" : "v<IP_ADDRESS>",
"protocolversion" : 70007,
"walletversion" : 60000,
"errors" : "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"

so how can i the source of the stable version? ( no, i don't want the binary.. ) how can i remove the string?
there is a additional branch "0.8.5" , but it is 2 years old..
the most recent release "v<IP_ADDRESS>" is also 2 years old..

workaround:
src\clientversion.h , Line 17
#define CLIENT_VERSION_IS_RELEASE  true

thank you, good work


Fix documentation link

https://developers.cloudflare.com/api/keys/#limitations returns to the API doc home page which mentions API keys which is confusing.
The new URL: https://developers.cloudflare.com/fundamentals/api/get-started/keys/#limitations mentions the limitation of Global API keys and encourages to use API tokens instead.

thanks!


Microsoft.Azure.DevOps.Pipelines.Agent v1.23 VM Extension does not start in Ubuntu 24.04 image

Description
The Microsoft.Azure.DevOps.Pipelines.Agent v1.23 VM Extension does not start when a VMSS instance is provisioned from the Ubuntu 24.04 image. The VMSS will show the provisioning status of the VM extension as failed with the error that the agent failed to start and had a terminal exception non-zero exit code.
I also noticed that the ubuntu 24.04 packer file does not have a configuration, similar to the below that is in the Ubuntu 22.04 packer file and appears to be used for Azure DevOps agent configuration.
provisioner "file" {
    destination = "/tmp/"
    source      = "${path.root}/../assets/ubuntu2204.conf"
  }

  provisioner "shell" {
    execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
    inline          = ["mkdir -p /etc/vsts", "cp /tmp/ubuntu2204.conf /etc/vsts/machine_instance.conf"]
  }

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[X] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image Version: 20240811.1.1
Is it regression?
No
Expected behavior
The Microsoft.Azure.DevOps.Pipelines.Agent VM Extension should provision and start successfully when provisioning a VM instance with the Ubuntu 24.04 image.
Actual behavior
The Microsoft.Azure.DevOps.Pipelines.Agent VM Extension does not start when a VMSS instance is provisioned from the Ubuntu 24.04 image. The VMSS will show the provisioning status of the VM extension as failed with the error that the agent failed to start and had a terminal exception non-zero exit code.
Repro steps
Repro Steps:

Build an ubuntu 24.04 build agent image following the instructions at: https://github.com/actions/runner-images/blob/main/docs/create-image-and-azure-resources.md
Once the image is built and saved to a Shared Image Gallery, review the status of an Azure DevOps managed VMSS using the above image as an image reference and that the provisioning status of the Microsoft.Azure.DevOps.Pipelines.Agent VM Extension which should show as failed.

@bvaughan527  Thank you for bringing this issue to our attention. We will look into this issue and will update you on this issue after investigating.

Hi @bvaughan527 This issue should be fixed on ADO side, Please refer the below link and we are closing this issue. Thanks.
https://github.com/microsoft/vsts-azurevm-extension/pull/235/files


refactor: create 1 shared DI graph

Closes: https://github.com/customerio/issues/issues/7439
Things changed

Instead of each module having their own DI graph (DITracking, DIMessagingPush, etc) we just have 1 DI graph class and instance across the entire SDK: DIGraph. The code for the graph is still automatically generated as it was before. This greatly simplifies the complexity of the code base. Remembering what dependency is inside of what graph is exhausting and confusing. Also, automated tests are now much more simple to write and maintain. Before, we had to maintain multiple graphs at one time in a test class.

The implementation chosen (extensions) to do this came from how we created a DI graph on Android SDK. It has worked well over there so the logic is duplicated here.

While working on this task, I noticed that our swift lint was not running against our Tests/ directory. So, I enabled lint on this and fixed some lint issues to make lint pass.

Complete each step to get your pull request merged in. Learn more about the workflow this project uses.

[ ] Assign members of your team to review the pull request.
[ ] Wait for pull request status checks to complete. If there are problems, fix them until you see that all status checks are passing.
[ ] Wait until the pull request has been reviewed and approved by a teammate
[ ] After pull request is approved, and you determine it's ready add the label "Ready to merge" to the pull request. A bot will squash and merge the pull request for you after the label is added.

Warnings

:warning:

I noticed file Tests/Tracking/APITest.swift was modified. That could mean that this pull request is introducing a breaking change to the SDK.
If this pull request does introduce a breaking change, make sure the pull request title is in the format:
<type>!: description of breaking change
// Example:
refactor!: remove onComplete callback from async functions

:warning:

I noticed file Tests/MessagingPushFCM/APITest.swift was modified. That could mean that this pull request is introducing a breaking change to the SDK.
If this pull request does introduce a breaking change, make sure the pull request title is in the format:
<type>!: description of breaking change
// Example:
refactor!: remove onComplete callback from async functions

:warning:

I noticed file Tests/MessagingPushAPN/APITest.swift was modified. That could mean that this pull request is introducing a breaking change to the SDK.
If this pull request does introduce a breaking change, make sure the pull request title is in the format:
<type>!: description of breaking change
// Example:
refactor!: remove onComplete callback from async functions

  Generated by :no_entry_sign: dangerJS against 942b9d41ee946752eb37f48f97324d16ff6a99ac

:tada: This PR is included in version 1.2.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[gardening] Rename ProjectionTree::getLeafTypes() => getLiveLeafTypes().

This is a more appropriate name. Otherwise, a reader could think that it returns
/all/ leaf types including dead leaf types.

Just slicing off some improvements from my fix to func sig opts.

@swift-ci smoke test and merge


Clear old "draft" proposals that weren't effectively submitted

Also add a timer maybe a few hours if they're still draft where they're auto-pruned

use ascending ID verification


Update Go minimum version

Set Go minimum version to 1.17.
Update go.mod format for 1.17.
Remove unecessary exclude block for k8s.io/client-go.

Signed-off-by: SuperQ<EMAIL_ADDRESS>

Nice. Makes sense to me with the context I have around the Kubernetes block. +1

The kubernetes block can be removed because those versions have now been retracted upstream


[IDE] Database - "Drop View" always try to drop view from default scheme

The "drop view" option always looks in the default scheme.

Issue cloned to https://github.com/eclipse/dirigible/issues/1635

closed by https://github.com/eclipse/dirigible/pull/1636


Update Set-MpPreference.md

Add proxy settings to the doc

    Add Proxy settings

Docs Build status updates of commit b28ba9d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b28ba9d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Looks like this is still work in progress @e0i

Docs Build status updates of commit 052d123:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 19bdc41:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Time Series Prediction Bug

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 Home
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): Anaconda Distribution
TensorFlow version (use command below): unknown 2.3.0
Python version: 2.8.6
Bazel version (if compiling from source): No
GCC/Compiler version (if compiling from source): No
CUDA/cuDNN version: No
GPU model and memory: No

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior

WARNING:tensorflow:AutoGraph could not transform <bound method split_window of Total window size: 22
Input indices: [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20]
Label indices: [21]
Label column name(s): ['Temperature_mean']> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: module 'gast' has no attribute 'Index'
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING: AutoGraph could not transform <bound method split_window of Total window size: 22
Input indices: [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20]
Label indices: [21]
Label column name(s): ['Temperature_mean']> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: module 'gast' has no attribute 'Index'
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
(TensorSpec(shape=(None, 21, 6), dtype=tf.float32, name=None),
TensorSpec(shape=(None, 1, 1), dtype=tf.float32, name=None))
Describe the expected behavior

According to the tutorial this should be the output:
(TensorSpec(shape=(None, 6, 19), dtype=tf.float32, name=None),
TensorSpec(shape=(None, 1, 1), dtype=tf.float32, name=None))
Standalone code to reproduce the issue

Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Following this TF tutorial: https://www.tensorflow.org/tutorials/structured_data/time_series#2_split
The error happens in "w1.train.element_spec" part
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@mgmanzanillo,
I did not face any errors while running the code with TF v2.3 and TF v2.4. Please check the linked gist for reference.
Regarding the warning messages, please take a look at this comment from issue #47802 and check if it helps. Thanks!


Unable to discard non-unit value using : Unit

Scala 2 allows to discard non-unit value using : Unit, however this behaviour seems to be missing in Scala 3.
Compiler version
All Scala 3 versions
Minimized code
//> using options -Wvalue-discard -Wnonunit-statement

object Tests {
  class Assertion(assert: => Any){
    def shouldPass(): Assertion = ???
  }
  def Test: Assertion = {
    new Assertion("").shouldPass(): Unit
    new Assertion("another").shouldPass()
  }
}

Output
[warn] ./test.scala:8:5
[warn] discarded non-Unit value of type Tests.Assertion
[warn]     new Assertion("").shouldPass(): Unit
[warn]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expectation
Should ignore non-uni statements with explicit :Unit
When : Unit is missing compiler should hint how to silence the warning similarly as it's done in Scala 2
Compiling project (Scala 2.13.14, JVM (17))
[warn] ./test.scala:9:5
[warn] unused value of type Tests.Assertion (add `: Unit` to discard silently)
[warn]     new Assertion("").shouldPass()
[warn]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Scala 2 PR: https://github.com/scala/scala/pull/7563

@som-snytt in 2.13.15, iirc you removed the (add : Unit to discard silently) advice that 2.13.14 used to give. if this gets fixed in Scala 3, we could add it back

I consider that "warn allowance" to be a relic of pre-nowarn, pre-Wconf years.
In particular, it bestows extra semantics on ordinary syntax used in a weird way.

hmm.
:Unit does have the advantage of being short and only involving ordinary syntax (even if arguably in a “weird way”)
the design discussion at https://github.com/scala/scala/pull/7563 is worth reviewing. Adriaan made some pretty persuasive arguments.
my initial reaction is that #7563 wasn't just a mistake or an artifact of @nowarn not existing yet. but perhaps I should do a fresh round of pondering.

I wonder if @discard is a better path. Annotations are a last resort, but are tool-aligned.
Worth adding that we use phrases "ascription" and "annotation" interchangeably, which suggests these are the same use case, but just different syntaxes.

I think I recently found out that you can have multiple val _ = .. in scala 3, and they work - which don't work in Scala 2.  So that's another fairly handy way to expressly discard a non-unit value.

@dwijnand that works in Scala 2. I think in Scala 3 it is ignored as local store, but in Scala 2 introduces a field (result is retained).
class C {
  val _ = 42
  val _ = 26
}

in Scala 2
under.scala:3: warning: Pattern definition introduces Unit-valued member of C; consider wrapping it in `locally { ... }`.
  val _ = 42
      ^
under.scala:4: warning: Pattern definition introduces Unit-valued member of C; consider wrapping it in `locally { ... }`.
  val _ = 26
      ^
2 warnings

I remember some "already named _" errors, but who knows.  Maybe they're 2.12 or something.

Yes, it was "improved". But I sympathize with your cognitive dissonance. You have led so many Scala lives.

If we decide to implement this, it seems like it could be a nice Spree-sized issue.
What is needed to take decision? Should this be further discussed here, or during a compiler or core meeting?

I am not sure what exactly is proposed here.

We discussed this today during the compiler meeting and decided we should implement this. Let's tackle it during the next Spree 🥳

This issue was picked for the Scala Issue Spree of tomorrow, Monday, October 21st. @rochala and @nmcb will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here.

Sorry I have no insight, but "if it makes Seth happy, it can't be that baaad."

This issue was picked again for the Scala Issue Spree of Monday, November 11th. @mbovel and @nmcb will continue working on it.

This is not only Seth hapiness :)
E.g. we use scalapb which generates code with warnings and we would be happy to disable it on grpc module

Sorry I have no insight, but "if it makes Seth happy, it can't be that baaad."

Different warnings:
object Tests {
  class Assertion(assert: => Any){
    def shouldPass(): Assertion = ???
  }
  def Test: Unit = {
    1 + 1: Unit // pt: Unit, warning: Discarded non-Unit value of type Int. You may want to use `()`.
    val x: Unit = 1 + 1 // pt: Unit, warning: Discarded non-Unit value of type Int. You may want to use `()`.
    1 + 1 // pt: Wildcard, warning: unused value of type (2 : Int)
    val y: Int = 1 + 1 // pt: Int, no warning

    new Assertion("").shouldPass(): Unit // pt: Unit, warning only with -Wvalue-discard: discarded non-Unit value of type Tests.Assertion
    val x1: Unit = new Assertion("another").shouldPass() // pt: Unit, warning only with -Wvalue-discard: discarded non-Unit value of type Tests.Assertion
    new Assertion("yet another").shouldPass() // pt: Wildcard, warning only with -Wnonunit-statement: unused value of type Tests.Assertion
    val y1: Assertion = new Assertion("another other").shouldPass() // pt: Assertion, no warning:

    ()
  }
}

We want to remove warnings for both cases with : Unit.