text:
Output missing dense values

This reverts the previous change. Tombstones are treated as bottoms again, and will be dropped in sparse PSV output. In dense PSV output, if a column is missing, a missing value will be written, e.g.
[fact.injury]
  encoding="(location:string,severity:double,action:string*)"

[feature.latest_four]
   expression = "feature injury ~> latest 4 ~> action"

[feature.newest]
   expression = "feature injury ~> newest action"

homer|injury|{"location":"arm","severity":4}"|1994-01-01
homer|injury|{"location":"arm","severity":5}"|1995-01-01
homer|injury|{"location":"torso","severity":3,"action":"ignore"}"|1999-01-01
homer|injury|{"location":"torso","severity":5}"|2000-01-01

dense output:
homer|["ignore"]|NA

sparse output:
homer|latest_four|["ignore"]
homer|newest|

! @jystic @raronson

! @markhibberd thoughts on this?

Dense looks correct.
Sparse I would of expected no row for newest if it isn't there.

Ack, will change sparse

Sparse now drops the entire output row if the value is missing, so just homer|latest_four|["ignore"].

👍

👍 Thanks, semantics look good to me now.

authors: jystic markhibberd tranma

repo: ambiata/icicle


text:
v2.1.0

Hello!
First of all, I really love the package idea! I've also used a custom solution to squash migrations in my projects for some time. But having a more generic solution like yours seems a much better idea.
Issue
I've tried to use the package and in the case of my project it failed because some apps are nested:
app_directory
├── app_1
│   ├── nested_app_1
│   │  └── migrations
│   │      ├── __init__.py
│   │      └── ...
│   └── nested_app_2
│      └── migrations
│          ├── __init__.py
│          └── ...
└── app_2
    └── migrations
        ├── __init__.py
        └── ...

while the current solution assumes the flat structure of apps.
Solution
The proposed solution is to rely on app configs instead of building paths ad hoc. This way we can refer to the path that is already available. As a result, we can also remove MIGRATION_ZERO_APPS_DIR setting (no more building paths) since BASE_DIR is enough to check if the app is local.
I've tested the modified package on my project and it solved the issue.
P. S. I went ahead and named this branch after a potential release name to follow an existing schema.

Hi @mad-anne!
This PR looks amazing! Thx for your work! I'll see that I'll get it reviewed in the next couple of days!
Best from Cologne
Ronny

@mad-anne I just content reviewed your PR. Works amazing, just found an already existing bug and fixed a non-UNIX issue.

Release: https://pypi.org/project/django-migration-zero/2.1.0/

source: gharchive/pull-request

authors: GitRon mad-anne

license: MIT

license_type: permissive

license_source: github-api


text:
JavaScript 闭包

JavasScript 的闭包的原理，分析。都已经很多了。
相关的知识点有:
闭包，作用域，作用域链
也会一起参与的有:
原型，原型链，event loop
来两道题热热身
var name = "The Window";
var object = {
  name : "My Object",
  getNameFunc : function(){
    return function() { return this.name; };
  }
};
console.log(object.getNameFunc()());

闭包相关的应用与周边
函数式编程
函数式编程是个很大的话题。这里略过。
常见的库都能和函数式不多不少扯上点边: lodash, jQuery, react, rxjs
装饰器 ( Decorator )
写 react 应用会经常用到数据流的库，例如 react-redux 和 mobx-react 就跟这能扯上关系了。
// the code is from https://medium.com/fraight/react-redux-decorators-8b38f3b9ef2f
import React from 'react'
import { connect } from 'react-redux'

const mapStateToProps = (state) => {
  return { users: state.users };
}

const mapDispatchToProps = (dispatch, ownProps) {
  return {
    getUser(id) {
      dispatch(ownProps.getUser(id))
    }
  }
}

@connect(mapStateToProps, mapDispatchToProps)
export default class MyFancyComponent extends React.Component {
 // react things in here
}

至今，Babel7 已经出了自家的 Decorators 的实现。7.1.0 Released: Decorators, Private Static Fields
当然，TypeScript 之前也有它的装饰器实现，未来理论上是会向社区靠拢。
串联知识点
Decorator( 该语法特征与使用场景 )
Object.defineProperty( 社区很多 Vue 的分析与 mini 库 )
Proxy( Vue 3.0 使用了 Proxy 作为底层的方案，为什么这么选型。以及选型前后的优缺 )
JavaScript 实现 Private 的几种方案

