Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 29 09:12

    basarat on master

    Update README.md (compare)

  • Jan 21 23:27
    basarat opened #653
  • Jan 21 23:27
    basarat closed #589
  • Jan 21 23:27
    basarat closed #588
  • Jan 21 23:27
    basarat closed #587
  • Jan 21 23:27
    basarat closed #581
  • Jan 21 23:27
    basarat closed #580
  • Jan 21 23:27
    basarat closed #575
  • Jan 21 23:27
    basarat closed #573
  • Jan 21 23:27
    basarat closed #569
  • Jan 21 23:27
    basarat closed #564
  • Jan 21 23:27
    basarat closed #560
  • Jan 21 23:27
    basarat closed #511
  • Jan 21 23:27
    basarat closed #479
  • Jan 21 23:27
    basarat closed #461
  • Jan 21 23:27
    basarat closed #446
  • Jan 21 23:27
    basarat closed #439
  • Jan 21 23:27
    basarat closed #292
  • Jan 21 23:27
    basarat closed #260
  • Jan 21 23:27
    basarat closed #232
Matthew Wilson
@diakopter
@basarat latest doesn't install with node v7.4.0, npm v4.1.2, tsc 2.2.0-dev.20170124
Gaël Marziou
@gmarziou

Hi, I'm a developer of JHipster: a yeoman generator that combines java on server and angular on client.
Please, I need some help with alm: it's working fine on a project generated by angular-cli but freezes on a project generated by JHipster.
My env is Windows 10, node 6.9.2, yarn 0.19.1, tsc 2.1.4.

I suppose it is specific to our project structure where ng2 source is in src/main/webapp but I don't know how to debug this.
Here is a repo of such a generated project: https://github.com/gmarziou/demo-alm

Sorry if this is not the right place for such questions
alm -o
Version: 2.26.0
DASHBOARD: (launched in browser) http://localhost:4444
TSCONFIG: All Good! E:/projets/demo-alm/tsconfig.json
[TSC] Started Initial Error Analysis: E:/projets/demo-alm/tsconfig.json
[LINT] About to start linting files:  112
[LINT] Lint complete 6s
then nothing happens, the window browser gets dark without any error in console
Gaël Marziou
@gmarziou

I have improved the situation by adding this to tsconfig.json:

    "include": [
        "src/main/webapp",
        "src/test/javascript"
    ]

So now, I can interact with the UI in browser but when I click on file tree, it keeps loading forever.

Pascal GANAYE
@paganaye
I got a problem running alm for the first time.
I am using Linux Mint
node 7.5.0
sudo npm i alm -g
worked fine
however
pascal@MCN-L5045 ~/Code/eval3 $ alm -i
/usr/local/lib/node_modules/alm/src/server/workers/lang/core/simpleValidator.js:34
if (!validValues.some(function (valid) { return valid.toLowerCase() === value_1.toLowerCase(); })) {
^
TypeError: value_1.toLowerCase is not a function
at /usr/local/lib/node_modules/alm/src/server/workers/lang/core/simpleValidator.js:34:105
Basarat Ali Syed
@basarat
@paganaye seems like an issue with tsconfig validation. Lets continue the discussion here : alm-tools/alm-tools.github.io#4 :rose:
Pascal GANAYE
@paganaye
This is a good place for discussion here.
I believe you found the issue. Any progress?
Pascal GANAYE
@paganaye
IYour effort to make the source centre stage is impressive
Basarat Ali Syed
@basarat
:rose:
Have you tried to figure out the formatting in TS?
I think it's not doable in that code base, but something like alm's
prettier/prettier#13 <-- this I suspect is not doable
I see that alm has checked the TS formatting, but I think the question is how enforcing is it. Prettier exepects to do everything, unlike most formatters.
Jari Pennanen
@Ciantic
well I name dropped you on that issue :) I hope you don't mind
Arnold Yoo
@arnoldyoo
@basarat hello ~ i joined this room right now, i am a user alm-tools! can i make sourcecode preview service using alm-tools ?? like code mirror.
Jari Pennanen
@Ciantic
that sounds something Alm is good at. The license is MIT https://github.com/alm-tools/alm/blob/master/LICENSE it should be fine, but I would still attribute and link to codebase
Sean Vreeland
@seanvree
Hey guys, have a quick qustion. I'm pretty noob with alm, so go easy
using ALM on windows10 X64
if I use a directory hard link within my working DIR, so I can have access to an external DIR outside of my working DIR...and that link DIR target is VERY VERY active....does that take up a lot of resrouces since ALM is updated the DB continuously?
I've got all the linking down, it updates and everything, just wondering how that effects resource usage
Sean Vreeland
@seanvree
@leram84
leram84
@leram84
lol, yeah, i was already camped out here too
Sean Vreeland
@seanvree
One more windows specific question for anyone - If I add a synlinked folder to the working DIR I can see the sub DIRs in the file tree Initially after adding it . but if I close the browser and/or stop ALM will list the top level folders but not its sub dirs. Anyone know about this?
leram84
@leram84
don't know if anyones still monitoring this room, but just to jump on this, im having the same issue and some other very unpredictable behavior w filetree... for example i just cloned a git repo into a working dir and some of it (some folders and some files) is randomly missing from the filetree... all accessible from a, just not showing in the tree
Sean Vreeland
@seanvree
@leram84 alm-tools/alm#573
Federico Tomassetti
@ftomassetti
hi everyone
not sure how many people is there but I will give it a try
I was wondering how much effort would it be to adapt your awesome stuff to other languages
do you think it can be done?
Scott McWhirter
@konobi
is there a way to have alm ignore all "internal" typescript declarations at all?
Basarat Ali Syed
@basarat
@ftomassetti I wouldn't do that. Its very typescript specific
Scott McWhirter
@konobi
@basarat ah yes... thank you. That'll help force me to stop taking shortcuts =0)
Scott McWhirter
@konobi
@basarat another small question, that's outside the normal realms... but where would I start looking if I needed to support something other than mocha as a test framework?
Jari Pennanen
@Ciantic
@basarat really excited about god mode! Couldn't find a chat for that repo.
Basarat Ali Syed
@basarat
Twitter ;)
Jari Pennanen
@Ciantic
@basarat btw this type of dependency graph is most useful: http://users.jyu.fi/~jaotospe/tiea2080/api4-luokat.png since it allows to view the architecture of the application quiet nicely. Main thing is that it shows the dependencies of namespaces. E.g. Controllers are not allowed to use Stores;
(the arrows are bit small! that's from visual studio enterprise)
In same vein, the Components namespace in React apps should have an arrow to State namespace (and never in reverse)
(or Containers if one is very specific)
also ability to hide helper namespaces / classes from a dependency graph is a good feature, since otherwise there is too many arrows going on
Basarat Ali Syed
@basarat
Excellent. I am going to try and replicate that :rose: