Incorrect Handling of Various Data Types

The waterfall chart in Power BI is experiencing issues with handling different data types such as currency, decimal numbers, percentages, and scientific notation. Eg-  when attempting to change the data type to currency, the chart fails to update and display the numbers as currency values. [This is for all 3 types of charts]
Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Screenshots

If you will open the data tab in the right, and change the format (From above- as shown in the page) for any measure which are there in the visual (For eg- i am doing it for gross margin). I changed the format to currency. So, it's not working for simple waterfall. but as you can see, it is working for other visuals (down).


[question] Implementing Learning Rate Function in PPO2

Hi, I'm implementing PPO2 and I would like to use a function for the learning_rate parameter, How can I pass a function at the creation of the model like this:
def learning_rate( alpha_zero, decay_rate, timestep ):
   learning_rate = alpha_zero/(1+decay_rate * timestep)
   return learning_rate

The question I have regards on how to use the "actual timestep" parameter when model.learn() is used.
I would like to create a model like:
model = PPO2(MlpPolicy, env, learning_rate = learning_rate(alpha_zero, decay_rate))
I'm sorry it might be a noob question but I couldn't find any examples of a function or schedule to change the learning rate

Hello,
what you are looking for is called functools.partial in python ;)
See documentation

An example:
def linear_schedule(initial_value):
    """
    Linear learning rate schedule.
    :param initial_value: (float or str)
    :return: (function)
    """
    if isinstance(initial_value, str):
        initial_value = float(initial_value)

    def func(progress):
        """
        Progress will decrease from 1 (beginning) to 0
        :param progress: (float)
        :return: (float)
        """
        return progress * initial_value

# schedule is a callable
schedule = linear_schedule(0.1)

assert schedule(1) == 0.1

return func

Thank you very much for the fast response!
I was able to implement it like this:
def lr_func(alpha_zero, decay_rate):
    def lr(timestep):
        learning_rate = alpha_zero * 1/( 1 + decay_rate * timestep)
        return learning_rate
    return lr

and then editing line 289 to
lr_now = self.learning_rate(self.timestep)


Fix #255: Replace deeper dependency with local deepEquals helper.

This removes our dependency to deeper, introduces a new deepEquals util leveraging part of its implementation and tweaks the comparison alg. to whitelist functions, so that solves #255 as well.
We had troubles with deeper in the past, and the project doesn't seem to move forward anymore (see this PR which has not even received a comment in 3 months), so I think now is a good time to move to something else more immediately suited to our needs.

Landed in v0.36.0.


Docker cannot access host ports

When using docker, it was not possible to access the ports of the host machine without mapping those ports. However, the ports on the host would be blocked by the mappings, preventing the usage of a third party software to communicate on those ports.

To solve that, used host.docker.internal on docker container to point to the localhost’s port on the host.
https://stackoverflow.com/questions/31324981/how-to-access-host-port-from-docker-container


MSC3744: Support for flexible authentication

This proposal describes changes to the Matrix client-server API to support a more flexible set of authentication mechanisms.

@cvwright please don't forget to sign off on your changes, and update the file name/location for your MSC number: 3744


breaking: bump project requirements

Motivation and Context
Bump the project requirements.

Cordova Android >= 9.0.0
Cordova CLI >= 9.0.0

Note: Changes also include #627. This PR should be rebased after #627 is merged in.

@jcesarmobile Any thoughts on iOS requirements being set to 6.x?
I don't know if there are any breaking changes on the iOS side of this plugin, but from the current testing system standpoint (paramedic) I believe it always checks out the latest Cordova iOS (6.x) which requires Xcode 11 to be used. This means we might be only testing Xcode 11+... At least the additional tests do not pass on any version below Xcode 11.

I think we should require cordova-ios 5.1.0, I see no reason to require 6.0.0 in this plugin.
Not being able to test on Xcode 10 is not a big problem, considering Apple requires Xcode 11 to submit apps.
I've created a thread on the mail list to talk about the engines and used this PR as an example of what I think we should be doing.

@jcesarmobile I set it to cordova-ios >= 5.1.0 as you mentioned in previous comment but also debated if it should really be >= 5.1.1. 5.1.0 had a bug with the new WKWebViewOnly flag being and prepare ran before the platform existed. Or something like this if memory is correct. But 5.1.1 fix that prepare issue surrounding the flag.
Other then that, this PR I think is OK.

I guess if people face the prepare bug will update from 5.1.0 to 5.1.1, but you can set it to 5.1.1 if you prefer


Central store for Functions examples

Hi @yokawasa - thank you for maintaining this repository of samples for Python Functions. I'm opening this issue to raise awareness about the Azure Serverless library - https://www.serverlesslibrary.net/. This is a central store for all Functions and Logic Apps projects. Please let us know if you'd like to contribute your samples to the library. Here's a link to the underlying repo and contributor's guide - https://github.com/Azure/ServerlessLibrary

@asavaritayal  thank you. Actually most of my samples are not "library" style but I'd love to contribute my python samples (V2).

@asavaritayal
I've add this repository URL to https://www.serverlesslibrary.net/. My apologies for the late action.

I'm not able to find the functions on serverlesslibrary.net. Is there an approval process that has to complete first?


update: config file

solve question: https://github.com/hertz-contrib/monitor-prometheus/issues/5

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bib file fixes

Describe the bug
The entries for two references are not correctly spelled in the user manual bib file
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

manual updates only, no wrong results with code, no need to inform users.


fix lockfile

oops I forgot that in the last PR

Self r+-ing because this just completes the other PR
bors r+
Cc @jethrogb


build: add svn deploy

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


How to get R working with node.js

Thanks for writing this buildpack, it looks like it's exactly what I need!
I have an algorithm in R, and a small REST API written in node.js which calls the R algorithm. I use the rstats library to run R from within node.js.
I'm having trouble though getting this combination running on Heroku. Both build packs (R and node.js) can compile just fine, but when I try to install the rstats library, it says "Error R: not found". This is logical since we need to set a fake chroot in order to run R (describe in the docs), but I don't know how I could apply this to npm when it installs its dependencies (most importantly rstats).
Does anyone has experience getting node.js running together with R?

Hi @josdejong
Looking at the source for rstats it would appear to host R within the node process, so this is why you aren't able to install the library. i.e. R is installed within the chroot and node.js is not.
There are 2 ways to solve this, each with their own challenges:

Install and run your node application within the chroot too:
This will be tricky to accomplish and will make your application quite complicated to work with.

Run R out of process to your Node app:
There are a number of solutions you can use to do this, depending on the complexity of your usage of R, such as:

The simplest way, and possibly least elegant, you could write out the "R calling code" to a temporary file and then "shell out" an R process within the chroot to execute the script. The script would write out the results to another temporary file, perhaps in JSON, which your JavaScript loads once the R process has completed.
Run RServe within the chroot and connect using rserve-js.
Use a "middleman" to marshal requests and responses between each process. I prototyped such a technique using Redis pub/sub between R and Ruby. This approach requires you to come up with your own method of serialising and deserialising the requests and responses. You could make R code for the request and have a JSON response.

That's some creative ideas, thanks Chris!
I've sort of tried getting your first option. Starting node.js inside an fakechroot command is possible I think but as far as I know there is no way to run npm install (at build time) inside fakechroot. I also tried to install the rstats library at runtime, but that failed due to missing git at runtime (due to the fact that the current rstats version on npm does not work with the latest versions of node.js and I use a fix at some specific git branch).
Using "something in between" node.js and R is a smart idea, though the only reason we've put a node.js server in front of R is that we need to expose an algorithm via a REST API so that would get complicated and we may better look into something else than node.js in front of R. r-serve sounds interesting, I will look into that. (Running both R-serve and the node.js app on the same heroku app could be problematic since then you need multiple ports, but we could create two heroku apps if needed)

