how to make a dynamic search

hi.
I have a table which have 10 fields.
I want to use field A to search.
also I want to use field B.
also field A and field B.
and so on.
how to do this?

Dynamic search queries are currently difficult to write with sqlc. A few approaches to take are listed in #364, each with their own trade offs. As I said in the last comment on that issue:

While I think this could work, it's a significant amount of work. Right now I'm focusing my time working on better type checking and inference, and adding SQLite and MySQL support. I don't see this being a priority any time soon. Sorry.

If you need many dynamic queries at runtime, sqlc in its current form may not be the right fit.

this is very important on admin platform.
there are many table pages on admin platform.
each table page have many filters to search table, witch means it needs dynamic search.
so important.


[LG WIP] new analyzer

origin issue: https://github.com/microsoft/botbuilder-dotnet/issues/2093
Originally analyzeTemplate(templateName: string) would return a list of variables.
From now , this function will reture a structure dat, including a list of variables and list of templateref names.

@feich-ms is working on C# version.
This pull request would be merged into 4.future branch until .NET version and typescript version are both reviewed.


Create docs about the use of @Path, @Get , @Post

It is the default Javadoc?

Could be javadocs, wiki or examples of use.
But javadocs will be needed to distribute in maven central
Em 11/02/2015 00:14, "Felipe Martins"<EMAIL_ADDRESS>escreveu:

It is the default Javadoc?
—
Reply to this email directly or view it on GitHub
https://github.com/EsmerilProgramming/cloverx/issues/108#issuecomment-73823953
.


Update index.html

@bmegha98  try this year for Hacktoberfest and have a look at the updated repo and contribute.
HAPPY HACKING


keep CNAME file when deploy to gh-pages