社区的#标识符提案
Babel7 实现了 private instance methods 7.2.0 Released: Private Instance Methods

基于约定。例如: _为开头

class Animal {
  constructor() {
    this._notPublicProperty = 2
  }
  _notPublicMethod () {
    return this._notPublicProperty
  }
}

Typescript 的 public, private, and protected
ts 的 private 看似没有做有效的操作。应该是为了编译期进行校验操作。

直接放文档:
Typescript - Classes
Typescript - 代码编译前后对比

ES5基于闭包

function  Animal() {
}

Animal.prototype = (function () {
  var self = this;
  var _notPublicProperty = 2;
  function _notPublicMethod() {
    return _notPublicProperty;
  }

  return {
    constructor: Animal,
    getNotPublicProperty: function() {
      return _notPublicMethod.call(this)
    }
  }
}())

var dog = new Animal()
console.log(dog.getNotPublicProperty());  // 2
console.log(dog._notPublicMethod());  // ReferenceError: _notPublicProperty is not defined

Symbol

Symbol是一个全局函数，每调用一次就会产生一个唯一的字符串
const _notPublicMethod = Symbol()
const _notPublicProperty = Symbol()
class Animal {
  constructor() {
    this[_notPublicProperty] = 2;
  }
  [_notPublicMethod]() {
    return this[_notPublicProperty]; // 必须用中括号
  }
  getNotPublicProperty() {
    return this[_notPublicMethod]()
  }
}

var dog = new Animal()

console.log(dog.getNotPublicProperty());  // 2
console.log(dog._notPublicMethod());  // ReferenceError: _notPublicProperty is not defined

每次都要创建一个Symbol还是不那么完美，但是已经不错了。

WeakMap
Map和WeakMap都是ES6新引入的数据结构。
Map和Object类似，都是hash结构。Object的键只能是字符串，而Map打破了这一限制，键可以是任意数据类型，而WeakMap比Map要弱一点，键只能是对象;且WeakMap的键名所指向的对象，不计入垃圾回收机制。
主要的思路是，在类的级别上创建一个 WeakMap 容器，用于存储各个实例的私有成员。

const store = new WeakMap()

class Animal {
  constructor() {
    var self = this;

    function _notPublicMethod() {
      return store.get(this)._notPublicProperty
    }

    store.set(this,{
      _notPublicProperty: 2,
      _notPublicMethod: _notPublicMethod.bind(self)
    })
  }

  getNotPublicProperty() {
    return store.get(this)._notPublicMethod
  }
}

var dog = new Animal()

console.log(dog.getNotPublicProperty());  // 2
console.log(dog._notPublicMethod());  // ReferenceError: _notPublicProperty is not defined

编写或使用 JavaScript SDK
哪些情况你应该设计SDK?

嵌入的widgets - 在第三方网页上嵌入的交互应用(Disqus, Google Maps, Facebook Widget)
分析和度量 - 收集用户信息,了解访客和网站交互的方式 (GA, Flurry, Mixpanel)。
封装网络服务 - 开发调用外部网站服务的客户端应用. (Facebook Graph API)

例如: 广告SDK, Google Analytics 打点我们会用得比较多。我们要填个 id 进行 init 之后，剩下的工作就不用开发者担心太多。
webpack 模块系统
webpack 它是怎么做到让我们如此方便地写 import / export？
__webpack_require_ 是个什么操作。如何兼容了 CMD / AMD / UMD 规范？
我们打包打了 vendor / lib, 它是怎么被不同子模块引用的。
https://medium.com/ag-grid/webpack-tutorial-understanding-how-it-works-f73dfa164f01
http://imweb.io/topic/5a4cce35a192c3b460fce39b
http://imweb.io/topic/5a43064fa192c3b460fce360
https://webpack.js.org/concepts/manifest/#runtime
https://webpack.js.org/guides/output-management/#the-manifest
本文有很多资料参考于以下资源。十分感谢。
推荐资源
MDN - Closures
阮老师的 学习Javascript闭包（Closure）
《你不知道的 JavaScript 》
参考资源
JavaScript实现私有成员
JavaScript SDK 设计指南Script

good job！

点赞

source: gharchive/issue

authors: MARPTS ambition-to skyline-123

repo: ambition-to/blog


text:
Add dictionary history widget

The history widget shows the user's last 10 queries. When a query in the history is clicked, the app displays the results for that query.
Test plan: ran on dev.