Hi @josdejong
I've created a test/example project using node.js and Rserve. It uses both the node and R buildpacks, and spawns R as a child process (within the chroot) on the same dyno as the node process.
It's a bit of a cludge, since this is the only way to open up a second (internal) TCP port on Heroku.
Checkout the files in test/nodejs to see how I managed to get it to work.

wow, thanks! That's a great example, I'm going to give it a try. It's indeed quite tricky to get this stuff working on Heroku.
To get stuff working I'm now using Rserve too (saves quite an headache), and deployed a server on AWS. Still I prefer a PaaS solution so I don't have to manage servers.


Add jsnext:main to enable easy bundling

Hello! Hands down, this is exactly what I need. Kudos! But I can't comfortably bundle it because it is already babeled and I am also using babel inside my bundler causing an error.
Therefore, please merge this PR and push a new version to NPM Much gratitude.

The error from what I can see is not project-related. I would be very happy if this would get merged because I need this for a production application.


[DNM] Testing current GRPC/FST with new Abseil bin

Current FST on current grpc, sharing new absl.

I'm going to need to do this on an older release branch.


Search Renames / Regen

@heaths @lmazuel @johanste Thoughts on merging this now as-is so @xiangyan99 can carry on with on top of this work? This has most of the #10860 but not any of #11506

Well, that's what I get for trying to resolve a merge conflict from the web UI

I think I'd be okay with that, but I'm not really sure how much of the renames this PR that says it's about "renames" contains. If you're taking it in pieces, fine, but maybe get a version uploaded to APIView (just the text output of APIs, right?) ASAP so we can compare. It's hard enough in GitHub to see the renames, but harder still when spread across multiple PRs. APIView or even just a gist of before/after would probably be easier to see if anything was missed.

I'm not really sure how much of the renames this PR that says it's about "renames" contains.

@heaths I made an attempt at atomic commits just so that this would be transparent:
Analyzer -> LexicalAnalyzer
StandardAnalyzer -> LuceneStandardAnalyzer
StandardTokenizer -> LuceneStandardTokenizer
DataSource -> SearchIndexerDataSource
DataContainer -> SearchIndexerDataContainer
Skillset -> SearchIndexerSkillset
Skill -> SearchIndexerSkill
TokenInfo -> AnalyzedTokenInfo
EncryptionKey -> SearchResourceEncryptionKey
IndexerExecutionInfo -> SearchIndexerStatus
Indexer -> SearchIndexer
Tokenizer -> LexicalTokenizer
Field -> SearchField
Index -> SearchIndex
update for AccessCondition

If it helps I could add some indications/markings in the table in #10860

Annotations in that bug could help (or just remove the ones you did already - it's all tracked); though, even if we just diff the API somehow when you're done, that works as well. Whatever is easier for both you and reviewers like me.


Fix output of simple agent events

Changes look good, but you have to approve it Luke.  I created it.


Fix date format on figs in scienceblog 1

Due to the comment https://github.com/corona-warn-app/cwa-website/pull/2174#issuecomment-989840040 from @MikeMcC399 in PR #2174 I have edited the format of the dates for the English science blog version.

@brifemu
Thank you for the change. That all looks correct now!

@MikeMcC399 @brifemu Thanks.


Different sessions for passport and page...

I don't know why but after trying to log in using passport - the provided session isn't the session that page is currently using... it means that password initates other session with new ID for each request that the rest of page have. So it's impossible to use it because it's 1) changing 2) clearing itself.
So logged session is not visible to page (can't auth or even deserialize) and adding items to req.sessions is adding them to other session that passwords strategy is creating. See example on the end and it will be simple what is happening.
My App:
app.use(errorHandler());
app.use(dbConnect(config.paths.models));
app.use(expressSession({
    secret: 'ssshhhhh',
    saveUninitialized: false,
    resave: false,
    cookie:{
        maxAge: 60*60*24
    }
}));

/**
 * Passport config
 */
app.use(passport.initialize());
app.use(passport.session());
require('./config/passport')(passport, app);
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: true
}));

My login route:
router
    .post('/login', function(req, res, next){
        passport.authenticate('local-login', function(err, user, info){
            // console.error(err)
            // ok console.log('.post/login -> user -> ', user);
            console.log('info ', info);
            if(err){
                response.status = 200;
                response.error = err;
                response.user = false;
                response.info = info;
                res.json(response);
            } else {
                if(!user){
                    response.status = 400;
                    response.error = info.message;
                    response.user = user;
                    response.info = "Problably bad request, try x-www-form-urlencoded";
                    res.json(response);
                } else {
                    console.log(`/api/login -> return user -> ${user}`);
                    response.status = 200;
                    response.error = null;
                    response.user = user;
                    response.info = info;
                    req.login(user, function(err) {
                        // OK
                        console.error(err);
                        console.log('req.logIn -> req.user -> ', req.user);
                        req.session.user = req.user;
                        console.log('req.session -> ', req.session);
                        console.log('req.session.id -> ', req.session.id);

                        if (err) return next(err);
                        res.json(response);
                    });
                }
            }
        })(req,res,next);
    });