@hassy55 LGTM!(I've changed the PR title to be more clear


ISPN-9606 Fix logging ids for counters module

https://issues.jboss.org/browse/ISPN-9606

Integrated, thanks Pedro!


FireFox not loading sendFile

I have a basic check on the backend to display a maintenance page base on a process variable.
app.use('/', function ( req, res, next ) {
    if (process.env.MAINTENANCE_MODE) {
        res.sendFile('/error/maintenanceWindow.html', {
            root    : __dirname,
            dotfiles: 'deny',
            headers : {
                'x-timestamp': Date.now(),
                'x-sent'     : true
            }
        }, function ( err ) {
            if (err) {
                logger.error(err);
                res.status(err.status).end();
            }
            else {
                logger.info('Sent maintenance page');
            }
        });
    }
    else {
        next()
    }
}

When viewing the page on chrome and safari the page display properly but in firefox it doesn't properly load the right page. Is this an issue with the send file function or something I am doing incorrectly?

Hi @JperF, the code looks fine and I copied and pasted it into a bare-bones Express.js application and loaded it in Firefox 46 and it worked just fine. Can you explain what exactly "doesn't properly load the right page" mean?

Sorry in advance for not being able to show the exact history, I need to protect the project I am working on. When accessing through firefox it seems to not  acknowledge that the maintenance page was sent.
The network traffic flow when accessing the application in either chrome or safari looks like the following:
chrome

safari

firefox

@dougwilson
I think this may be just an issue with my own code since in the barebone application it works correctly. I will test it a little more and reopen the issue if I find an actual issue. I think it might be related to authentication / session saving.


Prison 2 compatibility

Can you add support for prison 2
here a link to the plugin :http://dev.bukkit.org/bukkit-plugins/mcprison/

http://dev.bukkit.org/bukkit-plugins/mcprison/?comment=592
http://dev.bukkit.org/bukkit-plugins/mcprison/?comment=593
http://dev.bukkit.org/bukkit-plugins/mcprison/?comment=594
:disappointed:

I've decided that instead of letting go of the plugin, I will still update it for each new Minecraft version, and fix any critical bugs.


Gsoc 22

In short, this PR features the work of @yahia3200 over the GSOC 2022 period. It includes more visualizations and a much better UI for customization.

I'm going to merge this. I think the searchbar isn't working quite right, but I'll raise that as another issue, since this PR is already huge.


Piping fixes

@123andy
This fixes issues mentioned in https://community.projectredcap.org/questions/99932/image-viewer-case-sensitive.html and adds a few other things.
This is quite extensively reworked. Piping and upload field preview should now work in all repeating scenarious.
Piping is much smarter about where it is, in terms of current event / current instance.
Immediate update of piped fields on the same form for matching event/instance has been added.
New feature: Previews/pipes are removed when a file is removed.
The suggested version for this is 1.4.1 (at least that's what I put in the changelog)

Regarding the merge conflict ... the toLowerCase() calls are not needed, as this is handled elsewhere:

Line 109 in ImageViewer.php
Line 245 in imageViewer.js

Whoops, I guess I missed one conversion to lower case on the PHP side ... added in https://github.com/susom/redcap-em-image-viewer/pull/6/commits/f5f209ab219e75924fe4b67a924beba5622b5dc5

Commit https://github.com/susom/redcap-em-image-viewer/pull/6/commits/9ac7da0e8ddd5d3f22db9c13900ac78ea4001bd4 fixes the issue #5 with the logging reported in Firefox and Edge.

https://github.com/susom/redcap-em-image-viewer/pull/6/commits/c20b925d0f7c305f17f81da62827b29a8dd7345b updates the 3rd party PDF object library (https://github.com/pipwerks/PDFObject). PDF preview now works in Firefox.


Adding Railway Script

Deployment template for the railway.app

Working on setting it up so that community can benefit from this template!

So, I need to work on the configuration part. That will be merged as config.toml , I am planning to  add this in the config

Build and Dependency Setup
DB and Check Migration if it exists
Then run the DB migration
Setup the domain (usually these services provide domain mapping that is temporary )
Test if the nostr relay is up and live. (Probably running by tests)

Perhaps the docker-compose.yml can serve as inspiration for this.

Completed in #49


Fix for #1150 and improvements for #1143

@cobarx @ahmetabdi
Fixes #1150
Improves #1143 (onLoad -> textTracks returns only valid sideloaded vtt)

@ashnfb Thanks for all your contributions!
Did you by any chance figure out how to disable sideloaded tracks? I'm still waiting to hear back from my contact.

@cobarx I gave it disabling tracks a try.  I'm a little frustrated with the lack of AVPlayer docs.  I'll try and spend a bit more time on it.

@ashnfb Yup, AVPlayer is great when it works, when it doesn't you're just out of luck.
I was thinking about this last night and I don't think we want the fallback code if it can't find the requested track. The way that code works right now is it will only use the fallback if the system Captions preference is enabled, so the behavior will be inconsistent. I think it's totally reasonable to say that if you request an invalid track nothing happens. Really it should throw an error, but there's no framework for it (onError has already been documented as only being for load errors). Also, we don't use the fallback code on Android, so the behaviors are different. Do you have an objection to me reverting that part of the code?

@cobarx no objection to reverting that code!


Update submodule solver-service

The conflict about vendored submodules are removed (https://github.com/ocurrent/solver-service/pull/68).

No, this will work fine with the new version too.

No, this will work fine with the new version too.

The protocol is the same on both of them @tmcgilchrist.


data dimension error when running the source MBD codes on the compression task

Thank you very much for open-sourcing the great work. I wanted to compare Encodec and MBD on the compression task by using the source codes on this page . Specifically, on colab ipynb, I installed audiocraft==1.0.0 by installing from github repo, and then I ran this code snippet:
import torch
from audiocraft.models import MultiBandDiffusion
from encodec import EncodecModel
from audiocraft.data.audio import audio_read, audio_write

bandwidth = 6.0  # 1.5, 3.0, 6.0
mbd = MultiBandDiffusion.get_mbd_24khz(bw=bandwidth)
encodec = EncodecModel.encodec_model_24khz()

somepath = 'PATH/TO/MY/WAVFILE'
wav, sr = audio_read(somepath)
with torch.no_grad():
    compressed_encodec = encodec(wav)
    compressed_diffusion = mbd.regenerate(wav, sample_rate=sr)

audio_write('sample_encodec', compressed_encodec.squeeze(0).cpu(), mbd.sample_rate, strategy="loudness", loudness_compressor=True)
audio_write('sample_diffusion', compressed_diffusion.squeeze(0).cpu(), mbd.sample_rate, strategy="loudness", loudness_compressor=True)

However, when executing compressed_encodec = encodec(wav) and compressed_diffusion = mbd.regenerate(wav, sample_rate=sr), errors occured and both seemed to relate to the dimension of the parsed music data.
Here is the error for compressed_encodec = encodec(wav):

Here is the error for compressed_diffusion = mbd.regenerate(wav, sample_rate=sr):

Can someone help with this issue? Thanks.

@adagio715 you can unsqueeze the  wav like
wav = convert_audio(wav, sr, model.sample_rate, model.channels)
wav = wav.unsqueeze(0)
follows the encodec repo  https://github.com/facebookresearch/encodec

@startreker-shzy Thanks, it worked for the encodec model.
But for the mbd model the following error occured: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor. To solve this error, do device = torch.device("cuda" if torch.cuda.is_available() else "cpu"); wav = wav.to(device) before running compressed_diffusion = mbd.regenerate(wav, sample_rate=sr) can work.

@adagio715 Thanks for your sharing.  And I can get the regenerated output.  But the sounds has white noise.  #236

@startreker-shzy Same here, and I tried the scaling method given under #236. It works. However, the mbd outputs have energy until ~6khz, while the signal is very weak above 6khz. Did you also experience this issue? #236


zpool info still reported after dd

between tests in SSI for IML the zpools and child datasets are removed and recreated, I have observed that the export command is run on a pool on all hosts and then the first host attempts to import. if this import fails then dd is run on the disk in order to clean it. Subsequently when listing zpools on the host that last had said pool imported, the pool and dataset still exists.
apparently the relevant sectors identifying zfs objects on the disk are two at the beginning and two at the end, so maybe dd needs to be run at the beginning and the end of the disk, not just at the beginning? reboot or clearing cache are other options
another approach would be to try to destroy before trying to export, or to try to destroy on the host it is currently exported on if we cannot import on the first host
it should be noted that this is all after the clear_ha script is run, so no active mounts should exist to stop the pool from being exported
https://forums.freebsd.org/threads/29739/

chroma_test.log.txt

it should be noted that this is all after the clear_ha script is run, so no active mounts should exist to stop the pool from being exported

It's worth noting that I am debugging issues with what looks at this point like unmounting issues with lustre in #250.  Perhaps this is related.
Regardless, it would be very useful to have an IML-less reproducer documented here to both demonstrate what the actual problem is as well as how it presents itself.
It would also greatly help somebody picking this ticket up to have a clear understanding of the problem outside of the context of IML and helps get them up and running to solve it with steps to reproduce it.

#86 #289

#244 will remove the use of dd to clear disks used to create zfs devices and instead employ zpool labelclear

#314 contained changes to stop using dd to clear disks we use for zfs and has been merged to master


Better styling of the manual composition component

The manual compose component is functional but is a bit jarring visually. There should be some simple ways to tweak css to make it more consistent with the styling on the rest of the page.

CSS borrowed from my recent work on https://dbluhm.github.io/did-peer-4-ts/:
lit-code {
	--editor-bg-color:      #f5f2f0;
	--hl-color-string:      #690;
	--hl-color-function:    #004eff;
	--hl-color-number:      #dd9031;
	--hl-color-operator:    #9a6e3a;
	--hl-color-class-name:  #78c3ca;
	--hl-color-punctuation: #999;
	--hl-color-property:    #905;
	--hl-color-keyword:     #8500ff;
	--hl-color-comment:     #aaa;
}


Pushing to remote failed

Trying to push my project to a branch, it gives an error. Using Brackets.

Brackets 1.1.0-15558 (win), Git 1.9.5.msysgit.0 & Brackets-Git 0.14.17
Pushing to remote failed
Error: error: src refspec feb-branch does not match any.
error: failed to push some refs to<EMAIL_ADDRESS>
call: git push --porcelain --progress --force ****** feb-branch
Error: error: src refspec feb-branch does not match any.
error: failed to push some refs to<EMAIL_ADDRESS>    at Object.exports.toError (file:///C:/Users/*****_000/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/ErrorHandler.js:162:19)
    at NodeConnection.<anonymous> (file:///C:/Users/*****_000/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:176:44)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26860)
    at Object.k.fireWith (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27673)
    at NodeConnection._receive (/utils/NodeConnection.js:492:34)

I am also seeing this.
Error: Permission denied (publickey).
fatal: Could not read from remote repository.

I generated a new SSH key and can push via command line, but not sure how I could tell Brackets GIT extension to use this key.

Do you need to use password with this key?
Brackets Git just executes git push commands in your command line / terminal. It doesn't have any Git libraries included.

I didn't need the password. However after seeing your message I figured the discrepancy might be caused by ssh-agent running in the background of the terminal window I was using, allowing push to work there but not in Brackets (or anywhere else). I closed all sessions, re-added the key and Brackets plugin is happy again.
Thanks for the reply and the excellent work on the plugin!

Still not working. Trying to do what @ballweg did and see if it will resolve.

Got the problem.
Initialized the folder with bash and did a commit.


Better way to differentiate between tap and scroll

Current value of kTouchSlop seems really big, there is a very noticeable jerk at the beginning of scrolling, which is very unlike any native iOS scrollview, where scrolling feels instantaneous while tapping still works as expected.
As far as I can tell, iOS deals with this following way:

The tap gesture recognizer start is slightly delayed (optional).
The scroll gesture recognizer starts almost immediately.
When scrolling over certain threshold, the touch tap recognizer gets cancelled. Depending on how fast user scrolls, there might be a brief highlight visible (for the time between tap gesture recognizer start and cancellation).

So tapping and scrolling in iOS are not mutually exclusive.

I just read the Gesture disambiguation documentation entry, looks like flutter does not consider the possibility of multiple simultaneous gesture recognisers at all?

@Hixie, maybe similar thing could be in a way done for scrolling? Waiting for kTouchSlop might be delaying things quite a lot, especially considering the following:
On iOS there is another problem - and that one lies within the UIKit. For some unknown reason iOS buffers touchesMoved events and then releases all buffered ones in one event.  You'll see something like this (the values are deltas from touchesMoved):
Delta 0.000000 0.000000
Delta 0.000000 0.000000
Delta 0.000000 0.000000 << ..
Delta 0.000000 0.000000 << Why are all these
Delta 0.000000 0.000000 << values zero?
Delta 0.000000 0.000000 << ..
Delta 2.333328 8.666672 << Erratic jump, much higher than the rest of deltas, causes jump in flutter even if there is only one recognizer
Delta 0.000000 0.666672
Delta 0.000000 0.333328
Delta 0.000000 0.666672

@jslavitz Is your PR https://github.com/flutter/flutter/pull/23424 helping with this?

@Piinks

Linking related issue: https://github.com/flutter/flutter/issues/42588


API

Would it be possible to implement and api to control the simulation? This way further projects could be based off this to improve road infrastructure.

Definitely. A few people have brought the idea up. I could see something for running the simulation without any UI and extracting analytics in order to do reinforcement learning. I've also heard the idea of running the game in a presentation/exhibit mode and being able to script camera movements and such. Do you have anything specific in mind? I could fulfill this feature request best with a specific use case in mind.

I thought it would be useful for reinforcement learning, but I guess a general api would be the best option.

I haven't done RL since a class ages ago, so I'm a little fuzzy what this would look like. Maybe traffic signal timing is a good first example to think about. The action would be editing signals, then the observation would be to run the simulation for some amount of time (maybe the full 24 hours if things are going well, but short-circuit if gridlock is detected). Data already visible in the game can be exported through an API, like intersection delay. Specifying the signal edits can already be done through a JSON file, but actually coming up with this thing is pretty hard from scratch. It would make sense to expose some of the methods here and elsewhere. (Signal editing is complicated; maybe editing lane types is a simpler start.)
Could you write some simple pseudocode to describe one of the particular RL things you'd like to try? I'm really use-case driven for designing APIs; the potential API surface to control everything in the game is absolutely massive, and I think it's hard to evaluate whether a potential API is useful or not without having examples in mind.

I'm not goshawk22 but I think an API has value beyond RL. For example, making A/B Street a web application may be a bit difficult if A/B Street is entirely run client-side as that may place too much load on the user's machine. In this case, it might be worth it to extract an API that the server could rely upon to run A/B Street headlessly to determine what to send to the client side which would then use another API from A/B Street to actually draw an image the user could view.

Definitely a possibility, but an API feels like a solution in search of a problem. When the web support initially lands, there are a bunch of techniques to speed up simulation for slower clients, and some kind of API is definitely one of them. In the meantime, any specific things we could do with an API now?

Definitely a possibility, but an API feels like a solution in search of a problem. When the web support initially lands, there are a bunch of techniques to speed up simulation for slower clients, and some kind of API is definitely one of them. In the meantime, any specific things we could do with an API now?

That's a fair assessment. In that case, the most relevant usecase for an API for me as a developer would be integration testing. Currently, A/B Street doesn't have any tests (as far as I know, correct me if I'm wrong) that validate certain properties of the system hold after changes. Things like validating that gridlock is avoided in a certain scenario remains impossible/unlikely after a change to the relevant code would (I imagine) be useful.

The game crate has a --prebake that runs montlake and lakeslice to completion, the two maps that (after fighting very very hard) complete fully. I recently added --smoketest too, to run a few hours on every map and make sure things like spawning at borders don't outright crash. More extensive integration testing should definitely happen. Before I started this project, I remember reflecting on my college simulation project and thinking about very small unit tests for pieces of sim behavior, like the exact mechanics of lane-changing and parking. But that... never happened. :)
An API focused around testing is definitely one thing to think about short-term. Would there be use in having the test runner be in something other than Rust, necessitating an RPC-based API?

If you're curious, there were some more interesting integrationish tests at some point: https://github.com/dabreegster/abstreet/blob/15f6981b1de4fb4346b044a7485cf41b01cc8fd5/tests/src/trips.rs
But I didn't maintain them, because they didn't seem to add much value/confidence. Definitely worth trying again.

I think the value of an RPC based API is relevant towards increasing the number of possible contributors. I personally find Rust to be significantly more difficult than programming in Python and this is completely reasonable for most of what A/B Street does but I think there is value in having tests written in an easier language like Python and this would open opportunities for contributors who are unfamiliar with Rust. That being said, I don't think an RPC approach is absolutely necessary to achieve this as things like https://github.com/PyO3/pyo3 exist.

https://dabreegster.github.io/abstreet/api.html
There's now a more fleshed-out JSON API, with an example Python script that runs a simple experiment to fiddle with signal timing. I'm going to add a few more things to the API to extract data like throughput. But beyond that, it'll be use case driven.


Tidy up code

Tidy up the code; for example: remove unnecessary code and comments, and clean up the code to make it more readable.
Also improve code formatting. Readability is important.

Completed in bb121b7


Missing documentation on setting up Active-Active and Active-Passive Identity Server clusters

Similar to APIM old docs[1] we too need to have some latest docs on configuring Identity Server clusters.

Active/Active
Active/Passive

[1] https://docs.wso2.com/display/AM200/Configuring+an+Active-Passive+Deployment

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Error loading PSP checkpoint:

Hi, I ran into this issue when loading psp checkpoint to perform image guided recovery:
⚡ main ~/EXE-GAN python3 guided_recovery.py --psp_checkpoint_path ./pre-train/psp_ffhq_encode.pt --ckpt ./checkpoint/EXE_GAN_model.pt --masked_dir ./imgs/exe_guided_recovery/mask --gt_dir ./imgs/exe_guided_recovery/target --exemplar_dir ./imgs/exe_guided_recovery/exemplar --sample_times 10 --eval_dir .imgs/exe_guided_recovery/recover_out_gpu_run from .fused_act import FusedLeakyReLU, fused_leaky_relu from .upfirdn2d import upfirdn2d model name: exe_gan !!!!!!!!!!!!!!! start_latent :4 n_psp_latent :10 Loading ResNet ArcFace Traceback (most recent call last):   File "/teamspace/studios/this_studio/EXE-GAN/guided_recovery.py", line 199, in <module>     generator = get_model(args.arch, model_path=args.ckpt, psp_path=args.psp_checkpoint_path)   File "/teamspace/studios/this_studio/EXE-GAN/test.py", line 299, in get_model     generator = EXE_GAN(exe_ckpt_path=model_path, psp_ckpt_path=psp_path)   File "/teamspace/studios/this_studio/EXE-GAN/test.py", line 46, in __init__     self.psp_embedding = Psp_Embedding(psp_ckpt_path, psp_start_latent, num_psp_latent).to(device)   File "/teamspace/studios/this_studio/EXE-GAN/Loss/psp_embedding.py", line 38, in __init__     self.psp_encoder = self.get_psp_encoder(psp_encoder_path=psp_encoder_path).eval().cuda()   File "/teamspace/studios/this_studio/EXE-GAN/Loss/psp_embedding.py", line 111, in get_psp_encoder     ckpt = torch.load(psp_encoder_path, map_location='cpu')   File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torch/serialization.py", line 815, in load     return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)   File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torch/serialization.py", line 1051, in _legac y_load     typed_storage._untyped_storage._set_from_file( RuntimeError: unexpected EOF, expected 820379 more bytes. The file might be corrupted.
I used Python 3.10 and followed most of the dependencies. My PyTorch versions are:
torch==2.0.0 torchaudio==2.0.1 torchvision==0.15.1
and my virtual environment is conda.
Do you know what I might have done wrong? Can't figure out after a bit of search. Thank you!

Hi @jiangzl2016 ，
Thanks for your attention.
The problem is coming from the checkpoint file.
It sounds like you have not fully downloaded the whole file.
What I mean is that the ckpt file is corrupted because of some reason.
Can you download the ckpt of pSp again to see if it can work?
By the way, check your disk space.
Thanks!


Extend documentation to easy the setup for new developers

While setting up this project for local development, I found the
following hints useful to speed up the process.

:+1:

👍


Bugs fixes

fixed: it is not possible to clear clip-rect attribute without javascript error if it is has been not set
fixed: undrag does not work if drag was not started (see https://github.com/DmitryBaranovskiy/raphael/issues/199#issuecomment-2166089)

Merged by hand. raphael.js is generated file.

94926e4 fix has not been merged. Why?


Problem with authorizoation

I can get an access token for a client of my application, but when I try to list a folder content with $dropbox->listFolder("/") I get an error:
Error in call to API function "files/list_folder": Invalid authorization value in HTTP header "Authorization": "Bearer". Expecting "Bearer ".
Any idea what I'm doing wrong?

Did you set the Access Token before using the listFolder endpoint? Can you share the code?

Sorry, my mistake. I was using the old instance of Dropbox class after authentication, but when I set Access Token everything works ok.
Thank you.


fix(schedules): wrong year format when viewing persons

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


Don't re-install datadog-agent if installed

What
If node[:datadog][:upgrade] is disabled, don't download and run install_script.sh
Why
Currently, even if datadog-agent is already installed, the script is downloaded and executed and Itamae takes a little time to run.
I would therefore like to avoid downloading and executing scripts when not needed.
How
See my codes.
Changes
Before
$ itamae ssh --host host-01 --node-yaml node.yml --log-level info cookbooks/default.rb

(snip)

/path/to/app/vendor/bundle/ruby/3.1.0/gems/itamae-plugin-recipe-datadog-0.2.0/lib/itamae/plugin/recipe/datadog/install.rb
 INFO :         execute[download install script] executed will change from 'false' to 'true'
 INFO :         file[/tmp/install_script.sh] mode will change from '0644' to '0755'
 INFO :         execute[install datadog-agent] executed will change from 'false' to 'true'

real	0m17.319s
user	0m2.341s
sys	0m0.435s

After
$ itamae ssh --host host-01 --node-yaml node.yml --log-level info cookbooks/default.rb

(snip)

 INFO :       Recipe: /Users/sue445/workspace/github.com/speee/itamae-plugin-recipe-datadog/lib/itamae/plugin/recipe/datadog/install.rb

real	0m10.089s
user	0m2.217s
sys	0m0.430s

Thanks!
Please wait for a while until new version release.

@sue445 Released v0.2.1 includes your contribution.
https://rubygems.org/gems/itamae-plugin-recipe-datadog


Fixes #212 Updated url of CountryInstituteAPI

Fixes #212
Describe the changes you have made in this PR -
Updated URL of CountryInstituteAPI which is not loading earlier.
Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 70.566%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
3915

Relevant Lines:
5548

💛  - Coveralls


Fixes #143 - Don't replace columns in ORDER BY clauses

Fixes #143
I can write more unit tests if you'd like. I've tried to not change too much the existing function and put the specific logic of detecting order by in a dedicated generator. Let me know if the approach works for you.
And, again, if you think this is worth having a setting, I can put one (I guess the default value would be for keeping compatibility, but it means new users will not have the columns in their order by).

Hello, thank you a lot for your quick review !
Is it better now ?

We'll need to sort this out too : https://github.com/YPlan/django-perf-rec/pull/145#issuecomment-404249410

Out in version 3.0.0 ! https://pypi.org/project/django-perf-rec/

Nice ! Thanks !


update cloud storage json_api to v1

<EMAIL_ADDRESS>on 7 May 2014 at 5:11:
https://developers.google.com/storage/docs/json_api/release_notes#april302014

Successfully auto-migrated from code.google.com:
https://code.google.com/p/google-api-go-client/issues/detail?id=57

Fixed by https://github.com/google/google-api-go-client/commit/bbd14600f67e204f4c22584da2311dd1e2d1678a
Closing.


Add client login and basic error handling

Added basic client functionality

About the two functions returning a u8 to signal an error: It's ok to handle the error inside those functions (= tell the user what happened). But instead of returning u8, you should return a bool.
It would be more "rusty" to return some kind of Result, but I can't find a real reason why this would be better in this scenario. So just make the u8 to bool and it should be ok.

Your functions are pretty indented... I would suggest using a slightly different style to keep it "flatter". Instead of
    let status = buf.read_u8();
    match status {
        Ok(st) => {
            // stuff with st
        },
        Err(_) => return 1
    }

I would write
    let status = buf.read_u8();
    let st = match status {
        Err(_) => return 1,
        Ok(st) => st,
    };
    // stuff with st

You can always pull stuff out... More early returns:
if st != Cnv::GreetPkg as u8 {
    println!("Communication mismatch. Try again later.");
    return 1;
} else {
    // stuff
}

This is the same as
if st != Cnv::GreetPkg as u8 {
    println!("Communication mismatch. Try again later.");
    return 1;
}
// stuff

Think about using this style. Makes it less complicated to comply with the 80 char rule.