@epicfaace version 2 -- this feels a lot nicer:

I'll think about how to add a reasonable clear button given the space constraint.

OK, this seems good to me:

repo: ambuda-org/ambuda


text:
Windows Universal Support? #37

Can you maybe add Support for Windows Universal Platform? (Xbox Support)
And i love your work!
PS: Do you have a Discord?

Vulkan isn't supported on UWP, so the answer is no, if there will be MoltenVK alternative for UWP I'll gladly add it.

authors: MrScautHD amerkoleci

repo: amerkoleci/vortice


text:
Re-add support for no_defaults option for default backend

This brings back support for no-defaults across the 0.13-0.15 templates, along with the long explanatory comment, assuming that we still want it.

Looks good! The version just needs to be bumped to 0.10.1 so the fix can be cargo published.

@0x6273 great catch, updated!

👋 I'm closing all PRs and Issues since amethyst_tools is being end-of-life'd.  Please see this forum post for a place to respond and/or discuss the situation rather than here on the repo.

authors: 0x6273 CleanCut Puciek

repo: amethyst/tools


text:
Write about the task on install Linux

We can go with Ubuntu 18.04 LTS
Mention about why we use Linux
Links to resources and tutorials(With a little description of the resource)
Common Errors and Issues Faced

@akhilam512

Links to resources and tutorials(With a little description of the resource)

This is done. :tada:

Common Errors and Issues Faced

Can you check the another branch and maybe you can fill this section? :thinking:

I think as aforementioned, we can add it in the main readme itself under Linux ->  "Installation and Dual-booting" but only the smaller topics like "Why Linux" and "Installation"  from here  and the leave bigger, more elaborate (Common issues, laptop suggestions) ones in a separate md file. What do you think?