Strategy:
module.exports = function(passport, app){

    passport.serializeUser(
        function(user, done) {
            console.log(`SERIALIZED ${user.id}`);
            done(null, user.id);
        }
    );

    passport.deserializeUser(
        function(id, done){
            console.log(`de-SERIALIZE start ${id}`);
            User.findById(id, (err, user) => {
                console.log(`DE-SERIALIZED`);
                done(err, user);
            });
        }
    );

passport.use('local-login', new localStrategy({
		usernameField : 'email',
		passwordField : 'password',
        // allows us to pass back the entire request to the callback
		passReqToCallback : true
	}, function(req, email, password, done){

        console.log(`Passport Local-Login`);
		User.findOne({'email':email}, function(err, user){
			if (err){
                return done(err, false, err);}
			if (!user) {
                return done(null, false, app.config.messages.login.noUser);}
			if (!user.validPassword(password)){
                return done(app.config.messages.login.wrongPass, false);}
            else {
                console.log(`local-login Strategy -> req.session.id -> ${req.session.id}`);
                delete user.password;
			    return done(null, user, app.config.messages.login.loggedOk);}
		});

	}));

So the sesstion After req.logIn([...]) is like:
{
  cookie:
   { path: '/',
     _expires: Wed Jun 08 2016 14:22:24 GMT+0200 (CEST),
     originalMaxAge: 86400,
     httpOnly: true },
  passport: { user: '56f24ea6a0a1b33c0546872b' },
  user:
   { facebook: {},
     __v: 0,
     email<EMAIL_ADDRESS>     password: '$2a$08$XOLh55KbiAh6J8gCiShhEewKCfm3hWkjcvsBfr7Uxli0AvJtQ18Ra',
     role: 'user',
     _id: 56f24ea6a0a1b33c0546872b }
 }

and the ID:
req.session.id ->  q7n2RPaoHQM_lsuC9qeE_-CeDZRCEPan

BUT adding anything to session, trying to CHECK AUTH (deserialize never called...) are 'using' other session like:
.get('/a', function(req, res){
            req.session.ta = true;
            console.log('/users req.session -> ', req.session);
            res.json(req.cnt);
        })

ends with NEW session with DIFFERENT ID (like req.session.id ->  LV-cxedkYRSBHuul__jqHpqO0V7pdZX4):
Session {
  cookie:
   { path: '/',
     _expires: Wed Jun 08 2016 14:22:44 GMT+0200 (CEST),
     originalMaxAge: 86400,
     httpOnly: true },
  ta: true,
}

with no logged user etc.
ADDON (figured out a moment ago)
It's changed by Passport Strategy :
// GET /api/login (and all pages...)
req.session.id ->  I82OypNE4QFj6uP0sSdokW4_w0hSBF5D

// THEN 'login' post -> new Id...
passport.use('local-login', new localStrategy({}).function(){[
     local-login Strategy -> req.session.id ->  p2Gc_FKbx6DQtHjSubXrKF5ysJBvZ754
]}

// AGAIN 'login' -> again new session.id :(
local-login Strategy -> req.session.id ->  Xc-GYFU7SmtG8AIsIBLP9HvweckNbnbE

// again GET /api/login (or any other page) -> back to right session...
req.session.id ->  I82OypNE4QFj6uP0sSdokW4_w0hSBF5D

All requests of passport.use('local-login', new localStrate[...] are creating a NEW session.ID

@DeadcatDev are you running both apps on your box, e.g. both on localhost?  If so, you need to configure express-session on each app to use a unique name for the session, otherwise the session cookies will step on each other's toes.  See the express-session readme:

Note if you have multiple apps running on the same hostname (this is just the name, i.e. localhost or <IP_ADDRESS>; different schemes and ports do not name a different hostname), then you need to separate the session cookies from each other. The simplest method is to simply set different names per app.

My bad... i was using other ports for front and localhost so i've needed token (userd jwt) to do it. Sorry, thread to delete


NiFi 0.2.1

Adding a formula for a version 0.2.1 of Apache NiFi

Just an audit nit left:
==> audit problems
homebrew/versions/nifi021:
 * Description is too long. "name: desc" should be less than 80 characters.
Length is calculated as homebrew/versions/nifi021 + desc. (currently 101)

Patched up, apologies for the audit miss.  Haven't quite worked out the best way to work on taps in terms of formula creations and wasn't able to find any good docs on that area.  Any suggestions as to how this is best accomplished and/or if I am overlooking something obvious?

Merged in https://github.com/Homebrew/homebrew-versions/commit/b9fb9eacb1790d7ba290dd480f784e528f5d2e7b. Thank you for your contribution to Homebrew @apiri; we appreciate it! :smiley_cat:
If you have specific questions on tap things let me know - Happy to answer. The easiest way to check everything is to run brew audit --strict --online /path/to/formula.rb on any new submissions.


Go module not compatible

Mentioned before by another person in #1050 but was closed.
The 6.15.3 release is not compatible with go modules, latest recognised version is 6.15.2 before adding go.mod file. See https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher for complete requirements.
Using go get -u github.com/go-redis/redis results in github.com/go-redis/redis v6.15.2+incompatible.
By trying to pull the new version with go get -u<EMAIL_ADDRESS>result in github.com/go-redis/redis v0.0.0-20190503082931-75795aa4236d not recognising the version any more for any future version.

go get -u<EMAIL_ADDRESS>should be go get -u github.com/go-redis/redis

@vmihailenco As I said, go get -u github.com/go-redis/redis pulls 6.15.2 with incompatible flag, as the repository does not implement correct modules definition.

Sorry, try go get -u github.com/go-redis/redis@master. I am going to release v7 as fully compatible with go mod but that will take some time.

Thank you! ;)

You should be able to use github.com/go-redis/redis/v7 which is in beta but usable.


VK video not archived

I happened to notice that the video in https://vk.com/wall-1113595_548588 is not archived?
$ scoop -o vk-video.wacz https://vk.com/wall-1113595_548588
[09:44:06] INFO Capture-specific temporary folder /Users/edsummers/.nodenv/versions/18.11.0/lib/node_modules/@harvard-lil/scoop/tmp/bDBxDm/ created.
[09:44:06] INFO TCP-Proxy-Server started {"address":"::1","family":"IPv6","port":9000}
[09:44:06] INFO User Agent used for capture: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36
[09:44:07] INFO Scoop 0.6.5 was initialized with the following options:
[09:44:07] INFO {
  logLevel: 'info',
  screenshot: true,
  pdfSnapshot: false,
  domSnapshot: false,
  captureVideoAsAttachment: true,
  captureCertificatesAsAttachment: true,
  provenanceSummary: true,
  attachmentsBypassLimits: true,
  captureTimeout: 60000,
  loadTimeout: 20000,
  networkIdleTimeout: 20000,
  behaviorsTimeout: 20000,
  captureVideoAsAttachmentTimeout: 30000,
  captureCertificatesAsAttachmentTimeout: 10000,
  captureWindowX: 1600,
  captureWindowY: 900,
  maxCaptureSize: 209715200,
  autoScroll: true,
  autoPlayMedia: true,
  grabSecondaryResources: true,
  runSiteSpecificBehaviors: true,
  headless: true,
  userAgentSuffix: '',
  blocklist: [
    '/https?://localhost/', '<IP_ADDRESS>/8',
    '<IP_ADDRESS>/8',           '<IP_ADDRESS>/10',
    '<IP_ADDRESS>/8',          '<IP_ADDRESS>/16',
    '<IP_ADDRESS>/12',        '<IP_ADDRESS>/29',
    '<IP_ADDRESS>/24',         '<IP_ADDRESS>/24',
    '<IP_ADDRESS>/16',       '<IP_ADDRESS>/15',
    '<IP_ADDRESS>/24',      '<IP_ADDRESS>/24',
    '<IP_ADDRESS>/4',          '<IP_ADDRESS>/4',
    '<IP_ADDRESS>/32',   '::/128',
    '::1/128',              '::ffff:0:0/96',
    '100::/64',             '64:ff9b::/96',
    '2001::/32',            '2001:10::/28',
    '2001:db8::/32',        '2002::/16',
    'fc00::/7',             'fe80::/10',
    'ff00::/8'
  ],
  intercepter: 'ScoopProxy',
  proxyHost: 'localhost',
  proxyPort: 9000,
  proxyVerbose: false,
  publicIpResolverEndpoint: 'https://icanhazip.com',
  ytDlpPath: '/Users/edsummers/.nodenv/versions/18.11.0/lib/node_modules/@harvard-lil/scoop/executables/yt-dlp',
  cripPath: '/Users/edsummers/.nodenv/versions/18.11.0/lib/node_modules/@harvard-lil/scoop/executables/crip'
}
[09:44:07] INFO 🍨 Starting capture of https://vk.com/wall-1113595_548588.
[09:44:07] INFO STEP [1/10]: Out-of-browser detection and capture of non-web resource
(node:11512) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
[09:44:07] INFO Requested URL is assumed to be a web page (no content-type found)
[09:44:07] INFO STEP [2/10]: Wait for initial page load
[09:44:31] WARN STEP [2/10]: Wait for initial page load - failed
[09:44:31] INFO STEP [3/10]: Capture page info
[09:44:55] WARN Could not fetch favicon at url https://vk.com/images/icons/favicons/fav_logo.ico?7.
[09:44:55] INFO STEP [4/10]: Browser scripts
[09:45:09] INFO captureTimeout of 60000ms reached. Ending further capture.
[09:45:14] WARN STEP [5/10]: Wait for network idle (skipped)
[09:45:14] INFO STEP [6/10]: Scroll-up
[09:45:18] INFO STEP [7/10]: Screenshot
[09:45:29] WARN STEP [7/10]: Screenshot - ended due to max time or size reached.
[09:45:29] INFO STEP [8/10]: Out-of-browser capture of video as attachment (if any)
[09:46:11] WARN STEP [8/10]: Out-of-browser capture of video as attachment (if any) - ended due to max time or size reached.
[09:46:11] INFO STEP [9/10]: Capturing certificates info
[09:46:17] INFO STEP [10/10]: Provenance summary
[09:46:17] INFO Closing browser and intercepter
[09:46:17] INFO TCP-Proxy-Server closed
[09:46:17] INFO Clearing capture-specific temporary folder /Users/edsummers/.nodenv/versions/18.11.0/lib/node_modules/@harvard-lil/scoop/tmp/bDBxDm/
[09:46:17] INFO Exporting capture to WACZ
[09:46:20] INFO 1 WARC(s) to process
[09:46:20] INFO Initializing output stream at<EMAIL_ADDRESS>[09:46:20] INFO Initializing indexer
[09:46:20] INFO Indexing WARCS
[09:46:21] INFO Harvesting sorted indexes from trees
[09:46:21] INFO Writing CDX to WACZ
[09:46:21] INFO Writing pages.jsonl to WACZ
[09:46:21] INFO Writing WARCs to WACZ
[09:46:21] INFO Writing datapackage.json to WACZ
[09:46:21] INFO Writing datapackage-digest.json to WACZ
[09:46:21] INFO Finalizing WACZ
[09:46:21] INFO WACZ was finalized
[09:46:22] INFO vk-video.wacz saved to disk.

I loaded the vk-video.wacz that was created into ReplayWeb.Page

And then clicked on the video:

It doesn't seem to work with browsertrix-crawler either, so maybe this is an issue with the video behavior? Or maybe the problems are unrelated. I thought it was worth reporting though...

Thanks for the detailed report @edsu 😄
I haven't been able to reproduce that issue. The video should be under the "Extracted video data" summary page, which is not present in your screenshots.
I see in the logs you shared that the capture timeout was hit during the browser scripts phase, which doesn't match what I have observed during my tests. Would you mind trying again and letting us know if you see variability here? That might help us deal with edge cases such as this one more efficiently in the future.
Alternatively, for that capture specifically, you might want to:

Run Scoop with some combination of the following to see which behavior is problematic: --auto-scroll=false --auto-play-media=false --grab-secondary-resources=false --run-site-specific-behaviors=false.
Run Scoop with a longer browser behaviors timeout using --behaviors-timeout=100000

An aside -- I see in your logs that you are using Node 18.x. While we are still testing on Node 18 and it's unlikely to have an effect, our focus is currently on Node 20 and 21 and I'd recommend upgrading if possible.

Thanks for the quick response @matteocargnelutti -- in this case I wasn't specifically interested in the attached video, but was hoping that the embedded video would be part of the WARC data and would play when viewing the web page:
scoop -o vk-video.wacz https://vk.com/wall-1113595_548588

Does the video play in the web page replay for you?
I ran with a longer --behaviors-timeout(which required upping --capture-timeout too) which resulted in the video attachment working. But the video still does not play in replay of the web page.
scoop --capture-timeout=3600000 --behaviors-timeout=3600000 -o vk-video.wacz https://vk.com/wall-1113595_548588
[12:46:07] INFO Capture-specific temporary folder /Users/edsummers/.nodenv/versions/21.5.0/lib/node_modules/@harvard-lil/scoop/tmp/ab4nwI/ created.
[12:46:07] INFO TCP-Proxy-Server started {"address":"::1","family":"IPv6","port":9000}
[12:46:07] INFO User Agent used for capture: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36
[12:46:07] INFO Scoop 0.6.5 was initialized with the following options:
[12:46:07] INFO {
  logLevel: 'info',
  screenshot: true,
  pdfSnapshot: false,
  domSnapshot: false,
  captureVideoAsAttachment: true,
  captureCertificatesAsAttachment: true,
  provenanceSummary: true,
  attachmentsBypassLimits: true,
  captureTimeout: 3600000,
  loadTimeout: 20000,
  networkIdleTimeout: 20000,
  behaviorsTimeout: 3600000,
  captureVideoAsAttachmentTimeout: 30000,
  captureCertificatesAsAttachmentTimeout: 10000,
  captureWindowX: 1600,
  captureWindowY: 900,
  maxCaptureSize: 209715200,
  autoScroll: true,
  autoPlayMedia: true,
  grabSecondaryResources: true,
  runSiteSpecificBehaviors: true,
  headless: true,
  userAgentSuffix: '',
  blocklist: [
    '/https?://localhost/', '<IP_ADDRESS>/8',
    '<IP_ADDRESS>/8',           '<IP_ADDRESS>/10',
    '<IP_ADDRESS>/8',          '<IP_ADDRESS>/16',
    '<IP_ADDRESS>/12',        '<IP_ADDRESS>/29',
    '<IP_ADDRESS>/24',         '<IP_ADDRESS>/24',
    '<IP_ADDRESS>/16',       '<IP_ADDRESS>/15',
    '<IP_ADDRESS>/24',      '<IP_ADDRESS>/24',
    '<IP_ADDRESS>/4',          '<IP_ADDRESS>/4',
    '<IP_ADDRESS>/32',   '::/128',
    '::1/128',              '::ffff:0:0/96',
    '100::/64',             '64:ff9b::/96',
    '2001::/32',            '2001:10::/28',
    '2001:db8::/32',        '2002::/16',
    'fc00::/7',             'fe80::/10',
    'ff00::/8'
  ],
  intercepter: 'ScoopProxy',
  proxyHost: 'localhost',
  proxyPort: 9000,
  proxyVerbose: false,
  publicIpResolverEndpoint: 'https://icanhazip.com',
  ytDlpPath: '/Users/edsummers/.nodenv/versions/21.5.0/lib/node_modules/@harvard-lil/scoop/executables/yt-dlp',
  cripPath: '/Users/edsummers/.nodenv/versions/21.5.0/lib/node_modules/@harvard-lil/scoop/executables/crip'
}
[12:46:07] INFO 🍨 Starting capture of https://vk.com/wall-1113595_548588.
[12:46:07] INFO STEP [1/10]: Out-of-browser detection and capture of non-web resource
[12:46:08] INFO Requested URL is assumed to be a web page (no content-type found)
[12:46:08] INFO STEP [2/10]: Wait for initial page load
[12:46:30] INFO STEP [3/10]: Capture page info
[12:46:51] WARN Could not fetch favicon at url https://vk.com/images/icons/favicons/fav_logo.ico?7.
[12:46:51] INFO STEP [4/10]: Browser scripts
[12:47:22] INFO STEP [5/10]: Wait for network idle
[12:47:22] INFO STEP [6/10]: Scroll-up
[12:47:23] INFO STEP [7/10]: Screenshot
[12:47:23] INFO STEP [8/10]: Out-of-browser capture of video as attachment (if any)
[12:47:46] INFO STEP [9/10]: Capturing certificates info
[12:47:53] INFO STEP [10/10]: Provenance summary
[12:47:53] INFO Closing browser and intercepter
[12:47:53] INFO TCP-Proxy-Server closed
[12:47:53] INFO Clearing capture-specific temporary folder /Users/edsummers/.nodenv/versions/21.5.0/lib/node_modules/@harvard-lil/scoop/tmp/ab4nwI/
[12:47:53] INFO Exporting capture to WACZ
[12:47:58] INFO 1 WARC(s) to process
[12:47:58] INFO Initializing output stream at<EMAIL_ADDRESS>[12:47:58] INFO Initializing indexer
[12:47:58] INFO Indexing WARCS
[12:47:59] INFO Harvesting sorted indexes from trees
[12:47:59] INFO Writing CDX to WACZ
[12:47:59] INFO Writing pages.jsonl to WACZ
[12:47:59] INFO Writing WARCs to WACZ
[12:48:00] INFO Writing datapackage.json to WACZ
[12:48:00] INFO Writing datapackage-digest.json to WACZ
[12:48:00] INFO Finalizing WACZ
[12:48:00] INFO WACZ was finalized
[12:48:00] INFO vk-video.wacz saved to disk.

@edsu

I upgraded to node v21.5.0 and ran with a longer --behaviors-timeout(which required upping --capture-timeout too) which resulted in the video attachment working.

Nice 😄 !

in this case I wasn't specifically interested in the attached video, but was hoping that the embedded video would be part of the WARC data and would play when viewing the web page
[...]
Does the video play in the web page replay for you?

It doesn't. Based on what I've seen so far: I think making this possible would require either a custom browser behavior or some ad-hoc HTTP request / response rewriting.

We don't do the latter (altering HTTP exchanges - for example for playback enhancement purposes) by principle.
For the former, we use browsertrix-behaviors and let users decide if they want to activate them or not. In that specific case, I don't know if a site-specific behavior would be helpful.

Cheers 👋

Ok I'll look into adding a behavior. Browsertrix-crawler has an option to run custom behaviors now. Have you considered adding anything like that to scoop?


minikube local installation error

i am following this tutorial and getting this error in this statement "terraform apply -var-file=my_vars.tfvars"
https://github.com/datarevenue-berlin/OpenMLOps/blob/master/tutorials/set-up-minikube-cluster.md
following the versions:
Terraform v1.0.8
kubectl server version v1.21.5 and client version v1.21.5, which includes:
    minikube version: v1.23.2

Minikube start --kubernetes-version=v1.21.5 --vm-driver = hyperv

@sixhobbits @spazm @pedrocwb @timotk

You can set the KUBERNETES_MASTER environment variable using:
export KUBE_CONFIG_PATH=~/.kube/config
The "postgresql" version issue can be fixed by choosing a newer version from the Chart Versions here:
https://artifacthub.io/packages/helm/bitnami/postgresql
Replace the old version number with a newer one in the repo under modules/postgres/main.tf


HDR to SDR

Hello!
Please add the option to reverse switch HDR mode to SDR mode.
I will be very grateful. Thank you in advance!

Can you give a use case example of what your trying to achieve?

Can you give a use case example of what your trying to achieve?
I always use HDR in my monitor. I also use dxvk, but vulkan spoils the HDR colors after exiting the game.
I need to switch the game from HDR to SDR, and after exiting the game, switch back from HDR to SDR.

PyAutoActions automatically switches from HDR to SDR when you quit the game.
So just to be clear you would like to toggle HDR back on again after exiting the game?

PyAutoActions automatically switches from HDR to SDR when you quit the game.
So just to be clear you would like to toggle HDR back on again after exiting the game?

Game startup:
PyAutoActions should switch HDR mode to SDR mode.
Game exit:
PyAutoActions should switch SDR mode to HDR mode.

Requires complete rewrite of program logic.

Here is a test version can you check it out and see if it's working as intended?
Select the mode HDR 2 SDR from the GUI Toggle mode menu and test it out it should disable HDR when the game starts and enable HDR again when the game exits.
SDR 2 HDR mode will enable HDR at game start and disable HDR when the game exits.

Notice: added a 7z archive to a zip file because github does not support 7z format and max upload size is 25mb
PyAutoActions.test.zip

Select the mode HDR 2 SDR from the GUI Toggle mode menu and test it out it should disable HDR when the game starts and enable HDR again when the game exits.

HDR 2 SDR mode works great.

SDR 2 HDR mode will enable HDR at game start and disable HDR when the game exits.

I checked SDR 2 HDR mode and it doesn't work.

SDR 2 HDR mode will enable HDR at game start and disable HDR when the game exits.

I checked SDR 2 HDR mode and it doesn't work.

Make sure hdr is disabled when switching HDR 2 SDR to SDR 2 HDR

Make sure hdr is disabled when switching HDR 2 SDR to SDR 2 HDR

I checked several times.
Game startup:
PyAutoActions does nothing. (sdr)
Game exit:
PyAutoActions switches SDR mode to HDR mode. (sdr --> hdr)
SDR 2 HDR logic at the moment.

Make sure hdr is disabled when switching HDR 2 SDR to SDR 2 HDR

I checked several times.
Game startup: PyAutoActions does nothing. (sdr)
Game exit: PyAutoActions switches SDR mode to HDR mode. (sdr --> hdr)
SDR 2 HDR logic at the moment.
The strangest thing is that version 1.1.7 has the same behavior.

It's working normally on my side.
Lets stick to the test version for now I changed the entire logic and just added an auto switch when switching toggle modes.
Restart your pc then test this new debug version(Console enabled by default to catch unwanted exceptions).
PyAutoActions.test-v2.zip

It's working normally on my side.

Everything works fine.
The "Auto color management" function in w11 is to blame.
Thank you very much.

Thanks for confirming.
I will add it in v1.1.8 and also some extra fixes.

Feature Added In v1.1.8


Adding chatbot to summarise research paper for stakeholder

Here at the view file section we can put a chatbot that will summarise , solve queries based on that research paper for the stakeholder. thus making it easier for them to evaluate and under them better.

This is my chatbot which inputs a file, reads it , and solve queries based on that particular document.

Having this feature in the system will really ease the work of stakeholder increasing their efficiency.
If you found this suggestion interesting @Harshdev098 I would to get it assigned to me.
Hope you do.

Adding a chat bot is a good idea but it is useful only if it make the work easy for the stakeholders not queries,if you can add that type of feature it will be a great thing

what I meant by query is, the bot will be able to summarize specific contexts from the research paper itself while also being capable to address general questions.

Okay, carry on with this

I have started working on it.
And would like you to please add 'hacktoberfest-accepted' and 'level3' instead of 'label 3' label.

I have already added level3 labels

@AayushiJapsare15 Are you still working on it

yess


Update functions.php

Skip delay if timeout is equels 0.0

\Amp\delay(0); is an intentional feature to force the fiber to continue in the next event-loop tick.
So, no, we don't want to skip this. ... Especially not in 3.x, because it would be a breaking change :-/

@bwoebi  FYI, Amp\async(fn () => doSomething()) effectively will schedule something in the next tick. Amp\delay(0) is a nice way of pausing the current fiber for a tick, something which I generally only need to do in tests anyway.

@trowski async runs after all current outstanding microtasks, not next event-loop tick. awaitOutstandingMicrotasks() and awaitEventloopTick() would be sort of nice to have sometimes, explicitly.

Yes, though I find it rare to need to make such a distinction. I suppose if you're dealing with event-loop callback timing in a test that timing is going to matter. In that case, there's also EventLoop::defer(), which I guess is actually what I should have suggested over Amp\async().

I think there is no reason to change this.


Add --no-additional-properties option #154

This change implements --no-additional-properties option.
By default Schema Guru sets "additionalProperties" : true.
To set "additionalProperties" : false you can use --no-additional-properties option.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://github.com/snowplow/snowplow/wiki/CLA to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

I signed CLA!

Hi,
I signed it!
21 дек. 2017 г. 3:42 ДП пользователь "Snowplow CLA bot" <
<EMAIL_ADDRESS>написал:

Thanks for your pull request. Is this your first contribution to a
Snowplow open source project? Before we can look at your pull request,
you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://github.com/snowplow/snowplow/wiki/CLA to learn
more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snowplow/schema-guru/pull/176#issuecomment-353224596,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfZw9ujrw6XHV4rzQq7yDooHi7O_cwooks5tCal0gaJpZM4RIT_D
.

Confirmed! @mprushin has signed the Individual Contributor License Agreement. Thanks so much


Agent.Plugins.Repository.CheckoutTask error while parsing versionInfo.message json

Description
Build failed due to json parsing error. I think it's caused by PR markdown description, included as versionInfo.message in the job message (line 477 in the included trace log file).
Part of description is copy&paste from backlog item (google chrome + windows 10) directly in the browser and markdown blockquote added.

Our workaround was to forcepush dummy commit with simple message and build finished properly.
Exception
2018-10-23T08:18:55.9344316Z Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: j. Path 'repositories[0].properties.versionInfo.message', line 1, position 1702.
2018-10-23T08:18:55.9344724Z    at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)
...
2018-10-23T08:18:55.9350776Z    at Agent.PluginHost.Program.Main(String[] args)

Agent diagnostic log
Worker_20181023-081852-utc.log

Is this still an issue? If it is, please file an issue at https://github.com/microsoft/azure-pipelines-agent. The checkout task is actually built into the agent, so that's the best place to address issues with it - sorry this has sat for so long.


Merge pull request #1 from binux/master

update from orgin

If you want to merge changes from origin branch, you don't need to send pull request to me. git pull from your local branch.


Crawler Doesn't seems to work

Hello, the crawler is supposed to add websites to the db I guess but I tryed to change everything that could make the crawler not work but in vain. Is it just too old?

The code should work with PHP versions 5.3 and above. The regular expressions in DOM file cause compatibility issues with PHP 7.3 and later versions.


Duplicate

I'm not sure why it happened, or if this is intentional. But the same user showed up twice in my list
not sure how it happened.

found another

Maybe a separate issue but StreetPass also grabs the same username for multiple links on the same domain which is a bit annoying if you're clicking around a site. I really only want to know the first time I've seen someone, then maybe collect the links into a detail page and bump up the timestamp so that the most recent "pass" is where in the list I'd see a user.

LOL this is definitely related! this will be the next thing I work on


Is it possible to send to REPL function definition from a context?

Something like map a key to send to REPL a function definition when my cursor is somewhere inside a function, rather than always select all the lines of a function and then press Shift-Enter?

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.


Cleaning up translations in all PHP and template files.

A first stab at issue #368
Updated translation syntax across all template and PHP files.
Tried to remove redundant and outdated translations… the resulting language file went from 770 lines to ~490 Lines.
Currently only en.yml has been updated.
Squashed commits:

Merged some more translations, re-collected all translations using the text-collector.
Cleaning up translations.
Remove some more redundant translations.
Merged AccountNavigation and AccountPage.
Merged Cart and ShoppingCart
Created new en file using text-collector task.
Changed translation keys to camel case, some were renamed for clarity.
Implemented i18nEntityProvider interface for classes that need it.
Replace all sprintf based text-substitutions with the new placeholder syntax.
Use capitalized keys for order-status. Reasoning: It's a generated output, similar to SINGULARNAME etc.
Updated all templates to use new template syntax. Also merged several identical translations with the same key. Process still not complete though.
Update Order to allow translation of Order-Status.

Any pointers why this test fails? It looks for Default Addresses in the output, and the string is clearly there.
Not sure if that assertion is really necessary though. Seems to be a fragile thing to check for a specific string like that, that could easily be changed via translation files.

@markguinn any objections against merging this for the moment? I'll make sure tests will pass and then I can base further translation work on this?

Go ahead, @bummzack that's fine as long as you circle back and fix that test at some point. Sorry I haven't had a chance to look into why it's failing yet.


Extract function from ctor of Ledger

Adding updateStateFromStorageBlock as protected function in Ledger
constructor. This helps with unit testing of the ledger where we want to
add preimages after the enrollments have been loaded into state.

System test failed. Triggered tests to run again.

Added a commit with 50 retries for nodes in system test. Let's see if it goes green 🤞


Copy Invite Link button does not copy link to clipboard

As per the title. Experienced this in Windows 11, using Firefox. Just a minor issue of course, as just copy pasting the key directly can be used as a workaround.

Marked as wontfix for the reasons above


[BUG]: Single-use generic type inferencing for libsql batch response

What version of drizzle-orm are you using?
0.28.6
What version of drizzle-kit are you using?
0.19.13
Describe the Bug
When using a batch query which maps data into queries,  I have to use typescript kung fu to make sure batch API does not complain.
Example use-case:
// ... database intialization
const db: LibSQLDatabase<Record<string, unknown>> = drizzle(...);
// ... batch api usage
const queries = transformedDataArray.map(data=>
  db.insert(schemas.transformData)
  .values(data)
  .onConflictDoUpdate({
    target: [schemas.transformData.key1, schemas.transformData.key2],
    set: { value: data.value }
  })
);

type Query = typeof queries[number];

await db.batch(
  queries as [Query, ...Query[]] // typescript kung fu required to make it work
);

Expected behavior
I would expect the batch response generic definition to allow using dynamic arrays instead of only Readonly tuples.
I think the issue is with how BatchResponse is defined:
https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/libsql/driver.ts#L34
TQuery extends Readonly<[U, ...U[]]> allows the batch parameter to only be a const tuple. I'm not an expert but a simple solution would be allowing TQuery to either extend a tuple or an array like so: TQuery extends Readonly<[U, ...U[]]> | U[]
Another potential solution would be to allow sending nested array queries, but that would incur runtime costs
Environment & setup
In my local vscode typescript server

Fyi, this also spreads to astro:db, as mentioned in withastro/astro#10462.

also struggling with this issue

Pretty sure this issue isn't driver specific. There's currently not much priority towards the batch API, but we'll certainly address this at some point.


Multi Databases support.

Dear Harry.
I made a multi database implementation, changing the connection.py and other things as you can see.
Let me know if this change is ok for you. I will use mongoengine in production (if i can make a lot of test before).
Best regards.

Multidb support just landed in the dev branch


Test action in PR, pt. 2

Creating a new PR to have a clean state.

Creating a new PR to have a clean state.


TFLite Model Optimizer: Doesn't work on Transformer Model

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): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.10.0
Python version: 2.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

tflite_convert \
  --output_file=foo.tflite \
  --saved_model_dir=./saved

Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
I have a SavedModel of the Transformer from the Models repo (https://github.com/tensorflow/models/tree/master/official/transformer). I am trying to use the 'Model Optimization Toolkit for TensorFlow' available in TFLite. The documentation states that I should be able to convert a SavedModel into a TFLite Model using the above command. However, I get an error: ValueError: None is only supported in the 1st dimension. Tensor 'input_tensor' has invalid shape '[None, None]'. (see full log below).
This is a feature request to allow TFLite to quantize variable length sequence models.
Source code / 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. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
2018-09-26 16:06:20.690105: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX512F
2018-09-26 16:06:20.712622: I tensorflow/core/common_runtime/process_util.cc:69] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
2018-09-26 16:06:23.327033: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:344] Starting optimization for grappler item: tf_graph
2018-09-26 16:06:25.991930: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:344] Starting optimization for grappler item: tf_graph
2018-09-26 16:06:26.384859: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:344] Starting optimization for grappler item: tf_graph
Traceback (most recent call last):
  File "/home/<>/int8/virt2.7/bin/tflite_convert", line 11, in <module>
    sys.exit(main())
  File "/home/<>/int8/virt2.7/lib/python2.7/site-packages/tensorflow/contrib/lite/python/tflite_convert.py", line 412, in main
    app.run(main=run_main, argv=sys.argv[:1])
  File "/home/<>/int8/virt2.7/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
    _sys.exit(main(argv))
  File "/home/<>/int8/virt2.7/lib/python2.7/site-packages/tensorflow/contrib/lite/python/tflite_convert.py", line 408, in run_main
    _convert_model(tflite_flags)
  File "/home/<>/int8/virt2.7/lib/python2.7/site-packages/tensorflow/contrib/lite/python/tflite_convert.py", line 162, in _convert_model
    output_data = converter.convert()
  File "/home/<>/int8/virt2.7/lib/python2.7/site-packages/tensorflow/contrib/lite/python/lite.py", line 408, in convert
    "invalid shape '{1}'.".format(_tensor_name(tensor), shape))