`
Originally posted by @akhilam512 in https://github.com/amfoss/vidyaratna/issues/9#issuecomment-499429738
I think with #9 we will cover the rest of the things, we can update that info if need be.

Please close this issue when it is done.

authors: akhilam512 chirathr vchrombie

repo: amfoss/vidyaratna


text:
The probability distributions remain uniform

The probability distributions for variable without a parent remains a uniform distribution. It does not learn the marginal probability from the data.

I looked deeper into the model and found that ALL probabilities (marginal and conditional) is uniform. That is its all 0.5 if it has 2 states or all are 0.333 if it has 3 states and so on at Time 0 only.
At Time T all probabilities are correct. Weird!! Why is that??

How is the training data you are using? is it composed of a single sequence with many time steps?

Many sequences and many time steps
On Fri, Nov 3, 2017, 07:46 Andres R. Masegosa notifications@github.com
wrote:

How is the training data you are using? is it composed of a single
sequence with many time steps?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amidst/toolbox/issues/81#issuecomment-341724129, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE5TwOh_RIyCT6x8ZmOR__FqnOi9j6e9ks5syyc2gaJpZM4QQ7Xp
.

Many sequences and many time steps.

Could you please share the piece of code you are running? Just to know which learning algorithm you are using and how you use it.

DataStream data = DynamicDataStreamLoader.loadFromFile("C:\D\Train.arff");
    DynamicVariables dynamicVariables = new DynamicVariables(data.getAttributes());
    DynamicDAG dynamicDAG = new DynamicDAG(dynamicVariables);

Variable NumSteps = dynamicVariables.getVariableByName("NumSteps");
Variable NumStepsCat = dynamicVariables.getVariableByName("NumStepsCat");
Variable Activity = dynamicVariables.getVariableByName("Activity");
Variable RoleType = dynamicVariables.getVariableByName("RoleType");
... lot more variables
Variable Activity_Interface = dynamicVariables.getInterfaceVariable(Activity);
Variable RoleType_Interface = dynamicVariables.getInterfaceVariable(RoleType);
...  more Interface varibles
dynamicDAG.getParentSetTimeT(Activity).addParent(NumStepsCat);
dynamicDAG.getParentSetTimeT(OfferType).addParent(OfferType_Interface);
.. more of them
BUT I only use getParentSetTimeT and not getParentSetTime0
ParameterLearningAlgorithm parallelMaximumLikelihood = new ParallelMaximumLikelihood();
parallelMaximumLikelihood.setWindowsSize(1000);
parallelMaximumLikelihood.setDynamicDAG(dynamicDAG);
parallelMaximumLikelihood.initLearning();
parallelMaximumLikelihood.updateModel(data);
    DynamicBayesianNetwork dbn = parallelMaximumLikelihood.getLearntDBN();
    System.out.println(dbn.toString());

Data has Multiple Sequence_IDs and multiple TIME_IDs per sequence.

authors: andresmasegosa gowthamnatarajan

repo: amidst/toolbox

license_source: bigquery


text:
[bug] Crashing FreeSWTICH after the "calling stream_session_init" (occurs occasionally)

Hi @amigniter, thanks for the great tool. It's really straight forward and works great.
I just noticed an issue recently. The module seems to crash FS. The latest most crash seemed to have happened after this log:
2087f28c-ebb1-435f-b1c7-3020c413bacf 2024-07-09 11:25:24.656077 40.93% [DEBUG] mod_audio_stream.c:75 calling stream_session_init.
I can also see this in my syslog:
Jul  9 11:25:24 freeswitch-staging kernel: [29704443.783812] freeswitch[419400]: segfault at 8 ip 00007fd3ca9ddd59 sp 00007fd4096b72c0 error 4 in mod_audio_stream.so[7fd3ca9d7000+3a000] Jul  9 11:25:24 freeswitch-staging kernel: [29704443.796208] Code: 8d 15 d3 38 03 00 50 48 8d 35 c3 32 03 00 31 c0 e8 0c a3 ff ff 48 8b 44 24 28 45 89 f9 4c 89 f1 48 8d 35 8a f6 ff ff 4c 89 ef <48> 8b 40 08 8b 50 1c 48 8d 44 24 38 50 ff 74 24 20 44 8b 44 24 34
FreeSWITCH version (build from GitHub source):
FreeSWITCH Version 1.10.10-release+git~20230813T165739Z~4cb05e7f4a~64bit (git 4cb05e7 2023-08-13 16:57:39Z 64bit)
OS:
Debian 11 Bullseye
I know you are probably occupied yourself, please have a look when are comfortable.
Let me know if you need any other information from logs.
Thanks!

Hi @amigniter, thanks for the great tool. It's really straight forward and works great.

You're welcome, and thank you for kind words.

Let me know if you need any other information from logs.

Yes, please give me all the info you have. We really don't have any issues at all (though using 1.10.11) but there shouldn't be any issues with older versions either. Can you tell me how are you calling the API, and how to reproduce the issue? I am pretty much sure it's not because of this module, but we'll see.

@hizbi-github
Tested with 1.10.10 built from source as well, and there were no issues at all.
Our version was built using release tar 1.10.10 from freeswitch files and it should be the same version.
If you can reproduce the bug you faced please let me know.

Do you want me to provide the WebSockets endpoint so you can test the connection yourself?

Just the endpoint won't help in this case. We need to reproduce entire call flow to see what is happening and why.
Unfortunately from this console log I can't see what is exactly happening and why there is a crash. A real core|crash dump will be extremely useful here (which I could later load into gdb). If you know how to create one it would be extremely helpful.
This module reached a pretty solid state, but of course, anything can happen. Also, improper use of a channel can lead to a FS crash (not using this module, generally speaking). Make sure the call reached the answered state. Something weird is happening, like something is executing prematurely. Can you test with something else on the channel (instead of mod_audio_stream), start recording or anything else to see what happens in the same scenario. There is a check before stream_init to make sure it passed pre_answer state, but it is all telling me that something is wrong with the channel. The channel exists but looks like it is not ready yet (besides passing the mentioned check). When we identify what is happening I will definitely introduce an additional check. At this point I am sure the channel is not ready yet and the streamer can't be used at the current state of the channel (so in such a situation it should just cleanly exit).

@amigniter Thanks for replying.
I have now enabled coredump, so as soon as I detect the crash, I will share the dump here.
And regarding the channel state, I am sure the mod_audio_stream is initiated after the channel is answered, as I can see the CHANNEL_ANSWER event coming in before the CHANNEL_PARK event where I start audio streaming.
Here's the call flow:

bgapi originates a call to leg_a (will be connected to leg_b_dialplan)
leg_a answers
leg_b_dialplan executes the "park" application
on CHANNEL_PARK event, a Lua script runs the uuid_audio_stream
streaming starts

Does the callflow makes sense?

Hi @amigniter, just an update.
I had enabled the core dump, but ironically it has not crashed since then even once.
I will share the dump as soon as I detect the crash.
Thanks!

@hizbi-github Thanks for the update.
Regarding the module, it is fine. What could possibly happen is maybe a race condition (events, bgapi, etc). So what you could do is improve your lua scripts a bit, add checks whether a channel is ready (channel state checks) and so on. This way you are absolutely sure you are not calling API on a channel that's not ready yet.
I am closing the issue now. If you face the same issue again please re-open it and we'll deal with it.
BR

authors: amigniter hizbi-github


text:
Update Makefile

Update import path to gocyclo
Updated path parameter to ineffassign

Codecov Report

Merging #85 (fad7639) into master (c2642eb) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #85   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           3       3
  Lines         380     380
======================================
  Misses        380     380

Continue to review full report at Codecov.

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

Codecov Report

Merging #85 (fad7639) into master (c2642eb) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #85   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           3       3
  Lines         380     380
======================================
  Misses        380     380

Continue to review full report at Codecov.

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

authors: amimof codecov-io

repo: amimof/logga


text:
🛑 KMHARS Main Fiber Line is down

In 91310dd, KMHARS Main Fiber Line (het09022amj.sn.mynetname.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KMHARS Main Fiber Line is back up in d11a8ce after 3 hours, 46 minutes.

repo: amin-IT/kmhars


text:
Remove redundant lines

Simply removes the redundant process.exit(1); line.
Checklist

[ ] New tests have been added
[x] npm test passes successfully
[ ] Documentation has been updated

@amir20 to review

See my comment

But why should we kill the Node process? Shouldn't the user be able to have control over this?

Yeah I was confused about that when looking at the source code originally. I think it would be preferable to allow the user to handle the error instead of killing the entire process.

That error block only happens if phantomjs can't be installed or there some other dependencies missing. If it can't be started, then it should fail fast and quit. What's the point of allowing the user to control it if it is a major error that cannot be handled? What if it goes unnoticed? I opted for an aggressive exit so that the user realizes that phantomjs cannot be started and it needs to be fixed.
I am open to not killing node process, but what would be the alternate when the system cannot start due to phantomjs binary (or something else) not working.

Yea, it's tricky... Maybe we should just keep it as it is after all?

Oh I see, got it. Yeah I think keeping it would make sense then. Maybe add a comment on the event describing what you just said.

Ok closing then. I'll just clean up when I get a chance.

Appreciate the feedback though. :) Glad this repo is getting some attention.

authors: amir20 elias-winberg zovt

license: isc


text:
Questions about ATE

Interesting work! I wanna follow your work, however, I cannot find the code of calculating the ground truth ATE and TReATE.

Could you point out where are these codes?

Hello,
Recently, I have also been reading this paper and am interested in following it. Have you been able to find the code for calculating the ground truth ATE and TReATE or successfully reproduced it?
Thank you!

repo: amirfeder/CausaLM


text:
initial commit to test how branching works

Please take my initial commit

merging the branch

authors: amiryoni yoniamirnice

repo: amiryoni/sigar


text:
LBO checks

Under certain circumstances the LBO cross primitive moments, u and vtSq, can acquire unreasonable results, like
u > v_max
vtSq < 0
vtSq > v_max^2
Add if-statements in the LBO equation objects so that in these cases we turn the LBO off. We had this in g2 and it may improve stability.
In g2 we did two more things:

We kept track of how often the LBO gets turned off.
We also turned the LBO off if M2<0.
at some point we should implement these in g0 as well, but for now I want to check if these are sufficient to get rid of some numerical instabilities.

I do not want to support this robustness check. I don't think it does anything for Vlasov and I think it clutters the code. If either of these three conditions are met, the simulation should abort, not take time steps. If you want to add this robustness check to GK, that's fine, but I am rejecting this change to Vlasov.

@JunoRavin
changing
  if (dir >= lbo_vlasov_diff->cdim) {

to
  bool noPrimMomCross = checkPrimMomCross(lbo_vlasov_diff, nuSum_p, nuUSum_p, nuVtSqSum_p);
  if ((dir >= lbo_vlasov_diff->cdim) && (noPrimMomCross)) {

hardly qualifies as cluttering.
Negative thermal speeds can happen, and you can still get useful results in those cases because vtSq<0 may only happen in a few cells, so it's not necessary to terminate the whole simulation. That's like saying we should throw away every Vlasov simulation just because it has a negative f somewhere (which many do).
I'll reopen and we can wait for @ammarhakim to weigh in

No, negative distribution function is not the same as negative VtSq. Negative VtSq implies imaginary temperatures and the distribution function is not actually representable. Negative distribution function is fine so long as certain moments stay positive definite because we can always represent the distribution function with a positive definite basis in which the solution is positive everywhere.
That is definitely cluttering as it's a check which is called in every phase space cell, every forward Euler call, ever time step for a quantity that only varies in configuration space and should never, in any production Vlasov calculation, return false.
If we want to check this and then abort out of the simulation loop, I am fine with that, but I don't want this inside the update method for Vlasov.

Negative distribution function is fine so long as certain moments stay positive definite because we can always represent the distribution function with a positive definite basis in which the solution is positive everywhere.

The same is true of vtSq, but I think that the if the cell average f is <0, there's no representation that will give you f>0 everywhere (correct me if I'm wrong). So, checking vtSq[0]>0 is just as sensible as checking f[0]>0. But by your argument we should throw away a simulation with f[0] somewhere, which is too stringent.

Again, that is wrong because we can safely take time steps when f[0] < 0 because nothing in the solver depends on f being positive definitely, but we cannot necessarily take time steps if nuVthSq[0] < 0 because then the diffusion is the wrong sign and then there is no stable time step.
A proposed compromise: instead of using dg_mul_op_range to get nuvthSqSum and nuuSum, we write an updater which loops over configuration space and checks the three conditions you've stated. If any are true, nu, nuvthSq and nuu are set to 0 in that cell, otherwise the updater works like weak multiplication.
This moves the check to where it should be in configuration space and avoids further conditional checking in the inner loop of the LBO updater. It also makes it easier to count how often this happens since how often this happens is just a function of configuration space. And any simulation we run should not have this happen very often, so the extra cost of calling the LBO with nu, nuVthSq, and nuu all equal to 0 won't matter.

I'd say we leave that as a potential improvement for later (which I believe
may actually be (negligibly) slower than what we are doing now because
it'll involve launching more kernels and looping over the conf-grid again).
At the moment the priority should be to make sure we can run simulations in
g0-g2 that we used to be able to run in g2 with both vlasov and
gyrokinetics (which is why I implemented this), and not to prioritize
(negligible) improvements to performance.
On Thu, 29 Sept 2022 at 17:46, James Juno @.***> wrote:

Again, that is wrong because we can safely take time steps when f[0] < 0
because nothing in the solver depends on f being positive definitely, but
we cannot necessarily take time steps if nuVthSq[0] < 0 because then the
diffusion is the wrong sign and then there is no stable time step.
A proposed compromise: instead of using dg_mul_op_range to get nuvthSqSum
and nuuSum, we write an updater which loops over configuration space and
checks the three conditions you've stated. If any are true, nu, nuvthSq
and nuu are set to 0 in that cell, otherwise the updater works like weak
multiplication.
This moves the check to where it should be in configuration space and
avoids further conditional checking in the inner loop of the LBO updater.
It also makes it easier to count how often this happens since how often
this happens is just a function of configuration space. And any simulation
we run should not have this happen very often, so the extra cost of calling
the LBO with nu, nuVthSq, and nuu all equal to 0 won't matter.
—
Reply to this email directly, view it on GitHub
https://github.com/ammarhakim/gkylzero/pull/93#issuecomment-1262978230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQ6DKAJVG6FFO3ULBG4MX3WAYZ73ANCNFSM6AAAAAAQZINIPQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

authors: JunoRavin manauref

repo: ammarhakim/gkylzero


text:
add fake profile generate

The launcher_profiles.json needs to be faked as new versions need to be added there.
Example node:
"profiles": {
"LiteLoader 1.9.4": {
"name": "LiteLoader 1.9.4",
"lastVersionId": "1.9.4-LiteLoader1.9.4",
"javaArgs": "-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M",
"useHopperCrashService": false
},

Half done. Now I need to add an empty entry in order to generate if the user is new.

done


text:
Added simple .read function to return the contents of a file as a string

I have added a simple function that returns the contents of a file as a string - used in a browser based editor accessing files via webdav
usage:
file_content = webdav.read(path)

Closing this request - figured out you can use a virtual file
import cStringIO
virtual_file = cStringIO.StringIO()
webdav.download(path,virtual_file)
file_content = virtual_file.getvalue()

repo: amnong/easywebdav