ValueError: None is only supported in the 1st dimension. Tensor 'input_tensor' has invalid shape '[None, None]'

@vkmenon Currently quantization for variable length sequence models is not supported.

Nagging Assignee @wt-huang: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hello, I was wondering if this is now supported?


Save led, piezo to "listen to" the tape

Could be possible to implement:

a red led that will lit when saving in progress?
a piezo that play the music? :D for ability to listen loading/saving maybe turnable on/off in Options menu ;)
i splitted the pause from led & piezo, since there is an hardware solution is better use it to save program space.. however a led connected to D13 (if isn't used for other things) could be useful and shouldn't use much program memory i think (D13 is already connected to a led on almost all arduinos) :)

There are hardware solutions available for something similar to the piezo via ozayturay's board (provides LEDs that are transistor driven for SAVE / LOAD).
Please could you break this up into separate issues? The save LED could be handled fairly easily via code (just add an output) etc. so tracking these separately is better.

The save LED function will be added with the release of the 1.7 hardware and controlled via software, I'm just waiting for the boards so that I can verify this.
The piezo switching is another story and would require hard ware support so I don't think this is going to happen.

Thank you for update, i have an idea on how doing piezo support with minimal effort, i think arduino should provide an "activation signal" then it will be ANDed with the tape read or tape write signal, finally the output pin of the AND chip will drive a piezo. i have to wait the 1.7 board too and some parts for testing :) i lost track of available pins, is there one free? thanks
Juri

Save LED support has been added to the code base, piezo is hardware supported on 1.7.


ERROR when I build Mediapipe example app

Hi,I have been studying mediapipe for several weeks.However,when I try to build the Mediapipe example app——objectdetectiongpu,I encounted the network issue.
So I studied the solution in #3 and followed it carefully.
I followed the guides：

@chenloveheimei and I tested the current version of MediaPipe. We verified that MediaPipe demo apps can be successfully built in China now. However, due to the unstable/slow internet connection, we prefer to ask Bazel to cache the external repositories locally and search for the local archives before accessing the network.
For the users with unstable/slow internet connection, you may need to try the following build command several times to download all the needed external repositories:

$ bazel build -c opt --config=android_arm64 \
  --distdir=<your cache directory> \
  --repository_cache=<your cache directory> \
  --keep_going \
  mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu

My steps are as follows:

1、Follow the prompt link in ERROR to manually download dependent packages
2、Put the downloaded dependency package in a path under Ubuntu,mine is
/home/zcw/DevelopWorkSpace/AndroidSpace/MediaPipe/CacheDir
3、Run the command:

bazel build -c opt --config=android_arm64 \
  --distdir=/home/zcw/DevelopWorkSpace/AndroidSpace/MediaPipe/CacheDir \
  --repository_cache=/home/zcw/DevelopWorkSpace/AndroidSpace/MediaPipe/CacheDir \
  --keep_going \
mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetectiongpu

However,I still get the same ERROR as below:
ERROR: An error occurred during the fetch of repository 'org_tensorflow':
   java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz, https://github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz] to /home/zcw/.cache/bazel/_bazel_zcw/54baa620ed6327755a1076d22688eed7/external/org_tensorflow/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz: Tried to reconnect at offset 44,311,422 but server didn't support it
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz, https://github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz] to /home/zcw/.cache/bazel/_bazel_zcw/54baa620ed6327755a1076d22688eed7/external/org_tensorflow/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz: Tried to reconnect at offset 44,311,422 but server didn't support it
INFO: Elapsed time: 790.015s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

It seems that during the build process,it does not give priority to fetching the dependency packages that I have manually downloaded.Did I misunderstood the guide?Or I did something wrong?
And,I really want to use the objectdetection example app,if anyone can give a helpful advice or share the built project file,I would really appreciate it

ERROR: An error occurred during the fetch of repository 'org_tensorflow':
java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz, https://github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz: Tried to reconnect at offset 1,819,151 but server didn't support it
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz, https://github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz: Tried to reconnect at offset 1,819,151 but server didn't support it
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz, https://github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz: Tried to reconnect at offset 1,819,151 but server didn't support it
INFO: Elapsed time: 262.853s
INFO: 0 processes.


PaymentType Boleto

I'm implementing stripe in my application but one of the requirements is the payment method "boleto" from Brazil, looking in the stripe documentation I see that stripe.js can handle it but I can't make it work in the React Native SDK.
Is there any way to make it work since Stripe.js doesn't run in React Native?

Hi! we're investigating Boleto support now 👍
Not supported at the moment, but once we support it natively, we can support it in React Native

Hi, good evening!
Any updates about this feature?
I need to add 'boleto' on my app too with react native..
Thanks.


Confusing test case

So, I revisited the testdata.ql file
this snippet
-- 1350 // https://github.com/cznic/ql/issues/155
BEGIN TRANSACTION;
	CREATE TABLE t (i int);
	INSERT INTO t VALUES (1);
	INSERT INTO t VALUES (2);
	INSERT INTO t VALUES (3);
COMMIT;
SELECT * FROM t WHERE EXISTS (SELECT * FROM t WHERE i == 4);
|"i"
[]

My understanding is. The query will result in o rows which when scanned will yield  sql.ErrNoRows . The bavior of the above testcase is different.
since for some reason I get this
                ---- g
                "i"
                ---- e
                "i"
                []
                ----

IMHO they are both correct , just some minor issue from that gave us ---g part probably in the tests. I was not able to find a test case which returned 0 rows apart from these for #155

Oh! I think I found the fix. They are supposed to look like this
-- 1350 // https://github.com/cznic/ql/issues/155
BEGIN TRANSACTION;
	CREATE TABLE t (i int);
	INSERT INTO t VALUES (1);
	INSERT INTO t VALUES (2);
	INSERT INTO t VALUES (3);
COMMIT;
SELECT * FROM t WHERE EXISTS (SELECT * FROM t WHERE i == 4);
|"i"


Require : a mechanism to include/modify authorization code

To validate a OAM request , all applications interact with the service /v1/approve-oam-request in AA.
Internally , AA will validate the provided credentials by using the authorization codes available in the admin-profile.
The initial state of the application will not hold any authorization code and it needs to be fed to the application as a part(or after) of the deployment procedure.
Assumption : This admin profile information will be removed from the CONFIGfile and will be maintained as application data
Proposal :

In the specification , individual OAM services that allows an admin to add/delete/modify admin credentials should be included
During the time of deployment , a script should add a single admin credential to the application data.

During today's ApplicationImplementer call we discussed:

Removing the AdministratorProfiles from the CONFIGfile
Adding two requests to the OAM layer for creating an administrator and activating him by assigning a password.
I committed to formulate the corresponding issue.

After the call, I got doubts.

The OAM layer is for configuring applications. This contradicts with dealing with the administrators as application data and storing it in a separate file.
If available on the OAM layer, the information structure is defined. So, why don't storing it according to this structure in the CONFIGfile (separate file for storing additional information required for ciphering not excluded).
Another doubt is concerning creating an administrator. Without knowing the UUID of the AdministratorProfile instance during instantiating it, wouldn't it require a POST operation? Currently, OAM layer uses exclusively GET and PUT. POST is exclusively used on Service layer.
Meanwhile, I am considering two services that potentially might be called from generic representation GUI and don't require an operationKey.

The 1st for creating an administrator is requiring an existing administrator's name and password and it is returning a uuid.
The 2nd for activating an administrator is requiring the new administrator's name, the uuid and the future password.
Solutions for listing administrators, deleting administrators and resetting the administrator's password would have to be defined, too.

Maybe, there are better options, too.
This subject is immature and I would like to return to brainstorming phase instead of proposing a concrete solution.

Current plan for Version 2.0.0 :

Currently , admin credentials will be stored in an APPData file.
This stored credential details will be utilized to process the service /v1/approve-oam-request.
Credential details shall be fed to this APPData file manually or by using an automated script after deploying the application.
Further the person who sets the credentials shall share it to appropriate parties.

Proposal for future release :
This proposal is an idea which shall be further discussed to take decision.
Also new ideas and proposals are most welcome.

Inspiration behind this proposal :

When a person joins a new organization , a new email will be assigned to this person.
And to access this email , a temporary password will be shared to him.
On the first login , application prompts the user to change this temporary password to a new one.

Instead of directly adding the credentials to the APPData file manually or by using an automated script , it can be done via REST layer of this AA application.

After the initial deployment of the AA application , the APPData file will not consists of any credential details.

It is the responsibility of an Admin,  probably a Backoffice person , to populate the APPData file for the further usage.

To include a new credential into the APPData file , the following new service shall be used

/v1/regard-admin-user
This service shall be authorized either by an admin credentials or a one-time-operation-key.
For the first time , definitely a one-time-operation-key is the only possible option.

To generate a one-time-operation-key , the following service shall be used ,

/v1/generate-one-time-operation-key
This service shall be accessed without any security option

How the one-time-operation-key shall reach the correct admin/Backoffice person ?

Proposal#1 :
During AA application deployment, in the docker run command , a single admin's mail id or a list of admin mail ids shall be included to the application.
In the docker file , an environment variable shall be defined with this lines
ENV admin_emails undefined  // environment variable declaration
CMD ["sh", "-c", "node index.js ${admin_emails}"] //to pass the environment variable to the server side code.

during docker run , this environment variables shall be filled with values ,
docker run ..... -e [admin_emails=admin1<EMAIL_ADDRESS>......

The generated one-time-operation-key shall be shared via email by using the SMTP relay server.

Proposal#2 :
A generated one-time-operation-key shall be stored in a default location in a file in the Linux machine where the docker container is running.
Admin can then go to this default file location and collect this one-time-operation-key.

Note : Person who has access to the linux machine can only able to access the machine and the corresponding file.

Proposal#3 :
Application shall use the docker command "docker secret create" to generate a secret ,
example :
preprod@preprod:/var/spool/mail$ printf "AA secrete" | docker secret create my_secret_data -
kboqu54vmsy3lspf2cu2q7ynq

The identifier of this generated secret shall be used as a one-time-operation-key.
Admin can go and view the identifier of the docker secret by using the command ,
preprod@preprod:/var/spool/mail$ docker secret ls
ID                          NAME             DRIVER    CREATED          UPDATED
kboqu54vmsy3lspf2cu2q7ynq   AA secrete             28 seconds ago   28 seconds ago

Note : Person who has access to the Linux machine can only able to access the machine and the docker command.

How the "one-time-operation-key" will be utilized inside the code ?

When using the service /v1/generate-one-time-operation-key , a one-time-operation-key shall be generated and applied to the operation-client-configuration/operation-key of the "/v1/regard-admin-user" operation-client.
And after a single successful attempt of the service "/v1/regard-admin-user" , the operation-key shall be replaced with a randomly generated operation-key.
So that , with the generated one-time-operation-key only one time the service "/v1/regard-admin-user" shall be executed.

We shall have the following services to modify the user credentials and allowed methods ,

/v1/disregard-admin-user
/v1/modify-admin-access
These services shall also be accessed either by using a one-time-operation-key or an admin credential.

Solution has been elaborated in separate exchange of emails.
Solution is part of AA v2.1.0_spec.


I can't log out my google account

I cannot log out my google account in gdrive. When i put gdrive about command, always show the old email.

You can delete the file ~/.gdrive/token_v2.json


File re-tokenizes when clicked in the Tree View

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
When attempting to open an already-open file through the Tree View, the file is re-tokenized, leading to a brief flash of unstyled content.
Steps to Reproduce

Open a file
Click the file again (slowly, as to not reproduce #14184)

Expected behavior: No re-tokenization to occur
Actual behavior: The file re-tokenizes
Reproduces how often: 100%
Versions
Atom    : 1.18.0-dev-e8ae30217
Electron: 1.6.5
Chrome  : 56.0.2924.87
Node    : 7.4.0

apm  1.17.0
npm  3.10.5
node 6.9.5 x64
python 2.7.12
git 2.12.0.windows.1
visual studio 2015

Additional Information

(Note: due to the low framerate of the GIF, some of the flashes weren't captured)
Related to #14184
/cc: @nathansobo

This was fixed by #14188.


Encapsulate public variables throughout

🎉 Description

Right now, many variables are publicly accessible, which could raise issues in some inheritance patterns, for instance if some required checks are not properly enforced by derived contracts. It would be safer to encapsulate the variables and provide setters and getters for clients to use. This issue is meant to foster discussion on this topic, to eventually converge on a unified proposal on how to deal with this.

[ ] 🐛 This is a bug report.
[x] 📈 This is a feature request.

This has been done for the v2.0.0 release: all variables are now private, with public getters and setters where applicable.


Environment flag not working or not event check by webpack

Environment flag not working.
It seems angular not even load or check the environment. It only import the enviroment.ts directly.
I using command "npm run ng server --prod" to test. It shows it pick the enviroment.ts but not enviroment.prod.ts all the time.
Event I change.
.angular-cli.json as
"environmentSource": "./src/haha/environments/environment.ts",
"environments": {
"dev": "./src/haha/environments/environment.ts",
"prod": "./src/haha/environments/environment.prod.ts"
}
There is no error.
Versions
Angular CLI: 1.6.3
Node: 8.11.1
OS: win32 x64
Angular: 5.2.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
angular/cli: 1.6.3
angular-devkit/build-optimizer: 0.0.36
angular-devkit/core: 0.0.22
angular-devkit/schematics: 0.0.42
ngtools/json-schema: 1.1.0
ngtools/webpack: 1.9.3
schematics/angular: 0.1.11
schematics/schematics: 0.0.11
typescript: 2.5.3
webpack: 3.10.0
Repro steps
At app.component.ts
import {environment} from '../environments/environment';
constructor() {
console.log(environment);
}
always return
production : false

Are you still able to reproduce this issue with the latest version?

Closing it due to inactivity. If the problem is still reproducible with the latest CLI, please open a new issue following the template and sharing a minimal demo where we can reproduce it. Thank you! :)


ENG: add FRF support for accelerance, mobility, receptance

Currently, the default FRF output is receptance. Add other support!

This was long done:)


Changed Room name doesn't get synced

When the room name is changed, it doesn't get synced between players, it is only locally updated

Cannot reproduce locally by plain testing. This has to be checked further


[Obj-c] Blank spaces between menu and controllers

In the obj-c version, there is a blank space between the menuScrollView and the controllerScrollView.

It happens to me too. I can't find any options to set this value in constructor.

I solved the problem by forcing the top margin between menuScrollView and controllerScrollView to 0. setUpUserInterface method line 240.
NSString *controllerScrollView_constraint_V_Format = [NSString stringWithFormat:@"V:|**-0-**
[controllerScrollView]|"];

dconde7 said, "There is an issue when one of the page menu's view controllers contains a scroll view." and suggested in issue #359 to do
self.automaticallyAdjustsScrollViewInsets = false
automaticallyAdjustsScrollViewInsets is deprecated, so I tried:
scrollView.contentInsetAdjustmentBehavior = .never
And this worked for me


Use Connection::closeAsync() API if closing connection is needed from within ReactorConnectionCache

API change check
API changes are not detected in this pull request.


Address immediate GUI visual bugs

There are a couple of gui bugs that need immediate fixing:

[x] - The right panel does not display properly in reponsive mode. For now, we should remove the right panel unless we are in a large view.
[x] - The volume table cell is rendering as a single column of text when the window is scaled down. We should fix the volume cell and also remove both the primary and failover server columns unless the browser is open in a medium view or larger.